@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 {
        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%;
        /* 初期状態は画面の右側に隠しておく */
        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;
    }

    /* メニューが開いた時 */
    .header__nav.is-active {
        right: 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 / 930;
        position: relative;
        overflow: hidden;
    }

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

    #hero .section__inner {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .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: 13.0rem auto 0 !important;
    }


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

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

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

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

    /* ==========================================================================
   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::before {
        z-index: var(--layer-middle);
        background-repeat: repeat-y;
        opacity: 0.6;
    }

    #story::after {
        z-index: var(--layer-middle);
        background-repeat: repeat-x;
        opacity: 0.8;
        background-size: cover;
    }


    /* ==========================================================================
       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;
    }


    /* ==========================================================================
   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;
    }

    /* 1枚目のモヤ*/
    #detail::before {
        z-index: var(--layer-bottom);
        background-repeat: repeat-y;
        opacity: 0.8;
    }

    /* 2枚目のモヤ */
    #detail::after {
        z-index: var(--layer-bottom);
        background-repeat: repeat-y;
        opacity: 0.8;
    }

    /* ==========================================================================
   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%;
    }


}

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