/* ローディング：背景色・ロゴ幅・時間はここで調整できます。 */
.site_loader {
    position: fixed;
    inset: 0px;
    z-index: 20000;
    display: grid;
    place-items: center;
    background: #f2ede7;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s ease, visibility 0s 0.55s;
}


.is_loading {
    overflow: hidden;
}


.is_loading .site_loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
}


.site_loader[hidden] {
    display: none;
}


.loader_inner {
    display: grid;
    justify-items: center;
    gap: 30px;
}


.loader_logo {
    width: clamp(170px, 18vw, 220px);
    height: auto;
    animation: loader_appear 1.1s ease-out both;
}


.loader_dots {
    display: flex;
    gap: 10px;
}


.loader_dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ink);
    animation: loader_pulse 1.35s ease-in-out infinite;
}


.loader_dots span:nth-child(2) {
    animation-delay: 0.18s;
}


.loader_dots span:nth-child(3) {
    animation-delay: 0.36s;
}


@keyframes loader_appear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}


@keyframes loader_pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
}


/* FVとConceptで動画を共有。動画だけ固定し、文字と写真はスクロールします。 */
main > .hero_scene {
    position: relative;
    isolation: isolate;
    max-width: none;
}


.hero_bg {
    position: sticky;
    top: 0px;
    z-index: -1;
    height: 100vh;
    height: 100svh;
    margin-bottom: -100vh;
    margin-bottom: -100svh;
    overflow: hidden;
    isolation: isolate;
    background: #8c735e;
    pointer-events: none;
}


.fv {
    position: relative;
    top: auto;
    z-index: 0;
    display: grid;
    place-items: center;
    height: 100vh;
    height: 100svh;
    background: transparent;
}


.fv_ttl {
    position: static;
    margin: 0px;
    padding: 0px 24px;
    text-align: center;
}


.fv_wave {
    display: none;
}


/* 上端からゆっくり濃茶色を重ね、動画を透かしたまま文章を読みやすくします。 */
.hero_scene > .co {
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: 100%;
    padding-bottom: 520px;
    color: #f2ede7;
    background: transparent;
}


.hero_scene > .co::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    background: linear-gradient(to bottom, rgb(45 24 14 / 0%) 0px, rgb(45 24 14 / 52%) 240px, rgb(45 24 14 / 52%) 100%);
    pointer-events: none;
}


.co_en {
    color: #f2ede7;
}


/* Featureからは元のクリーム色。上端のグラデーションとぼかしで動画につなぎます。 */
main > .site_content {
    position: relative;
    z-index: 1;
    display: flow-root;
    isolation: isolate;
    max-width: none;
    padding-top: 240px;
    background: var(--bg);
}


.site_content::before {
    content: "";
    position: absolute;
    right: 0px;
    bottom: 100%;
    left: 0px;
    height: 480px;
    background: linear-gradient(to bottom, rgb(242 237 231 / 0%) 0%, rgb(242 237 231 / 45%) 45%, var(--bg) 100%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 85%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 85%);
    pointer-events: none;
}


.site_content > section {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}


.f {
    position: relative;
    z-index: 1;
}


@media screen and (max-width: 900px) {
    .hero_scene > .co {
        padding-bottom: 400px;
    }


    .hero_scene > .co::before {
        background: linear-gradient(to bottom, rgb(45 24 14 / 0%) 0px, rgb(45 24 14 / 52%) 140px, rgb(45 24 14 / 52%) 100%);
    }


    main > .site_content {
        padding-top: 120px;
    }


    .site_content::before {
        height: 320px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .site_loader {
        transition: none;
    }
    .loader_logo,
    .loader_dots span {
        animation: none;
    }
}
