/* CSS Document */
@import url("reset.css");
@import url("swiper-bundle.min.css");
@import url("common.css");


/* common
---------------------------------------------------------- */
.copy{
	font-weight: 600;
	font-size: min(1.6rem , 20px);
}


/* mv
---------------------------------------------------------- */
.mv{
	position: relative;
	z-index: 1;
	height: 100vh;
	border-radius: 0 0 20px 20px;
	overflow: hidden;
}
.mv::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 70, 200, 0.15);
}

.mv_img{
	width: 50%;
	height: 100vh;
	line-height: 0;
}
.mv_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
	transition: transform 1.2s ease-out;
}

.mv_img .swiper-slide-active img { transform: scale(1);}

.mv_txt{
	position: absolute;
	z-index: 3;
	bottom: 8vw;
	left: 8vw;
	width: max(30vw, 260px);
	height: auto;
}
.mv_txt img{ width: 100%;}

@media screen and (max-width: 768px) and (orientation:portrait) {
	.mv{ height: calc(100vh - 60px);}
	.mv_img{
		width: 100%;
		height: calc(50vh - 30px);
	}
}


/* intro
---------------------------------------------------------- */
.intro{	padding: max(10vh, 30px) 20px;}

.intro h3{ margin-top: 0;}


/* free
---------------------------------------------------------- */
.free{
	position: relative;
	width: 98%;
	margin: auto;
	padding: max(5vh, 20px) 0;
	background: url(../img/top/free_bg.jpg) no-repeat center / cover;
	background-attachment: fixed;
	border-radius: 20px;
	overflow: hidden;
}
.free::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 110, 200, 0.1);
}

.free_inner{
	position: relative;
	z-index: 2;
	max-width: 1200px;
	width: 100%;
}

.free_list{
	-webkit-box-align: stretch;
	align-items: stretch;
}
.free_item{
	position: relative;
	width: 32%;
	padding: 30px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 0 20px 20px 20px;
}
.free_item::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 10%;
	height: 3px;
	background-color: var(--gldColor);
}

.free_item h4{
	margin: 10px 0;
	font-size: 1.3rem;
	color: var(--subColor);
}
.free_item p{ margin: 10px 0;}
.free_item img{
	margin: 20px 0 0 0;
	border-radius: 20px;
}

@media screen and (max-width: 768px) and (orientation:portrait) {
	.free_item{
		width: 100%;
		margin: 5px 0;
	}
}


/* flow
---------------------------------------------------------- */
.flow{ padding: min(15vh, 30px) 20px;}

.flow_list{ 
	-webkit-box-align: stretch;
	align-items: stretch;
}

.flow_item{
	width: 48%;
	margin: 20px 0;
	padding: max(3vw , 20px);
	border-radius: 20px;
	background-color: var(--mainBgColor);
}
.flow_item h4{ text-align: center;}
.flow_item h4 img{
	display: block;
	width: 80px;
	margin: 0 auto 10px;
}
.flow_item .link_btn{ background-color: var(--gldColor);}
.flow_item .link_btn:hover{ background-color: #85664c;}

.flow dl{
	margin: 50px auto;
	text-align: center;
}
.flow dl dt{
	font-size: min(1.8em , 24px);
	line-height: 1.5;
}
.flow dl dd{ font-size: 1.1rem;}

@media screen and (max-width: 768px) and (orientation:portrait) {
	.flow_item{ width: 100%;}
}


/* qa
---------------------------------------------------------- */
.qa{
	padding: max(8vw , 30px) 0;
	background-color: var(--mainBgColor);
}

.qa h3{ margin-top: 0;}
.qa h3 img{ width: 2rem;}

.qa_list{ margin: 0;}

.qa_item{
	height: auto;
	padding: max(3vw , 30px);
	background-color: #fff;
	border-radius: 20px;
}

.qa_item dd{ margin: 0;}

.swiper-custom-navigation{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
	position: relative;
	padding: 0 40px;
}

.swiper-pagination{
	position: static;
	width: auto;
	margin: 0 20px;
	bottom: auto;
}
.swiper-pagination-bullet-active{ background-color: var(--mainColor);}

.swiper-button-prev,
.swiper-button-next{
	position: absolute;
	z-index: 20;
	top: calc(50% + 3px);
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	margin-top: 0;
	color: var(--mainColor);
	line-height: 1;
}

.swiper-button-prev{ left: calc(50% - 100px);}
.swiper-button-next{ right: calc(50% - 100px);}

.swiper-button-prev::after,
.swiper-button-next::after { font-size: 20px;}

.swiper-button-prev svg,
.swiper-button-next svg{
	fill: var(--mainColor);
	width: 20px;
	height: 20px;
}

.swiper-button-disabled{
	opacity: 0.3;
	cursor: auto;
	pointer-events: none;
}

@media screen and (max-width: 768px) and (orientation:portrait) {
	.qa h3{ text-align: center;}
}


/* komon
---------------------------------------------------------- */
.komon{ align-items: stretch;}
.komon_right,
.komon_left{ width: 50%;}

.komon_right{
	padding: 5vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.komon_right h3{ font-size: min(1.2rem , 22px);}
.komon_right .copy{ font-size: min(1.6rem , 32px);}
.komon_right .more{
	margin: 0;
	text-align: left;
}

.komon_left{ line-height: 0;}

@media screen and (max-width: 768px) and (orientation:portrait) {
	.komon{ flex-direction: column-reverse;}
	.komon_right,
	.komon_left{ width: 100%;}
	.komon_right .more{
		margin: auto;
		text-align: center;
	}
}


/* news
---------------------------------------------------------- */
.news{
	padding: 10vh 0;
	background-color: var(--mainBgColor);
}

.news_inner{ flex-wrap: nowrap;}

.news_tab{ width: 25%;}
.news_tab h3{ margin-top: 0;}
.news_tab ul{
	margin: 0;
	padding: 0;
	font-size: 0.9rem;
	flex-direction: column;
	align-items: flex-start;
	white-space: nowrap;
}
.news_tab li{
	display: inline-block;
	margin: 3px 0;
	padding: 3px 1.5rem;
	background-color: #fff;
	border-radius: 3rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.news_tab li:hover,
.news_tab li.cur{
	background-color: var(--mainColor);
	color: #fff;
}

.news_list{
	width: 70%;
	display: none;
}

@media screen and (max-width: 768px) and (orientation:portrait) {
	.news_inner{ flex-wrap: wrap;}
	.news_tab{
		width: 100%;
		margin: 20px 0;
	}
	.news_tab ul{
		flex-direction: row;
		justify-content: flex-start;
	}
	.news_tab ul li{
		margin: 0 2px 2px 0;
		font-size: 0.8rem;
	}
	.news_list{ width: 100%;}
}