/* ============================================================
   Syutto（シュッと）公式サイト — Speed / High-Contrast
   白×黒×赤・太サンセリフ・数字タイポ中心
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.64);
  --ink-faint: rgba(17, 17, 17, 0.38);
  --line: #E8E8E8;
  --red: #E42313;
  --red-deep: #B81C0E;
  --display: "Anton", "Zen Kaku Gothic New", sans-serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  /* モーション: 立ち上がりが速く、終端で素早く収まる曲線に統一。
     インタラクションの 0.12s はサイトが掲げる実測値と同じ数字に揃えている。 */
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-shoot: cubic-bezier(0.2, 0, 0, 1);
  --t-tap: 0.12s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- 汎用 ---------- */

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.wrap--narrow { max-width: 760px; }

.overline {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--red);
  text-transform: uppercase;
}

/* ---------- ヘッダー ---------- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  max-width: 1220px;
  margin-inline: auto;
  border-bottom: 2px solid var(--ink);
}

.brand {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  /* 旧名 tempmemo は全小文字だったが、Syutto は大文字始まりなので変換しない */
}

/* ヘッダーのブランドマーク（アプリアイコン）。
   旧・赤い丸（.brand__dot）から差し替え。透過素材なので白いヘッダーにそのまま乗る。 */
.brand__mark {
  width: 28px;
  height: 28px;
  display: block;
  flex: none;
}

.head-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); font-size: 13px; font-weight: 700; }
.head-nav a { text-decoration: none; color: var(--ink-soft); }
.head-nav a:hover { color: var(--red); }
.head-nav .lang { letter-spacing: 0.12em; border: 2px solid var(--ink); padding: 3px 12px; }

/* ---------- ヒーロー ---------- */

.hero {
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-block: 16px 22px;
}

/* 2段スケールのポスター組み: 前段は控えめ、「一瞬。」を特大に */
.hero h1 .h1-top {
  font-size: clamp(24px, 2.9vw, 36px);
  letter-spacing: 0.04em;
}
.hero h1 .h1-big {
  font-size: clamp(64px, 9vw, 110px);
  letter-spacing: -0.02em;
  /* 主役の一語は横から滑り込み、傾きが終端で収まる（速度の残像） */
  display: inline-block;
  position: relative;
  animation: slam 0.42s var(--ease-settle) 0.1s both;
}

/* 「一瞬。」の左から伸びる3本のスピードライン。一瞬で消える */
.hero h1 .h1-big::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 34%;
  width: clamp(28px, 5vw, 64px);
  height: 42%;
  margin-right: 10px;
  background: repeating-linear-gradient(
    to bottom,
    var(--red) 0 3px,
    transparent 3px 11px
  );
  transform: scaleX(0);
  transform-origin: right center;
  animation: trail 0.5s var(--ease-shoot) 0.06s both;
  pointer-events: none;
}

@keyframes slam {
  from { opacity: 0; transform: translateX(-30px) skewX(-11deg); }
  to   { opacity: 1; transform: translateX(0) skewX(0); }
}

@keyframes trail {
  0%   { transform: scaleX(0); opacity: 0; }
  35%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.hero h1 .u-red { color: var(--red); }

.hero .lede {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 32px;
}

.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #fff;
  background: var(--red);
  padding: 16px 32px;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(228, 35, 19, 0.3);
  transition: transform 0.14s cubic-bezier(0.2, 0, 0, 1), background 0.14s;
}
.cta:hover { transform: translateY(-2px); background: var(--red-deep); box-shadow: 0 10px 26px rgba(228, 35, 19, 0.38); }
.cta:active { transform: translateY(0); }
.cta--soon { cursor: default; }
.cta svg { width: 17px; height: 17px; transition: transform var(--t-tap) var(--ease-shoot); }
/* ダウンロード矢印がひと押し下へ動く（速さの合図） */
.cta:hover svg { transform: translateY(2px); }

.price-note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.price-note strong { font-family: var(--display); font-size: 20px; color: var(--ink); letter-spacing: 0.03em; }

