/* ============================================================
   フタリゴト 紹介サイト
   アプリ本体（mobile/）のデザイン v2 と同じ色を使う。
   色を変えるときは mobile/tailwind.config.js と揃えること。

   このサイトの狙い（v2 / 2026-09-01 改訂）:
   ・見出しは明朝体。毎日ひとことを書き合うアプリなので、手紙・日記の温度を出す。
   ・背景は一様な灰色にせず、コーラルとブルーの淡い光をセクションごとに移す。
   ・「相互開示」だけは画面いっぱいの暗い面にして、流れに緩急をつける。
   ・全面に極薄の紙目を敷き、CSS で作った平坦さを消す。
   ============================================================ */

:root {
  /* 面 */
  --canvas: #f3f1ee;
  --cream: #faf8f5;
  --surface: #ffffff;
  --surface-muted: #f6f4f1;
  --surface-sunken: #eeebe6;
  --hairline: #ebe7e2;
  --line: #ddd7cf;

  /* 暗い面（相互開示セクション・フッター） */
  --night: #1c1a19;
  --night-ink: #f4f1ec;
  --night-muted: #a49d95;

  /* 文字 */
  --ink: #1c1a19;
  --ink-muted: #6b6663;
  --ink-faint: #8e8985;

  /* コーラル（あなた・主アクション） */
  --primary: #de5a3e;
  --primary-ink: #c9452b;
  --primary-soft: #fbeae3;

  /* ブルー（相方・参照） */
  --accent: #5b8fc7;
  --accent-ink: #3f72ae;
  --accent-soft: #e9f1f9;

  /* アンバー（連続記録） */
  --joy: #e0912e;
  --joy-ink: #a96a15;
  --joy-soft: #fbf0dc;

  --success-ink: #2c7a5a;

  --shadow-card: 0 4px 12px rgba(74, 59, 51, 0.06);
  --shadow-raised: 0 18px 44px rgba(74, 59, 51, 0.16);

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", sans-serif;

  --max: 1080px;
  --pad: 22px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.9;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

/* 紙目。CSS だけで作った面の平坦さを消す。 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 2;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------------------------------------------------- タイポ */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-ink);
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 52px;
  max-width: 40rem;
}

.section-head h2 {
  font-size: clamp(25px, 4.4vw, 36px);
}

.section-head p {
  font-size: clamp(15px, 2.2vw, 16px);
  color: var(--ink-muted);
}

section {
  position: relative;
  padding-block: clamp(76px, 12vw, 132px);
}

/* セクションごとの光。フラットな灰色を避ける。 */
.wash-warm {
  background:
    radial-gradient(64% 52% at 78% 8%, rgba(222, 90, 62, 0.13), transparent 66%),
    radial-gradient(56% 46% at 6% 84%, rgba(91, 143, 199, 0.11), transparent 68%),
    linear-gradient(180deg, var(--cream), var(--canvas));
}

.wash-cool {
  background:
    radial-gradient(60% 46% at 12% 6%, rgba(91, 143, 199, 0.14), transparent 66%),
    linear-gradient(180deg, var(--canvas), var(--cream));
}

.wash-plain {
  background: var(--cream);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 245, 0.72);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.site-header.is-stuck {
  border-bottom-color: var(--hairline);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
}

.nav {
  display: none;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
}

.nav a {
  position: relative;
  padding-block: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  width: 100%;
}

