:root {
  --bg:           #FFF8E8;   /* bright warm cream — friendlier */
  --bg-surface:   #FFFFFF;   /* card surface */
  --bg-elevated:  #FFEED8;   /* peach tint */
  --bg-tint:      rgba(255,137,112,0.10); /* coral hover wash */
  --ink:          #4A3D38;   /* warm brown — softer than navy */
  --ink-strong:   #2D241F;
  --ink-muted:    #998880;
  --ink-faint:    #C9BBAE;
  --coral:        #FF8970;   /* brighter primary */
  --coral-deep:   #E55F45;
  --coral-soft:   #FFD9CB;
  --sky:          #5BAAE0;   /* brighter secondary cool */
  --sky-soft:     #C9E4F5;
  --gold:         #F5C84B;   /* brighter sunshine */
  --gold-deep:    #D4A030;
  --gold-soft:    #FFEAA0;
  --rose:         #F5B3C8;   /* pinker rose */
  --mint:         #7FD0A0;   /* brighter mint */
  --navy:         #3D4E78;
  --line:         rgba(74,61,56,0.08);
  --line-strong:  rgba(74,61,56,0.18);

  --shadow-sm:    0 1px 3px rgba(45,49,66,0.04), 0 4px 12px rgba(45,49,66,0.04);
  --shadow-md:    0 2px 6px rgba(45,49,66,0.06), 0 12px 28px rgba(45,49,66,0.06);
  --shadow-lg:    0 4px 12px rgba(45,49,66,0.08), 0 24px 48px rgba(45,49,66,0.10);

  --f-mincho:     'Shippori Mincho B1', 'Yu Mincho', serif;
  --f-sans:       'Zen Maru Gothic', 'Zen Kaku Gothic New', -apple-system, sans-serif;
  --f-mono:       'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  overflow-x: hidden;
}
::selection { background: var(--coral); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  /* backdrop-filter はスクロール中に毎フレーム背後をぼかし直すため使わない。
     代わりに背景を濃くして可読性を確保する。 */
  background: rgba(251,246,236,0.96);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 8px 32px 6px;
}
/* Row 1: brand + inline search */
.nav-top {
  display: flex; align-items: center; gap: 20px;
}
.brand {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 24px; letter-spacing: -0.01em;
  line-height: 1; white-space: nowrap;
  flex-shrink: 0;
}
.brand .tagline {
  font-family: var(--f-sans); font-weight: 400; font-size: 12px;
  color: var(--ink-muted); letter-spacing: 0.04em;
  margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line-strong);
}
.nav-search {
  flex: 1; min-width: 0; max-width: 460px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  cursor: text;
}
.nav-search:hover { border-color: var(--ink-muted); }
.nav-search:focus-within {
  border-color: var(--coral);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 4px rgba(255,137,112,0.10);
}
.nav-search-icon { font-size: 14px; color: var(--ink-faint); filter: grayscale(0.3); flex-shrink: 0; }
.nav-search-input {
  flex: 1; min-width: 0;
  font-family: var(--f-sans);
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none; outline: none;
  padding: 0;
}
.nav-search-input::placeholder {
  color: var(--ink-faint);
  font-weight: 400;
}
.nav-search-input::-webkit-search-cancel-button { display: none; }
.nav-search-kbd {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--ink-faint);
  padding: 2px 7px;
  background: rgba(45,49,66,0.05);
  border: 1px solid var(--line);
  border-radius: 4px;
  flex-shrink: 0;
}
.nav-search:focus-within .nav-search-kbd { display: none; }
/* Row 2+: nav buttons, wrap freely so all 9 items stay visible */
.nav-links {
  display: flex; flex-wrap: wrap;
  gap: 4px 6px;
}
.nav-links .nav-btn {
  font-family: var(--f-sans); font-size: 14px; font-weight: 500;
  padding: 7px 14px; color: var(--ink-muted);
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-links .nav-btn:hover { color: var(--ink); background: var(--bg-tint); }
.nav-links .nav-btn.active { color: var(--coral); background: rgba(255,137,112,0.10); }


/* ============ 汚れた英雄チャレンジ ============ */
.nav-btn-hot { color: var(--coral-deep); }
.nav-btn-hot::after {
  content: 'NEW'; font-size: 9px; vertical-align: super; margin-left: 3px;
  color: #fff; background: var(--coral); border-radius: 3px; padding: 1px 3px;
  letter-spacing: .04em;
}

.ch-countdown {
  background: linear-gradient(135deg, var(--bg-elevated), var(--coral-soft));
  border-radius: 20px; padding: 28px 24px; text-align: center; margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.ch-countdown-label { font-size: 13px; color: var(--ink-muted); letter-spacing: .08em; }
.ch-countdown-value {
  font-family: var(--f-mincho); font-size: clamp(28px, 6vw, 46px);
  color: var(--coral-deep); margin: 6px 0 4px; line-height: 1.2;
}
.ch-countdown-note { font-size: 12px; color: var(--ink-muted); }
.ch-h2 {
  font-family: var(--f-mincho); font-size: 22px; color: var(--ink-strong);
  margin: 0 0 16px; letter-spacing: .02em;
}
.ch-how { margin-bottom: 40px; }
.ch-lead { color: var(--ink); line-height: 1.95; margin: 0 0 14px; }
.ch-more { margin: 0; font-size: 14px; }
.ch-more a { color: var(--coral-deep); }
.ch-admin {
  margin-top: 56px; padding-top: 28px; border-top: 1px dashed var(--line-strong); opacity: .9;
}
.ch-steps { margin: 0; padding-left: 1.3em; line-height: 1.9; color: var(--ink); }
.ch-steps li { margin-bottom: 6px; }
.ch-steps b { color: var(--ink-strong); }
.ch-note {
  margin-top: 14px; padding: 12px 16px; background: var(--bg-surface);
  border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0;
  font-size: 13px; color: var(--ink-muted); line-height: 1.8;
}
.ch-submit { margin-bottom: 48px; }
.ch-form {
  background: var(--bg-surface); border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
}
.ch-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ch-field-row { display: flex; gap: 16px; flex-wrap: wrap; }
/* 横並びのときだけ伸ばす。縦積みの .ch-form 直下で伸ばすと間延びする */
.ch-field-row > .ch-field { flex: 1 1 200px; }
.ch-label { font-size: 13px; color: var(--ink-strong); font-weight: 500; }
.ch-req {
  font-size: 10px; color: var(--coral-deep); background: var(--coral-soft);
  padding: 2px 6px; border-radius: 4px; margin-left: 6px; font-weight: 500;
}
.ch-form input {
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
  font-size: 15px; font-family: inherit; color: var(--ink-strong); background: var(--bg);
  width: 100%; box-sizing: border-box;
}
.ch-form input:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
.ch-hint { font-size: 11px; color: var(--ink-muted); }
.ch-btn-primary {
  background: var(--coral); color: #fff; border: none; border-radius: 100px;
  padding: 13px 32px; font-size: 15px; font-family: inherit; font-weight: 500;
  cursor: pointer; align-self: flex-start; transition: background .15s;
}
.ch-btn-primary:hover { background: var(--coral-deep); }
.ch-btn-primary:disabled { background: var(--ink-faint); cursor: not-allowed; }
.ch-form-msg { margin: 0; font-size: 13px; min-height: 1.2em; }
.ch-form-msg.ok { color: var(--mint); }
.ch-form-msg.ng { color: var(--coral-deep); }
.ch-list-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}
.ch-list-head .ch-h2 { margin: 0; }
.ch-sort { display: flex; gap: 6px; }
.ch-sort-btn {
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink-muted);
  border-radius: 100px; padding: 6px 14px; font-size: 13px; font-family: inherit; cursor: pointer;
}
.ch-sort-btn.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.ch-list { display: flex; flex-direction: column; gap: 12px; }
.ch-card {
  display: flex; align-items: center; gap: 14px; background: var(--bg-surface);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.ch-card-rank {
  font-family: var(--f-mincho); font-size: 20px; color: var(--ink-faint);
  min-width: 2ch; text-align: center; flex-shrink: 0;
}
.ch-card-rank.top { color: var(--gold-deep); }
.ch-card-body { flex: 1; min-width: 0; }
.ch-card-title {
  font-size: 15px; color: var(--ink-strong); font-weight: 500;
  margin: 0 0 3px; word-break: break-word;
}
.ch-card-title a { color: inherit; text-decoration: none; }
.ch-card-title a:hover { color: var(--coral-deep); text-decoration: underline; }
.ch-card-meta { font-size: 12px; color: var(--ink-muted); }
.ch-card-host {
  display: inline-block; background: var(--bg-elevated); color: var(--ink-muted);
  border-radius: 4px; padding: 1px 6px; margin-right: 6px; font-size: 11px;
}
.ch-card-comment { font-size: 13px; color: var(--ink); margin-top: 5px; word-break: break-word; }
.ch-vote {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong); background: transparent; border-radius: 12px;
  padding: 8px 12px; cursor: pointer; font-family: inherit; flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.ch-vote:hover { background: var(--bg-tint); border-color: var(--coral); }
.ch-vote.voted { background: var(--coral-soft); border-color: var(--coral); cursor: default; }
.ch-vote-icon { font-size: 15px; line-height: 1; }
.ch-vote-count { font-size: 13px; color: var(--ink-strong); font-variant-numeric: tabular-nums; }
.ch-empty { padding: 40px 0; text-align: center; color: var(--ink-muted); font-size: 14px; line-height: 1.9; }
@media (max-width: 600px) {
  .ch-card { align-items: flex-start; }
  .ch-field-row { gap: 12px; }
}


/* コピーバンド一覧のカードをリンクにしたときの見た目 */
.fan-card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.fan-card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============ ELEVEN P.M. ページ ============ */
.epm-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.epm-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(.42) saturate(1.1);
}
.epm-hero-inner {
  position: relative; max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 0 32px 56px; color: #fff;
}
.epm-kicker {
  font-size: 12px; letter-spacing: .22em; color: var(--gold);
  margin-bottom: 12px; font-weight: 500;
}
.epm-title {
  font-family: var(--f-mincho); font-size: clamp(38px, 8vw, 78px);
  margin: 0 0 18px; letter-spacing: .04em; line-height: 1.1;
}
.epm-catch {
  font-family: var(--f-mincho); font-size: clamp(20px, 3.6vw, 30px);
  margin: 0 0 10px; color: #fff;
}
.epm-sub { font-size: 15px; color: rgba(255,255,255,.82); margin: 0; line-height: 1.9; }
.epm-sec { padding: 52px 0; border-bottom: 1px solid var(--line); }
.epm-sec:last-child { border-bottom: none; }
.epm-h2 {
  font-family: var(--f-mincho); font-size: 24px; color: var(--ink-strong);
  margin: 0 0 20px; letter-spacing: .04em;
}
.epm-lead { font-family: var(--f-mincho); font-size: 19px; color: var(--coral-deep); margin: 0 0 14px; }
.epm-body { color: var(--ink); line-height: 2; margin: 0 0 18px; }
.epm-members {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px;
}
.epm-member { text-align: center; }
.epm-face {
  width: 100%; aspect-ratio: 1; border-radius: 50%; background-size: cover;
  background-position: center top; box-shadow: var(--shadow-md); margin-bottom: 12px;
}
.epm-part { font-size: 11px; color: var(--ink-muted); letter-spacing: .1em; }
.epm-part span {
  display: inline-block; background: var(--coral-soft); color: var(--coral-deep);
  border-radius: 3px; padding: 1px 5px; margin-left: 4px; letter-spacing: .04em;
}
.epm-name { font-family: var(--f-mincho); font-size: 17px; color: var(--ink-strong); margin-top: 3px; }
.epm-versus {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px;
}
.epm-vcard { margin: 0; background: var(--bg-surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.epm-vimg { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.epm-vcard figcaption { padding: 12px 14px; }
.epm-vcard b { display: block; font-size: 14px; color: var(--ink-strong); font-weight: 500; }
.epm-vcard span { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 3px; }
.epm-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.epm-voice {
  margin: 0; background: var(--bg-surface); border-radius: 14px; padding: 20px;
  box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold);
}
.epm-voice p { margin: 0 0 10px; font-size: 14px; line-height: 1.95; color: var(--ink); }
.epm-voice cite { font-size: 12px; color: var(--ink-muted); font-style: normal; }
.epm-tbd { color: var(--ink-muted); }
.epm-cta {
  display: inline-block; background: var(--coral); color: #fff; text-decoration: none;
  border-radius: 100px; padding: 13px 30px; font-size: 15px; transition: background .15s;
}
.epm-cta:hover { background: var(--coral-deep); }
@media (max-width: 700px) {
  .epm-hero { min-height: 52vh; }
  .epm-hero-inner { padding: 0 20px 36px; }
}


/* ============ このサイトについて ============ */
.about-intro {
  display: grid; grid-template-columns: 260px 1fr; gap: 36px;
  align-items: start; padding: 8px 0 44px; border-bottom: 1px solid var(--line);
}
.about-photo { margin: 0; }
.about-photo img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-md); }
.about-photo figcaption { font-size: 12px; color: var(--ink-muted); margin-top: 10px; text-align: center; }
.about-h2 {
  font-family: var(--f-mincho); font-size: 21px; color: var(--ink-strong);
  margin: 0 0 16px; letter-spacing: .03em;
}
.about-lead p, .about-sec p { color: var(--ink); line-height: 2.05; margin: 0 0 15px; }
.about-sec { padding: 40px 0; border-bottom: 1px solid var(--line); }
.about-sec:last-child { border-bottom: none; }
.about-list { margin: 0; padding-left: 1.2em; line-height: 2.1; color: var(--ink); }
.about-list a { color: var(--coral-deep); text-decoration: none; font-weight: 500; }
.about-list a:hover { text-decoration: underline; }
.about-contact {
  display: inline-block; background: var(--coral); color: #fff; text-decoration: none;
  border-radius: 100px; padding: 12px 28px; font-size: 15px; transition: background .15s;
}
.about-contact:hover { background: var(--coral-deep); }
.about-note p { font-size: 13px; color: var(--ink-muted); line-height: 1.95; }
.about-note a { color: var(--ink-muted); }
@media (max-width: 700px) {
  .about-intro { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 240px; margin: 0 auto; }
}


/* ============ 背景（「汚れた英雄」期のキービジュアルを意識） ============
   暗い霧・逆光・右から入って霧に溶ける赤いレーザー・床の赤い反射をCSSで再現。
   公式のアートワーク画像そのものは使っていない（非公式サイトのため）。 */
/* 汚れた英雄期のアートワークを意識した背景（公式画像は使わずCSSで再現） */

/* 地の背景: 暗い霧。全ページ共通で、本文の可読性を邪魔しない */
/* キービジュアルの地。
   以前は body に background-attachment:fixed で5枚のグラデーションを重ねていたが、
   fixed 指定はスクロールのたびに画面全体を描き直させるため、スマホで顕著に重かった。
   position:fixed の1枚のレイヤーに移すと、合成だけで済んでスクロール中に再描画されない。
   見た目は変わらない。 */
html { background: #08090C; }
body { position: relative; }
html::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 24% 16%, rgba(72,124,146,0.34), transparent 66%),
    radial-gradient(ellipse 62% 38% at 80% 12%, rgba(56,96,128,0.32), transparent 64%),
    radial-gradient(ellipse 60% 34% at 50% 30%, rgba(200,230,255,0.14), transparent 68%),
    radial-gradient(ellipse 80% 22% at 50% 96%, rgba(150,26,40,0.20), transparent 74%),
    linear-gradient(180deg, #070A10 0%, #0C1219 40%, #10151D 74%, #08090C 100%);
  background-repeat: no-repeat;
  background-size: cover;
}
body { background: transparent; }

