/* ふんわり明るい：ホワイト / グレー / ペールホワイト */
:root {
  --white: #ffffff;
  --pale: #f7f6f3;       /* ペールホワイト（背景） */
  --pale-2: #efeeea;
  --gray-100: #e9eaec;
  --gray-300: #cfd3d8;
  --gray-500: #9aa0a8;
  --gray-700: #6b7078;   /* 文字 */
  --gray-900: #4a4e55;
  --pink: #f3e3e6;       /* ごく薄いアクセント */
  --shadow: none; /* 元の影: 0 8px 28px rgba(120, 125, 135, .12) */
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gray-700);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8;
  background-color: var(--pale);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 6px, transparent 7px),
    radial-gradient(circle, rgba(207,211,216,.18) 3px, transparent 4px);
  background-size: 48px 48px;
  background-position: 0 0, 24px 24px;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.site-header nav {
  max-width: 1100px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 20px; color: var(--gray-900); }
.logo-mark { width: 38px; height: 38px; }
.site-header ul { list-style: none; display: flex; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header li a {
  display: block; padding: 8px 14px; font-size: 14px; border-radius: 999px; transition: .25s;
}
.site-header li a:hover { background: var(--pale-2); color: var(--gray-900); }

/* 共通 */
main > section { max-width: 1000px; margin: 0 auto; padding: 72px 20px 0; }
.sec-title {
  font-size: 26px; color: var(--gray-900); margin: 0 0 20px; text-align: center; letter-spacing: .08em;
}
.sec-title::after {
  content: ""; display: block; width: 44px; height: 4px; margin: 10px auto 0;
  border-radius: 4px; background: var(--gray-300);
}
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 999px;
  background: var(--white); color: var(--gray-900); border: 2px solid var(--gray-300);
  box-shadow: var(--shadow); transition: .25s; font-size: 15px;
}
.btn:hover { transform: translateY(-3px); background: var(--gray-900); color: #fff; border-color: var(--gray-900); }
.btn.ghost { opacity: .6; pointer-events: none; }

/* ヒーロー */
.ashiro {
  position: relative; text-align: center; overflow: hidden;
  margin-top: 28px !important; padding: 56px 20px 60px !important;
  background: linear-gradient(180deg, #fff 0%, var(--pale) 100%);
  border-radius: 12px; box-shadow: var(--shadow);
}
.ashiro-nyan { width: 180px; height: 180px; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 10px 16px rgba(120,125,135,.2)); }
.ashiro-kicker { font-size: 12px; letter-spacing: .35em; color: var(--gray-500); margin: 10px 0 0; }
.ashiro h1 { font-size: clamp(34px, 7vw, 56px); margin: 4px 0 12px; color: var(--gray-900); letter-spacing: .1em; }
.ashiro h1 span { display: block; font-size: .3em; letter-spacing: .4em; color: var(--gray-500); font-weight: normal; }
.ashiro-lead { margin-bottom: 28px; }
.bubble { position: absolute; border-radius: 50%; --c: rgba(207,211,216,.45);
  --o: 20px;   /* 線が始まる位置（左上の端から） */
  background: linear-gradient(135deg, var(--c) var(--o),
    transparent var(--o) calc(var(--o) + 8px), var(--c) calc(var(--o) + 8px) calc(var(--o) + 16px),
    transparent calc(var(--o) + 16px) calc(var(--o) + 24px), var(--c) calc(var(--o) + 24px) calc(var(--o) + 32px),
    transparent calc(var(--o) + 32px) calc(var(--o) + 40px), var(--c) calc(var(--o) + 40px)); }  /* 円は塗りつぶし、斜線3本だけ抜く（背景色） */
.b1 { width: 140px; height: 140px; left: -30px; top: 30px; --o: 125px; }
.b2 { width: 90px; height: 90px; right: 8%; top: 40px; --c: rgba(236,205,212,.7); --o: 14px; }
.b3 { width: 200px; height: 200px; right: -50px; bottom: -60px; --o: 40px; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* お知らせ */
.news ul {
  list-style: none; margin: 0; padding: 8px 24px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.news li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--gray-100); font-size: 15px; flex-wrap: wrap; }
.news li:last-child { border: 0; }
.news time { color: var(--gray-500); font-size: 13px; }
.tag { font-size: 11px; padding: 2px 12px; border-radius: 999px; background: var(--pale-2); color: var(--gray-700); }

/* キャラ紹介 */
.key { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.key-text { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.key-text .sec-title { text-align: left; }
.key-text .sec-title::after { margin-left: 0; }
.profile { margin: 0 0 24px; }
.profile div { display: flex; padding: 8px 0; border-bottom: 1px dashed var(--gray-100); font-size: 15px; }
.profile dt { width: 40%; color: var(--gray-700); }
.profile dd { margin: 0; }
.key-art {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%;
  background: radial-gradient(circle at 40% 35%, #fff, var(--pale-2));
  box-shadow: var(--shadow);
}
.key-art svg { width: 70%; height: 70%; }
.key-art small { color: var(--gray-500); font-size: 11px; }

/* スクロールで出現 */
.reveal-left, .reveal-right { opacity: 0; transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

/* ヒストリー */
.timeline { list-style: none; max-width: 640px; margin: 0 auto; padding: 0 0 0 28px; border-left: 3px solid var(--gray-300); }
.timeline li { position: relative; margin-bottom: 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -38px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--gray-500);
}
.date { font-size: 13px; color: var(--gray-500); }
.timeline li > div { background: var(--white); border-radius: 12px; padding: 14px 20px; box-shadow: var(--shadow); margin-top: 4px; }
.timeline h3 { margin: 0 0 4px; font-size: 17px; color: var(--gray-900); }
.timeline p { margin: 0; font-size: 14px; }

/* ギャラリー */
.gallery-sec { text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 28px; }
.g {
  aspect-ratio: 1; display: grid; place-items: center; background: var(--white);
  border-radius: 12px; box-shadow: var(--shadow); transition: .3s;
}
.g:hover { transform: translateY(-6px) rotate(-1.5deg); }
.g svg { width: 62%; height: 62%; opacity: .85; }
.g:nth-child(even) { background: var(--pale-2); }

/* カード */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: center; }
.card { background: var(--white); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow); }

/* SNS */
.sns { text-align: center; padding-bottom: 72px !important; }
.sns ul { list-style: none; display: flex; justify-content: center; gap: 14px; padding: 0; margin: 0; flex-wrap: wrap; }
.sns a { display: block; padding: 12px 26px; border-radius: 999px; background: var(--gray-700); color: #fff; font-size: 14px; transition: .25s; }
.sns a:hover { background: var(--gray-900); transform: translateY(-3px); }

/* フッター */
footer { text-align: center; padding: 20px; font-size: 13px; color: var(--gray-500); background: var(--white); border-top: 1px solid var(--gray-100); }
footer p { margin: 0; }

@media (max-width: 760px) {
  .key, .cards { grid-template-columns: 1fr; }
  .key-art { max-width: 320px; margin: 0 auto; }
  .site-header nav { justify-content: center; }
}

/* ===== サブページ用（追加） ===== */
.page-head { padding-top: 40px; }
.key-art .tatie-image { width: 70%; height: auto; }
.g img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.back { text-align: center; padding-bottom: 72px; }

/* ===== 横幅を広げる（追加） ===== */
.site-header nav { max-width: min(1600px, 94vw); }
main > section   { max-width: min(1500px, 94vw); }

/* キャラ紹介: 立ち絵を枠いっぱいに（全画面幅共通） */
.key-art   { aspect-ratio: auto; border-radius: var(--radius); }
.key-art .tatie-image { width: 100%; height: auto; max-height: 80vh; object-fit: contain; }

/* キャラ紹介: PC幅だけ左右同幅・余白広め（スマホの1列指定を壊さない） */
@media (min-width: 761px) {
  .key      { grid-template-columns: 1fr 1fr; gap: 48px; }
  .key-text { padding: 56px; }
}

/* ===== ヒーロー画像（追加） ===== */
.main-image {
  display: block; margin: 0 auto 16px;
  width: min(380px, 72%); height: auto;
  border-radius: 12px; box-shadow: var(--shadow);
}

/* ===== カード全体がリンク（追加） ===== */
.card-link {
  position: relative; display: block; color: inherit;
  transition: background-color .25s, transform .25s;
}
.card-link:hover,
.card-link:focus-visible {
  background: var(--white); transform: translateY(-4px); outline: none;
}
.card-link:hover .sec-title::after { background: var(--glow, var(--gray-700)); }

/* ネオン: 左下から反時計回りに、くっきりした色の線がカードを一周して囲む
   --p : 線がどこまで伸びたか（0deg〜360deg）／ --glow・--start : JSが入れる色と開始位置 */
@property --p { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.card-link::before {
  content: ""; position: absolute; inset: -3px; padding: 3px;
  border-radius: calc(var(--radius) + 3px);
  background: conic-gradient(from var(--start, 225deg),
              transparent calc(360deg - var(--p)), var(--glow, #ff8a1f) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  --p: 0deg;
  transition: --p .15s ease-in;          /* カーソルを外したときは、すばやく消える */
}
.card-link:hover::before,
.card-link:focus-visible::before {
  --p: 360deg;
  transition: --p .8s ease-out;          /* 一周する速さ（秒数を変えると速さが変わる） */
}

/* ===== カードを3列にそろえる（追加・PC幅のみ） ===== */
@media (min-width: 761px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* 動きを減らす設定の人には、線をすぐに表示（浮き上がり・フェードなし） */
@media (prefers-reduced-motion: reduce) {
  .card-link { transition: none; }
  .card-link:hover, .card-link:focus-visible { transform: none; }
  .card-link::before, .card-link:hover::before, .card-link:focus-visible::before { transition: none; }
}
/* ===== 並びを中央にそろえる（追加） ===== */
/* ガイドライン: カードの枚数が余っても、最後の行を中央に寄せる（PC幅は2列、スマホは1列） */
.cards-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.cards-center > .card { flex: 0 0 100%; }
@media (min-width: 761px) {
  .cards-center > .card { flex: 0 0 calc((100% - 24px) / 2); }
}

/* イラスト: 4列（スマホは2列）。枚数が余っても中央寄せ。画像は切り抜かず全体を表示 */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.gallery .g { flex: 0 0 calc((100% - 20px) / 2); }
@media (min-width: 761px) {
  .gallery .g { flex: 0 0 calc((100% - 60px) / 4); }
}
.g img { object-fit: contain; padding: 10px; }

/* ===== イラストの拡大表示（追加） ===== */
.g { cursor: zoom-in; }
.g:focus-visible { outline: 3px solid var(--gray-500); outline-offset: 3px; }

.lb {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: rgba(60, 64, 70, .88);
  animation: lb-in .2s ease-out;
}
.lb[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }

.lb-img {
  max-width: min(92vw, 1100px); max-height: 84vh;
  object-fit: contain; background: var(--white);
  border-radius: 12px; touch-action: pan-y;   /* 横スワイプをJSで受ける */
  user-select: none; -webkit-user-drag: none;
}
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--gray-300); background: var(--white); color: var(--gray-900);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, color .2s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--gray-900); color: var(--white); outline: none; }
.lb-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }
.lb-count {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  margin: 0; color: var(--white); font-size: 14px; letter-spacing: .1em;
}
@media (max-width: 760px) {
  .lb-btn { width: 44px; height: 44px; font-size: 17px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { right: 8px; top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lb { animation: none; }
  .lb-btn { transition: none; }
}

/* ===== サブページの見出し：背面に白い帯（画面幅いっぱい） ===== */
.page-head {
  position: relative;
  padding: 36px 0;
  margin-bottom: 40px;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.page-head .sec-title { margin: 0; }

/* 単独画像も拡大できる */
.tatie-image { cursor: zoom-in; }

/* ヒーロー画像：ゆっくり浮かぶ */
.main-image { animation: float 4s ease-in-out infinite; cursor: pointer; transform-origin: 50% 100%; }
/* クリックでぷよん（scale は float の transform と干渉しない） */
.main-image.puyon { animation: float 4s ease-in-out infinite, puyon .7s ease-out; }
@keyframes puyon {
  0%   { scale: 1 1; }
  20%  { scale: 1.14 .84; }
  40%  { scale: .92 1.1; }
  60%  { scale: 1.05 .96; }
  80%  { scale: .98 1.02; }
  100% { scale: 1 1; }
}
@media (prefers-reduced-motion: reduce) { .main-image, .main-image.puyon { animation: none; } }

/* ===== バルス（history ページ）===== */
.balse-trigger { cursor: pointer; transition: color .2s; }
.balse-trigger:hover, .balse-trigger:focus-visible { color: #d33; }
.balse-ch { display: inline-block; }
.balse-flash {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: rgba(255, 0, 0, .38);
  animation: balse-blink .4s steps(1, end) infinite;
}
@keyframes balse-blink { 0% { opacity: 1; } 50% { opacity: 0; } }
.balse-shake { animation: balse-shake .06s steps(1, end) infinite; }   /* 小刻みに高速で震える */
@keyframes balse-shake {
  0%   { transform: translate(-3px, 1px) rotate(-.15deg); }
  25%  { transform: translate(2px, -2px) rotate(.12deg); }
  50%  { transform: translate(-1px, 3px) rotate(-.1deg); }
  75%  { transform: translate(3px, -1px) rotate(.15deg); }
}
/* 崩壊中：世界が赤く染まったような赤いフィルムを全面にかぶせる（白い部分も染まる） */
.balse-film {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: rgba(255, 0, 0, .38);
}

/* ===== イラストにも、カードと同じネオンの線（色はランダム）===== */
.gallery .g { position: relative; }
.gallery .g::before {
  content: ""; position: absolute; inset: -3px; padding: 3px;
  border-radius: calc(12px + 3px);
  background: conic-gradient(from var(--start, 225deg),
              transparent calc(360deg - var(--p)), var(--glow, #ff8a1f) 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  --p: 0deg;
  transition: --p .15s ease-in;
}
.gallery .g:hover::before,
.gallery .g:focus-visible::before { --p: 360deg; transition: --p .8s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .gallery .g::before, .gallery .g:hover::before, .gallery .g:focus-visible::before { transition: none; }
}

/* ===== スマホで見やすく（追加）===== */
/* 文字: 本文を濃いグレーにしてコントラストを上げる。日本語は文節で折り返す */
body { color: var(--gray-900); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
p, li, dd, h1, h2, h3 { word-break: auto-phrase; overflow-wrap: anywhere; }
.ashiro-kicker { color: var(--gray-700); }

/* イラスト一覧: タイルは必ず正方形。画像はタイルの中に収める（縦長の絵でもタイルが伸びない） */
.gallery .g { aspect-ratio: 1 / 1; height: auto; }
.gallery .g img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 10px;
}

@media (max-width: 760px) {
  body { font-size: 15.5px; line-height: 1.9; letter-spacing: .02em; }
  .ashiro h1 { letter-spacing: .06em; }
  .key-text, .card { padding: 24px 20px; }
  .timeline li > div { padding: 14px 16px; }

  /* SNS: 縦に3つ、同じ幅で並べる */
  .sns ul { flex-direction: column; align-items: center; gap: 12px; }
  .sns li { width: min(280px, 100%); }
  .sns a { text-align: center; padding: 14px 20px; font-size: 15px; }
}

/* ガイドラインの箇条書き（カードは中央寄せなので、リストだけ左寄せのかたまりにする） */
.guide-list { display: inline-block; text-align: left; margin: 0 0 1em; padding-left: 1.3em; }
.guide-list li { margin: .2em 0; }

/* ===== ぷよんの声に合わせたポップアップ文字（トップ）===== */
.oo-pop {
  position: absolute; z-index: 3; pointer-events: none; white-space: nowrap;
  font-weight: 900; font-size: clamp(26px, 5vw, 40px); letter-spacing: .04em;
  -webkit-text-stroke: 6px #fff; paint-order: stroke fill;   /* 白フチ */
  text-shadow: 0 3px 8px rgba(80,85,95,.18);
  translate: -50% 0; rotate: var(--tilt, 0deg);
  animation: oo-pop 1.1s ease-out forwards;
}
.oo-pop-1 { color: var(--gray-900); }                           /* 声1: 本文と同じ黒 */
.oo-pop-2 { color: #1AB8E5; font-size: clamp(30px, 6vw, 48px); } /* 声2: ターコイズ（少し大きめ） */
.oo-pop-3 { color: #8BC34A; font-size: clamp(30px, 6vw, 46px);   /* 声3: 黄緑で太め */
  -webkit-text-stroke: 2.5px #8BC34A; paint-order: normal; text-shadow: none;   /* 同色のフチで線を太く */
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 3px 6px rgba(80,85,95,.2)); }
.oo-pop-4 {                                                     /* 声4（5%）: ｗｗｗｗ 虹色 */
  font-size: clamp(30px, 6vw, 46px);
  background: linear-gradient(90deg, #FF943D, #FFD626, #5BD66B, #1AB8E5, #B07CFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0; text-shadow: none;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 3px 6px rgba(80,85,95,.2));
}
@keyframes oo-pop {
  0%   { opacity: 0; transform: translateY(20px) scale(.6); }
  18%  { opacity: 1; transform: translateY(-6px) scale(1.12); }
  32%  { transform: translateY(-14px) scale(1); }
  100% { opacity: 0; transform: translateY(-90px) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .oo-pop { animation: oo-pop 1.1s linear forwards; } }

/* ===== 予定表（/schedule、サイト内リンクなし）: 四角い枠の中にスプレッドシートを表示 ===== */
.xl-sec { text-align: center; }
.xl-book {
  text-align: left; max-width: 1200px; margin: 0 auto; background: #fff;
  border: 1px solid var(--gray-300); border-radius: var(--radius); overflow: hidden;
}
.xl-bar { padding: 8px 14px; font-size: 13px; color: var(--gray-700); background: var(--pale-2); border-bottom: 1px solid var(--gray-300); }
.xl-view {
  height: min(70vh, 640px); overflow: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; cursor: grab; background: #fff;
}
.xl-view.dragging { cursor: grabbing; user-select: none; }
.xl-view:focus-visible { outline: 3px solid var(--gray-500); outline-offset: -3px; }
.xl-grid {
  border-collapse: separate; border-spacing: 0; table-layout: fixed; width: max-content;
  font-family: "Noto Sans CJK JP", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 13px; line-height: 1.45; color: #26343E;
}
.xl-grid col.xl-rn { width: 40px; }
.xl-grid td {
  padding: 2px 6px; vertical-align: middle; white-space: normal; overflow: visible; overflow-wrap: anywhere; word-break: normal;
  border-right: 1px solid #eef1f3; border-bottom: 1px solid #eef1f3;
}
.xl-grid th {   /* 列の A B C… と行番号 */
  position: sticky; z-index: 1; background: #f3f4f6; color: #8a9099;
  font-weight: normal; font-size: 11px; text-align: center;
  border-right: 1px solid #dde1e5; border-bottom: 1px solid #dde1e5;
}
.xl-grid thead th { top: 0; height: 22px; z-index: 2; }
.xl-grid tbody th { left: 0; }
.xl-grid .xl-corner { left: 0; z-index: 3; }
.xl-grid a { color: #156082; text-decoration: underline; }
.xl-tabs { display: flex; gap: 2px; padding: 0 8px; background: var(--pale-2); border-top: 1px solid var(--gray-300); overflow-x: auto; }
.xl-tab {
  font: inherit; font-size: 13px; padding: 8px 16px; border: 0; cursor: pointer;
  background: transparent; color: var(--gray-700); white-space: nowrap; border-bottom: 3px solid transparent;
}
.xl-tab[aria-selected="true"] { background: #fff; color: var(--gray-900); font-weight: bold; border-bottom-color: #1AB8E5; }
.xl-hint { font-size: 13px; color: var(--gray-700); margin: 12px 0 0; }

/* 「おお🥺」BGM ボタン（a ではなく button なので、見た目を .btn にそろえる） */
button.btn { font: inherit; font-size: 15px; cursor: pointer; }
.bgm-btn[aria-pressed="true"] { background: var(--gray-900); color: #fff; border-color: var(--gray-900); }

/* ===== ダウンロード（/download）===== */
.dl-sec { text-align: center; }
.dl-lead { margin: 0 0 24px; }
.dl-lead a { text-decoration: underline; }
.dl-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.dl-item { background: var(--white); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dl-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--pale); border-radius: 8px; }
.dl-name { margin: 0; font-weight: bold; }
.dl-meta { margin: 0 0 10px; font-size: 13px; color: var(--gray-700); }
