@charset "UTF-8";

/**
 * ==========================================================================
 * Find oneself - 100 Questionsページスタイル
 * ==========================================================================
 * ファイル目的：100の質問ページ（questions.html）のデザイン制御
 * 
 * 含む要素：
 *  - 円形メニュー
 *  - コンテンツブロック（朝のルーティン、デスク、等）
 *  - ニューモフィズムアコーディオン
 *  - 背景アニメーション
 * 
 * 依存ファイル：reset.css
 * 修正時：このファイルの変更はquestions.htmlのみに影響します
 * ==========================================================================
 */

/* ==========================================================================
   1. 基本設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PT Sans", 'Noto Serif JP', Arial, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.2;
}

h3 {
    font-family: "PT Sans", "Hina Mincho", "Noto Serif JP", Arial, sans-serif !important;
}

/* ==========================================================================
   2. メインビジュアル ＆ 背景演出
   ========================================================================== */
.bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.bg:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F8F8;
    transform: translate(0, 100%);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .6s;
    content: '';
    z-index: 1;
}

.bg.-visible:before {
    transform: translate(0, 0);
}

/* ==========================================================================
   3. ヘッダー・ロゴ・フッター（共通）
   ========================================================================== */
.site-header {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.site-header-page {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 10;
}

.site-logo {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #111111;
    text-shadow: 3px -3px 0px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}

.bg.-visible .site-logo {
    opacity: 1;
}

.site-footer {
    position: fixed;
    bottom: 20px;
    left: 40px;
    font-size: 0.75rem;
    color: #999999;
    font-weight: 300;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}

.bg.-visible .site-footer {
    opacity: 1;
}

/* ==========================================================================
   4. ナビゲーション（レイアウト）
   ========================================================================== */





.bg.-visible {
    opacity: 1;
    transform: translateY(0);
}



.portfolio-trigger {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
}

.bg.-visible .portfolio-trigger {
    opacity: 1;
    transform: translateY(0);
}

.pf-logo-img {
    display: block;
    width: 120px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(4px -4px 0px rgba(0, 0, 0, 0.15));
}

.portfolio-trigger a:hover .pf-logo-img {
    transform: translate(3px, -3px);
    filter: drop-shadow(6px -6px 0px rgba(0, 0, 0, 0.25));
}

/* ==========================================================================
   5. メインコンテンツ（誌面風レイアウト設定）
   ========================================================================== */
.site-header-page,
.page-container,
.site-footer {
    z-index: 3 !important;
}

.page-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 140px 22% 80px 22%;
    color: #484141;
}

.page-heading-area {
    margin-bottom: 40px;
}

.page-main-title {
    font-family: "PT Sans", sans-serif;
    font-size: 5.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 4px -4px 0px rgba(0, 0, 0, 0.12) !important;
    line-height: 1;
    margin-bottom: 20px;
}

.heading-divider {
    border: none;
    border-top: 1px solid #999999;
    width: 100%;
}

.page-intro-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.content-block {
    margin-bottom: 80px;
}

.block-title {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.block-body {
    display: block !important;
}

.block-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 25px !important;
}

.block-img-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.block-text-wrap {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 1.9;
}

.block-text-wrap p {
    margin-bottom: 1.5em;
}

.genres-list {
    font-family: "PT Sans", sans-serif;
    font-size: 0.9rem;
    color: #555555;
    letter-spacing: 0.05em;
    margin-top: 20px;
}

.back-home-wrap {
    margin-top: 60px;
    text-align: center;
}

.back-home-btn {
    display: inline-block;
    color: #111111;
    text-decoration: none;
    font-family: "PT Sans", sans-serif;
    font-size: 0.95rem;
    border-bottom: 1px solid #111111;
    padding-bottom: 4px;
    transition: opacity 0.3s;
}

.back-home-btn:hover {
    opacity: 0.5;
}



/* ==========================================================================
   7. レスポンシブ（タブレット・スマホ対応）
   ========================================================================== */
