/* ==========================================================================
   合同会社 絆｜style.css

   ・値はすべて :root のトークンを使う。個別に調整値を足さない。
   ・各コンポーネントは「基本（スマホ）→ メディアクエリ」の順で書く。
     この順序を崩すと、後から来る基本ルールがメディアクエリを打ち消す。
   ・重厚感は装飾ではなく、余白・級数・罫線・写真の面積で作る。
     角丸・影・アイコン・グラデーションで高級感を出そうとしないこと。
   ========================================================================== */

/* ==========================================================================
   1. デザイントークン
   ========================================================================== */
:root {
  /* --- 色 ---
     深緑はブランドの軸として残しつつ、紙面は白〜オフホワイト〜薄いグレージュ。
     濃い色は「締める場所」（見出し・最終CTA・フッター・電話ボタン）に限る。金色は使わない。 */
  --c-ink:        #14231E;   /* 最も濃い。見出し・フッター */
  --c-deep:       #1D3A33;   /* ブランドの深緑。最終CTAの地 */
  --c-sub:        #3E5D53;   /* 中間の緑 */

  /* 紙面の4段階。差は「気付かない程度」に留める（明度差は最大でも約4%） */
  --c-paper:        #FFFFFF;   /* 純白。基本の地 */
  --c-paper-warm:   #FAF8F4;   /* 温かいオフホワイト。セクションのトーン差 */
  --c-paper-greige: #F4F2EC;   /* 薄いグレージュ。白 → オフホワイト → 白 → グレージュ の4段目 */
  --c-greige:       #EFECE5;   /* 写真の下地。画像が出るまでの面 */

  --c-line:       #DFDBD2;   /* 罫線。1px でだけ使う */
  --c-line-soft:  rgba(20, 35, 30, .09);
  --c-text:       #333B36;
  --c-text-mute:  #686F69;   /* 薄いグレージュの上でも 4.6:1。小さな補助文が AA を割らない濃さ */
  --c-cta:        #A8452F;   /* 弁柄。アクセントはこの1色に絞る */
  --c-cta-deep:   #8E3A27;
  --c-bronze:     #9A7B4F;   /* ごく控えめなブロンズ。罫線と番号にだけ */
  --c-line-brand: #06C755;   /* LINE公式の緑。LINEボタンの枠とアイコンだけに使う */
  /* 追従CTAのLINE側。公式の緑そのままだと紙面から浮くうえ、白文字で 2.2:1 しか出ない。
     色相はLINEのまま明度だけ落とし、白文字で 5.0:1（弁柄の 5.9:1 と釣り合う）にしている */
  --c-line-brand-deep:  #0A8040;
  --c-line-brand-press: #08703A;

  /* --- 背景（静的） ---
     線・パターン・アニメーションは使わない。角に置いた極薄の放射グラデーションだけで、
     白一色より少しだけ奥行きを出す。単体で「グラデーションが入っている」と分かる濃さにしない */
  --bg-tint-a: 226, 219, 205;   /* 右上のグレージュ */
  --bg-tint-b: 222, 215, 200;   /* 左下のグレージュ */

  /* 旧トークン名の互換（下層ページ・contact.php が参照している） */
  --color-main:       var(--c-deep);
  --color-main-deep:  var(--c-ink);
  --color-sub:        var(--c-sub);
  --color-bg:         var(--c-paper);
  --color-bg-tint:    var(--c-paper-warm);
  --color-bg-greige:  var(--c-paper-greige);
  --color-line:       var(--c-line);
  --color-text:       var(--c-text);
  --color-text-mute:  var(--c-text-mute);
  --color-cta:        var(--c-cta);
  --color-cta-hover:  var(--c-cta-deep);

  /* --- フォント ---
     見出しは明朝、本文・ナビ・数字はゴシック。 */
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-gothic: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-base: var(--font-gothic);

  /* --- 文字サイズ --- */
  --fs-hero:   clamp(30px, 6.4vw, 54px);
  --fs-h2:     clamp(23px, 3.6vw, 38px);
  --fs-h3:     clamp(17px, 1.5vw, 20px);
  /* 390px で 15.5px、1440px で 17px。vw だけの clamp だとPCでも中間値が小さく、
     本文が痩せて安っぽく見えるため、傾きと切片で直線に組んでいる */
  --fs-body:   clamp(15.5px, 0.143vw + 14.94px, 17px);
  --fs-body-s: clamp(15px,   0.143vw + 14.44px, 16.5px);   /* カード・FAQ など少し小さい本文 */
  --fs-lead:   clamp(17px,   0.381vw + 15.51px, 21px);     /* あいさつの書き出し */
  --fs-small:  13px;
  --fs-micro:  11.5px;
  --fs-tel:    22px;
  --fs-tel-cta: 25px;
  --fs-num:    clamp(21px, 2.4vw, 27px);   /* 許可番号 */
  --fs-deco:   clamp(30px, 4.2vw, 52px);   /* 装飾の番号 01〜04 */

  /* --- 行送り --- */
  --lh-hero:    1.58;
  --lh-heading: 1.62;
  --lh-body:    2.0;

  /* --- 字間 --- */
  --ls-head:   .09em;   /* 明朝の見出し。広めに取ると品が出る */
  --ls-body:   .02em;
  --ls-label:  .18em;   /* 小さなラベル */

  /* --- 余白 --- */
  --pad-x:            24px;
  --pad-x-pc:         48px;
  --w-max:            1160px;
  --space-section:    clamp(76px, 11.5vw, 160px);   /* セクション上下 */
  --gap-head:         clamp(26px, 3.2vw, 44px);     /* 見出し ↔ 本文 */
  --gap-media:        clamp(32px, 4.4vw, 56px);     /* 写真 ↔ 文章 */
  --gap-block:        clamp(56px, 7vw, 104px);      /* ブロック間 */

  --header-h:  72px;
  --radius:    2px;

  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);   /* 出現アニメーション専用 */
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
}
/* スクロール後はヘッダーをわずかに縮める。ドロワーの位置も自動で追従する */
.is-scrolled { --header-h: 64px; }
@media (min-width: 1024px) {
  .is-scrolled { --header-h: 72px; }
}

