@charset "utf-8";
/* ============================================================
   ユニゾンプロ — Stage 1 説明サイト スタイルシート
   参照: ../assets/design/mockup-2026-08-18.png（リポジトリの assets/design/）
        （レイアウト・配色・余白のみ参照。文言と金額は事業計画書に従う）
   方針:
     - 外部フォント／外部CDNを読み込まない（CSP・表示速度のため）
     - 一時URL /unisonpro 配下で動くよう、URLはすべて相対パス
     - WCAG 2.2 AA を目標（コントラスト・フォーカス可視化・可変文字サイズ）
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  /* ブランド */
  --green:        #147D56;
  --green-hover:  #0E6644;
  --green-deep:   #0E5B3E;
  --green-logo:   #146B4B;
  --green-tint:   #EDF6F0;
  --green-tint-2: #F4FAF6;
  --green-line:   #C9E0D4;

  /* 無彩色（わずかに緑寄りのニュートラル） */
  --ink:     #232F3B;
  --ink-2:   #55636E;
  /* WCAG 2.2 AA: 白・淡緑いずれの背景でもコントラスト比 4.5 以上を満たす値。
     元の #7C8A93 は 3.2〜3.5 で不足していた。 */
  --ink-3:   #616E77;
  --line:    #E7ECE9;
  --line-2:  #D5E0DA;
  --surface: #FFFFFF;
  --paper:   #FFFFFF;

  /* 意味色（ブランドのアクセントとは分離する） */
  --note:      #8A5A11;
  --note-bg:   #FDF6E9;
  --note-line: #EFDFC0;

  /* 形状 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(35, 47, 59, .05);
  --shadow-md: 0 1px 2px rgba(35, 47, 59, .04), 0 10px 28px -20px rgba(35, 47, 59, .3);

  /* レイアウト */
  --header-h: 80px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  /* 書体 */
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium",
               "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --font-num: "Helvetica Neue", Arial, var(--font-sans);
}

/* ---------- 2. リセットと基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
/* 入力の検証中だけ、なめらかスクロールを切る。
   ブラウザは不備のある欄まで画面を送ってから吹き出しを出すが、
   なめらかに動かしていると吹き出しだけが元の位置に取り残され、
   「欄へ移動しただけ」に見えてしまう。 */
html.is-validating { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
li::marker { color: var(--green); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 3. レイアウト土台 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--green-tint-2); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--ink-2); margin: 12px auto 0; max-width: 44em; }

/* ---------- 4. タイポグラフィ ---------- */
h1, h2, h3, h4 { line-height: 1.45; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; line-height: 1.35; }
h2 { font-size: clamp(23px, 3.2vw, 31px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.2vw, 21px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--green-deep);
  border: 1px solid var(--green-line);
  background: var(--green-tint);
  border-radius: var(--r-pill);
  padding: 5px 18px;
  margin-bottom: 24px;
}

