/* speech-mirror-lp-a2 — Direction 2: 夜稽古 / Yogeiko Instrument */

:root {
  --bg: #0A1614;
  --ink: #EDE7DA;
  --accent: #E8A23D;
  --surface: #12201D;
  --bg-light: #EDE7DA;
  --ink-light: #0A1614;
  --line-dark: rgba(237, 231, 218, 0.14);
  --line-light: rgba(10, 22, 20, 0.14);
  --font-display: "Zen Kaku Gothic New", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-label: "Hanken Grotesk", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-radius: 0; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
  opacity: 0.72;
  display: inline-block;
  margin-bottom: 18px;
}

.eyebrow--label {
  font-family: var(--font-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.num {
  font-family: var(--font-label);
  font-weight: 700;
}

a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

section { padding: 96px 0; border-bottom: 1px solid var(--line-dark); }
.section--light { background: var(--bg-light); color: var(--ink-light); border-bottom-color: var(--line-light); }
.section--light .eyebrow { color: var(--ink-light); }

/* -------------------- CTA button -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  background: var(--accent);
  color: var(--ink-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  min-height: 44px;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 20, 0.25);
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--light .btn:focus-visible { outline-color: var(--ink-light); }

/* -------------------- Header -------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 22, 20, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-dark);
  padding: 16px 0;
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; }
.masthead .brand { font-family: var(--font-label); font-weight: 700; letter-spacing: 0.14em; font-size: 15px; }
.masthead .btn { padding: 10px 20px; font-size: 14px; }

/* -------------------- Hero (full-bleed kv background, asymmetric text overlay) -------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 32%, rgba(10,22,20,0.55) 56%, rgba(10,22,20,0.05) 78%);
}
.hero .hex-rings {
  position: absolute;
  z-index: 2;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(58vw, 620px);
  height: auto;
  pointer-events: none;
}
.hex-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: 0;
  transform-origin: 200px 200px;
  animation: hexGlow 0.9s ease-out forwards;
}
.hex-ring--1 { animation-delay: 0.05s; }
.hex-ring--2 { animation-delay: 0.22s; }
.hex-ring--3 { animation-delay: 0.39s; }
.hex-ring--4 { animation-delay: 0.56s; }
.hex-ring--5 { animation-delay: 0.73s; }
.hex-ring--6 { animation-delay: 0.90s; }
@keyframes hexGlow {
  from { opacity: 0; stroke-width: 0.4; }
  to   { opacity: 0.9; stroke-width: 2.2; }
}
@media (prefers-reduced-motion: reduce) {
  .hex-ring { animation: none; opacity: 0.9; stroke-width: 2.2; }
}

.hero-inner { position: relative; z-index: 4; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.hero .lede { font-size: 17px; max-width: 46ch; opacity: 0.92; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { font-family: var(--font-body); font-size: 13px; opacity: 0.66; }

/* -------------------- Problem / Scene (dark prose) -------------------- */
.prose-block { max-width: 68ch; }
.prose-block h2 { font-size: clamp(24px, 3vw, 34px); }
.quote-lines { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 26px; }
.quote-lines span { display: block; }

.scene-figure { margin-top: 44px; border: 1px solid var(--line-dark); }
.scene-figure img { width: 100%; }
.scene-figure figcaption { font-family: var(--font-body); font-size: 12px; opacity: 0.65; padding: 10px 2px 0; }

/* app-proof: real screenshot at a legible, honest size (not a hero motif) */
.app-proof-figure {
  margin-top: 36px;
  width: min(100%, 480px);
  border: 1px solid var(--line-dark);
  background: var(--surface);
}
.app-proof-figure img { width: 100%; display: block; }
.app-proof-figure figcaption { font-family: var(--font-body); font-size: 12px; opacity: 0.65; padding: 10px 12px; border-top: 1px solid var(--line-dark); }

/* mug photo: reduced height, text overlay so it carries the scene line, not bare decoration */
.mug-figure {
  position: relative;
  margin-top: 44px;
  max-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.mug-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.mug-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: linear-gradient(0deg, rgba(10,22,20,0.78) 0%, rgba(10,22,20,0.35) 60%, transparent 100%);
}

/* -------------------- Six-axis showcase (light band #1) -------------------- */
.axis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  margin-top: 40px;
}
.axis-card {
  background: var(--bg-light);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.axis-card .axis-name { font-family: var(--font-display); font-weight: 900; font-size: 19px; }
.axis-card p { margin: 0; font-size: 14.5px; opacity: 0.86; }
.axis-card.is-unique { background: var(--ink-light); color: var(--bg-light); }
.axis-card.is-secondary { background: var(--bg-light); border-top: 3px solid var(--ink-light); }

/* -------------------- Byok / Price (dark) -------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.byok-figure { border: 1px solid var(--line-dark); }
.byok-figure img { width: 100%; }
.byok-figure figcaption { font-family: var(--font-body); font-size: 12px; opacity: 0.65; padding: 10px 2px 0; }

.price-card {
  border: 1px solid var(--line-dark);
  padding: 40px;
  margin-top: 40px;
  max-width: 560px;
}
.price-card .price-row { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.price-card .price-old { font-family: var(--font-label); font-size: 20px; text-decoration: line-through; opacity: 0.55; }
.price-card .price-new { font-family: var(--font-label); font-weight: 800; font-size: 40px; color: var(--ink); }
.price-card .anchor-note { font-size: 14px; opacity: 0.82; border-top: 1px solid var(--line-dark); padding-top: 16px; margin-top: 16px; }

/* -------------------- 誠実フィルタ (dark, grouped card grid) -------------------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-top: 36px;
}
.fit-col { background: var(--bg); padding: 30px; }
.fit-col h3 { font-family: var(--font-display); font-size: 17px; margin-bottom: 18px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fit-col li { position: relative; padding-left: 26px; font-size: 14.5px; }
.fit-col--yes li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 5px;
  width: 11px;
  height: 11px;
  background: var(--ink);
  opacity: 0.8;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.fit-col--no li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.6;
}

/* -------------------- FAQ (dark accordion) -------------------- */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); padding: 20px 0; }
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-label); color: var(--ink); opacity: 0.7; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .a { margin-top: 14px; font-size: 14.5px; opacity: 0.88; max-width: 60ch; }

