@charset "utf-8";

/*下層ページのh2,h3のpadding-bottomとフォントサイズの指定は全てここで行う*/

h2 {
	font-size: 32px;
	padding-bottom: 50px;
}

h3 {
	font-size: 20px;
	padding-bottom: 30px;
}

.menu_wrapper h3 {
	font-size: 26px;
	padding-bottom: 0;
}

h3 span {
	position: relative;
}

 h3 span::before {
	content: url(../images/hd_icon.png);
	position: absolute;
	top: 0;
	left: -25px;
}

.top_image {
	height: 460px;
	overflow: hidden;
	margin-top: 80px;
	position: relative;
}

.top_image_bg {
	transition: 2s;
	transform: scale(1.3,1.3);
	height: 460px;
}

.top_image h2 {
	position: absolute;
	bottom: 120px;
	left: 387px;
	transform: translateX(-50px);
	opacity: 0;
	transition: 0.6s;
	transition-delay: 0.6s;
	color: #fff;
	font-size: 48px;
}

.merit_wrapper {
	padding-bottom: 80px;
}

.merit_wrapper h3 {
	text-align: center;
	padding-bottom: 20px;
}

.merit_wrapper .merit_area {
	background: #f1f1f1;
}

.merit_wrapper .merit_inner {
	padding: 80px 30px;
	margin: 0 auto;
	width: 1200px;
}

.merit_wrapper .merit_flex {
	display: flex;
}

.merit_wrapper .merit_block {
	width: 360px;
	text-align: center;
}

.merit_wrapper .merit_block:nth-of-type(2) {
	padding: 0 30px;
}


@media screen and (max-width:1000px){

	.top_image h2 {
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	font-size: 40px;
	bottom: 60px;
}
	.merit_wrapper .merit_inner {
	padding: 80px 30px;
	margin: 0 auto;
	width: 750px;
}
	
	.merit_wrapper .merit_flex {
	display: block;
}
	
	.merit_wrapper .merit_block {
		margin: 0 auto 40px;
		width: 490px;
	}
	
	.merit_wrapper .merit_block:nth-of-type(3){
		margin: 0 auto 0px;
	}
	
	.merit_wrapper .merit_block p {
		text-align: center;
	}
	
}

@media screen and (max-width:750px){
	
	h2 {
		font-size: 20px;
		padding-bottom: 40px;
	}
	
	h3 {
		font-size: 16px;
		padding-bottom: 20px;
	}
	
	.top_image {
		margin-top: 60px;
	}

	.top_image h2 {
	font-size: 32px;
}
	.menu_wrapper h3 {
	font-size: 14px;
}
	
	.merit_wrapper {
	padding-bottom: 60px;
}
	.merit_wrapper .merit_inner {
	padding: 60px 15px;
	width: 100%;
}
	
	.merit_wrapper .merit_block {
		width: auto;
	}
	
	.merit_wrapper .merit_block p {
		text-align: justify;
	}
	
	.merit_wrapper .merit_block:nth-of-type(2) {
	padding: 0 0;
}

	
}