:root {
  color-scheme: dark;
  --bg: #0c0b0a;
  --panel: #171310;
  --panel-2: #211a15;
  --text: #f7f0e7;
  --muted: #c5b8a6;
  --gold: #d9b66f;
  --accent: #e85d65;
  --wine: #6e1f2b;
  --line: rgba(217, 182, 111, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 8%, rgba(110, 31, 43, 0.48), transparent 32rem),
    linear-gradient(180deg, #0c0b0a 0%, #120f0e 54%, #0b0a09 100%);
  color: var(--text);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(12, 11, 10, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta {
  color: var(--gold);
}

.kamakura-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(120deg, rgba(9, 35, 52, 0.96), rgba(16, 59, 73, 0.9)),
    #0b2635;
  border-bottom: 1px solid rgba(121, 213, 222, 0.24);
}

.kamakura-feature-copy {
  align-self: center;
  max-width: 760px;
}

.kamakura-feature-label {
  display: inline-block;
  margin: 14px 0 18px;
  padding: 8px 14px;
  color: #d9f6f5;
  border: 1px solid rgba(217, 246, 245, 0.42);
  border-radius: 999px;
  font-weight: 700;
}

.kamakura-feature h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.06;
}

.kamakura-feature-copy > p:not(.section-kicker):not(.kamakura-feature-label) {
  max-width: 680px;
  color: #d5e7e9;
  font-size: 17px;
  line-height: 1.9;
}

.kamakura-feature-player {
  margin: 26px 0 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.kamakura-feature-player span {
  display: block;
  margin-bottom: 10px;
  color: #f3d38b;
  font-weight: 800;
}

.kamakura-feature-player audio {
  width: 100%;
}

.kamakura-feature-copy small {
  color: #a8c6ca;
}

.kamakura-feature-image {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.kamakura-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kamakura-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 15, 24, 0.82));
}

.kamakura-feature-image span {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.song-demos {
  background:
    radial-gradient(circle at 82% 18%, rgba(25, 143, 155, 0.2), transparent 28rem),
    linear-gradient(180deg, #0b1c2a, #102438);
  border-top: 1px solid rgba(107, 209, 218, 0.2);
  border-bottom: 1px solid rgba(107, 209, 218, 0.2);
}

.song-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.song-demo-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

.song-demo-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.song-demo-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(3, 13, 24, 0.84));
}

.song-demo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-demo-image span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.song-demo-copy {
  padding: clamp(24px, 3vw, 38px);
}

.song-demo-label {
  margin: 0 0 12px;
  color: #78dbe0;
  font-size: 14px;
  font-weight: 800;
}

.song-demo-copy h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(28px, 2.5vw, 40px);
}

.song-demo-copy p:not(.song-demo-label) {
  min-height: 5.7em;
  margin: 0 0 22px;
  color: #cadde1;
  line-height: 1.9;
}

.song-demo-copy audio {
  width: 100%;
}

