/* CSS Document */
@import url("reset.css");
@import url("common.css");


/* mainVisual
---------------------------------------------------------- */
#mainVisual{
	position: relative;
	width: 100%;
	height: 100vh;
	align-items: flex-end;
	justify-content: center;
	flex-direction: column;
}
#mainVisual::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 100px);
	border-radius: 50px 50px 0 0;
	background: fixed url(../img/teaser/mv_bg01.jpg) no-repeat center / cover;
}

h1{
	position: absolute;
	z-index: 1;
	max-height: 95vh;
	width: 100%;
	height: 100%;
	padding: 10px;
	margin: auto;
	padding: 0;
	line-height: 1;
	opacity: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
h1 img{
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}
@keyframes fadein {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
#mainVisual.fadeIn h1{ animation: 1.3s fadein 0.8s forwards;}

@media screen and (max-width: 767px), screen and (min-width: 768px) and (max-width: 1023px) {
	#mainVisual{ height: 65vh;}
}

/* Text */
h3{
	margin: 50px 0 30px;
	color: var(--textColor);
	font-size: 1.8rem;
	line-height: 1.4;
	font-weight: 700;
}


/* intro
---------------------------------------------------------- */
.intro{
	max-width: 980px;
	margin: auto;
	padding: 30px;
}
.intro h2 {
	position: relative;
	margin: 0 0 50px 0;
	padding: 30px 0;
	color: var(--textColor);
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
	border: 2px solid var(--mainColor);
	border-radius: 10px;
}
.intro h2:before,
.intro h2:after {
	position: absolute;
	left: 0;
	width: 100%;
	content: '';
	border-top: 2px dotted var(--mainColor);
}
.intro h2:before { top: 6px;}
.intro h2:after { bottom: 6px;}

.intro p{ font-size: 1.1rem;}
.intro_image{ text-align: center;}
.intro_image figcaption{ font-size: 0.8rem;}

@media screen and (max-width: 767px){
	.intro{
		padding: 0;
		font-size: 1.6rem;
	}
	.intro h2{
		margin: 0 0 30px 0;
		font-size: 1.4rem;
	}
}


/* about
---------------------------------------------------------- */
.about{
	margin: 50px auto 0;
	padding: clamp( 30px, 30%, 32px);
	background-color: rgb(218, 127, 86);
	border-radius: 20px;
	color: #fff;
}

.about_text {
	width: 65%;
	padding: 30px;
}
.about_text h3 {
	margin-top: 0;
	color: #fff;
}
.about_text .link_btn{
	background-color: var(--mainColor);
	box-shadow: none;
}

.about_img { width: 30%;}
.about_img img{
	width: 100%;
	line-height: 0;
	box-shadow: min( 1.1vh, 15px) min( 1.2vh, 15px) rgb(224, 219, 206);
}

@media screen and (max-width: 767px){
	.about_text{
		width: 100%;
		padding: 0;
	}
	.about_text h3 { text-align: center;}
	.about_img {
		width: 76%;
		margin: 20px auto 0;
	}
}

.contents{
	margin: 50px 0;
	padding: 40px;
	border-radius: 30px;
	background-color: var(--mainBgColor);
}
.contents h3{
	margin: 30px 0 0 0;
	font-size: 1.4rem;
}
.contents p{ margin-bottom: 0;}
.contents .flexbox{ justify-content: flex-end;}

@media screen and (max-width: 767px){
	.contents{ margin: 20px 0;}
}