/* ==========================================================================
   2. リセット／ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;   /* 横スクロール防止。clip なら sticky を壊さない */
  /* 背景レイヤー（.page-bg）が読み込まれる前の下地。白の一瞬の抜けを防ぐ */
  background-color: var(--c-paper);
}

body {
  margin: 0;
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--c-text);
  background: transparent;   /* 地は html と .page-bg が持つ */
  overflow-wrap: break-word;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

/* 固定CTAを出すページだけ、その高さ分の余白を下に確保する（.has-fixed-cta）。
   下層ページには固定CTAが無いので、無駄な空きを作らない */
.has-fixed-cta {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
   2-2. 背景（完全に静的）
   線・グリッド・ドット・幾何学模様・ノイズ・動きは一切使わない。
   角に置いた極薄の放射グラデーションだけで、白一色より少し奥行きを出す。
   画面に固定するので、スクロールしても背景側はまったく動かない。
   ========================================================================== */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--c-paper);
  background-image:
    /* 上端をわずかに明るく（紙に光が当たっている程度） */
    radial-gradient(120% 84% at 50% -14%, #FFFFFF 0%, rgba(255, 255, 255, 0) 58%),
    /* 右上・左下の角に、ごく薄いグレージュ */
    radial-gradient(76% 52% at 100% 20%, rgba(var(--bg-tint-a), .26) 0%, rgba(var(--bg-tint-a), 0) 62%),
    radial-gradient(88% 58% at 0% 94%,   rgba(var(--bg-tint-b), .30) 0%, rgba(var(--bg-tint-b), 0) 64%);
}

/* 見出しは明朝。太字にせず、級数と余白で存在感を出す */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
}

p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; border: 0; }

a { color: var(--c-deep); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-sub); }

table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
button { font-family: inherit; }

/* フォーカスリングに弁柄色は使わない */
:focus-visible {
  outline: 2px solid var(--c-sub);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-ink);
  color: #FFFFFF;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: #FFFFFF; }

/* 画像が未登録・読み込み失敗のときは枠だけ残して崩れを防ぐ（main.js が付与） */
.is-imgfail { visibility: hidden; }

/* 日本語の折り返し。文節の切れ目で切りたい箇所は HTML 側で .phrase で囲む */
h1, h2, h3,
.section__lead, .faq__q-text, .cta__text, .hero__sub, .hero__note, .cta__note,
.reasons-intro__text, .reason__text, .flow__text, .card__text, .cred__text,
.contact__lead, .faq__a p {
  word-break: auto-phrase;
  line-break: strict;
}
.phrase { display: inline-block; }

.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: inline; } }
@media (min-width: 768px) { .has-fixed-cta { padding-bottom: 0; } }   /* PCでは固定CTAを出さない */

/* 数字は等幅にして、桁が揺れないようにする */
.num, .num-lg, .tel-inline, .btn-tel__num, .header__tel-num, .ring__num {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   3. レイアウト共通
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: 780px; }

.section { padding-block: var(--space-section); }

/* セクションごとのトーン差。白 → オフホワイト → 白 → グレージュ → 白 → オフホワイト。
   境目が線に見えないよう、上端だけ白に溶かしてから地色へ渡す */
.section--tint {
  background-color: var(--c-paper-warm);
  background-image: radial-gradient(130% 88% at 50% 0%, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, 0) 60%);
}
.section--greige {
  background-color: var(--c-paper-greige);
  background-image: radial-gradient(130% 88% at 50% 0%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, 0) 60%);
}

.section__head { margin-bottom: var(--gap-head); }

/* 見出しの上に、ごく短いブロンズの罫。飾りはこれだけに留める */
.section__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
  max-width: 22em;
}
.section__title::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  margin-bottom: clamp(18px, 2.2vw, 28px);
  background: var(--c-bronze);
}

.section__lead {
  margin-top: clamp(18px, 2vw, 26px);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  max-width: 33em;
}

/* 中見出し。左の太い線はやめ、明朝＋細い罫だけにする */
.sub-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
  margin-bottom: clamp(20px, 2.4vw, 28px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
  max-width: 24em;
}

/* 値の横に置くコピーボタン。JS が動かない環境ではボタン自体を出さない（main.js が hidden を外す） */
.copyfield {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.copyfield__value { overflow-wrap: anywhere; }
.copyfield__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-text-mute);
  cursor: pointer;
  transition: border-color .35s var(--ease-soft),
              color .35s var(--ease-soft),
              background-color .35s var(--ease-soft);
}
.copyfield__btn[hidden] { display: none; }
.copyfield__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 白地でも生成りの地でも見えるよう、背景は「わずかに沈める」だけにする */
.copyfield__btn:hover,
.copyfield__btn:focus-visible {
  border-color: var(--c-sub);
  color: var(--c-ink);
  background: rgba(20, 35, 30, .04);
}
.copyfield.is-copied .copyfield__btn { border-color: var(--c-sub); color: var(--c-sub); }
.copyfield__msg {
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-label);
  line-height: 1.6;
  color: var(--c-sub);
  opacity: 0;
  transition: opacity .35s var(--ease-soft);
}
.copyfield.is-copied .copyfield__msg { opacity: 1; }

.tel-inline {
  font-family: var(--font-gothic);
  font-size: var(--fs-tel);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* 小さなラベル（「主なご依頼元」など）。字間を広く取り、色は落とす */
.label {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--c-bronze);
}

/* ラベル見出し。.sub-title より一段小さい階層。
   同じ形の中見出しが並んで階層が平らに見えるのを防ぐために使う */
.kicker {
  font-family: var(--font-gothic);
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--ls-label);
  color: var(--c-bronze);
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--pad-x-pc); }
}

/* PCでは見出しと導入文を左右に振り、テンプレートらしい積み上げを避ける */
@media (min-width: 900px) {
  .section__head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: end;
  }
  .section__head--split .section__lead { margin-top: 0; }
}

/* ==========================================================================
   4. 電話ボタン（弁柄色を使うのはここだけ）
   ========================================================================== */
