/* =========================================================
   Antigravityの教科書 LP v2 — 夜明けの離陸
   明るい紙、夜明けオレンジ、開けた空。大胆さは漫画と航跡に絞る。
   ========================================================= */

@font-face {
  font-family: 'Zen Kaku Gothic New';
  src: url('assets/fonts/zen-kaku-gothic-new-700-subset.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Kaku Gothic New';
  src: url('assets/fonts/zen-kaku-gothic-new-900-subset.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-500-700-subset.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-500-700-subset.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FBF8F3;
  --paper-raised: #FFFDFC;
  --card: #FFFFFF;
  --ink: #1F2933;
  --muted: #52606D;
  --dawn: #F97316;
  --dawn-soft: #FFF1E5;
  --cta: #C2410C;
  --cta-hover: #9A3412;
  --sky: #1D4ED8;
  --sky-soft: #EAF1FF;
  --before-dawn: #17233C;
  --line: #E9E0D2;
  --line-strong: #D5C8B6;
  --demo-bg: #14161F;
  --demo-panel: #1D2029;
  --demo-line: #2C3040;
  --demo-ink: #E8EAF2;
  --font-display: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-soft: 0 1px 2px rgba(31, 41, 51, .06), 0 12px 28px rgba(31, 41, 51, .07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open { overflow: hidden; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

main,
section { min-width: 0; }

img { display: block; max-width: 100%; height: auto; }

a {
  color: var(--sky);
  text-underline-offset: .18em;
}

button,
input { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  min-height: 44px;
  padding: .45rem 1rem;
  transform: translateY(calc(-100% - 20px));
  border: 2px solid var(--sky);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease;
}

.skip-link:focus,
.skip-link:focus-visible { transform: none; }

#benefits,
#signup {
  scroll-margin-top: 76px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
}

.container.narrow { max-width: 688px; }
.pc-only { display: inline; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.btn-primary {
  min-height: 52px;
  padding: .95rem 2.25rem;
  background: var(--cta);
  color: #FFFFFF;
  font-size: 1.125rem;
  box-shadow: 0 6px 16px rgba(154, 52, 18, .24);
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(154, 52, 18, .3);
}

.btn-small {
  min-height: 44px;
  padding: .5rem 1rem;
  background: var(--cta);
  color: #FFFFFF;
  font-size: .875rem;
  white-space: nowrap;
}

.btn-small:hover { background: var(--cta-hover); }

.btn-block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 243, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  min-height: 64px;
  margin-inline: auto;
  padding: 10px 24px;
  gap: 16px;
}

.logo {
  flex: 0 1 auto;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.3;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(249, 115, 22, .13), transparent 60%),
    radial-gradient(800px 420px at -10% 20%, rgba(29, 78, 216, .07), transparent 60%),
    var(--paper);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 48px;
}

.hero-copy,
.hero-demo { min-width: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 1.35rem;
  padding: .32rem .85rem;
  border: 1px solid #F5CDAA;
  border-radius: 999px;
  background: var(--dawn-soft);
  color: var(--cta);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.6;
}

.hero-title {
  margin-bottom: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.6rem);
  font-weight: 900;
  letter-spacing: .005em;
  line-height: 1.32;
  text-wrap: balance;
}

.hero-sub {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-sub strong { color: var(--ink); }

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

.cta-block.center {
  align-items: center;
  margin-top: 2.5rem;
}

.micro {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
}

.micro.center { text-align: center; }
.micro a { color: var(--muted); }

/* ---------- Hero デモ ---------- */
.demo-window {
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: var(--radius-l);
  background: var(--demo-bg);
  box-shadow: 0 24px 54px rgba(23, 35, 60, .23);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--demo-line);
  background: var(--demo-panel);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.r { background: #FF5F57; }
.dot.y { background: #FEBC2E; }
.dot.g { background: #28C840; }

.demo-title {
  margin-left: 8px;
  color: #B6BED0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 20px;
  gap: 14px;
}

.demo-step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}

.demo-step.on { opacity: 1; transform: none; }

.bubble {
  max-width: 88%;
  padding: .8rem 1.05rem;
  border-radius: 14px;
  font-size: .9375rem;
  line-height: 1.7;
}

.bubble.user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: #2A3A5C;
  color: #EAF0FF;
}

.bubble.ai {
  align-self: flex-start;
  border: 1px solid var(--demo-line);
  border-bottom-left-radius: 4px;
  background: var(--demo-panel);
  color: var(--demo-ink);
}

.filechips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: .4rem .65rem;
  border: 1px solid var(--demo-line);
  border-radius: 8px;
  background: #232838;
  color: #D5DBEA;
  font-family: var(--font-mono);
  font-size: .75rem;
}

.chip em { margin-left: 6px; color: #8CDBA5; font-style: normal; }

.timer-card {
  align-self: center;
  width: min(280px, 100%);
  padding: 18px;
  border: 2px solid var(--dawn);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, #FFF8F0, #FFEEDD);
  text-align: center;
}

.timer-face {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.timer-btn {
  min-height: 44px;
  margin-top: 10px;
  padding: .55rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.timer-btn:disabled { opacity: .55; cursor: default; }

.timer-done {
  min-height: 1.6em;
  margin-top: 6px;
  color: var(--cta);
  font-size: 1rem;
  font-weight: 700;
}

.demo-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .875rem;
  text-align: center;
}

.replay {
  min-height: 36px;
  margin-left: 8px;
  border: 0;
  background: none;
  color: var(--sky);
  font-family: var(--font-body);
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- セクション共通 ---------- */
section {
  padding: 84px 0;
}

.section-title {
  margin-bottom: .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.section-title.left { text-align: left; }
.accent { color: var(--cta); }
.keep-together { white-space: nowrap; }

.section-lede {
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  text-align: center;
}

.section-kicker,
.section-label {
  margin-bottom: .55rem;
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.6;
  text-align: center;
}

.section-kicker {
  color: var(--sky);
}

.section-label {
  width: fit-content;
  margin-inline: auto;
  padding: .25rem .75rem;
  border-radius: 999px;
}

.paid-label {
  border: 1px solid #F5CDAA;
  background: var(--dawn-soft);
  color: var(--cta);
}

.free-label {
  border: 1px solid #BFD0F5;
  background: var(--sky-soft);
  color: var(--sky);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.on { opacity: 1; transform: none; }

/* ---------- 漫画：夜から夜明けへ ---------- */
.manga {
  position: relative;
  isolation: isolate;
  padding-top: 96px;
  overflow: clip;
  background: var(--before-dawn);
}

.manga::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: linear-gradient(
    180deg,
    var(--before-dawn) 0%,
    #223456 22%,
    #435D82 43%,
    #C8D7E6 68%,
    #F0E7DA 84%,
    var(--paper) 100%
  );
}

.manga .container.narrow { max-width: 808px; }
.manga .section-kicker { color: #FDBA74; }

.manga .section-title {
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(8, 15, 30, .35);
}

.manga .section-lede { color: #E3EAF5; }

.manga-pages {
  display: grid;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  gap: 28px;
}

.manga-page {
  width: 100%;
  border: 1px solid rgba(31, 41, 51, .16);
  border-radius: 3px;
  background: #FFFFFF;
  box-shadow: 0 18px 42px rgba(12, 24, 45, .18);
}

.manga-summary,
.manga-bridge {
  max-width: 760px;
  margin-inline: auto;
  color: var(--ink);
  text-align: center;
}

.manga-summary {
  margin-top: 32px;
  padding: .9rem 1rem;
  border-block: 1px solid var(--line-strong);
  background: rgba(255, 253, 252, .8);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.manga-bridge {
  margin-top: 18px;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--dawn);
  background: var(--paper-raised);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .06);
}

/* ---------- 7日間：紙飛行機の航跡 ---------- */
.days {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(233, 224, 210, .28) 1px, transparent 1px),
    linear-gradient(#FFFFFF, #FFFDF9);
  background-size: 32px 100%, auto;
}

.textbook-banner {
  max-width: 860px;
  margin: 0 auto 3.25rem;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.textbook-banner figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px 12px;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.textbook-banner figcaption span {
  flex: 0 0 auto;
  padding: .15rem .65rem;
  border: 1px solid #F5CDAA;
  border-radius: 999px;
  background: var(--dawn-soft);
  color: var(--cta);
  font-family: var(--font-mono);
  font-size: .875rem;
}

.textbook-banner img { width: 100%; border-radius: var(--radius-m); }

.textbook-direct-cta {
  display: grid;
  justify-items: center;
  margin-top: 12px;
  padding: 18px 14px 10px;
  border-top: 1px solid var(--line);
  gap: 8px;
  text-align: center;
}

.textbook-direct-cta p {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.6;
}

.btn-textbook {
  min-height: 50px;
  padding: .8rem 1.45rem;
  border: 2px solid var(--sky);
  background: var(--card);
  color: var(--sky);
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(29, 78, 216, .1);
}

.btn-textbook:hover {
  transform: translateY(-1px);
  background: var(--sky-soft);
  box-shadow: 0 9px 22px rgba(29, 78, 216, .16);
}

.textbook-direct-cta small {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

.flight-log {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 0 62px;
  list-style: none;
  transition: opacity .4s ease;
}

.flight-log::before {
  position: absolute;
  top: 0;
  bottom: 36px;
  left: 50%;
  width: 3px;
  content: '';
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    var(--dawn) 0 10px,
    transparent 10px 19px
  );
}

.flight-log::after {
  position: absolute;
  bottom: 10px;
  left: calc(50% - 16px);
  width: 32px;
  height: 26px;
  content: '';
  background: var(--sky);
  clip-path: polygon(0 45%, 100% 0, 70% 100%, 51% 63%, 34% 78%);
  filter: drop-shadow(0 4px 4px rgba(29, 78, 216, .2));
}

.flight-log > .day-card {
  position: relative;
  width: calc(50% - 52px);
  min-height: 190px;
  margin-bottom: 36px;
  padding: 24px 26px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--dawn);
  border-radius: 2px 14px 2px 2px;
  background: rgba(255, 253, 252, .96);
  box-shadow: 0 8px 22px rgba(31, 41, 51, .06);
}

.flight-log > .day-card:nth-child(odd) { margin-right: auto; }
.flight-log > .day-card:nth-child(even) { margin-left: auto; }

.flight-log > .day-card::before {
  position: absolute;
  top: 39px;
  width: 17px;
  height: 17px;
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  background: var(--dawn);
  box-shadow: 0 0 0 2px var(--cta);
  content: '';
}

.flight-log > .day-card::after {
  position: absolute;
  top: 47px;
  width: 53px;
  border-top: 1px dashed var(--cta);
  content: '';
}

.flight-log > .day-card:nth-child(odd)::before { right: -61px; }
.flight-log > .day-card:nth-child(odd)::after { right: -53px; }
.flight-log > .day-card:nth-child(even)::before { left: -61px; }
.flight-log > .day-card:nth-child(even)::after { left: -53px; }

.flight-phase {
  display: inline-flex;
  align-items: center;
  margin-bottom: .75rem;
  padding: .16rem .55rem .16rem .45rem;
  border-left: 3px solid var(--sky);
  border-bottom: 1px dashed #9FB5DE;
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.55;
}

.flight-phase::before {
  margin-right: .45rem;
  color: var(--muted);
  content: 'PHASE';
  font-size: 1em;
  letter-spacing: .08em;
}

.day-num {
  color: var(--cta);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
}

.day-card h3 {
  margin: .45rem 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
}

.day-quote {
  margin-bottom: .35rem;
  color: var(--sky);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

.day-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.flight-log > .day-final {
  border: 2px solid var(--sky);
  border-radius: 2px 18px 2px 2px;
  background:
    linear-gradient(135deg, rgba(234, 241, 255, .96), rgba(255, 241, 229, .96));
  box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 5px #9FB5DE, 0 12px 26px rgba(29, 78, 216, .1);
}

.day-final .day-num::before {
  display: block;
  margin-bottom: .15rem;
  color: var(--ink);
  content: 'DESTINATION';
  font-size: .875rem;
  letter-spacing: .16em;
}

.day-final h3::after {
  display: inline-block;
  margin-left: .55rem;
  padding: .08rem .45rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  content: '到着点';
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  vertical-align: .15em;
}

.days-bridge {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-block: 1px solid var(--line);
  background: rgba(251, 248, 243, .72);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.days-bridge a { color: var(--cta); }

/* ---------- 無料特典で整うこと：搭乗券 ---------- */
.outcomes {
  padding-top: 0;
  background:
    radial-gradient(680px 300px at 50% 0%, rgba(29, 78, 216, .07), transparent 70%),
    var(--paper);
}

.free-gateway {
  margin-bottom: 70px;
  padding: 22px 0;
  border-block: 1px solid #BFD0F5;
  background: var(--sky-soft);
  text-align: center;
}

.free-gateway .section-label { margin-bottom: .35rem; }

.free-gateway p:last-child {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.outcome-grid.boarding-pass-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  gap: 16px;
  list-style: none;
}

.boarding-pass {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(220px, .9fr) minmax(280px, 1.1fr);
  align-items: center;
  min-height: 150px;
  padding: 24px 34px 24px 24px;
  gap: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-left: 6px solid var(--dawn);
  border-radius: 0 12px 12px 0;
  background:
    linear-gradient(90deg, var(--dawn-soft) 0 156px, var(--card) 156px);
  box-shadow: 0 8px 20px rgba(31, 41, 51, .055);
}

.boarding-pass::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 155px;
  width: 1px;
  content: '';
  background: repeating-linear-gradient(
    to bottom,
    var(--line-strong) 0 6px,
    transparent 6px 12px
  );
}

.boarding-pass::after {
  position: absolute;
  top: 50%;
  right: -9px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  content: '';
  transform: translateY(-50%);
}

.outcome-label {
  position: relative;
  z-index: 1;
  color: var(--cta);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.45;
}

.outcome-label::before {
  display: block;
  margin-bottom: .3rem;
  color: var(--muted);
  content: 'BOARDING';
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.outcome-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.65;
}

.outcome-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.outcome-note {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.7;
  text-align: center;
}

.outcomes-visual {
  width: min(100%, 1048px);
  margin: 2.4rem auto 0;
  text-align: center;
}

.outcomes-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 32, 51, .14);
  border-radius: 1.1rem;
  box-shadow: 0 18px 38px rgba(23, 32, 51, .12);
}

.outcomes-visual figcaption {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .875rem;
}

/* ---------- 証拠 ---------- */
.proof { background: #FFFDFC; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto 3rem;
  gap: 16px;
}

.stat {
  padding: 20px 8px;
  border-block: 1px solid var(--line-strong);
  background: transparent;
  text-align: center;
}

.stat-num {
  color: var(--cta);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.stat-num span { font-size: .6em; }

.stat-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2.8rem;
  gap: 18px;
}

.quote-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.quote-card blockquote {
  font-size: 1rem;
  line-height: 1.82;
}

.quote-card blockquote::before {
  color: var(--dawn);
  content: '“';
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 0;
}

.quote-card figcaption {
  margin-top: .85rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: center;
  width: 100%;
  max-width: 1016px;
  margin-inline: auto;
  gap: 16px;
}

.review-guide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
  gap: 18px;
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.5;
}

.review-guide span::before {
  margin-right: .35rem;
  color: var(--cta);
  content: '↗';
}

.review-guide-swipe::before {
  content: '↔' !important;
}

.review-guide-zoom::before { content: '+' !important; }

@media (min-width: 1020px) {
  .review-guide-swipe {
    display: none;
  }
}

.review-link {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  text-align: inherit;
  text-decoration: none;
}

.review-link img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--card);
}

.review-link:hover img { border-color: var(--cta); }
.review-link:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }

.review-strip:focus-visible { border-radius: var(--radius-s); }

.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(9, 13, 24, .88);
  overscroll-behavior: contain;
}

.review-lightbox[hidden] { display: none; }

.review-lightbox-panel {
  position: relative;
  display: grid;
  width: min(96vw, 1280px);
  max-height: calc(100dvh - 32px);
  place-items: center;
}

.review-lightbox-image-button {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: zoom-out;
}

.review-lightbox-image-button img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 96px);
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  object-fit: contain;
}