.song-demo-note {
  margin: 22px 0 0;
  color: #9bb9bf !important;
  font-size: 13px !important;
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(56px, 7vw, 92px) clamp(20px, 5vw, 64px) 44px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.04;
  margin-bottom: 24px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.15;
  margin-bottom: 22px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.lead,
.section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.button.primary {
  background: var(--gold);
  color: #17110c;
  border-color: var(--gold);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
}

.trust-row span {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 13px;
}

.theme-song-notice {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(201, 159, 86, 0.55);
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(110deg, #fff8e8, #fff 64%);
  box-shadow: 0 14px 36px rgba(82, 52, 17, 0.12);
}

.theme-song-notice:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(82, 52, 17, 0.18); }
.theme-song-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; color:white; background:linear-gradient(135deg,#c99f56,#8f692f); font-size:23px; box-shadow:0 8px 20px rgba(143,105,47,.25); }
.theme-song-notice small { display:block; margin-bottom:4px; color:#9b7131; font-size:9px; font-weight:900; letter-spacing:.14em; }
.theme-song-notice strong { display:block; font-size:13px; line-height:1.55; }
.theme-song-notice b { white-space:nowrap; color:#9b7131; font-size:11px; }

.hero-film {
  min-height: 520px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.1), rgba(12, 11, 10, 0.9)),
    radial-gradient(circle at 50% 34%, rgba(217, 182, 111, 0.18), transparent 18rem),
    linear-gradient(135deg, #241a14, #0b0908);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-backed {
  background-image:
    linear-gradient(180deg, rgba(12, 11, 10, 0.04), rgba(12, 11, 10, 0.82)),
    url("./assets/hero-kanreki-room.png");
  background-position: center;
  background-size: cover;
}

.hero-film::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.film-label,
.film-caption {
  position: relative;
  z-index: 1;
}

.film-label {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.film-caption {
  max-width: 360px;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.25;
}

.play-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(217, 182, 111, 0.7);
  border-radius: 999px;
}

.play-ring span {
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid var(--gold);
}

.section {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 64px);
}

.problem {
  max-width: 1050px;
}

.message-assist {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.62fr);
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 5vw, 64px);
  padding: clamp(30px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(232, 93, 101, 0.18), rgba(217, 182, 111, 0.1)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(217, 182, 111, 0.34);
  box-shadow: var(--shadow);
}

.message-assist h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 48px);
}

.assist-panel {
  padding: 24px;
  background: rgba(12, 11, 10, 0.5);
  border: 1px solid var(--line);
}

.assist-panel p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.assist-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.52fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
}

.demo-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.demo-tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.demo-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17110c;
}

.demo-panel[hidden] {
  display: none;
}

.video-placeholder {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.78)),
    linear-gradient(120deg, #311923, #16110f 62%, #3b2a18);
  border: 1px solid var(--line);
}

.video-placeholder.image-backed {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78)),
    url("./assets/hero-kanreki-room.png");
  background-position: center;
  background-size: cover;
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, 0.025) 8px);
  pointer-events: none;
}

.video-title {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
}

.video-copy {
  position: relative;
  max-width: 520px;
  z-index: 1;
}

.video-copy strong,
.video-copy span {
  display: block;
}

.video-copy strong {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}

.video-copy span {
  margin-top: 12px;
  color: var(--muted);
}

.play-button {
  position: absolute;
  left: 28px;
  top: 74px;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: rgba(217, 182, 111, 0.12);
  color: var(--gold);
  cursor: pointer;
}

.mv-player {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mother-video-shell {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mother-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090807;
  object-fit: cover;
}

.mother-video-copy {
  padding: 20px 22px 22px;
  border-top: 1px solid var(--line);
}

.mother-video-copy strong,
.mother-video-copy span {
  display: block;
}

.mother-video-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.mother-video-copy span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.mv-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #090807;
}

.video-mv-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #090807;
}

.video-mv-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #090807;
}

.mv-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 900ms ease,
    transform 4200ms ease;
}

.mv-slide.is-active {
  opacity: 1;
  transform: scale(1.075);
}

.mv-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 64%);
}

.mv-copy {
  position: absolute;
  left: clamp(20px, 4vw, 36px);
  right: clamp(20px, 4vw, 36px);
  bottom: clamp(24px, 5vw, 44px);
  z-index: 2;
  max-width: 720px;
}

.mv-label {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mv-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.mv-copy span {
  display: block;
  max-width: 560px;
  margin-top: 14px;
  color: rgba(247, 240, 231, 0.88);
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.8;
}

.mv-play {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  min-width: 74px;
  min-height: 42px;
  border: 1px solid rgba(217, 182, 111, 0.72);
  background: rgba(12, 11, 10, 0.7);
  color: var(--gold);
  cursor: pointer;
  font-weight: 700;
}

.video-mv-play {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  min-width: 74px;
  min-height: 42px;
  border: 1px solid rgba(217, 182, 111, 0.72);
  background: rgba(12, 11, 10, 0.7);
  color: var(--gold);
  cursor: pointer;
  font-weight: 700;
}

.mv-controls {
  padding: 16px 18px 18px;
}

.mv-progress {
  height: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.mv-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 180ms linear;
}

.mv-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.story-card,
.experience-panel,
.plan,
.options,
.faq details {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}

.story-card {
  padding: 28px;
}

.story-card ol {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.audio-card {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.audio-label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.audio-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.35;
}

.audio-card audio {
  width: 100%;
  accent-color: var(--gold);
}

.story-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.storyboard {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(110, 31, 43, 0.12));
}

.storyboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.pattern-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}

