/* Yutaro Kawahara — official site
   コンセプト「ネオンの灯る部屋」: ヒーロー写真のネオン（Yutaro Kawahara Official Site）の
   琥珀色の灯りと、夜の部屋の暗さを土台に、名義ごとに部屋の色を変える。
   ソロ＝昼の紙（白いスタジオ写真）／Velvetbound＝墨と銀（モノクロのジャケット）／
   Frozen Gap＝向こうのサイトと同じ夜空の藍。
   色は各トーン（.tone-*）が --bg / --fg / --line などを持ち、部品はそれだけを使う。 */

:root {
  --room: #15110e;          /* 夜の部屋 */
  --room-2: #1f1915;
  --glow: #ffd9a8;          /* ネオンの灯り */
  --cream: #f4eee4;         /* 紙（旧サイトの #f9f7ef を少し温かく） */
  --cream-2: #ebe3d6;
  --ink: #2a211b;
  --teal: #1d677c;          /* 旧サイトのサイドバーの色 */
  /* 英字見出しに混ざる「」や曲名の和文は、明朝で受ける */
  --display: "Cormorant Garamond", "Shippori Mincho", "Times New Roman", serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1180px;
}

/* トーン。部品は var(--fg) などだけを見るので、置いた場所の色に自然になじむ */
.tone-room {
  --bg: var(--room); --fg: #efe7dc; --fg-soft: rgba(239, 231, 220, 0.68); --fg-faint: rgba(239, 231, 220, 0.42);
  --line: rgba(239, 231, 220, 0.14); --accent: var(--glow);
  background-color: var(--bg); color: var(--fg);
}
.tone-paper {
  --bg: var(--cream); --fg: var(--ink); --fg-soft: #66584d; --fg-faint: #8f8276;
  --line: rgba(42, 33, 27, 0.14); --accent: var(--teal);
  color: var(--fg);
  /* にじみはセクションの上下端に届かない位置と大きさにして、紙のセクション同士の境目に段差を作らない */
  background:
    radial-gradient(60% 22% at 86% 30%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(50% 20% at 8% 68%, rgba(255, 217, 168, 0.18), transparent 70%),
    var(--bg);
}
/* 紙のセクションが続くところは 1px 重ねて、境目に下地（夜の色）の細い線がにじまないようにする */
.tone-paper + .tone-paper { margin-top: -1px; }
.tone-mono {
  --bg: #121212; --fg: #e9e9e6; --fg-soft: rgba(233, 233, 230, 0.66); --fg-faint: rgba(233, 233, 230, 0.4);
  --line: rgba(233, 233, 230, 0.14); --accent: #ffffff;
  color: var(--fg);
  background:
    radial-gradient(70% 50% at 85% 0%, rgba(255, 255, 255, 0.06), transparent 70%),
    var(--bg);
}
.tone-fg {
  --bg: #0a0c19; --fg: #e8ebf5; --fg-soft: rgba(232, 235, 245, 0.66); --fg-faint: rgba(232, 235, 245, 0.42);
  --line: rgba(232, 235, 245, 0.14); --accent: #efd9a6;
  color: var(--fg);
  background:
    radial-gradient(640px 420px at 88% 6%, rgba(239, 217, 166, 0.08), transparent 70%),
    radial-gradient(900px 640px at 6% 70%, rgba(93, 98, 144, 0.22), transparent 70%),
    var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--room); color: #efe7dc;
  font-family: var(--sans); font-size: 15px; line-height: 1.95; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  /* Cormorant の数字は既定で小文字体（1st が ıst に見える）なので、そろった数字にする */
  font-variant-numeric: lining-nums;
}
/* width/height 属性は CSS の height として効くので、auto に戻して aspect-ratio を生かす */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.page { overflow-x: clip; }

