/* ============================================================
   PIKA☆UNIA Landing Page — Phase 2 / 解放のドラム 90分体験会 2026 Q3
   Design system inheritance: ../design/tokens.css (Layer 1)
   Layer 3 (Section)で必要な class のみここに記述
   ============================================================ */

@import url('./tokens.css');

/* ----------------- Reset & Base ----------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--color-base);
  color: var(--color-ink);
  line-height: 1.85;
  font-feature-settings: "palt";
  padding-bottom: 76px; /* fixed CTA space */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
strong { font-weight: 600; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(26px, 5.2vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 32px;
  text-align: center;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--color-base);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.20) 0%, rgba(26,26,26,0.55) 55%, rgba(26,26,26,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 48px 24px 72px;
  text-align: center;
}
.hero-sub-top {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  opacity: 0.88;
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 7.8vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1.42;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
.hero-sub {
  font-size: clamp(14px, 3.3vw, 18px);
  line-height: 1.95;
  margin-bottom: 32px;
  opacity: 0.95;
  font-feature-settings: "palt";
}
.hero-anchor-stripe {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  background: var(--color-accent-deep);
  color: var(--color-base);
  padding: 12px 18px;
  margin-top: 18px;
  border-radius: var(--radius-small);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.hero-anchor-stripe span {
  position: relative;
  white-space: nowrap;
}
.hero-anchor-stripe span:not(:last-child)::after {
  content: "・";
  position: absolute;
  right: -12px;
  opacity: 0.5;
}
.hero-meta-fine {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.55;
  text-align: center;
}
@media (max-width: 480px) {
  .hero-anchor-stripe { font-size: 11px; gap: 10px; padding: 10px 14px; }
  .hero-anchor-stripe span:not(:last-child)::after { right: -8px; }
}

/* Hero Stamp */
.hero-stamp {
  position: absolute;
  top: 28px;
  right: 24px;
  z-index: 2;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--color-accent-deep);
  color: var(--color-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif);
  font-feature-settings: "palt";
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 4px rgba(247,244,238,0.18) inset;
  animation: stamp-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
.hero-stamp .stamp-line {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.92;
}
.hero-stamp .stamp-top {
  margin-bottom: 1px;
  border-bottom: 1px solid rgba(247,244,238,0.45);
  padding-bottom: 4px;
  width: 56px;
}
.hero-stamp .stamp-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 2px 0 1px;
}
.hero-stamp .stamp-bot {
  font-size: 11px;
  letter-spacing: 0.18em;
  border-top: 1px solid rgba(247,244,238,0.45);
  padding-top: 4px;
  width: 70px;
  margin-top: 2px;
}
@keyframes stamp-pulse {
  0%, 100% {
    transform: rotate(-8deg) scale(1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 4px rgba(247,244,238,0.18) inset, 0 0 0 0 rgba(139,26,26,0.55);
  }
  50% {
    transform: rotate(-8deg) scale(1.04);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 0 4px rgba(247,244,238,0.18) inset, 0 0 0 14px rgba(139,26,26,0);
  }
}
@media (max-width: 480px) {
  .hero-stamp { width: 96px; height: 96px; top: 18px; right: 16px; }
  .hero-stamp .stamp-num { font-size: 42px; }
  .hero-stamp .stamp-line { font-size: 9px; }
  .hero-stamp .stamp-top { width: 44px; }
  .hero-stamp .stamp-bot { width: 56px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .hero-stamp { animation: none; } }

/* Diagonal section divider */
.diag-divider {
  position: relative;
  height: 22px;
  background: var(--color-accent-deep);
  margin: 0;
  overflow: hidden;
}
.diag-divider::before,
.diag-divider::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--color-base);
}
.diag-divider::before { left: -1px;  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
.diag-divider::after  { right: -1px; clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%); }
.diag-divider.gold { background: var(--color-accent-gold); }
.diag-divider.on-ink { background: var(--color-accent-gold); }
.diag-divider.on-ink::before,
.diag-divider.on-ink::after { background: var(--color-ink); }

/* ============ CTA ============ */
.cta-primary {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  background: var(--color-line-green);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  min-height: 52px;
  box-shadow: var(--shadow-cta-rest);
  transition: all 0.2s var(--ease);
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}
.cta-primary:active { transform: translateY(0); }
.cta-big {
  font-size: 18px;
  padding: 22px 44px;
  min-height: 64px;
}
.cta-secondary {
  display: inline-flex;
  align-items: center; justify-content: center;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-pill);
  min-height: 48px;
  transition: all 0.2s var(--ease);
}
.cta-secondary:hover { background: var(--color-ink); color: var(--color-base); }