.lede { font-size: clamp(16px, 1.8vw, 18px); color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.note  { font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }
.em    { color: var(--green); }
.num   { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- 5. ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.site-logo { flex: none; display: flex; align-items: center; }
.site-logo img { width: 208px; max-width: 46vw; }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin: 0; padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

.header-cta { flex: none; }

/* モバイル: 開閉ボタン */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: currentColor; position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    margin-left: 0;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .header-cta { display: none; }
  .site-nav .header-cta--inline { display: block; margin-top: 16px; }
}
@media (min-width: 941px) {
  .site-nav .header-cta--inline { display: none; }
}

/* ---------- 6. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); background: #fff; }
.btn--sm { font-size: 14px; padding: 9px 20px; }
.btn--lg { font-size: 16px; padding: 16px 34px; }
.btn--block { display: flex; width: 100%; }
.btn__arrow { font-size: 12px; opacity: .85; }

/* ---------- 7. ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* イラスト側に淡い緑の面が描かれているため、背景は控えめにする */
  background:
    radial-gradient(120% 90% at 82% 14%, var(--green-tint-2) 0%, rgba(244,250,246,0) 58%),
    #fff;
  padding-block: clamp(44px, 6vw, 76px) clamp(48px, 7vw, 84px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero__lede { font-size: clamp(15.5px, 1.7vw, 17px); color: var(--ink-2); margin-bottom: 30px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 24px;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.hero__points li:first-child { padding-left: 0; border-left: 0; }
.hero__points b { color: var(--ink); display: block; font-size: 13px; line-height: 1.5; white-space: nowrap; }
/* :not(.icon-ring) は必須。これが無いと、この指定（詳細度 0-1-1）が
   .icon-ring（詳細度 0-1-0）の display:grid と color を上書きし、
   アイコンが円の上部へ寄り、緑ではなく灰色で表示される。 */
.hero__points span:not(.icon-ring) { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; white-space: nowrap; }

@media (max-width: 1200px) and (min-width: 901px) {
  .hero__points { grid-template-columns: 1fr; gap: 14px; }
  .hero__points li { padding-left: 0; border-left: 0; }
}
@media (max-width: 460px) {
  .hero__points { grid-template-columns: 1fr; gap: 14px; }
  .hero__points li { padding-left: 0; border-left: 0; }
}

.icon-ring {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1.5px solid var(--green-line);
  border-radius: 50%;
  color: var(--green);
  background: #fff;
}
.icon-ring svg { width: 18px; height: 18px; }

.hero__art { position: relative; }
.hero__art-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 560px; margin-inline: auto; }
}

/* ---------- 8. ステップ（4ステップ） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.step {
  position: relative;
  background: var(--green-tint-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.step__icon { color: var(--green); margin-bottom: 14px; }
.step__icon svg { width: 42px; height: 42px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin: 0; }

.step::after {
  content: "";
  position: absolute;
  right: -12px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--line-2);
  border-right: 2px solid var(--line-2);
  transform: translateY(-50%) rotate(45deg);
}
.steps > .step:last-child::after { display: none; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .steps > .step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
}

/* ---------- 9. サービスカード ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 16px;
}
.svc-cell { display: flex; }
.svc-cell > .svc-card { flex: 1 1 auto; }

.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 24px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.svc-card:hover {
  border-color: var(--green-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.svc-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  margin-bottom: 16px;
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: var(--r-sm);
  padding: 2px 9px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.svc-card__title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}
.svc-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.svc-card__price b {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.svc-card__price .tax { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.svc-card__price .unit { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.svc-card__meta { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* ---------- 10. 選ばれる理由 ---------- */
.reasons {
  background: var(--green-tint);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 48px);
}
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.reason { display: flex; gap: 16px; align-items: flex-start; }
.reason__icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.reason__icon svg { width: 24px; height: 24px; }
.reason h3 { font-size: 16.5px; color: var(--green-deep); margin-bottom: 6px; }
.reason p { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin: 0; }
@media (max-width: 860px) { .reasons__grid { grid-template-columns: 1fr; } }

/* ---------- 11. フィルタ（サービス一覧） ---------- */
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 28px;
}
.filters fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.filters fieldset:last-of-type { margin-bottom: 0; }
.filters legend {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: .04em;
  padding: 0;
  margin-bottom: 9px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input {
  position: absolute; opacity: 0;
  width: 100%; height: 100%; margin: 0;
  cursor: pointer;
}
.chip span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-2);
  transition: all .12s ease;
}
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.chip:hover span { border-color: var(--green-line); }

.result-count {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.result-count b { color: var(--ink); font-family: var(--font-num); }
[hidden] { display: none !important; }

.svc-group { margin-bottom: 44px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}
.svc-group__head h2 { font-size: 21px; }
.svc-group__head .roman {
  font-family: var(--font-num);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--ink-3);
  font-weight: 700;
}
.svc-group__head .track {
  margin-left: auto;
  font-size: 12px;
  color: var(--green-deep);
  background: var(--green-tint);
  border-radius: var(--r-sm);
  padding: 3px 10px;
  font-weight: 700;
  white-space: nowrap;
}
.svc-sub { font-size: 14.5px; font-weight: 700; color: var(--ink-2); margin: 26px 0 14px; }