/* 言語切替。hidden 属性は作者 CSS の display に負けるため、CSS の display で切る */
html[data-lang="jp"] [data-lang-content="en"] { display: none !important; }
html[data-lang="en"] [data-lang-content="jp"] { display: none !important; }

/* フィルムの粒子をページ全体に薄く */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.pad { padding: clamp(88px, 13vw, 168px) 0; }

.label {
  display: inline-block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  font-weight: 500; color: var(--fg-faint);
}
/* 日本語の曲名は明朝で。英字の Cormorant と並べても背丈がそろう */
.jp-title { font-family: var(--mincho); font-weight: 500; letter-spacing: 0.04em; }
.section-title { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 7vw, 84px); line-height: 1; margin: 10px 0 0; }
.desc { color: var(--fg-soft); margin: 0 0 22px; max-width: 36em; }

/* ───── ヘッダー ───── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); color: #f6efe6;
  transition: background-color .5s ease, color .5s ease, padding .4s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.site-header[data-tone="light"] { color: var(--ink); }
.site-header:not(.scrolled) { text-shadow: 0 1px 12px rgba(21, 17, 14, 0.35); }
.site-header.scrolled { padding-top: 12px; padding-bottom: 12px; -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.site-header.scrolled[data-tone="dark"] { background: rgba(21, 17, 14, 0.66); border-bottom-color: rgba(239, 231, 220, 0.12); }
.site-header.scrolled[data-tone="light"] { background: rgba(244, 238, 228, 0.78); border-bottom-color: rgba(42, 33, 27, 0.12); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: 0.03em; text-decoration: none; white-space: nowrap; }
.brand .mark { width: 17px; height: 19px; flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.site-nav a { font-size: 12px; letter-spacing: 0.16em; text-decoration: none; white-space: nowrap; opacity: 0.84; transition: opacity .2s; }
.site-nav a:hover { opacity: 1; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; letter-spacing: 0.14em; white-space: nowrap; }
.lang button { background: none; border: 0; padding: 4px 5px; cursor: pointer; opacity: 0.45; transition: opacity .2s; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang span { opacity: 0.35; }
/* 狭い画面ではページ内アンカーを畳む（Music と言語切替は残す） */
@media (max-width: 760px) {
  .site-nav a.nav-anchor { display: none; }
  .brand { font-size: 20px; }
}

/* ───── ヒーロー ───── */
/* 人物は写真の左端、ネオンは右端まであるので、写真の左右は切らない。
   高さは「画面の高さ」と「横幅の 16:9」の小さい方にし、余るのは上下だけにする。
   写真と同じ比率の枠ごと置くので、ネオンの灯りの重ね位置も写真とずれない */
