/* フォントはサイト内に置く（外部の Google Fonts は職場の通信制限で止まることがあるため・2026-11-06）。
   文章に新しい漢字を足したら python3 tools/build_fonts.py で作り直す */
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/ZenKakuGothicNew-Light.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ZenKakuGothicNew-Regular.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ZenKakuGothicNew-Medium.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ZenKakuGothicNew-Bold.woff2") format("woff2"); }
@font-face { font-family: "Zen Old Mincho"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ZenOldMincho-Regular.woff2") format("woff2"); }
@font-face { font-family: "Zen Old Mincho"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ZenOldMincho-Medium.woff2") format("woff2"); }
@font-face { font-family: "Zen Old Mincho"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ZenOldMincho-SemiBold.woff2") format("woff2"); }

/* =========================================================
   soegi — 共通スタイル
   配色は Coolors パレット ede0d4 / e6ccb2 / ddb892 /
   b08968 / 7f5539 / 9c6644 から。
   意図的にライトテーマ1本。ベージュがブランドそのものなので
   ダークテーマへの反転は行わない。
   ========================================================= */

:root {
  color-scheme: light;

  /* ---- 地と面 ---- */
  --ground:      #FBF7F2; /* ごく薄い、温かみのあるベージュ */
  --header:      #FFFEFC; /* ほぼ白。ロゴの添え木を沈ませないため */
  --surface:     #FFFFFF;
  --surface-warm:#F5EBE0;
  --panel:       #EDE0D4;

  /* ---- 罫線 ---- */
  --line:        #E6CCB2;
  --line-soft:   #F0E3D6;
  --stake:       #DDB892; /* 添え木の縦罫 */

  /* ---- 茶系 ---- */
  --tan:         #DDB892;
  --brown:       #B08968;
  --brown-deep:  #7F5539;
  --accent:      #9C6644;
  --accent-ink:  #7F5539;

  /* ---- 文字 ---- */
  --ink:         #403A34; /* 黒ではない、濃いウォームグレー */
  --ink-soft:    #6B625A;
  --ink-faint:   #8C8178;
  --on-dark:     #FBF7F2;

  /* ---- 書体 ---- */
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;

  /* ---- 寸法 ---- */
  --wrap: 1060px;
  --text-wrap: 44rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 0.25em; }
a:hover { color: var(--brown-deep); }

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

/* =========================================================
   レイアウト
   ========================================================= */

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

.wrap--narrow { max-width: 50rem; }

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--warm { background: var(--surface-warm); }
.section--panel { background: var(--panel); }

.stack     { display: flex; flex-direction: column; gap: 1.25rem; }
.stack--lg { gap: 2.25rem; }
.stack--sm { gap: .6rem; }

/* =========================================================
   タイポグラフィ
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown-deep);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); line-height: 1.45; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.95rem); }
/* 必ず2行に収める見出し（1行目は約19文字）。狭い画面では文字を小さくして3行にしない（2026-10-08 果歩） */
.h2--2lines { font-size: min(clamp(1.4rem, 3.2vw, 1.95rem), calc((100vw - 2 * var(--gutter) - 1.4rem) / 20.5)); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
h4 { font-size: 1.02rem; }

p { margin: 0; max-width: var(--text-wrap); }

.lead {
  font-size: clamp(1rem, 1.9vw, 1.13rem);
  color: var(--ink-soft);
  line-height: 2.05;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 0;
}

.small { font-size: .85rem; color: var(--ink-soft); line-height: 1.8; }
.fine  { font-size: .78rem; color: var(--ink-faint); line-height: 1.75; }

/* 添え木 — 見出しに沿わせる細い縦罫 */
.stake {
  border-left: 2px solid var(--stake);
  padding-left: clamp(1rem, 2.5vw, 1.6rem);
}

/* =========================================================
   ヘッダー
   ========================================================= */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1rem;
}

/* ロゴ。最終的に <img> へ差し替える */
.logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--brown-deep);
  text-decoration: none;
  line-height: 1;
}
.logo:hover { color: var(--accent); }
.logo img { display: block; height: auto; }
.site-header .logo img { width: 148px; }
.site-footer .logo img { width: 132px; }
@media (max-width: 560px) { .site-header .logo img { width: 118px; } }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2.4vw, 1.75rem);
  flex-wrap: wrap;
}

.nav a {
  font-size: .89rem;
  color: var(--ink);
  text-decoration: none;
  padding-block: .2rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--tan); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--brown); }