/* ---------- 12. サービス詳細 ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-3); padding-block: 18px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "›"; color: var(--line-2); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }

.detail-hero { padding-block: 26px clamp(36px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.detail-hero__cat { margin-bottom: 14px; }
.detail-hero h1 { font-size: clamp(25px, 3.6vw, 36px); margin-bottom: 20px; }

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}
.price-panel__main { padding: 28px 30px; }
.price-panel__side { padding: 28px 30px; background: var(--green-tint-2); border-left: 1px solid var(--line); }
.price-panel__label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink-3); margin-bottom: 8px;
}
.price-panel__amount { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price-panel__amount b {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.price-panel__amount .tax  { font-size: 14px; color: var(--ink-2); }
.price-panel__amount .unit { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.price-panel__caption { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.8; }
.price-panel dl { margin: 0; font-size: 14px; }
.price-panel dt { font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.price-panel dd { margin: 0 0 14px; color: var(--ink-2); line-height: 1.8; }
.price-panel dd:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .price-panel { grid-template-columns: 1fr; }
  .price-panel__side { border-left: 0; border-top: 1px solid var(--line); }
}

.spec-list { border-top: 1px solid var(--line); margin-top: 8px; }
.spec-list > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.spec-list dt { font-weight: 700; font-size: 14.5px; }
.spec-list dd { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.spec-list ul { margin: 0; padding-left: 1.3em; }
@media (max-width: 640px) {
  .spec-list > div { grid-template-columns: 1fr; gap: 2px; padding: 15px 4px; }
}

.tbd {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--note);
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  border-radius: var(--r-sm);
  padding: 2px 9px;
}

/* ---------- 13. 汎用パーツ ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
/* 見出しレベルはページ内の階層で決まるため、見た目はここで固定する */
.card :is(h2, h3, h4) {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
}
.card p:last-child { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.callout {
  border: 1px solid var(--green-line);
  background: var(--green-tint);
  border-radius: var(--r-lg);
  padding: 24px 28px;
}
.callout :is(h2, h3, h4) {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--green-deep);
  margin: 0 0 10px;
}
.callout--note { border-color: var(--note-line); background: var(--note-bg); }
.callout--note :is(h2, h3, h4) { color: var(--note); }

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 560px; }
caption { text-align: left; font-size: 13.5px; color: var(--ink-3); padding: 0 0 10px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.75; }
th {
  font-size: 12.5px; letter-spacing: .04em; font-weight: 700;
  color: var(--ink-3); background: var(--green-tint-2); white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
td.num-cell { font-family: var(--font-num); font-variant-numeric: tabular-nums; white-space: nowrap; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-num);
  font-size: 13px;
  margin-top: 2px;
}
.faq-item summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  margin-top: 10px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--green); }
.faq-item__body { padding: 0 4px 24px 44px; color: var(--ink-2); font-size: 15px; }
.faq-item__body p:last-child { margin-bottom: 0; }

.prose h2 { margin-top: 52px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; margin-bottom: 10px; }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose .tablewrap { margin-block: 22px; }

.deflist { margin: 0; }
.deflist > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 6px 24px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
}
.deflist > div:first-child { border-top: 1px solid var(--line); }
.deflist dt { font-weight: 700; font-size: 14.5px; }
.deflist dd { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 640px) {
  .deflist > div { grid-template-columns: 1fr; gap: 2px; }
}

/* 番号付きリスト（流れ） */
.flow-steps { list-style: none; padding: 0; margin: 0; counter-reset: flow; }
.flow-steps > li {
  position: relative;
  counter-increment: flow;
  padding: 0 0 34px 66px;
  margin: 0;
}
.flow-steps > li::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
}
.flow-steps > li::after {
  content: "";
  position: absolute;
  left: 21.5px; top: 52px; bottom: 8px;
  width: 2px;
  background: var(--line-2);
}
.flow-steps > li:last-child { padding-bottom: 0; }
.flow-steps > li:last-child::after { display: none; }
.flow-steps :is(h2, h3) {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  padding-top: 8px;
}
.flow-steps p { color: var(--ink-2); font-size: 15px; }