.line-logo {
  background: rgba(255,255,255,0.25);
  padding: 3px 8px;
  border-radius: var(--radius-small);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 800;
}

/* ============ PROBLEM ============ */
.problem {
  padding: var(--section-py-desktop) 0;
  background: var(--color-base);
}
@media (max-width: 768px) { .problem { padding: var(--section-py-mobile) 0; } }
.pain-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 40px;
}
.pain-list li {
  font-family: var(--font-serif);
  font-size: clamp(15px, 3.5vw, 19px);
  padding: 20px 0 20px 28px;
  border-bottom: 1px solid var(--color-divider);
  line-height: 1.9;
  position: relative;
}
.pain-list li::before {
  content: "◆";
  position: absolute; left: 0; top: 22px;
  color: var(--color-accent-deep);
  font-size: 14px;
}
.pain-close {
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(16px, 3.8vw, 20px);
  line-height: 2;
  color: var(--color-ink-soft);
  margin-top: 48px;
  padding: 32px 16px;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  font-style: italic;
}

/* ============ MANIFESTO（核命題） ============ */
.manifesto {
  position: relative;
  padding: calc(var(--section-py-desktop) * 1.3) 0;
  background: var(--color-ink);
  color: var(--color-base);
  overflow: hidden;
}
@media (max-width: 768px) { .manifesto { padding: calc(var(--section-py-mobile) * 1.3) 0; } }
.manifesto-media {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0.18;
}
.manifesto-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(2px) grayscale(20%);
}
.manifesto-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.85) 80%);
}
.manifesto-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.manifesto-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 6.8vw, 56px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 56px;
  color: var(--color-base);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.manifesto-body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 3vw, 21px);
  line-height: 2.1;
  color: rgba(247,244,238,0.94);
  max-width: 640px;
  margin: 0 auto;
}
.manifesto-body p { margin-bottom: 28px; }
.manifesto-action {
  font-weight: 600;
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: 0.04em;
  margin: 40px 0 !important;
  color: var(--color-accent-deep);
}
.manifesto-final {
  font-weight: 700;
  font-size: clamp(24px, 4.5vw, 36px);
  color: var(--color-accent-gold);
  margin-top: 40px !important;
  letter-spacing: 0.04em;
}

/* ============ SOLUTION（5ステップ） ============ */
.solution {
  padding: var(--section-py-desktop) 0;
  background: var(--color-surface);
}
@media (max-width: 768px) { .solution { padding: var(--section-py-mobile) 0; } }
.solution-lead {
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(15px, 3.5vw, 18px);
  line-height: 2;
  max-width: 640px;
  margin: 0 auto 64px;
  color: var(--color-ink-soft);
}
.step-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 40px 24px 40px 80px;
  background: var(--color-base);
  border-top: 2px solid var(--color-accent-gold);
  border-radius: var(--radius-small);
  margin-bottom: 24px;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.step::before {
  content: attr(data-num);
  position: absolute;
  top: -20px;
  right: -16px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 168px;
  line-height: 1;
  color: var(--color-accent-deep);
  opacity: 0.07;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}
.step:hover {
  transform: translateY(-2px);
}
.step:hover::before { opacity: 0.13; }
.step-num {
  position: absolute;
  top: 32px;
  left: 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--color-accent-deep);
  letter-spacing: -0.02em;
}
.step-verb {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  background: var(--color-accent-deep);
  color: var(--color-base);
  border-radius: var(--radius-subtle);
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(19px, 3.2vw, 26px);
  line-height: 1.55;
  margin-bottom: 12px;
  color: var(--color-ink);
}
.step-desc {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(14px, 1.9vw, 16px);
  line-height: 1.95;
  color: var(--color-ink-soft);
}