.hero { position: relative; height: min(100vh, 56.25vw); height: min(100svh, 56.25vw); overflow: hidden; background: var(--room); }
.hero-stage { position: absolute; inset: 0; overflow: hidden; }
.hero-frame {
  position: absolute; left: 0; top: 58%; width: 100%; aspect-ratio: 16 / 9;
  transform: translateY(-58%);
}
/* ゆっくり寄る中心はネオンの近く。ネオンの右端が枠の外に出ない倍率に抑える */
.hero-frame img { width: 100%; height: 100%; object-fit: cover; animation: breathe 28s ease-in-out infinite alternate; transform-origin: 62% 72%; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.03); } }
/* ネオン管のうなり。写真の灯りの上に、ほんの少しだけ明滅する光を重ねる */
.neon-hum {
  position: absolute; left: 29%; top: 68%; width: 72%; height: 17%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 196, 128, 0.55), rgba(255, 170, 90, 0.14) 55%, transparent 75%);
  mix-blend-mode: screen; filter: blur(6px); opacity: 0.5;
  animation: hum 7s linear infinite;
}
@keyframes hum {
  0%, 100% { opacity: 0.5; }
  46% { opacity: 0.62; }
  48% { opacity: 0.28; }
  49% { opacity: 0.6; }
  51% { opacity: 0.36; }
  53% { opacity: 0.58; }
  80% { opacity: 0.46; }
}
/* 下端のぼかしはネオン（写真の 72〜81% の高さ）にかからない短さに */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, rgba(21, 17, 14, 0), rgba(21, 17, 14, 0.6) 55%, var(--room)); pointer-events: none; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #f6efe6;
  padding: 0 var(--gutter) clamp(28px, 6vh, 56px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.hero-line { margin: 0; max-width: 34em; font-size: 13px; line-height: 1.9; letter-spacing: 0.06em; opacity: 0.92; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-size: 20px; letter-spacing: 0.04em;
}
.hero-cta small { font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.8; }
.hero-cta .arrow { width: 44px; height: 1px; background: currentColor; position: relative; transition: width .3s; }
.hero-cta .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.hero-cta:hover .arrow { width: 60px; }

/* 横長でない画面では写真を全部見せ、文字は写真の下に置く（写真が低くなり、ネオンと文字が重なるため） */
@media (max-aspect-ratio: 4/3), (max-width: 900px) {
  .hero { height: auto; padding-top: 56px; }
  .hero-stage { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .hero-frame { inset: 0; transform: none; }
  .hero::after { display: none; }
  .hero-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(21, 17, 14, 0), var(--room)); }
  .hero-foot { position: relative; padding-top: 22px; padding-bottom: 8px; }
}

/* ───── 新作 ───── */
.now { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.now-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.now-card .cover { display: block; position: relative; }
.now-card .cover::before { content: ""; position: absolute; inset: 10% 8% -8%; background: radial-gradient(closest-side, rgba(255, 196, 128, 0.2), transparent); filter: blur(26px); opacity: 0; transition: opacity .6s; }
.now-card .cover:hover::before { opacity: 1; }
.now-card img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.8); }
.now-card .who { display: block; margin-top: 18px; font-size: 11px; letter-spacing: 0.22em; color: var(--accent); }
.now-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 4px 0 4px; }
.now-card h3.jp-title { font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.35; }
.now-card .when { font-size: 11px; letter-spacing: 0.16em; color: var(--fg-faint); }

.mini { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 11px; letter-spacing: 0.06em; }
.mini a { color: var(--fg-soft); text-decoration: none; border-bottom: 1px solid transparent; }
.mini a:hover { color: var(--fg); border-bottom-color: var(--fg-faint); }

.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-size: 12px; letter-spacing: 0.1em; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;
}
.pill:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill.solid:hover { background: transparent; color: var(--fg); }

/* ───── ディスコグラフィ ───── */
.music-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); border-top: 1px solid rgba(239, 231, 220, 0.1); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.music-head .section-head { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: 0.08em; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.chips a:hover { background: var(--fg); color: var(--bg); }

.project { padding: clamp(80px, 11vw, 144px) 0; }
.project-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.project-title { font-family: var(--display); font-weight: 300; font-size: clamp(52px, 8vw, 104px); line-height: 0.98; margin: 12px 0 18px; letter-spacing: 0.005em; }
.alias { margin: 0; font-size: 13px; letter-spacing: 0.04em; color: var(--fg-soft); }
.members { margin: 0 0 20px; font-family: var(--display); font-size: 24px; line-height: 1.4; }
.members small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; color: var(--fg-faint); margin-left: 6px; }
.members > span { margin: 0 14px; color: var(--fg-faint); }
.player { border-radius: 14px; overflow: hidden; background: rgba(127, 127, 127, 0.08); min-height: 152px; }
.player iframe { display: block; width: 100%; height: 152px; border: 0; }
.player.tall, .player.tall iframe { min-height: 352px; height: 352px; }

.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: clamp(72px, 9vw, 112px) 0 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.sub-head h3 { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4vw, 44px); margin: 0; line-height: 1; }
.sub-head .note { font-size: 12px; letter-spacing: 0.14em; color: var(--fg-faint); }