.review-lightbox-close {
  position: absolute;
  top: -8px;
  right: -2px;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.review-lightbox-panel > p {
  margin-top: 10px;
  color: #FFFFFF;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.strip-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
  text-align: center;
}

/* ---------- 特典 ---------- */
.benefits {
  border-block: 1px solid var(--line);
  background: #FFFFFF;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin: 0 auto;
  gap: 22px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  gap: 24px;
}

.benefit-row img { border-radius: var(--radius-s); }

.benefit-row h3 {
  margin: .3rem 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
}

.benefit-row p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.b-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: var(--dawn-soft);
  color: var(--cta);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
}

/* ---------- 著者 ---------- */
.author { background: var(--paper); }

.author-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.author-photo img {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
}

.author-name {
  margin-bottom: .8rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
}

.author-name span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.6;
}

.author-body p {
  margin-bottom: .9rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.author-body p strong { color: var(--ink); }
.author-body .section-title { margin-bottom: 1.2rem; }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
  background: #FFFFFF;
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--card);
}

.faq-item summary {
  position: relative;
  padding: 18px 48px 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--cta);
  content: '＋';
  font-weight: 700;
  transform: translateY(-50%);
}

.faq-item[open] summary::after { content: '－'; }

.faq-item p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

/* ---------- Signup ---------- */
.signup {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(249, 115, 22, .1), transparent 65%),
    #FFFFFF;
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 2rem;
  gap: 10px 14px;
  list-style: none;
}