.btn-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  min-height: 64px;
  padding: 12px 26px;
  background: var(--c-cta);
  border: 0;
  border-radius: var(--radius);
  color: #FFFFFF;
  text-decoration: none;
  /* box-shadow は使わない */
}
.btn-tel__icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
  opacity: .9;
  transition: transform .3s var(--ease-soft);
}
.btn-tel__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.btn-tel__label {
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: var(--ls-label);
  opacity: .78;
  white-space: nowrap;
}
.btn-tel__num {
  margin-top: 5px;
  font-size: var(--fs-tel-cta);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .btn-tel {
    width: auto;
    transition: background-color .35s var(--ease-soft);
  }
  /* hover は背景が静かに変わるのと、矢印が数px動く程度に留める */
  .btn-tel:hover,
  .btn-tel:focus-visible { background: var(--c-cta-deep); color: #FFFFFF; }
  .btn-tel:hover .btn-tel__icon { transform: translateX(2px); }
}

/* --- フォームの送信ボタン（弁柄色は使わない） --- */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  min-height: 58px;
  padding: 12px 24px;
  background: var(--c-ink);
  border: 0;
  border-radius: var(--radius);
  color: #FFFFFF;
  font-family: var(--font-gothic);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  cursor: pointer;
}
@media (min-width: 768px) {
  .btn-submit { transition: background-color .35s var(--ease-soft); }
  .btn-submit:hover,
  .btn-submit:focus-visible { background: var(--c-deep); color: #FFFFFF; }
}

/* ==========================================================================
   5. ヘッダー
   ヒーローがあるページでは、最上部は完全に透明で写真の上に重ねる。
   スクロールすると、わずかに透過した白＋弱い blur に変わる。
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  transition: height .45s var(--ease-soft),
              background-color .45s var(--ease-soft),
              border-color .45s var(--ease-soft);
}
/* ヒーローの上に重ねる（index のみ。下層ページは白帯のまま） */
.has-hero .header {
  background: transparent;
  border-bottom-color: transparent;
}
.is-scrolled .header {
  background: rgba(255, 255, 255, .90);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
          backdrop-filter: blur(10px) saturate(115%);
  border-bottom-color: var(--c-line-soft);
}
/* blur 非対応ブラウザでは、背後が透けないよう白を濃くする */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .is-scrolled .header { background: rgba(255, 255, 255, .97); }
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* --- ロゴ --- */
.logo {
  display: block;
  margin-right: auto;
  text-decoration: none;
  color: var(--c-ink);
  line-height: 0;
}
.logo__img {
  height: 38px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  transition: height .45s var(--ease-soft), filter .45s var(--ease-soft);
}
/* 写真の上では白く抜く。スクロール後は元の濃緑へ戻す */
.has-hero .logo__img { filter: brightness(0) invert(1); }
.is-scrolled .has-hero .logo__img { filter: none; }

/* ロゴ画像が読み込めなかったときだけ文字の社名を出す（main.js が付与） */
.logo__name {
  display: none;
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .1em;
}
.logo--noimg .logo__name { display: block; }
.has-hero .logo--noimg .logo__name { color: #FFFFFF; }
.is-scrolled .has-hero .logo--noimg .logo__name { color: var(--c-ink); }
.logo__desc { display: none; }

/* --- 右側：電話ボタン＋ハンバーガー --- */
.header__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  margin-right: 10px;
  background: var(--c-cta);
  border-radius: var(--radius);
  color: #FFFFFF;
  text-decoration: none;
}
.header__tel svg { width: 20px; height: 20px; fill: currentColor; }
.header__tel-label,
.header__tel-num { display: none; }

.hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .45s var(--ease-soft);
}
.has-hero .hamburger { border-color: rgba(255, 255, 255, .5); }
.is-scrolled .has-hero .hamburger { border-color: var(--c-line); }

.hamburger__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 13px;
}
.hamburger__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--c-ink);
  transition: transform .3s var(--ease-soft), opacity .3s var(--ease-soft), background-color .45s var(--ease-soft);
}
.has-hero .hamburger__bars span { background: #FFFFFF; }
.is-scrolled .has-hero .hamburger__bars span { background: var(--c-ink); }
.hamburger__bars span:nth-child(1) { top: 0; }
.hamburger__bars span:nth-child(2) { top: 6px; }
.hamburger__bars span:nth-child(3) { top: 12px; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* ドロワーを開いている間は、透明ヘッダーでも白背景に戻す */
.has-hero .header:has(.hamburger[aria-expanded="true"]) { background: rgba(255, 255, 255, .97); }
.has-hero .header:has(.hamburger[aria-expanded="true"]) .logo__img { filter: none; }
.has-hero .header:has(.hamburger[aria-expanded="true"]) .hamburger__bars span { background: var(--c-ink); }
.has-hero .header:has(.hamburger[aria-expanded="true"]) .hamburger { border-color: var(--c-line); }

/* --- ナビ（スマホはドロワー） --- */
.gnav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft), visibility .35s var(--ease-soft);
}
.gnav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.gnav__list {
  max-height: calc(100svh - var(--header-h) - 20px);
  overflow-y: auto;
  padding: 8px var(--pad-x) 28px;
}
.gnav__list li + li { border-top: 1px solid var(--c-line); }
.gnav__list a {
  display: block;
  padding: 17px 2px;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-ink);
  text-decoration: none;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 35, 30, .32);
}
.nav-overlay[hidden] { display: none; }

