  /* 配色は走行シーンの背景画像(img/scenery.jpg)から抽出。
     藍の空・生成りの湖面・青灰の富士・橋板の木肌・松の深緑 */
  :root{
    --bg-cream: #e7dcc6;
    --bg-cream-soft: #f2ebdb;
    --paper-white: #f8f3e7;
    --sky-indigo: #16233f;
    --water: #8ea5b2;
    --wood: #b59a7c;
    --ink: #1e2536;
    --ink-soft: #5f6a76;
    --red: #c1402a;
    --pine: #3d5c4a;
  }

  *{ box-sizing: border-box; margin:0; padding:0; }
  html{
    scroll-behavior: smooth;
    /* iOS(iPad/iPhone)のSafariは body だけの指定では横スクロールが止まらないため、
       html にも指定する。clip は overflow:hidden と違い position:fixed を壊さない */
    overflow-x: clip;
    max-width: 100%;
  }
  body{
    background: var(--bg-cream);
    color: var(--ink);
    font-family: 'Yuji Syuku', serif;
    overflow-x: clip;
    max-width: 100%;
    position: relative;
  }
  body::before{
    content:"";
    position: fixed; inset: 0;
    background-image: radial-gradient(rgba(30,37,54,0.07) 1px, transparent 1px);
    background-size: 4px 4px;
    mix-blend-mode: multiply;
    pointer-events: none;
    /* position:fixedの要素はz-indexの値に関わらず通常コンテンツより手前に来てしまうため、
       マイナス値にして「下地色より上・実際のコンテンツより下」に固定する */
    z-index: -1;
  }
  a{ color: inherit; text-decoration: none; }
  /* height:auto がないと、HTMLのheight属性がそのまま高さとして効いてしまい
     画像が縦に伸びる。個別に高さを指定している画像(.cover-image / .runner img)は
     そちらの指定が優先されるので影響しない */
  img{ max-width:100%; height:auto; display:block; }

  .section-label{
    font-family: 'Yuji Syuku', serif;
    letter-spacing: 0.06em;
    color: var(--red);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  /* 「ただの札」= 生成り地に墨文字(見出し・発売日)。
     「押せる札」= 墨地に白文字(配信で聴く・CDを購入)。地の明暗で役割を区別する */
  .slip-plain{
    background: none;
    border-style: solid;
    border-image-source: url('../img/slip-frame-light.svg');
    border-image-slice: 12 fill;
    border-image-repeat: stretch;
    border-radius: 0;
    color: var(--ink);
  }
  .section-title{
    display: inline-block;
    font-family: 'Shippori Antique B1', sans-serif;
    font-size: clamp(1.35rem, 5.6vw, 2.3rem);
    margin-bottom: 2.2rem;
    letter-spacing: 0.04em;
    line-height: 1.1;
    max-width: 100%;
    color: var(--ink);
    background: none;
    border-style: solid;
    /* 上下の枠を細く、左右を太くして、縦に詰まった横長の札にする。
       狭い画面では枠と余白も文字と一緒に縮めて、配信ボタンと動きを揃える */
    border-width: min(10px, 2.4vw) min(16px, 3.8vw);
    border-image-source: url('../img/slip-frame-light.svg');
    border-image-slice: 12 fill;
    border-image-width: min(10px, 2.4vw) min(16px, 3.8vw);
    border-image-repeat: stretch;
    border-radius: 0;
    padding: 0.06em 0.4em 0.1em;
  }


  /* 見出しやボタンなど短いラベルは折り返さない。
     万一収まらない場合は script.js が実測して自動で縮める */
  .section-title,
  .release-date-tag,
  .cta-link,
  .comment-name,
  .comment-role,
  .discography-title,
  .discography-order,
  .discography-year,
  .news-date,
  .live-date,
  .release-row dt,
  .credit-role,
  .liner-toggle,
  .discography-link{
    white-space: nowrap;
  }

  /* ---------- side nav ---------- */
  .side-nav{
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .side-nav a{
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(30, 37, 54,0.3);
    position: relative;
    display: block;
    transition: background .3s ease, transform .3s ease;
  }
  .side-nav a:hover{ background: var(--red); transform: scale(1.3); }
  .side-nav a span{
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    font-family: 'Yuji Syuku', serif;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0;
    color: var(--ink);
    transition: opacity .25s ease;
    pointer-events: none;
  }
  .side-nav a:hover span{ opacity: 1; }
  @media (max-width: 860px){ .side-nav{ display:none; } }

  /* ---------- intro: catch copy -> fade out -> jacket reveal ---------- */
  .intro{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* 背景画像が縮んだときに上へ出る余白を、画像上端と同じ藍色で埋める */
    background: var(--sky-indigo);
  }

  /* --- 走行シーン(最後まで走り続ける。この上にジャケットが重なる) --- */
  .run-scene{
    position: absolute; inset: 0;
    z-index: 2;
    overflow: hidden;
    opacity: 0;
    animation: run-scene-in 1.4s ease forwards;
  }
  /* 背景と人物を「同じ倍率」で縮めるための共通の基準。
     通常は画面の高さいっぱい(100vh)。横幅が足りない縦長の端末では
     170vw が上限になり、背景も人物も一緒に小さくなるので比率が崩れない */
  .run-scene{
    --scene-h: min(100vh, 170vw);
    --runner-h: calc(var(--scene-h) * 0.32);
  }

  @keyframes run-scene-in{
    from{ opacity: 0; }
    to{ opacity: 1; }
  }

  /* 背景を左から右へ流す(=キャラクターが左へ走って見える) */
  .run-bg{
    position: absolute;
    bottom: 0; right: 0;
    /* background-positionのアニメーションは毎フレーム再描画が必要で重いため、
       GPUで合成されるtransform方式にしている。要素自体を1タイル分(240.6vh)
       左側に余分に広げておき(right:0で右端を固定)、その余白をtranslateXで
       右へスライドさせることで、中身は元と同じ向きに流れる */
    width: calc(100% + var(--scene-h) * 2.406);
    height: var(--scene-h);
    background-image: url('../img/scenery.webp');
    background-repeat: repeat-x;
    background-size: calc(var(--scene-h) * 2.406) var(--scene-h);
    background-position: 0 bottom;
    animation: run-bg-scroll 20s linear infinite;
    will-change: transform;
  }
  @keyframes run-bg-scroll{
    from{ transform: translateX(0); }
    to{ transform: translateX(calc(var(--scene-h) * 2.406)); }
  }

  /* キャラクターの大きさ・間隔・位置は、すべて背景と同じ「画面の高さ」基準にする。
     vw(横幅)を一切混ぜないことで、ブラウザの横幅をどう変えても
     背景との比率と2人の距離が変わらない */
  /* キャラの大きさは背景と同じ「画面の高さ」基準。ただし縦長の端末では
     2人が横幅に収まらなくなるため、横幅からの上限も併せて指定する
     (2人分の幅 ≒ 高さ×1.41。68vw なら回転と影を含めても画面内に収まる) */

  .runner-group{
    position: absolute;
    left: 50%;
    /* 背景と同じ基準で足元の位置を決める(背景が縮んでも橋板の上に乗る) */
    bottom: calc(var(--scene-h) * 0.06);
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: calc(var(--runner-h) * 0.05);
    z-index: 3;
  }
  .runner{
    /* flexの既定(縮んでもよい)のままだと、画面が狭い時に高さは固定なのに
       幅だけ圧縮されて絵が潰れる。縮小を禁止し、収まらない分は
       .run-scene の overflow:hidden で左右対称に隠れるようにする */
    flex-shrink: 0;
    /* 影付き(filter)+動き(transform)の組み合わせは、一部のモバイルブラウザで
       まれに描画が乱れることがあるため、レイヤーを先に確保して安定させる */
    will-change: transform;
  }
  .runner img{
    height: var(--runner-h);
    width: auto;
    display: block;
    filter: drop-shadow(0 calc(var(--runner-h) * 0.04) calc(var(--runner-h) * 0.045) rgba(30, 37, 54,0.28));
  }
  .runner-asa{
    z-index: 4;
    animation: run-bob 0.85s ease-in-out infinite;
  }
  .runner-kita{
    margin-bottom: calc(var(--runner-h) * -0.03);
    animation: run-bob 0.85s ease-in-out infinite 0.42s;
  }
  @keyframes run-bob{
    0%, 100%{ transform: translateY(0) rotate(-1.5deg); }
    50%{ transform: translateY(-5%) rotate(1.5deg); }
  }

  /* 足元の土埃 */
  .run-dust{
    position: absolute;
    left: 0; right: 0;
    bottom: calc(var(--runner-h) * -0.02);
    z-index: 2;
    pointer-events: none;
  }
  .run-dust span{
    position: absolute;
    bottom: 0;
    width: calc(var(--runner-h) * 0.1);
    height: calc(var(--runner-h) * 0.035);
    border-radius: 50%;
    background: rgba(181, 154, 124, 0.8);
    opacity: 0;
    animation: dust-puff 1.6s linear infinite;
  }
  .run-dust span:nth-child(1){ left: 22%; animation-delay: 0s; }
  .run-dust span:nth-child(2){ left: 46%; animation-delay: 0.55s; }
  .run-dust span:nth-child(3){ left: 70%; animation-delay: 1.1s; }
  @keyframes dust-puff{
    0%{ opacity: 0.7; transform: translateX(0) scale(0.5); }
    100%{ opacity: 0; transform: translateX(calc(var(--runner-h) * 0.2)) scale(1.6); }
  }


  .intro-text-layer{
    position: absolute; inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* ジャケット(.intro-jacket-layer)と同じ上端に揃えて、入れ替わって見えるようにする */
    padding: 6vh 5vw 0;
    text-align: center;
    opacity: 0;
    animation: intro-text-seq 8s ease forwards;
  }
  @keyframes intro-text-seq{
    0%{ opacity: 0; }
    10%{ opacity: 1; }
    62%{ opacity: 1; }
    80%{ opacity: 0; }
    100%{ opacity: 0; }
  }
  .lead-copy{
    font-family: 'Yuji Syuku', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--ink-soft);
    line-height: 2.1;
    letter-spacing: 0.03em;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  /* イントロ内は縦書き。背景に沈まないよう、ジャケットの出演者札のように
     墨色の地に白文字で表示する。この位置がのちにジャケットと入れ替わる。
     1列の長さ(最長25文字)が、ジャケットと同じ範囲(上から6〜54vh)に収まるよう
     文字サイズを画面の高さ基準にしているので、どの端末でも改行されない */
  .intro-text-layer .lead-copy{
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-feature-settings: "vert" 1;
    /* <br>以外の位置では折り返さない */
    white-space: nowrap;
    font-size: clamp(0.65rem, 2.8vh, 1.65rem);
    line-height: 2.2;
    letter-spacing: 0.06em;
    /* 枠や背景を使わず、白文字に濃い縁取りと影を重ねることで
       淡い空にも濃い藍にも沈まないようにする */
    color: var(--paper-white);
    text-shadow:
      0 0 2px rgba(22, 29, 45, 0.95),
      1px 1px 0 rgba(22, 29, 45, 0.9),
      -1px 1px 0 rgba(22, 29, 45, 0.9),
      1px -1px 0 rgba(22, 29, 45, 0.9),
      -1px -1px 0 rgba(22, 29, 45, 0.9),
      0 0.4vh 1.6vh rgba(22, 29, 45, 0.75);
    text-align: start;
  }
  @media (max-width: 700px){
    .intro-text-layer{ padding: 6vh 4vw 0; }
  }

  /* ジャケットは走行シーンの上に、テキストと同じ位置で入れ替わるように出す */
  .intro-jacket-layer{
    position: absolute; inset: 0;
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2.4vh;
    padding: 6vh 5vw 0;
    pointer-events: none;
  }
  .cover-image{
    /* 正方形画像なので、縦(vh)基準に加えて横幅にも上限をつけ、
       画面が縦長・極端に狭い時に横へはみ出さないようにする。
       高さは「padding-top 6vh + この値」が、走るキャラクターの上端(56vh)を
       超えない範囲(48vh前後)に収めて、ジャケットとキャラが重ならないようにしている */
    height: min(48vh, 70vw);
    width: auto;
    display: block;
    border: 2px solid rgba(248, 243, 231, 0.9);
    box-shadow: 0 2vh 4vh rgba(30, 37, 54, 0.45);
    opacity: 0;
    transform: scale(1.04);
    animation: cover-in 1.6s ease-out 6.2s forwards;
  }
  /* 配信リンク: ジャケットの縦の並びから外し、画面左端に縦書きのタブとして配置。
     右端は既存のサイドナビ(ページ内ジャンプ)があるため、被らないよう左端にしている */
  .subscribe-btn{
    position: absolute;
    /* ジャケットの左端 = (画面幅 - ジャケット幅)/2 (.cover-imageと同じ min(48vh,70vw) 基準)。
       画面端とジャケット左端の中間より、ややジャケット寄り(6割の位置)に置く */
    /* 100vwはスクロールバーの幅を含み、その分はみ出すので親要素基準(%)にする */
    left: calc((100% - min(48vh, 70vw)) * 0.3);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    /* ジャケットの「友情出演 小林聡美」などの札に合わせ、
       墨地に白文字、内側に細い白罫線、角は直角にする */
    color: var(--paper-white);
    /* ジャケットの札と同じ隅切り(角を斜めに落とした)形。
       枠と内側の白罫線をSVGで描き、border-imageで角を保ったまま伸縮させる */
    background: none;
    border-style: solid;
    border-width: 12px;
    border-image-source: url('../img/slip-frame.svg');
    border-image-slice: 12 fill;
    border-image-width: 12px;
    border-image-repeat: stretch;
    border-radius: 0;
    filter: drop-shadow(0.5vh 0.5vh 1.6vh rgba(30, 37, 54, 0.4));
    padding: 0.9em 0.1em;
    cursor: pointer;
    font-family: 'Yuji Syuku', serif;
    font-weight: 700;
    font-size: min(0.95rem, 2.4vh);
    letter-spacing: 0.16em;
    opacity: 0;
    z-index: 6;
    animation: subscribe-in 1.2s ease-out 7.2s forwards;
    transition: background .3s ease, transform .3s ease;
  }
  .subscribe-btn::before{ content: "▶"; font-size: 0.8em; }
  .subscribe-btn:hover{
    border-image-source: url('../img/slip-frame-red.svg');
    transform: translateY(-50%) translateX(6px);
  }
  @keyframes subscribe-in{ to{ opacity: 1; } }
  @keyframes cover-in{
    from{ opacity: 0; transform: scale(1.04); }
    to{ opacity: 1; transform: scale(1); }
  }
  .cover-scroll{
    position: absolute;
    bottom: 2.2rem; left: 50%;
    transform: translateX(-50%);
    color: var(--ink);
    opacity: 0;
    animation: intro-jacket-in 1.4s ease-out 7s forwards;
  }
  @keyframes intro-jacket-in{ to{ opacity: 1; } }
  .cover-scroll .scroll-line{ background: linear-gradient(var(--red), transparent); }

  /* 発売日は札にせず、大きめの文字で見せる */
  .release-date-tag{
    color: var(--ink);
    font-family: 'Yuji Syuku', serif;
    font-size: clamp(1.3rem, 3.4vw, 2rem);
    letter-spacing: 0.08em;
    line-height: 1.4;
  }

  .scroll-cue{
    position: absolute;
    bottom: 2.2rem; left: 50%;
    transform: translateX(-50%);
    font-family: 'Yuji Syuku', serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--ink);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    z-index: 5;
  }
  .scroll-line{
    width: 1px; height: 34px;
    background: linear-gradient(var(--red), transparent);
    animation: scroll-pulse 1.8s ease-in-out infinite;
  }
  @keyframes scroll-pulse{ 0%,100%{ opacity:0.3; } 50%{ opacity:1; } }

  @media (prefers-reduced-motion: reduce){
    .intro-text-layer{
      opacity: 1;
      animation: none;
      padding-top: 14vh;
    }
    .intro-jacket-layer{
      padding-top: 40vh;
    }
    .cover-image{
      animation: none !important; opacity: 1 !important; transform: none !important;
      height: min(42vh, 80vw);
    }
    .subscribe-btn{ animation: none !important; opacity: 1 !important; }
    .scroll-line{ animation: none !important; }
    .cover-scroll{ animation: none !important; opacity: 1 !important; }
    .run-scene{ display: none; }
  }

  /* ---------- shared section layout ---------- */
  .section{
    padding: 7rem 8vw;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s ease, transform .9s ease;
  }
  .section.in-view{ opacity: 1; transform: none; }
  @media (max-width: 700px){
    /* スマホでは上下の余白を詰めて、スクロールが間延びしないようにする */
    .section{ padding: 4.5rem 8vw; }
  }

  /* lead / catch copy (standalone section) */
  .lead-section{
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .lead-section .release-date-tag{
    display: block;
    margin-bottom: 2rem;
  }
  /* 下のセクションのキャッチコピー。最長24文字が1行に収まるよう、
     画面幅に応じて文字を縮め、<br>の位置以外では折り返さないようにする */
  .lead-section .lead-copy{
    font-size: min(1.3rem, 3.2vw);
    white-space: nowrap;
  }
  .lead-sub{
    max-width: 40em;
    margin: 2.4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 37, 54, 0.18);
    /* 「とびきりの〜」と同じ書体に揃える */
    font-family: 'Yuji Syuku', serif;
    /* <br>の位置以外で折り返さないよう、幅に応じて縮む固定値にする */
    font-size: min(1.1rem, 4vw);
    line-height: 2.2;
    letter-spacing: 0.03em;
    color: var(--ink-soft);
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* 配信・CD予約への導線(ページの主役になるボタン) */
  .cta-buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 3rem;
  }
  .cta-link{
    cursor: pointer;
    font-family: 'Yuji Syuku', serif;
    font-weight: 700;
    /* 狭い画面では枠と余白も一緒に縮めないと、文字を小さくしても収まらない */
    font-size: min(1.3rem, 3.6vw);
    letter-spacing: 0.06em;
    padding: 0.75rem min(1.8rem, 4vw);
    max-width: 100%;
    color: var(--paper-white);
    background: none;
    border-style: solid;
    border-width: min(13px, 3vw);
    border-image-source: url('../img/slip-frame.svg');
    border-image-slice: 12 fill;
    border-image-width: min(13px, 3vw);
    border-image-repeat: stretch;
    border-radius: 0;
    filter: drop-shadow(0 6px 14px rgba(30, 37, 54, 0.28));
    transition: transform .3s ease;
  }
  .cta-link:hover{
    border-image-source: url('../img/slip-frame-red.svg');
    transform: translateY(-3px);
  }

  /* news */
  .news-section{ text-align: center; }
  .news-list{ list-style:none; max-width: 720px; margin: 0 auto; text-align: left; }
  /* リンクの有無どちらでも同じ並びになるよう、li と a の両方に同じ配置を指定 */
  .news-list li{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 1.2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(30, 37, 54,0.16);
  }
  .news-list li:has(a){ display: block; padding: 0; }
  .news-list a{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 1.2rem;
    padding: 1.1rem 0;
    transition: color .3s ease;
  }
  .news-list a:hover{ color: var(--red); }
  .news-date{ font-family: 'DotGothic16', monospace; color: var(--red); font-size: 0.9rem; flex-shrink: 0; }
  .news-title{ font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 1rem; flex: 1; min-width: min(200px, 100%); }
  .news-arrow{ font-family: 'Zen Maru Gothic', sans-serif; font-size: 0.95rem; opacity: 0.6; }

  /* liner notes(横書き・高さで折りたたみ) */
  .liner-section{ text-align: center; }
  .liner-wrap{
    position: relative;
    max-width: 46em;
    margin: 0 auto;
    text-align: left;
  }
  .liner-body{
    /* 折りたたみ時は高さで切り、開くと下に伸びる。
       横書きなので横方向にはみ出すことがなく、確実に動く */
    max-height: 16em;
    overflow: hidden;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(0.88rem, 1.6vw, 0.98rem);
    line-height: 2.1;
    letter-spacing: 0.02em;
    color: var(--ink);
    transition: max-height .55s ease;
  }
  /* 展開時の高さはJS側で中身の実寸を指定する。ここは保険 */
  .liner-body.is-open{ max-height: 400em; }
  .liner-title{
    font-family: 'Shippori Antique B1', sans-serif;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.8;
    letter-spacing: 0.03em;
    color: var(--ink);
    margin-bottom: 1.6em;
  }
  .liner-body p, .liner-title{
    overflow-wrap: anywhere;
    line-break: strict;
  }
  .liner-body p{
    margin-bottom: 1.5em;
    text-indent: 1em;
  }
  .liner-body .liner-sign{
    text-indent: 0;
    margin-top: 2em;
    text-align: right;
    color: var(--ink-soft);
  }
  /* 下端をぼかして「まだ続きがある」ことを示す */
  .liner-fade{
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6em;
    background: linear-gradient(to bottom, transparent, var(--bg-cream) 85%);
    pointer-events: none;
    transition: opacity .4s ease;
  }
  .liner-body.is-open + .liner-fade{ opacity: 0; }
  .liner-toggle{
    margin-top: 1.8rem;
    cursor: pointer;
    font-family: 'Yuji Syuku', serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    color: var(--paper-white);
    background: none;
    border-style: solid;
    border-width: 10px;
    border-image-source: url('../img/slip-frame.svg');
    border-image-slice: 12 fill;
    border-image-width: 10px;
    border-image-repeat: stretch;
    border-radius: 0;
    filter: drop-shadow(0 3px 8px rgba(30, 37, 54, 0.22));
    transition: transform .3s ease;
  }
  .liner-toggle:hover{
    border-image-source: url('../img/slip-frame-red.svg');
    transform: translateY(-2px);
  }

  /* comment(寄せられたコメント) */
  .comment-section{ text-align: center; }
  .comment-grid{
    /* 文章量の差が大きいので、横長のカードを縦に積む形にする */
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-width: 840px;
    margin: 0 auto;
    text-align: left;
  }
  .comment-card{
    margin: 0;
    padding: 2rem 2.2rem 1.6rem;
    background: var(--paper-white);
    border: 1px solid rgba(30, 37, 54, 0.14);
    box-shadow: 0 0.8rem 2rem rgba(30, 37, 54, 0.14);
    display: flex;
    flex-direction: column;
  }
  .comment-card blockquote{
    margin: 0 0 1.2rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1rem;
    line-height: 2.1;
    color: var(--ink);
    overflow-wrap: anywhere;
    line-break: strict;
    /* 文章量に差があっても名前の位置が揃うよう下を伸ばす。
       短い文は上下中央、長い文は上揃えにする */
    flex: 1;
    display: grid;
    align-content: center;
  }
  .comment-card figcaption{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 37, 54, 0.14);
    text-align: right;
  }
  .comment-name{
    font-family: 'Yuji Syuku', serif;
    font-size: 1rem;
    color: var(--ink);
  }
  .comment-role{
    font-family: 'DotGothic16', monospace;
    font-size: 0.72rem;
    color: var(--ink-soft);
  }

  /* tracklist */
  .tracklist-section{ text-align: center; }
  .tracklist{ list-style:none; max-width: 720px; margin: 0 auto; text-align: left; }
  .tracklist li{
    display: flex; align-items: center; gap: 1.4rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(30, 37, 54,0.16);
  }
  .track-no{ font-family: 'DotGothic16', monospace; color: var(--red); font-size: 1rem; width: 2ch; }
  .track-name{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    /* 一番長い曲名が1行に収まるよう、狭い画面では文字を縮める */
    font-size: min(1.1rem, 3.8vw);
    white-space: nowrap;
    flex: 1;
  }
  /* 曲名の中に入れる補足。太さと大きさを落として、曲名の行が主役のままになるようにする */
  .track-cover{
    font-weight: 400;
    font-size: 0.72em;
    color: var(--ink-soft);
    margin-left: 0.4em;
    letter-spacing: 0.02em;
  }
  .track-time{ font-family: 'DotGothic16', monospace; font-size: 0.9rem; color: var(--ink-soft); }
  /* カバー曲など、原曲アーティストを添えたい場合はこの構造を使う(04番を参照):
     <span class="track-no">..</span><span class="track-body">
       <span class="track-name">..</span><span class="track-original">原曲: ..</span>
     </span><span class="track-time">..</span> */
  .track-body{ display: flex; flex-direction: column; gap: 0.2rem; flex: 1; }
  .track-original{ font-family: 'Zen Maru Gothic', sans-serif; font-size: 0.8rem; color: var(--ink-soft); }
  .track-writer{
    font-family: 'Zen Maru Gothic', sans-serif;
    /* 一番長い作詞作曲表記が1行に収まるよう、狭い画面では文字を縮める */
    font-size: min(0.78rem, 3vw);
    white-space: nowrap;
    color: var(--ink-soft);
    opacity: 0.85;
  }

  /* credit */
  .credit-section{ text-align: center; }
  .credit-columns{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 3rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
  }
  .credit-heading{
    font-family: 'Yuji Syuku', serif;
    color: var(--red);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }
  .credit-list{ list-style: none; }
  .credit-list li{
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(30, 37, 54,0.16);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .credit-role{ font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
  .credit-name{
    font-family: 'Zen Maru Gothic', sans-serif;
    /* 一番長い「Recording, Mixing, Mastering Engineer」が1行に収まるように */
    font-size: min(0.95rem, 4.2vw);
    color: var(--ink-soft);
  }
  /* StaffはPerformanceより一回り小さく、格の差をつける */
  .credit-group--staff .credit-role{ font-size: 0.82rem; }
  .credit-group--staff .credit-name{ font-size: 0.72rem; }
  .credit-group--staff .credit-list li{ padding: 0.65rem 0; }

  /* profile */
  .profile-section{ text-align: center; }
  .profile-single{
    max-width: 46em;
    margin: 0 auto;
  }
  .profile-photo{
    display: block;
    width: 100%;
    /* height を明示しないと、HTMLのheight属性(960)がそのまま高さになり縦長に潰れる */
    height: auto;
    max-width: 420px;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    margin: 0 auto 1.8rem;
    border: 2px solid rgba(248, 243, 231, 0.9);
    outline: 1px solid rgba(30, 37, 54, 0.15);
    box-shadow: 0 1.2rem 2.4rem rgba(30, 37, 54, 0.28);
  }
  .profile-name{
    font-family: 'Yuji Syuku', serif;
    /* 狭い画面でも1行に収まるよう、幅に応じて縮める */
    font-size: min(1.4rem, 6.4vw);
    white-space: nowrap;
    color: var(--ink);
    margin-bottom: 1.4rem;
  }
  .profile-bio{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--ink);
    text-align: left;
    /* 「ASA-CHANG」「EGO-WRAPPIN'」など途中で切れない英数字が
       狭い幅で行からはみ出すのを防ぐ */
    overflow-wrap: anywhere;
    line-break: strict;
  }

  /* live */
  .live-section{ text-align:center; }
  .live-list{ list-style:none; max-width: 720px; margin:0 auto; text-align: left; }
  .live-list li{ border-bottom: 1px solid rgba(30, 37, 54,0.16); }
  .live-list .live-main{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem 1.2rem;
    padding: 1.1rem 0;
    transition: color .3s ease;
  }
  /* フライヤーがある項目は、メインリンクの下の余白をボタンに譲る */
  .live-list li:has(.live-flyers) .live-main{ padding-bottom: 0.8rem; }
  .live-list .live-main:hover{ color: var(--red); }
  .live-date{ font-family: 'DotGothic16', monospace; color: var(--red); font-size: 0.9rem; flex-shrink: 0; }
  .live-body{ display: flex; flex-direction: column; gap: 0.2rem; flex: 1; min-width: min(200px, 100%); }
  .live-title{ font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 1rem; }
  .live-venue{ font-family: 'Zen Maru Gothic', sans-serif; font-size: 0.85rem; color: var(--ink-soft); }
  .live-arrow{ font-family: 'Zen Maru Gothic', sans-serif; font-size: 0.95rem; opacity: 0.6; }

  /* release info */
  .release-section{ text-align: center; }
  .release-grid{
    display: grid;
    grid-template-columns: minmax(min(200px, 100%), 300px) minmax(min(280px, 100%), 1fr);
    gap: 3rem;
    max-width: 820px;
    margin: 0 auto;
    align-items: start;
    text-align: left;
  }
  .release-jacket img{
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid rgba(248, 243, 231, 0.9);
    outline: 1px solid rgba(30, 37, 54, 0.15);
    box-shadow: 0 1rem 2rem rgba(30, 37, 54, 0.25);
  }
  .release-spec{ margin: 0; }
  .release-row{
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(30, 37, 54, 0.16);
  }
  .release-row dt{
    font-family: 'DotGothic16', monospace;
    font-size: 0.78rem;
    color: var(--red);
    letter-spacing: 0.06em;
    flex: 0 0 6.5em;
  }
  .release-row dd{
    margin: 0;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
    flex: 1;
    min-width: 12em;
  }
  @media (max-width: 700px){
    .release-grid{
      grid-template-columns: 1fr;
      gap: 2rem;
      max-width: 420px;
    }
  }

  /* discography */
  .discography-section{ text-align: center; }
  .discography-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 2.4rem;
    max-width: 640px;
    margin: 0 auto;
  }
  .discography-card{
    display: block;
  }
  .discography-jacket{
    aspect-ratio: 1/1;
    margin-bottom: 1.2rem;
    background: repeating-linear-gradient(45deg, rgba(30,37,54,0.05) 0 10px, rgba(30,37,54,0.02) 10px 20px);
    border: 2px dashed var(--ink-soft);
    display: flex; align-items: center; justify-content: center;
    font-family: 'DotGothic16', monospace;
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.6;
    overflow: hidden;
  }
  /* 画像が入ったら枠いっぱいに表示し、他のジャケットと同じ白フチ+影にする */
  .discography-jacket img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .discography-jacket:has(img){
    border: 2px solid rgba(248, 243, 231, 0.9);
    outline: 1px solid rgba(30, 37, 54, 0.15);
    box-shadow: 0 1rem 2rem rgba(30, 37, 54, 0.25);
    background: none;
  }
  .discography-order{
    font-family: 'DotGothic16', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 0.3rem;
  }
  .discography-title{
    font-family: 'Shippori Antique B1', sans-serif;
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 0.3rem;
  }
  .discography-year{
    font-family: 'DotGothic16', monospace;
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: 1.2rem;
  }
  .discography-links{
    display: flex;
    gap: 0.7rem;
    justify-content: center;
  }
  .discography-link{
    /* ジャケットの札と同じ意匠(墨地・白文字・内側に白罫線・直角) */
    font-family: 'Yuji Syuku', serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.5rem;
    color: var(--paper-white);
    /* 他の札と同じ隅切りの枠 */
    background: none;
    border-style: solid;
    border-width: 10px;
    border-image-source: url('../img/slip-frame.svg');
    border-image-slice: 12 fill;
    border-image-width: 10px;
    border-image-repeat: stretch;
    border-radius: 0;
    filter: drop-shadow(0 3px 8px rgba(30, 37, 54, 0.22));
    cursor: pointer;
    transition: transform .3s ease;
  }
  /* 押せる札には矢印を添えて、ただの札と区別できるようにする */
  .discography-link::after{ content: " ›"; font-weight: 700; }
  .discography-link:hover{
    border-image-source: url('../img/slip-frame-red.svg');
    transform: translateY(-2px);
  }


  /* フライヤーへのリンク(公演ごと。表・裏がある場合は2つ並ぶ) */
  /* 右端に寄せて、メインリンクの矢印の下に揃える。
     左のテキストの流れを邪魔せず、縦のラインが締まる */
  .live-flyers{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0 0 1rem;
    /* 会場名と近づきすぎないよう、引き上げは控えめにする */
    margin-top: -0.2rem;
  }
  .flyer-link{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    padding: 0.28rem 0.7rem;
    color: var(--ink-soft);
    border: 1px solid rgba(30, 37, 54, 0.28);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
  }
  .flyer-link::before{ content: "◨ "; }
  .flyer-link:hover{
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper-white);
  }



  /* 終了したライブ(script.jsが日付を見て自動で判定) */
  .live-list li.is-past{ opacity: 0.5; }
  .live-list li.is-past .live-date::after{
    content: "終了";
    display: inline-block;
    margin-left: 0.5em;
    padding: 0.1em 0.5em;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.72em;
    color: var(--paper-white);
    background: var(--ink-soft);
    letter-spacing: 0.04em;
    vertical-align: 0.1em;
  }
  .live-list li.is-past .live-main:hover{ color: inherit; }


  /* 終了したライブ(日付を過ぎたもの。script.jsが自動で印をつける) */
  .live-list li.is-past{ opacity: 0.55; }
  .live-list li.is-past .live-date::after{
    content: "終了";
    margin-left: 0.6em;
    padding: 0.1em 0.45em;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.78em;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    border: 1px solid rgba(30, 37, 54, 0.3);
    vertical-align: 0.05em;
  }
  .live-list li.is-past .live-arrow{ display: none; }


  /* goods(ツアーグッズ) */
  .goods-section{ text-align: center; }
  .goods-grid{
    display: grid;
    grid-template-columns: minmax(min(240px, 100%), 360px) minmax(min(260px, 100%), 1fr);
    gap: 2.6rem;
    max-width: 840px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
  }
  .goods-photo img{
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid rgba(248, 243, 231, 0.9);
    outline: 1px solid rgba(30, 37, 54, 0.15);
    box-shadow: 0 1rem 2rem rgba(30, 37, 54, 0.25);
  }
  .goods-copy{
    font-family: 'Yuji Syuku', serif;
    font-size: min(1.5rem, 5.4vw);
    letter-spacing: 0.04em;
    color: var(--red);
    margin-bottom: 0.8rem;
    white-space: nowrap;
  }
  .goods-name{
    font-family: 'Shippori Antique B1', sans-serif;
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 0.9rem;
  }
  .goods-text{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--ink);
    margin-bottom: 1.4rem;
    overflow-wrap: anywhere;
  }
  .goods-spec{ margin: 0; }
  .goods-row{
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.2rem;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(30, 37, 54, 0.16);
  }
  .goods-row dt{
    font-family: 'DotGothic16', monospace;
    font-size: 0.78rem;
    color: var(--red);
    letter-spacing: 0.06em;
    flex: 0 0 4em;
  }
  .goods-row dd{
    margin: 0;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
  }
  @media (max-width: 700px){
    .goods-grid{ grid-template-columns: 1fr; gap: 1.8rem; max-width: 420px; }
  }

  /* footer */
  .site-footer{
    text-align: center;
    padding: 4rem 8vw 3rem;
    border-top: 2px solid var(--ink);
    position: relative;
  }
  .footer-artist{ font-family: 'Shippori Antique B1', sans-serif; font-size: 1.1rem; margin-bottom: 1rem; }
  .sns-links{ display:flex; justify-content:center; gap: 1.6rem; margin-bottom: 1.6rem; }
  .sns-links a{ font-family: 'Yuji Syuku', serif; font-size: 0.85rem; color: var(--ink-soft); }
  .sns-links a:hover{ color: var(--red); }
  .copyright{ font-family: 'DotGothic16', monospace; font-size: 0.75rem; color: var(--ink-soft); }

  /* 狭い画面のニュース・ライブ:
     日付と本文を横並びにすると本文の幅が足りず、変な位置で折り返してしまう。
     日付を上、本文を下に積み、矢印は右上に逃がして読みやすくする */
  @media (max-width: 700px){
    .news-list li, .live-list li{ display: block; padding: 0; }
    .news-list li:not(:has(a)){ padding: 1.1rem 0; position: relative; }
    .news-list a, .live-list .live-main{
      display: block;
      position: relative;
      padding: 1.1rem 2rem 1.1rem 0;   /* 右は矢印のぶん空ける */
    }
    /* 狭い画面でも右端に寄せる。会場名と近づきすぎないよう間隔を確保する */
    .live-flyers{ justify-content: flex-end; padding-bottom: 1.1rem; margin-top: 0; }
    .live-list li:has(.live-flyers) .live-main{ padding-bottom: 0.9rem; }
    .news-date, .live-date{
      display: block;
      margin-bottom: 0.45rem;
      font-size: 0.82rem;
    }
    .news-title, .live-title{
      display: block;
      min-width: 0;
      font-size: 0.95rem;
      line-height: 1.75;
      /* 句読点や閉じ括弧が行頭に来ないようにする */
      line-break: strict;
      overflow-wrap: anywhere;
    }
    .live-body{ display: block; min-width: 0; }
    .live-venue{ display: block; margin-top: 0.35rem; line-height: 1.6; }
    .news-arrow, .live-arrow{
      position: absolute;
      top: 1.1rem;
      right: 0;
    }
  }

  /* 極端に狭い画面(横380px未満)では、左右の余白を詰めて本文の幅を確保する */
  @media (max-width: 380px){
    .section{ padding: 4rem 5vw; }
    .comment-card{ padding: 1.8rem 1.4rem 1.5rem; }
    .liner-body{ font-size: 0.85rem; }
  }

  /* ---------- flyer.html(フライヤー一覧ページ) ---------- */
  .flyer-page .flyer-section{ text-align: center; opacity: 1; transform: none; }
  /* 指定された公演のぶんだけ表示する。ハッシュなしで開いた時は全部表示 */
  .flyer-set{ display: none; margin: 0 auto 4rem; max-width: 900px; }
  .flyer-set:target{ display: block; }
  body:not(:has(.flyer-set:target)) .flyer-set{ display: block; }
  .flyer-name{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 1.4rem;
    overflow-wrap: anywhere;
  }
  .flyer-images{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
  }
  .flyer-images figure{ margin: 0; }
  .flyer-images img{
    max-width: 100%;
    height: auto;
    border: 2px solid rgba(248, 243, 231, 0.9);
    outline: 1px solid rgba(30, 37, 54, 0.15);
    box-shadow: 0 1rem 2rem rgba(30, 37, 54, 0.25);
  }
  .flyer-images figcaption{
    margin-top: 0.6rem;
    font-family: 'DotGothic16', monospace;
    font-size: 0.78rem;
    color: var(--ink-soft);
  }
  .flyer-back{
    margin-top: 2rem;
    font-family: 'Yuji Syuku', serif;
    font-size: 0.9rem;
  }
  .flyer-back a:hover{ color: var(--red); }
