@charset "utf-8";

/* ================================================= 
   0. 変数定義
   ================================================== */
:root {
    --ref-color-yellow: #ffff8a;
    --ref-color-yellow-hover: #ffff00;
    --ref-color-blue: #8989ff;
    --ref-color-purple: #a366ff;
    --ref-color-link: #0080ff;

    --ref-color-black: #000000;
    --ref-color-gray-dark: #333333;
    --ref-color-gray-mid: #444444;
    --ref-color-white: #ffffff;
    --ref-color-off-white: #f0f0f0;
    --ref-color-sky-blue: #99ccff;

    --ref-color-border-star: #ca76f1;
    --ref-color-border-sky: #66a3ff;

    --ref-space-dark: #020111;
    --ref-space-deep: #0a0a2a;
    --ref-space-private-start: #0d0221;
    --ref-space-private-mid: #190a2c;

    /* 背景色 */
    --sys-bg-main: var(--ref-color-white);
    --sys-bg-sub: #f9f9f9;

    /* テキスト色 */
    --sys-text-dark: var(--ref-color-black);
    --sys-text-main: var(--ref-color-gray-dark);
    --sys-text-sub: var(--ref-color-gray-mid);
    --sys-text-light: var(--ref-color-white);
    --sys-text-star-sub: var(--ref-color-off-white);
    --sys-text-link: var(--ref-color-link);

    /* ボタン */
    --sys-btn-bg: var(--ref-color-yellow);
    --sys-btn-bg-hover: var(--ref-color-yellow-hover);
    --sys-btn-text: var(--ref-color-black);

    /* 境界線・アクセント */
    --sys-border-dark: var(--ref-color-gray-dark);
    --sys-border-accent: var(--ref-color-blue);
    --sys-border-star: var(--ref-color-border-star);
    --sys-border-sky: var(--ref-color-border-sky);
    --sys-border-purple: var(--ref-color-purple);
}

/* ================================================= 
   1. ベース・メインレイアウト
   ================================================== */

html {
    scroll-behavior: smooth;
}

.main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.main p,
.main h2,
.main h3,
.main .faq-question,
.main .faq-answer,
.main dt,
.main dd {
    word-break: auto-phrase;
    overflow-wrap: anywhere;
}

.main img {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.main a {
    color: var(--sys-text-link);
    text-decoration: underline;
}

.sp-only {
    display: none;
}

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.header-site-menu.is-active {
    overscroll-behavior: contain;
    overflow-y: auto;
}

/* ================================================= 
   2. タイポグラフィ（見出し・本文・リスト）
   ================================================== */
h1 {
    font-size: 32px;
    color: var(--sys-text-dark);
    line-height: 1;
    background-color: var(--sys-bg-main);
    margin: 0 0 60px 0;
    padding: 0;
    text-align: center;
}

h2 {
    font-size: 27px;
    text-align: center;
    margin: 120px auto 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sys-border-dark);
    display: table;
    text-wrap: balance;
}

.section-intro {
    text-align: center;
    margin-bottom: 40px;
    margin-top: -10px;
}

h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #222;
    text-wrap: balance;
}

h4 {
    font-size: 20px;
    margin: 15px 0 5px;
    color: var(--sys-text-sub);
}

h5 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: normal;
}

p, dd {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

dl {
    margin: 0;
}

dt {
    font-size: 20px;
    margin: 25px 0 5px;
    color: var(--sys-text-sub);
}

dt:first-of-type {
    margin-top: 0;
}

dd {
    margin-left: 0;
    margin-bottom: 0;
}

/* ================================================= 
   3. 各セクションレイアウト
   ================================================== */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 100px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin: 0 0 20px 0;
    text-align: left;
    display: block;
    border-bottom: none;
}

.about-title {
    font-size: 70px;
    margin-bottom: 20px;
    text-align: left;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.open,
.stargazing-event,
.starry-sky,
.private,
.saturn,
.planisphere,
.lemon,
.simulation,
.meteorite,
.astrophotography,
.sugoroku-drawing,
.archive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    align-items: center;
    padding: 50px;
    background-color: var(--sys-bg-main);
    border: 2px solid var(--sys-border-accent);
    margin: 40px 0;
}