@media (min-width: 1024px) {
  .header__inner { padding-inline: var(--pad-x-pc); }
  .logo__img { height: 44px; }
  .is-scrolled .logo__img { height: 36px; }

  .hamburger { display: none; }
  .nav-overlay { display: none; }

  .gnav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    margin-right: clamp(20px, 2.4vw, 36px);
  }
  .gnav__list {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.1vw, 32px);
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .gnav__list li + li { border-top: 0; }
  .gnav__list a {
    position: relative;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    white-space: nowrap;
    color: var(--c-ink);
    transition: color .45s var(--ease-soft);
  }
  .has-hero .gnav__list a { color: rgba(255, 255, 255, .94); }
  .is-scrolled .has-hero .gnav__list a { color: var(--c-ink); }
  .gnav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: .6;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-soft);
  }
  .gnav__list a:hover::after,
  .gnav__list a:focus-visible::after { transform: scaleX(1); }

  /* PCの電話ボタンは横長・2段組み */
  .header__tel {
    width: auto;
    height: auto;
    min-height: 52px;
    margin-right: 0;
    padding: 9px 22px;
    gap: 11px;
    transition: background-color .35s var(--ease-soft);
  }
  .header__tel:hover,
  .header__tel:focus-visible { background: var(--c-cta-deep); color: #FFFFFF; }
  .header__tel svg { width: 17px; height: 17px; opacity: .9; }
  .header__tel-label,
  .header__tel-num { display: block; }
  .header__tel-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
  .header__tel-label { font-size: var(--fs-micro); font-weight: 400; letter-spacing: var(--ls-label); opacity: .78; white-space: nowrap; }
  .header__tel-num { margin-top: 3px; font-size: 20px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
}

/* ==========================================================================
   6. ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 86vh;    /* svh 非対応ブラウザ向けのフォールバック。必ず svh より前に置く */
  min-height: 86svh;   /* ブラウザUIが出ている状態を基準にして、1画面に収める */
  padding: calc(var(--header-h) + 24px) var(--pad-x) clamp(64px, 9vw, 112px);
  overflow: hidden;
  background: var(--c-ink);   /* 写真が出ないときの下地 */
}
/* ヘッダーを写真の上に重ねるぶん、ヒーローを上へ引き上げる */
.has-hero .hero { margin-top: calc(var(--header-h) * -1); }

/* 写真。ケンバーンズのために別要素に敷く */
.hero__bg {
  position: absolute;
  inset: -3%;
  background-image: url(../images/hero.jpg);
  background-size: cover;
  background-position: 72% center;   /* 人物が右寄りのため右に寄せる */
  background-repeat: no-repeat;
  animation: kenburns 30s var(--ease) infinite alternate both;
}

/* オーバーレイは縦方向のグラデーションだけを重ねる。
   横方向グラデーションや、下端でのベタ塗り切り替えはしない（切れ目が出る）。
   1枚目＝ヘッダーの文字を読ませるための上端の弱い膜
   2枚目＝コピー周辺を読ませるための本体 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(20, 35, 30, 0.58) 0,
      rgba(20, 35, 30, 0.26) 100px,
      rgba(20, 35, 30, 0.00) 210px),
    linear-gradient(180deg,
      rgba(20, 35, 30, 0.34) 0%,
      rgba(20, 35, 30, 0.44) 34%,
      rgba(20, 35, 30, 0.78) 74%,
      rgba(20, 35, 30, 0.84) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  text-align: left;
}

.hero__catch {
  font-family: var(--font-mincho);
  /* 写真の上なので、見出しの中でここだけ一段太くする */
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: .1em;
  color: #FFFFFF;
  max-width: 15em;
}
/* .phrase の区切りでだけ折り返す。display:block で1行ずつ固定しない */
.hero__catch .phrase { display: inline-block; }

.hero__sub {
  margin: clamp(22px, 2.6vw, 34px) 0 0;
  max-width: 21em;
  font-size: clamp(15px, 0.19vw + 14.26px, 17px);
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .88);
}

.hero__cta { margin-top: clamp(30px, 3.4vw, 44px); }

/* 受付時間は補足。CTAより目立たせない */
.hero__note {
  margin: 16px 0 0;
  font-size: var(--fs-small);
  line-height: 1.8;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
}

/* スクロール誘導。細い線と小さな矢じりだけ */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-right: 1px solid rgba(255, 255, 255, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  animation: cue 2.4s var(--ease-soft) infinite;
}

@keyframes kenburns {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-1%, -1%, 0); }
}
@keyframes cue {
  0%, 100% { transform: translateY(0)   rotate(45deg); opacity: .65; }
  50%      { transform: translateY(6px) rotate(45deg); opacity: 1; }
}

@media (min-width: 768px) {
  .hero {
    min-height: 720px;
    padding-inline: var(--pad-x-pc);
    align-items: center;
  }
  /* PCは文章が中央帯に来るので、その高さの濃度を上げて可読性を確保する */
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(20, 35, 30, 0.56) 0,
        rgba(20, 35, 30, 0.24) 130px,
        rgba(20, 35, 30, 0.00) 270px),
      linear-gradient(180deg,
        rgba(20, 35, 30, 0.34) 0%,
        rgba(20, 35, 30, 0.66) 46%,
        rgba(20, 35, 30, 0.78) 100%);
  }
  .hero__catch { max-width: 13em; }
  .hero__sub   { max-width: 27em; }
}

/* ==========================================================================
   6-2. ヒーロー直後の事実の帯
   法人のご担当者が最初に確かめる4点を、写真の直後に静かに置く。
   ページ内の既出の事実だけを並べる（新しい事実は足さない）。
   アイコン・カード・影は使わず、細い罫で仕切るだけ。
   ========================================================================== */