.checklist li {
  padding: .35rem 1rem;
  border: 1px solid #F5CDAA;
  border-radius: 999px;
  background: var(--dawn-soft);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.6;
}

.checklist li::before { color: var(--cta); content: '✓ '; }

.form-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
  gap: .35rem;
  text-align: left;
}

.form-group label {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.form-group input {
  width: 100%;
  min-height: 48px;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

.form-card .btn { margin: .4rem 0 1rem; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: none;
  visibility: hidden;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(251, 248, 243, .96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 2px));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
}

.sticky-cta.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.sticky-cta .btn {
  min-height: 48px;
  padding: .65rem 1rem;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px 0 60px;
  background: var(--ink);
  color: #D7DCE5;
  font-size: .875rem;
  line-height: 1.7;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  gap: 18px;
}

.footer-links a {
  color: #E2E7EF;
  text-decoration: none;
}

.footer-links a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- タブレット ---------- */
@media (max-width: 1019px) {
  .review-strip {
    display: flex;
    justify-content: flex-start;
    max-width: none;
    padding: 4px 2px 14px;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--line-strong) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .review-link {
    flex: 0 0 min(84vw, 760px);
    width: min(84vw, 760px);
  }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 70px; }
  .hero-copy { max-width: 720px; margin-inline: auto; text-align: center; }
  .hero-copy .cta-block { align-items: center; }
  .hero-demo { width: 100%; max-width: 620px; margin-inline: auto; }
  .quote-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 2.8rem;
  }
}

