@charset "UTF-8";

/* ==========================================================================
   PC版の微調整（HTML構造変更に伴うメールボタンの表示担保）
   ========================================================================== */
.header__toggle {
    display: none;
}

.header__mail {
    display: flex;
    align-items: center;
    margin-left: 2.0rem;
}

.header__mail a {
    display: block;
    line-height: 1;
}

.header__mail a img {
    width: auto !important;
    height: 4rem !important;
    display: block;
}


/* ==========================================================================
   スマートフォン用レイアウト（画面幅 768px 以下で適用）
   ========================================================================== */
@media (max-width: 768px) {

    body.menu-open {
        /* position: fixed;
        width: 100%; */
        overflow: hidden;
    }

    .for_sp {
        display: inline;
    }

    section {
        width: 100%;

    }

    .section__inner {
        max-width: 92%;
        padding: 0 4%;
        margin: 0 auto;
    }

    .header__inner {
        height: 5.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__logo img {
        width: 90px;
    }

    .header__right {
        display: flex !important;
        align-items: center;
    }

    .header__mail {
        position: relative;
        z-index: var(--layer-header-inner);
    }

    .header__mail a img {
        width: 32px;
    }

    /* ----------------------------------------------------------------------
       ハンバーガーメニューボタン（三本線）
       ---------------------------------------------------------------------- */
    .header__toggle {
        display: block !important;
        position: relative;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: var(--layer-header-inner);
    }

    .header__toggle span {
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s, top 0.3s;
    }

    .header__toggle span:nth-child(1) {
        top: 0;
    }

    .header__toggle span:nth-child(2) {
        top: 11px;
    }

    .header__toggle span:nth-child(3) {
        top: 22px;
    }

    /* タップされて「×」になった時の動き */
    .header__toggle.is-active span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
    }

    .header__toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .header__toggle.is-active span:nth-child(3) {
        top: 11px;
        transform: rotate(-45deg);
    }

    /* ----------------------------------------------------------------------
       スライドインするナビゲーションメニュー
       ---------------------------------------------------------------------- */
    .header__nav {
        position: fixed;
        top: 0;
        /* right: -100%; */
        right: 0;

        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 8.0rem 2.0rem 4.0rem;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: var(--layer-header);
        overflow-y: auto;
        display: block !important;
        transform: translateX(100%);
        transition: transform .4s;
    }

    /* メニューが開いた時 */
    .header__nav.is-active {
        /* right: 0; */
        transform: translateX(0);
    }

    /* メニュー内のリンク縦並び配置 */
    .header__nav ul {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        height: auto;
        min-height: 70%;
        margin: 0;
        padding: 0;
    }

    .header__nav li {
        width: 100%;
        text-align: center;
        display: block !important;
    }

    /* PC用の区切り文字「/」を非表示にする */
    .header__nav li:not(:last-child)::after {
        display: none !important;
    }

    .header__nav a {
        font-size: 1.8rem;
        font-weight: bold;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }

    /* ==========================================================================
       MV（メインビジュアル）SP版配置
       ========================================================================== */
    #hero {
        margin-top: 5.5rem;
        background-image: url(../img/sp_hero_bg.png);
        width: 100%;
        max-width: 100%;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        height: auto;
        aspect-ratio: 750 / 1200;
        /* height: calc(100dvh - 5.5rem); */
        position: relative;
        overflow: hidden;
    }

    .hero__inner {
        width: 100%;
        height: 100%;
        padding: 0 4%;
        position: relative;
    }

    .hero__content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        text-align: center;

        /* PC版のアニメーション(transform)が位置を破壊するのを防ぐマジック */
        transform: none !important;
        animation: contentFadeUpSP 3s ease-out forwards !important;
        animation-delay: 4s !important;
    }


    @keyframes contentFadeUpSP {
        0% {
            opacity: 0;
            margin-top: 20px;
        }

        100% {
            opacity: 1;
            margin-top: 0;
        }
    }

    .hero__title img {
        display: block !important;
        width: 92%;
        height: auto;
        margin: 13rem auto 0 !important;
    }

    .hero__content .cta {
        margin: 4rem auto 5rem;
        width: 92%;
        height: auto;
    }



    /* ----------------------------------------------------------------------
       血しぶき
       ---------------------------------------------------------------------- */

    /* 血しぶき1枚目 */
    .splatter.mod-1 {
        width: 56%;
        top: 0;
        /* 上からの位置 */
        left: 24%;
        /* 左からの位置 */
    }

    /* 血しぶき2枚目 */
    .splatter.mod-2 {
        top: 19rem;
        left: 0;
        width: 30%;
    }

    /* 血しぶき3枚目 */
    .splatter.mod-3 {
        top: 33rem;
        right: 0;
        width: 80%;
    }

    /* ==========================================================================
   STORY
   ========================================================================== */
    #story {
        background-image: url(../img/sp_story_bg.png);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        position: relative;
        overflow: hidden;
        width: 100%;
        z-index: var(--layer-bottom);
    }

    #story .section__inner {
        padding: 7rem 0;
    }

    #story .section__inner .story__title {
        padding: 2rem 0;
    }

    #story .story__body p {
        margin-bottom: 3rem;
    }

    /* --- STORYセクション（白・黒モヤ） --- */
    .story__steam {
        background-repeat: repeat !important;
    }

    .story__steam--black1 {
        filter: url(#gunya-gunya) brightness(0) blur(30px) opacity(0.15) !important;
        /* 💡移動アニメーションも「alternate（往復）」に統一 */
        animation: spStoryScrollUpRight 20s ease-in-out infinite alternate, steamDistortA 14s ease-in-out infinite alternate !important;
    }

    .story__steam--black2 {
        filter: url(#gunya-gunya) brightness(0.05) blur(10px) opacity(0.35) !important;
        background-size: 220px auto !important;
        animation: spStoryScrollDownLeft 28s ease-in-out infinite alternate, steamDistortB 20s ease-in-out infinite alternate !important;
    }

    .story__steam--white1 {
        filter: url(#gunya-gunya) blur(8px) opacity(0.15) !important;
        animation: spStoryScrollDownRight 18s ease-in-out infinite alternate, steamDistortC 12s ease-in-out infinite alternate !important;
    }

    .story__steam--white2 {
        filter: url(#gunya-gunya) blur(14px) opacity(0.22) !important;
        background-size: 300px auto !important;
        animation: spStoryScrollVertical 24s ease-in-out infinite alternate, steamDistortD 24s ease-in-out infinite alternate !important;
    }


    /* ==========================================================================
       concept
       ========================================================================== */

    #concept .section__inner {
        padding: 7rem 0;
    }

    #concept .section__inner.is-animated {
        opacity: 0;
        animation: textFadeIn 2s ease-out forwards !important;
    }

    .concept__heading {
        text-align: center;
        position: relative;
        z-index: var(--layer-bottom);
    }

    .concept__heading img {
        max-width: 100%;
        height: auto;
    }

    .concept__content {
        position: relative;
        margin-top: 30px;
        display: block;
    }

    .concept__text {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: var(--layer-middle);
    }

    .concept__text p {
        margin-bottom: 1.5em;
        font-size: 1.6rem;
        line-height: 1.8;
        color: var(--color-text);
    }

    .concept__chara {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        display: block !important;
        width: 240px;
        max-width: 80%;
        margin: 4.0rem auto 0 !important;
        z-index: var(--layer-bottom);
    }

    .concept__chara img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* ==========================================================================
   movie
   ========================================================================== */
    #movie .section__inner {
        padding: 7rem 0;
    }

    .movie__frame {
        width: 100%;
    }



    /* ==========================================================================
   detail
   ========================================================================== */
    #detail {
        background-image: url(../img/sp_detail_bg.png);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        position: relative;
        overflow: hidden;
        z-index: var(--layer-bottom);
    }

    #detail .section__inner {
        padding: 7rem 0;
        position: relative;
        z-index: var(--layer-middle);
    }

    #detail .section__inner.is-animated {
        animation: textFadeIn 2s ease-out forwards !important;
    }

    #detail .detail__grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        margin-bottom: 4rem;
        position: relative;
        z-index: var(--layer-top);
    }

    #detail .detail__item {
        width: 50% !important;
        margin: 0 !important;
        text-align: center;
    }

    #detail .detail__item img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .detail__steam {
        background-repeat: repeat !important;
    }

    .detail__steam--green1 {
        filter: url(#gunya-gunya) sepia(1) hue-rotate(110deg) saturate(20) brightness(1.3) blur(30px) opacity(0.15) !important;
        animation: spDetailScrollUpRight 22s ease-in-out infinite alternate, steamDistortA 15s ease-in-out infinite alternate !important;
    }

    .detail__steam--green2 {
        filter: url(#gunya-gunya) sepia(1) hue-rotate(120deg) saturate(15) brightness(0.8) blur(12px) opacity(0.5) !important;
        background-size: 220px auto !important;
        animation: spDetailScrollDownLeft 30s ease-in-out infinite alternate, steamDistortB 22s ease-in-out infinite alternate !important;
    }

    .detail__steam--black {
        filter: url(#gunya-gunya) brightness(0) blur(9px) opacity(0.7) !important;
        animation: spDetailScrollDownRight 17s ease-in-out infinite alternate, steamDistortC 13s ease-in-out infinite alternate !important;
    }

    .detail__steam--white {
        filter: url(#gunya-gunya) brightness(2) blur(15px) opacity(0.08) !important;
        background-size: 320px auto !important;
        animation: spDetailScrollVertical 26s ease-in-out infinite alternate, steamDistortD 26s ease-in-out infinite alternate !important;
    }

    /* --- スマホ専用：往復移動（alternate）用アニメーション軌道定義 --- */
    @keyframes spStoryScrollUpRight {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: 100px -100px;
        }
    }

    @keyframes spStoryScrollDownLeft {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: -90px 90px;
        }
    }

    @keyframes spStoryScrollDownRight {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: 100px 100px;
        }
    }

    @keyframes spStoryScrollVertical {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: 0px -120px;
        }
    }

    @keyframes spDetailScrollUpRight {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: 110px -110px;
        }
    }

    @keyframes spDetailScrollDownLeft {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: -90px 90px;
        }
    }

    @keyframes spDetailScrollDownRight {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: 110px 110px;
        }
    }

    @keyframes spDetailScrollVertical {
        0% {
            background-position: 0px 0px;
        }

        100% {
            background-position: 0px -130px;
        }
    }

    /* ==========================================================================
   attention
   ========================================================================== */

    #attention .section__inner {
        padding: 7rem 0;
        opacity: 0;
    }

    #attention .section__inner.is-animated {
        animation: textFadeIn 2s ease-out forwards;
    }


    /* 注意事項のブロック*/
    .attention__block {
        margin: 0 auto 2rem;
    }

    .attention__block:last-child {
        margin-bottom: 0;
    }

    .attention__block-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    /* ==========================================================================
       access（スマホ版：住所・地図の重なりを今度こそ完全リセット）
       ========================================================================== */
    #access {
        background-image: url(../img/sp_access_bg.png);
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        position: relative;
        height: auto !important;
    }

    #access h2.section__heading {
        margin-block-end: 0;

    }

    #access .section__inner {
        padding: 4rem 0 0;
        height: auto !important;
    }

    #access .section__inner.is-animated {
        animation: textFadeIn 2s ease-out forwards;
    }

    /* 住所と地図を囲む親の枠：縦並びに変更 */
    .access__content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3.0rem !important;
    }

    .access__info {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    /* 💡 地図画像側*/
    .access__map {
        position: relative !important;
        top: 15rem !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    .access__map img {
        width: 100% !important;
        height: auto !important;
        display: block;
        margin: 0 auto;
    }



    /* ==========================================================================
   staff
   ========================================================================== */

    #staff .section__inner {
        padding: 7rem 0;
    }

    #staff .section__inner.is-animated {
        animation: textFadeIn 2s ease-out forwards;
    }

    .staff__heading {
        margin-bottom: 2rem;
    }

    .staff__list {
        display: block;
        text-align: center;
    }

    .staff__list dt {
        margin-bottom: .2rem;
        border-bottom: 1px solid rgba(255, 255, 255, .6);
        padding-bottom: .5rem;
        margin-bottom: .5rem;
    }

    .staff__list dd {
        margin: 0 0 2.5rem;
    }

    .staff__item {
        margin-bottom: 1rem;
    }

    /* ==========================================================================
   opening (オープニング演出)
   ========================================================================== */

    /* 真ん中に配置するロゴ画像の設定 */
    .opening__logo {
        width: 100%;
        max-width: 100%;
    }


}

/*<---最終閉じカッコ---*/