.facts {
  background: transparent;
  border-bottom: 1px solid var(--c-line);
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.facts__list li {
  padding: clamp(18px, 2.2vw, 28px) clamp(14px, 1.8vw, 26px);
  border-top: 1px solid var(--c-line);
}
.facts__list li:nth-child(odd)  { padding-left: 0; border-right: 1px solid var(--c-line); }
.facts__list li:nth-child(even) { padding-right: 0; }
.facts__label {
  display: block;
  margin-bottom: 7px;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--c-bronze);
}
.facts__value {
  display: block;
  font-size: clamp(13.5px, 0.143vw + 12.94px, 15px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .03em;
  color: var(--c-ink);
}

@media (min-width: 860px) {
  .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts__list li {
    padding-block: clamp(24px, 2.4vw, 32px);
    border-top: 0;
    border-right: 1px solid var(--c-line);
  }
  .facts__list li:first-child { padding-left: 0; }
  .facts__list li:last-child  { padding-right: 0; border-right: 0; }
  .facts__list li:nth-child(even) { padding-right: clamp(14px, 1.8vw, 26px); }
  .facts__list li:nth-child(odd)  { padding-left: clamp(14px, 1.8vw, 26px); }
  .facts__list li:first-child { padding-left: 0; }
}

/* ==========================================================================
   7. 対応できる業務（横スクロール）
   ========================================================================== */

/* 業務カードは横スクロール。並べ方と1枚の幅はこの CSS だけで決まる。
   JS は前後ボタンと現在地の表示を足すだけなので、JS が動かなくても指で横に送れる */
.cards {
  --gap:  18px;
  --per:  1;               /* 主役として見せる枚数 */
  --peek: 22px;            /* その外側に、前後のカードを覗かせる幅 */
  --lead: calc(var(--peek) + var(--gap));   /* 覗き分＋すき間＝主役が始まる位置 */
  display: flex;
  gap: var(--gap);
  position: relative;      /* JS が offsetLeft で送り先を測るときの基準 */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--lead);   /* 左右に覗き分を空けた位置へ吸い付かせる */
  overscroll-behavior-x: contain;   /* 端まで送ってもページ全体が横に動かない */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;            /* 現在地はボタンと番号で示すので、バーは隠す */
  -ms-overflow-style: none;
  padding-bottom: 2px;

  /* 両端だけ薄く抜いて、外側のカードを「うっすら」見せる。
     主役が並ぶ範囲（--lead 〜 100% - --lead）は抜かないので、そこは濁らない。
     先頭と末尾は手前／先にカードが無いため、JS が is-start / is-end でその側の抜きを止める */
  --mask-l: var(--lead);
  --mask-r: var(--lead);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--mask-l), #000 calc(100% - var(--mask-r)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--mask-l), #000 calc(100% - var(--mask-r)), transparent 100%);
}
.cards.is-start { --mask-l: 0px; }
.cards.is-end   { --mask-r: 0px; }
.cards::-webkit-scrollbar { display: none; }

/* 枠で囲わない。写真・見出し・本文・依頼元の階層だけで見せる */
.card {
  /* 主役 --per 枚と、両サイドの覗き分が、ちょうど container に収まる幅 */
  flex: 0 0 calc((100% - 2 * var(--peek) - (var(--per) + 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;        /* サイト内の写真は 4:3 と 4:5 の2種類だけに揃える */
  background: var(--c-greige);
  border-radius: var(--radius);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__media--icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--c-sub);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.4vw, 30px) 2px 0;
}
.card__title {
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
  margin-bottom: 14px;
}
.card__text {
  font-size: var(--fs-body-s);
  line-height: 1.95;
  color: var(--c-text);
  margin-bottom: 24px;
}
/* 依頼元はタグを並べず、細い罫とごく小さな見出しで静かに置く */
.card__from {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-small);
  line-height: 1.85;
  color: var(--c-text-mute);
}
.card__from-label {
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--c-bronze);
}

@media (min-width: 600px)  { .cards { --per: 2; --gap: 28px; --peek: 40px; } }
@media (min-width: 1024px) { .cards { --per: 3; --gap: 36px; --peek: 56px; } }

/* --- 前後ボタンと現在地 --- */
.ring__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: clamp(32px, 3.6vw, 48px);
}
.ring__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  cursor: pointer;
  transition: border-color .35s var(--ease-soft), background-color .35s var(--ease-soft);
}
.ring__btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ring__btn:hover { border-color: var(--c-sub); background: var(--c-paper-warm); }
.ring__btn[disabled] { opacity: .3; cursor: default; }
.ring__btn[disabled]:hover { border-color: var(--c-line); background: transparent; }
.ring__status {
  min-width: 10em;
  margin: 0;
  text-align: center;
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: var(--ls-head);
  line-height: 1.5;
  color: var(--c-ink);
}
.ring__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-gothic);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: var(--ls-label);
  color: var(--c-text-mute);
}

/* ==========================================================================
   8. 法人のお客様に選ばれる理由（Editorial Layout）
   カードで囲わず、細い罫と薄い番号だけで組む。
   ========================================================================== */
.reasons-layout { display: grid; gap: var(--gap-head); }

.reasons-intro__text {
  margin-top: clamp(18px, 2vw, 26px);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  max-width: 32em;
}

.reasons-list { border-bottom: 1px solid var(--c-line); }

.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-top: 1px solid var(--c-line);
}
/* 番号は装飾。本文よりかなり薄くして、読ませる対象から外す */
.reason__num {
  font-family: var(--font-mincho);
  font-size: var(--fs-deco);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(20, 35, 30, .17);
  user-select: none;
}
.reason__body { min-width: 0; }
.reason__title {
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
  margin-bottom: 14px;
  max-width: 24em;
}
.reason__text {
  font-size: var(--fs-body-s);
  line-height: 1.98;
  color: var(--c-text);
  max-width: 36em;
}

@media (min-width: 900px) {
  .reasons-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr);
    gap: clamp(48px, 6.5vw, 112px);
    align-items: start;
  }
  /* 左の見出しは、右の項目を読み進める間も視野に残す */
  .reasons-intro {
    position: sticky;
    top: calc(var(--header-h) + clamp(40px, 5vw, 80px));
  }
  .reason { column-gap: clamp(28px, 3.4vw, 48px); }
}

/* ==========================================================================
   9. 許可と体制
   証明情報として、1枚の枠の中を細い罫で仕切って見せる。
   ========================================================================== */