/* =========================================================
   ボタン
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .06em;
  padding: .85rem 1.7rem;
  border-radius: 2px;
  border: 1px solid var(--brown-deep);
  background: var(--brown-deep);
  color: var(--on-dark);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }

.btn--ghost { background: transparent; color: var(--brown-deep); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--accent); border-color: var(--brown); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* =========================================================
   ヒーロー
   ========================================================= */

.hero { padding-block: clamp(3.5rem, 10vw, 7rem) clamp(3rem, 8vw, 5.5rem); }

.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
}

.hero__title { margin-bottom: .2rem; }

.hero__note {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--brown-deep);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .5rem 1rem;
  line-height: 1.6;
}

/* ロゴと同じ木のイラスト。幹＝経営者、淡い線＝添え木 */
.hero__figure {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__figure img {
  height: clamp(230px, 30vw, 370px);
  width: auto;
  max-width: 100%;
}

@media (max-width: 800px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* スマホでは見出しの右横に小さく置く（2026-09-29 果歩の希望。以前はロゴと重複するため非表示） */
  .hero__inner { position: relative; }
  .hero__figure {
    position: absolute;
    top: 2.2rem;
    /* 見出し1行目（7文字）のすぐ右。h1 の文字サイズと同じ clamp で追従させる */
    left: calc(var(--gutter) + clamp(1.9rem, 5.2vw, 3rem) * 7.8 + 1.25rem);
    pointer-events: none;
  }
  .hero__figure img { height: 104px; }
}
@media (max-width: 640px) {
  /* スマホで木が小さすぎた → 画面幅に合わせて大きく。見出しの右の空きに収まる幅まで（2026-10-08 果歩） */
  .hero__figure img { height: clamp(104px, 42vw, 180px); }
}

/* =========================================================
   カード / グリッド
   ========================================================= */

.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: clamp(1.3rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.card h3 { font-size: 1.08rem; }
.card p  { font-size: .92rem; color: var(--ink-soft); }
/* 比較カードの出典の注記（※）。本文より2段小さく（2026-10-08 果歩） */
.card p.fine--src { font-size: .74rem; color: var(--ink-faint); line-height: 1.7; }

/* 困りごと。カードではなく引用の体裁にする */
.pains { display: grid; gap: 0; }
.pain {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  color: var(--brown-deep);
  line-height: 1.85;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.pain:first-child { border-top: 1px solid var(--line); }

/* 業務メニュー A〜F */
.menu-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.25rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.menu-item__key {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--tan);
  line-height: 1;
  padding-top: .15rem;
}

.menu-item--lead .menu-item__key { color: var(--brown); }

.tick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.tick li {
  position: relative;
  padding-left: 1.3rem;
  font-size: .93rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: .5rem;
  height: 1px;
  background: var(--brown);
}

/* =========================================================
   料金
   ========================================================= */

/* 料金ページの A〜E。閉じているときは丸いボタン、開くとその枠が広がって中に一覧が出る */
.cats {
  width: 100%;
  max-width: var(--cats-closed, 18rem);
  font-size: .9rem;
  color: var(--ink-soft);
  border: 1px solid var(--brown);
  border-radius: 1.5em;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: -.75rem;
}
.cats.is-ready { transition: max-width .45s cubic-bezier(.2,.7,.2,1), background-color .35s, border-color .35s, border-radius .45s; }
.cats.is-open {
  max-width: 100%;
  background: var(--surface-warm);
  border-color: var(--line);
  border-radius: 12px;
}
.cats__toggle {
  display: flex;
  align-items: center;
  gap: .6em;
  width: 100%;
  padding: .55em 1.2em;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: var(--brown-deep);
  cursor: pointer;
  white-space: nowrap;
}
.cats:not(.is-open):hover { background: var(--line); border-color: var(--brown-deep); }
.cats__toggle::after {
  content: "";
  flex: none;
  width: .45em; height: .45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.15em) rotate(45deg);
  transition: transform .3s;
}
.cats.is-open .cats__toggle::after { transform: translateY(.1em) rotate(-135deg); }
.cats__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
.cats.is-open .cats__body { grid-template-rows: 1fr; }
.cats__inner {
  min-height: 0;
  overflow: hidden;
  padding-inline: 1.2em;
  opacity: 0;
  transition: opacity .2s;
}
.cats.is-open .cats__inner { opacity: 1; transition: opacity .3s .2s; }
.cats ul { list-style: none; margin: .2rem 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.cats b { font-weight: 500; color: var(--brown-deep); margin-right: .4em; }
.cats a { display: inline-block; margin-bottom: 1rem; color: var(--accent); font-size: .85rem; }
@media (min-width: 761px) {
  .cats { font-size: 1rem; margin-inline: auto; }
  .cats__toggle { justify-content: center; padding-inline: 1.8em; }
  .cats__inner { text-align: center; }
  .cats ul { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cats, .cats__body, .cats__inner, .cats__toggle::after { transition: none; }
}

.plans { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
}

.plan--featured { border-color: var(--brown); background: #FFFDFA; }

.plan__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown-deep);
}

.plan__hours { font-size: .84rem; color: var(--ink-faint); letter-spacing: .06em; }

.plan__price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--brown-deep);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.plan__price span { font-size: .95rem; font-family: var(--sans); color: var(--ink-soft); letter-spacing: .04em; }
.plan__gst { font-size: .78rem; color: var(--ink-faint); }

.plan__includes { font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line-soft); padding-top: .9rem; }

