@charset "UTF-8";
/* =========================================================================
   文才（Bunsai）LP  —  Figma「LP WF — Desktop」(node 1406:1466) 準拠
   書体の正: 見出し=A P-SK 石井明朝 Old / A1明朝（未入手→Zen Old Minchoで代替）
             本文  =A P-OTF 秀英角ゴ 銀 Std（所有OTFをサブセットして自前配信）
             数字  =Montserrat
   ========================================================================= */

/* ---------- 秀英角ゴ銀（サブセット自前配信） ---------- */
@font-face {
  font-family: "A P-OTF Shuei KakuGo Gin Std";
  src: url("../assets/fonts/ShueiGoGinStd-L.subset.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "A P-OTF Shuei KakuGo Gin Std";
  src: url("../assets/fonts/ShueiGoGinStd-M.subset.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "A P-OTF Shuei KakuGo Gin Std";
  src: url("../assets/fonts/ShueiGoGinStd-B.subset.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ink: #242422;
  --sub: #666663;
  --muted: #858587;
  --line: #e2e2df;
  --line-soft: #eceae7;
  --canvas: #f2f2f2;   /* Figma実測 */
  --canvas-alt: #f6f7f8;
  --dark-2: #424242;   /* 課題・推薦の帯 */
  --surface: #ffffff;
  --dark: #242422;
  --on-dark: #ffffff;
  --on-dark-sub: #b9b9b6;

  --serif: "A P-SK IshiiMincho Old StdN", "A P-OTF A1 Mincho StdN", "Zen Old Mincho",
    "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "A P-OTF Shuei KakuGo Gin Std", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --num: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1440px; /* Figmaの1440フレーム＋左右80 = コンテンツ1280 に一致 */
  --gut: 80px;
  --header-h: 69px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  /* 紙のグレイン＝背景レイヤーに直接敷く（要素の上には被せない） */
  background-color: var(--canvas);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .05em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ダーク帯用の白グレイン（.dark の背景レイヤーに敷く） */

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 84px 0; }

/* ---------- typography ---------- */
.stmt {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: -.02em;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.45;
  letter-spacing: .1em;
}
.sec-lead {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .05em;
  color: var(--ink);
  margin-top: 26px;
}
.sec-head { margin-bottom: 56px; }
.eyebrow {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.num { font-family: var(--num); font-weight: 500; letter-spacing: .05em; }

/* ---------- buttons（スーパー楕円 — Figmaのボタンベクター準拠） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 193px;
  height: 53px;
  padding: 0 26px;
  border-radius: 999px; /* mask非対応環境のフォールバック */
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  white-space: nowrap;
  border: 0;
  background: var(--ink);
  color: #fff;
  -webkit-mask: url("../assets/lp/se-fill.svg") center / 100% 100% no-repeat;
  mask: url("../assets/lp/se-fill.svg") center / 100% 100% no-repeat;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); background-color: #000; }
/* アウトライン系＝ストローク版スーパー楕円を背景に敷く（maskだと線が描けない） */
.btn--outline,
.btn--ghost-light {
  background: transparent;
  -webkit-mask: none;
  mask: none;
  border-radius: 0;
  background-image: url("../assets/lp/se-stroke-ink.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.btn--outline { color: var(--ink); }
.btn--ghost-light { color: #fff; background-image: url("../assets/lp/se-stroke-light.svg"); }
/* アウトライン系は塗りボタンと同じく「浮く」動きだけで反応させる（色は変えない）。
   background ショートハンドだと枠線SVGごと消えて黒塗りになるので background-color で上書きする */
.btn--outline:hover, .btn--ghost-light:hover { transform: translateY(-1px); background-color: transparent; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f1ef; }
.btn--sm { min-width: 0; height: 40px; padding: 0 22px; font-size: 11.5px; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(237, 237, 235, 0);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-stuck,
body.is-sub .site-header {   /* 法務ページはヒーローが無いので最初から地色を敷く */
  background: rgba(242, 242, 242, .88);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(36, 36, 34, .07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  max-width: none;
}
.logo { display: inline-flex; align-items: center; }
.logo img { width: 73px; }
.header-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--canvas);
  box-shadow: 0 24px 40px -30px rgba(36, 36, 34, .5);
  border-top: 1px solid var(--line);
  padding: 22px 24px 34px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 55;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a.m-link {
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: .08em;
}
.mobile-menu .btn { width: 100%; margin-top: 18px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 630px minmax(0, 1fr);
  gap: 25px;
  align-items: center;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.5;
  letter-spacing: -.055em;
}
.hero-lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .02em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 29px; margin-top: 70px; }
.hero-note { margin-top: 18px; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.logos { display: flex; align-items: center; gap: 22px; margin-top: 56px; flex-wrap: wrap; }
.logos figcaption {
  width: 100%;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 4px;
}
/* 2社を横並びに保つため、チップ幅はコピー欄(630px)に収まる値に固定 */
.logo-chip {
  width: 234px; height: 99px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 19px;
}
/* ロゴごとに縦横比が違う（三省=横長 / PLANE=正方形）ので個別に上限を決める */
.logo-chip img { width: auto; height: auto; object-fit: contain; }
.logo-sansho { max-width: 173px; }   /* 原本252px幅の範囲内 */
.logo-plane { max-height: 75px; }

/* hero: 入力→生成アニメーション（gen-demo）
   実プロダクトの新UI(bunsai-app /assets/css/v2.css)のトークンに合わせる:
   canvas #f4f5f6 / surface #fff / border #e2e2df / required #ea1a4e /
   入力 radius4・padding16-18・15px / ページ見出しは明朝48・letter-spacing .1em /
   下部はセグメント進捗＋黒ピル */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 625px;
  justify-self: end;
  align-self: center;
}
.gen-demo {
  --g-canvas: #f4f5f6;
  --g-surface: #fff;
  --g-ink: #242422;
  --g-sub: #666663;
  --g-muted: #858587;
  --g-disabled: #b8b8b4;
  --g-border: #e2e2df;
  --g-required: #ea1a4e;

  background: var(--g-canvas);
  box-shadow: 0 30px 70px -45px rgba(36, 36, 34, .55);
  padding: 26px 30px 22px;
  height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--g-ink);
}
/* 上部：× と 明朝の画面名（新UIのウィザード見出し） */
.gen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--g-muted);
  margin-bottom: 6px;
}
.gen-bar .x { font-size: 15px; color: var(--g-ink); }
.gen-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: .1em;
  margin-bottom: 24px;
}

.gen-phase { transition: opacity .45s ease; }
.gen-phase.is-hidden { display: none; }

/* 入力フェーズ（v2-field-label / v2-field-help / v2-input） */
.gen-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.gen-label .req { color: var(--g-required); margin-left: 6px; }
.gen-help { font-size: 13px; color: var(--g-muted); margin-top: 4px; }
.gen-input {
  margin-top: 10px;
  background: var(--g-surface);
  border: 1px solid var(--g-ink);
  border-radius: 4px;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  font-size: 15px;
  letter-spacing: .02em;
}
/* サジェスト＝入力直下に重なる白いリスト */
.gen-suggest {
  background: var(--g-surface);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 24px -18px rgba(36, 36, 34, .5);
  overflow: hidden;
}
.gen-suggest li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--g-ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease, background-color .3s ease;
}
.gen-suggest li.on { opacity: 1; transform: none; }
.gen-suggest li.hot { background: #f4f5f6; }
.gen-suggest .q { display: none; }
/* 「最近使った項目」相当のチップ列 */
.gen-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gen-meta .mock-pill {
  background: var(--g-surface);
  border: 0;
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--g-sub);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease;
}
.gen-meta .mock-pill.on { opacity: 1; transform: none; }

/* 生成ステータス */
.gen-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
  font-size: 13px;
  color: var(--g-sub);
}
.gen-status.on { display: flex; }
.gen-status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g-ink);
  animation: genPulse 1.1s ease-in-out infinite;
}
@keyframes genPulse { 50% { opacity: .25; transform: scale(.7); } }