/* Step 3 (drum) — with image */
.step-drum .step-media {
  margin-top: 24px;
  border-radius: var(--radius-small);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.step-drum .step-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Step 4 (scream) — special emphasis */
.step-scream {
  background: linear-gradient(180deg, var(--color-base) 0%, #efebe2 100%);
  border-top-color: var(--color-accent-deep);
}
.step-scream .step-num { color: var(--color-accent-deep); }
.step-scream .step-verb {
  background: var(--color-ink);
}

@media (max-width: 600px) {
  .step { padding: 32px 20px 32px 24px; }
  .step-num { position: static; display: block; margin-bottom: 12px; font-size: 36px; }
  .step::before { font-size: 120px; top: -10px; right: -8px; }
}

/* ============ MECHANISM ============ */
.mechanism {
  padding: var(--section-py-desktop) 0;
  background: var(--color-ink);
  color: var(--color-base);
}
@media (max-width: 768px) { .mechanism { padding: var(--section-py-mobile) 0; } }
.mechanism .mechanism-heading { color: var(--color-base); }
.mechanism-body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(16px, 2.8vw, 20px);
  line-height: 2.15;
  max-width: 640px;
  margin: 48px auto 0;
  text-align: center;
  color: rgba(247,244,238,0.92);
}
.mechanism-body p { margin-bottom: 28px; }
.mechanism-body strong {
  color: var(--color-accent-gold);
  font-weight: 700;
}
.mechanism-key {
  font-weight: 700;
  font-size: clamp(22px, 4.2vw, 32px);
  line-height: 1.7;
  color: var(--color-accent-deep);
  letter-spacing: 0.03em;
  margin: 40px 0 !important;
}
.mechanism-conclusion {
  margin-top: 48px !important;
  font-size: clamp(17px, 3vw, 22px);
}
.mechanism-conclusion-key {
  color: var(--color-accent-gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--color-accent-gold);
  padding-bottom: 2px;
}
.mechanism-tagline {
  margin-top: 56px !important;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(19px, 3.5vw, 26px);
  color: var(--color-accent-gold);
  letter-spacing: 0.03em;
  line-height: 1.8;
}

/* ============ ORIGIN ============ */
.origin {
  padding: var(--section-py-desktop) 0;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-base) 100%);
}
@media (max-width: 768px) { .origin { padding: var(--section-py-mobile) 0; } }
.origin-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .origin-wrap { grid-template-columns: 5fr 6fr; gap: 64px; }
}
.origin-media {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-small);
  overflow: hidden;
}
.origin-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.origin-label {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent-deep);
  margin-bottom: 16px;
}
.origin-text .section-heading { text-align: left; margin-bottom: 24px; }
.origin-text p {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 2.05;
  margin-bottom: 20px;
  color: var(--color-ink-soft);
}
.origin-text strong { color: var(--color-ink); font-weight: 700; }
.origin-quote {
  font-family: var(--font-serif) !important;
  font-size: clamp(20px, 4vw, 28px) !important;
  font-weight: 600 !important;
  color: var(--color-ink) !important;
  padding: 22px 26px !important;
  border-left: 3px solid var(--color-accent-deep);
  margin: 24px 0 !important;
  line-height: 1.7 !important;
  background: rgba(139,26,26,0.05);
}

