@charset "utf-8";

/* 
Base style
*/
body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    font-family: 'Noto Sans JP', system-ui, -apple-system,
        BlinkMacSystemFont, 'Segoe UI',
        'Hiragino Kaku Gothic ProN',
        'Yu Gothic', Meiryo, sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

/*
main-section
*/
.main-section {
    width: 100%;
    height: 100vh;
    margin: auto;
    position: relative;
    overflow: hidden;
}

h1 {
    display: none;
}

.video-container {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.video-container>.welcome-animation {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* ← 一番上に表示 */
}

.video-container>.glass-animation {
    object-fit: cover;
    position: absolute;
    top: -35vh;
    left: -35vh;
    z-index: 1;
    pointer-events: none;
    /* 操作をブロックしない */
    filter: drop-shadow(0 0 0 #fff);
    aspect-ratio: auto 160 / 90;
    width: 50vw;
    height: auto;
}

/* コンテンツ部分 */
.contents {
    position: relative;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: block;
    /* デバッグ中は表示しておく */
    color: #fff;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.contents.show {
    opacity: 1;
}

.contents>h1 {
    font-size: 4vw;
    margin: 0;
}

.contents>p {
    margin: 1rem 0;
    font-size: 7vw;
    font-weight: lighter;
    color: #3e3e3e;
}

.contents>a {
    display: flex;
    margin: 40px auto 0;
    justify-content: center;
    font-size: 17px;
    border-radius: 50%;
    align-items: center;
    width: 55pt;
    height: 55pt;
    border: solid 0.5px #d7d7d7;
    box-shadow: 0 4px 10px rgba(74, 74, 74, 0.1);
    color: #1e1e1e;
}

.contents>a:hover {
    background-color: #010101;
    color: #fff;
    box-shadow: none;
    transition: background-color 0.5s;
}

@media (max-width: 768px) {
    .video-container>.welcome-animation {
        width: 170vw;
        height: auto;        /* ← 一番上に表示 */
        top: -75vw;
        left: -37vw;
    }

    .video-container>.glass-animation {
        top: -17vh;
        left: -24vh;
        width: 60vh;
        height: 60vh;
    }

    .contents>p {
        font-size: 14vw;
    }

    .contents>a {
        width: 14vw;
        height: 14vw;
        font-size: 4vw;
        margin: 7vw auto 0;
    }
}
@media (max-width: 730px) {
    .video-container>.welcome-animation {
        top: -70vw;
        left: -37vw;
    }
}

@media (max-width: 670px) {
    .video-container>.welcome-animation {
        top: -70vw;
        left: -37vw;
    }
}
@media (max-width: 610px) {
    .video-container>.welcome-animation {
        top: -65vw;
        left: -37vw;
    }
}
@media (max-width: 550px) {
    .video-container>.welcome-animation {
        top: -55vw;
        left: -37vw;
    }
}

@media (max-width: 500px) {
    .video-container>.welcome-animation {
        top: -50vw;
        left: -37vw;
    }
}

@media (max-width: 450px) {
    .video-container>.welcome-animation {
        top: -35vw;
        left: -37vw;
    }
}

/* fade-in base */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 0.3s;
}

/* visible state */
.fade-in.is-visible {
    opacity: 1;
}