/* 上部だけの演出帯: 逆光のグローと、浅い角度の赤いレーザー */
/* 逆光のグロー */
body::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 760px;
  pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 46% 40% at 50% 58%, rgba(214,238,255,0.24), transparent 66%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}
/* 赤いレーザー。本家と同じく右端から入り、左へ進むにつれて霧に溶けて消える */
body::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 760px;
  pointer-events: none; z-index: 0;
  background:
    linear-gradient(170deg, transparent 49.35%, rgba(255,80,90,0.16) 49.80%, rgba(255,190,195,0.62) 50%, rgba(255,80,90,0.16) 50.20%, transparent 50.65%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0.85) 18%, rgba(0,0,0,0.35) 44%, transparent 62%);
  mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0.85) 18%, rgba(0,0,0,0.35) 44%, transparent 62%);
}
body .nav, body .view, body footer, body .footer { position: relative; z-index: 1; }

/* 文字と面の色 */
body {
  --bg: #0A0E14;
  --bg-surface: rgba(255,255,255,0.055);
  --bg-elevated: rgba(255,255,255,0.09);
  --bg-tint: rgba(255,90,90,0.14);
  --ink: #D6DBE2;
  --ink-strong: #F2F5F8;
  --ink-muted: #8D97A5;
  --ink-faint: #59616E;
  --line: rgba(255,255,255,0.10);
  --line-strong: rgba(255,255,255,0.20);
  --coral: #FF4D5E;
  --coral-deep: #FF7A85;
  --coral-soft: rgba(255,77,94,0.22);
  --gold: #F5C84B;
  --gold-deep: #FFD873;
}
body .nav { background: rgba(7,10,16,0.93); }
/* 面のあるUIは一律で半透明の白面にする。個別に白背景を指定していると
   暗い地の上で浮いてしまうため、カード類はここでまとめて上書きする。 */
body .blog-card, body .fan-card, body .today-item, body .today-list,
body .featured, body .blog-hero, body .cta-card,
body .ch-form, body .ch-card, body .epm-vcard, body .epm-voice,
body .single-block, body .setlist-inline, body .member-card,
body .era-card, body .tl-content, body .zoom-toolbar, body .fan-cta,
body .spotlight-song, body .concert-item, body .concert-item-d,
body .album-block, body .member-detail-body, body .post-article,
body .song-detail-panel, body .tour-detail-panel, body .album-detail-panel,
body .member-detail-panel, body .analysis-card, body .stat-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: none;
}
/* 小さいバッジ類は少しだけ明るく */
body .fan-card-type, body .chip-badge, body .zoom-tab {
  background: rgba(255,255,255,0.12);
  color: var(--ink);
}
body .zoom-tab.active { background: var(--coral); color: #fff; }

.lazy-note {
  padding: 48px 0; text-align: center; color: var(--ink-soft); font-size: 15px;
}

/* メンバーの詳しいプロフィール */
.mp-block { margin-top: 26px; }
.mp-block:first-of-type { margin-top: 18px; }
.mp-h {
  font-family: var(--f-mincho); font-size: 17px; color: var(--ink-strong);
  margin: 0 0 10px; padding-left: 11px; border-left: 3px solid var(--coral);
  letter-spacing: .02em;
}
.mp-block p { margin: 0 0 11px; line-height: 2.0; color: var(--ink); font-size: 14.5px; }
.mp-block p:last-child { margin-bottom: 0; }
.mp-block a { color: var(--coral-deep); text-decoration: none; }
.mp-block a:hover { text-decoration: underline; }
.mp-block b { color: var(--ink-strong); font-weight: 500; }
.mp-more {
  margin: 28px 0 0; padding: 14px 16px; background: var(--bg-elevated);
  border-radius: 10px; font-size: 13px; line-height: 1.9; color: var(--ink-muted);
}
.mp-more a { color: var(--coral-deep); text-decoration: none; }
.mp-more a:hover { text-decoration: underline; }

/* アルバムの解説文 */
.ad-story {
  margin: 0 0 26px; padding: 20px 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.ad-story p { margin: 0 0 12px; line-height: 2.0; color: var(--ink); font-size: 14.5px; }
.ad-story p:last-child { margin-bottom: 0; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(27,31,46,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
}
.search-modal {
  width: 640px; max-width: 90vw;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 70vh;
}
.search-input {
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  font-family: var(--f-sans);
  color: var(--ink-strong);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  outline: none;
}
.search-input::placeholder { color: var(--ink-faint); }
.search-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.sr-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}
.sr-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none; color: inherit;
  align-items: center;
}
.sr-item:hover, .sr-item.active {
  background: var(--bg-tint);
}
.sr-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(45,49,66,0.06);
  color: var(--ink-muted);
  text-align: center;
  font-weight: 500;
}
.sr-tag-曲       { background: rgba(240,141,122,0.14); color: var(--coral); }
.sr-tag-ツアー   { background: rgba(91,155,213,0.14);  color: var(--sky); }
.sr-tag-メンバー { background: rgba(143,206,171,0.18); color: #5A9870; }
.sr-tag-ブログ   { background: rgba(229,185,70,0.14);  color: var(--gold-deep); }
.sr-name {
  font-family: var(--f-mincho); font-size: 14.5px;
  color: var(--ink-strong);
}
.search-footer {
  display: flex; gap: 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-faint);
}
.search-footer kbd {
  font-family: var(--f-mono); font-size: 11px;
  padding: 2px 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 3px;
  margin-right: 4px;
}

/* ============ VIEW ============ */
.view { display: none; animation: fadeIn 0.5s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.container { max-width: 1280px; margin: 0 auto; padding: 28px 32px 96px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 28px 32px 96px; }

/* ============ HOME ============ */
.welcome {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 32px 8px;
}
.welcome-eyebrow {
  font-family: var(--f-sans); font-size: 14px;
  color: var(--coral); letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.welcome-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--coral);
  vertical-align: middle; margin-right: 14px;
}
.welcome-headline {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
  color: var(--ink-strong);
}
.welcome-headline .em {
  color: var(--coral);
}
.welcome-deck {
  font-family: var(--f-mincho); font-weight: 400;
  font-size: 19px;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 56px;
}
.welcome-deck .note {
  display: block; margin-top: 16px;
  font-size: 15px; color: var(--ink-muted);
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cta-card {
  display: block; padding: 28px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}
.cta-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: var(--shadow-md);
}
.cta-icon {
  font-family: var(--f-mincho); font-size: 28px;
  color: var(--coral); margin-bottom: 16px; line-height: 1;
}
.cta-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 20px; margin-bottom: 8px;
  color: var(--ink-strong);
}
.cta-meta {
  font-size: 13px; color: var(--ink-muted);
}

/* HOME — featured article */
.featured-strip {
  max-width: 1280px; margin: 32px auto 0;
  padding: 0 32px;
}
.featured {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.featured-img {
  aspect-ratio: 4/3;
  background:
    radial-gradient(at 22% 28%, rgba(240,141,122,0.65), transparent 55%),
    radial-gradient(at 78% 72%, rgba(91,155,213,0.50), transparent 55%),
    radial-gradient(at 50% 50%, rgba(244,224,160,0.40), transparent 60%),
    linear-gradient(135deg, #FFE6D0, #FFD8C0);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-img::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.20) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.5;
}
.featured-kicker {
  display: inline-block;
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.08em;
  padding: 4px 12px; background: rgba(240,141,122,0.14);
  border-radius: 100px; margin-bottom: 20px;
}
.featured-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 36px; line-height: 1.4;
  margin-bottom: 16px; color: var(--ink-strong);
  letter-spacing: 0.01em;
}
.featured-deck {
  font-family: var(--f-mincho); font-size: 17px;
  color: var(--ink-muted); line-height: 1.9;
  margin-bottom: 20px; max-width: 560px;
}
.featured-meta {
  font-size: 13px; color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.featured-meta::after { content: ' →'; color: var(--coral); }

/* HOME — sections */
.home-section {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 32px 0;
}
.home-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 36px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.home-section-head h2 {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 32px; letter-spacing: 0.01em;
  color: var(--ink-strong);
}
.home-section-head .more {
  font-size: 14px; color: var(--coral);
  letter-spacing: 0.04em;
}
.home-section-head .more::after { content: ' →'; }

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* Home — two-column row (today / random) */
.home-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
/* Make the two cards inside fill their column so the bottom edges align
   instead of leaving the shorter side trailing with empty gradient. */
.home-twocol > div {
  display: flex; flex-direction: column;
}
.home-twocol > div > .today-list,
.home-twocol > div > .random-concert-card {
  flex: 1;
}
@media (max-width: 900px) {
  .home-twocol { grid-template-columns: 1fr; gap: 56px; }
}

/* Today-in-GLAY */
.today-list {
  display: flex; flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.today-empty {
  padding: 36px;
  text-align: center; color: var(--ink-muted);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.today-empty small { color: var(--ink-faint); font-size: 12px; display:block; margin-top: 8px; }
.today-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 12px;
  border-radius: 10px;
  align-items: start;
  transition: background 0.15s;
}
.today-item + .today-item { border-top: 1px solid var(--line); }
.today-item:hover { background: var(--bg-tint); }
.today-year {
  text-align: center;
}
.today-year-num {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 22px; color: var(--coral);
  line-height: 1;
}
.today-year-ago {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--ink-faint); margin-top: 4px;
  letter-spacing: 0.04em;
}
.today-cat {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.today-item-release .today-cat { background: rgba(240,141,122,0.12); color: var(--coral); }
.today-item-live .today-cat    { background: rgba(91,155,213,0.14);  color: var(--sky); }
.today-item-event .today-cat   { background: rgba(44,62,118,0.10);   color: var(--navy); }
.today-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 15px; line-height: 1.45;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.today-extra {
  font-size: 12px;
  color: var(--ink-muted);
}
.today-more {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--coral); font-weight: 400;
}

/* Random concert pick */
.random-concert-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.rc-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--coral);
  margin-bottom: 18px;
}
.rc-head {
  display: grid;
  /* 日付は上の行に。列に押し込むと「2022.10.20」が公演名に重なる（ホームの右列は狭い） */
  grid-template-columns: minmax(0, 1fr) 60px;
  gap: 6px 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  align-items: center;
}
.rc-date {
  grid-column: 1 / -1;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 15px; color: var(--coral);
  line-height: 1.1;
}
.rc-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 17px; line-height: 1.35;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.rc-venue {
  font-size: 12px; color: var(--ink-muted);
}
.rc-songcount {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 32px; color: var(--coral);
  text-align: right;
  line-height: 1;
}
.rc-songcount small {
  font-family: var(--f-sans);
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 400; display: block;
  margin-top: 4px;
}
.rc-setlist {
  list-style: none;
  padding: 0; margin: 0 0 18px;
}
.rc-setlist li {
  font-family: var(--f-mincho); font-size: 14px;
  padding: 4px 0;
  color: var(--ink);
  display: flex; gap: 12px;
  align-items: baseline;
}
.rc-no {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--coral); font-weight: 500;
}
.rc-more {
  font-style: italic; color: var(--ink-muted);
  border-top: 1px dashed var(--line); padding-top: 6px !important; margin-top: 4px;
}
.rc-cta {
  display: inline-block;
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid var(--coral);
  color: var(--coral);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.rc-cta:hover { background: var(--coral); color: #fff; }

/* Seasonal songs */
.seasonal-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
}
.seasonal-row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  gap: 16px; align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.seasonal-row:last-child { border-bottom: none; }
.seasonal-title {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 17px; color: var(--ink-strong);
}
.seasonal-meta {
  font-size: 13px; color: var(--ink-muted);
}
.seasonal-album { color: var(--ink-faint); font-size: 12px; }
.seasonal-live {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--coral); text-align: right;
  font-weight: 500;
}

/* Home — spotlight songs */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spotlight-song {
  display: flex; flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.spotlight-song:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.spot-cover {
  position: relative;
  height: 120px;
  padding: 16px 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
}
.spot-cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.4;
}
.spot-rank {
  font-family: var(--f-mono); font-size: 11px;
  background: rgba(255,255,255,0.14);
  color: var(--ink-strong);
  padding: 3px 10px;
  border-radius: 100px;
  align-self: flex-start;
  font-weight: 700;
  position: relative; z-index: 1;
  letter-spacing: 0.04em;
}
.spot-cover-count {
  font-family: var(--f-mincho);
  font-size: 13px;
  text-shadow: 0 1px 3px rgba(45,49,66,0.35);
  position: relative; z-index: 1;
  align-self: flex-end;
  text-align: right;
}
.spot-cover-count b {
  font-size: 32px; font-weight: 700; letter-spacing: -0.01em;
}
.spot-cover-album {
  font-size: 11px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(45,49,66,0.40);
  position: relative; z-index: 1;
}
.spot-body { padding: 18px 22px 22px; }
.spot-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 22px; line-height: 1.35;
  color: var(--ink-strong);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.spot-meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.spot-year {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--coral);
  background: rgba(240,141,122,0.10);
  padding: 2px 9px;
  border-radius: 100px;
  font-weight: 500;
}
.spot-credit-row {
  font-size: 12.5px; color: var(--ink-muted);
}
.home-section-deck {
  font-size: 13px; color: var(--ink-muted);
  margin-top: -14px; margin-bottom: 24px;
}
.home-section-deck a {
  color: var(--coral);
  border-bottom: 1px solid rgba(240,141,122,0.4);
}
.home-live-list {
  display: flex; flex-direction: column;
  gap: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.home-live-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.15s;
  cursor: pointer;
  color: inherit; text-decoration: none;
}
.home-live-row:hover { background: var(--bg-tint); }
.home-live-row + .home-live-row { border-top: 1px solid var(--line); }
.home-live-date {
  display: flex; flex-direction: column; gap: 4px;
}
.home-live-date .hlr-d {
  font-family: var(--f-mono); font-size: 14px;
  color: var(--ink-strong);
  font-weight: 500;
}
.home-live-date .hlr-cd {
  font-family: var(--f-mono); font-size: 11px;
  padding: 2px 9px;
  border-radius: 100px;
  align-self: flex-start;
  font-weight: 500;
}
.home-live-date .hlr-cd-today  { background: var(--gold); color: var(--bg); }
.home-live-date .hlr-cd-soon   { background: rgba(240,141,122,0.18); color: var(--coral-deep); }
.home-live-date .hlr-cd-future { background: rgba(45,49,66,0.06); color: var(--ink-muted); }
.home-live-title {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 16px; line-height: 1.5;
  color: var(--ink-strong);
}

/* ============ SECTION HEAD (inner pages) ============ */
.page-head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.page-eyebrow {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.06em; margin-bottom: 6px;
}
.page-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 36px; line-height: 1.3;
  color: var(--ink-strong); letter-spacing: 0.01em;
  margin-bottom: 6px;
}
.page-deck {
  font-family: var(--f-mincho); font-size: 16px;
  color: var(--ink-muted); line-height: 1.7;
}

/* ============ SONGS (album-grouped) ============ */
.song-toolbar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  margin-bottom: 48px;
  align-items: end;
}
.search-wrap {
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 18px 20px 18px 56px;
  background: var(--bg-surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: var(--coral); }
.search-wrap input::placeholder { color: var(--ink-faint); }
.search-wrap::before {
  content: '🔍';
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px;
  filter: grayscale(0.4);
}
.search-hint {
  font-size: 13px; color: var(--ink-muted);
  margin-top: 8px;
  line-height: 1.6;
}
.search-hint b { color: var(--coral); font-weight: 500; }
.filter-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  justify-content: flex-end; align-items: flex-end;
  padding-bottom: 4px;
}
.chip {
  font-family: var(--f-sans); font-size: 13px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: var(--ink); border-color: var(--coral); }
