@charset "utf-8";
/* CSS Document */
/*---------------------------------------------
 fv
----------------------------------------------------------------*/
#fv{
	position: relative;
	width: 100%;
	aspect-ratio: 96 / 49;
	max-height: 100vh;
	overflow: hidden;	
}

.fv-wrap{
	position: relative;
	width: 100%;
	aspect-ratio: 96 / 49;
	max-height: 100vh;

	-webkit-mask-image: url("../img/index/fvmask.svg");
	mask-image: url("../img/index/fvmask.svg");

	-webkit-mask-size: cover;
	mask-size: cover;

	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;

	-webkit-mask-position: bottom;
	mask-position: bottom;
}

.slider {
  position:relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 96 / 49;
	max-height: 100vh;
}
/*　背景画像設定　*/

.slider-item01 {
    background:url("../img/index/fv01.jpg");
}

.slider-item02 {
    background:url(../img/index/fv02.jpg);
}

.slider-item03 {
    background:url(../img/index/fv03.jpg);
}

.slider-item {
	width: 100%;
	aspect-ratio: 96 / 49;
	max-height: 100vh;
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}


.fv-txt{
	position: absolute;
	content: '';
	display: flex;
	justify-content: space-between;
	gap:5vw;
	z-index: 5;
	width: 85%;
	height: 60%;
	margin: 0 auto;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	
}
.fv-texter{
	display: flex;
    flex-direction: column;
    justify-content: center;
	gap:50px;
	
}
.fv-texter p{
	font-size: 1.6vw;
	color: #fff;
	text-shadow: 0 0 4px rgba(0,0,0,.45);
}
.fv-texter .btn{
	display: inline-block;	
}
.fv-texter .btn a{
	padding: 13px 2rem;
	border-radius: 50px;
	background: var(--sub-color);
	color: #fff;
	font-size: 1.3rem;
}
.fv-texter .btn a:hover{
	opacity: .8;
}

.catch {
	width: 30vw;
	max-width: 550px;
	min-width: 280px;
}
.catch img{
	object-fit: contain;
	height: 100%;
}


@media(max-width:819px){
	#fv{
		aspect-ratio: 5 / 4;
	}	
	.fv-wrap,.slider,.slider-item{
		aspect-ratio: 5/4;
	}
	.fv-txt{
		width: 96%;
	}
	.fv-texter p{
		font-size: 20px;
	}	
}
@media(max-width:699px){
	#fv{
		height: 80vh;
	}	
	.slider,.slider-item{
		height: 80vh;
	}	
	.fv-wrap{
		height: 80vh;
		-webkit-mask-image: url("../img/index/sp-fvmask.svg");
		mask-image: url("../img/index/sp-fvmask.svg");

		-webkit-mask-size: cover;
		mask-size: cover;

		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;

		-webkit-mask-position: bottom;
		mask-position: bottom;
	}
	.fv-txt {
		justify-content: flex-end;
		height: 80%;
		flex-direction: column;
		align-items: flex-end;
	}	
}
@media (max-width: 450px) and (max-height: 800px){
  .fv-texter{
    display: none;
  }
}