/* 原稿フェーズ（執筆画面の本文カード） */
.gen-doc {
  display: none;
  flex: 1;
  min-height: 0;
  background: var(--g-surface);
  border-radius: 4px;
  padding: 22px 24px;
  overflow: hidden;
  position: relative;
}
.gen-doc.on { display: block; }
.gen-doc::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
}
.gen-doc strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.7;
  min-height: 1.7em;
}
.gen-doc p {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: .01em;
  color: var(--g-ink);
  white-space: pre-wrap;
}
.gen-doc .caret { height: 13px; }

/* 下部：セグメント進捗＋「次へ →」の黒ピル */
.gen-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gen-progress { display: flex; gap: 8px; flex: 1; }
.gen-progress i {
  flex: 1; height: 2px;
  background: var(--g-border);
  border-radius: 999px;
}
.gen-progress i.on { background: var(--g-ink); }
.gen-next {
  flex: none;
  background: var(--g-ink);
  color: #fff;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .gen-status i { animation: none; }
}

/* ---------- features (入れるのはテーマだけ) ---------- */
.feature-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.feature-layout .stmt { font-size: 34px; letter-spacing: .04em; }
.feature-layout .side-lead { margin-top: 18px; font-size: 12.5px; line-height: 2; color: var(--sub); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
/* Figma: 枠#BABABA・pad24・内側に#F5F6F7の視覚パネル(h240)・見出し=角ゴL20 */
.f-card {
  background: transparent;
  border: 1px solid #bababa;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.f-visual {
  background: #f5f6f7;
  height: 240px;
  padding: 30px;
  overflow: hidden;
  flex: none;
}
.f-card h3 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: .1em;
}
.f-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .1em;
  color: var(--ink);
  font-weight: 300;
}

