/* ==========================================================
   プロサポート  サイト共通スタイル
   配色・書体・余白はここで一元管理（:root のトークン）
   ========================================================== */

:root {
  /* 文字・面 */
  --ink: #2B1A10;            /* 本文・見出し・濃色面 */
  --ink-2: #5B4A3F;          /* 本文（補足） */
  --ink-3: #7A6656;          /* 注記・ラベル */
  --line: #F2E3D7;           /* 罫線・カード枠 */
  --line-2: #EAD4C2;         /* ボタン枠 */
  --paper: #FFFFFF;
  --cream-50: #FFFAF5;
  --cream-100: #FFF7F1;
  --cream-200: #FFF1E7;
  --orange-tint: #FDEEE5;

  /* ブランド */
  --orange: #E05A2B;         /* アクセント・装飾・大きな数字 */
  --orange-strong: #BA441A;  /* 白文字を載せるボタン／小さな強調文字 */
  --orange-deep: #9C3913;    /* ホバー */
  --amber: #D98A0B;
  --amber-text: #9A6004;
  --amber-tint: #FFF3DC;
  --green: #17A97C;
  --green-text: #0B7453;
  --green-tint: #E3F5EE;
  --line-green: #06C755;     /* LINEのアイコン専用 */
  --line-soft: #F6ECE3;      /* 表の行罫線・細い区切り */
  --orange-line: #F2CDB6;    /* オレンジ系の枠線（バッジ・開いたFAQ・重要事項） */
  --orange-wash: #FEF5EF;    /* 比較表の自社列・同意済みの地 */
  --on-ink-muted: #E8DCD2;   /* 濃色面の補足文字 */
  --on-ink-accent: #FFB27F;  /* 濃色面の強調（数字・チェック） */
  --on-ink-green: #5FD3AE;   /* 濃色面の小ラベル（緑） */
  --deco-orange: #F08A4B;    /* 濃色面の装飾 */
  --deco-green: #2CB98D;     /* 装飾ピル */
  --placeholder: #E9DDD2;    /* 画像読み込み前の地 */
  --disabled: #D8CBC0;       /* 無効ボタンの地 */
  --danger: #B42318;         /* エラー文 */

  /* 書体 */
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-num: 'Outfit', 'Noto Sans JP', sans-serif;

  /* 角丸・影 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --sh-sm: 0 4px 16px rgba(43, 26, 16, 0.06);
  --sh-md: 0 12px 36px rgba(43, 26, 16, 0.10);
  --sh-lg: 0 24px 70px rgba(43, 26, 16, 0.16);
  --sh-orange: 0 12px 28px rgba(186, 68, 26, 0.26);

  /* レイアウト */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 36px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .btn, .eyebrow, .num { font-feature-settings: "palt" 1; }
h1, h2, h3, h4, .section-lead, .hero__lead, .problem p, .resolve p, .faq__item summary, .final-cta p, .block__title, .next-steps b { word-break: auto-phrase; }
.ib { display: inline-block; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-strong); text-decoration: none; }
a:hover { color: var(--orange-deep); }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange-strong); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.num { font-family: var(--font-num); font-weight: 800; letter-spacing: -0.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { position: relative; padding: var(--section-y) 0; }
.section--cream { background: linear-gradient(180deg, var(--cream-200), var(--cream-50)); }
.section--soft { background: var(--cream-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- 見出し ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange-strong);
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 4.5vw, 56px); }
.section-title {
  margin-top: 10px;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-lead {
  margin-top: 16px;
  font-size: clamp(15px, 1.5vw, 16.5px);
  color: var(--ink-2);
  line-height: 1.95;
  text-wrap: pretty;
}
.hl { color: var(--orange-strong); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }
.btn--lg { min-height: 60px; padding: 17px 34px; font-size: 16.5px; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 13.5px; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--orange-strong); color: #fff; box-shadow: var(--sh-orange); }
.btn--primary:hover { background: var(--orange-deep); color: #fff; }
.btn--primary .btn-arrow { background: rgba(255, 255, 255, 0.18); }


.btn--line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--line-green); color: var(--ink); }
.btn--line .line-icon { color: var(--line-green); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.36); }
.btn--on-dark:hover { border-color: #fff; color: #fff; }

.btn[aria-disabled="true"] {
  background: var(--disabled);
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(43, 26, 16, 0.05); }
.site-header__inner {
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-logo { flex-shrink: 0; display: block; }
.site-logo img { height: 42px; width: auto; }
.site-nav { flex: 1; display: flex; justify-content: center; gap: clamp(14px, 1.8vw, 28px); }
.site-nav a { font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.site-nav a:hover { color: var(--orange-strong); }
.site-header__cta { display: flex; gap: 10px; flex-shrink: 0; }
.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px var(--gutter) 22px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); }
.mobile-menu a.mobile-menu__link {
  display: block;
  padding: 14px 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn-row { margin-top: 18px; }
.mobile-menu .btn { flex: 1 1 100%; }

/* シンプルヘッダー（申込み・規約ページ） */
.site-header--simple .site-header__inner { justify-content: space-between; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(120px, 12vw, 150px);
  background: linear-gradient(172deg, var(--cream-200) 0%, var(--cream-50) 60%, #fff 100%);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1.5px solid var(--orange-line);
  color: var(--orange-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hero__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero__title {
  margin-top: 22px;
  font-size: clamp(34px, 5.1vw, 60px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.025em;
}
.hero__lead {
  margin-top: 22px;
  max-width: 30em;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.95;
  color: var(--ink-2);
  text-wrap: pretty;
}
.hero__lead strong { color: var(--ink); }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; list-style: none; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; }
.hero__points .check { width: 22px; height: 22px; }
.hero .btn-row { margin-top: clamp(28px, 3vw, 36px); }

.hero__visual { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 5 / 4;
  background: var(--placeholder);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.price-tag {
  position: absolute;
  left: clamp(-24px, -2vw, -12px);
  bottom: clamp(-28px, -2.4vw, -18px);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 16px 22px 16px 20px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 16px;
}
.price-tag__label { font-size: 12px; font-weight: 800; color: var(--ink-3); line-height: 1.5; }
.price-tag__value { display: flex; align-items: baseline; gap: 4px; line-height: 1; margin-top: 4px; }
.price-tag__value .num { font-size: 36px; color: var(--orange-strong); }
.price-tag__value small { font-size: 13px; font-weight: 800; }
.price-tag__div { width: 1px; align-self: stretch; background: var(--line); }
.float-chip {
  position: absolute;
  right: clamp(-16px, -1.4vw, -8px);
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--sh-md);
}

/* 実績バー */
.trust {
  position: relative;
  z-index: 2;
  margin-top: clamp(-84px, -7vw, -64px);
}
.trust__card {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line);
}
.trust__item { padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2.6vw, 34px); text-align: center; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__label { font-size: 13px; font-weight: 800; color: var(--ink-3); }
.trust__value { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-top: 2px; line-height: 1.1; }
.trust__value .num { font-size: clamp(34px, 4.4vw, 50px); color: var(--orange-strong); }
.trust__value small { font-size: 15px; font-weight: 800; }
.trust__value .jp { font-size: clamp(30px, 3.6vw, 40px); font-weight: 900; line-height: 1.1; color: var(--orange-strong); }
.trust__sub { margin: 4px 0 0; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.trust__value, .trust__label { white-space: nowrap; }

/* ---------- 装飾（ピル） ---------- */
.deco { position: absolute; pointer-events: none; }
.deco--pill { border-radius: var(--r-pill); }
.deco-x { position: absolute; width: 150px; height: 150px; pointer-events: none; }
.deco-x::before, .deco-x::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 25%;
  border-radius: var(--r-pill);
  background: currentColor;
  transform-origin: bottom center;
}
.deco-x::before { left: 0; height: 70%; transform: rotate(40deg); }
.deco-x::after { left: 35%; height: 93%; transform: rotate(-28deg); }

/* ---------- 悩み ---------- */
.problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; }
.problem {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
}
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-tint);
  color: var(--orange);
  flex-shrink: 0;
}
.problem p { margin-top: 16px; font-size: 16.5px; font-weight: 800; line-height: 1.65; }
.resolve {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: clamp(30px, 3.6vw, 44px);
  text-align: center;
}
.resolve svg { color: var(--orange); }
.resolve p { font-size: clamp(19px, 2.3vw, 25px); font-weight: 900; line-height: 1.6; }

/* ---------- サービス（探す・書く・報告する） ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); position: relative; }
.phase {
  --tone: var(--orange-strong);
  --tone-bg: var(--orange-tint);
  --tone-deco: var(--orange);
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 28px clamp(20px, 2.2vw, 28px) 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.phase--amber { --tone: var(--amber-text); --tone-bg: var(--amber-tint); --tone-deco: var(--amber); }
.phase--green { --tone: var(--green-text); --tone-bg: var(--green-tint); --tone-deco: var(--green); }
.phase__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.phase__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tone-bg);
  color: var(--tone);
  line-height: 1;
  flex-shrink: 0;
}
.phase__step small { font-family: var(--font-num); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.phase__step .num { font-size: 22px; margin-top: 2px; }
.phase__name { font-size: 22px; font-weight: 900; line-height: 1.3; }
.phase__name small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-top: 4px; }
.phase__item h4 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 900; line-height: 1.5; }
.phase__item h4::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--tone-deco); transform: rotate(45deg); flex-shrink: 0; }
.phase__item p { margin-top: 6px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.phase-arrow {
  position: absolute;
  top: 58px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--sh-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
}
.phase-arrow--1 { left: calc(33.333% - 17px); }
.phase-arrow--2 { left: calc(66.666% - 17px); }
.option-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin-top: clamp(22px, 2.6vw, 30px);
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
}
.option-note b { color: var(--ink); }
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
}

/* ---------- 選ばれる理由 ---------- */
.reasons { display: flex; flex-direction: column; gap: clamp(64px, 8vw, 104px); }
.reason {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.reason--flip .reason__media { order: -1; }
.reason__no { font-family: var(--font-num); font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; color: var(--orange); }
.reason--amber .reason__no { color: var(--amber); }
.reason--green .reason__no { color: var(--green); }
.reason h3 { margin-top: 16px; font-size: clamp(23px, 2.9vw, 33px); font-weight: 900; line-height: 1.5; letter-spacing: -0.01em; text-wrap: balance; }
.reason__text { margin-top: 16px; font-size: clamp(15px, 1.5vw, 16px); line-height: 2; color: var(--ink-2); text-wrap: pretty; }
.reason__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 3 / 2; background: var(--placeholder); }
.reason__media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-tint);
  color: var(--orange-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.reason--green .check { background: var(--green-tint); color: var(--green-text); }
.reason--amber .check { background: var(--amber-tint); color: var(--amber-text); }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.mini-stat { background: var(--amber-tint); border-radius: var(--r-md); padding: 16px 20px; }
.mini-stat__label { font-size: 12.5px; font-weight: 800; color: var(--amber-text); }
.mini-stat__value { margin-top: 2px; line-height: 1.2; font-size: 15px; font-weight: 800; }
.mini-stat__value .num { font-size: 32px; }

/* ---------- 料金 ---------- */
.pricing { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.plan {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.4vw, 40px);
}
.plan__circle { position: absolute; right: -44px; top: -44px; width: 160px; height: 160px; border-radius: 50%; background: var(--deco-orange); opacity: 0.22; pointer-events: none; }
.plan__label { position: relative; display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--orange-strong); font-size: 12.5px; font-weight: 800; }
.plan__price { position: relative; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; line-height: 1; }
.plan__price .num { font-size: clamp(52px, 6vw, 68px); }
.plan__price .unit { font-size: 17px; font-weight: 800; }
.plan__tax { position: relative; margin-top: 8px; font-size: 13.5px; color: var(--on-ink-muted); }
.plan__terms { position: relative; margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.plan__terms div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }
.plan__terms dt { color: var(--on-ink-muted); font-weight: 700; flex-shrink: 0; }
.plan__terms dd { margin: 0; font-weight: 800; text-align: right; }
.plan__terms dd small { display: block; font-size: 12px; font-weight: 500; color: var(--on-ink-muted); }
.plan__includes { position: relative; list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.plan__includes li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.plan__includes svg { color: var(--on-ink-accent); flex-shrink: 0; margin-top: 3px; }
.plan .btn-row { position: relative; margin-top: 28px; flex-direction: column; }
.plan .btn-row .btn { width: 100%; }
.plan__note { position: relative; margin-top: 14px; font-size: 12.5px; line-height: 1.8; color: var(--on-ink-muted); }

.compare { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 30px); }
.panel__title { font-size: 17px; font-weight: 900; }
.panel__title small { margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.cmp-table { width: 100%; margin-top: 14px; border-collapse: collapse; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.5; text-align: center; vertical-align: middle; }
.cmp-table thead th { font-size: 12.5px; font-weight: 800; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.cmp-table thead th.is-us { color: var(--orange-strong); border-bottom: 2px solid var(--orange); }
.cmp-table tbody th { text-align: left; font-weight: 700; color: var(--ink); width: 30%; }
.cmp-table td { color: var(--ink-3); }
.cmp-table td.is-us { background: var(--orange-wash); color: var(--orange-strong); font-weight: 800; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }

.calc { background: var(--cream-100); border: 0; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 16px; }
.calc__col { background: #fff; border-radius: var(--r-md); padding: 16px 18px; }
.calc__who { font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.calc__col--us .calc__who { color: var(--orange-strong); }
.calc__formula { margin-top: 4px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.calc__total { margin-top: 6px; font-family: var(--font-num); font-size: 30px; font-weight: 800; line-height: 1.2; color: var(--ink-3); }
.calc__total small { font-family: var(--font-sans); font-size: 15px; font-weight: 800; }
.calc__col--us .calc__total { color: var(--orange-strong); }
.calc__col--them .calc__total { text-decoration: line-through; text-decoration-thickness: 2px; }
.calc__diff {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.calc__diff-main { white-space: nowrap; font-size: 15px; }
.calc__diff .num { margin: 0 2px 0 6px; font-size: 26px; color: var(--on-ink-accent); }
.calc__diff-sub { font-size: 13.5px; font-weight: 700; color: var(--on-ink-muted); }
.fineprint { font-size: 12.5px; line-height: 1.85; color: var(--ink-3); }
.fineprint li { list-style: none; padding-left: 1em; text-indent: -1em; }
.fineprint li::before { content: "※"; }

/* ---------- ご利用の流れ ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); counter-reset: flow; }
.flow__step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 22px 24px; box-shadow: var(--sh-sm); }
.flow__num { display: flex; align-items: center; gap: 10px; }
.flow__num .num { font-size: 34px; line-height: 1; color: var(--orange-strong); }
.flow__num::after { content: ""; flex: 1; height: 2px; background: var(--line-soft); border-radius: 2px; }
.flow__step h3 { margin-top: 14px; font-size: 17.5px; font-weight: 900; line-height: 1.5; }
.flow__step p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.flow__step .tag { margin-top: 12px; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__item[open] { border-color: var(--orange-line); box-shadow: var(--sh-sm); }
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--font-num); font-size: 17px; font-weight: 800; color: var(--orange-strong); flex-shrink: 0; }
.faq__item summary .faq__text { flex: 1; }
.faq__toggle { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink-3); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: flex; gap: 14px; padding: 0 22px 22px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.faq__a::before { content: "A"; font-family: var(--font-num); font-size: 17px; font-weight: 800; color: var(--green-text); line-height: 1.6; flex-shrink: 0; }

/* ---------- 運営会社 ---------- */
.company { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.company__brand img { width: 220px; height: auto; }
.company__name { margin-top: 22px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; }
.company__catch { margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--orange-strong); line-height: 1.7; }
.company__desc { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.company__brand .btn { margin-top: 24px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.8; }
.info-table th { width: 7.5em; padding-right: 16px; font-size: 13px; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--line); }

/* ---------- 最終CTA ---------- */
.final-cta { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.final-cta__panel {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 5.6vw, 76px) clamp(24px, 5vw, 72px);
}
.final-cta__panel .deco-x { right: -20px; bottom: -40px; width: 200px; height: 200px; color: var(--deco-orange); opacity: 0.9; }
.final-cta__body { position: relative; max-width: 640px; }
.final-cta h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; line-height: 1.45; letter-spacing: -0.01em; }
.final-cta p { margin-top: 18px; font-size: clamp(14.5px, 1.5vw, 16px); line-height: 2; color: var(--on-ink-muted); }
.final-cta .btn-row { margin-top: clamp(26px, 3vw, 34px); }
.final-cta .mail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--on-ink-muted); }
.final-cta .mail-link:hover { color: #fff; }

/* ---------- フッター ---------- */
.site-footer { background: var(--cream-100); border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) var(--gutter) 40px; }
.site-footer__inner { max-width: var(--container); margin: 0 auto; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.site-footer__brand img { height: 50px; width: auto; }
.site-footer__brand p { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer__nav a { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.site-footer__legal a { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.site-footer__copy { margin-top: 14px; font-family: var(--font-num); font-size: 12px; color: var(--ink-3); }

/* ---------- スマホ固定CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 850;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky-cta .btn { flex: 1; min-height: 50px; padding: 12px 14px; font-size: 14.5px; }
.sticky-cta.is-visible { transform: translateY(0); }

/* ---------- 資料バナー（PCのみ） ---------- */
.guide-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 800;
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(43, 26, 16, 0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.guide-banner.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.guide-banner__head { background: var(--ink); padding: 18px 20px; color: #fff; }
.guide-banner__tag { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--on-ink-green); }
.guide-banner__title { margin-top: 6px; font-size: 15.5px; font-weight: 900; line-height: 1.6; }
.guide-banner__body { padding: 16px 20px 18px; }
.guide-banner__body p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.guide-banner__body .btn { margin-top: 14px; }
.guide-banner__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.guide-banner__close:hover { background: rgba(255, 255, 255, 0.28); }

/* ==========================================================
   申込みページ
   ========================================================== */
.page-hero {
  padding: calc(var(--header-h) + clamp(32px, 5vw, 56px)) 0 clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, var(--cream-200), var(--cream-50));
}
.page-hero h1 { margin-top: 10px; font-size: clamp(27px, 3.8vw, 42px); font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; }
.page-hero p { margin-top: 12px; font-size: clamp(14.5px, 1.5vw, 16px); color: var(--ink-2); line-height: 1.9; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: clamp(24px, 3vw, 32px); max-width: 760px; counter-reset: st; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 800; color: var(--ink-3); line-height: 1.4; }
.steps li::before { counter-increment: st; content: counter(st); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cream-200); color: var(--ink-3); font-family: var(--font-num); font-size: 14px; font-weight: 800; flex-shrink: 0; }
.steps li.is-current { border-color: var(--orange); color: var(--ink); box-shadow: var(--sh-sm); }
.steps li.is-current::before { background: var(--orange-strong); color: #fff; }

.apply { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 40px); align-items: start; padding: clamp(32px, 4vw, 48px) 0 var(--section-y); }
.apply__main { display: flex; flex-direction: column; gap: 22px; }
.block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.block__title { display: flex; align-items: center; gap: 10px; font-size: 18.5px; font-weight: 900; line-height: 1.5; }
.block__title .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--orange-tint); color: var(--orange-strong); font-size: 15px; flex-shrink: 0; }
.block__lead { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }
.spec { width: 100%; margin-top: 16px; border-collapse: collapse; }
.spec th, .spec td { padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.8; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 9em; padding-right: 16px; font-size: 13.5px; font-weight: 800; color: var(--ink-3); }
.spec td strong { font-size: 15.5px; }
.spec td small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.inc-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.inc-list li { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--cream-100); font-size: 14px; line-height: 1.7; }
.inc-list li b { display: block; font-size: 14.5px; }
.inc-list li span { color: var(--ink-2); font-size: 13px; }
.inc-list .check { background: #fff; }
.important { border-color: var(--orange-line); background: var(--cream-50); }
.important ol { list-style: none; counter-reset: im; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.important li { position: relative; padding-left: 36px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.important li::before { counter-increment: im; content: counter(im); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-strong); color: #fff; font-family: var(--font-num); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.important li b { color: var(--ink); }
.alt-pay { display: flex; gap: 16px; align-items: flex-start; }
.alt-pay .icon-box { background: var(--green-tint); color: var(--green-text); }
.alt-pay p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.alt-pay .btn-row { margin-top: 14px; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary__card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); border: 1px solid var(--line); overflow: hidden; }
.summary__head { background: var(--ink); color: #fff; padding: 24px 26px; }
.summary__plan { font-size: 13px; font-weight: 800; color: var(--on-ink-accent); }
.summary__price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; line-height: 1; }
.summary__price .num { font-size: 46px; }
.summary__price .unit { font-size: 15px; font-weight: 800; }
.summary__tax { margin-top: 8px; font-size: 13px; color: var(--on-ink-muted); }
.summary__body { padding: 22px 26px 26px; }
.summary__rows { display: grid; gap: 0; }
.summary__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.summary__rows dt { color: var(--ink-3); font-weight: 700; flex-shrink: 0; }
.summary__rows dd { margin: 0; font-weight: 800; text-align: right; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--cream-100);
  border: 1.5px solid var(--line-2);
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.8;
  transition: border-color .2s, background-color .2s;
}
.consent:hover { border-color: var(--orange); }
.consent.is-checked { border-color: var(--orange-strong); background: var(--orange-wash); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange-strong); flex-shrink: 0; cursor: pointer; }
.consent a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.consent-error { display: none; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--danger); }
.consent-error.is-visible { display: block; }
.summary .btn--block { margin-top: 16px; }
.secure { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.secure svg { flex-shrink: 0; margin-top: 2px; }
.summary__alt { margin-top: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.summary__alt .btn { margin-top: 12px; }

/* ---------- 完了ページ ---------- */
.done { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 var(--section-y); background: linear-gradient(180deg, var(--cream-200), #fff 420px); }
.done__card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-md); border: 1px solid var(--line); padding: clamp(28px, 5vw, 56px); text-align: center; }
.done__icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--green-tint); color: var(--green-text); display: flex; align-items: center; justify-content: center; }
.done h1 { margin-top: 20px; font-size: clamp(25px, 3.4vw, 36px); font-weight: 900; line-height: 1.45; }
.done__lead { margin-top: 14px; font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.next-steps { list-style: none; margin-top: 30px; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--cream-100); }
.next-steps .num { font-size: 22px; line-height: 1.3; color: var(--orange-strong); flex-shrink: 0; width: 1.4em; }
.next-steps b { display: block; font-size: 15.5px; line-height: 1.6; }
.next-steps span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.done .btn-row { justify-content: center; margin-top: 30px; }
.done__help { margin-top: 22px; font-size: 13.5px; line-height: 1.85; color: var(--ink-3); }

/* ==========================================================
   規約・ポリシー等
   ========================================================== */
.legal { padding: calc(var(--header-h) + clamp(32px, 5vw, 56px)) 0 var(--section-y); background: linear-gradient(180deg, var(--cream-100), #fff 420px); }
.legal__head h1 { margin-top: 10px; font-size: clamp(24px, 3.5vw, 38px); font-weight: 900; line-height: 1.45; letter-spacing: -0.01em; }
.legal__head .legal__sub { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.legal__date { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.legal__body { margin-top: clamp(26px, 3.4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 48px); font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.legal__body > * + * { margin-top: 14px; }
.legal__body h2 { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 900; line-height: 1.6; color: var(--ink); }
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body ol, .legal__body ul { padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.legal__body ol.plain, .legal__body ul.plain { list-style: none; padding-left: 0; }
.legal__body table { width: 100%; border-collapse: collapse; }
.legal__body th, .legal__body td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.85; }
.legal__body th { background: var(--cream-100); font-weight: 800; color: var(--ink); }
.legal__body .signature { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-table th { width: 12em; white-space: nowrap; }
.legal-table { border-radius: 0; }
.legal__back { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1079px) {
  :root { --header-h: 68px; }
  .site-nav, .site-header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header__mobile-cta { display: inline-flex; }
  .site-header__inner { gap: 10px; }
  .site-header__inner .site-logo { margin-right: auto; }
  .site-logo img { height: 38px; }
  .sticky-cta { display: flex; }
  .guide-banner { display: none; }
  body.has-sticky { padding-bottom: 72px; }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase-arrow { display: none; }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .apply { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (min-width: 1080px) {
  .site-header__mobile-cta { display: none; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; }
  .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason { grid-template-columns: minmax(0, 1fr); }
  .reason--flip .reason__media { order: 0; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .btn--lg { min-height: 56px; padding: 15px 24px; font-size: 16px; }
  .hero { padding-bottom: 96px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero__points { gap: 8px 14px; }
  .price-tag { left: 12px; bottom: -22px; padding: 12px 16px; gap: 12px; }
  .price-tag__value .num { font-size: 30px; }
  .float-chip { right: 12px; top: 12px; padding: 8px 14px; font-size: 12px; }
  .trust { margin-top: -52px; }
  .trust__card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust__item { padding: 16px 6px; }
  .trust__label { font-size: 11.5px; }
  .trust__value .num { font-size: 30px; }
  .trust__value small { font-size: 12px; }
  .problems { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .problem { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
  .problem .icon-box { width: 46px; height: 46px; }
  .problem p { margin-top: 0; font-size: 15.5px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .mini-stat__value .num { font-size: 28px; }
  .calc__grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-table th, .cmp-table td { padding: 11px 4px; font-size: 13px; }
  .cmp-table thead th { font-size: 11.5px; }
  .cmp-table tbody th { width: 28%; }
  .plan__terms div { flex-direction: column; gap: 2px; }
  .plan__terms dd { text-align: left; }
  .info-table th { width: 5.5em; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .inc-list { grid-template-columns: minmax(0, 1fr); }
  .spec th, .spec td { display: block; width: auto; padding: 0; border: 0; }
  .spec th { padding-top: 14px; }
  .spec td { padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
  .alt-pay { flex-direction: column; }
  .legal__body th, .legal__body td { padding: 12px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; white-space: normal; }
  .legal-table tr + tr th { border-top: 0; }
  .legal-table td { border-top: 0; }
  .faq__item summary { padding: 18px 16px; gap: 12px; font-size: 15px; }
  .faq__a { padding: 0 16px 18px; }
  .trust__value .jp { font-size: 24px; }
  .trust__sub { font-size: 11px; }
  .flow__step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 18px 18px; }
  .flow__num { grid-row: span 3; align-self: start; }
  .flow__num::after { display: none; }
  .flow__num .num { font-size: 30px; }
  .flow__step h3 { margin-top: 0; font-size: 16.5px; }
  .flow__step p { margin-top: 4px; }
  .flow__step .tag { justify-self: start; margin-top: 8px; }
  .deco--pc { display: none; }
  .final-cta__panel .deco-x { width: 120px; height: 120px; right: -30px; bottom: -40px; opacity: 0.55; }
  .final-cta .mail-link { font-size: 13px; }
  .reason h3 { font-size: 22px; }
}

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

/* ---------- シンプルヘッダー・法務ページ補助 ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.legal__body .clauses { display: flex; flex-direction: column; gap: 10px; }
.legal__body .clauses + ul, .legal__body p + ul { margin-top: 10px; }
.legal__body ul { list-style: disc; }
.legal__body a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) {
  .hide-sp { display: none; }
  .header-actions .btn--sm { padding: 9px 14px; }
}

/* ---------- 追加調整 ---------- */
.header-actions .btn { white-space: nowrap; }
@media (max-width: 1079px) {
  .apply { display: flex; flex-direction: column; gap: 22px; }
  .apply__main { display: contents; }
  .block--spec { order: 1; }
  .block--important { order: 2; }
  .summary { order: 3; }
  .block--inc { order: 4; }
  .block--furikae { order: 5; }
}
@media (max-width: 640px) {
  .site-header--simple .site-logo img { height: 32px; }
  .header-actions { gap: 8px; }
  .header-actions .btn--sm { min-height: 38px; padding: 8px 12px; font-size: 12.5px; gap: 6px; }
  .final-cta__panel .deco-x { display: none; }
}
