@charset "UTF-8";
/* CSS Document */

/*
共通
WordPress対策・全ページ余白なし
*/

* {
	margin: 0;
	padding: 0;
}
 
body {
	margin: 0;
	padding: 0;
	color: #5C5C5C;
	background: #fff;
	font-family: "Zen Kaku Gothic New", sans-serif;
}
 
img {
	vertical-align: bottom;
	max-width: 100%;
}
 
h1,h2,h3,h4,h5 {
	font-family: "Zen Maru Gothic", sans-serif;
}

p {
	color: #5C5C5C;
	font-family: "Zen Kaku Gothic New", sans-serif;
}

font,span {
	
}
 
a {
	text-decoration: none;
	font-family: "Zen Kaku Gothic New", sans-serif;
}

/*Googleフォント*/
/*Zen Kaku gothic New（本文）*/
.zen-kaku-gothic-new {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-style: normal;
}

/*Zen Maru Gothic（日本語見出し）*/
.zen-maru-gothic {
	font-family: "Zen Maru Gothic", sans-serif;
	font-style: normal;
}

/*Montserrat（英語見出し）*/
.montserrat {
	font-family: "Montserrat", sans-serif;
	font-style: normal;
}

/*Allison（トップページバナー）*/
.allison {
	font-family: "Allison", cursive;
	font-style: normal;
}

/*アニメーション設定*/
.anim-box.fadein.is-animated {
  animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
 
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*共通*/
/*PC*/
@media only screen and (min-width: 1025px) {
	.pc { 
		display: block !important; 
	}
	
	.smp { 
		display: none !important; 
	}
	
	p {
		font-size: 16px;
		font-weight: 400;
		letter-spacing: 1px;
		line-height: 26px;
		text-align: left;
	}
	
	/*電話番号をクリックしても自動発信しない*/
	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}
	
	main {
		position: relative;
		width: 100%;
		height: auto;
		padding: 210px 0 0 0;
		overflow: hidden;
	}
 
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	.pc { 
		display: none !important; 
	}
	
	.smp { 
		display: block !important; 
	}
	
	p {
		font-size: 15px;
		font-weight: 400;
		letter-spacing: 0.6px;
		line-height: 22px;
		text-align: left;
	}
	
	main {
		position: relative;
		width: 100%;
		height: auto;
		padding: 65px 0 0 0;
		overflow: hidden;
	} 
	
}

/*一部共通 メインビジュアル*/
/*PC*/
@media only screen and (min-width: 1025px) {
	#post_mv {
		z-index: 2;
		position: relative;
		width: 100%;
		height: auto;
		padding: 0 0 0 0;
		margin: 0 auto 0 auto;
	}
	
	#post_mv h1 {
		z-index: 1;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		width: 1100px;
		font-size: 36px;
		font-weight: 500;
		letter-spacing: 2px;
		line-height: 36px;
		text-align: left;
		color: #444444;
	}
	
	#post_mv h1 font {
		display: block;
		position: relative;
		margin-top: 15px;
		font-size: 18px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 18px;
		color: #89C7E8;
	}
	
	#post_mv img {
		z-index: 0;
		display: block;
		position: relative;
		width: 90%;
		height: 450px;
		margin: 0 auto 0 0;
		object-position: center;
		object-fit: cover;
		border-radius: 0 80px 80px 0;
	}
	
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	#post_mv {
		z-index: 2;
		position: relative;
		width: 100%;
		height: auto;
		padding: 0 0 0 0;
		margin: 0 auto 0 auto;
	}
	
	#post_mv h1 {
		z-index: 1;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		width: 280px;
		font-size: 23px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 23px;
		text-align: left;
		color: #444444;
	}
	
	#post_mv h1 font {
		display: block;
		position: relative;
		margin-top: 9px;
		font-size: 14px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 14px;
		color: #89C7E8;
	}
	
	#post_mv img {
		z-index: 0;
		display: block;
		position: relative;
		width: 100%;
		height: 250px;
		margin: 0 auto 0 auto;
		object-position: center;
		object-fit: cover;
		border-radius: 0 0 40px 0;
	}
}

/*404ページ*/
/*PC*/
@media only screen and (min-width: 1025px) {
	/*メインビジュアル*/
	#er_mv {
		position: relative;
		width: 100%;
		height: auto;
		padding: 120px 0 0 0;
		margin: 0 auto 0 auto;
	}
	
	#er_mv h1 {
		font-size: 24px;
		font-weight: 500;
		letter-spacing: 2px;
		line-height: 24px;
		text-align: center;
		color: #444444;
	}
	
	#er_mv h1 font {
		display: block;
		position: relative;
		margin-bottom: 25px;
		font-size: 37px;
		font-weight: 600;
		letter-spacing: 4px;
		line-height: 37px;
		text-align: center;
		color: #48AADD;
	}
	
	#er_mv h1 font big {
		font-size: 57px;
		line-height: 57px;
	}
	
	/*コンテンツ*/	
	#er {
		position: relative;
		width: 100%;
		height: auto;
		padding: 0 0 0 0;
		margin: 60px auto 160px auto;
	}
	
	#er p {
		line-height: 30px;
		text-align: center;
	}
	
	#er p a {
		position: relative;
		font-weight: 700;
		color: #48AADD;
		transition: 0.2s;
	}
	
	#er p a::before {
		content: "";
		position: absolute;
		bottom: -1px;
		left: 0;
		width: 100%;
		height: 1px;
		background: rgba(0,123,176,0.00);
	}
	
	#er p a:hover::before {
		background: #48AADD;
	}
	
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	/*メインビジュアル*/
	#er_mv {
		position: relative;
		width: 100%;
		height: auto;
		padding: 70px 0 0 0;
		margin: 0 auto 0 auto;
	}
	
	#er_mv h1 {
		font-size: 15px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 15px;
		text-align: center;
		color: #444444;
	}
	
	#er_mv h1 font {
		display: block;
		position: relative;
		margin-bottom: 12px;
		font-size: 24px;
		font-weight: 600;
		letter-spacing: 2px;
		line-height: 24px;
		text-align: center;
		color: #48AADD;
	}
	
	#er_mv h1 font big {
		font-size: 36px;
		line-height: 36px;
	}
	
	/*コンテンツ*/	
	#er {
		position: relative;
		width: 320px;
		height: auto;
		padding: 0 0 0 0;
		margin: 45px auto 60px auto;
	}
	
	#er p {
		line-height: 24px;
		text-align: left;
	}
	
	#er p.indent {
		padding-left: 1em;
		text-indent: -1em;
	}
	
	#er p a {
		position: relative;
		font-weight: 700;
		color: #48AADD;
		text-decoration: underline;
	}
	
	#er p a::before {
		content: "";
		position: absolute;
		bottom: -1px;
		left: 0;
		width: 100%;
		height: 1px;
		background: rgba(0,123,176,0.00);
	}
	
}