/* ============================================================
   Règles 定期お届け便 — index.html のコンポーネント
   base.css のトークンを前提とする
   ============================================================ */

/* ---- 共通の器 ---- */
.shell {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.shell--content {
  max-width: var(--content);
}

.section {
  padding-block: var(--s-9);
}

.section--mist {
  background: var(--mist);
}

@media (max-width: 767px) {
  .section {
    padding-block: var(--s-8);
  }
}

/* セクション見出しの共通形。
   eyebrow は「今どこを読んでいるか」の道標であって装飾ではない */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--aqua-deep);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--aqua);
}

.section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.section__lead {
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  line-height: 1.9;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header--scrolled {
  border-bottom-color: var(--hair);
  box-shadow: 0 2px 12px rgba(16, 20, 26, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--s-3) var(--gutter);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.site-header__logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

/* ブランド名なので --font-brand。
   .brand を併記しても詳細度が同じで打ち消し合うため、ここで直接指定する */
.site-header__wordmark {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-header__mypage {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition:
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header__mypage:hover {
  color: var(--slab);
  box-shadow: inset 0 0 0 1px var(--slab);
}

/* ============================================================
   Hero — 白地。濃い面はページ末（closing / footer）に置き、
   入口は静かに開く。水色は eyebrow の罫と事実の印にだけ差す
   ============================================================ */
.hero {
  background: var(--paper);
  padding-block: var(--s-9) var(--s-9);
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}

/* 画像を入れるまではテキストのみ。1カラムで組み、
   見出しの大きさと余白で持たせる。
   実素材が入ったら hero__visual を戻して2カラムにする */
.hero__inner {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.hero__body {
  min-width: 0;
  max-width: 22em;
}

@media (min-width: 900px) {
  .hero__body {
    max-width: 24em;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  color: var(--aqua-deep);
}

.hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--aqua);
}

/* 画像がないぶん、見出しの大きさで画面を持たせる */
.hero__title {
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.hero__lead {
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  line-height: 1.95;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.hero__note {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-7);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn__arrow {
  font-family: var(--font-display);
  font-weight: 400;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* 濃い面の上 */
.btn--light {
  background: var(--paper);
  color: var(--slab-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.btn--light:hover {
  background: var(--aqua-tint);
}

/* 明るい面の上 */
.btn--ink {
  background: var(--slab);
  color: var(--paper);
  box-shadow: 0 10px 26px rgba(16, 20, 26, 0.16);
}

.btn--ink:hover {
  background: var(--slab-deep);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* セクション見出しの塊。#adjust で使用 */
.pace__head {
  max-width: 34em;
}

/* ============================================================
   Offer — 定期便につく条件を並べるだけのセクション。
   金額に効く3つと、供給に効く1つを罫の色で描き分ける
   ============================================================ */
.offer__grid {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-6);
}

@media (min-width: 700px) {
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
  }
}

.offer__item {
  padding-top: var(--s-4);
  border-top: 2px solid var(--slab);
}

/* 金額ではなく供給の話。罫を水色にして種類の違いを示す */
.offer__item--supply {
  border-top-color: var(--aqua);
}

.offer__tag {
  display: block;
  margin-bottom: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.offer__item--supply .offer__tag {
  color: var(--aqua-deep);
}

.offer__cond {
  margin-top: var(--s-3);
  font-size: var(--fs-micro);
  line-height: 1.8;
  color: var(--ink-faint);
}

.offer__label {
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.offer__detail {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--ink-soft);
}

.offer__note {
  margin-top: var(--s-6);
  font-size: var(--fs-xs);
  line-height: 1.9;
  color: var(--ink-faint);
}

/* ============================================================
   Ledger — このページの signature。
   都度購入と定期便を同じ表に並べ、水色は定期便の列だけに差す。
   「どこが変わるか」を装飾ではなく列で示す
   ============================================================ */
.ledger {
  margin-top: var(--s-7);
  overflow-x: auto;
}

.ledger__head {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.ledger__table {
  width: 100%;
  min-width: 320px;
  margin-top: var(--s-4);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.ledger__table th,
.ledger__table td {
  padding: var(--s-3) var(--s-3);
  text-align: right;
  font-size: var(--fs-sm);
  font-weight: 400;
  white-space: nowrap;
}

/* 行の見出し（商品代・送料）だけ左寄せ */
.ledger__table tbody th,
.ledger__table tfoot th {
  text-align: left;
  padding-left: 0;
  color: var(--ink-soft);
}

.ledger__table thead th {
  padding-bottom: var(--s-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.ledger__table tbody td,
.ledger__table tbody th {
  border-top: 1px solid var(--hair);
}

/* 定期便の列。地を薄い水色にして、上端だけ水色の罫で閉じる */
.ledger__col--sub,
.ledger__cell--sub {
  background: var(--aqua-tint);
}

.ledger__table thead .ledger__col--sub {
  border-top: 2px solid var(--aqua);
  color: var(--aqua-deep);
  font-weight: 700;
}

.ledger__total th,
.ledger__total td {
  padding-top: var(--s-4);
  border-top: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
}

.ledger__total th {
  font-family: var(--font-ja);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

.ledger__total .ledger__cell--sub {
  color: var(--aqua-deep);
  font-weight: 600;
}

/* 差額。表の外に出して、結論だけを1行で置く */
.ledger__delta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: var(--s-3);
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
}

.ledger__delta-value {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--aqua-deep);
  font-variant-numeric: tabular-nums;
}

.ledger__note {
  margin-top: var(--s-5);
  font-size: var(--fs-xs);
  line-height: 1.9;
  color: var(--ink-faint);
}

/* ============================================================
   Priority — 在庫が少ないときの優先出荷。
   金額の話が終わったあとに、金額では言えない一点を置く
   ============================================================ */
.priority {
  margin-top: var(--s-8);
  padding: var(--s-6);
  border-radius: var(--radius-lg);
  background: var(--slab);
  color: var(--paper);
}

@media (min-width: 700px) {
  .priority {
    padding: var(--s-7);
  }
}

.priority__label {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--aqua);
}

.priority__label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--aqua);
}

.priority__title {
  margin-top: var(--s-4);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.6;
}

.priority__body {
  margin-top: var(--s-3);
  max-width: 34em;
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}
/* ============================================================
   Flavors
   ============================================================ */
.flavors__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
}

.flavors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-5);
  margin-top: var(--s-7);
}

@media (min-width: 640px) {
  .flavors__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6) var(--s-5);
  }
}

/* 画像を入れるまではテキストのみ。カードで囲わず、
   上罫で区切った一覧として並べる */
.flavor {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hair);
}

.flavor__en {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

/* フレーバーの色。識別子であって装飾ではない。
   薄い色でも消えないよう内側に罫を回す */
.flavor__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c, var(--aqua));
  box-shadow: inset 0 0 0 1px rgba(16, 20, 26, 0.18);
}

.flavor__ja {
  font-size: var(--fs-micro);
  color: var(--ink-faint);
  line-height: 1.5;
}

.flavor__price {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.flavors__actions {
  margin-top: var(--s-7);
  text-align: center;
}

.flavors__note {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}

/* ============================================================
   Adjust — 量の調整。このLPの主役
   「自分で管理しなくていい」を伝えるため、連絡側を濃い面にして
   マイページ側より前に出す
   ============================================================ */
.adjust__grid {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-7);
}

@media (min-width: 820px) {
  .adjust__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--s-6);
  }
}