/* ============ PROOF ============ */
.proof {
  padding: var(--section-py-desktop) 0;
  background: var(--color-ink);
  color: var(--color-base);
}
@media (max-width: 768px) { .proof { padding: var(--section-py-mobile) 0; } }
.proof .section-heading { color: var(--color-base); }
.proof-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 48px auto 32px;
}
@media (min-width: 640px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
}
.proof-grid li {
  text-align: center;
  padding: 24px 12px;
  border-top: 1px solid rgba(247,244,238,0.15);
}
.proof-num {
  font-family: var(--font-serif);
  font-size: clamp(56px, 12vw, 100px);
  font-weight: 700;
  display: block;
  color: var(--color-accent-gold);
  margin-bottom: 8px;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.proof-num small {
  font-size: 0.36em;
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.proof-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.78;
}
.proof-close {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.95;
  color: rgba(247,244,238,0.7);
  max-width: 560px;
  margin: 24px auto 0;
}

/* ============ VOICE (体験会参加者の声 — スライダー) ============ */
.voice {
  position: relative;
  padding: var(--section-py-desktop) 0;
  background: var(--color-surface);
  overflow: hidden;
}
@media (max-width: 768px) { .voice { padding: var(--section-py-mobile) 0; } }
.voice .section-heading { text-align: center; }
.voice-lead {
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.9;
  color: var(--color-ink-soft);
  margin: 0 auto 40px;
  max-width: 600px;
}

.voice-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 8px 4px 16px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.voice-track::-webkit-scrollbar { display: none; }

.voice-card {
  scroll-snap-align: center;
  flex: 0 0 86%;
  max-width: 86%;
  box-sizing: border-box;
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: var(--color-base);
  display: flex;
  flex-direction: column;
}
@media (min-width: 700px) {
  .voice-card { flex-basis: 360px; max-width: 360px; }
}
.voice-card[data-placeholder="true"] { border-style: dashed; opacity: 0.72; }
.voice-quote-mark {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 0.6;
  color: var(--color-accent-gold);
  margin-bottom: 10px;
}
.voice-quote {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.95;
  color: var(--color-ink);
  margin: 0 0 20px;
  flex: 1 1 auto;
}
.voice-attribution {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}
.voice-attribution::before { content: "── "; }

.voice-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.voice-arrow:hover { background: var(--color-ink); color: var(--color-base); }
.voice-arrow:disabled { opacity: 0.28; cursor: default; }
@media (max-width: 699px) { .voice-arrow { display: none; } }

.voice-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.voice-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.voice-dot.is-active { background: var(--color-accent-deep); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .voice-track { scroll-behavior: auto; }
  .voice-dot { transition: none; }
}

/* ============ DATES ============ */
.dates {
  padding: var(--section-py-desktop) 0;
  background: var(--color-base);
  text-align: center;
}
@media (max-width: 768px) { .dates { padding: var(--section-py-mobile) 0; } }
.dates-lead {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 2;
  margin-bottom: 40px;
  color: var(--color-ink-soft);
}
.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 32px;
}
.city-card {
  background: var(--color-surface);
  padding: 32px 20px;
  border-radius: var(--radius-small);
  border-top: 4px solid var(--color-accent-deep);
}
.city-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
}
.city-detail {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.8vw, 15px);
  line-height: 1.85;
  color: var(--color-muted);
}
.dates-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ============ FINAL CTA ============ */
.cta-section {
  padding: var(--section-py-desktop) 24px;
  background: var(--color-ink);
  background-image:
    radial-gradient(ellipse at top left, rgba(139,26,26,0.18), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(184,134,11,0.10), transparent 60%);
  color: var(--color-base);
  text-align: center;
}
@media (max-width: 768px) { .cta-section { padding: var(--section-py-mobile) 24px; } }
.cta-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(28px, 5.8vw, 48px);
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-base);
}
.cta-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.value-stack {
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 32px 28px;
  border: 1px solid rgba(184,134,11,0.32);
  border-radius: var(--radius-small);
  background: rgba(247,244,238,0.04);
  text-align: left;
}
.stack-label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--color-accent-gold);
  text-align: center;
  margin-bottom: 24px;
}
.stack-list {
  list-style: none;
  margin-bottom: 28px;
}
.stack-list li {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.95vw, 17px);
  line-height: 1.95;
  padding: 10px 0 10px 28px;
  position: relative;
  color: rgba(247,244,238,0.94);
}
.stack-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 10px;
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 16px;
}
.stack-tagline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.6;
  text-align: center;
  color: var(--color-accent-gold);
  margin-top: 16px;
  letter-spacing: 0.03em;
  border-top: 1px solid rgba(184,134,11,0.32);
  padding-top: 24px;
}