/* ヒーロー右: 実スクリーンショット */
.hero-visual { position: relative; }
.hero-shot {
  width: 100%; height: auto; display: block;
  animation: shot-in 0.5s var(--ease-settle) 0.18s both;
}
@keyframes shot-in {
  from { opacity: 0; transform: translateX(26px) scale(0.985); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ---------- 語り（対比）セクション ---------- */

.statement {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(64px, 9vw, 120px);
}

.statement-head { margin-bottom: clamp(28px, 4vw, 44px); }
.statement-head .overline { color: rgba(255, 255, 255, 0.5); }

/* 見出しは他セクションと同じ共通ルールに合わせず、暗い帯では一段大きくする。
   ページ内で一度だけ現れる強い見出しのため。 */
.statement h2 {
  font-weight: 900;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 10px;
}

.statement h2 em { font-style: normal; color: #FF6B5B; }

/* 主要機能の3列。詳細な機能ブロック（.feat）とは役割を分け、
   ここは核となる3つだけを短く述べる。 */
.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3.2vw, 40px);
}
.core h3 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, 0.85);
}
.core p {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
}
/* 数値や状態の一行。本文より小さく、色は赤寄りにして目印にする */
.core__fact {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FF6B5B;
  letter-spacing: 0.03em;
}
.core kbd {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ---------- 比較（3ステップの後ろ） ---------- */

/* 比較表のスタイルは暗い背景を前提に書かれている（白文字・白系の罫線）。
   語りセクションから独立させた際、明るい背景に置くと文字が消えるため、
   セクション自体を暗くしてスタイルを引き継ぐ。
   ページの明暗も 語り(暗) → 3ステップ(明) → 比較(暗) → 機能(明) と交替する。 */
.compare-section {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(56px, 8vw, 96px);
}
.compare-head { margin-bottom: 8px; }
.compare-head .overline { color: rgba(255, 255, 255, 0.5); }
.compare-head h2 {
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.3;
}

/* ---------- 概要 ---------- */

.overview {
  border-top: 2px solid var(--ink);
  padding-block: clamp(48px, 6.5vw, 80px);
}
/* 見出しは .steps-head / .features-head / .quiet-head と同じ共通ルールに合流させている。
   本文・箇条書きも機能ブロック（.feat p = 14.5px / --ink-soft）と同じ指定に揃える。 */
.overview-head { margin-bottom: clamp(24px, 3.5vw, 36px); }

.overview-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.overview-lead { font-size: 14.5px; color: var(--ink-soft); }
.overview-lead strong { color: var(--ink); }

.overview-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.overview-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.overview-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 9px; height: 9px;
  background: var(--red);
}

/* 「しないこと」= 期待外れを防ぐ枠。控えめだが読み飛ばされない濃度にする */
.overview-not {
  border: 2px solid var(--ink);
  padding: 18px 20px;
  background: #FAFAFA;
}
.overview-not h3 {
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.overview-not p { font-size: 14.5px; color: var(--ink-soft); }

/* 比較表 */
.compare { margin-top: clamp(36px, 5vw, 56px); overflow-x: auto; }
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
}
.compare th, .compare td {
  padding: 13px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.compare th { font-weight: 700; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.06em; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare thead th:nth-child(2) {
  color: #fff;
  font-weight: 900;
  background: var(--red);
}
.compare tbody td:nth-child(2) { background: rgba(228, 35, 19, 0.22); font-weight: 900; }
.compare .ok { color: #FF6B5B; }
.compare .no { color: rgba(255, 255, 255, 0.28); }

.compare-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  max-width: 46em;
}

/* ---------- 3ステップ ---------- */

.steps { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 5vw, 64px); }

.steps-head { margin-bottom: clamp(32px, 5vw, 48px); }
.overview-head h2, .steps-head h2, .features-head h2, .quiet-head h2 {
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.01em;
  margin-top: 10px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.step {
  border: 2px solid var(--ink);
  padding: 24px 22px 22px;
  position: relative;
  background: #fff;
  transition: transform var(--t-tap) var(--ease-shoot),
              box-shadow var(--t-tap) var(--ease-shoot);
}
.step:nth-child(2) { transform: translateY(12px); border-color: var(--red); }
/* ゼロぼかしの影が瞬時に出る（紙が持ち上がるのではなく“弾く”動き） */
.step:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--red); }
.step:nth-child(2):hover { transform: translateY(8px); }

.step__num {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  color: var(--red);
  transform: skewX(-6deg);
  display: inline-block;
}
.step h3 { font-size: 17px; font-weight: 900; margin: 10px 0 6px; letter-spacing: 0.04em; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: #FAFAFA;
}

/* ---------- 機能（交互配置） ---------- */

.features { padding-block: clamp(32px, 5vw, 56px) clamp(64px, 9vw, 104px); }
.features-head { margin-bottom: clamp(36px, 5vw, 56px); }

.feat {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(26px, 4vw, 40px);
}
.feat + .feat { border-top: 1px solid var(--line); }
.feat:nth-child(even) .feat__text { order: 2; }

.feat h3 {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.feat p { font-size: 14.5px; color: var(--ink-soft); max-width: 30em; }

.feat kbd {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 2px 7px;
  box-shadow: 2px 2px 0 var(--ink);
}

.feat__vis {
  border: 2px solid var(--ink);
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 26px;
  background: #fff;
}

.swatches { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 300px; }
.swatches i {
  width: 30px; height: 30px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.12);
}