.text-box {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.is-reverse .text-box {
    grid-column: 1 / 2;
}

.is-reverse img {
    grid-column: 2 / 3;
}

.holiday {
    margin-top: 50px;
}

/* ================================================= 
   4. コンポーネント
   ================================================== */
.main .c-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 10px;
    background-color: var(--sys-btn-bg);
    width: fit-content;
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    color: var(--sys-btn-text);
    border-radius: 50px;
    margin-top: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main .c-btn:hover {
    background-color: var(--sys-btn-bg-hover);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.c-btn img {
    width: 15px;
    grid-column: auto;
    grid-row: auto;
    margin-right: 12px;
}

.btn-link a .c-btn-inner {
    display: block;
    transition: transform 0.3s ease;
    transform: translateX(0);
    will-change: transform;
}

.btn-link a:hover .c-btn-inner {
    transform: translateX(4px);
}

.faq-container {
    max-width: 1000px;
    margin: 40px auto;
    border-top: 1px solid var(--sys-text-dark);
}

.faq-item {
    border-bottom: 1px solid var(--sys-text-dark);
    width: 100%;
}

.faq-question {
    font-size: 18px;
    padding: 30px 60px 30px 10px;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-weight: normal;
    text-align: left;
    display: block;
    transition: background-color 0.2s;
    outline: none;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:focus-visible {
    outline: 2px solid var(--sys-border-accent);
    outline-offset: 2px;
}

.faq-question:hover {
    background-color: var(--sys-bg-sub);
}

.faq-question::before,
.faq-question::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: var(--sys-text-dark);
}

.faq-question::after {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 10px 30px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
}

#opening-info,
#event-guide,
#exhibition-hall,
#lecture-room,
#faq {
    scroll-margin-top: 120px;
}

/* ================================================= 
   5. 背景・特殊テーマ（リスト項目の色指定を含む）
   ================================================== */

/*星空観察会*/
.stargazing-event {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at center, white 0.5px, transparent 1px),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0.5px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 1, 17, 0.8) 0%, var(--ref-space-deep) 100%);
    box-shadow: inset 0 15px 30px rgba(0, 3, 15, 0.6);
    color: var(--sys-text-light);
    isolation: isolate;
    border: 2px solid var(--sys-border-star);
}