@media (min-width: 940px) {
  .nav {
    display: flex;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding-inline: 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(222, 90, 62, 0.26);
}

.btn-primary:hover {
  background: var(--primary-ink);
  box-shadow: 0 12px 28px rgba(201, 69, 43, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-light {
  background: var(--night-ink);
  color: var(--night);
}

.btn-light:hover {
  background: #fff;
}

.btn-sm {
  min-height: 42px;
  padding-inline: 20px;
  font-size: 14px;
}

/* ---------------------------------------------------- ストアバッジ */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  min-height: 56px;
}

.store-badge svg {
  flex: none;
}

.store-badge .l1 {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.72;
  line-height: 1.3;
}

.store-badge .l2 {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

/* 公開前の状態。ストアの URL が決まったら .is-pending を外す。 */
.store-badge.is-pending {
  background: transparent;
  color: var(--ink-faint);
  border: 1.5px dashed var(--line);
  cursor: default;
}

.store-note {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.8;
}

/* ---------------------------------------------------- 装飾のふたつの輪 */

.rings {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.rings circle {
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.rings .r-coral {
  stroke: var(--primary);
}

.rings .r-blue {
  stroke: var(--accent);
}

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

.hero {
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(64px, 10vw, 108px);
  overflow: hidden;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: clamp(48px, 6vw, 68px);
  align-items: center;
}

@media (min-width: 940px) {
  .hero .wrap {
    grid-template-columns: 1.18fr 0.82fr;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.hero h1 .mark {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

/* 手で引いたような下線 */
.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.4em;
  background: rgba(222, 90, 62, 0.16);
  border-radius: 0.3em 0.6em 0.4em 0.5em;
  z-index: -1;
}

.hero-lead {
  margin-top: 26px;
  font-size: clamp(15px, 2.4vw, 17px);
  color: var(--ink-muted);
  max-width: 29em;
}

.hero-cta {
  margin-top: 38px;
  display: grid;
  gap: 16px;
  justify-items: start;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art .rings {
  width: min(112%, 470px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.75;
}

.hero-art .phone {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------- 端末モック */

.phone {
  width: 296px;
  max-width: 100%;
  border-radius: 46px;
  background: #1c1a19;
  padding: 10px;
  box-shadow: var(--shadow-raised);
}

.phone-screen {
  border-radius: 37px;
  background: var(--canvas);
  overflow: hidden;
  aspect-ratio: 296 / 616;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
}

.phone-notch {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.phone-notch::after {
  content: "";
  width: 76px;
  height: 18px;
  border-radius: 12px;
  background: #1c1a19;
}

.phone-body {
  flex: 1;
  padding: 4px 16px 12px;
  overflow: hidden;
  display: grid;
  gap: 14px;
  align-content: start;
}

.phone-tabbar {
  flex: none;
  display: flex;
  background: var(--surface);
  padding: 8px 0 14px;
  box-shadow: 0 -4px 14px rgba(74, 59, 51, 0.07);
}

.phone-tabbar span {
  flex: 1;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--ink-faint);
  display: grid;
  gap: 3px;
  justify-items: center;
}

.phone-tabbar span.on {
  color: var(--primary);
}

.phone-tabbar svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.p-dots {
  display: flex;
  gap: 6px;
}

.p-dots b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-sunken);
  display: block;
}

.p-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.p-lead {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.p-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-faint);
}

.p-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 10px;
}

.p-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-goal {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.p-sub {
  font-size: 11px;
  color: var(--ink-muted);
}

.p-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.p-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--surface-sunken);
  overflow: hidden;
}

.p-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--primary);
}

.p-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
}

.p-pill.coral {
  background: var(--primary);
  color: #fff;
}

.p-pill.amber {
  background: var(--joy-soft);
  color: var(--joy-ink);
}

.p-pill.green {
  color: var(--success-ink);
  padding-inline: 0;
}

.p-tile {
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.p-tile.you {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.p-tile.mate {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.p-tile .n {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.p-tile .n small {
  font-size: 11px;
  font-weight: 800;
}

.p-tile .who {
  font-size: 10.5px;
  font-weight: 800;
}

.p-choice {
  display: flex;
  gap: 8px;
}

.p-choice > div {
  flex: 1;
  border-radius: 14px;
  border: 2px solid transparent;
  background: var(--surface-muted);
  color: var(--ink-faint);
  text-align: center;
  padding: 14px 4px;
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.p-choice > div.on {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.p-choice .glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.p-input {
  background: var(--surface-muted);
  border-radius: 12px;
  padding: 12px;
  font-size: 11.5px;
  color: var(--ink-faint);
  min-height: 52px;
}

.p-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 13px;
  text-align: center;
  padding: 13px;
  font-size: 13px;
  font-weight: 800;
}

.p-lock {
  background: var(--surface-muted);
  border-radius: 12px;
  padding: 11px;
  font-size: 11px;
  color: var(--ink-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ---------------------------------------------------- 課題（縦に読ませる） */

.problems {
  display: grid;
  border-top: 1px solid var(--hairline);
}

.problem-row {
  display: grid;
  gap: 8px 32px;
  padding-block: 34px;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

@media (min-width: 780px) {
  .problem-row {
    grid-template-columns: 1fr 1.45fr;
  }
}

.problem-row h3 {
  font-size: clamp(19px, 3vw, 24px);
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.problem-row h3 .no {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.1em;
  flex: none;
}

.problem-row p {
  font-size: 15px;
  color: var(--ink-muted);
}

.problem-answer {
  margin-top: 56px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(19px, 3.4vw, 28px);
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.problem-answer em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  z-index: 0;
}

.problem-answer em::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: 0.08em;
  height: 0.36em;
  background: rgba(224, 145, 46, 0.26);
  border-radius: 0.4em 0.2em 0.5em 0.3em;
  z-index: -1;
}

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

.steps {
  display: grid;
  gap: 44px;
}

@media (min-width: 880px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.step {
  display: grid;
  gap: 14px;
  align-content: start;
}

.step-mark {
  width: 74px;
  height: 44px;
}

.step-mark circle {
  fill: none;
  stroke-width: 2;
}

.step h3 {
  font-size: 21px;
}

.step p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* ---------------------------------------------------- 相互開示（暗い面） */

.rule {
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}

.rule::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 42% at 78% 22%, rgba(222, 90, 62, 0.22), transparent 68%),
    radial-gradient(46% 40% at 14% 82%, rgba(91, 143, 199, 0.2), transparent 70%);
  pointer-events: none;
}

.rule .wrap {
  position: relative;
  display: grid;
  gap: clamp(44px, 6vw, 72px);
  align-items: center;
}

@media (min-width: 940px) {
  .rule .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.rule .eyebrow {
  color: #f0a58e;
}

.rule h2 {
  margin-top: 22px;
  font-size: clamp(23px, 3.8vw, 32px);
  line-height: 1.6;
}

.rule-copy > p {
  margin-top: 24px;
  font-size: 16px;
  color: var(--night-muted);
  max-width: 30em;
}

.rule ul {
  margin-top: 34px;
  display: grid;
  gap: 16px;
  list-style: none;
}

.rule li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--night-ink);
}

.rule li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.rule-art {
  display: flex;
  justify-content: center;
}

.rule-art .phone {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------- 特徴 */

.features {
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
}

@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  background: var(--cream);
  padding: clamp(26px, 4vw, 38px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: background-color 0.25s;
}

.feature:hover {
  background: var(--surface);
}

.feature .ic {
  font-size: 26px;
  line-height: 1;
}

.feature h3 {
  font-size: 19px;
}

.feature p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* ---------------------------------------------------- カテゴリ */

.cats {
  display: grid;
  gap: 18px;
}

@media (min-width: 780px) {
  .cats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat {
  border-radius: 22px;
  padding: 32px 28px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.cat h3 {
  font-size: 21px;
}

.cat p {
  font-size: 15px;
}

.cat .ex {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat .ex span {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--sans);
}

/* ---------------------------------------------------- 料金 */

.price-card {
  max-width: 540px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 48px);
  display: grid;
  gap: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.price-free {
  display: inline-flex;
  align-self: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 800;
}

.price-tag {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.price-tag .n {
  font-family: var(--serif);
  font-size: clamp(46px, 9vw, 66px);
  font-weight: 600;
  line-height: 1;
}

.price-tag .u {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-muted);
  padding-bottom: 8px;
}

.price-list {
  list-style: none;
  display: grid;
  gap: 13px;
  text-align: left;
  font-size: 15px;
}

.price-list li {
  display: flex;
  gap: 12px;
  color: var(--ink-muted);
}

.price-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--primary-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9452b' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

.price-note {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.85;
}

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

.faq-list {
  display: grid;
  max-width: 760px;
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 52px 26px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  position: relative;
  line-height: 1.7;
}

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

.faq-item summary::after,
.faq-item summary::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  background: var(--ink-faint);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.faq-item summary::after {
  width: 15px;
  height: 1.5px;
  margin-top: -0.75px;
}

.faq-item summary::before {
  width: 1.5px;
  height: 15px;
  right: 18.75px;
  margin-top: -7.5px;
}

.faq-item[open] summary::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item .a {
  padding: 0 0 26px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* ---------------------------------------------------- 最終CTA */

.final {
  text-align: center;
  overflow: hidden;
}

.final .wrap {
  position: relative;
}

.final .rings {
  width: min(120%, 760px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.35;
}

.final-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 26px;
  justify-items: center;
}

.final h2 {
  font-size: clamp(25px, 5vw, 40px);
  line-height: 1.55;
}

.final p {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 28em;
}

.final .stores {
  justify-content: center;
}

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

.site-footer {
  background: var(--night);
  color: var(--night-muted);
  padding-block: 56px 44px;
  font-size: 14px;
}

.site-footer .brand {
  color: var(--night-ink);
}

.footer-top {
  display: grid;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(244, 241, 236, 0.12);
}

@media (min-width: 780px) {
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  font-weight: 700;
}

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

.footer-meta {
  padding-top: 26px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.9;
}

.footer-meta dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
}

.footer-meta dt {
  font-weight: 700;
  color: rgba(244, 241, 236, 0.66);
}

/* ---------------------------------------------------- 規約・ポリシー */

.legal {
  padding-block: clamp(52px, 8vw, 92px);
  background:
    radial-gradient(50% 30% at 84% 0%, rgba(91, 143, 199, 0.1), transparent 70%),
    var(--cream);
}

.legal .wrap {
  max-width: 740px;
}

.legal h1 {
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.5;
}

.legal-lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-muted);
}

.legal-updated {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

.legal-block {
  margin-top: 18px;
  background: var(--surface);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 32px);
  box-shadow: var(--shadow-card);
}

.legal-block h2 {
  font-size: 18px;
}

.legal-block p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-muted);
}

.legal-block ul {
  margin-top: 14px;
  display: grid;
  gap: 11px;
  list-style: none;
}

.legal-block li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-muted);
}

.legal-block li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-block a {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------------------------------------------------- 404 */

.notfound {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--cream);
}

.notfound .inner {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.notfound h1 {
  font-size: clamp(26px, 6vw, 40px);
}

.notfound p {
  font-size: 16px;
  color: var(--ink-muted);
}

/* ---------------------------------------------------- 改行の出し分け */

.sp-br {
  display: none;
}

.only-sp {
  display: inline;
}

@media (min-width: 560px) {
  .sp-br {
    display: inline;
  }
  .only-sp {
    display: none;
  }
}

/* ---------------------------------------------------- 動きの配慮 */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------------------------------------------------- 追従するCTA */

/*
  ヒーローを過ぎたら下から出て、最後のCTAに差しかかると引っ込む。
  ヒーローと最終CTAには同じボタンがあるため、そこでは重ねない。
*/
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  transform: translateY(130%);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
  opacity: 0;
  pointer-events: none;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: saturate(1.6) blur(20px);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -8px 28px rgba(74, 59, 51, 0.09);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.sticky-cta.is-shown {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
}

.sticky-cta-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sticky-cta-copy svg {
  flex: none;
}

.sticky-cta-text {
  min-width: 0;
}

.sticky-cta-text b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.sticky-cta-text span {
  display: none;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.sticky-cta .btn {
  flex: none;
  min-height: 46px;
  padding-inline: 22px;
  font-size: 14px;
}

/* 狭い画面では、ロゴと補足を落としてボタンを最大化する */
@media (max-width: 520px) {
  .sticky-cta-copy svg {
    display: none;
  }
  .sticky-cta .wrap {
    gap: 10px;
  }
  .sticky-cta .btn {
    padding-inline: 18px;
  }
}

@media (min-width: 620px) {
  .sticky-cta-text span {
    display: block;
  }
}

/* 追従バナーぶんだけ、ページ末尾に逃げを作る */
.site-footer {
  padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
}