@media (max-width: 840px) {
  .boarding-pass {
    grid-template-columns: 122px 1fr;
    gap: 18px 28px;
    background: linear-gradient(90deg, var(--dawn-soft) 0 152px, var(--card) 152px);
  }
  .boarding-pass::before { left: 151px; }
  .boarding-pass p { grid-column: 2; }
}

/* ---------- 768px以下 ---------- */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 68px;
    scroll-padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  #benefits,
  #signup { scroll-margin-top: 68px; }
  .pc-only { display: none; }
  section { padding: 64px 0; }
  .manga { padding-top: 72px; }
  .flight-log { padding: 12px 0 58px; }
  .flight-log::before { left: 18px; transform: none; }
  .flight-log::after { left: 5px; width: 27px; height: 23px; }

  .flight-log > .day-card,
  .flight-log > .day-card:nth-child(odd),
  .flight-log > .day-card:nth-child(even) {
    width: calc(100% - 52px);
    min-height: 0;
    margin: 0 0 28px 52px;
  }
  .flight-log > .day-card:nth-child(odd)::before,
  .flight-log > .day-card:nth-child(even)::before { right: auto; left: -42px; }
  .flight-log > .day-card:nth-child(odd)::after,
  .flight-log > .day-card:nth-child(even)::after { right: auto; left: -34px; width: 34px; }

  .author-grid { grid-template-columns: 1fr; }
  .author-photo { width: min(320px, 80vw); margin-inline: auto; }
  .author-body .section-title { text-align: center; }
  .sticky-cta { display: block; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .header-inner { min-height: 60px; padding: 8px 16px; gap: 8px; }
  .logo { font-size: .875rem; letter-spacing: -.015em; }
  .btn-small {
    padding: .45rem .75rem;
    font-size: .875rem;
    letter-spacing: -.02em;
  }
  .btn-textbook {
    width: 100%;
    padding-inline: .65rem;
    font-size: .9375rem;
  }
  .hero { padding: 44px 0 58px; }
  .hero-grid { gap: 34px; }
  .hero-title { font-size: clamp(2.05rem, 9vw, 2.45rem); line-height: 1.32; }
  .hero-sub { font-size: 1rem; }
  .hero-copy .btn-primary,
  .cta-block.center .btn-primary { width: 100%; padding-inline: 1rem; }
  .demo-chat { min-height: 0; padding: 16px; }
  .bubble { max-width: 94%; font-size: 1rem; }
  .chip,
  .demo-title { font-size: .875rem; }

  section { padding: 58px 0; }
  .section-title { font-size: clamp(1.65rem, 7.2vw, 2rem); line-height: 1.45; }
  .section-lede { margin-bottom: 2.4rem; }
  .manga { padding-top: 64px; }
  .manga-pages { gap: 18px; }
  .manga-page { box-shadow: 0 12px 28px rgba(12, 24, 45, .16); }
  .manga-summary { margin-top: 24px; padding-inline: .7rem; line-height: 1.75; }
  .manga-bridge { padding: 1rem; }

  .textbook-banner { margin-bottom: 2.5rem; padding: 8px; }
  .textbook-banner figcaption {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    font-size: 1rem;
  }
  .textbook-banner figcaption span { align-self: center; }
  .flight-log > .day-card { padding: 21px 18px; }
  .days-bridge { padding-inline: .8rem; }

  .free-gateway { margin-bottom: 54px; padding: 20px 0; }
  .boarding-pass {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px 18px 22px;
    gap: 14px;
    border-left-width: 5px;
    background: linear-gradient(180deg, var(--dawn-soft) 0 66px, var(--card) 66px);
  }
  .boarding-pass::before {
    top: 65px;
    right: 12px;
    bottom: auto;
    left: 12px;
    width: auto;
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      var(--line-strong) 0 6px,
      transparent 6px 12px
    );
  }
  .boarding-pass p { grid-column: auto; }
  .outcome-label { min-height: 34px; }
  .outcome-label::before { display: inline-block; margin: 0 .65rem 0 0; font-size: .875rem; }
  .outcome-note { text-align: left; }

  .stat-row { gap: 6px; }
  .stat { padding: 16px 4px; }
  .benefit-row { grid-template-columns: 1fr; }
  .benefit-row img { width: min(100%, 320px); margin-inline: auto; }
  .checklist { align-items: stretch; flex-direction: column; }
  .checklist li { border-radius: var(--radius-s); font-size: 1rem; }
  .form-card { padding: 24px 18px; }
  .footer-links { gap: 12px 18px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 2.05rem; }
  .timer-face { font-size: 2.35rem; }
}

