@charset "UTF-8";

/*===============================

メインビジュアル（TOP用）

================================*/


#main-visual {
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    color: #FFF;
    height: 100vh;
}

#main-visual:after {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    content: "";
    display: block;
    background-color: rgba(0, 0, 0, .6);
    background-image: radial-gradient(#111 30%, transparent 0), radial-gradient(#111 30%, transparent 0);
    background-position: 0 0, 3px 3px;
    background-size: 6px 6px;
    z-index: -10;
}

#main-visual video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: inherit;
    object-fit: cover;
    z-index: -20;
}



#main-visual .content {
    position: absolute;
    top: 40%;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1;
}

#main-visual .content img {
    width: 45%;
    max-width: 250px;
}


#main-visual .scroll {
    position: absolute;
    right: 80px;
    bottom: 0;
    margin: auto;
    z-index: 1;
    color: #ffdc00;
    writing-mode: vertical-lr;
    font-weight: bold;
    padding-bottom: 50px;
    padding-left: 30px;
}

#main-visual .scroll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 200px;
    background: #141414;
}

#main-visual .scroll::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 200px;
    background: #ffdc00;
}

@media screen and (max-width: 600px) {
    #main-visual .scroll {
        right: 30px;
        padding-bottom: 30px;
    }

    #main-visual .scroll::after {
        height: 140px;
    }

    #main-visual .scroll::before {
        height: 140px;
    }

}


#main-visual .scroll::after {
    animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}