.cta-note {
  font-family: var(--font-sans);
  font-size: 11px;
  margin-top: 20px;
  opacity: 0.65;
  line-height: 1.85;
}
.form-fallback {
  margin-top: 48px;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.form-fallback summary {
  cursor: pointer;
  text-align: center;
  padding: 14px;
  font-size: 13px;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fallback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  padding: 24px;
  background: rgba(247,244,238,0.08);
  border-radius: var(--radius-small);
}
.fallback-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.fallback-form input {
  padding: 14px;
  background: var(--color-base);
  color: var(--color-ink);
  border: none;
  border-radius: var(--radius-small);
  font: inherit;
  font-size: 15px;
  min-height: 48px;
}
.fallback-form .cta-secondary {
  color: var(--color-base);
  border-color: var(--color-base);
  margin-top: 8px;
}
.fallback-form .cta-secondary:hover {
  background: var(--color-base);
  color: var(--color-ink);
}

/* ============ FAQ ============ */
.faq {
  padding: var(--section-py-desktop) 0;
  background: var(--color-base);
}
@media (max-width: 768px) { .faq { padding: var(--section-py-mobile) 0; } }
.faq details {
  border-bottom: 1px solid var(--color-divider);
  padding: 20px 0;
  max-width: 720px;
  margin: 0 auto;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.95vw, 17px);
  font-weight: 500;
  padding: 8px 40px 8px 0;
  position: relative;
  list-style: none;
  line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-accent-deep);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 14px 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.7vw, 15px);
  line-height: 1.95;
  color: var(--color-ink-soft);
}

/* ============ FOOTER ============ */
.footer {
  padding: 64px 24px 48px;
  background: var(--color-ink);
  color: var(--color-base);
  text-align: center;
}
.brand-mark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--color-accent-gold);
}
.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  opacity: 0.78;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.footer-links {
  margin-bottom: 20px;
  font-size: 12px;
}
.footer-links a {
  color: rgba(247,244,238,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.55;
}

/* ============ FIXED CTA ============ */
.cta-fixed {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  z-index: 100;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
  box-shadow: var(--shadow-fixed-cta);
}
.cta-fixed.visible { transform: translateY(0); }
.cta-fixed .cta-primary {
  width: 100%;
  max-width: 420px;
  padding: 14px 20px;
  font-size: 14px;
  min-height: 48px;
  position: relative;
  animation: cta-pulse 2.4s ease-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,199,85,0.55); }
  50%      { box-shadow: 0 0 0 12px rgba(6,199,85,0); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-fixed .cta-primary { animation: none; }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Focus visible */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 3px;
}

/* ============ Entrance animations (scroll-triggered, optional) ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   VISUAL DEPTH LAYER
   実装密度プロトコル準拠（implementation-density.md）
   各セクションに「感情の増幅器」としてのレイヤーを追加
   ════════════════════════════════════════════════════════════ */

/* ---------- Film Grain（ページ全体の微細な質感）---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Section Eyebrow（共通ラベル）---------- */
.section-eyebrow,
.manifesto-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  text-align: center;
  margin-bottom: 18px;
  opacity: 0.85;
}
.section-eyebrow.on-ink,
.manifesto-eyebrow {
  color: var(--color-accent-gold);
  opacity: 0.92;
}
.section-eyebrow::before,
.section-eyebrow::after,
.manifesto-eyebrow::before,
.manifesto-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.5;
}

/* ---------- Hero: Staggered fade-up（入場アニメーション）---------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: heroEnter 0.9s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1; transform: none; }
}

/* ---------- Hero: Ambient Particles Layer ---------- */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 12% 22%, rgba(184,134,11,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 18%, rgba(247,244,238,0.45), transparent 60%),
    radial-gradient(2.5px 2.5px at 88% 65%, rgba(184,134,11,0.4), transparent 60%),
    radial-gradient(1px 1px at 32% 78%, rgba(247,244,238,0.55), transparent 60%),
    radial-gradient(2px 2px at 64% 42%, rgba(247,244,238,0.35), transparent 60%),
    radial-gradient(1.8px 1.8px at 18% 58%, rgba(184,134,11,0.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 32%, rgba(247,244,238,0.4), transparent 60%),
    radial-gradient(2px 2px at 48% 12%, rgba(184,134,11,0.35), transparent 60%);
  animation: ambientDrift 18s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-6px, 8px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ambient { animation: none; }
}

