@charset "utf-8";

*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'my-font';
    src: url('../onryou.TTF') format('truetype');
}

body {
    font-family: "my-font";
}

body {
    background-color: #000;
    overflow-y: hidden;
}

.container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}



video {
    width: 100%;
    height: 100vh;

}

section:first-child {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

section:first-child h2{
    animation-name: up;
    animation-delay: 6s;
    position: absolute;
    bottom: 100px;
    left: 650px;
    font-size: 60px;
    text-align: center;
    color: #a41919;
    opacity: 0;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    transition-duration: 3s;
}

@keyframes up{
    0%{opacity: 1;
        transform: translateY(-50);

    }

    100%{opacity: 1;
        transform: translateY(0);
    }
}


.door {
    position: relative;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    z-index: 111;
}

.door img:first-child {
    width: 100%;
    height: 100vh;
}

.door img:nth-child(2) {
    width: 500px;
    height: 700px;
    position: absolute;
    top: 30px;
    left: 500px;
}

.opndoor.hide {
    display: none;
    opacity: 0;
}

.js-delay{
    background-color: inherit;
    font-size: 70px;
    top: 300px;
    left: 520px;
    position: absolute;
    border: none;
    color: #a41919;
    font-family: "my-font";
}

.js-delay:hover {
    cursor: pointer;
}

.js-delay.none {
    display: none;
}

.clsdoor {
    display: none;
}

.clsdoor.show {
    display: block;
    width: 500px;
    height: 700px;
    position: absolute;
    top: 30px;
    left: 500px;
}

.sur {
    display: none;
}

.sur.wow {
    display: block;
    position: absolute;
    top: 160px;
    left: 300px;
    animation-name: wow;
    animation: wow 1s ease-in-out forwards;
}

@keyframes wow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.5);
    }
}

.delay {
    display: none;
}

.delay.aa {
    display: block;
    position: absolute;
    top: 400px;
    left: 520px;
    font-size: 70px;
    color: #a41919;
    z-index: 11;
}

audio {
    width: 200px;
    z-index: 0;

}

#story {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

.storybox {
    display: flex;
    padding: 100px;
    justify-content: space-around;
}

.storybox img {
    width: 600px;
    height: 450px;
}

.txtbox{
    margin-top: 100px;
    font-size: 28px;
     color: #a41919;
}
.textSplitLoad {
	display: none;
}
.split {
	visibility: hidden;
}

#story h2:first-child{
    color: #a41919;
    text-align: center;
    padding-top: 50px;
    font-size: 50px;
text-decoration: underline dotted #a41919;
text-underline-offset: 10px;
}

#story a h2{
    animation-name: in;
    animation-delay: 32s;
    position: absolute;
    bottom: 30px;
    left: 550px;
    font-size: 60px;
    text-align: center;
    color: #a41919;
    opacity: 0;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    
}
#story a{
    text-decoration: none;
}

@keyframes in{
    0%{opacity: 1;
        transform: translateY(-50);

    }

    100%{opacity: 1;
        transform: translateY(0);
    }
}

#pick1{
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background-image: url(../img/hora-.jpg);
    display: flex;
    justify-content: space-around;
    padding: 100px;
}



#pick1 h2,
#pick1 p{
font-size: 28px;
color: rgb(220, 220, 220) ;
padding-left: 60px;

}
#pick1 h2{
    display: block;
margin-left: 20px;
    padding-top: 50px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
}
#pick2 h2,
#pick2 p{
font-size: 28px;
color: rgb(220, 220, 220) ;
padding-left: 60px;

}
#pick2 h2{
    padding-top: 50px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
}





#pick2{ 
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background-image: url(../img/kuraimori-.jpg);
    display: flex;
    justify-content: space-around;
    padding: 100px;
}

#pick1 img{
    width: 600px;
    height:450px;
}
#pick2 img{
    width: 600px;
    height:450px;
}

#frame {
    display: block;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

#frame video{
    width: 600px;
    height: 400px;
    position: relative;
    top: 30px;
    left: 750px;
}

#frame .light{
    position: absolute;
    top: 300px;
    left: 250px;
}

#frame h2:first-child{
    font-size: 50px;
    color: #a41919;
    position: absolute;
    top: 300px;
    left: 180px;
    transform: rotate(-20deg);
}

.eye{
    width: 600px;
    height: 350px;
    position: absolute;
    top: 50px;
    left: 750px;
    display: none;
}

.eye.wo{
    display: block;
}

#frame h2:nth-of-type(2){
    font-size: 40px;
    color: #a41919;
    position: absolute;
    bottom: 200px;
    right: 250px;
}

.light{
    background-color: inherit;
    border: none;
}

.light:hover{
    cursor: pointer;
}

.down{
     position: absolute;
    bottom: 30px;
    left: 600px;
    font-size: 60px;
    text-align: center;
    color: #a41919;
    opacity: 0;
}

.down.i{
    opacity: 1;
}

.footer{
    height: 100vh;
     scroll-snap-align: start;
    scroll-snap-stop: always;
    line-height: 2;
}

.footer h2{
   padding-top: 50px;
    font-size: 40px;
    text-align: center;
    text-decoration: underline dotted #a41919;
    color: #a41919;
    text-underline-offset: 8px;
}

.footer p:nth-of-type(1){
    font-size: 30px;
    color: #a41919;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.footer img{
    width: 200px;
    height: 100px;
    margin: 30px auto 10px auto; 
    display: block;
}

.flex{
    margin-top: 50px;
      border-top: 3px solid #a41919;
    display: flex;
    justify-content: flex-start;
    border-bottom:  3px solid #a41919;
    justify-content: center;
}

.footer a{
    width: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 30px;
    text-decoration: dotted underline #a41919;
    color: #a41919;
    text-underline-offset: 5px;
}

.footer p:nth-of-type(2){
    font-size: 28px;
    color: #a41919;
    text-align: center;
}

.footer p:nth-of-type(3){
    text-align: center;
    color: #a41919;
    font-size: 28px;
}

.footer p:nth-of-type(4){
    text-align: center;
    color: #a41919;
    font-size: 24px;
}

a .ricon{
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 80px;
    height: 80px;
    z-index: 11111;
}

.delay{
    left: 720px;
}