.pattern-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.pattern-link:hover,
.pattern-link:focus-visible {
  border-color: rgba(217, 182, 111, 0.62);
  transform: translateY(-2px);
}

.pattern-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.pattern-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pattern-card div {
  padding: 20px;
}

.pattern-label {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pattern-card h3 {
  margin-bottom: 10px;
}

.pattern-card p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
}

.storyboard-subtitle {
  margin: 8px 0 18px;
}

.storyboard figure {
  min-width: 220px;
  margin: 0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
}

.storyboard img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.storyboard figcaption {
  min-height: 92px;
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.storyboard figcaption strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  margin-bottom: 4px;
}

.three-columns,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-grid {
  grid-template-columns: repeat(4, 1fr);
}

.three-columns article {
  padding: 28px;
  border-top: 1px solid var(--line);
}

.three-columns span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.42fr);
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(110, 31, 43, 0.34), transparent),
    var(--panel);
}

.experience-panel {
  padding: 30px;
}

.experience-panel p {
  color: var(--gold);
}

.experience-panel ul {
  color: var(--muted);
  line-height: 2;
  padding-left: 20px;
}

.plan {
  min-height: 250px;
  padding: 28px;
  position: relative;
}

.plan.featured {
  background: linear-gradient(180deg, rgba(217, 182, 111, 0.16), rgba(255, 255, 255, 0.045));
}

.badge {
  display: inline-block;
  color: #17110c;
  background: var(--gold);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

.price {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 36px;
  margin-bottom: 18px;
}

.options {
  margin-top: 20px;
  padding: 24px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-list span {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 12px;
}

.plan-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.flow-list span {
  color: var(--muted);
}

.faq details {
  margin-top: 12px;
  padding: 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

.faq details p {
  margin: 14px 0 0;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 182, 111, 0.18), transparent 28rem),
    #0a0908;
}

.final-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.contact-note { max-width: 760px; margin: 18px auto 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.legal-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 18px; font-size:12px; }
.legal-links a { text-decoration:underline; text-underline-offset:4px; }

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .kamakura-feature,
  .section-heading,
  .demo-grid,
  .experience,
  .message-assist {
    grid-template-columns: 1fr;
  }

  .hero-film {
    min-height: 420px;
  }

  .three-columns,
  .plan-grid,
  .pattern-grid,
  .song-demo-grid {
    grid-template-columns: 1fr;
  }

  .song-demo-copy p:not(.song-demo-label) {
    min-height: 0;
  }

  .storyboard-grid {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .storyboard figure {
    min-width: 0;
  }

  .flow-list div {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
  .legal-links { justify-content:flex-start; }
}

@media (max-width: 560px) {
  h1 {
    font-size: 42px;
  }

  .hero {
    padding-top: 40px;
  }

  .kamakura-feature h1 {
    font-size: 44px;
  }

  .kamakura-feature-image {
    min-height: 280px;
  }

  .button {
    width: 100%;
  }

  .theme-song-notice { grid-template-columns:42px 1fr; padding:13px; }
  .theme-song-icon { width:42px; height:42px; }
  .theme-song-notice b { grid-column:1/-1; padding-left:56px; }

  .video-placeholder {
    min-height: 390px;
  }

  .mv-stage {
    min-height: 390px;
  }

  .mv-meta {
    flex-direction: column;
    gap: 4px;
  }
}