.keys-vis { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.keys-vis span {
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  padding: 10px 16px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  letter-spacing: 0.06em;
  transition: transform var(--t-tap) var(--ease-shoot),
              box-shadow var(--t-tap) var(--ease-shoot);
}
/* キーを押し込んだ感触。影が縮んで沈む */
.keys-vis span:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--red);
}

/* カラーの玉はホバーで少しだけ跳ねる */
.swatches i { transition: transform var(--t-tap) cubic-bezier(0.34, 1.56, 0.64, 1); }
.swatches i:hover { transform: translateY(-4px); }

.stat-vis { text-align: center; }
.stat-vis .big {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  transform: skewX(-6deg);
  display: inline-block;
  /* .feat p の本文色(ink-soft)を継承して薄く出てしまうため、数字は必ず濃く指定する */
  color: var(--ink);
  max-width: none;
}
.stat-vis .big small { font-size: 0.38em; letter-spacing: 0.06em; }
.stat-vis .note { font-size: 12px; font-weight: 700; color: var(--ink-faint); margin-top: 10px; letter-spacing: 0.1em; }


/* 機能ブロックの補足（本文より一段小さく、色も落とす） */
.feat__sub {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  border-left: 3px solid var(--red);
  padding-left: 12px;
}

/* ---------- ショートカット ---------- */

.shortcuts {
  border-top: 2px solid var(--ink);
  padding-block: clamp(52px, 7vw, 88px);
}
.shortcuts h2 { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.25; margin-bottom: 26px; }