.adjust__card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--hair);
}

.adjust__card--primary {
  background: var(--slab);
  color: var(--paper);
  box-shadow: none;
}

.adjust__badge {
  align-self: flex-start;
  padding: 3px var(--s-3);
  border-radius: 999px;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  background: var(--mist);
  color: var(--aqua);
}

.adjust__card--primary .adjust__badge {
  background: rgba(255, 255, 255, 0.18);
  color: var(--paper);
}

.adjust__title {
  margin-top: var(--s-3);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.adjust__list {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hair);
}

.adjust__card--primary .adjust__list {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.adjust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding-block: var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.adjust__item + .adjust__item {
  border-top: 1px solid var(--hair);
}

.adjust__card--primary .adjust__item + .adjust__item {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.adjust__item-mark {
  flex: none;
  width: 16px;
  height: 1px;
  margin-top: 0.9em;
  background: var(--aqua);
}

.adjust__card--primary .adjust__item-mark {
  background: rgba(255, 255, 255, 0.5);
}

.adjust__how {
  margin-top: auto;
  padding-top: var(--s-5);
  font-size: var(--fs-xs);
  line-height: 1.9;
  color: var(--ink-soft);
}

.adjust__card--primary .adjust__how {
  color: rgba(255, 255, 255, 0.82);
}

/* 連絡手段。LINE / メールを並べる */
.adjust__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.adjust__contact a,
.adjust__contact span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.14);
  color: var(--paper);
  transition: background-color 0.25s var(--ease);
}