@media screen and (max-width: 768px) {

    .block-title {
        /* さらに小さくして、1行または綺麗なバランスに収めます */
        font-size: 1.35rem;

        /* 窮屈さをなくすために行間を少しゆったり広げます */
        line-height: 1.4;

        /* タイトルの文字が太すぎて圧迫感がある場合は少し補正（お好みで） */
        font-weight: bold;

        /* 画像との間の隙間を適切に保ちます */
        margin-bottom: 12px;
    }

    .site-header {
        top: 30px;
        right: 20px;
        left: auto;
    }

    .site-logo {
        font-size: 0.9rem;
    }




    .portfolio-trigger {
        bottom: auto;
        top: 25px;
        left: 20px;
        right: auto;
        padding: 0;
    }

    .pf-logo-img {
        width: 80px;
        filter: drop-shadow(2px -2px 0px rgba(0, 0, 0, 0.15));
    }

    @keyframes tapHintLine {

        0%,
        100% {
            transform: scaleX(0.3);
            opacity: 0.3;
        }

        50% {
            transform: scaleX(1);
            opacity: 1;
        }
    }

    .page-container {
        padding: 100px 6% 60px 6% !important;
    }

    .site-header-page {
        top: 30px;
        right: 20px;
    }

    .page-main-title {
        font-size: 3.5rem;
    }

    .page-intro-text {
        font-size: 0.95rem;
        margin-bottom: 50px;
    }

    .block-body {
        flex-direction: column;
        gap: 20px;
    }

    .block-img-wrap {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

.block-img-wrap img {
    height: auto;
    object-fit: contain;
}

.block-text-wrap {
    font-size: 0.95rem;
}

.site-footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0;
}

.msg-line {
    font-size: 1rem;
    padding: 0 20px;
}


/* ==========================================================================8. 特定ブロックのPC用レイアウト設定（拡張クラス対応）========================================================================== */
@media screen and (min-width: 769px) {
    .content-block.-fixed-height .block-img-wrap {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 450px !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
        margin-bottom: 25px !important;
    }

    .content-block .block-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
}

/* ==========================================================================9. 演出パーツ（マウスストーカー）========================================================================== /.stalker {position: fixed;top: 0;left: 0;width: 30px;height: 30px;background-color: #A8CD65;border-radius: 50%;opacity: 0;pointer-events: none; /  サイトのクリック・テキスト選択を絶対に邪魔しない設定 /z-index: 9999 !important;mix-blend-mode: multiply; / 背景とブレンドさせてプロっぽい演出に */
.stalker {
    width: 30px;
    height: 30px;
    background-color: #A8CD65;
    /* 水玉の色（お好みで変更可能です） */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    /* 画面の一番手前に表示 */

    /*  重要：マウスストーカー自体がリンクや文字の操作を邪魔しない設定 */
    pointer-events: none;

    /* 初期状態は透明（マウスが動いたら表示） */
    opacity: 0;

    /* 円の中心をマウスカーソルの先端にぴったり合わせる */
    transform: translate(-50%, -50%);

    /* マウスの動きに遅れてついてくる滑らかなアニメーション設定 */
    transition: transform 0.15s ease-out, opacity 0.3s ease;
}

/* 📱 スマホ環境（タッチデバイス）ではカーソルがないため非表示にする */
@media screen and (max-width: 768px) {
    .stalker {
        display: none !important;
    }
}

/* ==========================================================================
    マグネティック（吸い付き）発動時のストーカースタイル
   ========================================================================== */

/* ボタンに吸い付いた瞬間に、JSによってこのクラス「-magnetic」が自動付与されます */
.stalker.-magnetic {
    width: 60px;
    /* 丸のサイズを2倍に大きく */
    height: 60px;
    /* 丸のサイズを2倍に大きく */
    background-color: transparent;
    /* 背景を透明にする */
    border: 1px solid #A8CD65;
    /* 代わりに綺麗なグリーンの輪っかに変更 */

    /* 吸い付いた感を強調するため、少しだけ「じわっと」広がるアニメーションを適用 */
    transition:
        width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease,
        border 0.3s ease,
        transform 0.1s ease-out;
    /* 吸い付き中のズレを減らすため移動速度を少しアップ */
}

/* 背景・四角形の設定（淡いグリーン #A8CD65） */
/* 背景エリア全体の固定 */
/* 1. トップページ用の雪のアニメーションがこのページで表示されるのを100%強制ブロックします */
.background_01 canvas {
    display: none !important;
}

/* 2. 背景エリア全体の固定（あなたの理想の淡い白ベース #F8F8F8） */
.background_01 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F8F8;
    z-index: 1;
    overflow: hidden;
}

/* 3. 10個の四角形を包む透明な箱 */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 2;
    /* 雪を隠した背景のさらに手前に表示 */
}