@media (max-width: 320px) {
  html {
    scroll-padding-top: 92px;
    scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
  #benefits,
  #signup { scroll-margin-top: 92px; }

  .container { padding-inline: 10px; }
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 6px 8px 8px;
    gap: 4px;
  }
  .logo { text-align: center; white-space: normal; }
  .btn-small {
    width: 100%;
    padding: .5rem;
    white-space: normal;
  }

  .timer-card { padding: 12px; }
  .timer-face { font-size: 2rem; }

  .flight-log > .day-card,
  .flight-log > .day-card:nth-child(odd),
  .flight-log > .day-card:nth-child(even) {
    width: calc(100% - 40px);
    margin-left: 40px;
    padding: 18px 12px;
  }
  .flight-log > .day-card:nth-child(odd)::before,
  .flight-log > .day-card:nth-child(even)::before { left: -30px; }
  .flight-log > .day-card:nth-child(odd)::after,
  .flight-log > .day-card:nth-child(even)::after { left: -22px; width: 22px; }
  .day-card h3,
  .day-quote { min-width: 0; overflow-wrap: anywhere; }

  .outcome-label::before { display: block; margin: 0 0 .2rem; }

  .sticky-cta { padding-inline: 6px; }
  .sticky-cta .btn { white-space: normal; overflow-wrap: anywhere; }
}

@media (max-width: 260px) {
  .keep-together { white-space: normal; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .demo-step,
  .flight-log { opacity: 1; transform: none; transition: none; }
  .skip-link,
  .btn,
  .sticky-cta { transition: none; }
}