.creds {
  margin-bottom: var(--gap-block);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.section--tint .creds { background: var(--c-paper); }

.cred {
  display: grid;
  gap: 6px;
  padding: clamp(26px, 3.2vw, 42px) clamp(22px, 3vw, 44px);
  border-bottom: 1px solid var(--c-line);
}
.cred:last-child { border-bottom: 0; }

.cred__title {
  font-size: var(--fs-h3);
  letter-spacing: .12em;
  color: var(--c-ink);
}
.cred__issuer {
  margin: 0;
  font-size: var(--fs-small);
  letter-spacing: .08em;
  color: var(--c-text-mute);
}
/* 許可番号は読みやすさを最優先。明朝にせず、等幅数字のゴシックで大きく出す */
.num-lg {
  margin: 4px 0 10px;
  font-family: var(--font-gothic);
  font-size: var(--fs-num);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .04em;
  color: var(--c-ink);
  overflow-wrap: anywhere;
}
.cred__text {
  margin: 0;
  font-size: var(--fs-body-s);
  line-height: 1.9;
  color: var(--c-text-mute);
  max-width: 34em;
}

@media (min-width: 768px) {
  .cred {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 64px);
    align-items: baseline;
  }
  .cred__title { grid-row: 1 / span 3; align-self: start; }
  .cred__issuer { grid-column: 2; }
  .num-lg { grid-column: 2; margin-top: 2px; }
  .cred__text { grid-column: 2; }
}

.system { max-width: 860px; }

/* ==========================================================================
   10. ご依頼の流れ
   円形の番号バッジはやめ、縦の細い罫と明朝の番号で通す。
   ========================================================================== */
.flow-sec .section__head--split { max-width: 900px; }
.flow {
  --num-col: clamp(52px, 7vw, 92px);
  --num-gap: clamp(16px, 2.2vw, 32px);
  position: relative;
  display: grid;
  max-width: 900px;
}
/* 番号の右を1本の縦罫が通る。工程が続いていることを線で示す */
.flow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--num-col) + var(--num-gap) / 2);
  width: 1px;
  background: var(--c-line);
}
.flow__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--num-col) 1fr;
  column-gap: var(--num-gap);
  align-items: start;
  padding-block: clamp(26px, 3.2vw, 42px);
}
.flow__num {
  font-family: var(--font-mincho);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .06em;
  color: var(--c-bronze);
  user-select: none;
}
.flow__body { min-width: 0; }
/* 横罫は本文側だけに引く。左は縦罫が通るので、罫が交差しない */
.flow__item + .flow__item .flow__body {
  margin-top: calc(clamp(26px, 3.2vw, 42px) * -1);
  padding-top: clamp(26px, 3.2vw, 42px);
  border-top: 1px solid var(--c-line);
}
.flow__title {
  font-size: clamp(16.5px, 1.35vw, 19px);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
  margin-bottom: 12px;
  max-width: 24em;
}
.flow__text {
  font-size: var(--fs-body-s);
  line-height: 1.98;
  color: var(--c-text);
  max-width: 36em;
}

/* ==========================================================================
   11. よくあるご質問
   ========================================================================== */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }

.faq__q {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.6vw, 20px);
  padding: clamp(20px, 2.4vw, 28px) 2px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
}
.faq__q::-webkit-details-marker { display: none; }

/* Q は塗りの丸をやめ、明朝の一文字だけ置く */
.faq__mark {
  flex: none;
  width: 1.1em;
  font-family: var(--font-mincho);
  font-size: 1em;
  line-height: inherit;
  color: var(--c-bronze);
}
.faq__q-text { flex: 1; max-width: 26em; }

.faq__q::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: .5em;
  background:
    linear-gradient(var(--c-sub), var(--c-sub)) center / 100% 1px no-repeat,
    linear-gradient(var(--c-sub), var(--c-sub)) center / 1px 100% no-repeat;
  transition: transform .35s var(--ease-soft);
}
.faq__item[open] .faq__q::after { transform: rotate(90deg); background-size: 100% 1px, 0 0; }

.faq__a {
  padding: 0 2px clamp(22px, 2.6vw, 30px) calc(1.1em + clamp(12px, 1.6vw, 20px));
  font-size: var(--fs-body-s);
  line-height: 1.98;
  color: var(--c-text);
}
.faq__a p { max-width: 36em; }

/* ==========================================================================
   12. 会社概要
   ========================================================================== */
.greeting {
  display: grid;
  gap: var(--gap-media);
  margin-bottom: var(--gap-block);
  padding-bottom: var(--gap-block);
  border-bottom: 1px solid var(--c-line);
}
.greeting__figure { margin: 0; max-width: 220px; }
.greeting__caption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-gothic);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-label);
  color: var(--c-text-mute);
}
.greeting__media {
  aspect-ratio: 4 / 5;
  max-width: 220px;
  background: var(--c-greige);
  border-radius: var(--radius);
  overflow: hidden;
}
.greeting__media img { width: 100%; height: 100%; object-fit: cover; }
.greeting__body p {
  max-width: 33em;
  font-size: var(--fs-body);
  line-height: 2.1;
}
/* 書き出しの1段落だけ級数を上げ、雑誌のリード文のように読ませる */
.greeting__lead {
  font-size: var(--fs-lead) !important;
  line-height: 2.0;
  letter-spacing: .04em;
  color: var(--c-ink);
}
/* 署名は右に寄せ、会社名を上・代表者名を下に置いて、社名と氏名の格を分ける */
.greeting__sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: 33em;
  margin-top: clamp(32px, 3.6vw, 48px);
  padding-top: clamp(20px, 2.2vw, 26px);
  border-top: 1px solid var(--c-line);
}
.greeting__sign-co {
  font-family: var(--font-gothic);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--c-text-mute);
}
.greeting__sign-name {
  display: flex;
  align-items: baseline;
  gap: .9em;
  font-family: var(--font-mincho);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--c-ink);
}
.greeting__sign-role {
  font-family: var(--font-gothic);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  color: var(--c-text-mute);
}

.profile, .access {
  margin-bottom: var(--gap-block);
  padding-bottom: var(--gap-block);
  border-bottom: 1px solid var(--c-line);
}

/* 表は箱で囲わず、横罫だけで読ませる */
.table {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--c-line);
}
.table th, .table td {
  padding: 14px 2px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-body-s);
  line-height: 1.9;
}
.table th {
  display: block;
  background: transparent;
  color: var(--c-text-mute);
  font-family: var(--font-gothic);
  font-weight: 500;
  border-bottom: 0;
  padding-bottom: 0;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-label);
}
.table td { display: block; padding-top: 4px; color: var(--c-text); }

