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

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

* {
	margin: 0;
	padding: 0;
}
 
body {
	margin: 0;
	padding: 0;
	color: #02011C;
	background: #fff;
	font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}
 
img {
	vertical-align: bottom;
	max-width: 100%;
}
 
h1,h2,h3,h4,h5 {
	font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}

p {
	color: #343434;
	font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}

font,span {
	
}
 
a {
	text-decoration: none;
	font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}

/*Googleフォント*/
/*shippori mincho（見出し）*/
.shippori-mincho {
	font-family: "Shippori Mincho", serif;
	font-style: normal;
}

/*Zen Kaku Gothic New（バナー）*/
.zen-kaku-gothic-new {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-style: normal;
}


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

/*一部共通 メインビジュアル*/
/*PC*/
@media only screen and (min-width: 1025px) {
	#post_mv {
		z-index: 2;
		position: relative;
		width: 90%;
		height: auto;
		margin: 0 auto 0 auto;
	}
	
	#post_mv img {
		z-index: 0;
		display: block;
		position: relative;
		width: 100%;
		height: 420px;
		object-position: center;
		object-fit: cover;
	}
	
	#post_mv h1 {
		z-index: 1;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		font-size: 36px;
		font-weight: 700;
		letter-spacing: 2px;
		line-height: 36px;
		text-align: center;
		color: #005F9E;
	}
	
	#post_mv h1 font {
		padding: 20px 30px 20px 30px;
		background: #fff;
		white-space: nowrap;
	}
	
}

@media screen and (min-width: 400px) and ( max-width: 1024px) {
	#post_mv {
		width: 400px!important;
	}
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	#post_mv {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 0 auto;
	}
	
	#post_mv img {
		z-index: 0;
		display: block;
		position: relative;
		width: 100%;
		height: 200px;
		object-position: center;
		object-fit: cover;
	}
	
	#post_mv h1 {
		z-index: 1;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		width: 100%;
		font-size: 23px;
		font-weight: 700;
		letter-spacing: 1px;
		line-height: 23px;
		text-align: center;
		color: #005F9E;
	}
	
	#post_mv h1 font {
		padding: 11px 15px 11px 15px;
		background: #fff;
		white-space: nowrap;
	}
}

/*404ページ*/
/*PC*/
@media only screen and (min-width: 1025px) {
	/*メインビジュアル*/
	#er_mv {
		padding: 150px 0 65px 0;
	}
	
	#er_mv h1 {
		font-size: 36px;
		font-weight: 600;
		letter-spacing: 2px;
		line-height: 36px;
		text-align: center;
		color: #005F9E;
	}
	
	#er_mv h1 font {
		display: block;
		position: relative;
		margin-bottom: 25px;
		font-size: 30px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 30px;
		text-align: center;
		color: #AFC4C9;
	}
	
	/*コンテンツ*/	
	#er {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 150px auto;
	}
	
	#er p {
		line-height: 32px;
		text-align: center;
	}
	
	#er p a {
		position: relative;
		font-weight: 700;
		color: #007BB0;
		transition: 0.2s;
	}
	
	#er p a::before {
		content: "";
		position: absolute;
		bottom: -2px;
		left: 0;
		width: 100%;
		height: 1px;
		background: rgba(0,123,176,0.00);
	}
	
	#er p a:hover::before {
		background: #007BB0;
	}
	
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	/*メインビジュアル*/
	#er_mv {
		padding: 80px 0 48px 0;
	}
	
	#er_mv h1 {
		font-size: 23px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 23px;
		text-align: center;
		color: #005F9E;
	}
	
	#er_mv h1 font {
		display: block;
		position: relative;
		margin-bottom: 14px;
		font-size: 20px;
		font-weight: 600;
		letter-spacing: 0.5px;
		line-height: 20px;
		text-align: center;
		color: #AFC4C9;
	}
	
	/*コンテンツ*/	
	#er {
		position: relative;
		width: 330px;
		height: auto;
		margin: 0 auto 90px auto;
	}
	
	#er p {
		line-height: 25px;
		text-align: left;
	}
	
	#er p.indent {
		padding-left:1em;
		text-indent:-1em;
	}
	
	#er p a {
		position: relative;
		font-weight: 700;
		color: #007BB0;
		text-decoration: underline;
	}
	
}