/* 4. 10個の四角形共通の基本スタイル */
.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    /* あなたのサイトカラー（淡いグリーン #A8CD65）の不透明度 10% */
    background: none !important;
    animation: animateBox 25s linear infinite;
    bottom: -150px;
    /* 画面の下側（見えない場所）からスタート */
    /* 【新設】四角形の代わりに「100」の文字を美しく見せるデザイン */
    font-family: "PT Sans", sans-serif;
    font-weight: 700;
    font-size: 5rem;
    /* 基本サイズを5rem（大きく）にします！子要素ごとにさらに巨大化します */
    color: rgba(168, 205, 101, 0.25) !important;
    /* あなたのサイトカラー（淡いグリーン）の不透明度25% */
    text-shadow: 2px -2px 0px rgba(0, 0, 0, 0.02) !important;
    /* 上品な右上影 */

    /* 以下の湧き上がるアニメーション設定は、元の最高な状態のまま一切いじりません */
    animation: animateBox 25s linear infinite;
}

.circles li:nth-child(1) {
    left: 25%;
    font-size: 80px !important;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    font-size: 20px !important;

    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    font-size: 20px !important;

    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    font-size: 60px !important;

    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    font-size: 20px !important;

    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    font-size: 110px !important;

    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    font-size: 150px !important;

    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    font-size: 25px !important;

    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    font-size: 15px !important;

    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    font-size: 150px !important;

    animation-delay: 0s;
    animation-duration: 11s;
}

/* 6. 下から湧き上がりながら「四角から丸へ」と滑らかに変形・回転するアニメーション定義 */
@keyframes animateBox {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 4px;
        /* 最初は少し角の丸い四角 */
    }

    100% {
        transform: translateY(-1300px) rotate(720deg);
        /* 画面の上へ突き抜ける */
        opacity: 0;
        border-radius: 50%;
        /* 昇りきる頃には完全な「正円」に変化 */
    }
}

/* ==========================================================================
   完全解決：重ね順を最前面に引き上げ、ニューモフィズムUIを確実に表示する
   ========================================================================== */

/* 1. アコーディオンを包むセクション自体を、背景（z-index:1）の手前に引っ張り出します */
.content-block {
    position: relative;
    z-index: 3 !important;
    /* 背景より手前、ストーカー（9999）より後ろの安全圏 */
}

.neumorphic-container {
    margin: 30px 0;
    max-width: 100%;
    background: #F8F8F8 !important;
    /* 確実に背景色と一致させる */

    border-radius: 20px;
    position: relative;
    z-index: 4;
}

.neumorphic-container .neumorphic-btn-box button {
    width: 100%;
    padding: 18px 24px;
    background: #F8F8F8 !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px;
    font-weight: 600;
    color: #484141 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    /* 白っぽい背景の上でも、きれいな3Dの凹凸が肉眼で確実に浮き出て見える強さに補正 */
    box-shadow: 6px 6px 14px rgba(163, 177, 198, 0.6), -6px -6px 14px rgba(255, 255, 255, 1) !important;
    position: relative;
    display: block;
    font-family: "PT Sans", sans-serif;
}

/* 右側の矢印アイコン（>） */
.neumorphic-container .neumorphic-btn-box button::after {
    content: '';
    position: absolute;
    right: 24px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #A8CD65 !important;
    border-bottom: 2px solid #A8CD65 !important;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
}

/* 開いた時に矢印を上に向ける */
.neumorphic-container.-open .neumorphic-btn-box button::after {
    transform: translateY(-20%) rotate(-135deg);
}

/* ボタンを押した瞬間に「凹む」リアルな触感アニメーション */
.neumorphic-container .neumorphic-btn-box button:active {
    box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.6), inset -4px -4px 8px rgba(255, 255, 255, 1) !important;
}

/* 中身を包む箱 */
.neumorphic-container .neumorphic-more {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #F8F8F8 !important;
    border-radius: 12px;
    margin-top: 0;
    opacity: 0;
}

/* 開いた状態のスタイル */
.neumorphic-container .neumorphic-more.appear {
    max-height: 4000px !important;
    margin-top: 16px;
    opacity: 1 !important;
    box-shadow: inset 4px 4px 8px rgba(163, 177, 198, 0.4), inset -4px -4px 8px rgba(255, 255, 255, 0.8) !important;
}

.neumorphic-container .neumorphic-more ul {
    list-style: none !important;
    padding: 20px 24px !important;
    margin: 0 !important;
}

