/* MISEBIRAKI 紹介ページ
   色: 素案の実測値 (地 #f7f5f3 / 墨 #2f2f31 / 金 #c9a44f) を起点に OKLCH で段を作った。
   文字と地の差は全組み合わせで 4.5:1 以上 (最小は 金茶の字 × 金茶の淡い面 = 5.1)。
   形: 面は角 4px、ボタンだけ丸端。影は墨の色相に寄せた 1 種類。 */

:root {
  /* 色 (hex は oklch が使えない環境向け) */
  --paper: #f6f3ef;
  --paper-deep: #e7e3d9;
  --surface: #fcfbf8;
  --tint: #e9ddc1;
  --ink: #292623;
  --ink-soft: #4c4742;
  --ink-muted: #605a54;
  --kincha: #75541a;
  --gold: #caaa5b;
  --band: #25221f;
  --band-face: #332f2c;
  --band-deep: #1c1916;
  --on-dark: #f6f3ee;
  --on-dark-soft: #cecac2;
  --line: #d8d4cc;
  --line-dark: #4a4541;

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-latin: "Josefin Sans", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif;

  --fs-body: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-h2: clamp(1.5rem, 0.9rem + 3vw, 2.75rem);
  --fs-h2-split: clamp(1.5rem, 0.9rem + 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);

  /* 余白の段。固定の段 8・12・16・24・32・48・64・96 と、幅で伸びる 4 つの段だけを使う
     節の間 56→112 / 見出しのまとまり→本文 24→48 / かたまりの間 40→80 / 系統の間 64→112 */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --sec-y: clamp(3.5rem, 2rem + 5vw, 7rem);
  --head-gap: clamp(1.5rem, 0.75rem + 2.5vw, 3rem);
  --block-gap: clamp(2.5rem, 1.5rem + 3.5vw, 5rem);
  --group-gap: clamp(4rem, 3rem + 3.5vw, 7rem);
  --cap-gap: 0.75rem;
  --head-h: 3.75rem;
  --radius: 4px;
  --shadow: 0 1px 2px rgb(41 38 35 / 0.05), 0 14px 32px -18px rgb(41 38 35 / 0.28);

  --dur-ui: 0.22s;
  --dur-press: 0.12s;
  --dur-reveal: 0.7s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

@supports (color: oklch(0 0 0)) {
  :root {
    --paper: oklch(0.966 0.007 85);
    --paper-deep: oklch(0.915 0.015 85);
    --surface: oklch(0.988 0.004 90);
    --tint: oklch(0.9 0.04 88);
    --ink: oklch(0.27 0.008 60);
    --ink-soft: oklch(0.4 0.01 60);
    --ink-muted: oklch(0.47 0.012 65);
    --kincha: oklch(0.47 0.085 78);
    --gold: oklch(0.75 0.105 88);
    --band: oklch(0.255 0.007 60);
    --band-face: oklch(0.31 0.008 60);
    --band-deep: oklch(0.215 0.007 60);
    --on-dark: oklch(0.965 0.007 85);
    --on-dark-soft: oklch(0.84 0.012 85);
    --line: oklch(0.87 0.012 85);
    --line-dark: oklch(0.4 0.008 60);
    --shadow: 0 1px 2px oklch(0.27 0.02 60 / 0.05), 0 14px 32px -18px oklch(0.27 0.03 60 / 0.3);
  }
}

@media (min-width: 48em) {
  :root { --head-h: 4.5rem; }
}

/* ---------- 土台 ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.85;
  letter-spacing: 0.03em;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; }

::selection { background: var(--kincha); color: var(--on-dark); }

:focus-visible {
  outline: 2px solid var(--kincha);
  outline-offset: 3px;
  border-radius: 2px;
}
.band :focus-visible, .foot :focus-visible { outline-color: var(--gold); }

/* 文節のまとまり。行の終わりに 1〜2 字だけ落ちるのを防ぐ。
   まとまりが行の幅より長いときは、まとまりの中も文節で折る (「を、」だけが次の行に落ちるのを防ぐ) */
.ph { display: inline-block; word-break: auto-phrase; }
.ln { display: block; }
.nb { white-space: nowrap; }

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 0 0 var(--radius) var(--radius);
  transform: translateY(-110%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - var(--gutter) * 2, 70rem);
  margin-inline: auto;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5em 1.75em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  font-feature-settings: "palt";
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform var(--dur-ui) var(--ease-out),
    background-color var(--dur-ui) var(--ease-out),
    box-shadow var(--dur-ui) var(--ease-out);
}
.btn--s { min-height: 2.75rem; padding-inline: 1em; font-size: 0.9375rem; letter-spacing: 0.04em; }
.btn--l {
  min-height: 3.75rem;
  padding-inline: clamp(1.5rem, 6vw, 3.25rem);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
}
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .btn--ink:hover { background: var(--kincha); }
  .btn--light:hover { background: var(--tint); }
}
.btn:active {
  transform: scale(0.97);
  transition-duration: var(--dur-press);
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; }
}

/* 文中のリンク */
.link {
  color: var(--kincha);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding-block: 0.45rem;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.5rem) / 100% 1px no-repeat;
  transition: background-size var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
@media (hover: hover) {
  .link:hover { background-size: 100% 2px; }
}
.link:active { opacity: 0.7; transform: scale(0.97); transition-duration: var(--dur-press); }

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

.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.head.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgb(41 38 35 / 0.5);
}
.head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: var(--head-h);
  padding-inline: var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--ink);
}
.logo__mark { width: 1.625rem; height: 1.625rem; flex: none; }
.logo__seam { stroke: var(--gold); }
.logo__word {
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  padding-top: 0.2em; /* Josefin Sans は字面が上に寄るので、枠の中心に合わせる */
}
.logo:active { opacity: 0.7; }
@media (min-width: 22.5em) {
  .logo__word { font-size: 0.875rem; letter-spacing: 0.14em; }
}
@media (min-width: 26em) {
  .logo__word { font-size: 0.9375rem; letter-spacing: 0.26em; }
  .logo { gap: 0.7rem; }
}
@media (min-width: 48em) {
  .logo__mark { width: 2rem; height: 2rem; }
  .logo__word { font-size: 1.0625rem; letter-spacing: 0.32em; }
  .btn--s { padding-inline: 1.6em; }
}

/* ---------- 共通のナビ ----------
   広い幅: ロゴ | ナビ | 相談ボタン。狭い幅: ロゴ | メニュー (開くとナビと相談ボタン)。
   JS なしの狭い幅では、ナビをヘッダーの下に折り返して出す。 */
.head__in { position: relative; }
.gnav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.gnav__list { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.gnav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-ui) var(--ease-out);
}
.gnav__list a[aria-current="page"]::after { transform: none; }
@media (hover: hover) {
  .gnav__list a:hover { color: var(--kincha); }
  .gnav__list a:hover::after { transform: none; }
}
.gnav__list a:active { transform: scale(0.97); transition-duration: var(--dur-press); }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0 1rem 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform var(--dur-ui) var(--ease-out);
}
.menu-btn[hidden] { display: none; }
.menu-btn:active { transform: scale(0.96); transition-duration: var(--dur-press); }
.menu-btn__bars { position: relative; width: 1rem; height: 2px; background: currentColor; transition: background-color var(--dur-ui) var(--ease-out); }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-ui) var(--ease-out);
}
.menu-btn__bars::before { transform: translateY(-5px); }
.menu-btn__bars::after { transform: translateY(5px); }
.head.is-open .menu-btn__bars { background: transparent; }
.head.is-open .menu-btn__bars::before { transform: rotate(45deg); }
.head.is-open .menu-btn__bars::after { transform: rotate(-45deg); }

@media (max-width: 59.99em) {
  .js .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 0.25rem max(var(--gutter), env(safe-area-inset-right)) 1.75rem max(var(--gutter), env(safe-area-inset-left));
    background: var(--paper);
    box-shadow: 0 18px 30px -22px rgb(41 38 35 / 0.45);
    border-top: 1px solid var(--line);
  }
  .js .head.is-open .gnav { display: flex; animation: menu-in 0.24s var(--ease-out) both; }
  .js .gnav__list { flex-direction: column; gap: 0; }
  .js .gnav__list a { width: 100%; min-height: 3.25rem; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .js .gnav__list a::after { left: auto; right: 0; top: calc(50% - 1px); bottom: auto; width: 1.25rem; }
  .gnav__cta { min-height: 3.25rem; }
  /* JS なし: ヘッダーの下にナビを折り返す */
  html:not(.js) .head__in { flex-wrap: wrap; height: auto; padding-block: 0.4rem; }
  html:not(.js) .gnav { flex-wrap: wrap; width: 100%; gap: 0.5rem 1rem; }
  html:not(.js) .gnav__list { flex-wrap: wrap; gap: 0 1rem; }
}
@media (min-width: 60em) {
  .menu-btn { display: none !important; }
}
@keyframes menu-in { from { opacity: 0; transform: translate3d(0, -6px, 0); } }
@media (prefers-reduced-motion: reduce) {
  .js .head.is-open .gnav { animation: none; }
}

/* ---------- 次のページ・要約からのリンク ---------- */
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 2.75rem;
  padding-block: 0.5rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 2px no-repeat;
  transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
.more__go { flex: none; width: 1.25rem; height: 1.25rem; color: var(--kincha); transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) {
  .more:hover { color: var(--kincha); }
  .more:hover .more__go { transform: translateX(4px); }
}
.more:active { transform: scale(0.97); transition-duration: var(--dur-press); }
.more--l { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); letter-spacing: 0.06em; }
.more--l .more__go { width: 1.6rem; height: 1.6rem; }

.next { padding-block: 0 var(--sec-y); }
.next--paper { background: var(--paper); }
.next--surface { background: var(--surface); }
.next--deep { background: var(--paper-deep); }
.next__in { display: grid; justify-items: start; gap: 0.5rem; padding-top: var(--head-gap); border-top: 1px solid var(--line); }
@media (min-width: 48em) {
  .next__in { justify-items: end; text-align: right; }
}

/* ---------- トップの要約 ---------- */
.sumfit { display: grid; gap: var(--block-gap); }
.sumfit__row { display: grid; gap: 2rem; align-items: center; }
.sumfit__links { display: grid; gap: 1rem; justify-items: start; }
@media (min-width: 60em) {
  .sumfit__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
}
.sec--sumprice { background: var(--surface); }
.sumprice .more { margin-top: 1.75rem; }
@media (min-width: 60em) {
  .sec--sumprice .split { align-items: center; }
}

/* ---------- 冒頭 ---------- */

.hero {
  /* 戸の、開いたときに見えている幅 */
  --door: clamp(10px, 11vw - 34px, 180px);
  position: relative;
  z-index: 1;
  background: var(--surface);
  overflow-x: clip;
}
@supports not (overflow: clip) {
  .hero { overflow: hidden; }
}

.hero__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 2;
  background-color: var(--paper-deep);
  pointer-events: none;
}
.hero__door--l {
  left: 0;
  transform: translateX(calc(-100% + var(--door)));
  background-image: linear-gradient(to left, transparent 14px, var(--line) 14px, var(--line) 15px, transparent 15px);
  box-shadow: 10px 0 28px -20px rgb(41 38 35 / 0.45);
}
.hero__door--r {
  right: 0;
  transform: translateX(calc(100% - var(--door)));
  background-image: linear-gradient(to right, transparent 14px, var(--line) 14px, var(--line) 15px, transparent 15px);
  box-shadow: -10px 0 28px -20px rgb(41 38 35 / 0.45);
}
.hero__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  z-index: 3;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  pointer-events: none;
}
/* 冒頭の下に残る、金の短い線 (素案の縦線)。中を淡い光が上から下へ流れて、下の節へ誘う。
   繰り返す例外。冒頭が半分以上画面から外れたら止める (JS が .is-past を付ける)。動きを減らす設定では線だけ */
