@charset "UTF-8";
/* ==========================================================================
   news-addon.css — トップページ改修（NEWS / 目次ピル / 未読ドット）
   style.css の「後に」読み込んでください。
   既存トークン：
     クリーム #f4f1eb ／ サブカード #fcfbfa ／ 罫線 #eae7e1
     紫グラデ linear-gradient(135deg,#1e1b4b,#311042)
     黄 #ffff00 ／ 金 #a8842e ／ 墨 #3c3518 ／ 淡 #8a857c
   ========================================================================== */

:root {
    /* 今回だけ新しく足す色。未読の赤ドット専用。 */
    --news-alert: #d9453c;
}

/* ==========================================================================
   1. NEWS セクション（.section の中に入る想定）
   ========================================================================== */
/* 線ではなく面で区切る。お知らせ一覧ページのカードと同じ見え方に揃えます。 */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.news-item {
    background-color: #fffdfa;
    border: 0px solid rgba(60, 53, 24, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.news-link {
    display: block;
    padding: 16px 16px 15px;
    text-decoration: none;
    color: #3c3518;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-link:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 6px;
}

/* 日付は NOW! バーの日付と同じ扱い */
.news-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #a8842e;
}

/* カテゴリ：通常は線だけの控えめな表示 */
.news-cat {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1;
    padding: 4px 8px;
    border: 1px solid rgba(60, 53, 24, 0.18);
    border-radius: 3px;
    color: #8a857c;
    white-space: nowrap;
}

/* 「重要」だけ NOW! バッジと同じ紫グラデ＋黄文字 */
.news-cat[data-cat="重要"] {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    border-color: transparent;
    color: #ffff00;
    font-weight: 700;
}

/* NEW バッジ：蛍光マーカー的に黄を「面」で使う */
.news-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 3px;
    background-color: #ffff00;
    color: #311042;
    white-space: nowrap;
}

.news-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: #3c3518;
}

.news-body {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
    color: #8a857c;
}

.news-empty {
    padding: 20px 4px;
    font-size: 12.5px;
    color: #8a857c;
    text-align: center;
}

/* 一覧へのリンク */
.news-more-wrap {
    margin-top: 22px;
    text-align: center;
}

.news-more {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #8a857c;
    text-decoration: none;
    border-bottom: 1px solid rgba(60, 53, 24, 0.2);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.news-more:hover {
    color: #311042;
    border-color: #311042;
}

/* ==========================================================================
   2. 未読ドット
   出す場所は「MENUボタン」と「目次内のお知らせ行」の2箇所だけ。
   ピルの左側は現在地を示す役割なので、そこに未読の意味は重ねません。
   ========================================================================== */
.news-dot {
    display: none;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--news-alert);
}

.is-news-unread .news-dot {
    display: block;
}

/* MENUボタンの右肩に添える */
.gnav-toggle {
    position: relative;
}

.gnav-toggle .news-dot {
    position: absolute;
    top: 7px;
    right: 7px;
}

.site-header.is-scrolled .gnav-toggle .news-dot {
    top: 5px;
    right: 5px;
}

/* 目次リスト内では行の右端に寄せる */
.toc-list .news-dot {
    margin-left: auto;
}

/* ==========================================================================
   2-b. グローバルヘッダーのトップページ向け調整
   header.css の後に読み込むこと。
   ========================================================================== */

/* カード内にあった旧ロゴ行は、グローバルヘッダーと役割が重なるので隠す
   （戻したい場合はこの1ブロックを削除してください） */
.container > header.fv-animate {
    display: none;
}

/* スマホ：トップだけ吊り下げ型の紫ロゴを出さず、横長ロゴを最初から見せる。
   すぐ下にキービジュアルがあり、ロゴが二重になるため。
   （PCでは header.css 側ですでに横長ロゴのみになっています） */
@media (max-width: 480px) {
    .site-header.is-home .site-header-logo-img.is-full,
    .site-header.is-home.is-scrolled .site-header-logo-img.is-full {
        display: none;
    }

    .site-header.is-home .site-header-logo-img.is-compact,
    .site-header.is-home.is-scrolled .site-header-logo-img.is-compact {
        opacity: 1;
        visibility: visible;
    }
}

