/* S06 音楽ファースト。背景・本文・補助・境界は 2026-10-10 の差し替え。青は v1.2 のまま。 */
:root {
  --color-bg: #faf8f3;
  --color-cream: #f7f2e8;
  --color-text: #203632;
  --color-muted: #3e5550;
  --color-line: #e4ddd2;
  --color-form: #8a847b;
  --color-stroke: #3a3631;
  --color-accent: #285d85;
  --color-accent-hover: #214e70;
  --color-tint: #eaf1f7;
  --color-on-accent: #fff;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  --content: 1120px;
  --read: 720px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 120px;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.03em;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, li, dd { overflow-wrap: break-word; }
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
  line-break: strict;
}
h1 {
  font-size: clamp(30px, 4.2vw + 14px, 60px);
  line-height: 1.4;
  letter-spacing: 0.06em;
}
h2 {
  font-size: clamp(24px, 2vw + 17px, 40px);
  line-height: 1.5;
  letter-spacing: 0.04em;
}
h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
  line-break: strict;
}
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 20px;
  top: 8px;
  z-index: 30;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 8px 16px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.preview-bar {
  margin: 0;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 20px;
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  margin-right: auto;
  text-decoration: none;
  color: var(--color-text);
  display: grid;
  gap: 0;
}
.logo-ja {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.logo-en {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.4;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.06em;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--color-accent); }
.nav-en {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 400;
}
.menu-btn {
  display: none;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--color-form);
  border-radius: 6px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.section { padding: 64px 0; }
@media (min-width: 960px) {
  .section { padding: 112px 0; }
}
.section-head { max-width: var(--read); margin-bottom: 32px; }
.section-head h2 { display: flex; align-items: center; gap: 12px; }
.mark {
  flex: none;
  width: 18px;
  height: 14px;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-accent) 0 1px,
    transparent 1px 3.2px
  );
}

.label {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.en-display {
  display: block;
  margin-top: 8px;
  font-family: var(--font-en);
  font-weight: 500;
  font-style: italic;
  font-size: 0.55em;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--color-muted);
  text-transform: none;
}
.en-body {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--color-muted);
}
.lede { max-width: var(--read); font-size: 16px; }
.read { max-width: var(--read); }
.muted { color: var(--color-muted); font-size: 14px; line-height: 1.7; }
.source {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}
.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero { padding: 48px 0 64px; }
@media (min-width: 960px) {
  .hero { padding: 96px 0 120px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 720px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 32px; }
}
.cta { display: grid; gap: 8px; justify-items: start; }
.pair-en {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid var(--color-accent);
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.btn-en {
  display: block;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-primary .btn-en { color: rgba(255, 255, 255, 0.92); }
.btn-ghost { background: transparent; color: var(--color-accent); }
.btn-ghost:hover { background: var(--color-tint); }
.btn-ghost .btn-en { color: var(--color-muted); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.hero-art { margin: 0; }
.hero-art svg { width: 100%; height: auto; }

.band { background: var(--color-cream); }
.tint { background: var(--color-tint); }

.entries { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--color-line); }
.entry {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  color: var(--color-text);
}
.entry:hover { background: color-mix(in srgb, var(--color-tint) 65%, transparent); }
.entry b {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--color-accent);
}
.entry h3 { margin-bottom: 8px; }
.entry p { color: var(--color-muted); font-size: 16px; }
@media (min-width: 800px) {
  .entries { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .entry:nth-child(odd) { padding-right: 32px; }
  .entry:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--color-line); }
  .entry:nth-child(1),
  .entry:nth-child(2) { border-top: 0; }
}

.roles { display: grid; gap: 32px; }
@media (min-width: 800px) {
  .roles { grid-template-columns: 1fr 1fr; gap: 48px 64px; }
}
.role { padding-top: 16px; border-top: 1px solid var(--color-text); }
.role-en {
  margin: 4px 0 16px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}