.chip.active { background: var(--coral); color: #FFFFFF; border-color: var(--coral); font-weight: 500; }
.chip .chip-badge {
  display: inline-block;
  font-family: var(--f-mono); font-size: 10px;
  background: rgba(45,49,66,0.06);
  color: var(--ink-faint);
  padding: 1px 7px;
  border-radius: 100px;
  margin-left: 6px;
  font-weight: 500;
}
.chip.active .chip-badge { background: rgba(255,255,255,0.30); color: #fff; }

.album-block {
  margin-bottom: 64px;
  scroll-margin-top: 96px;
}

/* "Singles-only" mega-block at the bottom of /songs — surfaces songs that
   are released only on singles/EPs (DOPE, MAD BREAKER, 4 ROSES, etc.) so
   they're discoverable from the songs page, not just via direct link. */
.singles-only-section {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--line-strong);
}
.singles-only-head { margin-bottom: 36px; }
.singles-only-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 32px; color: var(--ink-strong);
  margin-bottom: 12px;
}
.singles-only-deck {
  font-family: var(--f-sans);
  font-size: 14px; color: var(--ink-muted);
  line-height: 1.85;
  max-width: 720px;
}
.singles-only-list {
  display: flex; flex-direction: column;
  gap: 28px;
}
.single-block {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  scroll-margin-top: 96px;
}
.single-header {
  display: flex; align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.single-block-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 18px; color: var(--ink-strong);
  letter-spacing: 0.01em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.single-block-meta {
  display: flex; gap: 16px; align-items: baseline;
  font-family: var(--f-sans);
}
.single-block-date {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-muted); letter-spacing: 0.04em;
}
.single-block-stats {
  font-size: 13px; color: var(--ink-muted);
}
.single-block-stats b { color: var(--coral); font-weight: 600; }
.track-row .track-note {
  font-size: 11px; color: var(--ink-muted);
  margin-left: 8px; font-weight: 400;
}
/* Unreleased songs (debuted live, no studio release yet) — distinct
   visual treatment so the absence of a release isn't read as "data
   missing" but as "this is brand-new material". */
.singles-only-section.unreleased-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px dashed var(--line-strong);
}
.unreleased-section .singles-only-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.unreleased-section .title-badge {
  font-family: var(--f-sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--coral-deep);
  background: rgba(240,141,122,0.18);
  padding: 4px 12px;
  border-radius: 100px;
}
.single-block-unreleased {
  background: linear-gradient(135deg, rgba(255,228,196,0.55), rgba(255,201,170,0.30));
  border: 1px solid rgba(229,95,69,0.18);
}
.single-block-unreleased .single-block-title {
  color: var(--coral-deep);
}
.single-block-unreleased .single-block-date::before {
  content: "🎤 ";
}
.album-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.album-cover {
  aspect-ratio: 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  box-shadow: var(--shadow-sm);
}
.album-cover-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 19px; color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(45,49,66,0.45), 0 4px 16px rgba(45,49,66,0.30);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.album-kind {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.album-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 32px; line-height: 1.2;
  color: var(--ink-strong);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.album-date {
  font-size: 15px; color: var(--ink-muted);
  margin-bottom: 14px;
}
.album-stats {
  display: flex; gap: 20px;
  font-size: 14px; color: var(--ink-muted);
}
.album-stats b { color: var(--coral); font-weight: 500; font-family: var(--f-mono); }
.track-list { display: flex; flex-direction: column; }
.track-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 280px 140px;
  gap: 24px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  border-radius: 6px;
  transition: background 0.15s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.track-row:hover { background: var(--bg-tint); transform: translateX(4px); }
.track-no {
  font-family: var(--f-mono); font-size: 14px;
  color: var(--coral); letter-spacing: 0.05em;
  font-weight: 500;
}
.track-title {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 19px; color: var(--ink-strong);
  letter-spacing: 0.01em;
}
.track-credit {
  font-size: 14px; color: var(--ink-muted);
}
.track-live {
  font-family: var(--f-sans); font-size: 14px;
  color: var(--ink-muted); text-align: right;
}
.track-live b { color: var(--coral); font-weight: 500; font-family: var(--f-mono); margin: 0 4px; }
/* Search highlight + lyric snippet (shown only when user types a query) */
.track-row mark {
  background: rgba(255,137,112,0.32);
  color: var(--ink-strong);
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 600;
}
.lyric-snippet {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--coral);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--f-mincho);
  line-height: 1.7;
  display: flex; gap: 10px; align-items: baseline;
  flex-wrap: wrap;
}
.lyric-snippet .ls-label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--coral);
  font-weight: 500;
  letter-spacing: 0.10em;
  flex-shrink: 0;
  padding: 1px 7px;
  background: rgba(255,137,112,0.10);
  border-radius: 100px;
}
.lyric-snippet .ls-text {
  flex: 1; min-width: 0;
  color: var(--ink);
  word-break: break-word;
}
.lyric-snippet mark {
  background: rgba(255,137,112,0.42);
  color: var(--ink-strong);
  font-weight: 600;
  padding: 0 3px;
  border-radius: 3px;
}

/* ============ CONCERTS ============ */
.concerts-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
}
.concert-list { border-top: 1px solid var(--line-strong); }
.year-band, .concert-item-d { scroll-margin-top: calc(var(--nav-h, 100px) + var(--yj-h, 56px) + 24px); }   /* 固定ナビと年の選択の下に隠れない */
.year-band {
  border-bottom: 1px solid var(--line);
  padding: 0;
  scroll-margin-top: 96px;
}
.year-band-head {
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  padding: 20px 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
  border-radius: 8px;
}
.year-band-head::-webkit-details-marker { display: none; }
.year-band-head:hover { background: var(--bg-tint); }
.year-marker {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 28px; color: var(--coral); line-height: 1;
}
.year-marker .ym-num {
  letter-spacing: -0.01em;
}
.year-marker small {
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 400;
  color: var(--ink-muted); letter-spacing: 0.04em;
}
.year-marker small b { color: var(--coral); font-weight: 500; }
.year-band-arrow {
  font-size: 11px;
  color: var(--ink-faint);
  transition: transform 0.2s;
}
.year-band[open] > .year-band-head .year-band-arrow {
  transform: rotate(180deg);
  color: var(--coral);
}
.year-band > .concert-items {
  padding: 0 8px 24px;
}
/* Year jump nav */
.year-jump {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin: 0 0 24px;
  position: sticky; top: calc(var(--nav-h, 100px) + 8px); z-index: 20;   /* 下までスクロールしても年を選べる */
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.year-jump-label {
  font-size: 12px; color: var(--ink-muted);
  margin-right: 8px;
  align-self: center;
  font-weight: 500;
}
.year-jump a {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  transition: all 0.15s;
}
.year-jump a:hover, .year-jump a.active {
  color: var(--coral);
  border-color: var(--coral);
  background: rgba(240,141,122,0.06);
}
.concert-list-head {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 20px; color: var(--ink-strong);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  letter-spacing: 0.01em;
}

.concert-items { display: flex; flex-direction: column; gap: 2px; }

/* Each concert is now a <details> with summary as the row. */
.concert-item-d {
  border-radius: 8px;
  background: transparent;
  transition: background 0.15s;
}
.concert-item-d[open] { background: var(--bg-surface); border: 1px solid var(--line); margin: 4px 0; }
.concert-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 130px;
  gap: 20px;
  padding: 14px 16px;
  align-items: baseline;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.concert-item::-webkit-details-marker { display: none; }
.concert-item-d:hover > .concert-item { background: var(--bg-tint); border-radius: 8px; }
.concert-date {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-muted); letter-spacing: 0.04em;
  display: flex; flex-direction: column; gap: 2px;
}
.concert-date small {
  font-size: 11px; color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.concert-info { display: block; }
.concert-info b {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 15.5px; display: block; margin-bottom: 4px;
  color: var(--ink-strong);
  line-height: 1.4;
}
.concert-info > span {
  font-size: 13.5px; color: var(--ink-muted);
}
.concert-songs {
  font-family: var(--f-mono); font-size: 13px;
  text-align: right;
  display: flex; justify-content: flex-end;
  align-items: center;
}
.flag-historic {
  display: inline-block; font-size: 10px;
  letter-spacing: 0.06em; padding: 2px 8px;
  background: var(--coral); color: #fff;
  border-radius: 100px; margin-left: 8px;
  vertical-align: middle; font-weight: 600;
}
.setlist-pill {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(240,141,122,0.10);
  color: var(--coral);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.setlist-pill-none {
  background: rgba(45,49,66,0.06);
  color: var(--ink-faint);
}

.setlist-inline {
  background: var(--bg-elevated);
  padding: 16px 24px 20px;
  border-radius: 0 0 8px 8px;
  margin-top: -4px;
}
.setlist-block-main,
.setlist-block-encore {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px 16px;
}
.setlist-block-encore {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}
.sl-encore-head {
  grid-column: 1/-1;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 12px;
  color: var(--gold-deep);
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.sl-encore-head::before, .sl-encore-head::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(229,185,70,0.30);
}
.sl-mini {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 5px 6px;
  font-size: 13px;
}
.sl-mini-no {
  font-family: var(--f-mono);
  color: var(--coral);
  font-weight: 500;
}
.sl-mini-title {
  font-family: var(--f-mincho);
  color: var(--ink-strong);
}
.reverse-tl-more {
  padding: 12px 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
}

/* concert detail panel */
.concert-detail {
  position: sticky; top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 32px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.concert-detail-eyebrow {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.concert-detail-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 24px; line-height: 1.35;
  color: var(--ink-strong); margin-bottom: 8px;
}
.concert-detail-meta {
  font-size: 14px; color: var(--ink-muted);
  margin-bottom: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.detail-section-h {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.06em; font-weight: 500;
  margin-bottom: 14px;
  margin-top: 24px;
}
.setlist {
  display: flex; flex-direction: column;
  gap: 2px;
}
.setlist-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.sl-no {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-faint);
}
.sl-title {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 16px; color: var(--ink-strong);
  margin-bottom: 6px;
}
.sl-themes {
  grid-column: 2;
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 4px;
}
.theme-tag {
  font-size: 11px; padding: 3px 9px;
  background: rgba(240,141,122,0.14);
  color: var(--coral);
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.theme-note {
  font-size: 13px; color: var(--ink-muted);
  line-height: 1.7; margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 6px;
  border-left: 3px solid var(--coral);
}
.theme-note b { color: var(--coral); font-weight: 500; }
.reverse-result-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 20px; margin-bottom: 4px;
  color: var(--ink-strong);
}
.reverse-result-meta {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--coral); margin-bottom: 16px;
}
.reverse-input {
  width: 100%; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--ink); font-family: var(--f-sans);
  font-size: 14px; border-radius: 6px; margin-bottom: 20px;
}
.reverse-timeline { max-height: 260px; overflow-y: auto; }
.reverse-tl-item {
  display: grid; grid-template-columns: 78px 1fr;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.reverse-tl-item .d { font-family: var(--f-mono); color: var(--ink-muted); }
.reverse-tl-item .v { font-family: var(--f-mincho); color: var(--ink-strong); }
.reverse-tl-item .v small {
  display: block; color: var(--ink-faint);
  font-size: 12px; font-family: var(--f-sans);
  margin-top: 2px;
}

/* ============ DISCOGRAPHY ============ */
.disco-scroll {
  margin-top: 24px;
}
.disco-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 24px;
  position: relative;
  padding: 16px 0;
}
.disco-section { margin-top: 40px; }
.disco-section:first-of-type { margin-top: 8px; }
.disco-section-h {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px; margin-bottom: 8px;
}
.disco-section-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 22px; color: var(--ink-strong); margin: 0;
  letter-spacing: 0.01em;
}
.disco-section-sub {
  font-size: 13px; color: var(--ink-muted); font-family: var(--f-mono);
  letter-spacing: 0.04em;
}
.disco-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 24px;
  padding: 16px 0;
}
.singles-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px 40px;
  padding: 16px 0;
}
.singles-decade { min-width: 0; }
.singles-decade-h {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 18px; color: var(--ink-strong);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}
.singles-decade-h small {
  font-family: var(--f-mono); font-weight: 400;
  font-size: 11px; color: var(--ink-muted); margin-left: 8px;
}
.singles-list { list-style: none; padding: 0; margin: 0; }
.single-row {
  padding: 0;
  border-bottom: 1px dashed var(--line);
}
/* 行ごとその曲のページへのリンク。曲が特定できないものは span のまま */
.single-link {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px; align-items: baseline;
  padding: 8px 4px;
  color: inherit; text-decoration: none;
  border-radius: 8px;
  transition: background-color .16s;
}
a.single-link { cursor: pointer; }
@media (hover: hover) { a.single-link:hover { background: rgba(255,255,255,0.05); } }
a.single-link:active { background: rgba(255,255,255,0.08); }
a.single-link .single-title { border-bottom: 1px solid rgba(255,137,112,0.32); }
.single-date {
  font-family: var(--f-mono); color: var(--coral);
  font-size: 12px; letter-spacing: 0.02em;
}
.single-title {
  font-family: var(--f-mincho); font-weight: 500;
  color: var(--ink-strong); font-size: 14px; line-height: 1.4;
}
.single-note {
  display: block; font-family: var(--f-mono);
  font-size: 10px; color: var(--ink-muted);
  margin-top: 2px; letter-spacing: 0.04em;
}
.single-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.single-badge {
  font-size: 9px; padding: 2px 6px; border-radius: 3px;
  letter-spacing: 0.06em; white-space: nowrap;
  font-family: var(--f-mono); font-weight: 500;
}
.single-badge.ba  { background: rgba(255,213,128,0.5); color: #8a5e1f; }
.single-badge.ep  { background: rgba(157,201,228,0.5); color: #2a4858; }
.single-badge.dl  { background: rgba(196,221,200,0.6); color: #345a36; }
.single-badge.col { background: rgba(232,160,180,0.5); color: #7a2a44; }
@media (max-width: 640px) {
  .singles-wrap { grid-template-columns: 1fr; gap: 24px; }
  .single-link { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .single-badges { grid-column: 2; justify-content: flex-start; }
}
.disco-card { display: flex; flex-direction: column; cursor: pointer; transition: transform 0.3s; text-decoration: none; color: inherit; }
.disco-card[href]:hover { transform: translateY(-4px); }
div.disco-card { cursor: default; }
div.disco-card:hover { transform: none; }
.disco-cover {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}
.disco-card:hover .disco-cover { box-shadow: var(--shadow-md); }
.disco-cover .cover-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 22px; color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(45,49,66,0.45), 0 4px 16px rgba(45,49,66,0.30);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.disco-cover.has-art { padding: 0; background: transparent; }
.disco-cover.has-art > svg { width: 100%; height: 100%; display: block; }
.disco-info { padding: 16px 4px 0; }
.disco-info .y { font-family: var(--f-mono); font-size: 13px; color: var(--coral); }
.disco-info .t { font-family: var(--f-mincho); font-weight: 500; font-size: 16px; margin-top: 6px; margin-bottom: 4px; color: var(--ink-strong); }
.disco-info .k { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.04em; }

/* ============ BIOGRAPHY (zoom-style timeline) ============ */
.bio-zoom { margin-top: 32px; }

.zoom-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  position: sticky; top: 84px; z-index: 10;
}
.zoom-tabs {
  display: flex; gap: 4px;
  background: var(--bg-elevated);
  padding: 4px; border-radius: 100px;
}
.zoom-tab {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s;
  line-height: 1.2;
}
.zoom-tab small {
  font-size: 10px; font-weight: 400;
  color: var(--ink-faint); margin-top: 2px;
  letter-spacing: 0.04em;
}
.zoom-tab:hover { color: var(--ink-strong); }
.zoom-tab.active {
  background: var(--bg-surface); color: var(--ink-strong);
  box-shadow: 0 2px 8px rgba(45,49,66,0.08);
}
.zoom-tab.active small { color: var(--coral); }
.zoom-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.zoom-legend .legend-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-muted);
}
.zoom-legend .dot { width: 8px; height: 8px; border-radius: 50%; }

/* MINIMAP */
.bio-minimap {
  position: relative;
  padding: 20px 0 28px;
  margin-bottom: 32px;
}
.mm-bar {
  position: relative;
  height: 4px; background: var(--bg-elevated);
  border-radius: 100px;
  margin: 0 24px;
}
.mm-yearmark {
  position: absolute; top: 14px;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-faint);
}
.mm-yearmark::before {
  content: ''; position: absolute;
  left: 50%; top: -14px;
  width: 1px; height: 8px;
  background: var(--line-strong);
}
.mm-dot {
  position: absolute; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 2px solid var(--bg);
}
.mm-dot-music { background: var(--coral); }
.mm-dot-live  { background: var(--sky); }
.mm-dot-media { background: var(--navy); }
.mm-level-1 {
  width: 12px; height: 12px;
  box-shadow: 0 0 0 2px rgba(240,141,122,0.30);
}

/* ERAS (zoom 1) */
.bio-eras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.era-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.era-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.era-cover {
  height: 140px;
  position: relative;
}
.era-cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.20) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.5;
}
.era-body { padding: 28px 32px; }
.era-tag {
  display: inline-block;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--coral);
  padding: 4px 10px;
  background: rgba(240,141,122,0.10);
  border-radius: 100px;
  margin-bottom: 12px;
}
.era-range {
  font-family: var(--f-mono);
  font-size: 14px; color: var(--ink-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.era-name {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 26px; line-height: 1.3;
  color: var(--ink-strong); margin-bottom: 14px;
}
.era-summary {
  font-family: var(--f-mincho); font-size: 15px;
  color: var(--ink); line-height: 1.85;
  margin-bottom: 18px;
}
.era-hero {
  font-size: 13px; color: var(--gold-deep);
  padding-top: 14px; border-top: 1px solid var(--line);
  font-weight: 500;
}

/* TIMELINE (zoom 2+) */
.bio-tl {
  position: relative;
  padding-left: 24px;
  margin-top: 8px;
}
.bio-tl::before {
  content: '';
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--coral), var(--gold), var(--sky), var(--mint));
  border-radius: 100px;
  opacity: 0.4;
}
.tl-year-row {
  margin: 36px 0 12px;
  padding-left: 0;
  position: relative;
}
.tl-year {
  display: inline-block;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 30px;
  color: var(--ink-strong);
  background: var(--bg);
  padding: 4px 16px 4px 0;
  position: relative;
  z-index: 2;
  letter-spacing: 0.02em;
}
.tl-year-row::before {
  content: ''; position: absolute;
  left: -24px; top: 50%;
  width: 16px; height: 2px;
  background: var(--coral);
  border-radius: 100px;
}
.tl-event {
  display: grid;
  grid-template-columns: 110px 24px 1fr;
  gap: 18px;
  padding: 12px 0;
  position: relative;
  margin-left: -24px;
  padding-left: 24px;
}
.tl-date {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-muted);
  padding-top: 4px;
  letter-spacing: 0.03em;
}
.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  margin: 6px auto 0;
  border: 3px solid var(--bg);
  background: var(--coral);
  position: relative; z-index: 2;
  box-shadow: 0 0 0 2px var(--coral);
}
.tl-event[data-cat="music"] .tl-dot { background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.tl-event[data-cat="live"]  .tl-dot { background: var(--sky);   box-shadow: 0 0 0 2px var(--sky); }
.tl-event[data-cat="media"] .tl-dot { background: var(--navy);  box-shadow: 0 0 0 2px var(--navy); }
.tl-event[data-cat="solo"]  .tl-dot { background: var(--ink-muted); box-shadow: 0 0 0 2px var(--ink-muted); }
.tl-event[data-level="1"] .tl-dot {
  width: 18px; height: 18px;
  border-width: 4px;
  margin-top: 4px;
}
.tl-content {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
}
.tl-event[data-level="1"] .tl-content {
  border: 1px solid var(--coral);
  background: linear-gradient(135deg, var(--bg-surface), rgba(240,141,122,0.04));
}
.tl-cat-row {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 8px; flex-wrap: wrap;
}
.tl-cat {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.tl-cat-music { background: rgba(240,141,122,0.12); color: var(--coral); }
.tl-cat-live  { background: rgba(91,155,213,0.14); color: var(--sky); }
.tl-cat-media { background: rgba(44,62,118,0.10); color: var(--navy); }
/* 年表は暗い面の上に出るので、メディアの紺色だと沈む。ここだけ明るい紫寄りにする */
body .tl-cat-media { background: rgba(160,150,220,0.16); color: #b9b0ea; }
body .mm-dot-media { background: #9a8fd8; }
.tl-cat-solo  { background: rgba(176,170,184,0.20); color: var(--ink-muted); }
.tl-level-1 {
  font-size: 11px; color: var(--coral);
  letter-spacing: 0.05em; font-weight: 500;
}
.tl-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 18px; line-height: 1.45;
  color: var(--ink-strong); margin-bottom: 6px;
}
.tl-body {
  font-family: var(--f-mincho); font-size: 14.5px;
  color: var(--ink-muted); line-height: 1.8;
}

/* Zoom-level visibility */
.bio-zoom[data-zoom="1"] .bio-eras { display: grid; }
.bio-zoom[data-zoom="1"] .bio-tl { display: none; }
.bio-zoom[data-zoom="2"] .bio-eras,
.bio-zoom[data-zoom="3"] .bio-eras,
.bio-zoom[data-zoom="4"] .bio-eras { display: none; }
.bio-zoom[data-zoom="2"] .tl-event[data-level="3"],
.bio-zoom[data-zoom="2"] .tl-event[data-level="4"] { display: none; }
.bio-zoom[data-zoom="3"] .tl-event[data-level="4"] { display: none; }
/* hide empty year rows: handled by JS after filter */
.bio-zoom[data-zoom="2"] .tl-year { font-size: 24px; }
.bio-zoom[data-zoom="3"] .tl-year { font-size: 22px; }
.bio-zoom[data-zoom="4"] .tl-year { font-size: 20px; }

/* ============ SCHEDULE (チケット予定) ============ */
.page-today {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-muted);
}
.page-today b { color: var(--ink-strong); font-weight: 700; margin-left: 4px; }

.fact-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(229,200,75,0.10);
  border: 1px solid rgba(213,160,48,0.30);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.85;
}
.fact-note b { color: var(--ink-strong); font-weight: 600; }
.fact-note a {
  color: var(--coral-deep);
  border-bottom: 1px solid rgba(229,95,69,0.4);
  font-family: var(--f-mono);
  font-size: 12px;
}
.fact-note a:hover { border-bottom-color: var(--coral-deep); }

.urgent-banner {
  background:
    radial-gradient(at 20% 30%, rgba(240,141,122,0.20), transparent 55%),
    radial-gradient(at 80% 70%, rgba(229,185,70,0.15), transparent 55%),
    var(--bg-surface);
  border: 1px solid var(--coral);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(240,141,122,0.15);
}
.urgent-head {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 20px; color: var(--coral);
  margin-bottom: 18px;
}
.urgent-icon { font-size: 24px; }
.urgent-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px;
}
.urgent-item {
  display: flex; gap: 16px; align-items: center;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.urgent-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.urgent-when {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 18px; color: var(--coral);
  min-width: 70px;
}
.urgent-body b {
  display: block;
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 14px; color: var(--ink-strong);
  margin-bottom: 3px;
}
.urgent-body span {
  font-size: 12px; color: var(--ink-muted);
}

.sched-grid {
  display: grid; gap: 28px;
  margin-bottom: 56px;
}
.sched-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sched-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 24px 32px 20px;
  position: relative;
  color: var(--ink-strong);
  border-bottom: 1px solid var(--line);
}
/* ツアーごとの色は上端の細い帯だけに使う。地は他のカードと同じ暗い面 */
.sched-head::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--tour-grad, var(--gold));
}
.sched-head::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.5;
}
.sched-tour {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 6px;
  position: relative;
}
.sched-concert {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 24px; line-height: 1.3;
  color: var(--ink-strong); margin-bottom: 8px;
  letter-spacing: 0.01em;
  position: relative;
}
.sched-meta {
  font-size: 14px;
  color: var(--ink-muted);
  position: relative;
}
.sched-countdown-big {
  position: relative; text-align: right;
}
.cd-num {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 48px; line-height: 1;
  color: var(--gold-deep);
}
.cd-lbl {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.sched-progress {
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 16px;
  align-items: center;
}
.sched-progress-bar {
  height: 6px;
  background: rgba(45,49,66,0.06);
  border-radius: 100px;
  position: relative; overflow: hidden;
}
.sched-progress-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 100px;
}
.sched-progress-label {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--coral); text-align: right;
}