/* ソロは6作、Velvetbound は12作なので、列は 6 → 3 → 2 と割り切れる数で切り替える */
.singles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) { .singles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.single .cover { display: block; overflow: hidden; }
.single .cover img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.single .cover:hover img { transform: scale(1.045); }
.single h4 { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.25; margin: 14px 0 2px; }
.single h4.jp-title { font-family: var(--mincho); font-weight: 500; font-size: 17px; line-height: 1.5; }
.single h4 small { display: block; font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0.01em; color: var(--fg-soft); line-height: 1.25; }
.single .yr { font-size: 11px; letter-spacing: 0.14em; color: var(--fg-faint); }

.album { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 84px); align-items: start; margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.album-art img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 34px 80px -40px rgba(42, 33, 27, 0.55); }
.album h3 { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.02; margin: 12px 0 18px; }
.tracks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; counter-reset: t; }
.tracks li { counter-increment: t; break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 19px; line-height: 1.35; display: flex; gap: 12px; }
.tracks.jp li { font-family: var(--mincho); font-size: 15px; line-height: 1.6; }
.tracks li::before { content: counter(t, decimal-leading-zero); font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; color: var(--fg-faint); padding-top: 4px; min-width: 18px; }

.cd { margin-top: clamp(56px, 7vw, 80px); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.cd .label { padding-top: 6px; }
.cd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cd li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.cd b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.3; }
.cd b.jp-title { font-family: var(--mincho); font-size: 18px; }
.cd li > span { font-size: 12px; letter-spacing: 0.08em; color: var(--fg-soft); }

.tone-mono .project-title { letter-spacing: 0.02em; }

/* Frozen Gap */
.fg-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fg-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 36em; }
.fg-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--fg-soft); }
.fg-covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.fg-covers a { display: block; overflow: hidden; }
.fg-covers img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.8); }
.fg-covers a:hover img { transform: scale(1.04); }
.fg-covers b { display: block; margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.25; }
.fg-covers span { font-size: 11px; letter-spacing: 0.14em; color: var(--fg-faint); }

/* ───── ビデオ ───── */
.videos-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; margin-top: 44px; }
figure.video { margin: 0; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: opacity .4s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.75); background: rgba(21, 17, 14, 0.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s, background-color .3s; }
.yt .play::after { content: ""; position: absolute; left: 23px; top: 19px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.yt:hover .play { transform: scale(1.08); background: rgba(21, 17, 14, 0.5); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 12px; }
.video figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.25; }
.video figcaption b.jp-title { font-family: var(--mincho); font-weight: 500; font-size: 17px; line-height: 1.5; }
.video figcaption b small { font-size: 0.75em; color: var(--fg-soft); }
.video figcaption span { font-size: 11px; letter-spacing: 0.14em; color: var(--fg-faint); }
.videos-top .video:first-child figcaption b.jp-title { font-size: 21px; }

/* ───── プロフィール ───── */
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.profile-photo { margin: 0; position: sticky; top: 96px; }
.profile-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.role { margin: 14px 0 28px; font-size: 12px; letter-spacing: 0.16em; color: var(--fg-soft); }
.bio { font-size: 15px; line-height: 2.1; max-width: 36em; }
.bio p { margin: 0 0 1.2em; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.85; }
.facts li > span:first-child { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-soft); padding-top: 3px; }
.facts a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: rgba(42, 33, 27, 0.3); }
.facts a:hover { color: var(--accent); }
.facts .sub { display: block; font-size: 13px; color: var(--fg-soft); }

.history-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; margin-top: clamp(88px, 11vw, 140px); }
.history-photo { margin: 0; position: sticky; top: 96px; }
.history-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(0.9); }
.sub-title { font-family: var(--display); font-weight: 300; font-size: clamp(36px, 4.6vw, 54px); line-height: 1; margin: 0 0 24px; }
.history { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.history li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.85; }
.history time { font-family: var(--display); font-size: 22px; line-height: 1.2; color: var(--fg-soft); font-variant-numeric: lining-nums; }