.role ul { margin: 0; padding: 0; list-style: none; }
.role li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
  line-height: 1.7;
}
.role-note {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--color-line);
}
.step span {
  font-family: var(--font-en);
  font-size: 28px;
  line-height: 1.2;
  color: var(--color-accent);
}
.terms { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .terms { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
}
.term-list { margin: 0; padding: 0; list-style: none; }
.term-list li {
  padding: 16px 0;
  border-top: 1px solid var(--color-line);
}
.term-list strong { display: block; font-weight: 500; }

details {
  border-bottom: 1px solid var(--color-line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 16px;
}
details p { margin-top: 12px; max-width: var(--read); }

.facts { margin: 32px 0 0; }
.facts div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--color-line);
}
.facts dt { color: var(--color-accent); font-weight: 500; }
.facts dd { margin: 0; }
@media (max-width: 520px) {
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .entry { grid-template-columns: 3.2rem 1fr; }
}

.notice {
  max-width: var(--read);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 24px;
}
.notice h2 { margin-bottom: 16px; }

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 48px 0 64px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}
.foot {
  display: grid;
  gap: 32px;
}
@media (min-width: 800px) {
  .foot { grid-template-columns: 1.4fr 1fr; }
}
.foot a { color: var(--color-text); }
.foot ul { margin: 8px 0 0; padding: 0; list-style: none; }
.foot li { margin: 8px 0; }
.band-mark {
  margin: 32px 0 0;
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--color-text);
}
.band-line { margin: 4px 0 0; color: var(--color-text); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 16px;
  }
  .nav.is-open { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==== TARNAR トークン第2版レイヤー（2026-10-10 Claude適用。S00 tokens.css 第2段に合わせる） ==== */
:root {
  --read: 672px; --measure: 672px; --read-max: 672px;
  --color-paper: #f4efe6; --color-surface: #f4efe6; --color-cream: #f4efe6;
  --color-stroke: #203632;
  --radius-btn: 0; --radius-card: 0;
}
html body h1 { font-size: clamp(26px, 7vw, 46px); line-height: 1.35; letter-spacing: 0.02em; }
html body h2 { font-size: clamp(26px, 5vw, 36px); line-height: 1.35; }
html body h3 { font-size: 22px; }
.section { padding-top: 42px; padding-bottom: 42px; }
@media (min-width: 800px) { .section { padding-top: 64px; padding-bottom: 64px; } }
html body *:not(img):not(video):not(iframe) { border-radius: 0 !important; }
html body img { border-radius: 2px; }
/* 線画：色と太さ（表示px）。記事本文の中の図は対象外 */
svg:not(.entry-body svg) [stroke="#3A3631" i] { stroke: #203632; }
svg:not(.entry-body svg) [fill="#FCFBF7" i] { fill: #faf8f3; }
svg:not(.entry-body svg) [fill="#F7F2E8" i] { fill: #f4efe6; }
svg:not(.entry-body svg) :is(:is(path, line, circle, ellipse, polyline, polygon, rect)[stroke]:not([stroke="none"]), g[stroke]:not([stroke="none"]) :is(path, line, circle, ellipse, polyline, polygon, rect)) { vector-effect: non-scaling-stroke; stroke-width: 2px; }
.hero-art svg :is(:is(path, line, circle, ellipse, polyline, polygon, rect)[stroke]:not([stroke="none"]), g[stroke]:not([stroke="none"]) :is(path, line, circle, ellipse, polyline, polygon, rect)) { stroke-width: 3px; }
@media (min-width: 800px) { .hero-art svg :is(:is(path, line, circle, ellipse, polyline, polygon, rect)[stroke]:not([stroke="none"]), g[stroke]:not([stroke="none"]) :is(path, line, circle, ellipse, polyline, polygon, rect)) { stroke-width: 4px; } }
/* ==== /TARNAR トークン第2版レイヤー ==== */