.task-list { padding: 8px 20px 20px; }
.task-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 78px;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  border-radius: 10px;
  transition: background 0.15s, opacity 0.15s;
}
.task-row:last-child { border-bottom: none; }
.task-row:hover { background: var(--bg-tint); }
/* Completed items: grayed out, not crossed out */
.task-row.task-done { opacity: 0.42; }
.task-row.task-done:hover { opacity: 0.7; }
.task-row.task-today {
  background: rgba(229,185,70,0.10);
  border: 1px solid var(--gold);
}
.task-row.task-soon {
  background: rgba(240,141,122,0.06);
}
.task-row[data-type="show"]:not(.task-done) {
  background: rgba(240,141,122,0.07);
}
.task-row[data-type="show"] .task-label { font-weight: 700; }

/* Icon column: a circular tinted disc, color-coded by event type */
.task-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border-radius: 50%;
  background: rgba(45,49,66,0.05);
  flex-shrink: 0;
}
.task-row[data-type="show"]     .task-icon { background: rgba(240,141,122,0.18); }
.task-row[data-type="deadline"] .task-icon { background: rgba(229,185,70,0.20);  } /* ⏰ 締切 = warning gold */
.task-row[data-type="open"]     .task-icon { background: rgba(143,206,171,0.20); } /* ○ 受付開始 = mint */
.task-row[data-type="result"]   .task-icon { background: rgba(168,200,238,0.30); } /* 📩 当落発表 = cool blue */
.task-row[data-type="sale"]     .task-icon { background: rgba(240,141,122,0.18); } /* 🎫 一般販売 = coral */
.task-row[data-type="info"]     .task-icon { background: rgba(45,49,66,0.05);    }

.task-label {
  font-family: var(--f-mincho); color: var(--ink);
  line-height: 1.45; overflow-wrap: anywhere;
}
.task-date {
  font-family: var(--f-mono); font-size: 13.5px;
  color: var(--ink-muted); white-space: nowrap;
}
.task-countdown { text-align: right; }
.task-cd {
  display: inline-block;
  font-family: var(--f-mono); font-size: 12px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.task-cd.done    { background: rgba(45,49,66,0.06);    color: var(--ink-faint);   font-weight: 500; }
.task-cd.today   { background: var(--gold);             color: var(--bg);          }
.task-cd.soon    { background: rgba(240,141,122,0.22);  color: var(--coral-deep);  }
.task-cd.future  { background: rgba(45,49,66,0.05);     color: var(--ink-muted);   font-weight: 500; }

.sched-past {
  margin-top: 48px;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.sched-past summary {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 15px; color: var(--ink-muted);
  cursor: pointer; padding: 6px;
}
.sched-past summary:hover { color: var(--ink-strong); }
.sched-past-list {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.sched-past-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  gap: 16px; align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
}
.sched-past-date {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-muted);
}
.sched-past-name {
  font-family: var(--f-mincho); font-size: 15px;
  color: var(--ink);
}
.sched-past-name small {
  display: block; font-size: 12px; color: var(--ink-faint);
  margin-top: 2px; font-family: var(--f-sans);
}
.sched-past-status {
  font-size: 12px; color: var(--mint);
  text-align: right;
}

.sched-section-h {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 14px; color: var(--ink-strong);
  letter-spacing: 0.04em;
  padding: 16px 32px 8px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.sched-section-h::after {
  content: '';
}
.sched-note {
  margin: 0 32px;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(229,185,70,0.12);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 13px;
  color: var(--ink-muted);
}
.sched-note b { color: var(--gold-deep); }
.sched-footer {
  padding: 16px 32px 24px;
  border-top: 1px solid var(--line);
  text-align: right;
}
.sched-feature-link {
  display: inline-block;
  font-size: 14px; color: var(--coral);
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--coral);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.sched-feature-link:hover {
  background: var(--coral); color: #fff;
}
.sched-source {
  margin-top: 32px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
  text-align: center;
}
.sched-source a { color: var(--coral); border-bottom: 1px solid rgba(240,141,122,0.4); }

/* ============ FAN COMMUNITY ============ */
.fan-tabs {
  display: flex; gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.fan-tab {
  font-family: var(--f-sans); font-size: 17px;
  font-weight: 500;
  padding: 14px 4px; color: var(--ink-muted);
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.fan-tab.active {
  color: var(--coral); border-bottom-color: var(--coral);
}
.fan-tab .count {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink-faint); margin-left: 8px;
  font-weight: 400;
}
.fan-tab.active .count { color: var(--coral); }
.fan-pane { display: none; }
.fan-pane.active { display: block; }
.fan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fan-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.fan-card:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: var(--shadow-md); }
.fan-card { position: relative; }
.fan-card-sample {
  border-color: rgba(229,185,70,0.45);
  background: linear-gradient(180deg, rgba(244,224,160,0.05), transparent 80%), var(--bg-surface);
}
.fan-card-sample .fan-card-title,
.fan-card-sample .fan-card-desc,
.fan-card-sample .fan-card-when,
.fan-card-sample .fan-card-host { opacity: 0.78; }
.fan-card-title-sample {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--f-mono); font-weight: 500;
  font-size: 13px; color: #B89020;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.fan-card-sample-ribbon {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: #E5B946;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(229,185,70,0.35);
  text-transform: uppercase;
}
.fan-card-img {
  aspect-ratio: 16/9;
  position: relative;
  display: flex; align-items: flex-end;
  padding: 14px;
}
.fan-card-type {
  font-size: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--ink-strong);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.fan-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.fan-card-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 21px; line-height: 1.4;
  color: var(--ink-strong); margin-bottom: 10px;
}
.fan-card-when {
  font-size: 13px; color: var(--coral);
  font-family: var(--f-mono);
  margin-bottom: 14px; letter-spacing: 0.03em;
}
.fan-card-desc {
  font-size: 15px; color: var(--ink-muted);
  line-height: 1.8; margin-bottom: 16px;
  flex: 1;
}
.fan-card-host {
  font-size: 13px; color: var(--ink-faint);
  padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: space-between;
}
.fan-card-url {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--coral); text-decoration: none;
  letter-spacing: 0.02em;
}
.fan-card-url:hover { text-decoration: underline; }