/* ---------- Hero: Scroll Hint（CTA直下のヒント）---------- */
.hero-scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 36px;
  z-index: 2;
  pointer-events: none;
}
.hero-scroll-hint::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(247,244,238,0.45);
  border-radius: 12px;
}
.hero-scroll-hint span {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 6px;
  background: rgba(247,244,238,0.85);
  border-radius: 1px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translate(-50%, 0); opacity: 0.9; }
  60% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint span { animation: none; }
}
@media (max-width: 480px) {
  .hero-scroll-hint { bottom: 12px; width: 20px; height: 30px; }
}

/* ---------- Section Overlay Pattern（PROBLEM / SOLUTION の質感）---------- */
.problem,
.solution {
  position: relative;
  overflow: hidden;
}
.section-overlay-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, var(--color-ink) 0 1px, transparent 1px 14px);
}
.section-overlay-pattern.light {
  opacity: 0.025;
}
.problem .container,
.solution .container {
  position: relative;
  z-index: 1;
}

/* ---------- Manifesto: Sound Waves（核命題の動的レイヤー）---------- */
.manifesto-waves {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  color: var(--color-accent-gold);
  opacity: 0.35;
}
.manifesto-waves svg {
  width: 100%; height: 100%;
  display: block;
}
.wave-path {
  stroke-dasharray: 4 8;
  animation: waveFlow 14s linear infinite;
}
.wave-2 {
  color: var(--color-accent-deep);
  opacity: 0.7;
  animation-duration: 18s;
  animation-direction: reverse;
}
.wave-3 {
  opacity: 0.5;
  animation-duration: 22s;
}
@keyframes waveFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}
@media (prefers-reduced-motion: reduce) {
  .wave-path { animation: none; }
}

.manifesto-content {
  position: relative;
  z-index: 2;
}
.manifesto-final {
  text-shadow: 0 0 40px rgba(184,134,11,0.45), 0 2px 16px rgba(0,0,0,0.5);
}
.manifesto-action {
  text-shadow: 0 0 30px rgba(139,26,26,0.4);
}

/* ---------- 5-Step: Connecting Vertical Line ---------- */
.step-list {
  position: relative;
}
.step-list::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 60px;
  bottom: 60px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--color-accent-gold) 8%,
    var(--color-accent-deep) 50%,
    var(--color-accent-deep) 75%,
    var(--color-accent-gold) 92%,
    transparent 100%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .step-list::before { display: none; }
}
.step {
  position: relative;
  z-index: 1;
}
.step-num {
  z-index: 2;
  background: var(--color-base);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent-gold);
  box-shadow: 0 4px 12px rgba(184,134,11,0.18);
  top: 24px !important;
  left: 16px !important;
}
.step-scream .step-num {
  border-color: var(--color-accent-deep);
  box-shadow: 0 4px 14px rgba(139,26,26,0.28), 0 0 0 4px rgba(139,26,26,0.08);
}
@media (max-width: 600px) {
  .step-num {
    position: static !important;
    margin-bottom: 14px;
    width: 48px; height: 48px;
  }
}

/* ---------- Step 4 (Scream) — Special Emphasis Glow ---------- */
.step-scream {
  background: linear-gradient(135deg, var(--color-base) 0%, #efe6dc 60%, #e8dcc8 100%) !important;
  border-top: 2px solid var(--color-accent-deep) !important;
  box-shadow: 0 8px 32px rgba(139,26,26,0.12);
  position: relative;
}
.step-scream::after {
  content: "";
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent-deep), var(--color-accent-gold), var(--color-accent-deep), transparent);
  animation: scrimShimmer 4s ease-in-out infinite;
}
@keyframes scrimShimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .step-scream::after { animation: none; opacity: 0.6; }
}
.step-scream .step-title {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Mechanism: Orbs（深淵の発光体）---------- */
.mechanism {
  position: relative;
  overflow: hidden;
}
.mechanism-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.mechanism-orb-1 {
  top: -10%; left: -15%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(139,26,26,0.4) 0%, transparent 70%);
}
.mechanism-orb-2 {
  bottom: -20%; right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(184,134,11,0.32) 0%, transparent 70%);
  animation-duration: 26s;
  animation-direction: alternate-reverse;
}
@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, -30px, 0) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .mechanism-orb { animation: none; }
}
.mechanism .container {
  position: relative;
  z-index: 1;
}
.mechanism-key {
  text-shadow:
    0 0 28px rgba(139,26,26,0.5),
    0 2px 14px rgba(0,0,0,0.5);
}
.mechanism-tagline {
  text-shadow: 0 0 24px rgba(184,134,11,0.35);
}

