@charset "utf-8";

#header{
    position: relative;
    height: 100vh;
    width: auto;
    background: url("../images/texture-1504364_1920.jpg") no-repeat;
    background-size: cover;
}

.left{
	animation: fadein 1s ease-in-out forwards;
	opacity: 0;
}

.right p{
	animation: fadein 1s ease-in-out forwards;
	opacity: 0;
}

@keyframes fadein{
	from{opacity: 0;}
	to{opacity: 1;}
}

.right p:nth-child(1){animation-delay: 1.5s;}
.right p:nth-child(2){animation-delay: 1.9s;}
.right p:nth-child(3){animation-delay: 2.3s;}
.right p:nth-child(4){animation-delay: 2.7s;}
.right p:nth-child(5){animation-delay: 3.1s;}
.right p:nth-child(6){animation-delay: 3.5s;}

.head{
	animation: fadedown 2s ease-in-out 1.5s forwards;
	opacity: 0;
}

@keyframes fadedown {
    from { 
		opacity: 0; 
		transform: translateY(-100px)
	}
    to {
		opacity: 1;
		transform: translateY(0)
	}
}

	.scroll{
	animation: fadeddown 2s ease-in-out 4s forwards;
	opacity: 0;
}

@keyframes fadeddown {
    from { 
		opacity: 0; 
		transform: translateY(-300%)
	}
    to {
		opacity: 1;
		transform: translateY(0)
	}
}


.catch{
    padding: 0 20px 0 20px;
    width: fit-content;
    position: absolute;
    top: 30vh;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
}

.left h2{
    font-weight: normal;
    /*font-size: 30px;*/
    font-size: clamp(1.375rem, calc(1.125rem + 1vw), 1.875rem);
    margin-bottom: 5%;
}
.right p{
    font-size: clamp(1rem, calc(0.875rem + 0.5vw), 1.25rem);
    line-height: 2;
}
.right{
    padding-top: 2%;
}
.right p:nth-child(1),.right p:nth-child(3){
    margin-bottom: 5%;
}

.right span{
    font-size: clamp(1.25rem, calc(1.1875rem + 0.25vw), 1.375rem);
}

@media screen and (min-width: 768px){
    .catch{
        width: 80%;
        grid-template-columns: 20% 3fr;
        justify-content: flex-start;
        position: absolute;
        top: 30vh;
        left: 6vw;
        right: 0;
        margin: 0 auto;
    }
}

/*---------------main---------------------------------*/

.maintitle{
	font-weight: normal;
	text-align: center;
	font-size: clamp(1.125rem, calc(0.90625rem + 0.8750000000000001vw), 1.5625rem);
	margin: 15% 0;
}

.mainmovie{
	width: 100%;
	aspect-ratio: 16/9;
	position: relative;
	margin: 0% auto 25%;
}	
.mainmovie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px){
	.maintitle{
		margin: 15% 0 10% 0;
	}
	.mainmovie{
		width: 70%;
		margin: 0% auto 15%;
	}
	
}


/*-----------------sub------------------------------*/
.subwrap{
	margin: 25% 0;
}

.container{
	width: 100%;
	margin: 15% auto;
}
.subtitle{
	font-weight: normal;
	text-align: center;
	font-size: clamp(1.375rem, calc(1.125rem + 1vw), 1.875rem);
	
}
.submovie{
	/*width: 100%;*/
	aspect-ratio: 16/9;
	position: relative;
	margin-bottom: 5%;
}	
.submovie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.subtxt{
	font-weight: normal;
	text-align: center;
	font-size: clamp(1.125rem, calc(0.90625rem + 0.8750000000000001vw), 1.5625rem);
	
}

@media screen and (min-width: 768px){
	.subwrap{
		margin: 0 auto;
		display: grid;
    	/*grid-template-columns: repeat(3,1fr);*/
		grid-template-columns: repeat( auto-fill, minmax(300px,1fr) ) ;
		grid-gap: 3%;
		margin: 10% 10% 25% 10%;
	}

	.container{
		margin: 0 auto 15%;
	}
}
	
	