.adjust__contact a:hover {
  background: rgba(255, 255, 255, 0.26);
}

.adjust__how a {
  color: var(--aqua-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.adjust__foot {
  margin-top: var(--s-6);
  font-size: var(--fs-xs);
  line-height: 1.9;
  color: var(--ink-faint);
}
/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  margin-top: var(--s-6);
  border-top: 1px solid var(--hair);
}

.faq__item {
  border-bottom: 1px solid var(--hair);
}

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding-block: var(--s-5);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--aqua-deep);
}

.faq__q-mark {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.45em;
}

.faq__q-mark::before,
.faq__q-mark::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: var(--slab);
  transition: transform 0.3s var(--ease);
}

.faq__q-mark::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__q-mark::after {
  transform: rotate(0deg);
}

.faq__a {
  padding: 0 0 var(--s-5) calc(14px + var(--s-4));
  font-size: var(--fs-sm);
  line-height: 1.95;
  color: var(--ink-soft);
}

.faq__a a {
  color: var(--aqua-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Terms — 定期購入に関する重要事項（特商法）
   ============================================================ */
.terms__list {
  margin-top: var(--s-6);
  border-top: 1px solid var(--mist-deep);
}

.terms__item {
  display: grid;
  gap: var(--s-1);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--mist-deep);
}

@media (min-width: 700px) {
  .terms__item {
    grid-template-columns: 9.5em 1fr;
    gap: var(--s-5);
  }
}

.terms__item dt {
  font-size: var(--fs-sm);
  font-weight: 700;
}

.terms__item dd {
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: var(--ink-soft);
}

.terms__note {
  margin-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}

.terms__note a {
  color: var(--aqua-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Closing
   ============================================================ */
.closing {
  background: var(--slab);
  color: var(--paper);
  text-align: center;
}

.closing__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.5;
}

.closing__lead {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.82);
}

.closing__actions {
  margin-top: var(--s-6);
}

.closing__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-6);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
}

.closing__mypage {
  display: inline-block;
  margin-top: var(--s-7);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.closing__mypage:hover {
  color: var(--paper);
}

/* ============================================================
   Footer — 深緑の濃い面。アコーディオン + 大きなワードマーク
   ============================================================ */
.subscription-footer {
  padding: var(--s-7) var(--gutter) 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  background: var(--slab-deep);
}

.subscription-footer > * {
  max-width: var(--content);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .subscription-footer > * {
    max-width: var(--wide);
  }
}

/* ---- Follow us ---- */
.footer-follow {
  margin-bottom: var(--s-6);
  text-align: center;
}

.footer-follow__heading {
  margin-bottom: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.24em;
  color: var(--paper);
}

.footer-follow__icons {
  display: flex;
  justify-content: center;
  gap: var(--s-4);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--paper);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.footer-social:hover {
  background: var(--paper);
  color: var(--slab-deep);
  border-color: var(--paper);
}

/* ---- アコーディオン ---- */
.footer-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-acc {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-1);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
}

.footer-acc__head::-webkit-details-marker {
  display: none;
}

.footer-acc__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.footer-acc__icon::before,
.footer-acc__icon::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  transition: opacity 0.25s var(--ease);
}

.footer-acc__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.footer-acc__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.footer-acc[open] .footer-acc__icon::after {
  opacity: 0;
}

.footer-acc__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: 2px var(--s-1) var(--s-5);
}

.footer-acc__body a {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease);
}

.footer-acc__body a:hover {
  color: var(--paper);
}

/* ---- 法務リンク ---- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  margin-top: var(--s-6);
}

.footer-links a {
  position: relative;
  padding-bottom: 2px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-links a:hover::after {
  opacity: 1;
}

.footer-copyright {
  margin: var(--s-4) 0 var(--s-6);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---- ワードマーク ----------------------------------------
   コンテナ幅に追従させ、常に1行で全文字が収まるサイズにする
   -------------------------------------------------------- */
.footer-wordmark-wrap {
  container-type: inline-size;
}

.footer-wordmark {
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 10cqw;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--paper);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

/* ============================================================
   Sticky CTA（モバイル）
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--hair);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta--visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ============================================================
   スクロール時のフェードイン。JS が .reveal を付与する
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal--in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