/* 手順 */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.05rem 0 1.05rem 3.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
  line-height: 1.8;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: .92rem;
  color: var(--brown-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  line-height: 1;
}

/* 承っていないこと */
.notice {
  background: var(--panel);
  border-radius: 2px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  color: var(--brown-deep);
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  color: var(--brown);
  font-size: .95rem;
  flex: none;
}
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { color: var(--accent); }

.faq__body { padding-bottom: 1.4rem; }
.faq__body p { font-size: .94rem; color: var(--ink-soft); }

/* =========================================================
   私について
   ========================================================= */

.profile {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } }

.portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .portrait { width: 168px; height: 168px; } }

.profile__photo {
  margin: 0;
  width: 220px;
  text-align: center;
}
@media (max-width: 760px) { .profile__photo { width: 168px; } }

.profile__name {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brown-deep);
  letter-spacing: .12em;
}
.profile__name span {
  display: block;
  margin-top: .15rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--ink-faint);
}

/* プロフィールの経歴（年表）2026-10-13 */
.career {
  margin-top: .75rem;
  border-left: 2px solid var(--stake);
  padding-left: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  row-gap: .55rem;
  font-size: .9rem;
  line-height: 1.7;
}
.career dt { font-family: var(--sans); color: var(--brown); letter-spacing: .04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.career dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) {
  .career { grid-template-columns: 1fr; row-gap: 0; }
  .career dd { margin-bottom: .6rem; }
}

.case {
  border-left: 2px solid var(--stake);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.case h4 { font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; color: var(--brown); font-weight: 500; }

/* =========================================================
   フォーム
   ========================================================= */

.form { display: grid; gap: 1.15rem; max-width: 34rem; }

.field { display: grid; gap: .4rem; }

.field label { font-size: .85rem; color: var(--ink); letter-spacing: .06em; }
.field .req { color: var(--accent); font-size: .78rem; margin-left: .35rem; }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .75rem .9rem;
  width: 100%;
  line-height: 1.7;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brown); }

/* =========================================================
   CTA 帯
   ========================================================= */

.cta {
  background: var(--brown-deep);
  color: var(--on-dark);
}
.cta h2 { color: var(--on-dark); }
.cta p  { color: #E8D9C8; }
.cta .btn {
  background: var(--on-dark);
  color: var(--brown-deep);
  border-color: var(--on-dark);
}
.cta .btn:hover { background: var(--panel); border-color: var(--panel); color: var(--brown-deep); }

/* =========================================================
   フッター
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.footer-nav { display: grid; gap: .5rem; font-size: .89rem; }

.origin {
  font-family: var(--serif);
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.95;
  max-width: 24rem;
}

.site-footer__base {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--ink-faint);
}

/* =========================================================
   テーブル（料金の比較など）
   ========================================================= */

.table-scroll { overflow-x: auto; }

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: .9rem;
}
th, td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
thead th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--brown);
  border-bottom: 1px solid var(--line);
}
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

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

/* PC でのみ効く改行 */
@media (max-width: 640px) { .br-pc { display: none; } }

/* CTA 帯のなかのゴースト系ボタン */
.cta .btn--ghost { background: transparent; color: var(--on-dark); border-color: var(--brown); }
.cta .btn--ghost:hover { background: transparent; color: var(--panel); border-color: var(--panel); }