.hero__thread::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #fff4d2 55%, transparent);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero__thread::after { animation: thread-flow 2.2s cubic-bezier(0.45, 0, 0.35, 1) 2.2s infinite; }
  .js .hero.is-past .hero__thread::after { animation-play-state: paused; visibility: hidden; }
}
@keyframes thread-flow {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  20%, 75% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, 350%, 0); }
}
.hero__thread {
  overflow: hidden;
  position: absolute;
  left: calc(50% - 1px);
  bottom: -2rem;
  width: 2px;
  height: 4rem;
  z-index: 3;
  background: var(--gold);
}

.hero__in {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.25rem, 2rem + 6vw, 6.5rem) clamp(5.5rem, 4.5rem + 5vw, 8.5rem);
  padding-inline: calc(var(--door) + var(--gutter));
  text-align: center;
}

.hero__tag {
  color: var(--kincha);
  font-weight: 700;
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1.0625rem);
  letter-spacing: 0.16em;
  line-height: 1.7;
}
.hero__title {
  margin-top: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: 500;
  /* 狭い幅は 2 行 (お店ごとに作る、/ ネットショップ。)、広い幅は 1 行。
     2 行のときの 1 行は 8 字で字面の幅 約 7.6em。320px でも内容幅 (約 8.1em) に収まる 2rem を下限にした。
     1 行のときは 16 字で字面の幅 約 16.1em。旧版 (10 字) の上限 5.75rem では収まらないので、上限を 4.25rem に下げた
     (1720px で 68px、字面 1097px / 内容幅 1314px) */
  font-size: clamp(2rem, 9.6vw, 3.25rem);
  line-height: 1.3;
  --ls: 0.04em;
  letter-spacing: var(--ls);
  font-feature-settings: "palt";
  /* 1 行に収まるかを、見出し自身の幅と字の大きさで判断する */
  container-type: inline-size;
}
@media (min-width: 45em) {
  .hero__title { font-size: clamp(3rem, 4.2vw, 4.25rem); --ls: 0.06em; }
}
/* 字面で中央に置く。
   行末には字間 (--ls) が残り、さらに「、」「。」は字面が字の枠の左に寄っていて右に空きがある。
   そのままだと字面の中心がページの中心より左に見える。
   行末の文節の右を負のマージンで詰めて、行の箱を字面に合わせる。
   値は 320〜1720px の画面写真 (2 倍の解像度) から字の左右端を取って決めた。
   2 行のときは 2 行とも行末の空きが --ls + 0.59em (お店ごとに作る、/ ネットショップ。とも同じ値)。
   詰めたあとの字面の中心とページの中心の差は 320〜1024px で 0.5px 以内。 */
.hero__title .ph { display: block; white-space: nowrap; }
.hero__title .ph:first-child { margin-right: calc(-1 * (var(--ls) + 0.59em)); }
.hero__title .ph:last-child { margin-right: calc(-1 * (var(--ls) + 0.59em)); }
@container (min-width: 17em) {
  .hero__title .ph { display: inline-block; }
  .hero__title .ph:first-child { margin-right: 0; }
  /* 1 行のときは、末尾の「。」を除いた字面の中心をページの中心に置く (「。」は右へぶら下げる)。
     字面の端から端を中央にするなら --ls + 0.55em、「。」を除いた字面を中央にするには --ls + 0.98em 詰める
     (行が 0.2em ほど右へ寄り、「。」が右へぶら下がる)。1180〜1720px で「。」を除いた字面の中心とページの中心の差は 0.3px 以内。
     1 行に切り替える幅 17em は、字面 16.1em に「。」のぶら下がりを足しても見出しの箱からはみ出さない幅 */
  .hero__title .ph:last-child { margin-right: calc(-1 * (var(--ls) + 0.98em)); }
}
.hero__lead {
  margin-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  color: var(--ink-soft);
  font-size: clamp(1rem, 0.93rem + 0.4vw, 1.1875rem);
  line-height: 2;
}

/* カスタマイズ節への入口。リードの下に置き、節の主旨を先に見せる */
.hero__fit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  min-height: 2.75rem;
  margin-top: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
  padding: 0.7rem 1.1rem 0.7rem 0.95rem;
  background: var(--tint);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  text-align: left;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
.hero__fitMark { flex: none; width: 1.5rem; height: 1.5rem; color: var(--kincha); }
.hero__fitGo {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--kincha);
  transition: transform var(--dur-ui) var(--ease-out);
}
@media (hover: hover) {
  .hero__fit:hover { background: oklch(0.86 0.055 86); }
  .hero__fit:hover .hero__fitGo { transform: translateY(3px); }
}
.hero__fit:active { transform: scale(0.97); transition-duration: var(--dur-press); }

/* 値付け。上下の罫で挟む。税込の値をいちばん大きく、税抜と月額はその下に小さく添える
   (税抜は税込より小さい字で。法務の確認どおり) */
.hero__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem) auto 0;
  padding: 0.6rem clamp(1.25rem, 5vw, 2.5rem) 0.7rem;
  border-block: 1px solid var(--line);
}
.hero__priceMain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 0.9rem;
  line-height: 1.3;
}
.hero__priceLbl {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
}
.hero__priceVal {
  color: var(--kincha);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}
.hero__price .fig {
  font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-inline: 0.06em;
}
.hero__priceVal small {
  margin-left: 0.1em;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
}
.hero__priceSub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.25rem;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.7;
}
.hero__priceSub .ph { white-space: nowrap; }

.hero__cta { margin-top: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.hero__note {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-size: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.75rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 700;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.6em; white-space: nowrap; }
.hero__facts li::before {
  content: "";
  width: 0.7em;
  height: 2px;
  background: var(--gold);
}

/* 画面の高さが 900px 以下のとき: 冒頭の縦の間隔を詰め、金の線を最初の 1 画面に入れる余地をつくる
   (内容と順番は変えない。390×844 と 1280×800 で、内容の終わりから画面の下の端まで 80px 前後を空ける) */
@media (max-height: 56.25em) {
  .hero__in { padding-top: clamp(1.25rem, 0.8rem + 2vw, 2.5rem); }
  .hero__title { margin-top: clamp(0.6rem, 0.4rem + 1vw, 1.25rem); line-height: 1.2; }
  .hero__lead { margin-top: clamp(0.75rem, 0.6rem + 0.8vw, 1.4rem); line-height: 1.8; }
  .hero__fit { margin-top: clamp(0.8rem, 0.6rem + 0.8vw, 1.4rem); padding-block: 0.5rem; }
  .hero__price { margin-top: clamp(0.9rem, 0.7rem + 0.8vw, 1.5rem); }
  .hero__price { padding-block: 0.4rem 0.5rem; }
  .hero__cta { margin-top: clamp(0.9rem, 0.7rem + 0.8vw, 1.6rem); }
  .hero__note { margin-top: 0.5rem; line-height: 1.7; }
  .hero__facts { margin-top: 0.7rem; }
  .hero__thread { height: 3rem; }
}
/* 広い幅で高さ 900px 以下: 内容の終わりが「画面の下の端 - 線の分」に来るよう、間隔を画面の高さに比例させる。
   値は高さ 800px のときの間隔 (3.25rem・1.75rem…) を基準に、高さ 100px ごとに各 13px ずつ増減 (calc の 13vh - 104px) */
@media (min-width: 45em) and (max-height: 56.25em) {
  .hero__in { padding-top: max(1.5rem, calc(3.25rem - 104px + 13vh)); }
  .hero__title { margin-top: max(0.75rem, calc(1.75rem - 104px + 13vh)); }
  .hero__lead { margin-top: max(0.75rem, calc(1.75rem - 104px + 13vh)); line-height: 1.9; }
  .hero__fit { margin-top: max(0.75rem, calc(1.75rem - 104px + 13vh)); }
  .hero__price { margin-top: max(0.75rem, calc(2rem - 104px + 13vh)); }
  .hero__cta { margin-top: max(0.75rem, calc(2.25rem - 104px + 13vh)); }
  .hero__note { margin-top: 0.75rem; }
  .hero__facts { margin-top: max(0.75rem, calc(1rem - 104px + 13vh)); }
}

/* 戸がひらく。入場の一度きり */
@media (prefers-reduced-motion: no-preference) {
  .hero__door--l { animation: door-l 1.25s var(--ease-expo) 0.2s both; }
  .hero__door--r { animation: door-r 1.25s var(--ease-expo) 0.2s both; }
  .hero__seam { animation: seam 1.05s var(--ease-expo) 0.2s both; }
  .hero__in > * { animation: unveil 0.9s var(--ease-expo) both; }
  .hero__in > :nth-child(1) { animation-delay: 0.4s; }
  .hero__in > :nth-child(2) { animation-delay: 0.48s; }
  .hero__in > :nth-child(3) { animation-delay: 0.56s; }
  .hero__in > :nth-child(4) { animation-delay: 0.64s; }
  .hero__in > :nth-child(5) { animation-delay: 0.72s; }
  .hero__in > :nth-child(6) { animation-delay: 0.8s; }
  .hero__in > :nth-child(7) { animation-delay: 0.88s; }
  /* 見出しは戸と同じく、真ん中から左右へひらきながら濃くなる。
     切り抜きの中心は見出しの箱の中心 = ページの中心なので、2 行のときも 2 行とも同じ中心から開く。
     字面の中心合わせ (行末の負のマージン) には触れない。JS なしでは動かさず最初から表示。 */
  .js .hero__title { animation: title-open 1.3s cubic-bezier(0.5, 0, 0.15, 1) 0.42s both; }
  /* 戸がひらき切ったら、金の糸が下の節へ降りる */
  .hero__thread { transform-origin: 50% 0; animation: thread 0.8s var(--ease-expo) 1.3s both; }
}
@keyframes door-l { from { transform: translateX(0); } }
@keyframes door-r { from { transform: translateX(0); } }
@keyframes seam { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes thread { from { transform: scaleY(0); } }
@keyframes title-open {
  from { opacity: 0; clip-path: inset(-25% 50% -25% 50%); }
  to { opacity: 1; clip-path: inset(-25% 0 -25% 0); }
}
@keyframes unveil { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 節の共通 ---------- */

.sec { padding-block: var(--sec-y); }
.sec--about { padding-bottom: 0; }
.sec--why, .sec--how { background: var(--paper); }
.sec--what, .sec--faq { background: var(--surface); }
.sec--price, .sec--who { background: var(--paper-deep); }

.eyebrow {
  color: var(--kincha);
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.28em;
  line-height: 1.4;
}

.sec__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.45;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}
.sec__head { margin-bottom: var(--head-gap); }

@media (min-width: 60em) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }
  .split > .sec__head {
    position: sticky;
    top: calc(var(--head-h) + 2.5rem);
    margin-bottom: 0;
  }
  .split .sec__title { font-size: var(--fs-h2-split); }
}

/* ---------- ABOUT YOU ---------- */

.worries { border-top: 1px solid var(--line); }
.worries li {
  position: relative;
  padding: 1.3em 0 1.3em 2.1em;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.25rem);
  line-height: 1.7;
}
.worries li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: calc(1.3em + 0.85em - 1px);
  width: 0.9em;
  height: 2px;
  background: var(--gold);
}

.answer {
  margin-top: var(--sec-y);
  padding: var(--sec-y) var(--gutter);
  background: var(--paper-deep);
  text-align: center;
}
.answer__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 0.85rem + 2vw, 2.25rem);
  line-height: 1.9;
  letter-spacing: 0.06em;
  font-feature-settings: "palt";
}

/* 答えの下の例。左寄せの箇条書きを、中央の幅に収める */
.answer__ex {
  width: fit-content;
  max-width: 100%;
  margin: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem) auto 0;
  text-align: left;
}
.answer__exLbl {
  color: var(--kincha);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
}
.answer__list { margin-top: 0.75rem; }
.answer__list li {
  position: relative;
  padding-left: 1.6em;
  color: var(--ink);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.8;
}
.answer__list li + li { margin-top: 0.6rem; }
.answer__list li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.9em;
  width: 0.9em;
  height: 2px;
  background: var(--gold);
}