.stargazing-event::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 50px 100px, #ffffff, transparent),
        radial-gradient(3px 3px at 200px 250px, #ffffff, transparent),
        radial-gradient(2px 2px at 350px 50px, #ffffff, transparent),
        radial-gradient(4px 4px at 500px 300px, #f8f8ff, transparent),
        radial-gradient(2px 2px at 100px 450px, #ffffff, transparent),
        radial-gradient(3px 3px at 400px 150px, #fffccc, transparent);
    background-size: 600px 600px;
    opacity: 1;
    z-index: -1;
    animation: stars-twinkle 6s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.stargazing-event h3 {
    color: var(--sys-text-light);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 138, 0.8);
    border-left: 4px solid var(--ref-color-yellow);
    display: inline-block;
    padding-left: 15px;
}

.stargazing-event dt {
    color: var(--ref-color-yellow);
    font-size: 18px;
}

.stargazing-event dd {
    color: var(--sys-text-star-sub);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stargazing-event .c-btn {
    background: linear-gradient(to bottom, #fff5d0, #ffd700);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: #4a3b00;
    border: 1px solid var(--ref-color-yellow-hover);
    font-weight: bold;
}

.stargazing-event>img {
    border: 2px solid rgba(150, 200, 255, 0.8);
    box-shadow: 0 0 25px rgba(100, 180, 255, 0.5);
    border-radius: 6px;
}

/*プラネタリウムの星空を撮影しよう！*/
.starry-sky {
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #010103 0%, #040416 60%, #080824 100%);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 1), 0 0 25px rgba(100, 150, 255, 0.4);
    color: var(--sys-text-light);
    isolation: isolate;
    border: 2px solid var(--sys-border-sky);
    margin-top: 60px;
    margin-bottom: 60px;
}

.starry-sky::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 50px 100px, #ffffff, transparent),
        radial-gradient(3px 3px at 200px 250px, #ffffff, transparent),
        radial-gradient(2px 2px at 350px 50px, #ffffff, transparent),
        radial-gradient(4px 4px at 500px 300px, #f8f8ff, transparent),
        radial-gradient(2px 2px at 100px 450px, #ffffff, transparent),
        radial-gradient(3px 3px at 400px 150px, #fffccc, transparent);
    background-size: 600px 600px;
    opacity: 1;
    z-index: -1;
    animation: stars-twinkle 4s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.starry-sky h3 {
    color: var(--sys-text-light);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(100, 180, 255, 0.7);
    border-bottom: 2px solid rgba(150, 200, 255, 0.6);
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 25px;
}

.starry-sky dt {
    color: var(--ref-color-sky-blue);
    text-shadow: 0 0 5px rgba(0, 100, 255, 0.5);
}

.starry-sky dd {
    color: #f0f8ff;
}

.starry-sky .c-btn {
    background: linear-gradient(to bottom, #fff5d0, #ffd700);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: #4a3b00;
    border: 1px solid var(--ref-color-yellow-hover);
    font-weight: bold;
}

.starry-sky>img {
    border: 2px solid rgba(150, 200, 255, 0.8);
    box-shadow: 0 0 25px rgba(100, 180, 255, 0.5);
    border-radius: 6px;
}


/*プライベートプラネタリウム*/
.private {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ref-space-private-start) 0%, var(--ref-space-private-mid) 50%, var(--ref-space-private-start) 100%);
    color: var(--sys-text-light);
    border: 2px solid var(--sys-border-purple);
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
    isolation: isolate;
}

.private::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 15%, #ffffff, transparent),
        radial-gradient(3px 3px at 30% 40%, #ffffff, transparent),
        radial-gradient(2px 2px at 50% 20%, #ffffff, transparent),
        radial-gradient(4px 4px at 70% 75%, #ffffff, transparent),
        radial-gradient(2px 2px at 85% 45%, #ffffff, transparent),
        radial-gradient(3px 3px at 10% 80%, #ffffff, transparent),
        radial-gradient(2px 2px at 90% 10%, #ffffff, transparent);
    opacity: 1;
    z-index: -1;
    animation: stars-twinkle 8s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.private h3 {
    color: var(--sys-text-light);
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 20px rgba(163, 102, 255, 0.8);
    border-left: 4px solid #cc99ff;
    display: inline-block;
    padding-left: 15px;
    margin-bottom: 25px;
}

.private dt {
    color: #d67fff;
    text-shadow: 0 0 5px rgba(200, 80, 255, 0.5);
}

.private dd {
    color: #f0f8ff;
}

.private .c-btn {
    background: linear-gradient(to bottom, #fff5d0, #ffd700);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    color: #4a3b00;
    border: 1px solid var(--ref-color-yellow-hover);
    font-weight: bold;
}

.private>img {
    border: 2px solid rgba(150, 200, 255, 0.8);
    box-shadow: 0 0 25px rgba(100, 180, 255, 0.5);
    border-radius: 6px;
}


/* ================================================= 
   6. あしらい用（擬似要素・アニメーション）
   ================================================== */
.stargazing-event, .saturn, .meteorite {
    position: relative;
    isolation: isolate;
}

/*星空観察会*/
.stargazing-event::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    translate: -20px 60px;
    width: 140px;
    aspect-ratio: 1 / 1;
    background: url("../images/about/about-cat-star.png") no-repeat center / contain;
    z-index: 10;
    pointer-events: none;
}

/*土星観察会*/
.saturn::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    translate: 40px -40px;
    width: 140px;
    aspect-ratio: 1 / 1;
    background: url("../images/about/about-saturn.png") no-repeat center / contain;
    rotate: 15deg;
    z-index: 10;
    pointer-events: none;
    animation: saturn-float 8s ease-in-out infinite;
    will-change: transform;
}

/*隕石*/
.meteorite::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    translate: -30px -30px;
    width: 100px;
    aspect-ratio: 1 / 1;
    background: url("../images/about/about-meteorite.png") no-repeat center / contain;
    z-index: 10;
    pointer-events: none;
    animation: meteorite-shake 4s linear infinite;
    will-change: transform;
}

/*土星観察会アニメーション*/
@keyframes saturn-float {
    0%, 100% {
        translate: 40px -40px;
    }

    50% {
        translate: 40px -55px;
    }
}

/*隕石アニメーション*/
@keyframes meteorite-shake {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-2px, 2px) rotate(-2deg);
    }

    75% {
        transform: translate(2px, -2px) rotate(2deg);
    }
}

/*星空観察会、プラネタリウムの星空を撮影しよう！、プライベートプラネタリウムの背景アニメーション*/
@keyframes stars-twinkle {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}


/* ================================================= 
   7. レスポンシブ（スマホ表示：850px以下）
   ================================================== */
@media (max-width: 850px) {
    .main {
        padding: 40px 15px;
        overflow: hidden;
    }

    .main img {
        grid-column: 1 / 2;
        grid-row: auto;
        order: 1;
        width: 100%;
        margin-bottom: 20px;
    }

    .text-box {
        margin: 10px;
        grid-row: auto;
        order: 2;
    }

    h2 {
        font-size: 22px;
        margin: 80px 0 20px;
        width: 90%;
    }

    .section-intro {
        margin-bottom: 30px;
    }

    h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    dt {
        font-size: 18px;
        margin-top: 20px;
    }

    .about {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .about-text p {
        font-size: 14px;
    }

    .about-title {
        font-size: 48px;
        margin-bottom: 20px;
        line-height: 1;
    }

    .about-catchphrase {
        font-size: 22px;
        text-align: left;
        margin: 20px 0;
        border: none;
        padding: 0;
        display: block;
        line-height: 1.4;
    }

    .main .c-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 24px;
        border-radius: 50px;
        text-decoration: none;
    }

    .btn-link a .c-btn-inner {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .c-btn img {
        width: 16px;
        height: auto;
        margin: 0;
        grid-column: auto !important;
        grid-row: auto !important;
        order: -1 !important;
        aspect-ratio: auto;
        border: none;
        box-shadow: none;
    }

    .btn-link a:active .c-btn-inner {
        transform: translateX(4px);
    }

    .btn-link a:active .c-btn-inner img {
        transform: translateX(5px);
    }

    .open, .stargazing-event, .starry-sky, .private, .saturn,
    .planisphere, .lemon, .simulation, .meteorite,
    .astrophotography, .sugoroku-drawing, .archive {
        display: grid;
        grid-template-columns: 1fr;
        padding: 30px 20px;
        margin: 30px 0;
    }

    .text-box, .main img, .is-reverse .text-box, .is-reverse img {
        grid-column: 1 / 2;
    }

    .stargazing-event .c-btn,
    .starry-sky .c-btn,
    .private .c-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 40px 20px 5px;
    }

    .sp-only {
        display: block;
    }

    .saturn::after {
        width: 90px;
        translate: 30px -30px;
        rotate: 10deg;
    }

    @keyframes saturn-float {
        0%, 100% {
            translate: 30px -30px;
        }

        50% {
            translate: 30px -45px;
        }
    }

    .meteorite::after {
        width: 60px;
        translate: -15px -30px;
    }

    .stargazing-event::after {
        width: 100px;
        translate: -10px 20px;
        right: 5px;
    }

    .starry-sky {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .starry-sky h3 {
        display: block;
        text-align: center;
        border-bottom: 2px solid rgba(150, 200, 255, 0.6);
        padding-bottom: 10px;
    }

    .private h3 {
        display: block;
        padding-left: 10px;
        border-left: 4px solid #cc99ff;
    }
}

/* ================================================= 
   8. スクロールアニメーション用スタイル
   ================================================== */
.js-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.all-year .js-reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.all-year .js-reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.latest-events .js-reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.latest-events .js-reveal:nth-child(3) {
    transition-delay: 0.2s;
}

/* ================================================= 
   9. フローティングナビゲーション
   ================================================== */
/* .c-floating-nav {
    display: none;
}

@media (max-width: 850px) {
    .c-floating-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        padding: 10px;
        gap: 10px;
        box-sizing: border-box;
    }

    .floating-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        font-size: 12px;
        transition: opacity 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    a.floating-nav-item.tel {
        background-color: var(--ref-color-blue);
        color: var(--ref-color-white);
    }

    a.floating-nav-item.info {
        background-color: var(--sys-btn-bg);
        color: var(--ref-color-black);
    }


    .floating-nav-item {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 30px;
        transition: transform 0.2s;
    }

    .floating-nav-item span:not(.material-symbols-outlined) {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.05em;
    }

    .floating-nav-item .material-symbols-outlined {
        font-size: 20px;
    }

    a.floating-nav-item.tel {
        background-color: var(--ref-color-blue);
        color: #fff;
    }

    a.floating-nav-item.info {
        background-color: var(--ref-color-yellow);
        color: var(--ref-color-black);
    }

    .floating-nav-item .material-symbols-outlined {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .floating-nav-item:active {
        opacity: 0.8;
    }
} */

.c-floating-nav {
    display: none;
}

@media (max-width: 850px) {
    .c-floating-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        gap: 10px;
        box-sizing: border-box;
    }

    .floating-nav-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 54px;
        border-radius: 8px;
        text-decoration: none;
        transition: transform 0.1s ease, opacity 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    a.floating-nav-item.tel {
        background-color: #0066cc;
        color: #ffffff;
    }

    a.floating-nav-item.info {
        background-color: #ffcc00;
        color: #333333;
    }

    .floating-nav-item .material-symbols-outlined {
        font-size: 22px;
        font-variation-settings: 'wght'600;
    }

    .floating-nav-item .label {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.1em;
        line-height: 1;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
    }

    .floating-nav-item:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    .floating-nav-item.tel .material-symbols-outlined {
        animation: phone-pulse 4s infinite;
    }
}

@keyframes phone-pulse {
    0%, 80%, 100% {
        transform: scale(1);
    }

    85% {
        transform: scale(1.1) rotate(-10deg);
    }

    90% {
        transform: scale(1.1) rotate(10deg);
    }

    95% {
        transform: scale(1.1) rotate(-10deg);
    }
}

/* ================================================= 
   PCサブメニュー（ドロップダウンメニュー）制御
   ================================================== */
/* @media (min-width: 851px) {

    .site-menu-list>li {
        position: relative;
    }

    .site-menu-list li ul {
        position: absolute;
        top: 100%;
        left: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        background-color: #fff;
        min-width: 220px;
        padding: 10px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
        transition: all 0.3s ease;
        transform: translateY(10px);
    }

    .site-menu-list li:hover ul,
    .site-menu-list li:focus-within ul {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-menu-list li ul li {
        width: 100%;
        display: block;
    }

    .site-menu-list li ul li a {
        display: block;
        padding: 10px 20px;
        font-size: 14px;
        text-decoration: none;
        color: var(--sys-text-main);
        text-align: left;
        transition: background-color 0.2s;
    }

    .site-menu-list li ul li a:hover,
    .site-menu-list li ul li a:focus {
        background-color: #f0f0ff;
        color: var(--ref-color-link);
    }
} */

/* ================================================= 
   10. ユーティリティクラス（定義順を下げることで優先）
   ================================================== */
.u-visibility-yellow {
    color: var(--ref-color-yellow);
    font-weight: bold;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.2),
        -1px -1px 0px rgba(0, 0, 0, 0.1),
        0 0 4px rgba(0, 0, 0, 0.1);
}