/* 問い合わせページ。スマホと同じく縦一列（説明 → フォーム → 補足）。2026-10-05 */
.form { width: 100%; }
.contact { display: grid; gap: 2rem; max-width: 40rem; }
.contact .form { max-width: none; }
.contact__info { display: grid; gap: 1.25rem; }
.contact .field textarea#preferred { min-height: 5.5rem; }

/* ロボット避けの入力欄（人には見せない） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-notice {
  border: 1px solid var(--tan);
  background: var(--panel);
  padding: .9rem 1.1rem;
  font-size: .9rem;
  max-width: none;
}

/* =========================================================
   スマホのヘッダー
   無料相談ボタンは常に見える位置に固定し、
   他のメニューは三本線の中へ畳む。
   ========================================================= */

.header-actions { display: none; }

.btn--sm { padding: .58rem 1.05rem; font-size: .84rem; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  flex: none;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--brown-deep);
  border-radius: 2px;
  transition: transform .2s ease, opacity .15s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  /* wrap のままにする。nav を2行目に送るため */
  .site-header__inner { flex-wrap: wrap; gap: .75rem; }

  .header-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: .4rem;
  }
  .nav.is-open { display: flex; }

  .nav a {
    font-size: .95rem;
    padding-block: .9rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a:hover { border-bottom-color: var(--line-soft); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line-soft); }

  /* ヘッダーに出している無料相談と重複するので、畳んだ側では隠す */
  .nav .nav__cta { display: none; }
}

@media (max-width: 420px) {
  .site-header .logo img { width: 104px; }
  .btn--sm { padding: .55rem .85rem; font-size: .8rem; }
}

/* プラン比較表 */
.compare th[scope="row"] { font-family: var(--sans); font-weight: 400; color: var(--ink); font-size: .88rem; white-space: nowrap; }
.compare td { text-align: center; }
.compare td.mark { text-align: center; color: var(--brown-deep); font-size: 1rem; }
.compare td.mark.off { color: var(--ink-faint); }
.compare thead th { text-align: center; }
.compare thead th:first-child { text-align: left; }
.compare .ref { color: var(--brown); font-size: .75rem; }

/* 直前のセクションと続けて見せる（上の余白を詰める） */
.section--flush { padding-top: 0; }

/* スマホでだけ効く改行（.br-pc の逆） */
.br-sp { display: none; }
@media (max-width: 640px) { .br-sp { display: inline; } }

/* 見逃してほしくない一文 */
.callout {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.95;
  color: var(--brown-deep);
  max-width: 54rem; /* デスクトップで1行に収まる幅 */
}

.callout-box {
  background: var(--surface);
  border: 1px solid var(--brown);
  border-radius: 2px;
  padding: clamp(1.5rem, 3.5vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

/* プランに添える案内タグ（実績の主張ではなく、こちらからのおすすめ） */
.plan__tag {
  position: absolute;
  top: -.8rem;
  left: clamp(1.5rem, 3vw, 2rem);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--on-dark);
  background: var(--brown);
  border-radius: 2px;
  padding: .32rem .75rem;
  line-height: 1.5;
}

/* =========================================================
   2026-10-03 新しい軸で追加（任せる理由・進め方・お試し・改行）
   ========================================================= */
.reasons { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .reasons { grid-template-columns: 1fr; } }
.flow { counter-reset: f; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }
.flow .card h3::before { counter-increment: f; content: counter(f) "　"; color: var(--tan); }
/* お試しの案内。サブスクの「初月無料」のように少し目立たせる。パレットに合う、ごく薄い黄色 */
.plan__trial {
  font-size: .88rem;
  color: var(--brown-deep);
  background: #FAF1D6;
  border: 1px solid #EBD69F;
  border-radius: 6px;
  padding: .75rem .9rem;
  line-height: 1.7;
}
.plan__trial strong {
  display: inline-block;
  margin-right: .35em;
  padding: .05em .6em;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
  background: var(--brown);
  border-radius: 999px;
}
.nw { white-space: nowrap; }
/* メニューに「日本からご依頼の方」が入って長くなったので、三本線になる手前の幅だけ詰める */
@media (min-width: 861px) and (max-width: 1000px) { .nav { gap: .75rem; } .nav a { font-size: .8rem; } }

/* eyebrow は大文字化されるので、ロゴ表記の soegi だけ小文字のまま残す */
.eyebrow .brand { text-transform: none; }