/* 目次シートを開いている間は、グローバルヘッダーも引っ込める */
body.toc-open .site-header {
    transform: translateY(-101%);
}

/* ==========================================================================
   3. 追従ピル（目次 ＋ JOIN!）
   既存の .floating-entry-btn（中央下・fixed）の中に入れる。
   表示/非表示は main.js が #floatingEntryLink に付ける .show を利用。
   ========================================================================== */
.top-pill {
    display: inline-flex;
    align-items: stretch;
    height: 50px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.25s ease;
}

.top-pill.show {
    opacity: 1;
    transform: translateY(0);
}

.top-pill-toc {
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 52vw;
    padding: 0 16px 0 18px;
    background-color: #fcfbfa;
    border: none;
    border-right: 1px solid #eae7e1;
    color: #3c3518;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.top-pill-toc:hover {
    background-color: #f4f1eb;
}

.top-pill-ico {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 13px;
}

.top-pill-ico i {
    display: block;
    height: 1.5px;
    border-radius: 2px;
    background-color: #3c3518;
}

.top-pill-ico i:nth-child(2) {
    width: 9px;
}

/* 現在地のセクション名。長い見出しは省略する */
.top-pill-now {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-pill-join {
    display: inline-flex;
    align-items: center;
    padding: 0 22px;
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    color: #ffff00;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* 下部ナビを廃止したので、スマホでもピルを出す */
@media (max-width: 480px) {
    .floating-entry-btn {
        display: block;
        bottom: calc(16px + env(safe-area-inset-bottom, 8px));
    }

    /* 旧・下部ナビぶんの余白を詰める */
    .container {
        padding-bottom: 90px;
    }

    /* ピルに被らないよう「上に戻る」を少し上げる */
    .scroll-top-btn {
        bottom: 88px;
    }
}

/* 目次シートを開いている間はピルを隠す（既存の menu-open と同じ考え方） */
body.toc-open .floating-entry-btn,
body.toc-open .scroll-top-btn,
body.toc-open .floating-contact-btn,
body.toc-open .notice-popup {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* ==========================================================================
   4. 目次シート（下から出るボトムシート）
   PC ではカード幅（440px）に合わせて中央に置く。
   ========================================================================== */
body.toc-open {
    overflow: hidden;
}

.toc-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(15, 12, 30, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toc-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.toc-sheet {
    position: fixed;
    z-index: 10001;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: 440px;              /* .container の max-width と揃える */
    max-height: 76svh;
    display: flex;
    flex-direction: column;
    background-color: #fcfbfa;
    border: 1px solid #eae7e1;
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 30px rgba(15, 12, 30, 0.2);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 8px));
    transform: translate(-50%, 101%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.toc-sheet.is-open {
    transform: translate(-50%, 0);
}

.toc-sheet-grip {
    width: 36px;
    height: 4px;
    margin: 10px auto 2px;
    border-radius: 2px;
    background-color: #e5e2dd;
}

.toc-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 10px;
    border-bottom: 1px solid #eae7e1;
}

.toc-sheet-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #8a857c;
}

/* 既存の .notice-popup-close と同じ書式（24px・#aaa59e・22px の×） */
.toc-sheet-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;                 /* 指で押せる最小サイズ */
    height: 44px;
    margin: -10px -12px -10px 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-family: inherit;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: #8a857c;
    cursor: pointer;
    transition: color 0.2s ease;
}

.toc-sheet-close:hover {
    color: #3c3518;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    /* -webkit-overflow-scrolling: touch を外しています。
       iOS では慣性スクロールのコンテナが出た直後、最初のタップが
       スクロール判定に吸われてリンクが反応しないことがあるため。 */
}

/* hidden 属性が display:flex に負けないようにしておく */
.toc-sheet[hidden] {
    display: none;
}

.toc-list a {
    display: flex;
    align-items: center;
    /* ダブルタップ判定を切って、指を離した瞬間に反応させる */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(49, 16, 66, 0.08);
    cursor: pointer;
    gap: 12px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #3c3518;
    text-decoration: none;
}

.toc-list a::before {
    content: "";
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #e5e2dd;
    transition: background 0.2s ease, transform 0.2s ease;
}

/* 現在地は gnav の is-current と同じ紫ドットで示す */
.toc-list a[aria-current="true"] {
    font-weight: 700;
    color: #311042;
}

.toc-list a[aria-current="true"]::before {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    transform: scale(1.6);
}

/* ==========================================================================
   5. アクセシビリティ / モーション配慮
   ========================================================================== */
.top-pill-toc:focus-visible,
.toc-sheet-close:focus-visible,
.toc-list a:focus-visible,
.news-link:focus-visible {
    outline: 2px solid #311042;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .top-pill,
    .toc-sheet,
    .toc-overlay,
    .news-link {
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   6. トップ最上部ではヘッダーのバー自体を出さない
   ロゴを消すとバーだけが空で残り、NOW! と合わせて上部が重くなるため、
   最上部ではバーごと畳んで NOW! だけを画面上端に貼ります。
   少しでもスクロールすると（is-scrolled）通常のヘッダーが現れます。
   ========================================================================== */
.site-header.is-home:not(.is-scrolled) {
    height: var(--nowbar-h);
    padding-top: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.site-header.is-home:not(.is-scrolled) .site-header-inner {
    height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header-inner {
    transition: height 0.35s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.25s ease,
                visibility 0.25s ease,
                background-color 0.25s ease;
}

/* 最上部では NOW! を画面上端に密着させる（PCの丸みも上側は不要） */
.site-header.is-home:not(.is-scrolled) .now-bar {
    border-radius: 0 0 14px 14px;
}

/* ==========================================================================
   7. ヒーローの動き
   素材が限られるため動画は使わず、既存のイラストを動かしています。
   微パララックスは news-addon.js 側。
   ========================================================================== */
.hero-wrapper .bg-image {
    will-change: transform;
}

.hero-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-sparkle {
    position: absolute;
    display: block;
    opacity: 0;
    animation: heroSparkle 5.5s ease-in-out infinite;
}

.hero-sparkle img {
    display: block;
    width: 100%;
    height: auto;
}

/* 位置・大きさ・間をばらけさせて、規則的に見えないようにする */
.hero-sparkle-1  { top:  9%; left:  7%; width: 26px; animation-delay: 0s;   }
.hero-sparkle-2  { top: 21%; right:10%; width: 18px; animation-delay: 0.9s; }
.hero-sparkle-3  { top: 58%; left: 13%; width: 15px; animation-delay: 1.7s; }
.hero-sparkle-4  { top: 44%; right: 6%; width: 24px; animation-delay: 2.4s; }
.hero-sparkle-5  { top: 74%; right:26%; width: 13px; animation-delay: 3.2s; }
.hero-sparkle-6  { top: 34%; left: 21%; width: 12px; animation-delay: 4.0s; }
.hero-sparkle-7  { top: 15%; right:31%; width: 20px; animation-delay: 4.8s; }
.hero-sparkle-8  { top: 67%; left:  5%; width: 21px; animation-delay: 1.2s; }
.hero-sparkle-9  { top: 85%; left: 34%; width: 14px; animation-delay: 2.9s; }
.hero-sparkle-10 { top: 50%; left: 45%; width: 11px; animation-delay: 3.9s; }

@keyframes heroSparkle {
    0%,
    100% { opacity: 0;    transform: translateY(6px)   scale(0.7) rotate(0deg);   }
    18%  { opacity: 0.95; transform: translateY(0)     scale(1)   rotate(20deg);  }
    45%  { opacity: 0.35; transform: translateY(-8px)  scale(0.9) rotate(45deg);  }
    70%  { opacity: 0;    transform: translateY(-16px) scale(0.7) rotate(70deg);  }
}

/* ==========================================================================
   10. 下層ページへの導線
   ========================================================================== */
.section-more {
    margin-top: 28px;
    text-align: center;
}

.section-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 26px;
    border: 1px solid rgba(49, 16, 66, 0.3);
    border-radius: 46px;
    background-color: transparent;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #311042;
    text-decoration: none;
    touch-action: manipulation;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.section-more-link::after {
    content: "→";
    font-size: 13px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.section-more-link:hover {
    background-color: #311042;
    border-color: #311042;
    color: #ffffff;
}

.section-more-link:hover::after {
    transform: translateX(3px);
}

/* お知らせの「一覧を見る」も同じ形に揃える */
.news-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 20px;
    border: 1px solid rgba(49, 16, 66, 0.25);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #311042;
    text-decoration: none;
    touch-action: manipulation;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-more::after {
    content: "→";
    font-size: 12px;
    line-height: 1;
}

.news-more:hover {
    background-color: #311042;
    border-color: #311042;
    color: #ffffff;
}

.link-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    background-color: #f4f1eb;
    border: 1px solid #eae7e1;
    border-radius: 10px;
    text-decoration: none;
    color: #3c3518;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.link-card:hover {
    background-color: #fffdfa;
    transform: translateY(-2px);
}

.link-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.link-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #311042;
}

.link-card-sub {
    font-size: 11.5px;
    color: #8a857c;
}

.link-card-arrow {
    flex-shrink: 0;
    color: #8a857c;
    font-size: 14px;
}

/* ==========================================================================
   11. 下部の追従物をピル1つに絞る
   トップへ戻るは目次シートの先頭へ、LINEはグローバルメニューへ畳みました。
   ========================================================================== */
.scroll-top-btn,
.floating-contact-btn,
.notice-popup {
    display: none !important;
}

.toc-list-top {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.08em;
    color: #8a857c !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #eae7e1;
}

.toc-list-top::before {
    display: none;
}

@media (max-width: 480px) {
    /* 追従物が1つになったので、下の余白も詰められる */
    .container {
        padding-bottom: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-sparkle {
        animation: none;
        opacity: 0.5;
    }
    .guide-card,
    .link-card {
        transition: none;
    }
}

/* ==========================================================================
   12. NOW! ステータスバー（ヘッダーに固定し、一緒に隠れる）
   ========================================================================== */
:root {
    --nowbar-h: 34px;
}

/* 本文がバーのぶん隠れないように下げる（トップ以外のページ用） */
body {
    padding-top: calc(var(--header-h) + 40px + var(--nowbar-h));
}

html {
    scroll-padding-top: calc(var(--header-h-sm) + var(--nowbar-h) + 16px);
}

@media (max-width: 480px) {
    body { padding-top: calc(var(--header-h) + var(--nowbar-h)); }
}

@media (min-width: 481px) {
    body { padding-top: calc(var(--header-gap) + var(--header-h) + 26px + var(--nowbar-h)); }
    html { scroll-padding-top: calc(var(--header-gap) + var(--header-h-sm) + var(--nowbar-h) + 16px); }
}

/* トップページは最上部にヘッダーのバーを出さないので、
   余白は NOW! の高さぶんだけ。スクロールで現れたヘッダーは
   本文の上に重なります（読み進める面積を優先） */
body.page-home {
    padding-top: var(--nowbar-h);
}

@media (min-width: 481px) {
    body.page-home { padding-top: calc(var(--nowbar-h) + 20px); }
}

/* ヘッダーが引っ込むとき、バーのぶんも余分に上げないと下端が残る */
.site-header.has-nowbar.is-hidden {
    transform: translateY(calc(-101% - var(--nowbar-h)));
}

/* style.css の .now-status（カード型）を打ち消して、細い帯にする */
.now-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--nowbar-h);
    margin: 0;
    padding: 0 12px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    overflow: hidden;
}

.now-bar:hover {
    box-shadow: none;
    transform: none;
}

/* PC はヘッダーのバーと同じ幅で、下側だけ角丸にして一体に見せる */
@media (min-width: 481px) {
    .now-bar {
        width: min(var(--header-w), calc(100% - 40px));
        margin: 0 auto;
        border-radius: 0 0 14px 14px;
    }
}

/* メニューを開いている間はロゴ・ナビと同じく NOW! も引っ込める。
   （ヘッダーはオーバーレイより前面に出るため、消さないと上に残ってしまう） */
.site-header.is-menu-open .now-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.now-bar .now-status-badge {
    flex-shrink: 0;
    padding: 3px 8px;
    font-size: 9.5px;
    background: #ffff00;
    color: #311042;
}

.now-bar .now-status-badge::before {
    width: 5px;
    height: 5px;
    background: #311042;
}

.now-bar-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.now-bar-track {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

.now-bar-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

/* 入り切るときはこのまま静止。はみ出す長さのときだけ JS が is-marquee を付ける */
.now-bar-track:not(.is-marquee) .now-bar-item {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.now-bar-track.is-marquee {
    animation: nowBarFlow var(--now-bar-duration, 14s) linear infinite;
}

@keyframes nowBarFlow {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% - 40px)); }
}

.now-bar .now-status-date {
    flex-shrink: 0;
    font-size: 10.5px;
    color: #ffff00;
}

.now-bar .now-status-desc {
    font-size: 11.5px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
}

.now-bar .now-status-arrow {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .now-bar-track.is-marquee { animation: none; }
    .now-bar .now-status-badge::before { animation: none; }
}

/* ==========================================================================
   13. 訪問者別カード（コンパクト版）
   ========================================================================== */
.guide-nav-list {
    display: grid;
    gap: 8px;
}

.guide-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 10px 11px 12px;
    border-radius: 11px;
    text-decoration: none;
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(49, 16, 66, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 16, 66, 0.26);
}

/* 観覧者は役割が違うので、色ではなく面の有無で分ける */
.guide-card-audience {
    background: #f4f1eb;
    color: #3c3518;
    border: 1px solid #e5e2dd;
    box-shadow: none;
}

.guide-card-num {
    flex-shrink: 0;
    width: 40px;
}

.guide-card-num img {
    display: block;
    width: 100%;
    height: auto;
}

.guide-card-num-icon {
    width: 20px;
    margin: 0 4px;
}

.guide-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.guide-card-sub {
    font-size: 11px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.66);
}

