/* =====================================================================
   AKATSUKI SONATA — 明るめの暁（akatsuki2）
   styles.css の後に読み込み、色トークンの差し替えと新しい部品を足す。
   ===================================================================== */

:root {
    /* 既存トークンを明るい背景向けに差し替え */
    --night: #fffaf5;
    --night-2: #fff1ea;
    --gold: #e07a2e;
    --gold-soft: #f6a95c;
    --indigo: #5b5bd6;
    --rose: #d2588f;
    --coral: #ff7a5c;
    --amber: #ffab3d;
    --ink: #2e2450;
    --ink-soft: #5e5676;
    --ink-faint: #8f88a3;
    --line: rgba(120, 80, 160, 0.16);
    --bg-alt: #fff3ec;
    --surface: #ffffff;
    --surface-warm: #fff1e4;
    --on-accent: #ffffff;
    --shadow: 0 8px 24px rgba(120, 70, 150, 0.10);
    --shadow-lg: 0 18px 44px rgba(120, 70, 150, 0.16);

    /* 暁のグラデーション */
    --dawn: linear-gradient(120deg, #5b5bd6 0%, #9b6bdc 26%, #e06fa6 52%, #ff8a6a 76%, #ffc061 100%);
    --dawn-soft: linear-gradient(120deg, #ebe8ff 0%, #f5e4ff 26%, #ffe2ee 52%, #ffe7da 76%, #fff2d3 100%);
    --dawn-grad: var(--dawn);
    --sun: linear-gradient(135deg, #ff8a6a 0%, #ffab3d 100%);

    --font-pop: 'M PLUS Rounded 1c', 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
    --font-en: 'Fredoka', 'M PLUS Rounded 1c', sans-serif;
    --radius: 22px;
}

html { scroll-padding-top: 76px; }

body {
    background: var(--night);
    color: var(--ink);
    font-family: var(--font-pop);
    font-weight: 500;
}

h1, h2, h3, h4, .section-title { font-family: var(--font-pop); font-weight: 800; }

a { color: #c2477f; }

img { max-width: 100%; }

.sp { display: none; }
@media (max-width: 600px) { .sp { display: inline; } }

.container { padding-left: 16px; padding-right: 16px; }
.container.narrow { max-width: 860px; }

/* ---------------------------------------------------------------- header */
.header {
    background: rgba(255, 250, 245, 0.86);
    border-bottom: none;
    box-shadow: 0 1px 0 rgba(120, 80, 160, .10);
    font-family: var(--font-pop);
}
.header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
    background: var(--dawn);
}
.header.scrolled { box-shadow: 0 6px 20px rgba(120, 70, 150, .12); }
.nav { padding: .7rem 0; }
.logo, a.logo {
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
    background: var(--dawn);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu { gap: .35rem; align-items: center; }
.nav-menu a {
    display: flex; flex-direction: column; align-items: center;
    padding: .35rem .8rem;
    border-radius: 999px;
    color: var(--ink);
    line-height: 1.15;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-menu a::after { display: none; }
.nav-en { font-family: var(--font-en); font-weight: 600; font-size: .95rem; letter-spacing: .06em; }
.nav-ja { font-size: .62rem; color: var(--ink-faint); letter-spacing: .08em; }
.nav-menu a:hover { background: #fff; color: #c2477f; transform: translateY(-1px); }
.nav-menu a.active { background: var(--dawn); color: #fff; }
.nav-menu a.active .nav-ja { color: rgba(255,255,255,.85); }
.nav-fc a { border: 2px solid transparent; background: linear-gradient(#fffaf5, #fffaf5) padding-box, var(--dawn) border-box; }
.nav-fc a.active { background: var(--dawn); }
.nav-toggle span { background: var(--ink); }

@media (max-width: 960px) {
    .nav-ja { display: none; }
    .nav-menu a { padding: .4rem .6rem; }
}
@media (max-width: 768px) {
    .nav-menu {
        background: rgba(255, 250, 245, .98);
        border-top: none; border-bottom: none;
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: 0 18px 30px rgba(120, 70, 150, .14);
    }
    .nav-menu li { text-align: left; }
    .nav-menu a {
        flex-direction: row; justify-content: space-between; align-items: baseline;
        padding: .95rem 1.4rem; border-radius: 0; border-top: 1px solid var(--line);
    }
    .nav-ja { display: inline; font-size: .78rem; }
    .nav-menu a.active { background: var(--dawn-soft); color: var(--ink); }
    .nav-menu a.active .nav-ja { color: var(--ink-soft); }
    .nav-fc a { background: none; border: none; border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- buttons */
.d-btn, .cta-button {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    padding: .9rem 2rem;
    border-radius: 999px;
    font-family: var(--font-pop); font-weight: 800; font-size: 1rem;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta-button, .d-btn-sun {
    background: var(--sun); color: #fff; border: none;
    box-shadow: 0 8px 22px rgba(255, 122, 92, .32);
}
.cta-button:hover, .d-btn:hover { transform: translateY(-3px); }
.cta-button:hover, .d-btn-sun:hover { box-shadow: 0 12px 28px rgba(255, 122, 92, .42); }
.cta-button.cta-secondary { background: #fff; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.d-btn-glass {
    background: rgba(255,255,255,.2); color: #fff;
    border: 2px solid rgba(255,255,255,.75);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.d-btn-glass:hover { background: rgba(255,255,255,.35); }
.d-btn-line {
    background: linear-gradient(#fff, #fff) padding-box, var(--dawn) border-box;
    border: 2px solid transparent; color: var(--ink);
}
.d-btn-line::after, .d-btn-white::after, .pickup-more::after, .bubble-more::after, .fc-more::after, .pm-more::after { content: "→"; transition: transform .2s ease; }
.d-btn-line:hover::after, .d-btn-white:hover::after { transform: translateX(4px); }
.d-btn-white { background: #fff; color: #c2477f; box-shadow: 0 10px 24px rgba(80, 30, 90, .18); }
.d-btn-booth { background: #fc4d50; color: #fff; box-shadow: 0 8px 22px rgba(252, 77, 80, .35); }
.d-btn-booth:hover { box-shadow: 0 12px 28px rgba(252, 77, 80, .45); color: #fff; }
.nav-goods a { border: 2px solid transparent; background: linear-gradient(#fffaf5, #fffaf5) padding-box, linear-gradient(135deg, #fc4d50, #c2477f) border-box; }
.d-sec-goods { padding: 3rem 0 0; }
.goods-banner .fc-badge { background: linear-gradient(135deg, #fc4d50, #c2477f); }

/* ---------------------------------------------------------------- sections */
.d-sec { position: relative; padding: 4.5rem 0; }
.d-sec-tint { background: var(--dawn-soft); }
.d-sec-dawn { background: var(--dawn); color: #fff; overflow: hidden; }
.d-sec-dawn::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle at 12% 20%, rgba(255,255,255,.22) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 30%, rgba(255,255,255,.3) 0 2px, transparent 3px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,.25) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 90% 85%, rgba(255,255,255,.2) 0 2px, transparent 3px);
    background-size: 220px 220px;
}
.d-sec-news { padding-bottom: 1rem; }

.d-head { text-align: center; margin-bottom: 2.4rem; }
.d-head-en {
    margin: 0;
    font-family: var(--font-en); font-weight: 700;
    font-size: clamp(2.4rem, 7vw, 3.8rem); line-height: 1; letter-spacing: .04em;
    background: var(--dawn);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.d-head-ja {
    display: inline-flex; align-items: center; gap: .6rem;
    margin: .5rem 0 0; font-size: 1rem; color: var(--ink-soft); letter-spacing: .12em;
}
.d-head-ja::before, .d-head-ja::after { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--dawn); }
.d-head-lead { max-width: 640px; margin: 1rem auto 0; color: var(--ink-soft); line-height: 1.9; }
.d-head-light .d-head-en { background: none; -webkit-text-fill-color: #fff; color: #fff; text-shadow: 0 4px 18px rgba(80,30,90,.25); }
.d-head-light .d-head-ja { color: rgba(255,255,255,.92); }
.d-head-light .d-head-ja::before, .d-head-light .d-head-ja::after { background: #fff; }
.d-more { text-align: center; margin: 2.4rem 0 0; position: relative; }

/* 既存ページの見出し（songs / news / concept / terms など） */
.section-title { color: var(--ink); font-size: clamp(1.8rem, 5vw, 2.4rem); }
.section-title::after { width: 72px; height: 5px; background: var(--dawn); }
.section-alt { background: var(--bg-alt); }

/* ---------------------------------------------------------------- wave */
.d-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--night); z-index: 2; }

/* ---------------------------------------------------------------- hero */
.d-hero {
    position: relative; overflow: hidden;
    min-height: min(88vh, 760px);
    display: flex; align-items: center;
    color: #fff; text-align: center;
    background: #3b2f6e;
}
.d-hero-slides, .d-hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-hero-slides img { object-fit: cover; opacity: 0; animation: heroFade 18s infinite; transform: scale(1.06); }
.d-hero-slides img:nth-child(1) { opacity: 1; }
.d-hero-slides img:nth-child(2) { animation-delay: 6s; }
.d-hero-slides img:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
    0% { opacity: 0; transform: scale(1.06); }
    6% { opacity: 1; }
    33% { opacity: 1; }
    40% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
}
.d-hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(46,36,80,.15) 0%, rgba(46,36,80,.05) 40%, rgba(46,36,80,.35) 100%),
        linear-gradient(120deg, rgba(91,91,214,.72) 0%, rgba(155,107,220,.55) 28%, rgba(224,111,166,.45) 55%, rgba(255,138,106,.5) 78%, rgba(255,192,97,.65) 100%);
    mix-blend-mode: normal;
}
.d-hero-inner { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 6rem; }
.d-hero-logo { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 8px 24px rgba(46,36,80,.35)); }
.d-hero-catch {
    margin: 1.2rem 0 .3rem;
    font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; letter-spacing: .14em;
    text-shadow: 0 4px 22px rgba(46,36,80,.4);
}
.d-hero-lead { margin: 0 0 2rem; font-size: clamp(.95rem, 2.6vw, 1.15rem); line-height: 1.8; text-shadow: 0 2px 12px rgba(46,36,80,.45); }
.d-hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.d-hero-scale {
    position: absolute; z-index: 1; left: 50%; bottom: 72px; transform: translateX(-50%);
    display: flex; gap: 10px; margin: 0; padding: 0; list-style: none;
}
.d-hero-scale li {
    width: 12px; height: 12px; border-radius: 50%; background: var(--c);
    box-shadow: 0 0 0 3px rgba(255,255,255,.55);
    animation: bob 2.4s ease-in-out infinite;
}
.d-hero-scale li:nth-child(2) { animation-delay: .15s; } .d-hero-scale li:nth-child(3) { animation-delay: .3s; }
.d-hero-scale li:nth-child(4) { animation-delay: .45s; } .d-hero-scale li:nth-child(5) { animation-delay: .6s; }
.d-hero-scale li:nth-child(6) { animation-delay: .75s; } .d-hero-scale li:nth-child(7) { animation-delay: .9s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* 下層ページのヒーロー */
.d-page-hero {
    position: relative; overflow: hidden;
    padding: 4.5rem 0 5.5rem; text-align: center; color: #fff;
    background: var(--dawn);
}
.d-page-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,.35) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,.3) 0 2px, transparent 3px),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,.25) 0 1.5px, transparent 2.5px);
    background-size: 180px 180px;
}
.d-page-hero .container { position: relative; z-index: 1; }
.d-page-en { margin: 0; font-family: var(--font-en); font-weight: 700; font-size: clamp(2.8rem, 9vw, 4.6rem); line-height: 1; letter-spacing: .04em; text-shadow: 0 6px 24px rgba(80,30,90,.22); }
.d-page-ja { margin: .6rem 0 0; font-size: 1.05rem; letter-spacing: .14em; font-weight: 700; }
.d-page-lead { max-width: 620px; margin: 1rem auto 0; line-height: 1.9; opacity: .95; }

/* ---------------------------------------------------------------- member cards (pm) */
.pm-group { margin: 0 0 2.6rem; }
.pm-group img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.pm-group figcaption { margin-top: .7rem; font-size: .82rem; line-height: 1.7; text-align: center; color: var(--muted, #6b6478); }
.pm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.pm {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    text-decoration: none; color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pm::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); z-index: 2; }
.pm:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 20px 40px color-mix(in srgb, var(--c) 30%, transparent); }
.pm-photo { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: color-mix(in srgb, var(--c) 18%, #fff); }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .5s ease; }
.pm:hover .pm-photo img { transform: scale(1.06); }
.pm-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, color-mix(in srgb, var(--c) 45%, transparent)); }
.pm-emoji {
    position: absolute; z-index: 1; right: 12px; top: 16px;
    width: 46px; height: 46px; display: grid; place-items: center;
    font-size: 1.5rem; background: #fff; border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.pm-body { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1.1rem 1.2rem 1.3rem; }
.pm-role {
    display: inline-flex; align-items: baseline; gap: .45rem;
    padding: .22rem .8rem; border-radius: 999px;
    background: var(--c); color: #fff; font-weight: 800; font-size: .85rem;
}
.pm-role small { font-family: var(--font-en); font-weight: 600; font-size: .7rem; letter-spacing: .06em; opacity: .9; }
.pm-role-trainee { background: #fff; color: var(--cd); border: 2px dashed var(--c); }
.pm-name { font-size: 1.35rem; font-weight: 800; margin-top: .3rem; }
.pm-romaji { font-family: var(--font-en); font-size: .8rem; letter-spacing: .12em; color: var(--ink-faint); }
.pm-catch { margin-top: .35rem; font-size: .86rem; color: var(--ink-soft); line-height: 1.7; }
.pm-more { margin-top: .6rem; font-size: .82rem; font-weight: 800; color: var(--cd); display: inline-flex; gap: .3rem; }

/* トップ用の小さいカード（横スクロール） */
.pm-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr);
    gap: 1rem; overflow-x: auto; padding: .5rem .25rem 1rem;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.pm-mini { scroll-snap-align: start; align-items: center; text-align: center; padding-bottom: 1rem; }
.pm-mini .pm-photo { width: 100%; }
.pm-mini .pm-name { font-size: 1rem; margin: .7rem 0 .35rem; }
.pm-mini .pm-role { font-size: .74rem; }
.pm-mini .pm-role small { display: none; }
@media (min-width: 1101px) { .pm-row { grid-auto-flow: row; grid-template-columns: repeat(9, 1fr); overflow: visible; } }
@media (max-width: 1100px) { .pm-row { grid-auto-columns: 150px; } }

/* ---------------------------------------------------------------- spectrum */
.spectrum { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.spectrum a {
    display: flex; flex-direction: column; align-items: center; gap: .3rem;
    padding: 1.1rem .4rem; border-radius: 18px; background: var(--c); color: #fff;
    text-decoration: none; font-size: .82rem; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent);
    transition: transform .2s ease;
}
.spectrum a:hover { transform: translateY(-4px); }
.spectrum b { font-size: 1.15rem; }
.spectrum-note { text-align: center; margin-top: 1.4rem; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 700px) { .spectrum { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- card */
.d-card { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); line-height: 1.95; position: relative; overflow: hidden; }
.d-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--dawn); }
.d-card-title { margin: 0 0 1rem; font-size: 1.35rem; }
.d-card-strong { font-weight: 800; color: #c2477f; }
.d-card-actions { margin: 1.6rem 0 0; text-align: center; }

/* ---------------------------------------------------------------- pickup (top MUSIC) */
.pickup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.pickup { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pickup-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dawn-soft); }
.pickup-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pickup-thumb:hover img { transform: scale(1.05); }
.pickup-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; display: grid; place-items: center; padding-left: 4px;
    border-radius: 50%; background: rgba(255,255,255,.92); color: #e0556e; font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.pickup-kind { margin: 1.1rem 1.3rem 0; font-family: var(--font-en); font-weight: 700; font-size: .75rem; letter-spacing: .18em; color: #c2477f; }
.pickup-title { margin: .3rem 1.3rem 0; font-size: 1.1rem; }
.pickup-members { margin: .3rem 1.3rem 0; font-size: .82rem; color: var(--ink-faint); }
.pickup-more { margin: auto 1.3rem 1.2rem; padding-top: .9rem; font-size: .85rem; font-weight: 800; color: var(--ink); text-decoration: none; display: inline-flex; gap: .3rem; }

/* ---------------------------------------------------------------- about bubbles */
.about-bubbles { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.bubble {
    position: relative; display: flex; flex-direction: column;
    background: #fff; color: var(--ink); text-decoration: none;
    border-radius: 28px 28px 28px 8px; padding: 2rem 1.6rem 1.5rem;
    box-shadow: 0 14px 30px rgba(80, 30, 90, .18);
    transition: transform .25s ease;
}
.bubble:hover { transform: translateY(-5px) rotate(.4deg); }
.bubble-q {
    position: absolute; top: -18px; left: 22px;
    width: 44px; height: 44px; display: grid; place-items: center;
    background: var(--sun); color: #fff; border-radius: 50%;
    font-family: var(--font-en); font-weight: 700; font-size: 1.3rem;
    box-shadow: 0 6px 14px rgba(255,122,92,.4);
}
.bubble h3 { margin: .2rem 0 .7rem; font-size: 1.15rem; }
.bubble p { margin: 0; color: var(--ink-soft); line-height: 1.8; font-size: .92rem; }
.bubble-more { margin-top: auto; padding-top: 1rem; font-size: .85rem; font-weight: 800; color: #c2477f; display: inline-flex; gap: .3rem; }

/* ---------------------------------------------------------------- top photos */
.tp-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: .6rem; }
.tp-item { display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); transition: transform .25s ease; }
.tp-item:nth-child(even) { transform: translateY(14px); }
.tp-item:hover { transform: translateY(-4px) scale(1.03); }
.tp-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 900px) {
    .tp-grid { grid-template-columns: repeat(3, 1fr); }
    .tp-item:nth-child(even) { transform: none; }
}

/* ---------------------------------------------------------------- fan club */
.fc-banner {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem;
    padding: 2.6rem 1.6rem; border-radius: 30px; text-decoration: none; color: var(--ink);
    background: linear-gradient(#fff, #fff) padding-box, var(--dawn) border-box;
    border: 4px solid transparent; box-shadow: var(--shadow-lg);
    transition: transform .25s ease;
}
.fc-banner:hover { transform: translateY(-4px); }
.fc-badge {
    display: inline-block; padding: .3rem 1rem; border-radius: 999px;
    background: var(--dawn); color: #fff;
    font-family: var(--font-en); font-weight: 700; font-size: .78rem; letter-spacing: .16em;
}
.fc-title { font-family: var(--font-en); font-weight: 700; font-size: clamp(1.5rem, 4.5vw, 2.3rem); line-height: 1.2; letter-spacing: .04em; }
.fc-text { color: var(--ink-soft); line-height: 1.8; max-width: 560px; }
.fc-more { font-weight: 800; color: #c2477f; display: inline-flex; gap: .3rem; }
.fc-card { text-align: center; }
.fc-card .fc-badge { margin-bottom: .8rem; }
.fc-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.4rem 0; padding: 0; list-style: none; text-align: left; }
.fc-perks li { background: var(--dawn-soft); border-radius: 18px; padding: 1.2rem; line-height: 1.7; font-size: .9rem; color: var(--ink-soft); }
.fc-perks span { font-size: 1.8rem; display: block; }
.fc-perks b { display: block; color: var(--ink); font-size: 1rem; }
.fc-note { font-size: .85rem; color: var(--ink-faint); }

/* 会員限定コンテンツ共通（会員制導入後は .is-member で解除する想定） */
.member-only { position: relative; }
.lock-badge {
    display: inline-block; padding: .25rem .8rem; border-radius: 999px;
    background: var(--ink); color: #fff;
    font-family: var(--font-en); font-weight: 700; font-size: .7rem; letter-spacing: .14em;
}
.lock-badge::before { content: "🔒 "; }

/* ---------------------------------------------------------------- photo page */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.chip {
    padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
    background: #fff; color: var(--ink); border: 2px solid var(--c, #d9cfe6);
    font: 700 .86rem var(--font-pop); transition: background .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { transform: translateY(-2px); }
.chip.is-active { background: var(--c, #2e2450); color: #fff; }
.chip[data-filter="all"].is-active { background: var(--dawn); border-color: transparent; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.photo-item { margin: 0; position: relative; }
.photo-item[hidden] { display: none; }
.photo-open {
    display: block; width: 100%; padding: 0; border: none; cursor: zoom-in;
    aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: #fff;
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c), var(--shadow);
}
.photo-open img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .4s ease; }
.photo-open:hover img { transform: scale(1.06); }
.photo-item figcaption { margin-top: .55rem; font-size: .82rem; font-weight: 700; text-align: center; color: var(--ink-soft); }
.photo-locked .photo-open {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
    cursor: pointer; text-decoration: none; color: var(--ink);
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 10px, transparent 10px 20px),
        var(--dawn-soft);
}
.lock-text { font-size: .82rem; font-weight: 700; line-height: 1.6; text-align: center; color: var(--ink-soft); }

.lightbox { border: none; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(46, 36, 80, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.lightbox-caption { margin: .7rem 0 0; text-align: center; color: #fff; font-weight: 700; }
.lightbox-close {
    position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%;
    border: none; background: #fff; color: var(--ink); font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------- Q&A */
.qa-jump { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.8rem; }
.qa-jump a {
    padding: .55rem 1.1rem; border-radius: 999px; background: #fff; color: var(--ink);
    text-decoration: none; font-weight: 800; font-size: .88rem;
    box-shadow: 0 6px 16px rgba(80,30,90,.18); transition: transform .2s ease;
}
.qa-jump a:hover { transform: translateY(-3px); color: var(--c); }
.qa-cat { padding: 3rem 0 1rem; }
.qa-cat-title {
    display: flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem;
    font-size: clamp(1.25rem, 4vw, 1.6rem);
}
.qa-cat-title::after { content: ""; flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--c), transparent); }
.qa-cat-emoji {
    width: 52px; height: 52px; display: grid; place-items: center; flex: none;
    font-size: 1.6rem; border-radius: 18px; background: color-mix(in srgb, var(--c) 18%, #fff);
}
.qa-list { display: grid; gap: .9rem; }
.qa-item {
    background: #fff; border-radius: 20px; box-shadow: var(--shadow);
    border: 2px solid transparent; transition: border-color .2s ease;
}
.qa-item[open] { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.qa-item summary {
    display: flex; align-items: center; gap: .9rem; padding: 1.1rem 3.2rem 1.1rem 1.1rem;
    cursor: pointer; list-style: none; position: relative; font-weight: 800; line-height: 1.6;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
    content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
    background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c);
    font: 700 1.3rem var(--font-en); transition: transform .25s ease;
}
.qa-item[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.qa-q, .qa-a-mark {
    flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
    font-family: var(--font-en); font-weight: 700; font-size: 1.1rem;
}
.qa-q { background: var(--c); color: #fff; }
.qa-a { display: flex; gap: .9rem; padding: 0 1.3rem 1.3rem 1.1rem; }
.qa-a-mark { background: #fff; color: var(--c); border: 2px solid var(--c); }
.qa-a-body { flex: 1; min-width: 0; line-height: 1.95; color: var(--ink-soft); }
.qa-a-body p { margin: .4rem 0 .6rem; }
.qa-a-body strong { color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 28%, transparent) 62%); }
.qa-item[open] .qa-a { animation: qaIn .3s ease; }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.qa-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; margin: .5rem 0 .8rem; padding: 0; list-style: none; }
.qa-members li { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.qa-members a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: .88rem; }
.qa-members span { font-size: .78rem; font-weight: 800; color: #fff; background: var(--c); padding: .1rem .55rem; border-radius: 999px; }
.qa-tags { margin: .4rem 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.qa-tags li { padding: .6rem .9rem; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); }
.qa-tags b { display: inline-block; min-width: 5.5em; color: var(--c); }
.qa-compare { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .5rem 0 1rem; }
.qa-compare-col { border-radius: 18px; padding: 1rem 1.1rem; }
.qa-compare-col ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .88rem; }
.qa-open { background: #e9f8f2; }
.qa-closed { background: #fdeaf2; }
.qa-compare-head { margin: 0; font-family: var(--font-en); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.qa-compare-sub { margin: 0; font-size: .78rem; font-weight: 700; }
.qa-open .qa-compare-sub { color: #1e9a72; } .qa-open .qa-compare-sub::before { content: "🔓 "; }
.qa-closed .qa-compare-sub { color: #c2477f; } .qa-closed .qa-compare-sub::before { content: "🔒 "; }
@media (max-width: 560px) { .qa-compare { grid-template-columns: 1fr; } .qa-a { padding-left: 1rem; } .qa-a-mark { display: none; } }

/* ---------------------------------------------------------------- NEWS（build.py 生成） */
.news-section { padding: 0 0 3rem; }
.news-list { display: grid; gap: 1rem; }
.news-card {
    background: #fff; border: none; border-radius: var(--radius);
    box-shadow: var(--shadow); position: relative; overflow: hidden;
    transition: transform .2s ease;
}
.news-card:hover { transform: translateY(-3px); }
.news-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent, #e06fa6); }
.news-card { border-left: none; }
.news-thumb { border-radius: 16px; border: none; }
.news-tag { border-radius: 999px; }
.news-title a { color: var(--ink); }
.news-title a:hover { color: #c2477f; }
.news-more a { font-weight: 800; color: #c2477f; }

/* ---------------------------------------------------------------- 既存部品（楽曲・メンバー詳細・規約など）の明るめ調整 */
.hub-card, .content-card, .song-card, .member-panel, .song-player, .terms-article, .structure-card, .concept-box, .music-card {
    background: #fff; border: none; border-radius: var(--radius); box-shadow: var(--shadow);
}
.song-card { border-left: 6px solid var(--gold-soft); }
.hub-card:hover, .song-card:hover { box-shadow: var(--shadow-lg); }
.hub-icon { filter: saturate(1.2); }
.featured-single, .section-alt { background: var(--dawn-soft); border: none; }
.featured-eyebrow { color: #c2477f; font-family: var(--font-en); font-weight: 700; }
.latest-video-grid iframe, .featured-video iframe, .song-embed-yt iframe { border-radius: 18px; }

.member-hero { background: var(--dawn-soft); padding-top: 4rem; }
.member-hero::before { background: linear-gradient(160deg, var(--accent), transparent 65%); opacity: .22; }
.member-hero-photos { border: 4px solid #fff; border-radius: 28px; box-shadow: var(--shadow-lg); }
.member-romaji { color: var(--accent); font-family: var(--font-en); font-style: normal; font-weight: 600; }
.member-title { font-size: clamp(2.2rem, 6vw, 3rem); }
.badge { background: #fff; border: 2px solid var(--line); color: var(--ink-soft); font-weight: 700; }
.badge-accent { border-color: var(--accent); color: var(--ink); }
.member-panel::before { height: 6px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 20%, #fff)); }
.member-panel-daily::before { background: var(--sun); }
.role-chip, .daily-tag { background: var(--dawn-soft); border: none; color: var(--ink); border-radius: 999px; }
.axis-attr { background: #fff7f1; border-radius: 16px; border: none; }
.member-back { color: var(--ink-soft); font-weight: 700; }
.member-back:hover { color: #c2477f; }

.terms-article h2 { color: var(--ink); }
.youtube-link, .external-link { color: #c2477f; }

/* ---------------------------------------------------------------- footer */
.footer {
    position: relative; margin-top: 2rem;
    background: #2e2450; color: rgba(255,255,255,.88);
    border-top: none; font-family: var(--font-pop);
}
.footer-dawn { height: 8px; background: var(--dawn); }
.footer .container { padding-top: 2.6rem; padding-bottom: 1.6rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-en); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; color: #fff !important; }
.footer-logo small { font-family: var(--font-pop); font-size: .8rem; opacity: .7; }
.footer-sns { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.footer-sns a {
    display: inline-block; padding: .45rem 1rem; border-radius: 999px;
    background: rgba(255,255,255,.1); font-family: var(--font-en); font-weight: 600; font-size: .85rem;
}
.footer-sns a:hover { background: var(--dawn); text-decoration: none; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem 2rem; padding: 1.4rem 0; }
.footer-heading { font-family: var(--font-en); font-weight: 700; letter-spacing: .14em; font-size: .82rem; color: #ffc061; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .88rem; }
.footer-copy { text-align: center; font-size: .78rem; opacity: .6; margin: .6rem 0 0; }

/* ---------------------------------------------------------------- スクロールで出す（JS が .reveal を付ける） */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .d-hero-slides img, .d-hero-scale li { animation: none; }
}

/* Q / A マークは英字フォントだと「a」に見えるので丸ゴシックで */
.qa-q, .qa-a-mark, .bubble-q { font-family: var(--font-pop); font-weight: 800; }

/* ---------------------------------------------------------------- DISCOGRAPHY（音源） */
[data-tags][hidden] { display: none !important; }
.chip small { font-family: var(--font-en); opacity: .75; margin-left: .2rem; }
.track-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.track {
    --c: #e06fa6; --cd: #9a4567;
    display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.track:hover { transform: translateY(-4px); box-shadow: 0 18px 36px color-mix(in srgb, var(--c) 26%, transparent); }
.track-cover { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--dawn); cursor: pointer; }
.track-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.track-cover:hover img { transform: scale(1.05); }
.track-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: rgba(255,255,255,.85); }
.track-play-icon {
    position: absolute; right: 14px; bottom: 14px; width: 52px; height: 52px;
    display: grid; place-items: center; padding-left: 4px; border-radius: 50%;
    background: #fff; color: var(--c); font-size: 1.2rem; box-shadow: 0 8px 18px rgba(0,0,0,.2);
    transition: transform .2s ease;
}
.track-cover:hover .track-play-icon { transform: scale(1.1); }
.track-body { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.1rem 1.3rem 1.3rem; flex: 1; }
.track::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.track[style=""]::after, .track:not([style*="--c"])::after { background: var(--dawn); }
.track-cat { margin: 0; font-family: var(--font-en); font-weight: 700; font-size: .72rem; letter-spacing: .16em; color: var(--cd); }
.track-title { margin: 0; font-size: 1.15rem; line-height: 1.45; }
.track-members { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 0; }
.mchip {
    display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700;
    background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--ink); text-decoration: none;
}
.mchip:hover { background: var(--c); color: #fff; }
.mchip-all { background: var(--dawn); color: #fff; }
.track-facts { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.track-facts li { font-family: var(--font-en); font-weight: 600; font-size: .76rem; padding: .12rem .6rem; border-radius: 8px; background: #f6f1fb; color: var(--ink-soft); }
.track-play {
    margin-top: auto; align-self: stretch; text-align: center; padding: .65rem 1rem; margin-top: .9rem;
    border-radius: 999px; background: var(--sun); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none;
}
.track-play::before { content: "▶ "; }
.track-play:hover { filter: brightness(1.05); }

/* トップ用：横並びのコンパクト版 */
.track-grid-compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.track-compact .track-body { padding: .9rem 1rem 1.1rem; }
.track-compact .track-title { font-size: 1rem; }
.track-compact .track-play { padding: .5rem .8rem; font-size: .82rem; margin-top: .7rem; }

/* ---------------------------------------------------------------- VIDEO（YouTube） */
.vcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.vcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 1.1rem; transition: transform .25s ease; }
.vcard:hover { transform: translateY(-4px); }
.vcard-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dawn-soft); }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vcard-thumb:hover img { transform: scale(1.05); }
.vcard-kind {
    display: inline-block; margin: 1rem 1.2rem 0; padding: .15rem .7rem; border-radius: 999px;
    font-family: var(--font-en); font-weight: 700; font-size: .7rem; letter-spacing: .14em; color: #fff;
}
.vcard-kind-mv { background: #e0556e; }
.vcard-kind-lyric { background: #8b6cf2; }
.vcard-kind-drama { background: #ffa630; }
.vcard-title { margin: .45rem 1.2rem .4rem; font-size: 1.02rem; line-height: 1.5; }
.vcard .track-members { padding: 0 1.2rem; }
.video-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; margin: 2.4rem 0 0; padding: 0; list-style: none; }
.video-links a { font-weight: 800; color: #c2477f; }
.video-links a::after { content: " →"; }

/* ---------------------------------------------------------------- その場で開くプレイヤー */
.player { border: none; padding: 1rem; border-radius: 24px; background: #fff; width: min(92vw, 540px); overflow: visible; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.player.is-video { width: min(94vw, 960px); }
.player::backdrop { background: rgba(46, 36, 80, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.player-title { margin: .2rem 2.4rem .8rem .4rem; font-weight: 800; }
.player-frame iframe { display: block; width: 100%; height: min(620px, 74vh); border: none; border-radius: 16px; }
.player.is-video .player-frame iframe { height: auto; aspect-ratio: 16 / 9; }

/* ナビ：8項目に増えたので、中くらいの幅では詰める */
.logo, .nav-menu a { white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1180px) {
    .nav-ja { display: none; }
    .nav-menu { gap: .1rem; }
    .nav-menu a { padding: .4rem .6rem; }
    .nav-en { font-size: .86rem; }
    .logo, a.logo { font-size: 1.2rem; }
}
@media (min-width: 769px) and (max-width: 940px) {
    .logo, a.logo { font-size: 0; }
    .nav-menu a { padding: .4rem .45rem; }
    .nav-en { font-size: .8rem; letter-spacing: .02em; }
}

/* ---------------------------------------------------------------- プレイヤー：画面の高さに合わせる（スマホ横向き対策） */
.player {
    display: none; flex-direction: column;
    padding: .8rem; max-height: calc(100dvh - 1rem); overflow: hidden;
}
.player[open] { display: flex; }
.player-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; }
.player-title { flex: 1; min-width: 0; margin: 0 0 0 .3rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-ext {
    flex: none; padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 800;
    background: #ff0033; color: #fff; text-decoration: none;
}
.player-ext::after { content: " ↗"; }
.player:not(.is-video) .player-ext { background: var(--ink); }
.player-close {
    flex: none; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
    background: #f3eef8; color: var(--ink); font-size: 1.3rem; line-height: 1;
}
.player-frame { flex: 1; min-height: 0; }
/* 動画：横幅は「画面の幅」と「画面の高さから決まる16:9の幅」の小さいほう */
.player.is-video { width: min(94vw, 1100px, calc((100dvh - 5.5rem) * 16 / 9)); }
.player.is-video .player-frame iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* 音源：画面の高さに収まるように */
.player-frame iframe { height: min(620px, calc(100dvh - 5.5rem)); }

/* スマホ横向きなど、高さが低い画面 */
@media (max-height: 500px) {
    .player { padding: .45rem; border-radius: 14px; max-height: calc(100dvh - .5rem); }
    .player-head { margin-bottom: .35rem; }
    .player-title { font-size: .85rem; }
    .player-ext { padding: .3rem .7rem; font-size: .74rem; }
    .player-close { width: 32px; height: 32px; }
    .player.is-video { width: min(98vw, calc((100dvh - 3.6rem) * 16 / 9)); }
    .player-frame iframe { height: calc(100dvh - 3.6rem); border-radius: 10px; }
}

.vcard-yt {
    display: inline-block; margin: .7rem 1.2rem 0; font-size: .8rem; font-weight: 800;
    color: #e0002b; text-decoration: none;
}
.vcard-yt::before { content: "▶ "; }
.vcard-yt::after { content: " ↗"; }
.vcard-yt:hover { text-decoration: underline; }

/* 既存CSSの余白リセットで左上に寄るので、ダイアログは画面中央に */
.player, .lightbox { margin: auto; }

/* 音源プレイヤー：中身に合わせた高さ。画面が低いとき（スマホ横向き）はダイアログをスクロールさせる */
.player:not(.is-video) { overflow-y: auto; }
.player:not(.is-video) .player-frame iframe { height: 440px; }
@media (max-height: 500px) {
    .player:not(.is-video) .player-frame iframe { height: 440px; }
}

/* ---------------------------------------------------------------- SCHEDULE */
.sch-list { display: grid; gap: 1rem; }
.sch {
    --t: #e06fa6;
    display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: start;
    background: #fff; border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.sch::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--t); }
.sch-release { --t: #ff7a5c; } .sch-lyric { --t: #8b6cf2; } .sch-mv { --t: #e0556e; }
.sch-drama { --t: #ffa630; } .sch-live { --t: #3fb8c9; } .sch-event { --t: #8f88a3; }
.sch-date {
    margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    aspect-ratio: 1; border-radius: 20px; background: color-mix(in srgb, var(--t) 12%, #fff);
    font-family: var(--font-en); line-height: 1.1; color: var(--ink);
}
.sch-y { font-size: .72rem; font-weight: 600; opacity: .6; }
.sch-md { font-size: 1.6rem; font-weight: 700; color: var(--t); }
.sch-wd { font-family: var(--font-pop); font-size: .78rem; font-weight: 800; }
.sch-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.sch-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.sch-type { padding: .14rem .7rem; border-radius: 999px; background: var(--t); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: .7rem; letter-spacing: .12em; }
.sch-count:empty { display: none; }
.sch-count { padding: .14rem .7rem; border-radius: 999px; font-weight: 800; font-size: .76rem; background: #f3eef8; color: var(--ink); }
.sch-count.is-soon { background: var(--sun); color: #fff; }
.sch-count.is-today { background: var(--dawn); color: #fff; animation: bob 1.6s ease-in-out infinite; }
.sch-count.is-past { background: #eee; color: var(--ink-faint); }
.sch-title { margin: .1rem 0 0; font-size: 1.15rem; line-height: 1.5; }
.sch-when { margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.sch-when::before { content: "🕗 "; }
.sch-summary { margin: .2rem 0 0; font-size: .9rem; line-height: 1.8; color: var(--ink-soft); }
.sch-link { margin-top: .3rem; font-size: .85rem; font-weight: 800; color: #c2477f; text-decoration: none; }
.sch-link::after { content: " →"; }
.sch.is-today { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--t), var(--shadow-lg); }
.sch.is-past .sch-date { filter: grayscale(.6); opacity: .8; }
.sch-heading { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.2rem; font-size: 1.3rem; }
.sch-heading::after { content: ""; flex: 1; height: 4px; border-radius: 4px; background: var(--dawn); }
.sch-heading-past { margin-top: 3rem; }
.sch-heading-past::after { background: #e6e0ee; }
.sch-month { margin: 1.4rem 0 .7rem; font-family: var(--font-en); font-weight: 700; font-size: 1.1rem; color: var(--ink-faint); }
.sch-list-past .sch { box-shadow: 0 4px 14px rgba(120,70,150,.07); }
.sch-empty {
    margin: 0; padding: 1.6rem; border-radius: var(--radius); text-align: center; line-height: 1.9;
    background: linear-gradient(#fff, #fff) padding-box, var(--dawn) border-box; border: 3px dashed transparent;
    color: var(--ink-soft); font-weight: 700;
}
.sch-compact { grid-template-columns: 78px 1fr; padding: 1rem 1.2rem; }
.sch-compact .sch-md { font-size: 1.3rem; }
.sch-compact .sch-title { font-size: 1.02rem; }
.d-sec-schedule { padding-top: 2rem; }
@media (max-width: 520px) {
    .sch { grid-template-columns: 72px 1fr; gap: .9rem; padding: 1rem; }
    .sch-md { font-size: 1.25rem; }
}
.sch-new { padding: .14rem .6rem; border-radius: 999px; background: #ff2d6f; color: #fff; font-family: var(--font-en); font-weight: 700; font-size: .7rem; letter-spacing: .12em; animation: bob 1.8s ease-in-out infinite; }
.sch-new[hidden] { display: none; }

/* ---------------------------------------------------------------- 納品写真（2026-10-28） */
/* ヒーロー：PC/スマホで出し分ける <picture> を重ねてクロスフェード */
/* 2026-11-20 ヒーローは9人の集合写真1枚で固定（スライドしない）。
   スライドに戻すときは index.html のコメントアウトを外し、ここを heroFade のクロスフェードに戻す */
.d-hero-slides > picture { position: absolute; inset: 0; opacity: 1; animation: none; }
.d-hero-slides > picture img { opacity: 1; animation: none; transform: none; object-position: center 70%; }
@media (max-width: 768px) { .d-hero-slides > picture img { object-position: center bottom; } }
/* 写真が明るくなったので、ベールは薄めに（文字が読める程度） */
.d-hero-veil {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(46,36,80,.42) 0%, rgba(46,36,80,.18) 45%, transparent 70%),
        linear-gradient(180deg, rgba(46,36,80,.25) 0%, rgba(46,36,80,0) 35%, rgba(46,36,80,.35) 100%);
}
@media (prefers-reduced-motion: reduce) { .d-hero-slides > picture { animation: none; } }

/* 下層ページのヒーロー：夜明けの空 */
.d-page-hero {
    background:
        linear-gradient(180deg, rgba(60,50,120,.25), rgba(255,140,110,.15)),
        url("images/site/sky-dawn.webp") center 35% / cover no-repeat,
        var(--dawn);
}

/* トップ：NeoGamiPop の吹き出しに静物写真 */
.bubble-img { display: block; margin: -2rem -1.6rem 1rem; border-radius: 28px 28px 0 0; overflow: hidden; aspect-ratio: 16 / 8; }
.bubble-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Q&A：NeoGamiPop の答えに写真 */
.qa-figure { margin: 0 0 1rem; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.qa-figure img { display: block; width: 100%; height: auto; }

/* ファンクラブ：楽屋の写真 */
.fc-banner-photo { padding-top: 0; overflow: hidden; }
.fc-banner-img { display: block; align-self: stretch; margin: 0 -1.6rem 1rem; aspect-ratio: 1920 / 640; overflow: hidden; }
.fc-banner-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.fc-visual { margin: 0 0 1.6rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.fc-visual img { display: block; width: 100%; height: auto; }

/* フォト：MEMBER ONLY はオフショットをぼかして見せる */
.photo-locked .photo-open { position: relative; overflow: hidden; background: var(--dawn-soft); }
.photo-locked .lock-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: blur(14px) saturate(1.1); transform: scale(1.15); opacity: .85;
}
.photo-locked .lock-badge, .photo-locked .lock-text { position: relative; z-index: 1; }
.photo-locked .lock-text { color: #fff; text-shadow: 0 1px 8px rgba(40,20,60,.6); }
/* ABOUT の写真：人物が切れないよう、写真ごとに見せる位置を調整 */
.bubble-img img[src*="banner-2"] { object-position: center 30%; }
.bubble-img img[src*="banner-1"] { object-position: center 75%; }

/* ---------------------------------------------------------------- 一覧の「もっと見る」 */
.is-paged-out { display: none !important; }
.pager-more[hidden] { display: none; }
.pager-more .d-btn { cursor: pointer; font: inherit; font-weight: 800; }
.pager-more .d-btn::after { content: "↓"; }

/* ---------------------------------------------------------------- フォト：オフショット（ファンクラブ限定予定） */
.photo-member .photo-open { position: relative; }
.photo-member .lock-badge {
    position: absolute; left: .6rem; top: .6rem; z-index: 1;
    font-size: .68rem; padding: .25rem .7rem; box-shadow: 0 4px 12px rgba(40,20,60,.3);
}

/* LINE公式アカウントの案内（トップ・ファンクラブ） */
.line-cta {
    display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
    background: #fff; border-radius: 26px; padding: 1.8rem 1.6rem; box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.line-cta-body { flex: 1 1 280px; max-width: 460px; text-align: center; }
.line-cta-en { font-family: var(--font-en); font-weight: 700; letter-spacing: .16em; font-size: .8rem; color: #06a346; margin: 0 0 .2rem; }
.line-cta-title { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 0 0 .6rem; }
.line-cta-text { color: var(--ink-soft); line-height: 1.8; font-size: .92rem; margin: 0 0 1.1rem; }
.line-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: #06c755; color: #fff; font-weight: 800; font-size: 1rem;
    padding: .9rem 2rem; border-radius: 999px; text-decoration: none;
    box-shadow: 0 6px 16px rgba(6, 199, 85, .28); transition: transform .2s ease, box-shadow .2s ease;
}
.line-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(6, 199, 85, .34); text-decoration: none; color: #fff; }
.line-cta-id { font-size: .8rem; color: var(--ink-faint); margin: .7rem 0 0; }
.line-qr { display: none; margin: 0; text-align: center; }
.line-qr img { width: 150px; height: 150px; display: block; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.line-qr figcaption { font-size: .75rem; color: var(--ink-faint); margin-top: .4rem; }
@media (min-width: 760px) and (hover: hover) { .line-qr { display: block; } }
.fc-card + .line-cta { margin-top: 1.6rem; }
/* 集合写真は顔が上寄りなので、上側を残して切る */
.d-hero-slides > picture:nth-child(1) img { object-position: center 25%; }

/* 2026-11-20 メンバーページのスライドに9人ゴシック衣装の写真を足す：候補生は6枚（24秒周期 = 1枚あたり4秒） */
.member-hero-photos--6 img { animation: memberHeroFade6 24s infinite; }
.member-hero-photos--6 img:nth-child(2) { animation-delay: 4s; }
.member-hero-photos--6 img:nth-child(3) { animation-delay: 8s; }
.member-hero-photos--6 img:nth-child(4) { animation-delay: 12s; }
.member-hero-photos--6 img:nth-child(5) { animation-delay: 16s; }
.member-hero-photos--6 img:nth-child(6) { animation-delay: 20s; }
@keyframes memberHeroFade6 {
    0%    { opacity: 0; }
    2%    { opacity: 1; }
    14.7% { opacity: 1; }
    16.7% { opacity: 0; }
    100%  { opacity: 0; }
}

/* 2026-11-21 スマホのヒーロー：写真を上・ロゴと文字を下に分ける（集合写真の9人が全員見えるように）。
   写真の縦横比は --hero-ar（index.html の <picture> の source と合わせる） */
@media (max-width: 768px) {
    .d-hero { display: block; min-height: 0; }
    .d-hero-slides { position: relative; inset: auto; height: auto; aspect-ratio: var(--hero-ar, 960 / 1320); }
    .d-hero-slides > picture img,
    .d-hero-slides > picture:nth-child(1) img { object-position: center top; }
    .d-hero-slides::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
        background: linear-gradient(180deg, rgba(59,47,110,0) 0%, #3b2f6e 100%);
    }
    .d-hero-veil { display: none; }
    .d-hero-inner { padding-top: .5rem; padding-bottom: 6.5rem; }
}

/* 2026-11-21 ヒーローの集合写真に9人の名前を重ねる。
   PC：写真は object-fit: cover で切られるので、名前の帯の幅を写真の表示幅（16:9 で覆う幅）に合わせ、9等分のパネルの真下に置く */
.d-hero-names { position: absolute; inset: 0; z-index: 1; container-type: size; pointer-events: none; }
.d-hero-names ol {
    position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%);
    width: max(100cqw, 100cqh * 16 / 9);
    display: grid; grid-template-columns: repeat(9, 1fr);
    margin: 0; padding: 0; list-style: none;
}
.d-hero-names li { display: flex; justify-content: center; }
.d-hero-names a {
    pointer-events: auto;
    display: inline-flex; align-items: center; gap: .4em;
    padding: .25em .8em; border-radius: 999px;
    background: rgba(30, 24, 60, .55); backdrop-filter: blur(4px);
    color: #fff; font-weight: 700; font-size: clamp(.8rem, 1.1vw, 1rem); letter-spacing: .08em;
    text-decoration: none; white-space: nowrap;
}
.d-hero-names a::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.d-hero-names a:hover { background: rgba(30, 24, 60, .8); }
/* 名前の点がメンバーの色を兼ねるので、ヒーローの色の点の列は出さない */
.d-hero-names ~ .d-hero-scale { display: none; }
/* スマホ：3×3 の写真のコマごとに、下の端に名前 */
@media (max-width: 768px) {
    .d-hero-names { inset: 0 0 auto 0; aspect-ratio: var(--hero-ar, 960 / 1320); container-type: normal; }
    .d-hero-names ol {
        inset: 0; left: 0; bottom: 0; transform: none; width: 100%;
        grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
    }
    .d-hero-names li { align-items: flex-end; padding-bottom: 6%; }
    .d-hero-names a { font-size: .8rem; padding: .2em .7em; }
}

/* 2026-11-21 PC（スマホ表示に切り替わるまで）：ヒーローを写真と同じ 16:9 にして、9人を左右とも切らずに見せる。
   ロゴと文字は画面幅に合わせて縮め、写真の中に収める */
@media (min-width: 769px) {
    .d-hero { min-height: 0; aspect-ratio: 16 / 9; }
    .d-hero-slides > picture img,
    .d-hero-slides > picture:nth-child(1) img { object-position: center center; }
    .d-hero-inner { padding-top: 0; padding-bottom: 4.5rem; }
    .d-hero-logo { width: min(560px, 36vw); }
    .d-hero-catch { font-size: clamp(1.6rem, 3.4vw, 3rem); margin-top: .4em; margin-bottom: .4em; }
    .d-hero-lead { margin-bottom: clamp(.8rem, 2vw, 2rem); }
}

/* ---- 公式ちびキャラ（2026-11-22）---- */
.pm-photo img.pm-chibi {
    position: absolute; z-index: 2; right: 4px; bottom: 2px;
    width: 34%; height: auto; object-fit: contain; object-position: bottom;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
    transform-origin: bottom center; transition: transform .35s ease;
}
.pm:hover .pm-photo img.pm-chibi { transform: translateY(-4px) rotate(-4deg); }
.pm-mini .pm-photo img.pm-chibi { width: 38%; }
.member-hero-text .member-chibi {
    float: right; width: 120px; height: auto; margin: 0 0 .5rem 1rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
    animation: chibi-hop 3.2s ease-in-out infinite;
}
@keyframes chibi-hop { 0%, 80%, 100% { transform: translateY(0); } 88% { transform: translateY(-8px); } }
.footer-chibi { display: block; max-width: 620px; margin: 0 auto 1.6rem; }
.footer-chibi img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: transform .35s ease; }
.footer-chibi:hover img { transform: translateY(-4px); }
@media (max-width: 760px) {
    .member-hero-text .member-chibi { float: none; display: block; width: 96px; margin: 0 auto .6rem; }
    .footer-chibi { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .member-hero-text .member-chibi { animation: none; }
}
/* 横長のニュース画像（ちびキャラの並び）は記事の幅いっぱいに */
.news-article-image[src*="images/news/chibi"] { max-width: 720px; }

/* ===== ファンアート資料（fanart.html、2026-11-26） ===== */
.fa-steps { margin: 0; padding-left: 1.4rem; }
.fa-steps li { margin: .5rem 0; }
.fa-steps b { display: block; color: var(--ink); }
.fa-list { margin: .4rem 0 0; padding-left: 1.2rem; }
.fa-list li { margin: .2rem 0; }
.fa-note { color: var(--ink-soft); font-size: .92rem; margin-top: 1rem; }
.fa-btn-sub { margin-left: .4rem; }
.fa-jump { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; padding: 0; margin: 0 0 2.4rem; }
.fa-jump a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow); border-left: 6px solid var(--fa-accent); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; }
.fa-member { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; margin: 0 0 2.4rem; border-top: 8px solid var(--fa-accent); scroll-margin-top: 90px; }
.fa-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1rem; }
.fa-name { margin: 0; font-size: 1.6rem; color: var(--ink); }
.fa-name small { margin-left: .6rem; font-family: var(--font-en); font-size: .95rem; color: var(--fa-accent); letter-spacing: .04em; }
.fa-role { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.fa-sheets { display: grid; gap: 1rem; }
.fa-sheet { margin: 0; }
.fa-sheet img { width: 100%; height: auto; border-radius: 14px; display: block; background: #eee; }
.fa-sheet figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .35rem; }
.fa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.fa-box { background: var(--bg-alt); border-radius: 14px; padding: 1rem 1.1rem; }
.fa-box h3 { margin: 0 0 .5rem; font-size: 1rem; color: var(--ink); }
.fa-colors { list-style: none; margin: 0; padding: 0; }
.fa-colors li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: .1rem .6rem; margin: .35rem 0; }
.fa-colors small { grid-column: 2 / 4; color: var(--ink-faint); font-size: .8rem; line-height: 1.4; }
.fa-colors code { font-size: .82rem; color: var(--ink-soft); }
.fa-chip { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(0,0,0,.12); grid-row: span 2; }
.fa-msg { margin: 1.4rem 0 0; padding: .9rem 1.1rem; border-radius: 14px; background: #fff; border: 2px dashed var(--fa-accent); color: var(--ink); }
.fa-msg span { display: inline-block; margin-right: .6rem; padding: .05rem .6rem; border-radius: 999px; background: var(--fa-accent); color: #fff; font-weight: 700; font-size: .85rem; }
.fa-back { margin-top: 2rem; }
@media (max-width: 600px) { .fa-member { padding: 1.2rem; } .fa-name { font-size: 1.3rem; } }

/* ---------------------------------------------------------------- メンバーのプロフィール欄・誕生日（2026-11-26） */
.member-profile {
    position: relative; margin: 0 0 2rem; padding: 1.6rem 1.8rem; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.member-profile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--c, var(--accent)), var(--cd, #fff)); }
.mp-intro {
    margin: .4rem 0 1.2rem; padding: 1rem 1.2rem; border-radius: 16px; background: color-mix(in srgb, var(--c, #e06fa6) 10%, #fff);
    font: 800 1.05rem/1.7 var(--font-pop); color: var(--ink);
}
.mp-intro small { display: block; margin-top: .3rem; font-size: .72rem; font-weight: 700; color: var(--ink-faint); }
.mp-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; margin: 0; }
.mp-row { padding: .7rem 1rem; border-radius: 14px; background: #fff7f1; }
.mp-row dt { font-size: .72rem; font-weight: 800; color: var(--ink-faint); letter-spacing: .06em; }
.mp-row dd { margin: .15rem 0 0; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.mp-row dd a { color: #c2477f; }
.mp-emoji { font-size: 1.4rem; line-height: 1; }
.mp-note { margin: 1rem 0 0; font-size: .82rem; line-height: 1.8; color: var(--ink-soft); }

.bday-banner {
    position: relative; margin: 0 0 1.6rem; padding: 1.4rem 1.6rem 1.4rem 8.5rem; min-height: 9rem; border-radius: var(--radius);
    background: linear-gradient(120deg, color-mix(in srgb, var(--c) 22%, #fff), #fff7e8);
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c), var(--shadow-lg); overflow: hidden;
}
.bday-banner[hidden] { display: none; }
.bday-chibi { position: absolute; left: 1.2rem; bottom: -.4rem; width: 6.2rem; height: auto; }
.bday-en { margin: 0; font: 700 .9rem var(--font-en); letter-spacing: .2em; color: var(--cd, #c2477f); }
.bday-title { margin: .2rem 0 .3rem; font: 800 clamp(1.15rem, 3.4vw, 1.5rem)/1.5 var(--font-pop); color: var(--ink); }
.bday-title a { color: inherit; text-decoration: none; border-bottom: 3px solid var(--c); }
.bday-text { margin: 0; font-size: .88rem; line-height: 1.8; color: var(--ink-soft); }
.bday-text a { color: #c2477f; font-weight: 800; }
#top-birthday .container { padding-top: 2rem; }
@media (max-width: 560px) {
    .bday-banner { padding: 1.2rem 1.2rem 1.2rem 6.4rem; }
    .bday-chibi { left: .6rem; width: 5rem; }
    .member-profile { padding: 1.4rem 1.2rem; }
}

/* ---------------------------------------------------------------- スケジュール：種類・絞り込み・月カレンダー・登録（2026-11-26） */
.sch-goods { --t: #fc4d50; } .sch-birthday { --t: #f06fa0; }
.chip-sch { --c: var(--t); }
a.sch-cal { margin-top: .1rem; font-size: .78rem; font-weight: 700; color: var(--ink-faint); text-decoration: none; }
a.sch-cal:hover { color: #c2477f; }
.sch.is-past a.sch-cal { display: none; }
div.sch-cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 0 0 1.6rem; }
.sch-cal-month { background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem 1.2rem; box-shadow: var(--shadow); }
.sch-cal-title { margin: 0 0 .6rem; font: 700 1.1rem var(--font-en); color: var(--ink); }
.sch-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.sch-cal-wd { font-size: .7rem; font-weight: 800; color: var(--ink-faint); padding-bottom: .2rem; }
.sch-cal-wd:nth-child(6) { color: #5b7fd6; } .sch-cal-wd:nth-child(7) { color: #e0556e; }
.sch-cal-day { position: relative; min-height: 2.6rem; padding-top: .2rem; border-radius: 10px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.sch-cal-day.is-out { visibility: hidden; }
.sch-cal-day.has-ev { background: #fff3ec; color: var(--ink); }
.sch-cal-day.is-today { box-shadow: inset 0 0 0 2px #c2477f; }
.sch-cal-n { display: block; line-height: 1.3; }
.sch-cal-ev {
    display: inline-block; min-width: .7rem; height: .7rem; margin: .1rem 1px 0; border-radius: 999px;
    background: var(--t); font-size: .7rem; line-height: .7rem; text-decoration: none; vertical-align: middle;
}
.sch-cal-ev.sch-birthday { background: none; width: auto; height: auto; line-height: 1; }
.sch-cal-ev:hover { transform: scale(1.25); }
.sch-subscribe { margin: 0 0 1.6rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--dawn-soft); text-align: center; }
.sch-subscribe-text { margin: 0 0 .7rem; font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.8; }
.sch-subscribe-btns { margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.sch-subscribe-btns .d-btn { font-size: .85rem; }
.sch-month[hidden], .sch-list[hidden] { display: none; }

/* ---------------------------------------------------------------- 利用規約の付則（公式スタンス）
   styles.css（暗いテーマ）の「グラデーション背景＋白文字」が、明るいテーマでは白地に白文字になっていたので合わせる（2026-11-27） */
.terms-summary { background: var(--dawn-soft); }
.terms-summary h2, .terms-summary p { color: var(--ink); }
.terms-summary strong { color: var(--ink); }
.summary-box {
    position: relative; background: #fff; border-radius: 18px; padding: 1.6rem 1.8rem 1.6rem 2.2rem;
    box-shadow: var(--shadow); overflow: hidden;
}
.summary-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--dawn); }
.summary-box blockquote p { color: var(--ink); }
.summary-box blockquote p:last-child { color: var(--ink-soft); font-size: 1rem; }
