﻿/* ============================================================
   YOHAKU — LP スタイル
   デザイン言語: クリーム地 × ブラウンオレンジ × 角丸
   既存のサービス用画像の配色を踏襲
   ============================================================ */

:root {
  color-scheme: light;

  --cream:      #FBF6EA;
  --cream-2:    #F5EBD8;
  --cream-3:    #EFE2C9;
  --ink:        #2A2118;
  --ink-2:      #6B5D4C;
  --ink-3:      #948674;
  --accent:     #B5723A;
  --accent-2:   #C98A4B;
  --accent-pale:#F0DFC6;
  --white:      #FFFFFF;
  --line:       rgba(42, 33, 24, 0.12);
  --line-soft:  rgba(42, 33, 24, 0.07);
  --ok:         #4E7A4E;
  --ok-bg:      #E8F0E6;

  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
          "Noto Sans JP", "Segoe UI", system-ui, sans-serif;

  --wrap: 1120px;
  --radius: 18px;
  --radius-lg: 28px;
}

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

html { scroll-behavior: smooth; }

/* ---------- アクセシビリティ ---------- */
/* キーボード操作時のみフォーカスリングを出す（WCAG 2.4.7） */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- スクロール連動アニメーション ---------- */
/* 初期状態。JSが .is-visible を付けると立ち上がる */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.9,.3,1),
              transform .7s cubic-bezier(.22,.9,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger：同じ親の中で順番に立ち上げる */
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* 動きを減らす設定の人には一切animateしない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 234, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.logo {
  font-weight: 800; font-size: 17px; letter-spacing: .04em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
/* ロゴの記号は廃止。「余白」というブランドに装飾を足さないほうが筋が通る。 */
.logo-en {
  margin-left: 12px; padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; color: var(--ink-3);
  vertical-align: 1px;
}
/* 狭い画面ではロゴ名だけ残す（nowrapのため、はみ出しを防ぐ） */
@media (max-width: 620px) { .logo-en { display: none; } }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 820px) {
  .nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px;
  background: var(--ink); color: var(--cream);
  border: none; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  letter-spacing: .02em; cursor: pointer; white-space: nowrap;
  transition: transform .3s cubic-bezier(.22,.9,.3,1),
              box-shadow .3s cubic-bezier(.22,.9,.3,1),
              background .3s ease;
  box-shadow: 0 2px 0 rgba(42,33,24,.18);
}
.btn:hover {
  background: #3A2E21; color: var(--cream);
  text-decoration: none; transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px -8px rgba(42,33,24,.34);
}
.btn:active { transform: translateY(-1px) scale(1.0); }

/* Coming soon（申込み導線が未開通のあいだ） */
.btn-soon {
  background: var(--cream-3); color: var(--ink-2);
  box-shadow: none; cursor: default; position: relative;
  border: 1.5px dashed rgba(42,33,24,.28);
}
.btn-soon:hover {
  background: var(--cream-3); color: var(--ink-2);
  transform: none; box-shadow: none;
}
.soon-note {
  display: block; margin-top: 12px;
  font-size: 12.5px; color: var(--ink-3); line-height: 1.75;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { background: var(--cream-2); color: var(--ink); box-shadow: none; }
.btn-sm { padding: 11px 24px; font-size: 14px; }

/* ---------- セクション共通 ---------- */

section { padding: 96px 0; }
section[id] { scroll-margin-top: 68px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
/* 見出しタグとして使う場合（料金セクション）にブラウザ既定の余白を消す */
h2.eyebrow { margin-top: 0; font-size: 12.5px; }

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.42; font-weight: 700;
  letter-spacing: .01em; margin-bottom: 18px;
}
.section-lead {
  color: var(--ink-2); font-size: 16px; max-width: 620px; margin-bottom: 52px;
}
.section-head-center { text-align: center; }
.section-head-center .section-lead { margin-inline: auto; }

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

.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 104px;
  background:
    radial-gradient(120% 90% at 12% 0%, #FDFAF2 0%, transparent 55%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero::after {
  content: ""; position: absolute;
  right: -14%; bottom: -34%;
  width: min(760px, 68vw); aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, var(--cream-3) 0%, rgba(239,226,201,0) 70%);
  border-radius: 50%; pointer-events: none;
}
/* ヒーローは1カラム。右に何も置かないので中央寄せで幅を締める。 */
.hero .wrap {
  position: relative; z-index: 1;
  max-width: 900px; text-align: center;
}
.hero .hero-lead { margin-inline: auto; }
.hero .hero-cta { justify-content: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.36; font-weight: 700;
  letter-spacing: 0; margin-bottom: 26px;
  word-break: keep-all;
}
.hero h1 .hl { color: var(--accent); }
.hero-lead {
  font-size: 17px; color: var(--ink-2);
  max-width: 620px; margin-bottom: 34px;   /* 中央寄せ1カラム用に拡げる */
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 26px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7;
}

/* ヒーロー右: モックアップ */
.mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -18px rgba(42,33,24,.24);
  overflow: hidden;
}
.mock-bar {
  background: var(--accent); color: #fff;
  padding: 13px 20px; font-size: 13.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between;
}
.mock-badge {
  background: rgba(255,255,255,.22); border-radius: 999px;
  padding: 3px 11px; font-size: 11.5px; font-weight: 700;
}
.mock-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 20px; border-bottom: 1px solid var(--line-soft);
}
.mock-row:last-child { border-bottom: none; }
.mock-thumb {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  background: var(--cream-2); display: grid; place-items: center; font-size: 20px;
}
.mock-meta { flex: 1; min-width: 0; }
.mock-name {
  font-size: 13.5px; font-weight: 700; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-price { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.mock-tag {
  flex: none; font-size: 11px; font-weight: 700;
  color: var(--ok); background: var(--ok-bg);
  padding: 4px 10px; border-radius: 6px;
}

@media (max-width: 900px) {
  .hero { padding: 64px 0 76px; }
}

/* ---------- 数値バー ---------- */

.stats { background: var(--ink); color: var(--cream); padding: 56px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center;
}
.stat-num {
  font-family: var(--serif); font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 700; color: #fff; line-height: 1.5;
  word-break: keep-all;
}
.stat-label {
  font-size: 13px; color: rgba(251,246,234,.66);
  margin-top: 10px; line-height: 1.75;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- 課題 → 解決 ---------- */

/* ▼ Before/Afterセクション用。内容がFeaturesと重複していたためHTML側は削除済み。
   復活させる可能性を考えてスタイルだけ残してある。不要と確定したらこのブロックごと消すこと。 */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.compare-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
}
.compare-card.after { border-color: var(--accent); background: #FFFCF6; }
.compare-card h3 {
  font-size: 14px; font-weight: 800; letter-spacing: .1em;
  color: var(--ink-3); margin-bottom: 20px; text-transform: uppercase;
}
.compare-card.after h3 { color: var(--accent); }
.compare-card ul { list-style: none; display: grid; gap: 13px; }
.compare-card li {
  font-size: 14.5px; line-height: 1.75; padding-left: 26px; position: relative;
  color: var(--ink-2);
}
/* ✕ ではなく △ にしている。手作業そのものを「間違い」と断じるのではなく、
   「できるが手間がかかる」という位置づけにするため。 */
.compare-card li::before {
  content: "△"; position: absolute; left: 4px; top: 0;
  color: var(--ink-3); font-weight: 700;
}
/* 「etc.」は項目ではないので記号を付けない */
.compare-card li.etc::before { content: none; }
.compare-card li.etc { color: var(--ink-3); font-size: 13.5px; padding-left: 26px; }
.compare-card.after li { color: var(--ink); }
.compare-card.after li::before { content: "✓"; color: var(--accent); }

.compare-card li.time {
  margin-top: 8px; padding: 16px 0 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px; color: var(--ink-3);
}
.compare-card li.time::before { content: none; }
.compare-card li.time strong {
  font-family: var(--serif); font-size: 26px; font-weight: 700;
  color: var(--ink-2); margin-left: 6px; vertical-align: -1px;
}
.compare-card.after li.time strong { color: var(--accent); }
.compare-arrow {
  display: grid; place-items: center; font-size: 26px; color: var(--accent);
}
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ---------- 機能 ---------- */

.features { background: var(--cream-2); }

/* 機能カード：上から下へ一直線に読ませる階段配置。
   奇数枚は左寄せ、偶数枚は右へずらして、視線が「下 → 右下 → 下 → 右下」と流れる。 */
.feature-grid { display: grid; gap: 26px; }

/* 写真を外したので、1行が長くなりすぎないよう幅を詰めている（880→720）。
   margin-left:auto による階段状の配置は維持。 */
.feature {
  display: flex; align-items: stretch;
  width: min(100%, 720px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.22,.9,.3,1),
              box-shadow .3s cubic-bezier(.22,.9,.3,1),
              border-color .3s ease;
}
.feature:nth-child(even) {
  margin-left: auto;                 /* 右へずらす */
  flex-direction: row-reverse;       /* 写真を右側に */
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -18px rgba(42,33,24,.26);
  border-color: var(--accent-pale);
}

.feature-body { padding: 34px 32px; flex: 1 1 auto; min-width: 0; }

/* ▼ カード内の写真。画像の用意が公開のボトルネックになるためHTML側は削除済み。
   写真を戻すときは各カードに .feature-media を足すだけでこの見た目に戻る。 */
.feature-media {
  flex: 0 0 40%; position: relative; overflow: hidden; min-height: 220px;
  background:
    linear-gradient(135deg, var(--cream-2) 0%, var(--accent-pale) 60%, var(--cream-3) 100%);
}
.feature-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.22,.9,.3,1);
}
.feature:hover .feature-media img { transform: scale(1.05); }

/* 順番を示す縦の導線 */
.feature-num {
  display: inline-flex; align-items: center; gap: 10px;
}
.feature-num::after {
  content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .45;
}
.feature-num {
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  color: var(--accent); letter-spacing: .1em; margin-bottom: 14px;
}
.feature h3 {
  font-size: 19px; font-weight: 800; line-height: 1.55; margin-bottom: 12px;
}
.feature p { font-size: 14.5px; color: var(--ink-2); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 11.5px; font-weight: 700; color: var(--accent);
  background: var(--accent-pale); padding: 4px 11px; border-radius: 999px;
}
@media (max-width: 860px) {
  /* 狭い画面では横並びをやめ、写真を上・本文を下に積む */
  .feature,
  .feature:nth-child(even) {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
  }
  .feature-media { flex: 0 0 auto; min-height: 0; aspect-ratio: 16 / 9; }
  .feature-body { padding: 28px 24px; }
}

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

/* 申し込みからご利用開始までの流れ（縦のタイムライン） */
.steps { max-width: 780px; margin: 0 auto; counter-reset: s; position: relative; }
.steps::before {                       /* 縦の導線 */
  content: ""; position: absolute; left: 27px; top: 14px; bottom: 46px;
  width: 2px; background: linear-gradient(180deg, var(--accent) 0%, var(--accent-pale) 100%);
  opacity: .5;
}
.step {
  position: relative; padding: 0 0 34px 74px;
}
.step:last-child { padding-bottom: 0; }
.step::before {                        /* 丸番号 */
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--accent); color: var(--accent);
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  display: grid; place-items: center; z-index: 1;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 9px; line-height: 1.6; }
.step p { font-size: 14.5px; color: var(--ink-2); }
.step .who {
  display: inline-block; margin-bottom: 9px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 999px;
}
.who.us   { background: var(--accent); color: #fff; }
.who.you  { background: var(--cream-3); color: var(--ink-2); }

@media (max-width: 640px) {
  .steps::before { left: 19px; }
  .step { padding-left: 56px; padding-bottom: 30px; }
  .step::before { width: 40px; height: 40px; font-size: 17px; }
}

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

.pricing { background: var(--cream-2); }
.plan {
  max-width: 520px; margin-inline: auto;
  background: var(--white); border: 2px solid var(--accent);
  border-radius: var(--radius-lg); padding: 44px 40px; text-align: center;
  box-shadow: 0 24px 56px -20px rgba(181,114,58,.34);
}
.plan-name {
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 18px;
}
.plan-price {
  font-family: var(--serif); font-size: 58px; font-weight: 700; line-height: 1.1;
}
.plan-price .cur { font-size: .42em; margin-right: 4px; }
.plan-price .per { font-size: .28em; color: var(--ink-2); margin-left: 6px; font-family: var(--sans); font-weight: 700; }
.plan-tax { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

/* 申し込みボタンと同じ「塗り+丸ピル」だと押せる要素に見えてしまうため、
   クーポン札の見た目（淡い地・破線・角丸小）にして押下対象と区別する。 */
.plan-intro {
  display: inline-block; margin: 16px 0 4px;
  background: var(--accent-pale); color: #8A5426;
  border: 1px dashed rgba(181, 114, 58, .5);
  padding: 8px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 800; letter-spacing: .01em;
}
.plan-intro-note {
  font-size: 12.5px; color: var(--ink-2);
  margin-bottom: 26px; line-height: 1.8;
}
.plan-list { list-style: none; text-align: left; display: grid; gap: 12px; margin-bottom: 32px; }
.plan-list li { font-size: 14.5px; padding-left: 27px; position: relative; }
.plan-list li::before {
  content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800;
}
.plan .btn { width: 100%; }
.plan-terms {
  margin-top: 22px; font-size: 12px; color: var(--ink-3);
  line-height: 1.75; text-align: left;
  border-top: 1px solid var(--line-soft); padding-top: 18px;
}
.plan-terms strong { color: var(--ink-2); }

/* ---------- 設計思想（あえて自動化しない） ---------- */
.stance { background: var(--cream); }
.stance-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 940px; margin: 0 auto;
}
.stance-card {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 26px; background: transparent;
  transition: border-color .3s ease, background .3s ease;
}
.stance-card:hover { border-color: var(--accent); background: rgba(255,255,255,.5); }
.stance-card h3 {
  font-size: 16.5px; font-weight: 800; line-height: 1.6; margin-bottom: 12px;
  display: flex; gap: 10px; align-items: flex-start;
}
.stance-card h3::before {
  content: "—"; color: var(--accent); flex: none; font-weight: 700;
}
.stance-card p { font-size: 14px; color: var(--ink-2); }
.stance-card .why {
  display: block; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2);
}
/* 「Why?」は本文と同じゴシックだと文章の一部に埋もれ、機械的に差し込んだように見える。
   明朝のイタリック＋アクセント色にして、編集記号として立たせる。 */