.guide-card-audience .guide-card-sub {
    color: #8a857c;
}

.guide-card-main {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* 「今どうすべきか」の1行 */
.guide-card-status {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.66);
}

.guide-card-status:empty { display: none; }
.guide-card-status[data-tone="live"] { color: #ffff00; }
.guide-card-status[data-tone="done"] { color: rgba(255, 255, 255, 0.45); }

.guide-card-audience .guide-card-status,
.guide-card-audience .guide-card-status[data-tone="done"] {
    color: #8a857c;
}

.guide-card-arrow {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, 0.55);
}

.guide-card-audience .guide-card-arrow { color: #8a857c; }
.guide-card-arrow svg { width: 100%; height: 100%; }

.guide-card.is-preparing { opacity: 0.7; }

.guide-nav-note {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #8a857c;
}

.guide-nav-note b { color: #311042; }

/* ==========================================================================
   14. CONCEPT（省略版）
   ========================================================================== */
.concept-lead {
    text-align: center;
    font-size: 13.5px;
    line-height: 2;
    color: #3c3518;
}

/* ==========================================================================
   15. ENTRY カード
   カード全体が下層ページへのリンク。背景のイラストは
   .entry-card-art の img を差し替えれば入れ替わります。
   ========================================================================== */
.entry-card-list {
    display: grid;
    gap: 12px;
}

.entry-card {
    position: relative;
    display: block;
    padding: 18px 18px 16px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    box-shadow: 0 6px 18px rgba(49, 16, 66, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.entry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(49, 16, 66, 0.3);
}

/* 背景イラスト：右下に大きく、うっすら */
.entry-card-art {
    position: absolute;
    right: -14px;
    bottom: -18px;
    width: 108px;
    opacity: 0.16;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.entry-card-art img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-card:hover .entry-card-art {
    transform: translate(-4px, -4px) rotate(-6deg);
    opacity: 0.24;
}

.entry-card-num {
    display: block;
    width: 40px;
    margin-bottom: 10px;
}

.entry-card-num img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-card-title {
    position: relative;
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.entry-card-catch {
    position: relative;
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.entry-card-foot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.entry-card-term {
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.7);
}

.entry-card-go {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffff00 !important;
}

/* ==========================================================================
   16. スケジュールの現在地
   目印は右のバッジではなく、左のタイムラインのドット側に置きます。
   日付・本文と目線が同じ高さに並び、線をたどる動きとも合うためです。
   ========================================================================== */
.prep-timeline [data-date].is-past {
    opacity: 0.42;
}

.prep-timeline .is-now .prep-timeline-date {
    color: #311042;
    font-weight: 700;
}

.prep-timeline .is-now .prep-timeline-text {
    font-weight: 700;
    color: #3c3518;
}

/* 現在地のドットを大きくして脈打たせる */
.prep-timeline-item.is-now::before {
    background: #311042;
    box-shadow: 0 0 0 3px #fcfbfa, 0 0 0 5px rgba(49, 16, 66, 0.3);
    animation: timelineDot 1.8s ease-in-out infinite;
}

/* ドットの外側に広がる波紋 */
.prep-timeline li.is-now {
    position: relative;
}

.prep-timeline-item.is-now::after {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    border: 1px solid rgba(49, 16, 66, 0.5);
    animation: timelineRipple 1.8s ease-out infinite;
    pointer-events: none;
}

/* 期間の行（エントリー期間…など）が現在地のときは、線そのものを光らせる */
.prep-timeline-period.is-now::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 3px;
    margin-left: -1px;
    border-radius: 2px;
    background: linear-gradient(180deg, #311042, #a8842e);
    animation: timelineDot 1.8s ease-in-out infinite;
}

.prep-timeline-period.is-now span {
    color: #311042;
    font-weight: 600;
    font-style: normal;
}

@keyframes timelineDot {
    0%, 100% { opacity: 1;   }
    50%      { opacity: 0.4; }
}

@keyframes timelineRipple {
    0%   { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0;   }
}

@media (prefers-reduced-motion: reduce) {
    .prep-timeline-item.is-now::before,
    .prep-timeline-period.is-now::before { animation: none; }
    .prep-timeline-item.is-now::after { display: none; }
}

/* ==========================================================================
   17. Q&A の抜粋
   ========================================================================== */
.faq-peek-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.faq-peek-list li {
    background-color: #fffdfa;
    border: 0px solid rgba(60, 53, 24, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.faq-peek {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    color: #3c3518;
    text-decoration: none;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.faq-peek-q {
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #311042;
    line-height: 1.7;
}

/* ==========================================================================
   18. セクションの体裁を揃える
   見出しは .section-title、箱は .section に統一。
   背景色は変えず、中に置く紫のブロックでリズムを作ります。
   ========================================================================== */
.section.guide-nav {
    display: block;
}

.section-entry {
    margin-bottom: 60px;
    background-color: #fcfbfa;
    padding: 50px 20px;
    border: 1px solid #eae7e1;
}

/* ==========================================================================
   19. セクションの組み直し
   「クリームの箱＋1px罫線」をやめ、余白と罫線で構造を作ります。
   箱が並ぶと管理画面のパネルに見えてしまうため。
   リズムは GUIDE と ENTRY だけを端まで届く濃色ブロックにして作ります。
   ========================================================================== */
:root {
    --card-pad: 24px;          /* .container の左右パディングと揃える */
}

@media (max-width: 480px) {
    :root { --card-pad: 20px; }
}

/* 箱を外す。#section-entry / #section-schedule は style.css 側が
   id で背景を指定しているので、同じ強さで打ち消す。 */
.section,
.section-entry,
#section-entry,
#section-schedule {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 0 72px;
}

.section:last-of-type {
    margin-bottom: 56px;
}

/* 端まで届く濃色ブロック。カードの左右パディングを打ち消す */
.section-bleed,
#section-entry.section-bleed,
#section-guide.section-bleed {
    margin-left: calc(var(--card-pad) * -1);
    margin-right: calc(var(--card-pad) * -1);
    padding: 44px var(--card-pad) 40px;
}

/* style.css の #section-entry / #section-schedule に
   background:#f4f1eb が id セレクタで書かれているため、
   class だけでは勝てない。id を含めた形で上書きする。 */
.section-dark,
#section-entry.section-dark,
#section-guide.section-dark,
#section-schedule.section-dark {
    position: relative;
    background: linear-gradient(150deg, #1e1b4b 0%, #311042 100%);
    color: #ffffff;
    border: none;
    overflow: hidden;
}

/* 濃色ブロックの中にだけ、ごく淡い光を1つ置く */
.section-dark::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    padding-bottom: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

/* ==========================================================================
   20. セクションタイトル
   大きな英字＋小さな日本語＋全幅の区切り線。中央揃え。

   インパクトは「太さ」ではなく「大きさ・字間・線の長さ」で作ります。
   ・大きい字は字間を詰める。広いままだと文字が散って逆に弱く見えるため。
     （小さい字は逆に広げる。日本語の副題は 0.22em のまま）
   ・区切り線を全幅に伸ばすと、太さを足さずに構えが大きくなります。
   ========================================================================== */
.section-title {
    position: relative;
    display: block;
    margin: 0 0 34px;
    padding: 0;
    text-align: center;
    color: inherit;
}

.section-title-en {
    display: block;
    overflow: hidden;                       /* せり上がりのマスク */
    font-family: 'Montserrat', sans-serif;
    /* 最長の INFORMATION（11文字）でも 440px のカードに収まる範囲 */
    font-size: clamp(32px, 10vw, 46px);
    font-weight: 400;
    letter-spacing: 0.04em;                 /* 大きいので詰める */
    text-indent: 0.04em;                    /* 字間ぶんの右寄りを打ち消す */
    line-height: 1.15;
    color: #311042;
}

.section-dark .section-title-en {
    color: #ffffff;
}

.scroll-section .section-title-en {
    clip-path: inset(0 0 100% 0);
    transform: translateY(0.32em);
    transition: clip-path 0.75s cubic-bezier(0.22, 0.9, 0.3, 1),
                transform 0.75s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.scroll-section.is-visible .section-title-en {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

.section-title-ja {
    display: block;
    margin-top: 10px;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    color: #8a857c;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.scroll-section.is-visible .section-title-ja {
    opacity: 1;
    transform: translateY(0);
}

/* 全幅の細い罫。中央から左右に伸びる。
   style.css 側の width:30px / height:1px を上書きします。 */
.section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 20px auto 0;
    background-color: rgba(60, 53, 24, 0.28);
    transform: scaleX(0);
    transition: transform 0.85s cubic-bezier(0.22, 0.9, 0.3, 1) 0.2s;
}

.scroll-section.is-visible .section-title::after {
    transform: scaleX(1);
}

.section-dark .section-title::after {
    background-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   21. 濃色ブロックの中の調整
   ========================================================================== */
/* 濃色の上に紫のカードを重ねると沈むので、面を反転させる */
.section-dark .guide-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.section-dark .guide-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.section-dark .guide-card-audience {
    background: #f4f1eb;
    color: #3c3518;
    border-color: #f4f1eb;
}

.section-dark .guide-card-audience:hover {
    background: #ffffff;
}

.section-dark .guide-nav-note {
    color: rgba(255, 255, 255, 0.6);
}

.section-dark .guide-nav-note b {
    color: #ffff00;
}

.section-dark .entry-card {
    position: relative;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.section-dark .entry-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

/* .cd-block の地は style.css で #fcfbfa（クリーム）のまま。
   数字だけ白にすると読めなくなるので、枠ごと反転させる。 */
.section-dark .cd-block {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-dark .cd-num {
    color: #ffffff;
}

.section-dark .cd-unit {
    color: rgba(255, 255, 255, 0.6);
}

/* ラベルは枠の外なので、地の紫に対して薄く */
.section-dark .countdown-label {
    color: rgba(255, 255, 255, 0.65);
}

/* 締切を過ぎたときの表示も濃色地に合わせる */
.section-dark .cd-expired .cd-num {
    color: rgba(255, 255, 255, 0.4);
}

/* .entry-btn の地は style.css で #333200（濃いオリーブ）。
   紫の上ではほぼ沈むので、このセクションの主導線として黄色の面に反転させる。 */
.section-dark .entry-btn {
    background-color: #ffff00;
    border-color: #ffff00;
    color: #311042;
    font-weight: 700;
}

.section-dark .entry-btn:hover {
    background-color: #f5f500;
    border-color: #f5f500;
}

/* 黄色を1セクションに2種類出すと主従が消えるので、
   カード内の「要項をみる →」は白に落として一段下げる。 */
.section-dark .entry-card-go {
    color: rgba(255, 255, 255, 0.88);
}

.section-dark .section-more-link {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: transparent;
}

.section-dark .section-more-link:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #311042;
}

/* ==========================================================================
   22. 明るいセクションの区切り
   箱がなくなったぶん、細い罫線と余白で切り分けます。
   ========================================================================== */
/* セクション間の罫線は撤去。タイトル下の全幅罫と余白が区切りを担うので、
   ここにも線を引くと、1画面に横線が何本も並んでくどくなる。 */
.section:not(.section-dark) + .section:not(.section-dark) {
    padding-top: 56px;
}

.faq-peek:hover {
    background-color: #ffffff;
    padding-left: 16px;
}

/* INFORMATION の日付だけは主役として大きく見せる */
#section-outline .overview-item:first-of-type .overview-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #311042;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-section .section-title-en {
        clip-path: none;
        transform: none;
        transition: none;
    }
    .section-title-ja {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .section-title::after {
        transform: scaleX(1);
        transition: none;
    }
}

/* ==========================================================================
   23. 要素ごとにばらついた出現
   数値は news-addon.js が要素ごとに --pop-* で流し込みます。
   毎回同じ値なので、再訪しても動きが変わりません。
   ========================================================================== */
[data-pop] {
    opacity: 0;
    transform:
        translate(var(--pop-x, 0), var(--pop-y, 20px))
        rotate(var(--pop-r, 0deg))
        scale(var(--pop-s, 0.96));
    transition:
        opacity 0.5s ease var(--pop-d, 0s),
        transform var(--pop-t, 0.8s) cubic-bezier(0.22, 1.1, 0.32, 1) var(--pop-d, 0s);
    will-change: transform, opacity;
}

/* 出し切ったら必ず素の位置に戻す。
   ここがずれたままだと、押したい場所と実際の当たり判定がずれる。 */
[data-pop].is-popped {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* JS が動かない環境でも中身が消えないようにする */
.no-js [data-pop] {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   24. キラキラの飛び散り
   位置・数・大きさはその場で決まるので、毎回ちがいます。
   装飾専用。2.4秒で自分を消します。
   ========================================================================== */
.section,
.nws {
    position: relative;
}

.pop-spark {
    position: absolute;
    z-index: 3;
    width: var(--spark-size, 10px);
    height: var(--spark-size, 10px);
    background: url("../img/kirakira_p.png") center / contain no-repeat;
    opacity: 0;
    pointer-events: none;
    animation: popSpark 1.7s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

/* 濃色ブロックの上では白いほうのキラキラを使う */
.section-dark .pop-spark {
    background-image: url("../img/kirakira.png");
}

@keyframes popSpark {
    0%   { opacity: 0;    transform: translateY(6px)   scale(0.4) rotate(0deg);   }
    22%  { opacity: 0.95; transform: translateY(0)     scale(1)   rotate(25deg);  }
    55%  { opacity: 0.5;  transform: translateY(-10px) scale(0.9) rotate(55deg);  }
    100% { opacity: 0;    transform: translateY(-22px) scale(0.6) rotate(90deg);  }
}

/* ==========================================================================
   25. スクロール追従のイラストレイヤー
   要素は news-addon.js の DECOR 配列から生成されます。
   位置・大きさ・不透明度は JS 側がインラインで指定するので、
   ここでは共通の性質だけを持たせます。
   ========================================================================== */
.decor {
    position: absolute;
    z-index: 0;                     /* 本文より必ず後ろ */
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;           /* 押せる場所を絶対に奪わない */
    will-change: transform;
}

/* 本文・カード類は装飾より前に出す。
   飾り（.decor / .pop-spark）自身には当てないこと。
   当ててしまうと position:absolute が relative で潰され、
   インライン要素になって幅も高さも効かなくなる。 */
.section > *:not(.decor):not(.pop-spark),
.nws > *:not(.decor):not(.pop-spark) {
    position: relative;
    z-index: 1;
}

/* 濃色ブロックは overflow:hidden なので、はみ出し分は自然に切れる */

.entry-card-art {
    will-change: transform;
}

/* ホバー時の transform は追従計算と競合するので、明るさだけ変える */
.entry-card:hover .entry-card-art {
    opacity: 0.24;
}

@media (prefers-reduced-motion: reduce) {
    [data-pop] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .pop-spark { display: none; }
    .decor,
    .entry-card-art { transform: none !important; }
}