/* ───── ニュース ───── */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 120px minmax(0, 1fr) 24px; gap: 18px; align-items: baseline; padding: 20px 4px; text-decoration: none; transition: background-color .25s, padding .25s; }
.news-list a:hover { background: rgba(255, 255, 255, 0.5); padding-left: 12px; }
.news-list time { font-size: 12px; letter-spacing: 0.12em; color: var(--fg-soft); font-variant-numeric: tabular-nums; }
.news-list .t { font-family: var(--display); font-size: 21px; line-height: 1.4; }
.news-list .t small { display: block; font-family: var(--sans); font-size: 12px; line-height: 1.8; color: var(--fg-soft); margin-top: 4px; }
.news-list .go { font-size: 14px; color: var(--fg-soft); text-align: right; }
.archive summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 12px; letter-spacing: 0.16em; color: var(--fg-soft); }
.archive summary::-webkit-details-marker { display: none; }
.archive summary::before { content: "+"; font-size: 16px; line-height: 1; }
.archive[open] summary::before { content: "−"; }
.archive[open] summary { margin-bottom: 18px; }

/* ───── フッター: 名前をネオン管のように灯す ───── */
.site-footer { padding: clamp(110px, 14vw, 180px) 0 40px; text-align: center; }
.footer-mark {
  font-family: var(--display); font-weight: 300; font-size: clamp(48px, 9.5vw, 124px); line-height: 1.05; letter-spacing: 0.01em; margin: 0;
  color: #fff4e4;
  text-shadow: 0 0 4px rgba(255, 228, 190, 0.9), 0 0 14px rgba(255, 196, 128, 0.7), 0 0 38px rgba(255, 170, 90, 0.45), 0 0 80px rgba(255, 150, 70, 0.3);
}
.js .footer-mark.reveal { transform: none; transition: none; }
.js .footer-mark.reveal.in { animation: light-up 1.6s steps(1, end) both; }
@keyframes light-up {
  0% { opacity: 0.08; } 12% { opacity: 0.7; } 16% { opacity: 0.15; } 26% { opacity: 0.9; } 30% { opacity: 0.4; } 40%, 100% { opacity: 1; }
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; }
.footer-small { margin-top: clamp(64px, 8vw, 96px); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.12em; color: var(--fg-faint); }
.footer-small a { text-decoration: none; }

/* ───── 出現アニメーション（JS がある時だけ） ───── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }

/* ───── レスポンシブ ───── */
@media (max-width: 900px) {
  .project-intro, .fg-grid, .album, .profile-grid, .history-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-photo, .history-photo { position: static; }
  .album-art { max-width: 420px; }
  .videos-top { grid-template-columns: minmax(0, 1fr); }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .now-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* 縦に積むときはジャケットを左、文字を右に */
  .now-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .now-card:first-child { border-top: 1px solid var(--line); }
  .now-card .who { margin-top: 0; }
}
@media (max-width: 560px) {
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-line { font-size: 12px; }
  .now-card { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .now-card h3 { font-size: 28px; }
  .now-card h3.jp-title { font-size: 22px; }
  .project-intro { gap: 28px; }
  .members { font-size: 21px; }
  .tracks { columns: 1; }
  .singles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .single h4 { font-size: 19px; }
  .single h4.jp-title { font-size: 16px; }
  .single h4 small { font-size: 14px; }
  .fg-covers { gap: 22px 14px; }
  .fg-covers b { font-size: 16px; }
  .videos { grid-template-columns: minmax(0, 1fr); }
  .cd, .facts li, .history li, .news-list a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .history time { font-size: 20px; }
  .news-list .go { display: none; }
  .news-list .t { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-frame img, .neon-hum { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .footer-mark.reveal.in { animation: none; }
}