/* ---------- WHY: 比べの表 ---------- */

/* 狭い幅: 行ごとのまとまりに組み替える */
.cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; }
.cmp__table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cmp__table tbody tr {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.cmp__table tbody tr:last-child { padding-bottom: 0; }
.cmp__table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-align: left;
  line-height: 1.5;
}
.cmp__table td { padding: 0; }
.cmp__table td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5;
}
.cmp__table td.cmp__them {
  margin-top: 0.9rem;
  color: var(--ink-muted);
}
.cmp__table td.cmp__them::before { color: var(--ink-muted); }
.cmp__table td.cmp__us {
  margin-top: 1rem;
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--tint);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.cmp__table td.cmp__us::before {
  color: var(--kincha);
  font-family: var(--font-latin);
  font-weight: 600;
  letter-spacing: 0.24em;
}

/* 左の欄が「—」だけの行 (記載なし)。狭い幅は見出しの横に並べる */
.cmp__table td.cmp__none { display: flex; align-items: baseline; gap: 0.75rem; }
.cmp__table td.cmp__none::before { margin-bottom: 0; }
.cmp__note {
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: var(--fs-small);
  line-height: 1.7;
}

/* 広い幅: 表。MISEBIRAKI の列を 1 枚の面にして上下にはみ出させる */
@media (min-width: 48em) {
  /* 面は表の上下に 1.25rem はみ出させ、表の下の注記 (1 行) には掛けない */
  .cmp { position: relative; isolation: isolate; padding-top: 1.25rem; }
  .cmp__note { margin-top: 2.5rem; white-space: nowrap; }
  .cmp::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: calc(var(--fs-small) * 1.7 + 1.25rem);
    right: 0;
    width: 44%;
    background: var(--tint);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .cmp__table { display: table; table-layout: fixed; }
  .cmp__table thead { display: table-header-group; position: static; width: auto; height: auto; clip-path: none; white-space: normal; }
  .cmp__table tbody { display: table-row-group; }
  .cmp__table tr, .cmp__table tbody tr { display: table-row; padding: 0; border: 0; }
  .cmp__table th, .cmp__table td { display: table-cell; }
  .cmp__table td::before { content: none; }
  .cmp__table td.cmp__none { display: table-cell; }

  .cmp__table thead td { width: 20%; }
  .cmp__table thead .cmp__them { width: 36%; }
  .cmp__table thead .cmp__us { width: 44%; }
  /* 行の見出しは列の幅に収まらないとき文節で折る (768〜1100px で「送料・運営のやり方」が隣の欄に重なっていた) */
  .cmp__table tbody th { word-break: auto-phrase; }

  .cmp__table th, .cmp__table td,
  .cmp__table td.cmp__them, .cmp__table td.cmp__us {
    margin: 0;
    padding: 1.6rem 1.5rem;
    background: none;
    border-radius: 0;
    text-align: left;
    vertical-align: middle;
  }
  .cmp__table tbody tr > * { border-top: 1px solid var(--line); }
  .cmp__table tbody tr > .cmp__us { border-top-color: rgb(117 84 26 / 0.22); }

  .cmp__table thead th { padding-block: 1.1rem; font-size: 0.9375rem; font-weight: 700; line-height: 1.6; word-break: auto-phrase; text-wrap: balance; }
  .cmp__table thead .cmp__them { color: var(--ink-muted); }
  .cmp__table thead .cmp__us {
    color: var(--kincha);
    font-family: var(--font-latin);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.28em;
  }
  .cmp__table tbody th {
    padding-left: 0;
    font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.3125rem);
  }
  .cmp__table td.cmp__them { color: var(--ink-muted); }
  .cmp__table td.cmp__us {
    padding-inline: clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  }
  .cmp__table thead .cmp__us { padding-inline: clamp(1.5rem, 3vw, 2.5rem); }
}

/* ---------- CUSTOMIZE ---------- */

/* 図は実在の店の画面写真を使えない (他店の屋号・商品が写る) ので、HTML/CSS で描く。
   図の中の名前・金額は一般名詞と例示の値だけ。
   図を置く台は無地の紙の面 (節の地より一段明るい)。 */
.sec--fit {
  background: var(--paper-deep);
}
.fit__head { margin-bottom: var(--block-gap); }
.fit__lead {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 2;
}
@media (min-width: 60em) {
  .fit__head {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
  }
  .fit__heading { grid-column: 1 / -1; }
  .fit__lead { grid-column: 2; margin-top: 2rem; }
}

.fit__group + .fit__group { margin-top: var(--group-gap); }
.fit__groupTitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--kincha);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.fit__groupTitle::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
}
.fit__groupTitle::after {
  content: "";
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 1px;
  background: oklch(0.47 0.085 78 / 0.25);
}
.fit__groupText { min-width: 0; }

.fit__card { margin-top: 1.5rem; }
.fit__card + .fit__card { margin-top: var(--block-gap); }
.fit__body { margin-top: 1.5rem; }
.fit__cardTitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}
.fit__text { margin-top: 0.9rem; color: var(--ink-soft); }
.fit__cap {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin-top: var(--cap-gap);
  color: var(--kincha);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.6;
}
.fit__cap > span { display: block; min-width: 0; }
.fit__cap::before {
  content: "";
  flex: none;
  width: 0.9em;
  height: 2px;
  transform: translateY(-0.3em);
  background: var(--gold);
}