/* カード内 UI モック */
.mock-label { font-family: var(--serif); font-size: 17px; letter-spacing: .09em; }
.mock-label .req { color: #ea1a4e; margin-left: 6px; font-family: var(--sans); }
.mock-help { font-size: 10.5px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.mock-input {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .06em;
}
.caret {
  display: inline-block;
  width: 1px; height: 22px;
  background: var(--ink);
  margin-left: 8px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
/* キーワードカードのサジェスト */
.mock-suggest {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
}
.mock-suggest li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--sub);
  border-top: 1px solid var(--line-soft);
}
.mock-suggest li:first-child { border-top: 0; }
.mock-suggest li.hot { background: #f4f4f2; color: var(--ink); }
.mock-suggest .q { font-size: 10.5px; color: var(--muted); }

.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.mock-row:last-child { border-bottom: 0; }
.mock-row span:first-child { font-size: 11.5px; letter-spacing: .06em; color: var(--sub); }
.mock-pill {
  font-size: 10.5px; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink); background: #fff;
}
.mock-pill--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mock-bar { height: 6px; background: var(--line-soft); border-radius: 3px; }
.mock-bar + .mock-bar { margin-top: 10px; }
.mock-bar.w1 { width: 88%; } .mock-bar.w2 { width: 96%; } .mock-bar.w3 { width: 72%; }
.mock-note {
  margin-top: 14px; padding: 10px 12px;
  background: #f6f6f4; border-left: 2px solid var(--ink);
  font-size: 10.5px; line-height: 1.8; color: var(--sub);
}
.mock-mark { background: linear-gradient(transparent 62%, #e6e6e2 0); padding-bottom: 1px; }

/* ---------- dark block ---------- */
.dark {
  position: relative;
  background-color: var(--dark-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--on-dark);
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute;
  left: -20%; top: 0; bottom: 0;
  width: 70%;
  background: radial-gradient(60% 55% at 0% 45%, rgba(255,255,255,.20), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.dark > * { position: relative; z-index: 1; }
.dark .sec-lead, .dark .eyebrow { color: var(--on-dark-sub); }
.dark-block { padding: 110px 0; }
.dark-block + .dark-block { border-top: 1px solid rgba(255,255,255,.08); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 70px;
  align-items: center;
}
.split .stmt { letter-spacing: .02em; }
.split-note { margin-top: 30px; font-size: 12px; line-height: 2; color: var(--on-dark-sub); letter-spacing: .04em; }

/* セクションラベル（罫線で挟む） */
.dark-label {
  display: flex; align-items: center; gap: 30px;
  padding: 80px var(--gut) 0;
  max-width: var(--wrap); margin: 0 auto;
  position: relative; z-index: 1;
}
.dark-label::before, .dark-label::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.35);
}
.dark-label span {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: .1em; color: #fff;
}
.dark-block--first { padding-top: 56px; }

/* 2本の比較グラフカード */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chart2 {
  margin: 0;
  border: 1px solid #bababa;
  border-radius: 2px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 24px;
}
.chart2 figcaption {
  font-size: 15px; font-weight: 300; letter-spacing: .05em; line-height: 1.6;
  color: #fff; text-align: center;
}
.chart2-bars { display: flex; align-items: flex-end; gap: 16px; height: 300px; }
.c2-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.c2-bar b {
  font-family: var(--num); font-weight: 400; font-size: 17px; letter-spacing: .06em;
  color: #fff; white-space: nowrap;
}
.c2-bar i {
  display: block; width: 100%; border-radius: 1px;
  background: #e8e8e6;
  height: var(--h, 50%);
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.c2-bar i.old { background: #848484; }
.is-revealed .c2-bar i { transform: scaleY(1); }
.chart2:nth-child(2) .c2-bar i { transition-delay: .15s; }
.c2-bar span {
  font-family: var(--num); font-size: 17px; letter-spacing: .1em; color: #fff;
}

/* 工程タイムライン（横） */
.timeline { display: flex; text-align: center; color: #fff; }
.timeline li { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.timeline b { font-size: 23px; font-weight: 700; letter-spacing: .1em; }
.timeline span { font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.timeline-rail {
  display: flex; align-items: center;
  height: 31px; padding: 0 60px; margin-top: 20px;
}
.timeline-rail .dot {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(255,255,255,.55);
}
.timeline-rail .seg { flex: 1; height: 1px; background: rgba(255,255,255,.45); position: relative; }
.timeline-rail .seg--arrow::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid rgba(255,255,255,.45);
  border-right: 1px solid rgba(255,255,255,.45);
  transform: translate(1px, -50%) rotate(45deg);
}
.flow-sep {
  text-align: center; font-size: 18px; font-weight: 300; letter-spacing: .1em; color: #fff;
  margin: 40px 0 12px; position: relative;
}
.flow-sep::before, .flow-sep::after {
  content: ""; position: absolute; top: 50%; width: 20%; height: 1px; background: rgba(255,255,255,.28);
}
.flow-sep::before { left: 8%; } .flow-sep::after { right: 8%; }
/* 手書き風サークル（circle-hand.svg） */
.circles { display: flex; gap: 24px; justify-content: center; }
.circle {
  width: 176px; height: 176px;
  background: url("../assets/lp/circle-hand.svg") center / 100% 100% no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
}
.circle small { font-size: 14px; font-weight: 300; letter-spacing: .1em; color: #fff; }
.circle b { font-weight: 500; font-size: 21px; letter-spacing: .12em; white-space: nowrap; }
.circle b .num { font-family: var(--num); font-weight: 400; font-size: 32px; letter-spacing: .02em; }

/* 理由リスト */
.reasons { display: flex; flex-direction: column; }
.reason { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.reason:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.reason h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: .1em; }
.reason p { margin-top: 12px; font-size: 12px; line-height: 2; color: var(--on-dark-sub); letter-spacing: .04em; }

/* ---------- 背景色バリエーション（Figma準拠） ---------- */
.section--white { background: #fff; }
.section--alt { background: var(--canvas-alt); }

/* ---------- product statement ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 50px; align-items: center; }
.product .stmt { font-size: 40px; letter-spacing: .01em; }
.product p { margin-top: 42px; font-size: 13.5px; line-height: 2.1; letter-spacing: .04em; }

/* ---------- 導入効果 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.stat-card {
  background: var(--surface);
  border-radius: 2px;
  padding: 30px 24px 24px;
  display: flex; flex-direction: column; gap: 32px;
}
.stat-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: .1em; line-height: 1.5;
}
.stat-card h3 .num { font-size: 40px; letter-spacing: .05em; }
.stat-card h3 .unit { font-size: 26px; }
.stat-card .sub { display: block; }
.stat-card p { font-size: 11.5px; line-height: 1.9; letter-spacing: .1em; color: var(--sub); }
.stat-card figure { margin: auto auto 0; }
.stat-card figure img { height: 116px; width: auto; }

/* ---------- 使い方（ステップ選択式・1:1） ---------- */
.howto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step { border: 0; }
.step-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color .2s ease, background-color .2s ease;
}
.step-btn:hover { border-color: var(--line); }
.step-btn .num {
  font-family: var(--num); font-weight: 500;
  font-size: 26.78px; line-height: 1.3; letter-spacing: .05em;
  color: #cbcbcb;
  width: 18px; flex: none;
  transition: color .2s ease;
}
.step-btn h3 { font-size: 16.7px; font-weight: 700; letter-spacing: .05em; line-height: 1.5; color: var(--ink); }
.step-btn p { margin-top: 2px; font-size: 13.4px; font-weight: 300; line-height: 1.6; letter-spacing: .05em; color: var(--ink); }
.step-btn > div { min-width: 0; }
.step.is-active .step-btn { border-color: #141414; }
.step.is-active .num { color: var(--ink); }
.howto-visual { position: relative; aspect-ratio: 1440 / 1024; }
.howto-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(36, 36, 34, .12);
  box-shadow: 0 18px 44px -30px rgba(36, 36, 34, .55);
  background: #fff;
  opacity: 0;
  transition: opacity .35s ease;
}
.howto-visual img.is-active { opacity: 1; }

/* ---------- 形式（6種カード） ---------- */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fmt {
  background: transparent;
  border: 1px solid #bababa;
  border-radius: 0;
  padding: 24px;
  display: flex; flex-direction: column;
}
.fmt h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: .1em; line-height: 1.4;
}
.fmt-desc {
  margin-top: 14px;
  font-size: 13.5px; line-height: 1.9; letter-spacing: .05em; color: var(--sub);
  flex: 1;
}
.fmt-label {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--muted);
}
.fmt-ex {
  margin-top: 8px;
  font-size: 12.5px; line-height: 1.85; letter-spacing: .05em; color: var(--ink);
}

/* ---------- 比較表（Figma Group 56 実測準拠） ----------
   1列目=項目(#f7f7f7) / 2列目=汎用AI(#f7f7f7) / 3列目=文才(白・角丸で浮く)
   区切りはグレー地の上に置いた白い線 */
.compare { border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { text-align: left; vertical-align: middle; }

.compare thead th { padding: 22px 30px; font-weight: 400; }
.compare thead th:nth-child(1) { width: 17.4%; background: transparent; font-size: 0; }
.compare thead th:nth-child(2) {
  width: 38%;
  background: #f7f7f7;
  border-radius: 2px 2px 0 0;
  font-size: 18px; letter-spacing: .1em; color: var(--ink);
}
.compare thead th:nth-child(3) {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  font-family: var(--serif); font-size: 22px; letter-spacing: .1em; color: var(--ink);
}

.compare tbody th {
  font-weight: 400; font-size: 15.5px; letter-spacing: .1em;
  padding: 22px 30px;
  background: #f7f7f7;
  border-top: 1px solid #fff;
  color: var(--ink);
}
.compare tbody td { padding: 22px 30px; border-top: 1px solid #fff; }
.compare tbody td:nth-child(2) {
  background: #f7f7f7;
  font-size: 15px; font-weight: 300; letter-spacing: .1em; color: var(--ink);
}
.compare tbody td:nth-child(3) {
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 17px; font-weight: 700; letter-spacing: .1em; color: var(--ink);
}
.compare tbody tr:last-child th { border-radius: 0 0 2px 2px; }
.compare tbody tr:last-child td:nth-child(2) { border-radius: 0 0 2px 2px; }
.compare tbody tr:last-child td:nth-child(3) { border-bottom: 1px solid var(--line); border-radius: 0 0 4px 4px; }

/* ---------- ROI（Figma Group 57 実測: 1276x540 / 箱524.4x492.4 / 帯524.4x83.2） ---------- */
.roi { position: relative; padding: 37px 0 11px; }
.roi-box {
  position: relative;
  width: 41.1%;              /* 524.4 / 1276 */
  border: 1px solid var(--ink);
  padding: 30px 28px 40px;
  background: transparent;
}
.roi-head h3 { font-size: 26px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; }
.roi-head small { display: block; font-size: 16px; font-weight: 300; color: var(--ink); letter-spacing: .1em; margin-top: 2px; }
.roi-total-num { margin-top: 10px; font-weight: 700; font-size: 32px; letter-spacing: .1em; white-space: nowrap; }
.roi-total-num .num { font-family: var(--num); font-weight: 500; font-size: 54px; letter-spacing: .05em; }
.roi-list { margin-top: 30px; }
.roi-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.roi-row:first-child { padding-top: 0; }
.roi-row:last-child { border-bottom: 0; padding-bottom: 0; }
.roi-row h4 { font-size: 19px; font-weight: 700; letter-spacing: .1em; }
.roi-row small { display: block; font-size: 16px; font-weight: 300; color: var(--ink); letter-spacing: .1em; margin-top: 2px; }
.roi-row b { font-weight: 700; font-size: 21px; letter-spacing: .1em; white-space: nowrap; }
.roi-row b .num { font-family: var(--num); font-weight: 500; font-size: 29px; letter-spacing: .05em; }

/* 破線＋矢頭：始点=箱の右上(41.1%, top37) / 終点=黒帯の上辺(right23.5%, bottom94)
   両端をレイアウトに直接アンカーしているので、箱の高さが変わってもずれない */
.roi-line {
  position: absolute;
  left: 41.1%;
  top: 37px;
  right: 23.5%;
  bottom: 94px;
  pointer-events: none;
  color: var(--ink);
}
.roi-line svg { width: 100%; height: 100%; display: block; }
.roi-arrow {
  position: absolute;
  right: 0; bottom: 0;
  width: 11px; height: 11px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

/* 黒帯：箱と下端を揃え、右端に配置 */
.roi-after {
  position: absolute;
  right: 0; bottom: 11px;
  width: 41.1%;
  height: 83.2px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}
.roi-after span { font-size: 26px; font-weight: 700; letter-spacing: .1em; flex: none; }
.roi-after b { font-weight: 700; font-size: 42px; letter-spacing: .1em; flex: 1; text-align: center; white-space: nowrap; }
.roi-after b .num { font-family: var(--num); font-weight: 500; font-size: 62px; letter-spacing: .05em; }

/* ---------- 推薦 ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; align-items: end; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 2.15;
  letter-spacing: .06em;
}
.quote figure { display: flex; align-items: center; gap: 25px; margin: 0; }
.quote figure img { width: 124px; height: 124px; object-fit: cover; }
.quote figcaption h3 { font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.quote figcaption p { margin-top: 10px; font-size: 11.5px; line-height: 1.9; letter-spacing: .04em; color: var(--on-dark-sub); }
.quote-role { font-size: 11px; letter-spacing: .12em; color: var(--on-dark-sub); margin-bottom: 8px; }
#voice .quote blockquote { color: #fff; }

/* ---------- 料金（3プラン｜Figma実測準拠） ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--surface);
  border-radius: 2px;
  display: flex; flex-direction: column;
  padding: 44px 0;
  overflow: hidden;
}
.plan--featured { box-shadow: 0 0 0 1.5px var(--ink); }
.plan-badge {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-head {
  padding: 0 20px 14px; text-align: center;
  min-height: 152px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.plan-name { font-size: 22px; font-weight: 700; letter-spacing: .1em; }
.plan-desc { font-size: 13px; font-weight: 300; line-height: 1.6; letter-spacing: .05em; color: var(--ink); }
.plan-price { margin-top: 10px; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.plan-price .num { font-family: var(--num); font-weight: 600; font-size: 44px; letter-spacing: .065em; line-height: 1.2; }
.plan-price .per { font-size: 15px; font-weight: 300; letter-spacing: .05em; }
.plan-price--ask { display: block; font-size: 30px; font-weight: 700; letter-spacing: .08em; margin-top: 10px; line-height: 1.2; }

/* スペック行＝ゼブラ（#f5f5f5 / #fff）・高さ44 */
.plan-spec { border-top: 1px solid var(--line); }
.spec-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px;
  padding: 4px 20px;
  font-size: 13px; letter-spacing: .05em;
}
.spec-row:nth-child(odd) { background: #f5f5f5; }
.spec-row span { font-weight: 300; }
.spec-row b { font-weight: 700; white-space: nowrap; }

.plan-feats { padding: 28px 20px 0; }
.plan-feats-h { font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; }
.plan-note {
  margin-top: auto;
  padding: 20px 20px 0;
  font-size: 11.5px; font-weight: 300; line-height: 1.8; letter-spacing: .04em; color: var(--sub);
}
.plans-foot {
  margin-top: 30px; text-align: center;
  font-size: 12.5px; letter-spacing: .06em; color: var(--sub);
}
.incl li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 5px 0; font-size: 13px; letter-spacing: .05em; line-height: 1.6; }
.incl svg { width: 14px; height: 14px; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  text-align: left;
  font-size: 13.5px;
  letter-spacing: .08em;
  line-height: 1.7;
}
.faq-q .q { font-family: var(--serif); font-size: 15px; color: var(--sub); }
.faq-q .caretdown { justify-self: end; transition: transform .25s ease; font-size: 10px; color: var(--sub); }
.faq-item.is-open .caretdown { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 24px 72px; font-size: 12.5px; line-height: 2.1; letter-spacing: .04em; color: var(--sub); }
.faq-item.is-open .faq-a { display: block; }

/* ---------- final CTA ---------- */
.cta { position: relative; overflow: hidden; background-color: var(--dark); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 60px; align-items: center; padding: 110px var(--gut); }
.cta .stmt { font-size: 38px; letter-spacing: .02em; }
.cta p { margin-top: 34px; font-size: 13.5px; line-height: 2.1; letter-spacing: .04em; color: #e6e6e3; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 42px; }
.cta-note { margin-top: 20px; font-size: 11px; letter-spacing: .06em; color: var(--on-dark-sub); }

/* CTA 内のアプリモック */
.app-mock { background: #f4f5f6; padding: 22px 26px 20px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.8); }
.app-mock-bar { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.app-mock h4 { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: .1em; color: var(--ink); margin: 14px 0 16px; }
.app-doc { background: #fff; padding: 20px 22px; }
.app-doc strong { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink); line-height: 1.8; }
.app-doc p { margin-top: 12px; font-size: 9.5px; line-height: 1.95; letter-spacing: .02em; color: #6d6d6a; }
.app-steps { display: flex; gap: 6px; margin: 18px 0 14px; }
.app-steps i { flex: 1; height: 1px; background: #cfcfcb; }
.app-steps i.on { background: var(--ink); height: 2px; }
.app-foot { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); }
.app-foot b { background: var(--ink); color: #fff; border-radius: 999px; padding: 7px 18px; font-weight: 400; letter-spacing: .06em; }

/* ---------- contact ---------- */
/* 問い合わせ / 打ち合わせ予約のタブ切替
   ピル型のボタン列ではなく、下のパネルと地続きに見えるタブにする */
.contact-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.contact-tab {
  position: relative;
  padding: 16px 30px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .2s ease;
}
.contact-tab::after {              /* 選択中を示す下線。非選択時は縮めておく */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.contact-tab:hover { color: var(--ink); }
.contact-tab.is-active { color: var(--ink); font-weight: 700; }
.contact-tab.is-active::after { transform: scaleX(1); }

.contact-panel[hidden] { display: none; }
.contact-panel { padding-top: 30px; }
.contact-note {
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: .05em;
  color: var(--sub);
  margin-bottom: 18px;
}
.contact-fallback { margin-top: 16px; font-size: 12px; letter-spacing: .05em; color: var(--muted); }

/* TimeRexの埋め込みは最小幅470px。狭い画面では全体が入るようJSで縮小する */
.timerex-fit { overflow: hidden; }
.timerex-fit iframe { display: block; transform-origin: top left; }
.contact-fallback { margin-top: 16px; font-size: 12px; letter-spacing: .05em; color: var(--muted); }

.form-embed { background: #fff; border: 1px solid var(--line); padding: 26px; margin-top: 44px; }
.form-embed iframe { width: 100%; border: 0; display: block; }
.form-fallback { font-size: 12.5px; color: var(--sub); }
.inline-link { border-bottom: 1px solid currentColor; }

/* ---------- footer ---------- */
/* Figmaは #9b9b9b だが白文字とのコントラストが2.78:1でWCAG AA未達のため、
   グレーのフッターという意匠は保ったまま #6e6e6e に落としている（白文字で5.10:1） */
.site-footer { background: #6e6e6e; color: #fff; padding: 74px 0 60px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 60px; }
.footer-logo { width: 84px; filter: invert(1) brightness(2); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 74px; font-size: 11.5px; letter-spacing: .1em; }
.footer-legal a:hover { text-decoration: underline; }
.footer-copy { margin-top: 26px; font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.92); }
.footer-nav { display: flex; gap: 40px; align-items: flex-start; }
.footer-nav div { display: flex; flex-direction: column; min-width: 150px; }
.footer-nav a { font-size: 12px; letter-spacing: .12em; padding: 10px 0; }
.footer-nav a:hover { text-decoration: underline; }

/* ---------- 法務ページ（利用規約・プライバシー・特商法） ---------- */
.legal { padding: 150px 0 110px; }
.legal-wrap { max-width: 900px; }
.legal-eyebrow {
  font-family: var(--num);
  font-size: 11px; font-weight: 500; letter-spacing: .28em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 18px;
}
.legal-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 36px; line-height: 1.45; letter-spacing: .1em;
  margin-bottom: 34px;
}
.legal-intro {
  font-size: 15px; font-weight: 300; line-height: 2; letter-spacing: .05em;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.legal-sec { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-h2 {
  font-size: 19px; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 14px;
}
.legal-no { font-family: var(--num); font-weight: 500; font-size: 15px; color: var(--muted); min-width: 22px; }
.legal-sec p { font-size: 14px; font-weight: 300; line-height: 2.1; letter-spacing: .05em; color: var(--sub); }
.legal-list { margin-top: 12px; }
.legal-list li {
  position: relative; padding: 6px 0 6px 22px;
  font-size: 14px; font-weight: 300; line-height: 2; letter-spacing: .05em; color: var(--sub);
}
.legal-list li::before {
  content: ""; position: absolute; left: 3px; top: 16px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--muted);
}
.legal-sub { font-size: 14px; font-weight: 700; letter-spacing: .06em; margin-top: 24px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 16px; background: var(--surface); }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top;
  padding: 15px 18px; font-size: 13.5px; letter-spacing: .05em; line-height: 1.9;
  border-bottom: 1px solid var(--line);
}
.legal-table th { width: 210px; font-weight: 700; background: #f7f7f7; }
.legal-table td { font-weight: 300; color: var(--sub); }
.legal-date { font-size: 13px; letter-spacing: .05em; color: var(--muted); margin-top: 36px; }
.legal-back { margin-top: 44px; }
.legal-back a { font-size: 13px; letter-spacing: .08em; border-bottom: 1px solid currentColor; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  :root { --gut: 48px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 420px; }
  .gen-demo { height: 520px; padding: 22px 24px 24px; }
  .feature-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 30px; }
  .howto { gap: 40px; }
  .formats { gap: 16px; }
  .plans { gap: 16px; }
}

@media (max-width: 960px) {
  :root { --gut: 32px; }
  .section { padding: 76px 0; }
  .dark-block { padding: 76px 0; }
  .stmt { font-size: 31px; }
  .sec-title { font-size: 28px; letter-spacing: .08em; }
  .sec-head { margin-bottom: 40px; }

  .hero { padding: 130px 0 70px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-title { font-size: 33px; letter-spacing: -.04em; }
  .hero-cta { margin-top: 40px; gap: 14px; }
  .hero-visual { max-width: none; }
  .gen-demo { height: 500px; }

  .feature-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .product p { margin-top: 24px; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-card { flex-direction: row; align-items: center; gap: 20px; }
  .stat-card figure { margin: 0; }
  .stat-card figure img { height: 90px; }
  .howto { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .howto-visual { order: -1; }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare thead th:nth-child(2) { font-size: 17px; }
  .compare thead th:nth-child(3) { font-size: 21px; }
  .compare thead th, .compare tbody th, .compare tbody td { padding: 16px 20px; }
  .compare tbody th { font-size: 15px; }
  .compare tbody td:nth-child(2) { font-size: 14px; }
  .compare tbody td:nth-child(3) { font-size: 16px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .plan-note { margin-top: 0; }
  .charts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .chart2 { padding: 18px; gap: 18px; }
  .chart2-bars { height: 220px; }
  .dark-label { padding-top: 60px; }
  /* ROI: 縦積み（箱→縦破線→黒帯） */
  .roi { padding: 20px 0 0; }
  .roi-box { width: 100%; }
  .roi-line { display: none; }
  .roi-after {
    position: static;
    width: 100%;
    height: auto;
    min-height: 76px;
    margin-top: 60px;
  }
  .roi::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 96px;
    height: 40px;
    width: 1px;
    background-image: linear-gradient(180deg, var(--ink) 55%, transparent 0);
    background-size: 1px 7px;
  }
  .quote { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
  .quote blockquote { font-size: 17px; line-height: 2.1; }

  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 76px var(--gut); }
  .cta .stmt { font-size: 29px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .footer-legal { margin-top: 34px; gap: 18px; }

  /* タブレット以下：ナビはハンバーガーへ。主要CTA（資料DL）だけは常時表示 */
  .header-nav { gap: 10px; }
  .header-nav .nav-link { display: none; }
  .header-cta { margin-left: 0; }
  .header-cta .btn--outline { display: none; }
  .nav-toggle { display: block; }
  .header-inner { padding: 0 20px; gap: 12px; }
}

@media (max-width: 620px) {
  :root { --gut: 22px; --header-h: 62px; }
  body { font-size: 14px; }
  .section { padding: 62px 0; }
  .dark-block { padding: 62px 0; }
  .stmt { font-size: 25px; line-height: 1.65; }
  .sec-title { font-size: 23px; letter-spacing: .06em; }
  .sec-lead { font-size: 13px; margin-top: 18px; }

  .hero { padding: 108px 0 56px; }
  .hero-title { font-size: 23px; line-height: 1.65; letter-spacing: -.03em; }
  .hero-lead { font-size: 13px; margin-top: 16px; }
  .hero-note { font-size: 10.5px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; min-width: 0; height: 50px; }
  .btn--sm { width: auto; height: 36px; padding: 0 16px; font-size: 10.5px; }
  .logos { margin-top: 34px; gap: 12px; }
  .logo-chip { width: calc(50% - 6px); height: 78px; padding: 11px 13px; }
  .logos { gap: 12px; }
  .logo-sansho { max-width: 120px; }
  .logo-plane { max-height: 53px; }

  .gen-demo { height: 520px; padding: 18px 18px 20px; }
  .gen-label { font-size: 16px; }
  .gen-input { height: 46px; font-size: 15px; }
  .gen-suggest li { padding: 8px 14px; font-size: 11px; }
  .gen-doc { padding: 16px; }

  .f-card { padding: 18px; gap: 16px; }
  .f-visual { height: 200px; padding: 22px; }
  .f-card h3 { font-size: 17px; }
  .f-card p { font-size: 13px; }
  .mock-input { height: 48px; font-size: 16px; }

  .chart { padding: 22px 18px 16px; }
  .chart-bars { height: 150px; gap: 10px; }
  .chart-bar i { width: 18px; }
  .chart-axis { gap: 10px; }
  .chart-axis span, .chart-bar b { font-size: 9.5px; }
  .flow-band { font-size: 10.5px; letter-spacing: .06em; }
  .flow-sep { font-size: 14px; }
  .circles { gap: 10px; }
  .circle { width: 104px; height: 104px; gap: 3px; }
  .circle small { font-size: 10px; }
  .circle b { font-size: 13px; letter-spacing: .1em; }
  .circle b .num { font-size: 20px; }
  .reason h3 { font-size: 17px; }

  .stat-card { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px 22px; }
  .stat-card h3 { font-size: 22px; }
  .stat-card h3 .num { font-size: 34px; }
  .stat-card h3 .unit { font-size: 22px; }
  .stat-card figure { align-self: center; }

  .step-btn { grid-template-columns: 26px minmax(0, 1fr); }
  .legal { padding: 110px 0 80px; }
  .legal-title { font-size: 23px; letter-spacing: .06em; }
  .legal-h2 { font-size: 16px; gap: 10px; }
  .legal-table th, .legal-table td { display: block; width: 100%; border-bottom: 0; padding: 10px 14px; }
  .legal-table th { padding-bottom: 2px; }
  .legal-table td { border-bottom: 1px solid var(--line); padding-top: 0; }
  .formats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fmt { padding: 24px 22px 26px; }
  .fmt h3 { font-size: 22px; }
  .charts { grid-template-columns: minmax(0, 1fr); }
  .chart2-bars { height: 190px; }
  .c2-bar b, .c2-bar span { font-size: 13px; }
  .dark-label { padding-top: 50px; gap: 18px; }
  .dark-label span { font-size: 21px; }
  /* タイムラインは縦リストへ（横4列は文字が折れるため） */
  .timeline { display: flex; flex-direction: column; text-align: left; }
  .timeline li {
    flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14);
    position: relative; padding-left: 22px;
  }
  .timeline li:first-child { border-top: 1px solid rgba(255,255,255,.14); }
  .timeline li::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.55); transform: translateY(-50%);
  }
  .timeline b { font-size: 15px; order: 2; white-space: nowrap; }
  .timeline span { font-size: 12px; letter-spacing: .04em; order: 1; }
  .timeline-rail { display: none; }
  .plan-head { padding: 28px 20px 22px; min-height: 0; }
  .spec-row { padding: 10px 20px; }
  .plan-feats { padding: 20px 20px 0; }
  .plan-note { padding: 16px 20px 0; }

  /* 比較表 → 縦積みカード */
  .compare, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { background: #fff; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
  .compare tbody th { border-top: 0; padding: 14px 18px 6px; font-size: 14px; background: transparent; }
  .compare tbody td { border-top: 0; padding: 8px 18px; position: relative; padding-left: 92px; }
  .compare tbody td::before {
    content: attr(data-label);
    position: absolute; left: 18px; top: 9px;
    font-size: 10px; letter-spacing: .06em; color: var(--muted);
  }
  .compare tbody td:nth-child(2) { background: transparent; font-size: 12.5px; }
  .compare tbody td:nth-child(3) { background: transparent; padding-bottom: 16px; font-size: 13.5px; }
  .compare tbody tr:last-child th,
  .compare tbody tr:last-child td:nth-child(2),
  .compare tbody tr:last-child td:nth-child(3) { border-radius: 0; }

  .roi-box { padding: 22px 18px 26px; }
  .roi-head h3 { font-size: 20px; }
  .roi-head small, .roi-row small { font-size: 12.5px; }
  .roi-total-num { font-size: 24px; }
  .roi-total-num .num { font-size: 38px; }
  .roi-row h4 { font-size: 15px; }
  .roi-row b { font-size: 16px; }
  .roi-row b .num { font-size: 22px; }
  .roi-after { min-height: 62px; padding: 14px 16px; margin-top: 44px; gap: 10px; }
  .roi-after span { font-size: 16px; }
  .roi-after b { font-size: 24px; }
  .roi-after b .num { font-size: 36px; }
  .roi::after { bottom: 74px; height: 34px; }

  .quote blockquote { font-size: 15px; letter-spacing: .04em; }
  .quote figure { gap: 16px; }
  .quote figure img { width: 92px; height: 92px; }

  .plan-price .num { font-size: 33px; }
  .plan-price--ask { font-size: 21px; }

  .faq-q { grid-template-columns: 26px minmax(0, 1fr) 20px; padding: 16px 16px; font-size: 12.5px; }
  .faq-a { padding: 0 16px 20px 42px; font-size: 12px; }

  .app-mock { padding: 16px 16px 14px; }
  .app-doc { padding: 14px 14px; }
  .form-embed { padding: 16px; }
  .contact-tab { padding: 13px 4px 12px; font-size: 13px; flex: 1; letter-spacing: .04em; }
  .contact-panel { padding-top: 24px; }
  /* 予約カレンダーは画面端まで使って、縮小率をできるだけ小さく抑える */
  .form-embed--meeting {
    padding: 0;
    border: 0;
    background: transparent;
    margin-inline: calc(var(--gut) * -1);
  }
  .footer-nav { gap: 24px; }
  .footer-nav div { min-width: 0; flex: 1; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 21px; }
  .stmt { font-size: 23px; }
  .sec-title { font-size: 21px; }
}

/* ===== トライアルCTA（2026-08-20 A3） ===== */
.hero-cta-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft, #6b6b68);
}
.plans-cta {
  text-align: center;
  margin-top: 34px;
}
.plans-cta .btn {
  min-width: 260px;
}
.plans-cta-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-soft, #6b6b68);
}