.access__grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.access__map,
.access__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-greige);
}
.access__map { border: 1px solid var(--c-line); }
.access__map iframe { width: 100%; height: 100%; display: block; border: 0; }
.access__photo img { width: 100%; height: 100%; object-fit: cover; }
.access__addr {
  margin-top: 18px;
  font-size: var(--fs-small);
  letter-spacing: .06em;
  color: var(--c-text-mute);
}

/* 受付時間外の窓口。CTA 扱いにせず、静かな枠に収める */
.contact {
  padding: clamp(28px, 3.4vw, 44px) clamp(22px, 3vw, 44px);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.section--tint .contact { background: var(--c-paper); }
.contact__lead {
  font-size: var(--fs-body-s);
  line-height: 1.98;
  margin-bottom: clamp(26px, 3vw, 36px);
  max-width: 36em;
}

.line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(32px, 4vw, 56px);
}
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 26px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-brand);
  border-radius: var(--radius);
  color: var(--c-ink);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background-color .35s var(--ease-soft);
}
.btn-line svg { width: 22px; height: 22px; flex: none; fill: var(--c-line-brand); }
.btn-line:hover { background: var(--c-paper-warm); color: var(--c-ink); }

.line__qr { display: none; margin: 0; text-align: center; }
.line__qr img {
  width: 132px;
  height: 132px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.line__qr figcaption {
  margin-top: 10px;
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  color: var(--c-text-mute);
}
.contact__note {
  margin: clamp(24px, 2.8vw, 32px) 0 0;
  font-size: var(--fs-small);
  line-height: 1.9;
  color: var(--c-text-mute);
  max-width: 40em;
}

@media (min-width: 700px) {
  .table th {
    display: table-cell;
    width: 13em;
    border-bottom: 1px solid var(--c-line);
    padding: 18px 24px 18px 2px;
    font-size: var(--fs-small);
    letter-spacing: .1em;
    white-space: nowrap;
  }
  .table td { display: table-cell; padding: 18px 2px; }
}
@media (min-width: 768px) {
  .line__qr { display: block; }
}
@media (min-width: 900px) {
  .greeting {
    grid-template-columns: minmax(0, clamp(300px, 30vw, 420px)) minmax(0, 1fr);
    gap: clamp(44px, 5.5vw, 88px);
    align-items: start;
  }
  .greeting__figure, .greeting__media { max-width: 420px; }
  .access__grid { grid-template-columns: 1fr 1.25fr; }   /* 外観写真のほうを大きく */
  /* 高さは写真側が決める。地図は伸ばして下端を揃える */
  .access__map { aspect-ratio: auto; }
}

/* ==========================================================================
   13. 下層ページ（プライバシーポリシー／404／送信結果）
   ========================================================================== */
.page-head {
  padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px);
  background: var(--c-paper-warm);
  border-bottom: 1px solid var(--c-line);
}
.page-head__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
}

.legal { padding-block: var(--space-section); }
.legal__lead { margin-bottom: var(--gap-head); max-width: 36em; }
.legal__block { margin-bottom: clamp(36px, 4vw, 56px); }
.legal__block:last-of-type { margin-bottom: 0; }
.legal h2 {
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-head);
  color: var(--c-ink);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  max-width: 26em;
}
.legal p, .legal__list { max-width: 36em; }
.legal__list { margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.legal__list li { padding: 4px 0; }
.legal__date {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-small);
  color: var(--c-text-mute);
}
.legal__contact {
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--c-paper-warm);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.notfound { padding-block: var(--space-section); text-align: center; }
.notfound__code {
  display: block;
  font-family: var(--font-mincho);
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--c-bronze);
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.notfound__title { font-size: var(--fs-h2); color: var(--c-ink); margin-bottom: 24px; }
.notfound__nav { margin-top: 40px; }
.notfound__nav li { padding: 6px 0; }

.result { padding-block: var(--space-section); }
.result__box {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(32px, 4vw, 56px) clamp(22px, 3vw, 48px);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-align: center;
}
.result__title { font-size: var(--fs-h2); color: var(--c-ink); margin-bottom: 24px; }
.result__errors {
  margin: 0 auto 24px;
  padding: 24px;
  max-width: 36em;
  text-align: left;
  background: var(--c-paper-warm);
  border-left: 2px solid var(--c-deep);
  border-radius: var(--radius);
}
.result__errors li { padding: 4px 0; }
.result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.result__hours { margin-top: 14px; text-align: center; font-size: var(--fs-small); color: var(--c-text-mute); }
.result__back { margin-top: 24px; text-align: center; }

/* ==========================================================================
   14. フォーム
   ========================================================================== */
.form { max-width: 700px; }
.form__row { margin-bottom: 26px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--c-ink);
}
.req, .opt {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: var(--fs-micro);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--ls-label);
}
.req { background: var(--c-deep); color: #FFFFFF; }
.opt { background: var(--c-paper-warm); color: var(--c-text-mute); border: 1px solid var(--c-line); }

.form__input {
  width: 100%;
  padding: 15px 16px;
  font-family: inherit;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.form__input:focus {
  outline: 0;
  border-color: var(--c-sub);
  box-shadow: 0 0 0 3px rgba(62, 93, 83, .14);
}
.form__textarea { resize: vertical; min-height: 9em; }
.form__select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--c-sub) 50%),
    linear-gradient(135deg, var(--c-sub) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 13px) center;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.form__row--agree {
  padding: 24px;
  background: var(--c-paper-warm);
  border-radius: var(--radius);
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
}
.form__check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 6px;
  accent-color: var(--c-deep);
}
.form__check .req { margin-left: 10px; }
.form__note {
  margin: 16px 0 0;
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--c-text-mute);
}
.form__submit { margin-top: 40px; text-align: center; }

/* ハニーポット：人の目にもスクリーンリーダーにも触れさせない */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   15. 最終CTA
   広告的に煽らず、静かに「まずはご相談ください」と置く。
   ========================================================================== */