/* CTAバンド */
.cta-band {
  background: var(--green);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(32px, 4.5vw, 52px);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 40em; margin-inline: auto; margin-bottom: 26px; }
.cta-band .btn--ghost { background: #fff; border-color: #fff; color: var(--green-deep); }
.cta-band .btn--ghost:hover { background: var(--green-tint); border-color: var(--green-tint); color: var(--green-deep); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* 本文中に置く場合。CTAバンドと違い、見出しの左端にそろえる */
.cta-actions--start { justify-content: flex-start; }

/* 準備中バナー */
.stage-banner {
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.7;
  padding: 10px 0;
}
.stage-banner .container { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.stage-banner b { color: #8FD9B6; font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.stage-banner span { color: rgba(255, 255, 255, .88); }

/* 士業向けの導線。依頼者向けの受付状況とは別の話なので、行の反対側へ寄せる */
.stage-banner__cta {
  margin-left: auto;
  color: #8FD9B6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.stage-banner__cta:hover { color: #fff; }
/* 1行に収まらなくなったら、右端ではなく本文の左端にそろえて折り返す。
   帯の文言と合わせて約960pxを超えると2行になる。 */
@media (max-width: 1000px) {
  .stage-banner__cta { margin-left: 0; }
}

/* ご登録にあたってご用意いただくもの */
.prep-list { list-style: none; padding-left: 0; margin: 18px 0 0; }
.prep-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--line-2);
  margin-bottom: 0;
}
.prep-list li:last-child { border-bottom: 1px solid var(--line-2); }
.prep-list b { font-size: 15.5px; }
.prep-list span { font-size: 14px; line-height: 1.8; color: var(--ink-2); }

/* ---------- 14. フッター ---------- */
.site-footer {
  background: var(--green-tint-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 60px) 28px;
  margin-top: clamp(56px, 7vw, 88px);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-2);
}
.site-footer img.footer-logo { width: 190px; margin-bottom: 14px; }
.site-footer h2 {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--ink-3);
}
.site-footer__bottom .copy { margin-left: auto; }
@media (max-width: 820px) {
  .site-footer__top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom .copy { margin-left: 0; }
}

/* ---------- 16. お問い合わせフォーム ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-size: 14.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.req, .opt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 2px 7px;
  border-radius: 3px;
}
.req { background: var(--green); color: #fff; }
.opt { background: var(--green-tint); color: var(--green-deep); }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 180px; }
.field select { appearance: none; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green-line); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green);
  outline: 3px solid var(--green-tint);
  outline-offset: 0;
}
.field .hint { font-size: 13px; line-height: 1.7; color: var(--ink-3); margin: 0; }

.consent { border-top: 1px solid var(--line); padding-top: 20px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--green); }

/* 自動投稿の抑止用。人にもスクリーンリーダーにも見せない */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks-mark {
  display: inline-grid;
  place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 480px) {
  .contact-form { padding: 20px 18px; }
}

/* ---------- 17. ユーティリティ ----------
   インラインstyle属性を使わないためのクラス。
   CSPで style-src 'self' を維持する（'unsafe-inline' を付けない）ために必要。 */
.c-ink2 { color: var(--ink-2); }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }
.mt-30 { margin-top: 30px; }
.mt-34 { margin-top: 34px; }
.mt-36 { margin-top: 36px; }
.mt-52 { margin-top: 52px; }
.mt-56 { margin-top: 56px; }
.mb-0  { margin-bottom: 0; }
.mb-28 { margin-bottom: 28px; }
.ml-0  { margin-left: 0; }
.pt-0  { padding-top: 0; }
.ta-left   { text-align: left; }
.ta-center { text-align: center; }

/* .section-head 配下の p は既定で中央寄せ・自動マージン。左寄せ時に上書きする */
.section-head.ta-left p { margin-inline: 0; }

/* ---------- 18. 印刷 ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .stage-banner, .skip-link, .filters { display: none !important; }
  body { font-size: 11pt; }
  a { text-decoration: none; color: #000; }
  .svc-card, .card, .price-panel { break-inside: avoid; box-shadow: none; }
}