/* ---------- Origin: Media Frame + Tag ---------- */
.origin-media {
  position: relative;
  box-shadow: 0 20px 48px rgba(26,26,26,0.18), 0 4px 12px rgba(26,26,26,0.08);
}
.origin-media::after {
  /* Film grain on origin photo */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-small);
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}
.origin-media-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.3em;
  padding: 6px 12px;
  background: rgba(26,26,26,0.78);
  color: var(--color-accent-gold);
  border-radius: var(--radius-subtle);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Proof: Aurora Background ---------- */
.proof {
  position: relative;
  overflow: hidden;
}
.proof-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 200px at 20% 30%, rgba(184,134,11,0.15), transparent 60%),
    radial-gradient(ellipse 500px 180px at 80% 70%, rgba(139,26,26,0.18), transparent 60%);
  animation: auroraShift 24s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(30px, -20px, 0); }
}
.proof .container {
  position: relative;
  z-index: 1;
}
.proof-num {
  text-shadow: 0 0 32px rgba(184,134,11,0.3);
}

/* ---------- City Card: Tag Badge ---------- */
.city-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.city-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,26,26,0.10);
}
.city-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--color-accent-deep);
  margin-bottom: 6px;
}

/* ---------- Final CTA: Radial Glow + Spotlight ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(184,134,11,0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139,26,26,0.22), transparent 70%);
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.value-stack {
  position: relative;
  box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}
.value-stack::before {
  /* gold inner glow */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-small);
  background: linear-gradient(135deg,
    rgba(184,134,11,0.6) 0%,
    rgba(184,134,11,0.1) 30%,
    transparent 50%,
    rgba(139,26,26,0.3) 100%);
  z-index: -1;
  filter: blur(1px);
}
.stack-tagline {
  text-shadow: 0 0 28px rgba(184,134,11,0.4);
}

/* ---------- FAQ Eyebrow & 微細仕上げ ---------- */
.faq summary { transition: color 0.2s var(--ease); }
.faq summary:hover { color: var(--color-accent-deep); }

/* ---------- Footer: brand-mark micro-glow ---------- */
.brand-mark {
  text-shadow: 0 0 24px rgba(184,134,11,0.3);
}

/* ---------- Hero headline: subtle gold accent on punctuation ---------- */
.hero-headline {
  font-feature-settings: "palt";
}

/* ---------- Section heading: micro decorations ---------- */
.section-heading {
  position: relative;
  display: block;
}
.section-heading::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-accent-deep);
  margin: 18px auto 0;
  opacity: 0.5;
}
.proof .section-heading::after,
.mechanism .section-heading::after {
  background: var(--color-accent-gold);
}
.origin-text .section-heading::after {
  margin: 18px 0 0;
}
.cta-headline {
  position: relative;
}
.cta-headline::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent-gold);
  margin: 18px auto 0;
  opacity: 0.7;
}

/* ---------- Subtle hover lift on photo slots ---------- */
.step-drum .step-media,
.origin-media {
  transition: transform 0.5s var(--ease);
}
.step-drum:hover .step-media,
.origin-media:hover {
  transform: scale(1.015);
}

/* ---------- Print fallback ---------- */
@media print {
  .cta-fixed,
  .hero-ambient,
  .manifesto-waves,
  .mechanism-orb,
  .proof-aurora,
  .cta-glow,
  .section-overlay-pattern,
  .hero-scroll-hint {
    display: none !important;
  }
}