/* ── Expandable detail panel inside fan-card ────────────────────── */
.fan-card-detail {
  margin: 4px 0 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fan-card-detail > summary {
  cursor: pointer;
  padding: 12px 0;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--coral);
  letter-spacing: 0.06em;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.fan-card-detail > summary::-webkit-details-marker { display: none; }
.fan-card-detail > summary::after {
  content: "▾";
  font-size: 10px;
  color: var(--ink-faint);
  transition: transform 0.2s;
}
.fan-card-detail[open] > summary::after { transform: rotate(180deg); }
.fan-card-detail[open] > summary { color: var(--ink-strong); }
.fan-card-detail-body {
  padding: 8px 0 16px 0;
  display: flex; flex-direction: column; gap: 18px;
}
.fcd-section { display: flex; flex-direction: column; gap: 8px; }
.fcd-h {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 13px; color: var(--ink-strong);
  letter-spacing: 0.04em; margin: 0;
  padding-bottom: 6px; border-bottom: 1px dashed var(--line);
}
.fcd-section p {
  font-size: 13px; line-height: 1.75; color: var(--ink-muted);
  margin: 0;
}
.fcd-kv-list { display: flex; flex-direction: column; gap: 4px; }
.fcd-kv {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 13px;
}
.fcd-k {
  font-family: var(--f-mono);
  color: var(--ink-faint); min-width: 56px;
  letter-spacing: 0.04em; font-size: 11px;
}
.fcd-v { color: var(--ink-strong); font-weight: 500; }
.fcd-lineup { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fcd-lineup-item {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13px;
}
.fcd-lineup-item b { color: var(--ink-strong); font-weight: 600; }
.fcd-lineup-item span {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--coral); letter-spacing: 0.04em;
}
.fcd-members {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.fcd-member-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
}
.fcd-member-role {
  grid-row: 1 / span 2;
  font-family: var(--f-mono);
  font-size: 10px; color: var(--coral);
  letter-spacing: 0.06em;
  align-self: start; padding-top: 3px;
}
.fcd-member-name { font-size: 13px; color: var(--ink-strong); }
.fcd-member-name b { font-weight: 700; }
.fcd-member-bio {
  font-size: 12px; line-height: 1.7;
  color: var(--ink-muted); margin: 4px 0 0 0;
}
.fcd-tickets-note {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--ink-faint);
  margin: 2px 0 0 0;
  letter-spacing: 0.04em;
}
.fan-cta {
  margin-top: 56px;
  padding: 48px 32px;
  background:
    radial-gradient(at 20% 20%, rgba(240,141,122,0.18), transparent 55%),
    radial-gradient(at 80% 80%, rgba(244,224,160,0.20), transparent 55%),
    var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.fan-cta h3 {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 24px; margin-bottom: 12px;
  color: var(--ink-strong);
}
.fan-cta p {
  font-size: 16px; color: var(--ink-muted);
  margin-bottom: 24px; line-height: 1.85;
}
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--coral); color: #FFFFFF;
  font-weight: 500; font-size: 15px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(240,141,122,0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240,141,122,0.4);
}

/* ============ BLOG ============ */
.blog-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
  align-items: center;
}
.blog-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-hero-img {
  aspect-ratio: 4/3;
  border-radius: 14px;
  background-color: var(--bg-elevated);
}
.blog-hero-meta {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.04em; margin-bottom: 16px;
}
.blog-hero-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 28px; line-height: 1.4;
  color: var(--ink-strong); margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.blog-hero-deck {
  font-family: var(--f-mincho); font-size: 16px;
  color: var(--ink-muted); line-height: 1.95;
  max-width: 600px;
}
.blog-search-row {
  display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.blog-count {
  font-size: 13px; color: var(--ink-muted);
  margin-bottom: 36px;
}
.blog-cat-row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px; row-gap: 48px;
}
.blog-card {
  cursor: pointer;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.blog-card-img {
  aspect-ratio: 4/3;
  margin-bottom: 16px; border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
  background-color: var(--bg-elevated);
  overflow: hidden;
}
.blog-card-img > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.blog-card:hover .blog-card-img {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.blog-card-cat {
  font-size: 12px; color: var(--coral);
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 22px; line-height: 1.45;
  margin-bottom: 12px; color: var(--ink-strong);
}
.blog-card-deck {
  font-family: var(--f-mincho); font-size: 15px;
  color: var(--ink-muted); line-height: 1.85;
  margin-bottom: 18px;
}
.blog-card-meta {
  font-size: 12px; color: var(--ink-faint);
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ============ ARTICLE (individual WP post) ============ */
.post-article { display: none; padding: 8px 40px 40px; }
.post-article[data-active="true"] { display: block; }

/* ============ SONG DETAIL ============ */
.song-detail-panel { display: none; }
.song-detail-panel[data-active="true"] { display: block; }
.song-detail-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.song-detail-cover {
  aspect-ratio: 1;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; align-items: flex-end;
  padding: 14px;
}
.song-detail-cover-img { overflow: hidden; padding: 0; }
.song-detail-cover-img > img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.sdc-album {
  font-family: var(--f-mincho); font-weight: 600;
  font-size: 13px; color: #fff;
  text-shadow: 0 1px 3px rgba(45,49,66,0.45);
  letter-spacing: 0.02em;
}
.song-detail-meta {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--coral); letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.song-detail-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25; color: var(--ink-strong);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.song-detail-credits {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-muted);
  margin-bottom: 18px;
}
.song-detail-credits b { color: var(--ink-strong); font-weight: 600; margin-left: 4px; }
.song-detail-stats {
  display: flex; gap: 28px;
}
.song-detail-stats > div {
  display: flex; flex-direction: column; gap: 4px;
}
.song-detail-stats b {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 24px; color: var(--coral);
  line-height: 1;
}
.song-detail-stats span {
  font-size: 11px; color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.song-detail-section {
  margin-bottom: 40px;
}
.song-detail-h {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 18px; color: var(--ink-strong);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 12px;
}
.song-detail-h span {
  font-size: 12px; color: var(--ink-muted);
  font-weight: 400;
}
.song-appear-list {
  display: flex; flex-direction: column; gap: 4px;
}
.song-appear-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 16px;
  padding: 10px 12px; border-radius: 6px;
  transition: background 0.15s;
}
.song-appear-row:hover { background: var(--bg-tint); }
.song-appear-date {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--coral); letter-spacing: 0.04em;
}
.song-appear-album b {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 15px; color: var(--ink-strong); margin-right: 8px;
}
.song-appear-album span {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-muted); letter-spacing: 0.06em;
}
.song-play-list {
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 8px 12px;
}
.song-play-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 16px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}
.song-play-row:last-child { border-bottom: none; }
.song-play-date {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--coral); letter-spacing: 0.04em;
}
.song-play-venue b {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 14.5px; color: var(--ink-strong);
  display: block; margin-bottom: 2px;
}
.song-play-venue span {
  font-size: 12px; color: var(--ink-muted);
}
.song-play-more {
  font-size: 12px; color: var(--ink-muted);
  text-align: center;
  padding: 14px 0 0;
  font-style: italic;
}
.song-play-empty {
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: 10px;
  text-align: center;
  color: var(--ink-muted);
  font-style: italic;
}
.song-rel-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.song-rel-post {
  display: block;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.2s, border-color 0.2s;
  color: inherit; text-decoration: none;
}
.song-rel-post:hover { transform: translateY(-2px); border-color: var(--coral); }
.song-rel-cat {
  font-size: 10px; color: var(--coral);
  letter-spacing: 0.06em; margin-bottom: 6px;
}
.song-rel-post h4 {
  font-family: var(--f-mincho); font-weight: 600;
  font-size: 14px; line-height: 1.4;
  color: var(--ink-strong); margin-bottom: 6px;
}
.song-rel-date {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-faint);
}

/* ── 同じアルバムの他の曲 (chip list) ─────────────────────────────── */
.song-sibling-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 4px;
}
.song-sibling-chip {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: baseline;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.song-sibling-chip:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
  background: var(--bg-tint);
}
.ssc-no {
  grid-row: 1 / span 2;
  font-family: var(--f-mono);
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.02em;
}
.ssc-title {
  font-family: var(--f-mincho); font-weight: 600;
  font-size: 14px; color: var(--ink-strong); line-height: 1.4;
}
.ssc-album {
  font-size: 11px; color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.song-sibling-more {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px; color: var(--ink-muted);
  margin-top: 12px;
}

/* ── Inline links inside song-detail ─────────────────────────────── */
.link-album, .link-member, .link-tour {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,137,112,0.4);
  transition: color 0.15s, border-color 0.15s;
}
.link-album:hover, .link-member:hover, .link-tour:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}
.song-detail-cover .link-album {
  color: inherit;
  border-bottom-color: rgba(255,255,255,0.5);
}
.song-detail-cover .link-album:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ── タイアップ section ─────────────────────────────────────────── */
.song-tieup-list {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 4px;
}
.song-tieup-row {
  display: grid;
  grid-template-columns: 56px 72px 1fr;
  column-gap: 16px;
  align-items: baseline;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(244,224,160,0.18), rgba(255,237,212,0.06));
  border: 1px solid rgba(229,185,70,0.3);
  border-radius: 10px;
}
.song-tieup-year {
  font-family: var(--f-mono); color: var(--coral);
  font-size: 13px; font-weight: 600;
}
.song-tieup-type {
  font-family: var(--f-mono); font-size: 10px;
  color: #B89020; letter-spacing: 0.08em;
  background: rgba(229,185,70,0.18);
  padding: 3px 8px; border-radius: 4px;
  text-align: center;
  align-self: center;
}
.song-tieup-client {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 14px; color: var(--ink-strong);
  line-height: 1.5;
}
.song-tieup-note {
  display: block;
  font-size: 11px; color: var(--ink-muted);
  margin-top: 2px;
}
@media (max-width: 640px) {
  .song-tieup-row {
    grid-template-columns: auto auto 1fr;
    column-gap: 8px;
  }
}

/* ── ライブ共演曲 (sortable list) ──────────────────────────────────── */
.song-coplay-list {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 4px;
}
.song-coplay-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px; align-items: baseline;
  padding: 11px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color 0.18s, background 0.18s;
}
.song-coplay-row:hover {
  border-color: var(--coral);
  background: var(--bg-tint);
}
.scr-title {
  font-family: var(--f-mincho); font-weight: 600;
  font-size: 15px; color: var(--ink-strong);
}
.scr-count {
  font-family: var(--f-mono);
  font-size: 12px; color: var(--ink-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.scr-count b {
  color: var(--coral);
  font-size: 14px; font-weight: 700;
  margin-right: 2px;
}
.scr-count small {
  color: var(--ink-faint);
  margin-left: 6px;
}
@media (max-width: 640px) {
  .song-sibling-list { grid-template-columns: 1fr; }
  .song-coplay-row { grid-template-columns: 1fr; }
  .scr-count { justify-self: end; font-size: 11px; }
}

/* ============ MEMBERS ============ */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.member-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none; color: inherit;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member-cover {
  height: 130px;
  padding: 24px 28px;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  position: relative;
}
.member-cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.5;
}
.mc-name {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 36px; letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(45,49,66,0.40);
  position: relative;
}
.mc-role {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 3px rgba(45,49,66,0.40);
  position: relative;
  margin-top: 6px;
  color: rgba(255,255,255,0.92);
}
.member-body { padding: 22px 26px 24px; }
.member-tags {
  font-size: 12px; color: var(--ink-faint);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.member-summary {
  font-family: var(--f-mincho); font-size: 14.5px;
  color: var(--ink); line-height: 1.85;
  margin-bottom: 18px;
}
.member-stats {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-muted);
}
.member-stats b {
  color: var(--coral); font-weight: 600;
  font-family: var(--f-mono); margin-right: 4px;
}

/* Member detail */
.member-detail-panel { display: none; }
.member-detail-panel[data-active="true"] { display: block; }
.member-detail-head {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px;
}
.mdh-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.5;
}
.mdh-inner {
  position: relative; text-align: center; color: #fff;
}
.mdh-name {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 72px; letter-spacing: 0.04em;
  text-shadow: 0 2px 6px rgba(45,49,66,0.45);
}
.mdh-name-ja {
  font-family: var(--f-mincho); font-size: 16px;
  margin-top: 8px;
  text-shadow: 0 1px 3px rgba(45,49,66,0.45);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.95);
}
.member-info-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--bg-elevated);
  border-radius: 12px;
  margin-bottom: 32px;
}
.member-info-row > div {
  display: flex; flex-direction: column; gap: 4px;
}
.member-info-k {
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.member-info-v {
  font-family: var(--f-mincho); font-size: 15px;
  color: var(--ink-strong); font-weight: 500;
}
.member-section { margin-bottom: 36px; }
.member-long-bio {
  font-family: var(--f-mincho); font-size: 16px;
  line-height: 2.0; color: var(--ink);
}
.member-credit-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mcs-cell {
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: 12px;
  text-align: center;
}
.mcs-cell b {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 36px; color: var(--coral); line-height: 1;
  display: block; margin-bottom: 6px;
}
.mcs-cell span {
  font-size: 12px; color: var(--ink-muted);
}
.member-highlights {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.member-high {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--f-mincho); font-size: 14px;
  color: var(--ink); text-decoration: none;
  transition: all 0.2s;
}
.member-high:hover { border-color: var(--coral); color: var(--coral); }
/* Member-page song list (all songs sorted by release date) */
.member-song-list {
  display: flex; flex-direction: column;
  max-height: 720px;
  overflow-y: auto;
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 8px 4px;
}
.member-song-row {
  display: grid;
  grid-template-columns: 100px 1fr 110px 200px;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 6px;
  align-items: center;
  text-decoration: none; color: inherit;
  transition: background 0.15s, transform 0.15s;
}
.member-song-row + .member-song-row { border-top: 1px solid var(--line); }
.member-song-row:hover { background: var(--bg-surface); transform: translateX(2px); }
.ms-date {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--coral); letter-spacing: 0.03em;
}
.ms-title {
  font-family: var(--f-mincho); font-size: 15.5px;
  color: var(--ink-strong);
  line-height: 1.4;
}
.ms-badges { display: flex; gap: 4px; }
.ms-badge {
  font-family: var(--f-mono); font-size: 10px;
  padding: 2px 7px; border-radius: 100px;
  letter-spacing: 0.04em; font-weight: 500;
}
.ms-badge-lyr  { background: rgba(240,137,112,0.15); color: var(--coral-deep); }
.ms-badge-comp { background: rgba(91,170,224,0.15);  color: var(--sky); }
.ms-album {
  font-family: var(--f-mincho); font-size: 12px;
  color: var(--ink-muted);
  text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============ TIEUPS ============ */
.tieup-list {
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 8px;
  margin-top: 16px;
}
.tieup-row {
  display: grid;
  grid-template-columns: 60px 200px 80px 1fr 1fr;
  gap: 16px;
  padding: 12px 14px;
  align-items: center;
  border-radius: 6px;
  transition: background 0.15s;
  text-decoration: none; color: inherit;
}
.tieup-row + .tieup-row { border-top: 1px solid var(--line); }
.tieup-row:hover { background: var(--bg-surface); }
.tieup-year {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--coral); font-weight: 500;
}
.tieup-song b {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 16px; color: var(--ink-strong);
}
.tieup-type-tag {
  font-size: 10px; letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(91,155,213,0.14);
  color: var(--sky);
  font-weight: 500;
}
.tieup-client {
  font-family: var(--f-mincho); font-size: 13.5px;
  color: var(--ink);
}
.tieup-note {
  font-size: 12px; color: var(--ink-faint);
  font-style: italic;
}