@media (min-width: 60em) {
  .fit__card {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
  .fit__card--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .fit__card--rev .fit__fig { order: 2; }
  .fit__body { margin-top: 0; }
  /* 見た目の図は 3 台並べるので、図を節の幅いっぱいに置き、文はその下で 2 列に */
  .fit__card--show { display: block; }
  .fit__card--show .fit__body {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    margin-top: 2.25rem;
  }
  .fit__card--show .fit__text { margin-top: 0.35rem; }
  /* 送料の表は横に広いので、図の側をもう一段広くとる */
  .fit__card--wide { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* 図の台 */
.viz {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 1rem + 3vw, 3.25rem) clamp(0.9rem, 0.4rem + 2.6vw, 2.75rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--paper);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  overflow-wrap: normal;
}
.viz p { margin: 0; }


/* 図 1・2: 実際に動いているお店の画面に見える描き方。
   画面の中は em で組み、端末の幅 (cqi) に合わせて全体を縮める。実寸の画面写真を縮めたのと同じ見え方になる。
   店名・商品名は架空。写真は assets/img の描き起こし (縦横 1:1、800×800)。 */
:root { --device-shadow: 0 2px 4px oklch(0.27 0.02 60 / 0.12), 0 28px 48px -26px oklch(0.27 0.03 60 / 0.5); }
.shop { container-type: inline-size; min-width: 0; }
.shop__frame {
  padding: 2.6cqi;
  background: oklch(0.22 0.006 60);
  border-radius: 11cqi; /* 端末そのものの形。面の角 4px とは別に扱う */
  box-shadow: var(--device-shadow);
}
.shop__screen {
  overflow: hidden;
  border-radius: 8.6cqi;
  font-family: var(--font-body);
  font-size: calc(100cqi / 21);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.shop .ic { display: block; width: 1.45em; height: 1.45em; }
.shop__cart { position: relative; }
.shop__cart b {
  position: absolute;
  top: -0.35em;
  right: -0.55em;
  min-width: 1.5em;
  padding-inline: 0.3em;
  border-radius: 99em;
  background: var(--sa-accent, #6b4a2b);
  color: #fff;
  font-size: 0.62em;
  line-height: 1.5;
  text-align: center;
}
.shop img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* a: 木の器 そらまめ堂。写真を大きく、明朝で静かに */
.shop--a .shop__screen, .shop--pdp .shop__screen { background: #f8f4ee; color: #2b241e; }
.sa__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.15em;
}
.sa__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02em;
  letter-spacing: 0.16em;
  text-align: center;
  white-space: nowrap;
}
.sa__hero { aspect-ratio: 4 / 4.4; }
.sa__body { padding: 1.35em 1.4em 1.6em; }
.shop .sa__kind { color: #74665a; font-size: 0.72em; letter-spacing: 0.32em; }
.shop .sa__name {
  margin-top: 0.2em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5em;
  letter-spacing: 0.14em;
}
.shop .sa__price, .pdp__price { margin-top: 0.3em; font-family: var(--font-display); font-size: 1.08em; letter-spacing: 0.04em; }
.shop .sa__price small, .pdp__price small { margin-left: 0.45em; color: #74665a; font-family: var(--font-body); font-size: 0.66em; }
.sa__btn, .pdp__btn {
  display: block;
  margin-top: 1.15em;
  padding: 0.95em;
  background: #2b241e;
  color: #f8f4ee;
  font-size: 0.84em;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
}

/* b: 染め屋 あいの。藍と白の強い対比、縦組みの見出し、角のない写真 */
.shop--b .shop__screen { background: #f3f5f8; color: #16233d; }
.sb__head { display: flex; justify-content: space-between; align-items: center; padding: 0.85em 1.05em; background: #1b2b4b; color: #f3f5f8; }
.sb__logo { font-family: "Zen Antique", var(--font-display); font-size: 1.2em; letter-spacing: 0.18em; }
.sb__icons { display: flex; gap: 0.9em; }
.sb__hero { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); background: #1b2b4b; }
.sb__v {
  writing-mode: vertical-rl;
  justify-self: center;
  padding: 1em 0;
  color: #f3f5f8;
  font-family: "Zen Antique", var(--font-display);
  font-size: 1.35em;
  line-height: 1.6;
  letter-spacing: 0.22em;
}
.sb__photo { aspect-ratio: 3 / 4; }
.shop .sb__sec {
  margin: 1.1em 1.05em 0.6em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #1b2b4b;
  font-family: "Zen Antique", var(--font-display);
  font-size: 1em;
  letter-spacing: 0.3em;
}
.sb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75em; padding: 0 1.05em 1.2em; }
.sb__grid img { height: auto; aspect-ratio: 1; border-radius: 0; }
.shop .sb__name { margin-top: 0.45em; font-size: 0.8em; font-weight: 700; line-height: 1.4; }
.sb__price { font-size: 0.84em; font-variant-numeric: tabular-nums; }

/* c: 焼き菓子 ほとり。明るい色、丸ゴシック、やわらかい角丸と丸いボタン */
.shop--c .shop__screen { background: #fff6ec; color: #5a2f22; font-family: "Zen Maru Gothic", var(--font-body); }
.sc__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6em; padding: 0.95em 1.05em 0.6em; }
.sc__logo { color: #e8613f; font-weight: 700; font-size: 1.05em; letter-spacing: 0.08em; text-align: center; white-space: nowrap; }
.sc__cartpill { display: inline-flex; align-items: center; gap: 0.25em; padding: 0.25em 0.65em 0.25em 0.45em; border-radius: 99em; background: #e8613f; color: #fff; font-weight: 700; font-size: 0.8em; }
.sc__cartpill .ic { width: 1.25em; height: 1.25em; }
.sc__banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.2em;
  align-items: center;
  gap: 0.4em;
  margin: 0.2em 0.9em 0;
  padding: 1em 0.6em 1em 1.1em;
  border-radius: 1.4em;
  background: #ffd25e;
}
.sc__catch { font-weight: 700; font-size: 1.3em; line-height: 1.45; letter-spacing: 0.02em; }
.sc__round { aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 0.3em #fff6ec; }
.shop .sc__sec { margin: 1.1em 1.05em 0.55em; font-weight: 700; font-size: 0.95em; }
.sc__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6em; padding: 0 0.9em 1.2em; }
.sc__card { padding: 0.5em 0.5em 0.65em; border-radius: 1.1em; background: #fff; box-shadow: 0 0.2em 0.6em rgb(232 97 63 / 0.12); }
.sc__card img { height: auto; aspect-ratio: 1; border-radius: 0.8em; }
.shop .sc__name { margin-top: 0.4em; font-size: 0.74em; font-weight: 700; line-height: 1.4; }
.sc__price { font-size: 0.8em; }
.sc__btn { display: block; margin-top: 0.45em; padding: 0.4em; border-radius: 99em; background: #e8613f; color: #fff; font-size: 0.72em; font-weight: 700; text-align: center; }

/* d: FUYUNO。白と黒、細い欧文、余白を多く、四角い線のボタン */
.shop--d .shop__screen { background: #fff; color: #121212; font-family: "Zen Kaku Gothic New", var(--font-body); font-weight: 300; }
.sd__head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1em; padding: 1.3em 1.4em 1.1em; }
.sd__logo { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.15em; letter-spacing: 0.42em; }
.sd__nav { display: flex; gap: 0.9em; font-family: "Cormorant Garamond", serif; font-size: 0.66em; letter-spacing: 0.2em; }
.sd__head .ic { width: 1.25em; height: 1.25em; }
.sd__photo { margin: 0.4em 1.4em 0; aspect-ratio: 4 / 5; overflow: hidden; }
.sd__body { padding: 1.6em 1.4em 1.8em; text-align: center; }
.sd__en { font-family: "Cormorant Garamond", serif; font-size: 1.25em; letter-spacing: 0.16em; }
.shop .sd__name { margin-top: 0.3em; font-size: 0.7em; letter-spacing: 0.14em; }
.shop .sd__price { margin-top: 0.9em; font-family: "Cormorant Garamond", serif; font-size: 1.05em; letter-spacing: 0.08em; }
.shop .sd__price small { font-family: "Zen Kaku Gothic New", var(--font-body); }
.sd__btn { display: block; margin-top: 1.3em; padding: 0.9em; box-shadow: inset 0 0 0 1px #121212; font-size: 0.72em; font-weight: 400; letter-spacing: 0.3em; }

/* e: 瓶詰め屋 ころん。元気な色面、太い見出し (小さくてもつぶれない M PLUS 1p の 800)、一覧で選ぶ */
.shop--e .shop__screen { background: #fffaf0; color: #1f2a1c; }
.se__head { display: flex; justify-content: space-between; align-items: center; padding: 0.85em 1.05em; background: #2f8a4c; color: #fff; }
.se__logo { font-family: "M PLUS 1p", var(--font-body); font-weight: 800; font-size: 1.05em; letter-spacing: 0.04em; }
.se__head .shop__cart b { background: #ff8a1f; }
.se__band { display: flex; align-items: center; justify-content: space-between; padding: 0.9em 1.05em; background: #ff8a1f; color: #1f2a1c; }
.se__h { font-family: "M PLUS 1p", var(--font-body); font-weight: 800; font-size: 1.35em; line-height: 1.2; }
.se__tag { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: #fff; color: #2f8a4c; font-family: "M PLUS 1p", var(--font-body); font-weight: 800; font-size: 0.9em; }
.se__list { padding: 0.4em 0.9em 1em; }
.se__list li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr) auto; gap: 0.7em; align-items: center; padding: 0.55em 0; border-bottom: 2px solid #f0e3c6; }
.se__list img { height: auto; aspect-ratio: 1; border-radius: 0.4em; }
.se__name { display: block; font-weight: 700; font-size: 0.86em; }
.se__price { display: block; font-size: 0.82em; font-weight: 700; color: #2f8a4c; }
.se__add { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: #2f8a4c; color: #fff; }
.se__add .ic { width: 1.1em; height: 1.1em; }

/* 並べ方: 広い幅は 5 台を台の下端から生やす (下は台で切れる)。高さを揃えず、中央を一段高く */
.viz--shops { gap: 2.2%; align-items: flex-end; padding-bottom: 0; overflow: hidden; }
.viz--shops .shop { flex: 0 1 18.4%; max-width: 15rem; aspect-ratio: 10 / 15; overflow: hidden; }
.viz--shops .shop__frame { display: flex; height: 112%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.viz--shops .shop__screen { flex: 1; }
.viz--shops .shop--b, .viz--shops .shop--d { aspect-ratio: 10 / 16; }
.viz--shops .shop--c { aspect-ratio: 10 / 17; }
/* 中くらいの幅: 対比の強い 3 店 (藍・明るい色・白黒) */
@media (max-width: 59.99em) {
  .viz--shops .shop--a, .viz--shops .shop--e { display: none; }
  .viz--shops .shop { flex-basis: 30%; }
}
/* 狭い幅: 2 店 (藍と明るい色) を斜めに重ねる */
@media (max-width: 29.99em) {
  .viz--shops { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 1.25rem; }
  .viz--shops .shop--d { display: none; }
  .viz--shops .shop {
    flex: none;
    width: 76%;
    max-width: none;
    aspect-ratio: 10 / 12.5;
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
    mask-image: linear-gradient(#000 72%, transparent);
  }
  .viz--shops .shop--c { align-self: flex-end; margin-top: -30%; aspect-ratio: 10 / 12.5; }
}

/* 図 2: 商品ページ */
.shop--pdp { width: min(100%, 17.5rem); }
.pdp__crumb { padding: 0 1.15em 0.65em; color: #74665a; font-size: 0.68em; }
.pdp__crumb i { margin-inline: 0.5em; font-style: normal; }
.pdp__photo { position: relative; aspect-ratio: 1; }
.pdp__dots { position: absolute; left: 0; right: 0; bottom: 0.85em; display: flex; justify-content: center; gap: 0.45em; }
.pdp__dots i { width: 0.45em; height: 0.45em; border-radius: 50%; background: rgb(255 255 255 / 0.55); }
.pdp__dots i.is-on { background: #fff; }
.pdp__body { padding: 1.05em 1.15em 1.3em; }
.pdp__name { font-family: var(--font-display); font-weight: 500; font-size: 1.35em; letter-spacing: 0.12em; }
.pdp__lead {
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin-top: 0.95em;
  padding: 0.75em 0.85em;
  background: #f1e3c3;
  border-radius: 0.3em;
  box-shadow: inset 0.25em 0 0 #c9a44f;
  color: #5f400f;
}
.pdp__lead .ic { flex: none; width: 1.75em; height: 1.75em; }
.pdp__lead p { font-weight: 700; font-size: 0.9em; line-height: 1.45; }
.pdp__lead p span { display: block; color: #7a5716; font-size: 0.74em; letter-spacing: 0.14em; }
.pdp__qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.95em;
  font-size: 0.8em;
  font-weight: 700;
}
.pdp__step { display: flex; align-items: center; border-radius: 0.3em; box-shadow: inset 0 0 0 1px #d6ccbe; }
.pdp__step i, .pdp__step b { width: 2.3em; padding-block: 0.35em; font-style: normal; text-align: center; }
.pdp__ship { margin-top: 0.75em; color: #74665a; font-size: 0.68em; text-align: center; }

/* 図 3: 管理画面の送料表 */
.win {
  width: 100%;
  max-width: 38rem;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--device-shadow);
}
.win__bar {
  padding: 0.55rem 0.95rem;
  background: var(--band-face);
  color: var(--on-dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.ship { table-layout: fixed; font-variant-numeric: tabular-nums; }
.ship th, .ship td {
  padding: 0.55rem 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.ship thead th {
  background: var(--paper);
  color: var(--ink-muted);
  font-size: 0.6875rem;
  font-weight: 700;
}
.ship thead th:first-child { width: 40%; }
.ship th:first-child { text-align: left; }
.ship tbody th { font-weight: 700; }
.ship tbody tr.is-own > * { background: oklch(0.94 0.045 88); }
.ship tbody tr.is-own > th { box-shadow: inset 3px 0 0 var(--gold); }
.ship tbody tr.is-own td { color: var(--kincha); font-weight: 700; }
.ship__own {
  display: inline-block;
  margin-left: 0.55em;
  padding: 0.05em 0.5em 0.1em;
  background: var(--kincha);
  color: var(--on-dark);
  border-radius: var(--radius);
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  vertical-align: 0.1em;
}
.ship__free {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.95rem 0.9rem;
  font-weight: 700;
}
.ship__field {
  min-width: 5.5em;
  padding: 0.3rem 0.6rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px oklch(0.75 0.02 80);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
/* 狭い幅は、列と行を減らした表にする (横に流さない) */
@media (max-width: 29.99em) {
  .ship .ship__x, .ship .ship__y { display: none; }
  .ship th, .ship td { padding-inline: 0.65rem; }
  .ship thead th:first-child { width: 46%; }
  .ship__own { display: table; margin: 0.2rem 0 0; }
}

/* 図 4: 注文の出どころが 1 つの一覧に入り、受注 → 確認 → 発送 と進む */
.viz--flow { display: block; }
.flow__src, .flow__list, .flow__steps { width: min(100%, 26rem); margin-inline: auto; }
.flow__src {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.flow__src li {
  padding: 0.5rem 0.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.flow__join {
  display: block;
  width: min(100%, 26rem);
  height: 2.25rem;
  margin-inline: auto;
  color: var(--gold);
}
.flow__list {
  padding: 0.7rem 0.95rem 0.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.flow__listHead {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.flow__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.5rem;
}
.flow__list li + li { border-top: 1px solid var(--line); }
.flow__list b {
  flex: none;
  width: 5.75em;
  padding: 0.05rem 0;
  background: var(--tint);
  border-radius: var(--radius);
  color: var(--kincha);
  font-size: 0.6875rem;
  text-align: center;
}
.flow__list i {
  flex: 1 1 auto;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--paper-deep);
}
.flow__list li:nth-child(2) i { margin-right: 22%; }
.flow__list li:nth-child(3) i { margin-right: 10%; }
.flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}
/* 一覧から工程へ降りる線 */
.flow__steps::before {
  content: "";
  position: absolute;
  left: calc(50% - 0.75px);
  bottom: 100%;
  width: 1.5px;
  height: 1.75rem;
  background: var(--gold);
}
.flow__steps li {
  position: relative;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700;
  text-align: center;
}
.flow__steps li:last-child { color: var(--on-dark); }
.flow__steps li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 0.3rem);
  width: 1.15rem;
  height: 0.6rem;
  transform: translateY(-50%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 10'%3E%3Cpath d='M0 5h16M12 1l4 4-4 4' fill='none' stroke='%23a98a3e' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* ---------- 図の動き (画面に入ったら一度だけ) ----------
   何も付いていない状態が完成形。JS が .is-armed:not(.is-play) を付けたときだけ始めの状態にし、
   .is-play で完成形まで動かす。終わると両方外れて完成形に戻る (JS なし・動きを減らす設定でも完成形)。 */

/* 図 1: 同じテンプレートの画面が、1 店ずつそのお店の見た目に着替わる */
.shop__screen { position: relative; }
.shop__plain {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  padding: 1.1em 1.15em;
  background: #ededea;
  opacity: 0;
  pointer-events: none;
}
.shop__plain i { display: block; border-radius: 0.2em; background: #d6d6d2; }
.shop__plain .pl__bar { height: 1.5em; }
.shop__plain .pl__img { aspect-ratio: 1; background: #dcdcd8; }
.shop__plain .pl__ln { height: 0.8em; width: 72%; }
.shop__plain .pl__ln--s { width: 44%; }
.shop__plain .pl__btn { height: 2.4em; background: #c8c8c3; }
.is-armed:not(.is-play) .shop__plain { opacity: 1; }
.is-play .shop__plain { animation: plain-off 0.6s var(--ease-out) both; }
.is-play .shop__frame { animation: lift 0.7s var(--ease-out) both; }
/* 5 店でも 3 秒に収める (0.42 秒ずつずらす) */
.is-play .shop--a .shop__plain, .is-play .shop--a .shop__frame { animation-delay: 0.3s; }
.is-play .shop--b .shop__plain, .is-play .shop--b .shop__frame { animation-delay: 0.72s; }
.is-play .shop--c .shop__plain, .is-play .shop--c .shop__frame { animation-delay: 1.14s; }
.is-play .shop--d .shop__plain, .is-play .shop--d .shop__frame { animation-delay: 1.56s; }
.is-play .shop--e .shop__plain, .is-play .shop--e .shop__frame { animation-delay: 1.98s; }
@keyframes plain-off {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: scale(1.05); }
}
@keyframes lift {
  0%, 100% { transform: none; }
  45% { transform: translate3d(0, -8px, 0); }
}

/* 図 2: 画面が少し下へ送られ、発送までの目安で止まる */
.shop--pdp .shop__screen { display: flex; flex-direction: column; height: 36em; }
.shop--pdp .sa__head { position: relative; z-index: 2; background: #f8f4ee; box-shadow: 0 1px 0 #e8e0d4; }
.pdp__scroll { flex: none; transform: translate3d(0, -9em, 0); }
.pdp__lead { position: relative; }
.pdp__lead::after {
  content: "";
  position: absolute;
  inset: -0.3em;
  border-radius: 0.5em;
  box-shadow: 0 0 0 0.14em #c9a44f;
}
.is-armed:not(.is-play) .pdp__scroll { transform: none; }
.is-armed:not(.is-play) .pdp__lead::after { opacity: 0; }
.is-play .pdp__scroll { animation: pdp-scroll 1.1s cubic-bezier(0.45, 0, 0.2, 1) 0.3s both; }
.is-play .pdp__lead { animation: pop 0.45s var(--ease-out) 1.4s both; }
.is-play .pdp__lead::after { animation: ring 0.5s var(--ease-out) 1.4s both; }
@keyframes pdp-scroll {
  from { transform: none; }
  to { transform: translate3d(0, -9em, 0); }
}
@keyframes pop {
  0% { transform: none; }
  45% { transform: scale(1.04); }
  100% { transform: none; }
}
@keyframes ring {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: none; }
}

/* 図 3: 北海道・沖縄に「お店独自」が付いて値が書き換わり、送料無料の金額が入る */
.sv { display: inline-grid; }
.sv > span { grid-area: 1 / 1; }
.sv__old { opacity: 0; }
.is-armed:not(.is-play) .sv__old { opacity: 1; }
.is-armed:not(.is-play) .sv__new, .is-armed:not(.is-play) .ship__own, .is-armed:not(.is-play) .ship__val { opacity: 0; }
.is-armed:not(.is-play) .ship tbody tr.is-own > * { background-color: var(--surface); color: var(--ink); }
.is-armed:not(.is-play) .ship tbody tr.is-own > th { box-shadow: none; }
.is-play .ship tbody tr.is-own > * { animation: own-row 0.5s var(--ease-out) both; }
.is-play .ship tbody tr.is-own > * { animation-delay: 0.3s; }
.is-play .ship tbody tr.is-own:last-child > * { animation-delay: 0.65s; }
.is-play .ship__own { animation: tag-in 0.45s var(--ease-expo) 0.4s both; }
.is-play .ship tbody tr.is-own:last-child .ship__own { animation-delay: 0.75s; }
.is-play .sv__old { animation: val-out 0.35s var(--ease-out) both; }
.is-play .sv__new { animation: val-in 0.45s var(--ease-expo) both; }
.is-play tr.is-own td:nth-child(2) .sv > span { animation-delay: 0.75s; }
.is-play tr.is-own td:nth-child(3) .sv > span { animation-delay: 0.83s; }
.is-play tr.is-own td:nth-child(4) .sv > span { animation-delay: 0.91s; }
.is-play tr.is-own:last-child td:nth-child(2) .sv > span { animation-delay: 1.1s; }
.is-play tr.is-own:last-child td:nth-child(3) .sv > span { animation-delay: 1.18s; }
.is-play tr.is-own:last-child td:nth-child(4) .sv > span { animation-delay: 1.26s; }
.is-play .ship__val { animation: val-in 0.45s var(--ease-expo) 1.75s both; }
.is-play .ship__field { animation: field-on 0.6s var(--ease-out) 1.75s both; }
@keyframes own-row {
  from { background-color: var(--surface); color: var(--ink); box-shadow: none; }
}
@keyframes tag-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
@keyframes val-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(0, -60%, 0); }
}
@keyframes val-in {
  from { opacity: 0; transform: translate3d(0, 60%, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes field-on {
  0% { box-shadow: inset 0 0 0 1px oklch(0.75 0.02 80); }
  40% { box-shadow: inset 0 0 0 2px var(--gold); }
  100% { box-shadow: inset 0 0 0 1px oklch(0.75 0.02 80); }
}

/* 図 4: 3 つの出どころから 1 件ずつ一覧に入り、受注 → 確認 → 発送 と進む */
.flow__steps li { isolation: isolate; }
.flow__steps li::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--ink);
  opacity: 0;
}
.flow__steps li:last-child { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.flow__steps li:last-child::after { opacity: 1; }
.is-armed:not(.is-play) .flow__list li { opacity: 0; }
.is-armed:not(.is-play) .flow__join { opacity: 0.25; }
.is-armed:not(.is-play) .flow__steps li:last-child { color: var(--ink); }
.is-armed:not(.is-play) .flow__steps li:last-child::after { opacity: 0; }
.is-play .flow__join { animation: fade-in 0.5s linear 0.2s both; }
.is-play .flow__src li { animation: ping 0.45s var(--ease-out) both; }
.is-play .flow__list li { animation: row-in 0.5s var(--ease-expo) both; }
.is-play .flow__src li:nth-child(1) { animation-delay: 0.2s; }
.is-play .flow__src li:nth-child(2) { animation-delay: 0.75s; }
.is-play .flow__src li:nth-child(3) { animation-delay: 1.3s; }
.is-play .flow__list li:nth-child(1) { animation-delay: 0.45s; }
.is-play .flow__list li:nth-child(2) { animation-delay: 1s; }
.is-play .flow__list li:nth-child(3) { animation-delay: 1.55s; }
.is-play .flow__steps li:nth-child(1) { animation: step-pass 0.6s var(--ease-out) 2s both; }
.is-play .flow__steps li:nth-child(2) { animation: step-pass 0.6s var(--ease-out) 2.35s both; }
.is-play .flow__steps li:nth-child(1)::after { animation: step-pass-bg 0.6s var(--ease-out) 2s both; }
.is-play .flow__steps li:nth-child(2)::after { animation: step-pass-bg 0.6s var(--ease-out) 2.35s both; }
.is-play .flow__steps li:nth-child(3) { animation: step-on 0.4s var(--ease-out) 2.7s both; }
.is-play .flow__steps li:nth-child(3)::after { animation: fade-in 0.4s var(--ease-out) 2.7s both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping {
  0%, 100% { transform: none; }
  40% { transform: translate3d(0, 4px, 0) scale(0.95); }
}
@keyframes row-in {
  from { opacity: 0; transform: translate3d(0, -12px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes step-pass { 0%, 100% { color: var(--ink); } 35%, 65% { color: var(--on-dark); } }
@keyframes step-pass-bg { 0%, 100% { opacity: 0; } 35%, 65% { opacity: 1; } }
@keyframes step-on { from { color: var(--ink); } to { color: var(--on-dark); } }

/* お店の画面: 細部 */
.sa__note { padding: 0.5em 0.8em; background: #2b241e; color: #efe6d8; font-size: 0.66em; letter-spacing: 0.08em; text-align: center; }
.sb__price small, .sc__item small, .sa__price small { margin-left: 0.25em; font-size: 0.72em; opacity: 0.8; }
.fit__card--show .fit__body { align-items: start; }

/* ---------- 重さ・箱の大きさの図 (触って試せる) ----------
   器の数・箱の大きさ・送り先のボタンで、絵と送料が切り替わる。送料は送料表の値と同じ。
   器 1 点 = 60、2 点 = 80、3 点 = 100 (箱の大きさを押したときは、その箱に入る数にそろえる)。 */
.viz--pack { padding-block: clamp(1.25rem, 1rem + 2vw, 2.25rem); }
.pack { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; width: 100%; }
.pack__svg { width: min(100%, 17rem); height: auto; overflow: visible; }
.carton { opacity: 0; transform: scale(0.94); transform-box: fill-box; transform-origin: 50% 60%; transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-expo); }
.viz--pack[data-state="1"] .carton--1,
.viz--pack[data-state="2"] .carton--2,
.viz--pack[data-state="3"] .carton--3 { opacity: 1; transform: none; }
.pack__panel {
  width: min(100%, 16.5rem);
  padding: 0.85rem 1rem 0.95rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--device-shadow);
  font-size: 0.875rem;
}
.pack__items li { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.viz--pack[data-state="1"] .pk--2, .viz--pack[data-state="1"] .pk--3, .viz--pack[data-state="2"] .pk--3 { display: none; }
.pack__items b, .pack__sum > b { margin-left: auto; font-variant-numeric: tabular-nums; }
.sw { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 2px; background: #e8dfd0; box-shadow: inset 0 0 0 1px #c9bba4; }
.pack__sum { display: flex; padding: 0.45rem 0 0.2rem; font-weight: 700; }
.pack__ctl { margin-top: 0.55rem; }
.pack__lbl { color: var(--ink-soft); font-size: 0.8125rem; font-weight: 700; }
.pack__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.35rem; margin-top: 0.25rem; }
.pc {
  position: relative;
  isolation: isolate;
  min-height: 2.75rem;
  padding: 0 0.2rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: inset 0 0 0 1px oklch(0.8 0.015 80);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out);
}
.pc::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); opacity: 0; transition: opacity var(--dur-ui) var(--ease-out); }
.pc[aria-pressed="true"] { color: var(--on-dark); box-shadow: none; }
.pc[aria-pressed="true"]::after { opacity: 1; }
@media (hover: hover) { .pc:hover:not([aria-pressed="true"]) { background: var(--paper); } }
.pc:active { transform: scale(0.95); transition-duration: var(--dur-press); }
.pack__fee { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-top: 0.7rem; padding-top: 0.55rem; border-top: 1px solid var(--line); font-weight: 700; }
.pack__fee b { flex: none; color: var(--kincha); font-size: 1.125rem; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
/* （税込）は金額の下に小さく。360px の幅で「80サイズ・東京都」と金額を 1 行ずつに収めるため */
.pack__fee b small { display: block; margin-top: -0.1rem; color: var(--ink-soft); font-size: 0.75rem; line-height: 1.4; }
.pack__cap { margin-top: 0.2rem; color: var(--ink-soft); font-size: 0.8125rem; }
.pack__fee.is-changed b { animation: val-in 0.4s var(--ease-expo); }
@media (prefers-reduced-motion: reduce) {
  .carton, .pc, .pc::after { transition: none; }
  .pack__fee.is-changed b { animation: none; }
}
/* 最初のデモ (画面に入ったら一度だけ): 器が 1 つ入ると 60、2 つ目で 80 に上がり、送料が決まる */
.is-armed:not(.is-play) .carton--2 .bx, .is-armed:not(.is-play) .pk, .is-armed:not(.is-play) .pack__sum, .is-armed:not(.is-play) .pack__fee { opacity: 0; }
.is-armed:not(.is-play) .pc--size-80 { color: var(--ink-soft); box-shadow: inset 0 0 0 1px oklch(0.8 0.015 80); }
.is-armed:not(.is-play) .pc--size-80::after { opacity: 0; }
.is-play .carton--2 .bx { animation: drop 0.6s var(--ease-expo) both; }
.is-play .carton--2 .bx--1 { animation-delay: 0.3s; }
.is-play .carton--2 .bx--2 { animation-delay: 1.2s; }
.is-play .pk { animation: row-in 0.45s var(--ease-expo) both; }
.is-play .pk--1 { animation-delay: 0.45s; }
.is-play .pk--2 { animation-delay: 1.35s; }
.is-play .pack__sum { animation: fade-in 0.4s var(--ease-out) 1.5s both; }
.is-play .pc--size-60 { animation: sz-blip-c 1s var(--ease-out) 0.65s both; }
.is-play .pc--size-60::after { animation: sz-blip 1s var(--ease-out) 0.65s both; }
.is-play .pc--size-80 { animation: step-on 0.35s var(--ease-out) 1.6s both; }
.is-play .pc--size-80::after { animation: fade-in 0.35s var(--ease-out) 1.6s both; }
.is-play .pack__fee { animation: val-in 0.45s var(--ease-expo) 1.95s both; }
@keyframes drop {
  from { opacity: 0; transform: translate3d(0, -56px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes sz-blip { 0%, 100% { opacity: 0; } 15%, 75% { opacity: 1; } }
@keyframes sz-blip-c { 0%, 100% { color: var(--ink-soft); } 15%, 75% { color: var(--on-dark); } }

/* ---------- FEATURES ---------- */
.sec--feat { background: var(--surface); }
.feat__lead { margin-top: 1.5rem; color: var(--ink-soft); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); line-height: 2; }
.feats { display: grid; gap: var(--block-gap) 2rem; }
@media (min-width: 40em) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 狭い幅: 小さな画面の切り出しは 4:3 の枠をやめ、中身の高さに合わせる (上下の空きを減らす) */
@media (max-width: 39.99em) { .feats .feat__ui { aspect-ratio: auto; padding: 1.5rem 1rem; } }
@media (min-width: 64em) {
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 3.5vw, 3.5rem); }
  /* 中の列を半段下げて、3 列の箱積みに見せない */
  .feats > :nth-child(3n + 2) { margin-top: 3rem; }
}
.feat__ui {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1.1rem;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.feat__ui p, .feat__ui ul { margin: 0; }
.feat__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  line-height: 1.55;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
}
.feat__text { margin-top: 0.5rem; color: var(--ink-soft); }

.fu {
  width: 100%;
  max-width: 15.5rem;
  padding: 0.8rem;
  background: #fcfbf8;
  border-radius: 6px;
  box-shadow: var(--device-shadow);
  color: var(--ink);
}
.fu img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fu .ic { display: block; flex: none; width: 1.15rem; height: 1.15rem; }
.fu--calm { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.4rem 0.75rem; align-items: center; }
.fu--calm .fu__thumb { aspect-ratio: 1; border-radius: 3px; overflow: hidden; }
.fu__name { font-weight: 700; font-size: 0.875rem; }
.fu__price small { margin-left: 0.2em; font-size: 0.8em; color: var(--ink-muted); }
.fu__stock { margin-top: 0.25rem; color: #3f6b46; font-weight: 700; }
.fu__no { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; padding-top: 0.55rem; border-top: 1px dashed var(--line); }
.fu__no li { padding: 0.05rem 0.45rem; border-radius: 3px; background: #efe3df; color: #8f4535; text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: 0.6; }
.fu--read { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; gap: 0.6rem; }
.fu__tag { color: var(--kincha); font-weight: 700; letter-spacing: 0.12em; }
.fu__head { margin-top: 0.15rem; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; line-height: 1.45; }
.fu__art i { display: block; height: 0.4rem; margin-top: 0.45rem; border-radius: 2px; background: var(--paper-deep); }
.fu__art i.s { width: 60%; }
.fu--read .fu__thumb { aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; }
.fu__link { grid-column: 1 / -1; padding: 0.45rem 0.6rem; background: var(--paper); border-radius: 3px; font-weight: 700; }
.fu__link span { display: block; color: var(--ink-muted); font-weight: 400; font-size: 0.6875rem; }
.fu__opt { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.65rem; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.fu__opt + .fu__opt { margin-top: 0.45rem; }
.fu__opt i { flex: none; width: 0.9rem; height: 0.9rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-muted); }
.fu__opt b { margin-left: auto; }
.fu__opt small { font-weight: 400; color: var(--ink-muted); }
.fu__opt.is-on { background: oklch(0.96 0.03 88); box-shadow: inset 0 0 0 1.5px var(--gold); }
.fu__opt.is-on i { box-shadow: inset 0 0 0 1.5px var(--kincha), inset 0 0 0 4px #fcfbf8, inset 0 0 0 9px var(--kincha); }
.fu__next { margin-top: 0.6rem; color: var(--kincha); font-weight: 700; }
.fu__note { display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.6rem; border-radius: 4px; background: var(--paper); font-weight: 700; }
.fu__note + .fu__note { margin-top: 0.4rem; }
.fu__note .ic { color: var(--kincha); }
.fu__receipt { display: flex; justify-content: space-between; align-items: center; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid var(--line); font-weight: 700; }
.fu__receipt b { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.55rem; border-radius: 3px; background: var(--ink); color: var(--on-dark); }
.fu__receipt b .ic { width: 0.95rem; height: 0.95rem; }
.fu--law { background: oklch(0.3 0.008 60); color: oklch(0.93 0.008 85); }
.fu__foot { color: oklch(0.82 0.03 85); font-weight: 700; letter-spacing: 0.1em; }
.fu--law ul { margin-top: 0.4rem; }
.fu--law li { display: flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.4rem; border-radius: 3px; }
.fu--law li .ic { width: 0.95rem; height: 0.95rem; color: var(--gold); }
.fu--law li.is-on { background: oklch(0.38 0.03 80); font-weight: 700; }
.fu__statHead { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.fu__statHead b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.fu__src li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) 2.6em; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.fu__src i { display: block; height: 0.5rem; width: var(--w); border-radius: 2px; background: var(--gold); }
.fu__src li:first-child i { background: var(--kincha); }
.fu__src b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- HOW TO BUY: 注文までの流れ ---------- */
.sec--buy { background: var(--paper); }
.buy__lead { margin-top: 1.5rem; color: var(--ink-soft); }
.viz--order { flex-direction: column; background-color: var(--surface); }
/* 既定 (JS なし・動きを減らす設定): 5 つの画面を並べた静止の形 */
.order { width: 100%; }
.order__screen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 1rem; }
.os {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 9 / 17.5;
  overflow: hidden;
  background: #f8f4ee;
  border-radius: 0.9rem;
  box-shadow: var(--device-shadow);
}
.os__in {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #2b241e;
  font-family: var(--font-body);
  font-size: calc(100cqi / 21);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.os .ic { display: block; width: 1.4em; height: 1.4em; }
.os img { display: block; width: 100%; height: 100%; object-fit: cover; }
.os__bar { display: grid; grid-template-columns: 1.4em minmax(0, 1fr) 1.4em; align-items: center; gap: 0.5em; padding: 0.95em 1.1em; }
.os__logo { font-family: var(--font-display); font-weight: 700; font-size: 0.95em; letter-spacing: 0.14em; text-align: center; white-space: nowrap; }
.os__title { font-weight: 700; text-align: center; }
.os__scroll { flex: 1; overflow: hidden; }
.os__photo { aspect-ratio: 1 / 0.86; }
.os__pad { padding: 0.95em 1.15em; }
.os__name { font-family: var(--font-display); font-weight: 500; font-size: 1.3em; letter-spacing: 0.12em; }
.os__price { font-family: var(--font-display); font-size: 1.05em; }
.os__price small, .os__total small { margin-left: 0.3em; color: #74665a; font-family: var(--font-body); font-size: 0.66em; }
.os__lead { display: flex; align-items: center; gap: 0.55em; margin-top: 0.7em; padding: 0.6em 0.7em; background: #f1e3c3; border-radius: 0.3em; box-shadow: inset 0.22em 0 0 #c9a44f; color: #5f400f; font-size: 0.8em; font-weight: 700; line-height: 1.4; }
.os__lead b { display: block; font-size: 0.85em; letter-spacing: 0.12em; }
.os__qty { display: flex; justify-content: space-between; align-items: center; margin-top: 0.8em; font-size: 0.78em; font-weight: 700; }
.os__step { display: flex; border-radius: 0.3em; box-shadow: inset 0 0 0 1px #d6ccbe; }
.os__step i, .os__step b { width: 2.2em; padding-block: 0.3em; font-style: normal; text-align: center; }
.os__cta { margin-top: auto; padding: 0.85em 1.1em 1.25em; background: #f8f4ee; box-shadow: 0 -1px 0 #e6ddd0; }
.os__btn {
  display: block;
  padding: 0.95em 0.5em;
  border-radius: 0.3em;
  background: #2b241e;
  color: #f8f4ee;
  font-size: 0.84em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
}
.os__btn--line { background: transparent; color: #2b241e; box-shadow: inset 0 0 0 1px #2b241e; }
.os--2 .os__in { background: #f8f4ee url("img/wood-bowl.svg") 50% 12% / 100% auto no-repeat; }
.os__dim { position: absolute; inset: 0; background: rgb(24 19 14 / 0.45); }
.os__sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6em 1.15em 1.25em; background: #fcfaf6; border-radius: 1.2em 1.2em 0 0; }
.os__grip { display: block; width: 2.6em; height: 0.3em; margin: 0 auto; border-radius: 1em; background: #d6ccbe; }
.os__h { margin-top: 0.7em; font-weight: 700; font-size: 1.05em; }
.os__item { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 0.75em; align-items: center; margin-top: 0.7em; padding-bottom: 0.8em; border-bottom: 1px solid #e6ddd0; }
.os__item img { height: 3.4em; border-radius: 0.35em; }
.os__item span { display: block; font-size: 0.8em; }
.os__item b { font-size: 0.9em; }
.os__sum { display: flex; justify-content: space-between; margin-top: 0.7em; font-weight: 700; }
.os__fine { margin-top: 0.3em; margin-bottom: 0.9em; color: #6f6357; font-size: 0.66em; }
.os__textlink { margin-top: 0.75em; font-size: 0.74em; text-align: center; text-decoration: underline; text-underline-offset: 0.25em; }
.os__steps { display: flex; justify-content: center; gap: 0.4em; padding: 0 1.1em 0.7em; border-bottom: 1px solid #e6ddd0; color: #8a7d70; font-size: 0.68em; }
.os__steps li + li::before { content: "›"; margin-right: 0.4em; color: #b8ab9b; }
.os__steps .is-on { color: #2b241e; font-weight: 700; }
.os__steps .is-done { color: #7a5716; }
.os__form { padding: 0.2em 1.15em; }
.os__form p { margin-top: 0.65em; }
.os__form span, .os__field span { display: block; color: #5f554b; font-size: 0.66em; font-weight: 700; }
.os__form em, .os__field em {
  display: block;
  min-height: 2.05em;
  margin-top: 0.2em;
  padding: 0.45em 0.65em;
  border-radius: 0.3em;
  box-shadow: inset 0 0 0 1px #ddd3c4;
  background: #fff;
  color: #9b8f82;
  font-size: 0.76em;
  font-style: normal;
}
.os__card { margin: 0.8em 1.15em 0; padding: 0.7em 0.8em 0.85em; border-radius: 0.4em; box-shadow: inset 0 0 0 1.5px #c9a44f; background: #fffdf8; }
.os__radio { display: flex; align-items: center; gap: 0.5em; font-size: 0.8em; font-weight: 700; }
.os__radio i { width: 1em; height: 1em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #7a5716, inset 0 0 0 3.5px #fffdf8, inset 0 0 0 8px #7a5716; }
.os__field { margin-top: 0.55em; }
.os__half { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.os__total { margin: 0.8em 1.15em 0; font-size: 0.78em; }
.os__total div { display: flex; justify-content: space-between; padding-block: 0.2em; }
.os__total dd { margin: 0; font-variant-numeric: tabular-nums; }
.os__total .is-sum { margin-top: 0.3em; padding-top: 0.45em; border-top: 1px solid #e6ddd0; font-weight: 700; font-size: 1.1em; }
.os__done { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 2.4em 1.4em 1.4em; text-align: center; }
.os__mark { display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: #2b241e; color: #f2e6c8; }
.os__mark .ic { width: 1.8em; height: 1.8em; }
.os__thanks { margin-top: 1em; font-family: var(--font-display); font-weight: 700; font-size: 1.12em; letter-spacing: 0.06em; }
.os__msg { margin-top: 0.8em; color: #5c5148; font-size: 0.72em; line-height: 1.85; text-align: left; }
.os__no { margin-top: 0.8em; padding: 0.35em 0.9em; border-radius: 0.3em; background: #efe6d6; font-size: 0.78em; font-weight: 700; }
.os__done .os__btn { align-self: stretch; margin-top: auto; }
.order__tap { display: none; }
.order__pause {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: center;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-ui) var(--ease-out);
}
.order__pause[hidden] { display: none; }
.order__pause:active { transform: scale(0.96); transition-duration: var(--dur-press); }
@media (hover: hover) { .order__pause:hover { background: var(--tint); } }
.order__pause .i-play { display: none; }
.is-paused .order__pause .i-play { display: inline; }
.is-paused .order__pause .i-pause { display: none; }

/* 決済ページ: お店の画面とは別のページ。白地・別のドメイン・鍵の印で、移ったことが分かるようにする。
   実在の決済会社の名前・見た目は使わない (一般的な決済ページの作り) */
.os--pay .os__in { background: #fff; color: #1d2126; }
.pay__url {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1em;
  background: #eef0f3;
  color: #2e3a46;
  font-size: 0.72em;
}
.pay__url .ic { width: 1.25em; height: 1.25em; color: #2f6b4f; }
.pay__dom { font-weight: 700; letter-spacing: 0.02em; }
.pay__tag { margin-left: auto; padding: 0.1em 0.6em; border-radius: 1em; background: #fff; color: #2e3a46; font-weight: 700; }
.pay__load { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #3d7be0; transform: scaleX(1); transform-origin: 0 50%; opacity: 0; }
.pay__view { position: relative; flex: 1; overflow: hidden; }
.pay__scroll { padding: 1em 1.15em 2.4em; }
.pay__top { padding-bottom: 0.8em; border-bottom: 1px solid #e3e6ea; }
.pay__shop { color: #5b6570; font-size: 0.74em; font-weight: 700; }
.pay__amt { margin-top: 0.1em; font-size: 1.55em; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.pay__sum { margin-top: 0.5em; color: #5b6570; font-size: 0.74em; }
.pay__sum div { display: flex; justify-content: space-between; padding-block: 0.15em; }
.pay__sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.pay__h { margin-top: 1.6em; font-size: 0.82em; font-weight: 700; }
.pay__f { margin-top: 0.75em; }
.pay__f span { display: block; color: #5b6570; font-size: 0.64em; }
.pay__f em {
  display: block;
  margin-top: 0.15em;
  padding: 0.85em 0.75em;
  border-radius: 0.35em;
  box-shadow: inset 0 0 0 1px #cfd5dc;
  color: #2e3a46;
  font-size: 0.82em;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.pay__half { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.pay__btn { display: block; margin-top: 2em; padding: 0.95em; border-radius: 0.4em; background: #1d2126; color: #fff; font-size: 0.86em; font-weight: 700; text-align: center; }
.os--4 .os__done { height: auto; flex: 1; padding-top: 1.6em; }
/* 静止の形では、決済ページは縦に全部見せる */
.os--pay { aspect-ratio: auto; }

/* 動かすとき: 1 台のスマホで、商品 → カート → (決済ページへ移る) → 入力して支払う → (お店へ戻る) → 注文完了。
   見ている間だけ 14 秒でゆっくり繰り返し、画面の外では止める */
.is-live .order {
  width: min(100%, 16.5rem);
  margin-inline: auto;
  padding: 0.45rem;
  background: oklch(0.22 0.006 60);
  border-radius: 2.1rem;
  box-shadow: var(--device-shadow);
}
.is-live .order__screen { position: relative; display: block; aspect-ratio: 9 / 18.5; overflow: hidden; border-radius: 1.7rem; background: #f8f4ee; }
.is-live .os { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.is-live .os--1 { z-index: 1; } .is-live .os--2 { z-index: 2; } .is-live .os--3 { z-index: 3; } .is-live .os--4 { z-index: 4; }
.is-live .os--2, .is-live .os--2 .os__in { background: transparent; }
.is-live .order__tap { position: absolute; inset: 0; z-index: 6; display: block; pointer-events: none; }
.is-live .order__tap::after {
  content: "";
  position: absolute;
  left: calc(50% - 1.3rem);
  top: calc(93.8% - 1.3rem); /* 下に固定したボタンの中心 (実測) */
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.32);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.9), 0 4px 14px rgb(0 0 0 / 0.28);
}
.is-live .os--2 .os__dim { animation: o-dim 14s linear infinite; }
.is-live .os--2 .os__sheet { animation: o-sheet 14s linear infinite; }
.is-live .os--3 { animation: o-pay 14s linear infinite; }
.is-live .pay__load { animation: o-load 14s linear infinite; }
.is-live .pay__scroll { animation: o-scroll 14s linear infinite; }
.is-live .os--4 { animation: o-done 14s linear infinite; }
.is-live .order__tap { animation: o-tap 14s linear infinite; }
.is-live .order__tap::after { animation: o-dot 14s linear infinite; }
.is-live .order, .is-live .order *, .is-live .order__tap::after { animation-play-state: paused; }
.is-live.is-running:not(.is-paused) .order,
.is-live.is-running:not(.is-paused) .order *,
.is-live.is-running:not(.is-paused) .order__tap::after { animation-play-state: running; }

@keyframes o-dim { 0%, 13.6% { opacity: 0; } 17.1%, 89% { opacity: 1; } 89.1%, 100% { opacity: 0; } }
@keyframes o-sheet {
  0%, 13.6% { transform: translate3d(0, 100%, 0); animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1); }
  17.1%, 89% { transform: none; }
  89.1%, 100% { transform: translate3d(0, 100%, 0); }
}
/* 決済ページへ移る: いったん白くなって、別のページが立ち上がる */
@keyframes o-pay {
  0%, 27.1% { opacity: 0; transform: scale(0.97); animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
  31.4%, 89% { opacity: 1; transform: none; }
  89.1%, 100% { opacity: 0; transform: scale(0.97); }
}
@keyframes o-load {
  0%, 27.1% { opacity: 1; transform: scaleX(0); }
  33% { opacity: 1; transform: scaleX(1); }
  35%, 100% { opacity: 0; transform: scaleX(1); }
}
@keyframes o-scroll {
  0%, 42.9% { transform: none; animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1); }
  54.3%, 89% { transform: translate3d(0, var(--pay-y, -12em), 0); }
  89.1%, 100% { transform: none; }
}
/* お店の注文完了ページへ戻る */
@keyframes o-done {
  0%, 61.4% { opacity: 0; transform: scale(1.02); animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
  65.7%, 90% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: none; }
}
/* タップの印: 近づいて、押して、離れる。2 回目はシートのボタン、3 回目は送ったあとの「支払う」 */
@keyframes o-tap {
  0%, 8.2% { opacity: 0; transform: translate3d(12%, 5%, 0); }
  10.4%, 11.43% { opacity: 1; transform: none; }
  13.6%, 21.8% { opacity: 0; transform: translate3d(12%, -3%, 0); }
  23.9%, 25% { opacity: 1; transform: translate3d(0, -2.6%, 0); } /* シートのボタンは 91.2% (実測) */
  27.1%, 55.4% { opacity: 0; transform: translate3d(12%, var(--tap3-y, -10%), 0); }
  57.5%, 58.6% { opacity: 1; transform: translate3d(0, var(--tap3-y, -10%), 0); }
  60.7%, 100% { opacity: 0; transform: translate3d(0, var(--tap3-y, -10%), 0); }
}
@keyframes o-dot {
  0%, 10.8% { transform: none; } 11.43% { transform: scale(0.8); } 12.5% { transform: scale(1.15); }
  12.6%, 24.4% { transform: none; } 25% { transform: scale(0.8); } 26.1% { transform: scale(1.15); }
  26.2%, 58% { transform: none; } 58.6% { transform: scale(0.8); } 59.7% { transform: scale(1.15); }
  59.8%, 100% { transform: none; }
}

@media (min-width: 60em) {
  .sec--buy .split { align-items: center; }
}

/* ---------- 人物の挿し絵 ----------
   地は透過済み (どの節の地にもなじむ)。役と動きだけの装飾なので alt は空。揺れ続ける動きはなし */
.ppl { display: block; width: clamp(132px, 7vw + 96px, 220px); height: auto; }
.sec__head .ppl { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.js .sec__head[data-reveal] > .ppl { transition-delay: 0.25s; }
.fit__body .ppl { width: clamp(132px, 6vw + 100px, 190px); margin-top: 1.75rem; }
.sumfit__side { display: grid; gap: 1.25rem; justify-items: start; }
.ppl--pair { width: clamp(150px, 8vw + 110px, 230px); }
@media (min-width: 60em) {
  .feat__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 5vw, 5rem); align-items: end; }
  .feat__head > :not(.ppl) { grid-column: 1; }
  .feat__head .ppl { grid-column: 2; grid-row: 1 / span 3; margin: 0 0 -0.5rem; width: clamp(180px, 15vw, 230px); }
}
.next__in--ppl { grid-template-columns: 1fr; }
.next__in--ppl .ppl { width: clamp(120px, 8vw + 90px, 200px); margin-bottom: 0.5rem; }
@media (min-width: 48em) {
  .next__in--ppl { grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; align-items: end; }
  .next__in--ppl .ppl { grid-row: 1 / span 2; justify-self: start; margin-bottom: -0.5rem; }
  .next__in--ppl > :not(.ppl) { grid-column: 2; justify-self: end; }
}

/* ---------- 図の注記 (※画面は…架空のお店です 等) ----------
   注記は本文と同じくらい読める大きさに (文言の一覧の指定)。0.8125rem、色は置く地の色に対して 4.5:1 を
   わずかに超える所まで濃くした (本文の墨よりは薄く、図の邪魔をしない控えめさは保つ)。地ごとに切り替える */
:root { --note: #746c63; }               /* 紙の地・図の台 (#f6f3ef に対して 4.67) */
.sec--fit, .next--deep, .sec--price, .sec--who { --note: #6b635a; }  /* 濃いめの紙 (#e7e3d9 に対して 4.61) */
.sec--feat, .sec--sumprice, .next--surface { --note: #797168; }      /* 白に近い地 (#fcfbf8 に対して 4.64) */
.fig-note { display: block; margin-top: 0.15rem; word-break: auto-phrase; color: var(--note); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.02em; line-height: 1.65; }
.fig-note--r { margin-top: 0.5rem; text-align: right; }

/* ---------- WHAT WE DO ---------- */

.works { display: grid; gap: 0; }
.works__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.works__item:last-child { padding-bottom: 0; }
.works__no {
  grid-row: 1 / span 2;
  color: var(--kincha);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.125rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.works__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.works__text {
  margin-top: 0.5rem;
  color: var(--ink-soft);
}
@media (min-width: 40em) {
  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: clamp(2rem, 4vw, 3.5rem);
  }
  .works__item {
    display: block;
    padding-block: 1.5rem 0;
  }
  .works__no { display: block; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); margin-bottom: 1rem; }
  /* 右の列を半段ずらして、順に進む感じを出す */
  .works__item:nth-child(even) { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
  .works__item:nth-child(odd) { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
  .works__item:nth-child(odd):nth-last-child(2),
  .works__item:nth-child(odd):last-child { margin-bottom: 0; }
}

/* ---------- PRICING ---------- */

/* 1 枚。広い幅は 名前と値 / 中身 の 2 列にして、横に間延びさせない */
.plan {
  padding: clamp(1.5rem, 1.1rem + 2.2vw, 3rem);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* 料金の値。初期費用 (税込) をいちばん大きく、税抜はその下に小さく添える。月額は一段小さい値で並べる */
.fee__row { padding-block: 0.9rem; }
.fee__row:first-child { padding-top: 0; }
.fee__row:last-child { padding-bottom: 0; }
.fee__row + .fee__row { border-top: 1px solid var(--line); }
.fee dt {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.fee dd { margin-top: 0.15rem; }
.fee__main {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  white-space: nowrap;
}
.fee__fig {
  margin-right: 0.08em;
  font-size: clamp(2.375rem, 1.5rem + 3.6vw, 3.5rem);
  letter-spacing: 0.01em;
  font-feature-settings: "tnum";
}
.fee__row + .fee__row .fee__fig { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.fee__main small {
  margin-left: 0.25em;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
}
.fee__sub {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
}
@media (min-width: 30em) {
  .fee__row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; align-items: baseline; }
  .fee dd { margin-top: 0; }
}

/* 初期費用に含まれるもの */
.plan__inc {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--kincha);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.plan__list { margin-top: 0.75rem; color: var(--ink); }
.plan__list li {
  position: relative;
  padding-left: 1.6em;
}
.plan__list li + li { margin-top: 0.55rem; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.925em - 1px);
  width: 0.8em;
  height: 2px;
  background: var(--gold);
}
/* トップの料金の下の 2 文 (含まれる範囲・目安)。/pricing/ の .plans__note と同じ見た目 */
.plan__scope, .plan__add, .plan__meyasu, .plan__tax { color: var(--ink-soft); }
.plan__scope { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.plan__add, .plan__meyasu, .plan__tax { margin-top: 0.35rem; }
.plan__meyasu strong { color: var(--ink); }
.plans__note {
  margin-top: 2rem;
  color: var(--ink-soft);
}
.plans__note strong { color: var(--ink); }
.plans__note p + p { margin-top: 0.35rem; }

@media (min-width: 60em) {
  .plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .plan__head { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
  .plan__body {
    padding: 0.25rem 0 0.25rem clamp(1.5rem, 4vw, 3.5rem);
    border-left: 1px solid var(--line);
  }
  .plan__body .plan__inc { margin-top: 0; padding-top: 0; border-top: 0; }
  .plan__list li + li { margin-top: 0.8rem; }
}
@media (min-width: 56em) {
  .plans__note { margin-left: auto; width: min(100%, 44rem); }
}

/* ---------- 濃い帯 ---------- */

.band {
  background: var(--band);
  color: var(--on-dark);
}
.close__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-feature-settings: "palt";
}

/* ---------- HOW IT WORKS ---------- */

.steps { border-top: 1px solid var(--ink-muted); }
.steps__item {
  display: block;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.steps__no {
  grid-row: 1 / span 2;
  color: var(--kincha);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.15;
}
.steps__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.steps__text { margin-top: 0.4rem; color: var(--ink-soft); }
/* 四: 行き先。面で示す */
.steps__item--open {
  margin-top: 1.25rem;
  padding: 1.5rem 1.25rem 1.6rem;
  background: var(--tint);
  border-bottom: 0;
  border-radius: var(--radius);
}
.steps__item--open .steps__text { color: var(--ink); }

@media (min-width: 54em) {
  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
    border-top: 0;
    align-items: stretch;
  }
  .steps__item {
    display: block;
    position: relative;
    padding: 2rem clamp(1rem, 2vw, 2rem) 2.25rem 0;
    border-bottom: 0;
    border-top: 1px solid var(--ink-muted);
  }
  .steps__no { display: block; margin-bottom: 1.1rem; font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); }
  .steps__item--open {
    margin-top: -1.25rem;
    margin-bottom: -1.25rem;
    padding: 3.25rem clamp(1.5rem, 2.5vw, 2.5rem) 3.5rem;
    border-top: 0;
    box-shadow: var(--shadow);
  }
}

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

.faq { border-top: 1px solid var(--line); }
.faq__item {
  padding-block: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}
.faq dt {
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  align-items: baseline;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.faq__q {
  color: var(--kincha);
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1.125em;
}
.faq dd {
  margin-top: 0.6rem;
  padding-left: 1.9rem;
  color: var(--ink-soft);
}
/* 答えの中の箇条書き。料金の「含まれるもの」と同じ金の短い線を頭に置く */
.faq__list { margin-top: 0.5rem; }
.faq__list li { position: relative; padding-left: 1.4em; }
.faq__list li + li { margin-top: 0.3rem; }
.faq__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.9em - 1px);
  width: 0.7em;
  height: 2px;
  background: var(--gold);
}

/* ---------- WHO WE ARE ---------- */

.who {
  padding: clamp(1.25rem, 0.4rem + 4.2vw, 4rem);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.who__role {
  color: var(--kincha);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.7;
}
.who__slash { margin-inline: 0.2em; }
.who__name {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.who__bio {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  line-height: 2.05;
}
.who__meta {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.who__meta > div {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.who__meta dt {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 2.1;
}
.who__web { display: block; color: var(--ink-soft); }
.who__note {
  margin-top: 2rem;
  color: var(--ink-soft);
  text-align: center;
}
@media (min-width: 54em) {
  .who__meta > div { grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1rem; }
  .who {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(2rem, 4vw, 4rem);
  }
  .who__bio { margin-top: 0; }
}

/* ---------- 結び ---------- */

.close {
  padding-block: var(--sec-y);
  text-align: center;
}
.close__title { font-size: clamp(1.625rem, 0.9rem + 3.6vw, 3.5rem); }
.close__text {
  margin-top: 1.5rem;
  color: var(--on-dark-soft);
}
.close__thread {
  width: 2px;
  height: 3rem;
  margin: 2rem auto;
  background: var(--gold);
}

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

.foot {
  background: var(--band-deep);
  color: var(--on-dark-soft);
  padding-bottom: env(safe-area-inset-bottom);
}
.foot__grid {
  display: grid;
  gap: 2.25rem;
  padding-block: var(--block-gap) 2rem;
}
.foot__logo { line-height: 1.6; }
.foot__word {
  color: var(--on-dark);
  font-family: var(--font-latin);
  font-size: 1.0625rem;
  letter-spacing: 0.3em;
}
.foot__by {
  font-family: var(--font-latin);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.foot__h {
  color: var(--on-dark);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
}
.foot__dl { margin-top: 0.6rem; font-size: 0.9375rem; }
.foot__dl > div {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  column-gap: 0.75rem;
  padding-block: 0.3rem;
}
.foot__dl dt { font-weight: 700; }
.foot__nav ul { display: grid; }
.foot__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
  transition: text-decoration-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out);
}
.foot__nav a[lang="en"] { font-family: var(--font-latin); letter-spacing: 0.08em; font-size: 1rem; }
@media (hover: hover) {
  .foot__nav a:hover { color: var(--gold); text-decoration-color: var(--gold); }
}
.foot__nav a:active { opacity: 0.7; transform: scale(0.97); }
.foot__base {
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--line-dark);
}
.foot__copy {
  font-family: var(--font-latin);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
}
@media (min-width: 48em) {
  .foot__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
    column-gap: clamp(1.5rem, 4vw, 4rem);
  }
}
@media (min-width: 64em) {
  .foot__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); }
  .foot__nav ul { grid-template-columns: repeat(2, max-content); column-gap: 2rem; }
}

/* ---------- スクロールで出す (一度きり) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity var(--dur-reveal) var(--ease-expo) var(--d, 0ms),
    transform var(--dur-reveal) var(--ease-expo) var(--d, 0ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* 金の線は上から伸ばす */
.js [data-reveal="thread"] {
  opacity: 1;
  transform: scaleY(0);
  transform-origin: 50% 0;
}
.js [data-reveal="thread"].is-in { transform: scaleY(1); }

/* 節ごとの出方 (動きを減らす設定では、上の一律のフェードだけになる) */
@media (prefers-reduced-motion: no-preference) {
  /* 見出しのまとまり: 札 → 見出し → リード の順に */
  .js .sec__head[data-reveal], .js .fit__head[data-reveal] { opacity: 1; transform: none; }
  .js .sec__head[data-reveal] > *, .js .fit__heading > *, .js .fit__lead {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
  }
  .js .sec__head[data-reveal] > :nth-child(2), .js .fit__heading > :nth-child(2) { transition-delay: 90ms; }
  .js .fit__lead { transition-delay: 220ms; }
  .js .sec__head.is-in > *, .js .fit__head.is-in .fit__heading > *, .js .fit__head.is-in .fit__lead { opacity: 1; transform: none; }

  /* ABOUT: 心当たりは左から差し込む */
  .js .worries [data-reveal] { transform: translate3d(-16px, 0, 0); }
  /* 答え: 1 行ずつ、ゆっくり */
  .js .answer__text[data-reveal] { opacity: 1; transform: none; }
  .js .answer__text .ln { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo); }
  .js .answer__text .ln + .ln { transition-delay: 0.35s; }
  .js .answer__text.is-in .ln { opacity: 1; transform: none; }
  /* WHY: 表の行を上から順に */
  .js .cmp tbody tr { opacity: 0; transition: opacity 0.6s var(--ease-out); }
  .js .cmp.is-in tbody tr { opacity: 1; }
  .js .cmp tbody tr:nth-child(1) { transition-delay: 0.15s; }
  .js .cmp tbody tr:nth-child(2) { transition-delay: 0.27s; }
  .js .cmp tbody tr:nth-child(3) { transition-delay: 0.39s; }
  .js .cmp tbody tr:nth-child(4) { transition-delay: 0.51s; }
  /* CUSTOMIZE: 文が先、図は少し遅れて大きめに上がる。系統の罫は左から伸びる */
  .js .fit__card[data-reveal] { opacity: 1; transform: none; }
  .js .fit__card > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo); }
  .js .fit__card > .fit__fig { transform: translate3d(0, 32px, 0); transition-delay: 0.14s; transition-duration: 0.85s; }
  .js .fit__card.is-in > * { opacity: 1; transform: none; }
  .js .fit__groupTitle::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease-expo) 0.2s; }
  .js .fit__groupTitle.is-in::after { transform: none; }
  /* PRICING: 札が上がってから、中身を 1 行ずつ */
  .js .plan[data-reveal] { transform: translate3d(0, 28px, 0); }
  .js .plan .plan__list li { opacity: 0; transform: translate3d(-10px, 0, 0); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
  .js .plan.is-in .plan__list li { opacity: 1; transform: none; }
  .js .plan .plan__list li:nth-child(1) { transition-delay: 0.3s; }
  .js .plan .plan__list li:nth-child(2) { transition-delay: 0.38s; }
  .js .plan .plan__list li:nth-child(3) { transition-delay: 0.46s; }
  .js .plan .plan__list li:nth-child(4) { transition-delay: 0.54s; }
  /* HOW IT WORKS: 左から右へ進む。行き先の「四」は少し遅れて */
  .js .steps [data-reveal] { transform: translate3d(-14px, 0, 0); }
  .js .steps .steps__item--open[data-reveal] { transform: translate3d(0, 0, 0) scale(0.97); --d: 380ms !important; }
  /* FAQ: 短いフェードだけ */
  .js .faq [data-reveal] { transform: translate3d(0, 8px, 0); transition-duration: 0.5s; }
  /* 出たあとは元の位置に戻す (上の出方の指定が .is-in の「元に戻す」より強くならないように) */
  .js .worries [data-reveal].is-in,
  .js .steps [data-reveal].is-in,
  .js .faq [data-reveal].is-in,
  .js .plan[data-reveal].is-in { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="thread"] {
    transform: none;
    transition: opacity 0.3s linear;
  }
  .js [data-reveal="thread"] { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media print {
  .head { position: static; }
  .hero__door, .hero__seam { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .shop__plain { display: none; }
}
