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

/*---------  ファーストビュー  ---------------*/
#mv {
	width: 100%;
	min-height: 240px;
	position: relative;
	background-image: url("../img/mv.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
#mv::before{
	content: '';
	display: block;
	width: 100%;
	min-height: 240px;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.40);
}

main section:not(.path){
	max-width: 960px;
	margin: 0 auto;
}	
main section#mv{
	max-width: 100%;
	margin: 0 auto 100px;
}

#mv h1{
	max-width: 960px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
#mv h1 img{
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(15%);
}


@media screen and (max-width: 768px) {
	#mv {
		min-height: 150px;
	}
	#mv h1{
		width: 90%;
	}
	#mv h1 img{
		width: 50%;
		transform: translateY(0);
	}
	main {
		overflow: hidden;
	}
	main img{
		width: inherit;
		max-width: 100%;
		box-sizing: border-box;
	}
	#content {
		width: 95%;
	}
}



#link {
	margin: 100px auto;
	text-align: center;
}
#link ul{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 5px;
	border: 10px solid #A9D5B3;
}
#link a:not(ul>li>a){
	display: inline-block;
	margin-top: 50px;
}
@media screen and (max-width: 768px) {
	#link{
		width: 95%;
	}
	#link ul{
		border: 5px solid #A9D5B3;
	}
	
	#link a:not(ul>li>a) {
		width: 80%;
	}
}




/*---------  コンテンツ内  ---------------*/
#content .mb1{
	margin-bottom: 1em;
}
#content h2{
	margin-bottom: 1em;
	padding-left: 3em;
	position: relative;
}
#content h2::before{
	content: '';
	display: inline-block;
	width: 50px;
	height: 58px;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	background-image: url("../img/h.jpg");
	background-size: contain;
}

#content .contentBox{
	display: flex;
	justify-content: space-between;
}
#content .contentBox:not(:last-of-type){
	margin-bottom: 4em;
}
#content .contentBox:first-of-type .textBox,#content .contentBox:nth-last-of-type(2) .textBox{
	width: 100%;
	margin-left: 4em;
}
#content .contentBox .imgBox{
	text-align: end;
}
#content .contentBox:nth-last-of-type(3) .textBox{
	width: 100%;
	padding-left: 2em;
	order: 1;
}
#content .contentBox:nth-last-of-type(3) .imgBox{
	margin-left: 4em;
	text-align: start;
	order: 0;
}
#content .contentBox:last-of-type .textBox{
	width: 60%;
	margin-left: 4em;
}
.textBox02 div:not(.item){
	display: flex;
	justify-content: space-between;
	width: 84%;
	margin-left: 4em;
	margin-bottom: 2em;
	padding: 15px;
	border: 1px solid;
}
.textBox02 .item{
	width: 45%;
}
#content .lead{
	margin-left: 4em;
}
@media screen and (max-width: 768px) {
	#content .contentBox{
		flex-wrap: wrap;
	}
	#content .contentBox:first-of-type .textBox, #content .contentBox:nth-last-of-type(2) .textBox{
		margin: 0;
	}
	#content .lead{
		margin-left: 0;
	}
	.textBox02 div:not(.item){
		widows: 100%;
		margin: 0 auto 2em;
		flex-wrap: wrap;
		justify-content: center;
	}
	.textBox02 .item{
		width: 100%;
		margin-top: 1em;
	}
	#content .contentBox:nth-last-of-type(3) .imgBox{
		margin-left: 0;
	}
	#content .contentBox:nth-last-of-type(3) .textBox{
		padding: 0;
	}
	#content .contentBox:last-of-type .textBox{
		width: 100%;
		margin-left: 0;
	}
}