/* ============ VENUE HEATMAP ============ */
.venue-heatmap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  margin-top: 16px;
}
.venue-row {
  display: grid;
  grid-template-columns: 100px 1fr 70px;
  gap: 14px;
  align-items: center;
  padding: 6px 8px;
}
.venue-name {
  font-family: var(--f-mincho); font-size: 14px;
  color: var(--ink-strong);
}
.venue-bar-wrap {
  height: 8px;
  background: rgba(45,49,66,0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.venue-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 100px;
}
.venue-count {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--coral);
  text-align: right;
  font-weight: 500;
}
.venue-count small {
  font-family: var(--f-sans); font-size: 10px;
  color: var(--ink-muted); margin-left: 3px;
}

/* ============ ALBUM DETAIL ============ */
.album-detail-panel { display: none; }
.album-detail-panel[data-active="true"] { display: block; }
.album-detail-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.ad-cover {
  aspect-ratio: 1;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  overflow: hidden;
}
.ad-cover::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.5;
}
.ad-cover-title {
  position: relative; z-index: 1;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 22px; color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(45,49,66,0.45), 0 4px 16px rgba(45,49,66,0.30);
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.ad-cover.has-art { padding: 0; background: transparent; }
.ad-cover.has-art::after { display: none; }
.ad-cover.has-art > svg { width: 100%; height: 100%; display: block; }
.ad-kind {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--coral);
  margin-bottom: 10px;
}
.ad-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--ink-strong);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.ad-date {
  font-family: var(--f-mono); font-size: 14px;
  color: var(--ink-muted); letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.ad-label {
  display: flex; gap: 10px; align-items: baseline;
  margin-bottom: 12px;
  font-size: 13px;
}
.adl-k { color: var(--ink-faint); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; }
.adl-v { color: var(--ink-strong); font-family: var(--f-mincho); }
.ad-notes {
  padding: 12px 14px;
  background: var(--bg-elevated);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.ad-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.ad-stat {
  padding: 22px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.ad-stat b {
  display: block;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 32px; color: var(--coral); line-height: 1;
  margin-bottom: 8px;
}
.ad-stat b small {
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 400;
  color: var(--ink-muted); margin-left: 4px;
}
.ad-stat span {
  font-size: 11px; color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.ad-tracks {
  display: flex; flex-direction: column;
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 8px 12px;
}
.ad-track {
  display: grid;
  grid-template-columns: 40px 1fr 220px 110px;
  gap: 16px;
  padding: 12px 10px;
  border-radius: 6px;
  align-items: center;
  text-decoration: none; color: inherit;
  transition: background 0.15s, transform 0.15s;
}
.ad-track + .ad-track { border-top: 1px solid var(--line); }
.ad-track:hover { background: var(--bg-surface); transform: translateX(2px); }
.adt-no {
  font-family: var(--f-mono); font-size: 14px;
  color: var(--coral); font-weight: 500;
}
.adt-title {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 16px; color: var(--ink-strong);
}
.adt-credit {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-muted); letter-spacing: 0.04em;
}
.adt-live {
  font-family: var(--f-sans); font-size: 12px;
  color: var(--ink-muted); text-align: right;
}
.adt-live b { color: var(--coral); font-family: var(--f-mono); font-weight: 500; }

/* ============ TOUR DETAIL ============ */
.tour-detail-panel { display: none; }
.tour-detail-panel[data-active="true"] { display: block; }
.tour-detail-head {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.tour-detail-meta {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--coral); letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.tour-detail-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.3; color: var(--ink-strong);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.tour-detail-period {
  font-family: var(--f-mono); font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.tour-detail-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.tour-detail-stats > div {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.tour-detail-stats b {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 30px; color: var(--coral); line-height: 1;
}
.tour-detail-stats span {
  font-size: 11px; color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.tour-detail-section { margin-bottom: 40px; }
.tour-top-songs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 6px;
}
.tour-top-empty {
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: 10px;
  color: var(--ink-muted);
  text-align: center;
  font-size: 14px;
  font-style: italic;
}
.tour-top-song {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px;
  padding: 10px 14px;
  background: var(--bg-elevated); border-radius: 8px;
  align-items: center;
}
.tts-count {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 16px; color: var(--coral);
  text-align: center;
}
.tts-title {
  font-family: var(--f-mincho); font-size: 14.5px;
  color: var(--ink-strong);
}
.tour-concert-list {
  display: flex; flex-direction: column; gap: 2px;
}
.tour-concert-row {
  display: grid; grid-template-columns: 100px 1fr 70px; gap: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  align-items: baseline;
  transition: background 0.15s;
}
.tour-concert-row:hover { background: var(--bg-tint); }
.tcr-date {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--coral); letter-spacing: 0.04em;
}
.tcr-venue b {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 14.5px; color: var(--ink-strong);
  display: block; margin-bottom: 2px;
}
.tcr-venue span {
  font-size: 12px; color: var(--ink-muted);
}
.tcr-songs {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-muted);
  text-align: right;
}
.post-back-row {
  margin-bottom: 32px;
}
.post-back {
  display: inline-block;
  font-size: 13px; color: var(--ink-muted);
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
}
.post-back:hover { color: var(--coral); border-color: var(--coral); }
.post-meta {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 18px;
}
.post-cat {
  font-size: 12px; color: var(--coral);
  letter-spacing: 0.06em;
  padding: 4px 12px;
  background: rgba(240,141,122,0.10);
  border-radius: 100px;
}
.post-date {
  font-family: var(--f-mono);
  font-size: 13px; color: var(--ink-muted);
}
.post-title {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  color: var(--ink-strong);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}
/* 広告枠は本文より一回り狭く中央に。周りと同じ暗い面で囲んで浮かないように */
a.today-item { text-decoration: none; color: inherit; }
.rc-more a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,137,112,0.4); }
.ad-slot { max-width: 640px; margin: 36px auto 8px; min-height: 0; padding: 12px 12px 8px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 12px; }
.ad-slot:not([data-filled]) { padding: 0; margin: 0; border: 0; background: none; }  /* 埋まるまでは枠を見せない。display:none にすると offsetParent が消えて JS が埋められなくなる */
.ad-slot[data-filled]::before { content: 'スポンサーリンク'; display: block; font-size: 11px; color: var(--ink-faint); letter-spacing: 0.08em; margin-bottom: 6px; }
/* 広告が返ってこなかった枠（AdSense が data-ad-status="unfilled" を付ける）は、空白を残さず畳む */
.ad-slot { overflow: hidden; }
.ad-slot ins.adsbygoogle { display: block !important; width: 100% !important; max-width: 100% !important; }
.ad-slot ins.adsbygoogle iframe { max-width: 100% !important; }
.ad-slot ins[data-ad-status="unfilled"] { display: none !important; }
.ad-slot:has(ins[data-ad-status="unfilled"]) { display: none !important; }   /* 広告が返らなかった枠は丸ごと畳む */
.ad-slot:has(ins[data-ad-status="unfilled"])::before { display: none; }
.post-eyecatch { margin: 0 0 28px; }
.post-eyecatch img { width: 100%; height: auto; display: block; border-radius: 12px; }
.post-body {
  font-family: var(--f-mincho); font-size: 18px; font-weight: 500;
  line-height: 2.0; color: var(--ink-strong);
  letter-spacing: 0.01em;
  word-wrap: break-word;
}
.post-body p { margin-bottom: 22px; }
/* YouTube の埋め込みは幅いっぱい・16:9 に。width/height 属性のまま max-width:100% を当てると横長に潰れる */
.post-body iframe[src*="youtube.com/embed"], .post-body iframe[src*="youtube-nocookie.com/embed"] {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
}
.post-body img, .post-body iframe, .post-body video {
  max-width: 100%; height: auto;
  margin: 28px auto;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.post-body figure { margin: 28px 0; text-align: center; }
.post-body figcaption {
  font-size: 13px; color: var(--ink-muted);
  margin-top: 8px;
}
.post-body h2 {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 26px; line-height: 1.4;
  margin: 56px 0 18px;
  color: var(--ink-strong);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.post-body h3 {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 21px; line-height: 1.4;
  margin: 40px 0 14px;
  color: var(--ink-strong);
}
.post-body h4 {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 18px;
  margin: 32px 0 12px;
  color: var(--ink-strong);
}
.post-body a {
  color: var(--coral);
  border-bottom: 1px solid rgba(240,141,122,0.4);
  transition: border-color 0.2s;
}
.post-body a:hover { border-bottom-color: var(--coral); }
.post-body strong, .post-body b { color: var(--ink-strong); font-weight: 700; }
.post-body em, .post-body i { color: var(--ink-strong); }
.post-body ul, .post-body ol { margin: 18px 0 22px 28px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  margin: 28px 0; padding: 18px 24px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0;
  color: var(--ink-muted);
  font-style: italic;
}
.post-body table {
  width: 100%; margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.post-body th, .post-body td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.post-body th { background: var(--bg-elevated); font-weight: 700; }
.post-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.post-body pre, .post-body code {
  font-family: var(--f-mono);
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.post-body pre { padding: 16px; overflow-x: auto; margin: 18px 0; }
.post-nav {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.post-nav-link {
  display: block;
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.post-nav-link.post-nav-empty { background: transparent; border: none; pointer-events: none; }
.post-nav-link:hover { border-color: var(--coral); transform: translateY(-2px); }
.post-nav-older { text-align: right; }
.pn-label {
  font-size: 11px; color: var(--coral);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.pn-title {
  font-family: var(--f-mincho); font-weight: 500;
  font-size: 14px; line-height: 1.45;
  color: var(--ink-strong);
}

.post-footer {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; gap: 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.post-original {
  font-size: 13px; color: var(--ink-muted);
  transition: color 0.2s;
}
.post-original:hover { color: var(--coral); }

/* ============ ANALYSIS ============ */
.viz-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  margin-top: 24px;
}
.viz-card {
  padding: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.viz-card h3 {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 26px; line-height: 1.4;
  margin-bottom: 8px; color: var(--ink-strong);
}
.viz-eyebrow {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.06em; margin-bottom: 14px;
}
.viz-deck {
  font-size: 15px; color: var(--ink-muted);
  line-height: 1.85; margin-bottom: 28px;
  max-width: 560px;
}
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-row {
  display: grid;
  grid-template-columns: 240px 1fr 50px;
  gap: 18px; align-items: center;
}
.bar-label {
  font-family: var(--f-mincho); font-size: 15px;
  color: var(--ink-strong);
}
.bar-label small {
  display: block; font-family: var(--f-sans);
  font-size: 11px; color: var(--ink-faint);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.bar-track {
  height: 10px; background: rgba(45,49,66,0.06);
  border-radius: 100px; position: relative; overflow: hidden;
}
.bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: 100px;
  animation: barIn 1.4s cubic-bezier(0.22,0.61,0.36,1) backwards;
}
@keyframes barIn { from { width: 0 !important; } }
.bar-num {
  font-family: var(--f-mono); font-size: 14px;
  color: var(--coral); text-align: right;
}
.decade-chart {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; align-items: end; height: 240px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px; margin-bottom: 12px;
}
.decade-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.decade-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  border-radius: 8px 8px 0 0;
  position: relative;
  animation: rise2 1s cubic-bezier(0.22,0.61,0.36,1) backwards;
}
@keyframes rise2 { from { height: 0 !important; } }
.decade-num {
  position: absolute; top: -24px; left: 0; right: 0;
  text-align: center; font-family: var(--f-mono);
  font-size: 13px; color: var(--coral);
}
.decade-label { font-size: 13px; color: var(--ink-muted); }
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 32px;
}
.stat-cell {
  padding: 24px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px;
}
.stat-cell .n {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 36px; color: var(--coral);
  line-height: 1; margin-bottom: 8px;
}
.stat-cell .l {
  font-family: var(--f-mincho); font-size: 14px;
  color: var(--ink-muted);
}

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(180deg, transparent, var(--bg-elevated));
  border-top: 1px solid var(--line);
  margin-top: 96px;
  padding: 64px 32px 40px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: var(--f-mincho); font-weight: 700;
  font-size: 28px; margin-bottom: 14px;
  color: var(--ink-strong);
}
.footer-brand .dot {
  width: 6px; height: 6px;
  background: var(--coral); border-radius: 50%;
  display: inline-block; vertical-align: middle;
  margin: 0 4px;
}
.footer-tag {
  font-family: var(--f-mincho); font-size: 15px;
  color: var(--ink-muted);
  max-width: 360px; line-height: 1.95;
}
.footer h5 {
  font-size: 13px; color: var(--coral);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer li {
  font-size: 14px;
  padding: 5px 0;
}
.footer li a {
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.footer li a:hover { color: var(--coral); }
.colophon {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
  display: flex; justify-content: space-between;
  max-width: 1280px;
  margin-left: auto; margin-right: auto;
  padding-left: 32px; padding-right: 32px;
  flex-wrap: wrap; gap: 12px;
}
.colophon .official-note {
  color: var(--ink-muted);
  font-style: italic;
}

/* ============ RESPONSIVE ============ */
/* Defensive: prevent CSS Grid 1fr blowout from CJK+Latin min-content.
   When a track is `1fr` (= minmax(auto, 1fr)), the `auto` (= min-content) of
   long unbreakable titles forces the column wider than the container. We
   neutralize this for tracks that have been reduced to a single 1fr column
   on tablet/mobile, and allow text inside to break at any character when
   needed. */
@media (max-width: 1024px) {
  .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .song-toolbar { grid-template-columns: minmax(0, 1fr); }
  .filter-row { justify-content: flex-start; }
  .concerts-layout { grid-template-columns: minmax(0, 1fr); }
  .concert-detail { position: static; max-height: none; }
  .blog-hero { grid-template-columns: minmax(0, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .viz-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links .nav-btn { padding: 6px 12px; font-size: 13px; }
  .brand .tagline { display: none; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-legend { position: static; }
  .album-header { grid-template-columns: 140px 1fr; }
  .fan-grid { grid-template-columns: 1fr; }
  .track-row { grid-template-columns: 40px 1fr 100px; }
  .track-row .track-credit { display: none; }
}

/* ============ MOBILE (≤640px) — full overhaul ============ */
@media (max-width: 640px) {
  /* viewport-level: prevent any horizontal scroll */
  /* body だけに掛ける。html にも掛けると body が独自のスクロール領域になり、
     ナビや年表ツールバーの position: sticky がスマホで効かなくなる */
  body { overflow-x: hidden; }
  body { font-size: 15px; line-height: 1.75; }

  /* Containers — much tighter padding */
  .container, .container-narrow { padding: 14px 16px 56px; }
  .welcome { padding: 14px 16px 12px; }
  .featured-strip { padding: 0 16px; }
  .home-section { padding: 56px 16px 0; }
  .cover { padding: 32px 16px 48px; }

  /* Nav: two-row layout, links wrap freely (no horizontal scroll).
     The links naturally flow to 2 rows on narrow screens. */
  .nav-inner { gap: 4px; padding: 6px 12px 4px; }
  /* メニューは折り返さず1行。横にスクロールできる。スクロールバーは出さない */
  .nav-links { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
               scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .nav-btn { flex: 0 0 auto; white-space: nowrap; }
  .nav-top { gap: 12px; }
  .brand { font-size: 18px; }
  .nav-search { padding: 6px 12px; gap: 8px; }
  .nav-search-input { font-size: 13px; }
  .nav-search-kbd { display: none; }
  .nav-links { gap: 4px 4px; }
  .nav-links .nav-btn { font-size: 13px; padding: 6px 12px; }

  /* Home — single column for everything */
  /* スマホでは入口カードを2列・小さく。最初の画面に本体が入るように */
  .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cta-card { padding: 14px 14px 12px; }
  .cta-icon { font-size: 18px; margin-bottom: 6px; }
  .cta-title { font-size: 16px; }
  .cta-meta { display: none; }
  /* ブログの一番上の記事: 画像を横長にして、見出しが最初の画面に入るように */
  .blog-hero-img { aspect-ratio: 2 / 1; min-height: 0; height: auto; max-height: 190px; }
  .cta-card { padding: 20px 18px; border-radius: 12px; }
  .home-twocol { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .spotlight-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .home-section-head { flex-wrap: wrap; gap: 8px; }
  .home-section-head h2 { font-size: 24px; line-height: 1.4; }
  .welcome-headline { font-size: clamp(34px, 8vw, 48px); line-height: 1.3; }
  .welcome-deck { font-size: 14px; line-height: 1.7; }
  .featured-title { font-size: 26px; }
  .featured-deck { font-size: 15px; }
  .featured { padding: 32px 0; }
  .home-live-row { grid-template-columns: 90px 1fr; gap: 12px; padding: 12px; }
  .home-live-title { font-size: 14px; }

  /* Page heads */
  .page-title { font-size: clamp(24px, 6vw, 30px); line-height: 1.3; }
  .page-deck { font-size: 14px; line-height: 1.6; }
  .page-eyebrow { font-size: 12px; margin-bottom: 4px; }
  .page-head { margin-bottom: 16px; padding-bottom: 12px; }
  .blog-hero { padding: 16px; gap: 14px; margin-bottom: 20px; }
  .blog-hero-title { font-size: 21px; margin-bottom: 8px; }
  .section-title { font-size: 32px; }

  /* Songs page */
  .songs-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .album-header { grid-template-columns: 100px 1fr; gap: 16px; }
  .album-cover { border-radius: 10px; }
  .album-cover-title { font-size: 14px; }
  .album-kind { font-size: 11px; }
  .album-title { font-size: 22px; }
  .album-date { font-size: 13px; }
  .album-stats { font-size: 12px; gap: 12px; }
  .track-row { grid-template-columns: 32px minmax(0, 1fr) 70px; gap: 10px; padding: 12px 8px; }
  .track-row:hover { transform: none; }
  .track-title { font-size: 15px; }
  .filter-row { gap: 6px; }
  .chip { font-size: 11px; padding: 5px 10px; }

  /* Concerts page */
  .concert-list, .year-band, .concert-items, .concert-item-d { min-width: 0; }
  .year-band-head { padding: 16px 4px; }
  .year-band-head, .year-jump { min-width: 0; flex-wrap: wrap; }
  .year-marker { font-size: 22px; gap: 10px; min-width: 0; }
  .year-marker small { font-size: 11px; }
  .concert-item { grid-template-columns: 80px minmax(0, 1fr) 80px; gap: 10px; padding: 12px 10px; }
  .concert-info { min-width: 0; }
  .concert-info b { font-size: 13.5px; overflow-wrap: anywhere; }
  .concert-info > span { font-size: 12px; overflow-wrap: anywhere; }
  .concert-date { font-size: 11px; }
  .setlist-pill { font-size: 10px; padding: 2px 7px; }
  .setlist-inline { padding: 12px 14px; }
  .setlist-block-main, .setlist-block-encore { grid-template-columns: minmax(0, 1fr); }
  /* 年へジャンプは1行の横スクロール。34年ぶんを全部並べると最初の画面を占領するため */
  .year-jump { padding: 8px 12px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
               scrollbar-width: none; align-items: center; margin-bottom: 14px; }
  .year-jump::-webkit-scrollbar { display: none; }
  .year-jump-label { flex: 0 0 auto; }
  .year-jump a { font-size: 12px; padding: 4px 9px; flex: 0 0 auto; }

  /* Discography: スマホは2列（2026-09-10 指示） */
  .disco-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .disco-track { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; }
  .disco-cover .cover-title { font-size: 16px; }
  .disco-info .t { font-size: 13px; }

  /* Biography */
  .zoom-toolbar { padding: 12px; gap: 12px; top: 60px; }
  .zoom-tabs { width: 100%; justify-content: space-between; }
  .zoom-tab { padding: 6px 10px; font-size: 12px; flex: 1; }
  .zoom-tab small { font-size: 9px; }
  .bio-minimap { padding: 14px 0 20px; }
  .mm-yearmark { font-size: 9px; }
  .bio-eras { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .era-body { padding: 22px 24px; }
  .era-name { font-size: 22px; }
  .era-summary { font-size: 14px; }
  .bio-tl { padding-left: 16px; }
  .bio-tl::before { left: 7px; }
  .tl-event { grid-template-columns: 80px 18px minmax(0, 1fr); gap: 10px; margin-left: -16px; padding-left: 16px; }
  .tl-date { font-size: 11px; padding-top: 2px; }
  .tl-content { padding: 12px 14px; }
  .tl-title { font-size: 15px; }
  .tl-body { font-size: 13px; }
  .tl-year { font-size: 20px !important; }

  /* Members */
  .members-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .member-cover { height: 100px; padding: 16px 20px; }
  .mc-name { font-size: 28px; }
  .mc-role { font-size: 10px; }
  .member-body { padding: 18px 20px; }
  .member-summary { font-size: 14px; }
  .member-detail-head { height: 160px; }
  .mdh-name { font-size: 44px; }
  .mdh-name-ja { font-size: 13px; }
  .member-info-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
  .member-credit-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mcs-cell { padding: 14px; }
  .mcs-cell b { font-size: 24px; }
  .member-song-row { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .member-song-row .ms-badges,
  .member-song-row .ms-album { grid-column: 2; padding: 0; margin-top: 2px; font-size: 11px; }
  .ms-title { font-size: 14px; }
  .ms-date { font-size: 11px; }

  /* Schedule */
  .sched-card { border-radius: 14px; }
  .sched-head { padding: 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .sched-concert { font-size: 18px; }
  .sched-meta { font-size: 12px; }
  .sched-countdown-big { text-align: left; }
  .cd-num { font-size: 36px; }
  .sched-progress { padding: 12px 20px; }
  .task-list { padding: 8px 10px 16px; }
  .task-row { grid-template-columns: 32px minmax(0, 1fr) 70px; gap: 10px; padding: 10px 8px; font-size: 13.5px; }
  .task-row .task-date { display: none; }
  .task-icon { width: 32px; height: 32px; font-size: 15px; }
  .task-cd { font-size: 10.5px; padding: 2px 8px; }
  .urgent-banner { padding: 20px; }
  .urgent-head { font-size: 16px; }
  .urgent-list { grid-template-columns: minmax(0, 1fr); }
  .urgent-item { padding: 12px; gap: 10px; }
  .urgent-when { font-size: 14px; min-width: 56px; }
  .fact-note { font-size: 12px; padding: 12px 14px; }
  .sched-section-h { padding: 14px 16px 6px; font-size: 12px; }
  .sched-footer { padding: 12px 16px 16px; }

  /* Fan */
  .fan-grid { gap: 18px; }
  .fan-card-body { padding: 18px 20px; }
  .fan-tabs { gap: 16px; }
  .fan-tab { font-size: 14px; padding: 10px 2px; }
  .fan-cta { padding: 28px 20px; }

  /* Blog */
  .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; row-gap: 36px; }
  .blog-card { min-width: 0; }
  .blog-card-title, .blog-card-deck { overflow-wrap: anywhere; }
  .blog-hero { padding: 24px 18px; border-radius: 14px; gap: 24px; }
  .blog-hero-title { font-size: 24px; line-height: 1.45; }
  .blog-hero-deck { font-size: 14px; }
  .blog-search-row { gap: 12px; }
  .blog-card-title { font-size: 18px; }

  /* Article view */
  .post-title { font-size: clamp(22px, 6vw, 28px) !important; }
  .post-article { padding: 4px 20px 28px; }
  .post-body { font-size: 17px; line-height: 1.95; }
  .post-body h2 { font-size: 20px; margin: 36px 0 14px; }
  .post-body h3 { font-size: 17px; margin: 28px 0 10px; }
  .post-footer { flex-direction: column; align-items: stretch; gap: 12px; }

  /* Song detail */
  .song-detail-head { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 24px; margin-bottom: 28px; }
  .song-detail-cover { width: 140px; }
  .song-detail-title { font-size: clamp(22px, 6vw, 30px); overflow-wrap: anywhere; }
  .song-detail-credits { gap: 16px; font-size: 13px; }
  .song-detail-stats { gap: 18px; }
  .song-detail-stats b { font-size: 20px; }
  .song-appear-row, .song-play-row { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 8px 10px; }

  /* Tour detail */
  .tour-detail-head { padding: 22px 20px; }
  .tour-detail-title { font-size: clamp(20px, 5vw, 26px); overflow-wrap: anywhere; }
  .tour-detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tour-detail-stats b { font-size: 22px; }
  .tour-top-songs { grid-template-columns: minmax(0, 1fr); }
  .tour-concert-row { grid-template-columns: 90px minmax(0, 1fr) 50px; gap: 10px; padding: 8px 10px; font-size: 13px; }

  /* Album detail */
  .album-detail-head { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-bottom: 24px; margin-bottom: 28px; }
  .ad-cover { width: 160px; justify-self: center; }
  .ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ad-stat { padding: 16px 12px; }
  .ad-stat b { font-size: 22px; }
  .ad-tracks { padding: 6px 10px; }
  .ad-track { grid-template-columns: 32px minmax(0, 1fr) 70px; gap: 8px; padding: 10px 6px; }
  .ad-track .adt-credit { display: none; }
  .adt-title { font-size: 14px; }
  .adt-live { font-size: 11px; }

  /* Analysis */
  .viz-card { padding: 22px 18px; border-radius: 14px; }
  .viz-card h3 { font-size: 20px; }
  .bar-row { grid-template-columns: 130px minmax(0, 1fr) 40px; gap: 10px; }
  .bar-label { font-size: 13px; }
  .bar-num { font-size: 11px; }
  .decade-chart { height: 180px; gap: 8px; }
  .decade-num { font-size: 10px; top: -18px; }
  .decade-label { font-size: 11px; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stat-cell .n { font-size: 28px; }
  .tieup-list { padding: 6px; }
  .tieup-row { grid-template-columns: 50px minmax(0, 1fr); gap: 6px 10px; padding: 10px; font-size: 13px; }
  .tieup-row > .tieup-type, .tieup-row > .tieup-client, .tieup-row > .tieup-note { grid-column: 2; }
  .tieup-song { grid-column: 2; }
  .tieup-year { grid-row: span 5; align-self: start; }
  .venue-heatmap { grid-template-columns: minmax(0, 1fr); }
  .venue-row { grid-template-columns: 80px minmax(0, 1fr) 60px; }

  /* Discography page top blurb */
  .disco-scroll { padding-bottom: 16px; }

  /* Footer */
  .footer { padding: 40px 16px 28px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-brand { font-size: 22px; }
  .colophon { flex-direction: column; gap: 8px; padding: 16px; text-align: center; }

  /* Search overlay */
  .search-modal { width: 95vw; max-height: 85vh; }
  .search-input { font-size: 15px; padding: 14px 18px; }
  .sr-item { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 8px 10px; }
  .sr-name { font-size: 13.5px; }

  /* Misc — Today widget */
  .today-list { max-height: none; }
  .today-item { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .today-year-num { font-size: 18px; }
  .today-title { font-size: 13.5px; }
  .random-concert-card { padding: 20px 22px; border-radius: 14px; }
  /* スマホでは日付を上の行に。70px の列では「2022.10.20」が収まらず、公演名に重なっていた */
  .rc-head { grid-template-columns: minmax(0, 1fr) 50px; gap: 6px 12px; }
  .rc-date { font-size: 14px; }
  .rc-title { font-size: 15px; }
  .rc-songcount { font-size: 24px; }
  .seasonal-row { grid-template-columns: minmax(0, 1fr) 60px; gap: 10px; padding: 10px 6px; }
  .seasonal-meta { grid-column: 1/-1; font-size: 11px; }
}
/* ============ 操作感（iPhone風の押し心地） ============
   Codex と設計相談（2026-09-09）。方針:
   - 押した瞬間に少し沈み、離すとバネで戻る。動かすのは transform と opacity だけ
   - ページのスクロール慣性・端のバウンスは OS ネイティブに任せ、JS で触らない
   - hover の浮きはポインタのある端末だけ（タッチ端末で hover が張り付かないように）
   - 静止時に transform を持たせない（公演行1,104件に合成レイヤーを作らないため。
     Codex 案の translateZ(0) はここでは逆効果なので採用しない）
   - prefers-reduced-motion では全部止める */
:root {
  --mi-press-in: 90ms;
  --mi-press-out: 240ms;
  --mi-scale-sm: 0.972;
  --mi-scale-lg: 0.985;
  --mi-ease-out: cubic-bezier(.2,.8,.2,1);
  --mi-ease-spring: cubic-bezier(.34,1.56,.64,1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --mi-ease-spring: linear(0, 0.34 11%, 0.82 38%, 1.05 60%, 0.98 78%, 1.01 90%, 1);
  }
}
:where(.nav-links .nav-btn, .zoom-tab, .epm-cta, .setlist-pill, .post-back, .about-contact, .year-jump a) {
  transition: transform var(--mi-press-out) var(--mi-ease-spring),
              background-color .18s, color .18s, border-color .18s, opacity .18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:where(.nav-links .nav-btn, .zoom-tab, .epm-cta, .setlist-pill, .post-back, .about-contact, .year-jump a):active {
  transform: scale(var(--mi-scale-sm));
  transition-duration: var(--mi-press-in);
  transition-timing-function: var(--mi-ease-out);
}
:where(.blog-card, .concert-item, .year-band-head, .home-live-row, .fan-card) {
  transition: transform var(--mi-press-out) var(--mi-ease-spring), background-color .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:where(.blog-card, .concert-item, .year-band-head, .home-live-row, .fan-card):active {
  transform: scale(var(--mi-scale-lg));
  transition-duration: var(--mi-press-in);
  transition-timing-function: var(--mi-ease-out);
}
.blog-card-img { transition: transform .24s var(--mi-ease-spring), box-shadow .24s; }
/* タッチ端末では hover の浮きを出さない（指を離しても張り付くため） */
@media (hover: none) {
  .blog-card:hover .blog-card-img { transform: none; box-shadow: none; }
}
/* <details> を開いた時だけ、ふわっと出す。閉じるのはネイティブで即 */
@keyframes mi-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.concert-item-d[open] > .setlist-host { animation: mi-reveal 220ms var(--mi-ease-spring) both; }
.year-band[open] > .concert-items      { animation: mi-reveal 240ms var(--mi-ease-spring) both; }
/* 検索モーダルの中のスクロールが、背後のページに伝わらないように */
.search-results { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  :where(.nav-links .nav-btn, .zoom-tab, .epm-cta, .setlist-pill, .post-back, .about-contact, .year-jump a,
         .blog-card, .concert-item, .year-band-head, .home-live-row, .fan-card):active { transform: none !important; }
}
/* ライブの中の「予定 / 過去実績」切り替え */
.live-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 20px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 100px; }
.live-tab { padding: 8px 18px; border-radius: 100px; font-size: 14px; color: var(--ink-muted); cursor: pointer; }
.live-tab.active { background: var(--coral); color: #fff; }
.live-tab:not(.active):hover { color: var(--ink-strong); }
/* ===== 年表: 操作して楽しい仕掛け（Codex と設計相談 2026-09-10） ===== */
.zoom-toolbar { top: calc(var(--nav-h, 100px) + 8px); }
/* 貼り付いた帯の下をカードが通るので、透けないようにする */
body .zoom-toolbar { background: rgba(12,16,24,0.94); }
.tl-year-row { scroll-margin-top: var(--bio-scroll-margin, 170px); }
/* 貼り付く年号: 右上に薄く1つだけ。数字が切り替わるだけで、カウントアップの演出はしない */
.bio-year-sticky { position: sticky; top: var(--bio-year-top, 170px); height: 0; z-index: 5; pointer-events: none; }
.bio-year-sticky > span {
  position: absolute; right: 8px; top: 0;
  font-family: var(--f-mincho); font-weight: 700;
  font-size: clamp(32px, 7vw, 80px); line-height: 1; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.14); text-shadow: 0 0 16px rgba(255,77,94,0.14);
  transform: translateY(-8px);
}
@media (max-width: 768px) { .bio-year-sticky > span { font-size: clamp(28px, 11vw, 44px); color: rgba(255,255,255,0.11); right: 4px; } }
.bio-zoom[data-zoom="1"] .bio-year-sticky { display: none; }
/* 絞り込みチップ（凡例を兼ねる） */
.bio-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.bio-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: var(--ink-muted);
  border-radius: 999px; padding: 7px 12px; font-size: 12px; line-height: 1;
  transition: transform var(--mi-press-out) var(--mi-ease-spring), color .18s, border-color .18s, background-color .18s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.bio-chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.bio-chip:active { transform: scale(0.95); transition-duration: var(--mi-press-in); }
.bio-chip.active { color: var(--ink-strong); border-color: rgba(255,77,94,0.5); background: rgba(255,77,94,0.12); }
/* ミニマップ: 進捗と現在位置のつまみ */
.mm-bar { overflow: visible; touch-action: pan-y; cursor: pointer; height: 6px; }
.mm-progress { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255,77,94,0.25), rgba(255,77,94,0.8)); transform-origin: left center; transform: scaleX(0); pointer-events: none; z-index: 0; transition: transform .25s ease-out; }
.mm-thumb { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,77,94,0.22), 0 0 16px rgba(255,77,94,0.45); transform: translate3d(0,-50%,0); pointer-events: none; z-index: 2; transition: transform .25s ease-out; }
.mm-bar.is-scrubbing .mm-progress, .mm-bar.is-scrubbing .mm-thumb { transition: none; }
.mm-bar.is-scrubbing .mm-thumb { box-shadow: 0 0 0 6px rgba(255,77,94,0.26), 0 0 20px rgba(255,77,94,0.55); }
.mm-dot { z-index: 3; transition: transform .16s ease, opacity .16s ease; }
.mm-dot.is-dim { opacity: .26; transform: translate(-50%,-50%) scale(.92); }
.mm-dot:hover { transform: translate(-50%,-50%) scale(1.5); }
.mm-preview { position: absolute; left: 0; top: 0; transform: translate3d(0,-10px,0); padding: 4px 9px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-strong); background: rgba(20,24,32,0.95); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); pointer-events: none; white-space: nowrap; }
.mm-preview::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transform: translateX(-50%) rotate(45deg); }
/* カードの出現（transform/opacity のみ、1回だけ） */
.tl-event.will-reveal { opacity: 0; transform: translate3d(0, 10px, 0); transition: transform .36s var(--mi-ease-spring), opacity .3s ease-out; }
.tl-event.will-reveal.is-in { opacity: 1; transform: none; }
/* ★ハイライトだけ、初めて見えたときに赤いレーザーが一度走る */
.tl-event[data-level="1"] .tl-content { position: relative; overflow: hidden; }
.tl-event[data-level="1"] .tl-content::after { content: ''; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,95,95,.6), transparent); transform: translate3d(-180%,0,0) skewX(-18deg); opacity: 0; pointer-events: none; }
.tl-event.laser-fire .tl-content::after { animation: bio-laser .85s cubic-bezier(.16,.84,.44,1) 1; }
@keyframes bio-laser { 0% { opacity: 0; transform: translate3d(-180%,0,0) skewX(-18deg); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate3d(480%,0,0) skewX(-18deg); } }
.era-card:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .tl-event.will-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tl-event[data-level="1"] .tl-content::after { display: none; }
  .mm-progress, .mm-thumb, .mm-dot { transition: none !important; }
}
/* スマホ: 年表のツールバーを1段に圧縮（貼り付く帯が画面の1/4を占めていた） */
@media (max-width: 640px) {
  .zoom-toolbar { padding: 8px 10px; gap: 8px; flex-direction: column; align-items: stretch; }
  .zoom-tabs { display: flex; flex-wrap: nowrap; width: 100%; gap: 2px; padding: 3px; }
  .zoom-tab { flex: 1 1 0; padding: 7px 2px; font-size: 12px; border-radius: 100px; white-space: nowrap; }
  .zoom-tab small { display: none; }
  .bio-filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 6px; padding-bottom: 2px; }
  .bio-filters::-webkit-scrollbar { display: none; }
  .bio-chip { flex: 0 0 auto; padding: 6px 10px; font-size: 12px; }
  .bio-minimap { padding: 14px 0 22px; margin-bottom: 16px; }
  .bio-zoom { margin-top: 12px; }
}
/* 年表: 帯の中にチップと年バー。ズームと時代カードは廃止（常に全イベント） */
.zoom-toolbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px 6px; }
.zoom-toolbar .bio-minimap { margin: 0; padding: 12px 0 20px; }
.bio-zoom[data-zoom="4"] .tl-year { font-size: 26px; }
.bio-chip[aria-pressed="false"] { opacity: .45; }
.bio-chip[aria-pressed="false"] .dot { background: var(--ink-faint) !important; }
@media (max-width: 640px) {
  .zoom-toolbar { padding: 8px 10px 4px; }
  .zoom-toolbar .bio-minimap { padding: 10px 0 18px; }
  .bio-zoom[data-zoom="4"] .tl-year { font-size: 22px; }
}
/* 曲・アルバムへ飛ぶ前の確認ダイアログ。スマホでは下から出るシート */
.go-confirm { position: fixed; inset: 0; z-index: 1100; background: rgba(27,31,46,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.go-confirm-card { width: 360px; max-width: 100%; background: var(--bg-surface); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px 20px 16px; animation: go-confirm-in 220ms var(--mi-ease-spring) both; }
@keyframes go-confirm-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.go-confirm-text { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--ink-strong); font-weight: 600; overflow-wrap: anywhere; }
.go-confirm-btns { display: flex; gap: 10px; }
.go-confirm-btns button { flex: 1; min-height: 46px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: inherit; }
.go-confirm-no { background: rgba(255,255,255,0.08); color: #e8e6ef; border: 1px solid rgba(255,255,255,0.28); }
.go-confirm-yes { background: var(--coral); color: #fff; border: 1px solid var(--coral); }
@media (max-width: 640px) {
  .go-confirm { align-items: flex-end; padding: 0; }
  .go-confirm-card { width: 100%; border-radius: 18px 18px 0 0; padding: 22px 20px calc(16px + env(safe-area-inset-bottom)); animation-name: go-confirm-up; }
  @keyframes go-confirm-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .go-confirm-card { animation: none; } }
/* 広告枠の置き場所ごとの調整 */
.ad-slot.ad-grid { grid-column: 1 / -1; width: 100%; justify-self: center; margin: 0 auto; }
.ad-slot.ad-inarticle { margin: 36px auto; }
.concert-items > .ad-slot { margin: 12px auto; width: 100%; }
.song-detail-section + .ad-slot, .ad-tracklist + .ad-slot { margin-top: 28px; }
/* 年表の見出しから、曲・アルバム・ツアーのページへ */
.tl-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,137,112,0.45); }
.tl-link:hover { border-bottom-color: var(--coral); }
/* 集計の母数についての注記 */
.stat-note { margin: 10px 2px 0; font-size: 12px; line-height: 1.7; color: var(--ink-faint); }
/* 旧サイト（WordPressテーマ）由来のマークアップ。CSSが無いまま素の文字になっていたので当て直す */
/* 会話（LINE風の吹き出し） */
.post-body .line_back { display: flex; flex-direction: column; gap: 12px; margin: 30px 0; padding: 18px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 16px; }
.post-body .line_back p { margin: 0; max-width: 76%; padding: 12px 16px; border-radius: 16px;
  font-size: 16px; line-height: 1.85; font-weight: 500; }
.post-body .left_balloon { align-self: flex-start; background: var(--bg-elevated); border: 1px solid var(--line-strong);
  border-bottom-left-radius: 4px; }
.post-body .right_balloon { align-self: flex-end; background: rgba(240,141,122,0.16); border: 1px solid rgba(240,141,122,0.34);
  border-bottom-right-radius: 4px; }
.post-body .clear_balloon { display: none; }
@media (max-width: 640px) {
  .post-body .line_back { padding: 14px 12px; gap: 10px; }
  .post-body .line_back p { max-width: 88%; font-size: 15px; padding: 11px 14px; }
}
/* 記事カード（旧テーマのブログカード） */
.post-body .blogcard-wrap { display: block; margin: 26px 0; text-decoration: none; color: inherit; }
.post-body .blogcard { display: grid; grid-template-columns: 120px minmax(0, 1fr);
  grid-template-areas: "thumb content" "thumb footer"; column-gap: 14px; align-items: start; padding: 14px;
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .18s, transform var(--mi-press-out) var(--mi-ease-spring); }
.post-body .blogcard:not(:has(.blogcard-thumbnail)) { grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "content" "footer"; }
.post-body .blogcard-wrap:active .blogcard { transform: scale(var(--mi-scale-lg, .985)); }
@media (hover: hover) { .post-body .blogcard-wrap:hover .blogcard { border-color: var(--line-strong); } }
.post-body .blogcard-label { display: none; }
.post-body .blogcard-thumbnail { grid-area: thumb; margin: 0; }
.post-body .blogcard-thumbnail img { width: 120px; height: auto; border-radius: 8px; display: block; }
.post-body .blogcard-content { grid-area: content; min-width: 0; }
.post-body .blogcard-title { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ink-strong);
  font-family: var(--f-gothic, inherit); }
.post-body .blogcard-snippet { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--ink-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .blogcard-footer { grid-area: footer; margin-top: 8px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; font-size: 11px; color: var(--ink-faint); }
.post-body .blogcard-site { display: flex; align-items: center; gap: 5px; }
.post-body .blogcard-date { white-space: nowrap; }
.post-body .blogcard-favicon-image { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .post-body .blogcard { padding: 12px; column-gap: 12px; grid-template-columns: 88px minmax(0, 1fr); }
  .post-body .blogcard-thumbnail img { width: 88px; }
  .post-body .blogcard-title { font-size: 14px; }
  .post-body .blogcard-snippet { display: none; }
}
/* 数字のカウントアップ中は桁幅を揃えて、文字が左右に揺れないようにする */
.ad-stat-sales > b, .tour-detail-stats > div:first-child > b { font-variant-numeric: tabular-nums; }
/* 函館前史: 4人のレーン。年は左の細い列、出来事は各メンバーの列に置き、共有のものは列をまたぐ */
.bio-prehistory { margin: 8px 0 40px; }
.ph-caption { font-family: var(--f-mincho); font-size: 22px; font-weight: 700; color: var(--ink-strong); margin: 0 0 14px; }
.ph-caption span { font-family: var(--f-mono); font-size: 13px; color: var(--ink-muted); margin-left: 10px; letter-spacing: .06em; }
.ph-grid { display: grid; grid-template-columns: 56px repeat(4, minmax(0, 1fr)); column-gap: 10px; }
.ph-headrow { position: sticky; top: calc(var(--nav-h, 100px) + 8px); z-index: 4; padding: 6px 0; background: rgba(12,16,24,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.ph-head { text-align: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; padding: 6px 0; border-top: 3px solid var(--ph-c); border-radius: 3px 3px 0 0; }
.ph-head b { color: var(--ink-strong); font-weight: 700; }
.ph-bodywrap { position: relative; padding: 10px 0 18px; }
.ph-lines { position: absolute; inset: 0; pointer-events: none; }
.ph-line { justify-self: center; width: 2px; height: 100%; background: linear-gradient(to bottom, var(--ph-c), rgba(255,255,255,0.05)); opacity: .5; }
.ph-row { display: contents; }
.ph-year { grid-column: 1; font-family: var(--f-mono); font-size: 12px; color: var(--ink-muted); padding-top: 12px; }
.ph-card { position: relative; z-index: 1; margin: 6px 0; padding: 10px 12px; border-radius: 12px;
  background: var(--bg-elevated); border: 1px solid var(--line); border-left: 3px solid var(--ph-c); }
.ph-card.ph-shared { background: rgba(255,255,255,0.05); border-color: var(--line-strong); border-left-width: 3px;
  box-shadow: 0 0 0 1px rgba(255,137,112,0.18) inset; }
.ph-title { font-family: var(--f-mincho); font-weight: 700; font-size: 14px; line-height: 1.5; color: var(--ink-strong); }
.ph-body { font-size: 12px; line-height: 1.7; color: var(--ink-muted); margin-top: 4px; }
.ph-teru    { --ph-c: var(--coral); }
.ph-takuro  { --ph-c: #e6c079; }
.ph-hisashi { --ph-c: var(--sky); }
.ph-jiro    { --ph-c: #9a8fd8; }
.ph-card.ph-shared { --ph-c: var(--ink-strong); }
@media (max-width: 640px) {
  .ph-grid { grid-template-columns: 34px repeat(4, minmax(0, 1fr)); column-gap: 5px; }
  .ph-head { font-size: 9px; letter-spacing: .02em; padding: 4px 0; }
  .ph-year { font-size: 10px; padding-top: 10px; }
  .ph-card { padding: 7px 7px; border-radius: 9px; margin: 4px 0; }
  .ph-title { font-size: 11.5px; line-height: 1.4; }
  .ph-body { font-size: 10px; line-height: 1.5; margin-top: 3px; }
}
/* 年表の先頭: 函館時代へのボタン */
.bio-prelink { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t a" "s a"; align-items: center; column-gap: 14px;
  margin: 8px 0 28px; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: inherit;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); transition: border-color .18s, transform var(--mi-press-out) var(--mi-ease-spring); }
.bio-prelink:active { transform: scale(var(--mi-scale-lg, .985)); }
@media (hover: hover) { .bio-prelink:hover { border-color: var(--coral); } }
.bio-prelink-t { grid-area: t; font-family: var(--f-mincho); font-weight: 700; font-size: 18px; color: var(--ink-strong); }
.bio-prelink-s { grid-area: s; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.bio-prelink-arrow { grid-area: a; font-size: 20px; color: var(--coral); }
.hakodate-page { padding-top: 12px; }
.hakodate-h { font-family: var(--f-mincho); font-weight: 700; font-size: 30px; color: var(--ink-strong); margin: 8px 0 8px; }
.hakodate-lead { color: var(--ink-muted); font-size: 14px; line-height: 1.8; margin: 0 0 22px; }
.hakodate-page .ph-caption { display: none; }
/* 貼り付いた年の選択バーは、下を流れる年見出しが透けないように不透明にする */
body .year-jump { background: rgba(12,16,24,0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* ナビをリンクにしたぶんの見た目合わせ */
a.nav-btn { text-decoration: none; white-space: nowrap; }   /* ボタンから <a> に変えたぶん。見た目は .nav-links .nav-btn が持つ */
/* 静的な記事ページ（static/post/*.html）: 検索はJSが無いので出さない */
.static-page .nav-search { display: none; }