.stance-card .why b {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 15.5px; color: var(--accent);
  letter-spacing: .03em; margin-right: 7px;
}
.stance-foot {
  max-width: 940px; margin: 26px auto 0;
  font-size: 13px; color: var(--ink-3); line-height: 1.9; text-align: center;
}
@media (max-width: 780px) { .stance-grid { grid-template-columns: 1fr; } }

/* ---------- 事前相談（リリース前の受け皿） ---------- */
.prelaunch {
  background: linear-gradient(160deg, var(--cream-3) 0%, var(--accent-pale) 100%);
}
.prelaunch-box {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 46px 40px;
  box-shadow: 0 26px 56px -26px rgba(42,33,24,.26);
}
.prelaunch-box h2 {
  font-family: var(--serif); font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.55; margin-bottom: 16px;
}
.prelaunch-box p { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.prelaunch-list {
  list-style: none; text-align: left; display: grid; gap: 10px;
  max-width: 460px; margin: 0 auto 30px;
}
.prelaunch-list li { font-size: 14.5px; padding-left: 26px; position: relative; }
.prelaunch-list li::before {
  content: "✓"; position: absolute; left: 3px; color: var(--accent); font-weight: 800;
}

/* ---------- サポートと継続性 ---------- */
.support-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.support-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
}
.support-card h3 {
  font-size: 17px; font-weight: 800; margin-bottom: 12px; line-height: 1.55;
}
.support-card p { font-size: 14px; color: var(--ink-2); }
.support-card .mark-lg {
  display: block; width: 34px; height: 2px; border-radius: 2px;
  background: var(--accent); margin-bottom: 16px;
}
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }

/* 支払い情報の小さな表 */
.pay-info {
  max-width: 520px; margin: 26px auto 0;
  border-top: 1px solid var(--line-soft); padding-top: 20px;
  display: grid; gap: 12px; text-align: left;
}
.pay-info dt {
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--ink-3);
}
.pay-info dd { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 動作環境 ---------- */

.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.env {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.env dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 8px; }
.env dd { font-size: 14.5px; font-weight: 600; }
@media (max-width: 780px) { .env-grid { grid-template-columns: 1fr; } }

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

.faq-list { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
details.faq {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
details.faq summary {
  padding: 22px 56px 22px 26px; cursor: pointer; position: relative;
  font-size: 15.5px; font-weight: 700; line-height: 1.65; list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 22px; color: var(--accent);
  font-weight: 400; transition: transform .2s ease;
}
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq summary:hover { background: var(--cream); }
.faq-body {
  padding: 0 26px 24px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9;
}
.faq-body p + p { margin-top: 12px; }

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

.cta-final {
  background: var(--ink); color: var(--cream); text-align: center;
  border-radius: var(--radius-lg); padding: 72px 40px; margin: 0 24px 96px;
  max-width: calc(var(--wrap) - 48px);
  margin-inline: auto;
}
.cta-final h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.45; margin-bottom: 18px; color: #fff;
}
.cta-final p { color: rgba(251,246,234,.72); margin-bottom: 32px; font-size: 15px; }
.cta-final .btn { background: var(--accent); color: #fff; }
.cta-final .btn:hover { background: var(--accent-2); }

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

.site-footer {
  background: var(--cream-2); border-top: 1px solid var(--line);
  padding: 52px 0 40px; font-size: 13.5px;
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 28px; border-bottom: 1px solid var(--line-soft);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--ink-2); font-weight: 600; }
.footer-links a:hover { color: var(--accent); }
.footer-note {
  margin-top: 26px; font-size: 12px; color: var(--ink-3); line-height: 1.85;
}
.footer-note p + p { margin-top: 10px; }
.copyright { margin-top: 26px; font-size: 12px; color: var(--ink-3); }

/* ---------- 法務ページ ---------- */

.doc-header {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 64px 0 48px; border-bottom: 1px solid var(--line);
}
.doc-header h1 {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; line-height: 1.4;
}
.doc-header .doc-updated { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.doc { padding: 56px 0 96px; }
.doc h2 {
  font-size: 18px; font-weight: 800; margin: 44px 0 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--accent-pale);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 15.5px; font-weight: 800; margin: 26px 0 10px; }
.doc p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; }
.doc li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 9px; }
.doc strong { color: var(--ink); font-weight: 700; }

.doc-table-wrap { overflow-x: auto; margin-bottom: 22px; }
.doc-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); font-size: 14.5px; min-width: 520px;
}
.doc-table th, .doc-table td {
  border: 1px solid var(--line); padding: 15px 18px;
  text-align: left; vertical-align: top; line-height: 1.8;
}
.doc-table th {
  background: var(--cream-2); font-weight: 700; white-space: nowrap;
  width: 200px; color: var(--ink);
}
.doc-table td { color: var(--ink-2); }

.callout {
  background: var(--white); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-bottom: 24px;
}
.callout p { margin-bottom: 0; font-size: 14px; }
.callout p + p { margin-top: 10px; }

.back-link { display: inline-block; margin-top: 40px; font-weight: 700; font-size: 14px; }

/* ---------- プレースホルダの可視化（納品前チェック用） ----------
   すべての {{...}} を埋めたら、この節ごと削除して構いません。
   ------------------------------------------------------------- */
.todo {
  background: #FFF3CD; color: #6B4E00;
  border: 1px dashed #C9A227; border-radius: 4px;
  padding: 1px 6px; font-size: .92em; font-weight: 700;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