.cta {
  padding-block: var(--space-section);
  background-color: var(--c-deep);
  background-image: radial-gradient(92% 120% at 50% 0%, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, 0) 62%);
  color: #FFFFFF;
  text-align: center;
}
.cta__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: .1em;
  color: #FFFFFF;
  max-width: 22em;
  margin-inline: auto;
}
.cta__text {
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: var(--fs-body);
  line-height: 2.05;
  color: rgba(255, 255, 255, .84);
  max-width: 34em;
  margin-inline: auto;
}
.cta__action {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 3.6vw, 48px);
}
.cta__note {
  margin-top: 18px;
  font-size: var(--fs-small);
  line-height: 2;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .68);
}
.cta__note a { color: rgba(255, 255, 255, .92); }
.cta__note a:hover { color: #FFFFFF; }

/* ==========================================================================
   16. フッター
   ========================================================================== */
.footer {
  padding-block: clamp(56px, 6vw, 80px) 32px;
  background: var(--c-ink);
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-small);
  line-height: 2;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer a { color: rgba(255, 255, 255, .92); }
.footer a:hover { color: #FFFFFF; }

.footer__top {
  display: grid;
  gap: clamp(36px, 4.4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__logo { height: 48px; width: auto; margin-bottom: 24px; }
.footer__name { margin: 0 0 10px; color: rgba(255,255,255,.92); font-weight: 400; letter-spacing: .06em; }
.footer__area { margin: 0; }

.fnav__list { display: grid; gap: 8px; }
.fnav__list a { text-decoration: none; letter-spacing: .06em; }
.fnav__list a:hover { text-decoration: underline; }

.footer__info { font-size: var(--fs-small); letter-spacing: .04em; }
.footer__license {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--fs-micro);
  line-height: 1.9;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .58);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}
.footer__copy { margin: 0; }
.footer__copy small { font-size: var(--fs-micro); letter-spacing: .1em; }

@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(40px, 5vw, 72px); }
}

/* ==========================================================================
   17. 固定CTA（スマホのみ／電話とLINEの2分割）
   左右50%ずつ。広告LPのように煽らず、帯の高さと字面を左右で揃えて、
   どちらも同じくらい押しやすく見えるようにする。
   ========================================================================== */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* ヘッダー(100)・ドロワーの覆い(90)より下。CTAが覆いの上に浮かないようにする */
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform .5s var(--ease-soft), opacity .5s var(--ease-soft), visibility .5s var(--ease-soft);
}
.fixed-cta.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }

/* ドロワーを開いている間は引っ込める */
body:has(.hamburger[aria-expanded="true"]) .fixed-cta {
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
}

.fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  /* 中身の高さは 60px。ホームインジケーターの分は下に足し、色もそこまで届かせる */
  min-height: calc(60px + env(safe-area-inset-bottom, 0px));
  padding: 0 6px env(safe-area-inset-bottom, 0px);
  color: #FFFFFF;
  font-family: var(--font-gothic);
  /* 320px で 14px、430px 以上で 16px */
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;   /* 「電話をかける」「LINEを送る」を途中で折り返さない */
}
.fixed-cta__btn:hover,
.fixed-cta__btn:focus-visible { color: #FFFFFF; }
/* 画面の端に接するので、フォーカスリングは内側に出す */
.fixed-cta__btn:focus-visible { outline-offset: -4px; }

.fixed-cta__icon {
  width: 19px;
  height: 19px;
  flex: none;
  fill: currentColor;
  opacity: .92;
}

.fixed-cta__btn--tel { background: var(--c-cta); }
.fixed-cta__btn--tel:active { background: var(--c-cta-deep); }

.fixed-cta__btn--line {
  background: var(--c-line-brand-deep);
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.fixed-cta__btn--line:active { background: var(--c-line-brand-press); }

@media (min-width: 768px) { .fixed-cta { display: none; } }

/* ==========================================================================
   18. スクロールアニメーション
   気付くか気付かないか程度に留める。一度出たものは戻しても再生しない
   （main.js が IntersectionObserver を unobserve する）。
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(5px);
  transition: opacity .9s var(--ease-soft),
              transform .9s var(--ease-soft),
              filter .9s var(--ease-soft);
  transition-delay: calc(var(--i, 0) * .09s);
}
.js .reveal:not(.is-visible) { will-change: opacity, transform, filter; }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* 入れ物ごとではなく、中身を順に出したいとき。
   見出し → 説明文 → 写真 の順に、わずかな時間差で現れる */
.js .reveal[data-seq],
.js .section__head.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
  will-change: auto;
}
.js .reveal[data-seq] > *,
.js .section__head.reveal > * {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition: opacity .85s var(--ease-soft),
              transform .85s var(--ease-soft),
              filter .85s var(--ease-soft);
}
.js .reveal[data-seq].is-visible > *,
.js .section__head.reveal.is-visible > * { opacity: 1; transform: none; filter: none; }
.js .reveal[data-seq].is-visible > *:nth-child(2),
.js .section__head.reveal.is-visible > *:nth-child(2) { transition-delay: .09s; }
.js .reveal[data-seq].is-visible > *:nth-child(3),
.js .section__head.reveal.is-visible > *:nth-child(3) { transition-delay: .18s; }
.js .reveal[data-seq].is-visible > *:nth-child(4),
.js .section__head.reveal.is-visible > *:nth-child(4) { transition-delay: .27s; }

/* ==========================================================================
   19. prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .hero__bg { animation: none !important; transform: none !important; }
  .hero__cue { display: none; }
  .js .reveal,
  .js .reveal[data-seq] > *,
  .js .section__head.reveal > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .btn-tel:hover .btn-tel__icon { transform: none; }
}

/* ==========================================================================
   20. 印刷
   ========================================================================== */
@media print {
  .header, .fixed-cta, .page-bg, .hero__cue, .hamburger, .nav-overlay, .access__map, .ring__controls { display: none !important; }
  .cards { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible;
           -webkit-mask-image: none; mask-image: none; }
  .card { flex: none; }
  .js .reveal,
  .js .reveal[data-seq] > *,
  .js .section__head.reveal > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  body { padding-bottom: 0; background: #FFFFFF; }
  .section--tint, .section--greige { background-image: none; }
  .hero { min-height: 0; margin-top: 0 !important; }
  .hero__bg { position: static; }
  .reasons-intro { position: static !important; }
}
