@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap');
.japanese{font-family: 'Noto Serif JP', serif; }

.main-wrap .main-visual {
    position: relative;
    height: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(http://gonylab9.speedgabia.com/hiclassnamhae2/temp/main/3.jpg);
    background-position: center center;
	background-attachment:fixed;
}

.inner{width:85%; margin:0 auto; max-width:94%;}


.main-wrap .main-visual .inner {
    position: relative;
    height: 100%;
}

.main-wrap .main-visual .text-1 {
    position: absolute;
    left: 0;
    top: 10%;
    color: #fff;
    opacity: 0;
    animation: up .3s forwards;
    
}

.main-wrap .main-visual .text-1 span {
    display: block;
    font-size: 100px; letter-spacing:-12px;
}

.main-wrap .main-visual .text-1 p {
    font-size: 24px;
    padding-left: 35px;
	margin-top:4rem;
}

.main-wrap .main-visual .text-2 {
    font-size: 18px;
    line-height: 30px;
    position: absolute;
    right: -55px;
    bottom: 45%;
    color: #fff;
    opacity: 0;
	text-align:right;
}
.main-wrap .main-visual .text-2.on{ animation: up .3s forwards;}

.main-wrap .section-2 .inner {
    padding:150px 0 150px;
    position: relative;
}

.main-wrap .section-2 .inner img {
  display: block;
    opacity: 1;
	margin:0 auto; 
}
.main-wrap .section-2 .inner img.on{animation: up .3s forwards;}
.main-wrap .iframe_outer {    position: relative;    padding-top: 56%;   width: 100%;   height: 0;}
.main-wrap .iframe_outer iframe{z-index: 2;  position: absolute; top: -10%; left: 50%;  transform: translateX(-50%);  width: 80%;   }


.main-wrap .section-3 {
    position: relative;
    background-attachment: fixed;
    background-image: url(https://gonylab9.speedgabia.com/hiclassnamhae2/temp/main/5.jpg); 
    height: 1387px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.main-wrap .section-3 .inner {
    position: relative;
    height: 100%;
}

.main-wrap .section-3 .text-1 {
    text-align: left;
    position: absolute;
    left: 0;
    top: 200px;
    opacity: 0;
}
.main-wrap .section-3 .text-1.on{animation: up .3s forwards;}

.main-wrap .section-3 .text-1 span {
    display: block;
    font-size: 120px;
    margin-top: 30px;
    font-family: Didot;
}

.main-wrap .section-3 .text-1 p {
    font-size: 24px;
    padding-right: 70px;
}

.main-wrap .section-4 {
    height: 900px;
	overflow:inherit;
}

.main-wrap .section-4 .inner {
    position: relative;
    height: 100%;
}

.main-wrap .section-4 .video {
    width: 1115px;
    background-color: #ccc;
    margin-top: -125px;
    position: relative;
}

.main-wrap .section-4 .video img {
    display: block;
}

.main-wrap .section-5 {
    position: relative;
    background-attachment: fixed; 
    background-image: url(https://gonylab9.speedgabia.com/hiclassnamhae2/temp/main/7.jpg);
    height: 66vw;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.main-wrap .section-5 .inner {
    position: relative;
    height: 100%;
}

.main-wrap .section-5 .text-1 {
    position: absolute;
    left: 44px;
    top: 16%;
    opacity: 0;
    
}
.main-wrap .section-5 .text-1.on{animation: up .3s forwards;}

.main-wrap .section-5 .text-1 span {
    font-size: 100px;
    color: #fff;
}

.main-wrap .section-5 .text-1 p {
    font-size: 26px;
    line-height: 40px;
    padding-left: 90px;
    margin-top: 20px;
    color: #fff;

}

.main-wrap .section-5 .text-2 {
    position: absolute;
    right: 0;
    bottom: 12%;
    font-size: 18px;
    line-height: 30px;
    color: #fff;
    opacity: 0;

}
.main-wrap .section-5 .text-2.on{animation: up .3s forwards;}


/* 0719add */
.section.section-2{background-color:#32343b;}


@media (max-width:1200px) {
    .main-wrap .main-visual .text-2 {
        right: -10px;
    }

    .main-wrap .main-visual .text-1 span {
        font-size: 90px;
    }

    .main-wrap .main-visual .text-1 p {
        font-size: 20px;
        padding-left: 25px;
    }

    .main-wrap .main-visual .text-2 {
        font-size: 16px;
        line-height: 1.6em;
    }

    .main-wrap .section-2 .inner {
        height: 300px;
    }

    .main-wrap .section-2 .inner img {
        left: 0;
        width: 300px;
    }

    .main-wrap .section-3 .text-1 span {
        font-size: 90px;
        margin-top: 0.25em;
    }

    .main-wrap .section-3 .text-1 p {
        font-size: 20px;
        padding-right: 40px;
    }

    .main-wrap .section-4 {
        height: auto;
        padding-bottom: 100px;
		
    }

    .main-wrap .section-4 .video {
        max-width: 92%;
        height: auto;
        margin: -20% auto 0;
    }

    .main-wrap .section-5 .text-1 span {
        font-size: 80px;
    }

    .main-wrap .section-5 .text-1 p {
        font-size: 20px;
        padding-left: 70px;
        margin-top: 15px;
        line-height: 1.5em;
    }

    .main-wrap .section-5 .text-2 {
        font-size: 16px;
        line-height: 1.6em;
    }
}

@keyframes up{
    0%{ transform: translateY(-60px); opacity: 0;}
    100%{transform: translateY(0px); opacity: 1;}
}

@media (max-width:1024px) {
    .main-wrap .section-3 {
        height: 98.8vw;
    }

    .main-wrap .section-5 {
        height: 100vh;
    }
    .main-wrap .iframe_outer iframe {
        top: -62%;
        width: 90%;
    }

}

@media (max-width:768px) {
    .main-wrap .main-visual {
        height: 110vh;
    }

    .main-wrap .main-visual .text-1 span {
        font-size: 32px;
        margin-bottom: 10px;
		letter-spacing:-2px;
    }

    .main-wrap .main-visual .text-1 p {
        font-size: 16px;
        padding-left: 2.4vw;
		margin-top:2rem;
    }
    .main-wrap .main-visual .text-1 {top: 14%;}

    .main-wrap .main-visual .text-2 {
        word-break: keep-all;
        font-size: 13px;
        line-height: 1.8em;
        bottom: 22%;
    }

    .main-wrap .section-2 .inner {
        height: 20vh; display:flex; align-items: center;
        padding: 0;
    }

    .main-wrap .section-2 .inner img {
        width: auto; height:80%;
        display: block;
         
    }

    .main-wrap .section-3 {
        /* background-image: url(/assets/images/m-main-sec3-bg.jpg); */
        height: 110vh;
    }
    .main-wrap .iframe_outer iframe {
        top: -75%;
    }


    .main-wrap .section-3 .text-1 {
        top: 13%
    }

    .main-wrap .section-3 .text-1 p {
        font-size: 16px;
    }

    .main-wrap .section-3 .text-1 span {
        font-size: 34px;
    }

    .main-wrap .section-4 {
        padding-bottom: 0;
        height: 53vw;
    }
 
    .main-wrap .section-4 .video {
        margin-top: -9vw;
    }

    .main-wrap .section-5 {
        /* background-image: url(/assets/images/m-main-sec5-bg.jpg); */
    }

    .main-wrap .section-5 .text-1 {
        top: 16.5%;
        left: 0;
    }

    .main-wrap .section-5 .text-1 span {
        font-size: 34px;
    }

    .main-wrap .section-5 .text-1 p {
        font-size: 16px;
        padding-left: 6.4vw;
        margin-top: 1.5vw;
    }

    .main-wrap .section-5 .text-2 {
        word-break: keep-all;
        font-size: 11px;
        line-height: 1.8em;
    }
}