.shortcut-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 20px;
  align-items: baseline;
  margin: 0;
}
.shortcut-list dt { margin: 0; display: flex; gap: 4px; }
.shortcut-list dd { margin: 0; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.shortcut-note { margin-top: 24px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- 安心（プライバシー） ---------- */

.quiet {
  border-block: 2px solid var(--ink);
  padding-block: clamp(52px, 7vw, 88px);
  background: #FAFAFA;
}
.quiet-head { margin-bottom: 32px; }

.quiet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 32px;
}
.quiet-item { display: flex; gap: 13px; align-items: flex-start; padding-block: 14px; }
.quiet-item svg { width: 21px; height: 21px; flex: none; stroke: var(--red); margin-top: 2px; }
.quiet-item h3 { font-size: 14.5px; font-weight: 900; letter-spacing: 0.03em; }
.quiet-item p { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

/* ---------- 価格 ---------- */

.pricing { padding-block: clamp(64px, 9vw, 112px); text-align: center; }

.pricing .amount {
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 128px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-block: 14px 6px;
  transform: skewX(-6deg);
}
.pricing .amount small { font-size: 0.3em; letter-spacing: 0.08em; color: var(--ink-soft); }

.pricing .once {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--red);
}

.pricing p.detail { color: var(--ink-soft); font-size: 14px; margin-top: 18px; }
.pricing .cta-row { justify-content: center; margin-top: 32px; }

/* ---------- FAQ ---------- */

.faq { padding-block: 0 clamp(64px, 8vw, 96px); }
.faq h2 {
  font-weight: 900;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 4px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.16s cubic-bezier(0.2, 0, 0, 1);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .a { padding: 0 4px 20px; font-size: 14px; color: var(--ink-soft); max-width: 44em; }

/* ---------- 作り手 ---------- */

.maker {
  border-top: 2px solid var(--ink);
  padding-block: clamp(44px, 6vw, 72px) clamp(56px, 7vw, 88px);
}
.maker h2 {
  font-weight: 900;
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing: 0.02em;
  margin: 10px 0 14px;
}
.maker p { font-size: 14.5px; color: var(--ink-soft); max-width: 40em; }
.maker__follow { margin-top: 16px; font-size: 13px; font-weight: 700; }
.maker__follow a { color: var(--red-deep); }
/* ブランドの署名 */
.maker .signature {
  margin-top: 26px;
  font-weight: 900;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.maker .signature::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- フッター ---------- */

.site-foot {
  border-top: 2px solid var(--ink);
  padding: 30px clamp(20px, 4vw, 48px) 40px;
  max-width: 1220px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.site-foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--red); }

/* ---------- 下層ページ（プライバシー/サポート） ---------- */

.doc { padding-block: clamp(40px, 6vw, 64px) clamp(64px, 8vw, 96px); }
.doc h1 {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.doc .updated { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 40px; letter-spacing: 0.08em; font-weight: 700; }
.doc h2 {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.01em;
  margin: 44px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.doc h3 { font-size: 15.5px; font-weight: 700; margin: 26px 0 6px; }
.doc p, .doc li { font-size: 14.5px; color: var(--ink-soft); }
.doc ul { padding-left: 1.3em; margin-block: 8px; }
.doc a { color: var(--red-deep); }

/* ---------- リビール（速く・鋭く） ----------
   重要: 非表示の状態は keyframes の from 側にだけ置き、素の状態は「見える」ままにする。
   こうすればアニメーションが無効化されても（reduced-motion / 非対応ブラウザ）
   コンテンツが消えることが絶対に起きない。 */

.reveal { animation: rise 0.4s var(--ease-shoot) both; }
.reveal:nth-child(2) { animation-delay: 0.05s; }
.reveal:nth-child(3) { animation-delay: 0.1s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- スクロール駆動アニメーション（JSなし・段階的強化） ----------
   animation-timeline: view() 非対応ブラウザでは丸ごと無視され、
   すべての要素は最初から通常表示される（＝崩れない）。 */

/* 範囲は entry 基準で統一する。cover を混ぜると要素が画面中央に来てもまだ
   途中（半透明）のままになり、遅く見えてしまう。entry の 60〜80% で
   完了させると「入ってくる間に決着している」体感になる。 */
@supports (animation-timeline: view()) {

  /* 実測数字: 数字が跳ね上がり、赤いラインが走り抜ける（3つを少しずつ遅らせる） */
  /* 主要機能: 見出し → 3列が順に持ち上がる */
  .statement-head, .core {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 5% entry 55%;
  }
  .core:nth-child(2) { animation-range: entry 11% entry 62%; }
  .core:nth-child(3) { animation-range: entry 17% entry 68%; }

  /* 比較表: 行が上から順に立ち上がる */
  .compare tbody tr {
    animation: row-in 1s var(--ease-shoot) both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
  @keyframes row-in {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* 3ステップ: 3枚が時間差で滑り込む */
  .steps .step {
    animation: card-in 1s var(--ease-settle) both;
    animation-timeline: view();
  }
  .steps .step:nth-child(1) { animation-range: entry 5% entry 55%; }
  .steps .step:nth-child(2) { animation-range: entry 14% entry 66%; }
  .steps .step:nth-child(3) { animation-range: entry 23% entry 77%; }
  @keyframes card-in {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* 2枚目だけは下げた位置が最終状態なので上書きする */
  .steps .step:nth-child(2) { animation-name: card-in-offset; }
  @keyframes card-in-offset {
    from { opacity: 0; transform: translateY(42px); }
    to   { opacity: 1; transform: translateY(12px); }
  }

  /* 機能: 上へ持ち上がるフェードに統一する。
     以前は行ごとに左右交互から寄せていたが、ブロックが5つ続くと
     スクロール中ずっと画面が左右に揺れて落ち着かなかった。
     速さの演出は指標セクションと数字の傾きが担う。 */
  .feat__text {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 8% entry 62%;
  }
  .feat__vis {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 14% entry 70%;
  }

  /* プライバシー4項目・価格・FAQ・作り手 */
  .quiet-item {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 5% entry 55%;
  }
  .quiet-item:nth-child(2) { animation-range: entry 12% entry 62%; }
  .quiet-item:nth-child(3) { animation-range: entry 19% entry 69%; }
  .quiet-item:nth-child(4) { animation-range: entry 26% entry 76%; }

  .pricing .amount {
    animation: price-in 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 8% entry 60%;
  }
  @keyframes price-in {
    from { opacity: 0; transform: skewX(-6deg) scale(0.9); }
    to   { opacity: 1; transform: skewX(-6deg) scale(1); }
  }

  /* 概要: 見出し → 説明 → 箇条書き → しないこと の順に持ち上がる */
  .overview-head, .overview-lead, .overview-list li, .overview-not {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 5% entry 58%;
  }
  .overview-lead { animation-range: entry 9% entry 62%; }
  .overview-list li { animation-range: entry 12% entry 66%; }
  .overview-not { animation-range: entry 16% entry 70%; }

  .compare-head {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 5% entry 55%;
  }

  .shortcut-list dt, .shortcut-list dd {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 5% entry 58%;
  }

  .maker .signature {
    animation: rise-scroll 1s var(--ease-settle) both;
    animation-timeline: view();
    animation-range: entry 15% entry 70%;
  }

  @keyframes rise-scroll {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- モーション削減の完全尊重 ----------
   animation を切っても、素の状態が「見える」設計なのでコンテンツは常に表示される。 */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 36px 56px; }
  .hero-visual { max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr; }
  /* 1列に積むので互い違いの段差はやめる。
     アニメーションの最終状態（translateY(12px)）が transform: none より強く、
     これを上書きしないとスクロール後に2枚目だけ下がったまま残る。 */
  .step:nth-child(2) { transform: none; }
  .steps .step:nth-child(2) { animation-name: card-in; }
  .feat { grid-template-columns: 1fr; gap: 20px; }
  .overview-body { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr; gap: 24px; }
  .feat:nth-child(even) .feat__text { order: 0; }
}