.neumorphic-container .neumorphic-more li {
    padding: 12px 0 !important;
    color: #484141 !important;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2) !important;
}

.neumorphic-container .neumorphic-more li:last-child {
    border-bottom: none !important;
}

.neumorphic-container .neumorphic-more li p.accordion-text {
    padding-top: 16px !important;
    margin: 0 !important;
}

.neumorphic-container .neumorphic-more li p.accordion-text,
.neumorphic-container .neumorphic-more li p {
    padding-top: 16px !important;
    margin: 0 !important;

    /* 大元の keep-all を完全に上書きして wbr を有効化する */
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

/* ⬇️ ここ！今あるCSSの記述の「すぐ真下（一番最後）」にそのまま貼り付けます */
/* ==========================================================================
   💻 最終解決：大元の keep-all を完全にねじ伏せて PC の wbr を有効化
   ========================================================================== */

/* 1. 【PC画面時】大元の p タグ指定に負けないよう、3重の指定で keep-all の呪縛を解く */
.neumorphic-container .neumorphic-more li p,
.neumorphic-container .neumorphic-more li p.accordion-text,
p.accordion-text {
    word-break: normal !important;
    line-break: anywhere !important;
    overflow-wrap: anywhere !important;
}

/* 2. 【スマホ画面（768px以下）】先ほどVS Codeの置換で作ったスマホ用の改行ルールも安全に維持する */
@media screen and (max-width: 768px) {

    .neumorphic-container .neumorphic-more br,
    .neumorphic-container .neumorphic-more .pc-none,
    br.sp-br,
    .pc-none {
        display: inline !important;
    }

    .neumorphic-container .neumorphic-more li p,
    .neumorphic-container .neumorphic-more li p.accordion-text {
        word-break: break-all !important;
        overflow-wrap: break-word !important;
    }
}

.menu {
    /* 親要素がスクロールしても、画面の左上にずっと固定させます */
    position: fixed !important;
    top: 50px !important;
    left: 50px !important;
    width: 100px !important;
    height: 100px !important;
    user-select: none !important;

    /* コンテンツ（文字や画像）よりも確実に手前に引っ張り上げる */
    z-index: 9999999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* メインボタン（Menu）の見た目 */
.main.button {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #484141 !important;
    text-align: center !important;

    /*  メインボタン（1行）用の高さ設定 */
    line-height: 100px !important;
    font-size: 25px !important;
    font-family: sans-serif !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10 !important;

    display: block !important;
    animation: pulseHeart 10.0s infinite ease-in-out !important;

}

/* 子ボタンの共通デザイン */
.button:not(.main) {
    position: absolute;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    mix-blend-mode: multiply;
    text-align: center;
    color: #fff;

    /* 100px固定だった高さを解除し、2行の上下左右中央揃えを強制する設定 */
    line-height: 1.2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    /* 文字が丸のフチにぶつからないための内側余白 */

    font-family: Alegreya Sans, sans-serif !important;
    font-size: 16px !important;

    font-weight: bold !important;
    text-decoration: none !important;

    transition: transform 0.75s cubic-bezier(0.39, 1.52, 0.46, 0.92), opacity 0.3s;
    will-change: transform, opacity;
}

/* 閉じている時は判定を消して完全に隠す */
.menu.closed .button:not(.main) {
    pointer-events: none !important;
    opacity: 0 !important;
}

/* 開いている時だけ子ボタンをクリック可能にする */
.menu:not(.closed) .button {
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* ――― 各ボタンの配置座標 ――― */
.home {
    background-color: #1ba5cd !important;
    top: 0px;
    left: 225px;
    transition-duration: 0.525s;
}

.goodat {
    background-color: #1ab254 !important;
    top: 86.10368px;
    left: 207.873px;
    transition-duration: 0.675s;
}

.like {
    background-color: #fec72e !important;
    top: 159.09908px;
    left: 159.09908px;
    transition-duration: 0.825s;
}

.weakpoint {
    background-color: #fa7d39 !important;
    top: 207.873px;
    left: 86.10368px;
    transition-duration: 0.975s;
}

.questions {
    background-color: #ee5656 !important;
    top: 225px;
    left: 0px;
    transition-duration: 1.125s;
}

/* 閉じている時に中央へ引き戻す命令 */
.menu.closed .home {
    transform: translate3d(-225px, 0px, 0) rotate(-180deg);
}

.menu.closed .goodat {
    transform: translate3d(-207.873px, -86.10368px, 0) rotate(-180deg);
}

.menu.closed .like {
    transform: translate3d(-159.09908px, -159.09908px, 0) rotate(-180deg);
}

.menu.closed .weakpoint {
    transform: translate3d(-86.10368px, -207.873px, 0) rotate(-180deg);
}

.menu.closed .questions {
    transform: translate3d(0px, -225px, 0) rotate(-180deg);
}

/* ==========================================================================
   スマホ専用：サイズ80%縮小 ＆ 左上寄せ設定
   ========================================================================== */
@media screen and (max-width: 767px) {
    .menu {
        top: 15px !important;
        left: 15px !important;
        width: 80px !important;
        height: 80px !important;
    }

    /* スマホの「80pxの丸」の中に2行の日本語・英語が完璧に収まるように調整 */
    .menu .button:not(.main) {
        width: 80px !important;
        height: 80px !important;
        font-size: 16px !important;
        /* 💡 小さな丸専用に文字を細かく調整 */
        line-height: 1.1 !important;
        padding: 5px !important;
    }

    /* スマホ用のメインボタン（Menu）の調整 */
    .menu .main.button {
        width: 80px !important;
        height: 80px !important;
        font-size: 16px !important;
        line-height: 80px !important;
        animation: pulseHeartMobile 10.0s infinite ease-in-out !important;

    }

    /* スマホ用：閉じている時の引き戻し */
    .menu.closed .home {
        transform: translate3d(-225px, 0px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .goodat {
        transform: translate3d(-207.873px, -86.10368px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .like {
        transform: translate3d(-159.09908px, -159.09908px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .weakpoint {
        transform: translate3d(-86.10368px, -207.873px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .questions {
        transform: translate3d(0px, -225px, 0) scale(0.8) rotate(-180deg);
    }

    /* スマホ用：開いたときも80%のままで固定する設定 */
    .menu:not(.closed) .button:not(.main) {
        transform: scale(0.8);
    }
}

/* MENUボタンがどくどく動くための設定（CSSの一番下に追加してください） */
@keyframes pulseHeart {
    0% {
        transform: scale(1);
    }

    1.5% {
        transform: scale(1.08);
    }

    /* どくんっ（一瞬膨らむ） */
    3.0% {
        transform: scale(0.96);
    }

    /* キュッと縮む */
    4.5% {
        transform: scale(1.04);
    }

    /* どく（小さく追従） */
    6.0% {
        transform: scale(1);
    }

    /* 元に戻る */
    100% {
        transform: scale(1);
    }

    /* 静止時間 */
}

@keyframes pulseHeartMobile {
    0% {
        transform: scale(1);
    }

    1.5% {
        transform: scale(1.08);
    }

    3.0% {
        transform: scale(0.96);
    }

    4.5% {
        transform: scale(1.04);
    }

    6.0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* 1. PC画面：スマホ用の改行タグと、改行後のスペースを「両方まとめて非表示」にする */
.sp-br,
.pc-none {
    display: none !important;
}

/* 2. スマホ画面（768px以下）：スマホの時だけ改行とスペースを同時に大復活させる */
@media screen and (max-width: 768px) {
    .sp-br {
        display: inline !important;
    }

    .pc-none {
        display: inline !important;
        /* 全角スペースをスマホ時だけ表示 */
    }
}

/* ==========================================================================
   滞在ページ（現在地）のボタンを日本語にする設定【修正版】
   ========================================================================== */

/* 1. 通常時はすべての日本語（spanタグ）を画面から完全に隠しておく */
.menu .button span {
    display: none !important;
}

/* 2. 【修正】current（現在地）がついているボタン「だけ」、元の英語テキストを消す */
.menu .button.current {
    font-size: 0 !important;
}

/* 3. 【修正】current（現在地）がついているボタンの中の日本語（spanタグ）「だけ」を復活させる */
.menu .button.current span {
    display: flex !important;
    /* 中央揃えを維持するためにflexに変更 */
    font-size: 16px !important;
    /* PC用の日本語サイズ */
    font-family: sans-serif !important;
    /* 日本語用ゴシック体 */
    font-weight: bold !important;
}

/* 4. スマホ画面（横幅767px以下）のときの日本語サイズ微調整 */
@media screen and (max-width: 767px) {
    .menu .button.current span {
        font-size: 14px !important;
        /* スマホの丸に収まるよう少し小さく */
    }
}