/* -------------------- Monitor + Final CTA (light band #2) -------------------- */
.final-band .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.final-band .morning-figure { border: 1px solid var(--line-light); }
.final-band .morning-figure img { width: 100%; }
.final-band h2 { font-size: clamp(24px, 3.2vw, 36px); }
.final-band .monitor-note {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-block;
  border: 1px solid var(--ink-light);
  padding: 8px 16px;
  margin-bottom: 22px;
  font-size: 13px;
}
.final-band .btn { background: var(--accent); color: var(--ink-light); }
.final-band .price-inline { font-family: var(--font-body); font-size: 14px; margin-top: 18px; opacity: 0.78; }

/* -------------------- Footer -------------------- */
footer { padding: 48px 0 120px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 12.5px; opacity: 0.6; }
footer a { text-decoration: underline; }

/* -------------------- Sticky mobile CTA -------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line-dark);
}
.sticky-cta .btn { flex: 1; padding: 14px 18px; font-size: 14px; }
.sticky-cta .dismiss {
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  width: 44px;
  height: 44px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border-radius: 0;
}
.sticky-cta .dismiss:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* -------------------- Responsive (mobile 1-column, per axis5 §6) -------------------- */
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero { min-height: 0; padding: 88px 0 56px; }
  .hero-scrim { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 46%, rgba(10,22,20,0.72) 68%, rgba(10,22,20,0.35) 100%); }
  .hero-bg { object-position: 50% 30%; }
  .hero .hex-rings { width: min(78vw, 320px); right: 50%; top: 76%; transform: translate(50%, -50%); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .axis-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .final-band .wrap { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
