/* =========================================================
   株式会社孝藤工業 サイト  共通スタイル
   - 配色・構成は Wix 版（www.kotokogyo.com）を踏襲
   - 書体: Wix 版の本文は「筑紫丸ゴシック」（Mac専用・Windows/Android では別書体に化ける）
     → 全環境で同じ見た目になるよう Zen Maru Gothic（Google Fonts）に統一。
     見出しは Wix 版どおり Noto Sans JP（Black）と Zen Kaku Gothic Antique、
     工程番号は Azeret Mono。
   - 余白・文字サイズ・行間・字間は統一スケールで再設計
   - パスはすべてルート相対（/css /img /js）。施工事例は /case/1 のように下層ディレクトリに置くため
   ========================================================= */

:root {
  /* パレット（Wix 実測値） */
  --yellow: #fae736;        /* ブランドの黄 rgb(250,231,54) */
  --yellow-pale: #fff9bd;   /* 薄い黄 rgb(255,249,189) */
  --yellow-deep: #f5ec00;   /* モバイルメニューの黄 */
  --ink: #111111;           /* 本文 */
  --black: #000000;
  --green-deep: #004a31;    /* ロゴの深緑 */
  --green: #2e9568;         /* リンク・無料バッジ rgb(46,149,104) */
  --line: #06c755;          /* LINE */
  --gray: #eeeeee;
  --gray-text: #6b6b6b;
  --white: #ffffff;

  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-head: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-kaku: "Zen Kaku Gothic Antique", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --font-mono: "Azeret Mono", "Noto Sans JP", monospace;

  /* レイアウト */
  --w-content: 960px;
  --w-wide: 1200px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 108px;

  /* 余白スケール */
  --sec-pad: clamp(64px, 7vw, 104px);
  --sec-pad-s: clamp(40px, 5vw, 64px);
  --block-gap: clamp(36px, 4.5vw, 64px);
  --head-gap: clamp(32px, 4vw, 52px);

  /* 文字スケール */
  --fs-eyebrow: 13px;
  --fs-h2: clamp(24px, 2.6vw, 36px);      /* 帯見出し（白文字＋影） */
  --fs-h2-s: clamp(22px, 2.2vw, 30px);    /* 白地の見出し */
  --fs-h3: clamp(18px, 1.6vw, 22px);
  --fs-lead: clamp(16px, 1.25vw, 18px);
  --fs-body: 15px;
  --fs-small: 13px;

  --radius: 6px;
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.9);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 8px 14px; background: var(--black); color: #fff; font-size: 13px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- 共通コンテナ ---------- */
.container { width: min(var(--w-content), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.container-wide { width: min(var(--w-wide), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.section { padding: var(--sec-pad) 0; }
.section-s { padding: var(--sec-pad-s) 0; }
.bg-yellow { background: var(--yellow); }
.bg-pale { background: var(--yellow-pale); }
.bg-white { background: var(--white); }
.pt-0 { padding-top: 0; }
.u-center { text-align: center; }
.mt-head { margin-top: var(--head-gap); }
.mt-block { margin-top: var(--block-gap); }

/* ---------- 見出し ----------
   .band-title … 黄色の帯に白文字＋黒影の見出し（「孝藤工業が選ばれる理由」型）。下に白い三角の吹き出し
   .band-title.is-pale … 薄黄の帯に黒文字（「他社との比較」「お客様の声」型）
   .sec-title … 白地の見出し（「外構工事って、どこに頼めば良い？」型・Zen Kaku）
   .page-title … 下層ページ冒頭の英字見出し（SERVICE / ABOUT US ...）        */
.band-title {
  position: relative;
  background: var(--yellow);
  padding: 30px var(--gutter) 34px;
  text-align: center;
}
.band-title h2, .band-title .h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: var(--text-shadow);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.35);
}
.band-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  border: 20px solid transparent;
  border-top: 22px solid var(--yellow);
  border-bottom: 0;
}
.band-title.is-pale { background: var(--yellow-pale); }
.band-title.is-pale::after { border-top-color: var(--yellow-pale); }
.band-title.is-pale h2, .band-title.is-pale .h2 { color: var(--ink); text-shadow: none; -webkit-text-stroke: 0; font-family: var(--font-kaku); font-weight: 700; }
.band-title.no-arrow::after { display: none; }
.band-title .band-icon { position: absolute; left: calc(50% + 6.5em); top: 50%; transform: translateY(-50%); width: 84px; }

.sec-title {
  font-family: var(--font-kaku);
  font-weight: 700;
  font-size: var(--fs-h2-s);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: center;
}
.sec-title.is-left { text-align: left; }
.sec-title + .lead, .sec-title + .text, .sec-title + .sec-body { margin-top: var(--head-gap); }
.sec-head { text-align: center; }
.sec-head .sec-sub { margin-top: 14px; font-size: var(--fs-lead); }

/* 下層ページ冒頭（黄色の全幅ヒーロー・英字見出し＋短い下線） */
.page-hero {
  position: relative;
  background: var(--yellow);
  background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.035) 0 2px, transparent 2px 14px);
  padding: calc(var(--header-h) + clamp(44px, 6vw, 84px)) var(--gutter) clamp(44px, 6vw, 84px);
  text-align: center;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ink); opacity: 0.9; }
.page-hero .page-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-indent: 0.2em;
}
.page-hero .page-title::after { content: ""; display: block; width: 36px; height: 1px; background: var(--ink); margin: 16px auto 0; }
.page-hero .page-lead { max-width: 640px; margin: 28px auto 0; font-size: var(--fs-body); text-align: left; }
.page-hero .eyebrow { margin-bottom: 14px; font-family: var(--font-kaku); font-weight: 700; font-size: 13px; letter-spacing: 0.24em; text-indent: 0.24em; }
.page-title.is-ja { font-family: var(--font-head); font-weight: 900; font-size: clamp(24px, 3vw, 38px); letter-spacing: 0.06em; line-height: 1.4; text-indent: 0; }
.page-title.is-ja::after { margin-top: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin-top: 26px; font-size: 12px; letter-spacing: 0.06em; color: rgba(0, 0, 0, 0.7); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 0.25em; }
.breadcrumb .sep { opacity: 0.5; }
ol.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: 0.5; }
.form-consent { margin: -6px 0 18px; font-size: 13px; color: var(--gray-text); text-align: center; }
.page-hero.is-compact { padding-top: calc(var(--header-h) + 28px); padding-bottom: 44px; }

.lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.95; }
.text { font-size: var(--fs-body); line-height: 2; }
.text + .text { margin-top: 1.4em; }
.text.is-center { text-align: center; }
.small { font-size: var(--fs-small); line-height: 1.8; }
.note { font-size: var(--fs-small); line-height: 1.8; color: var(--gray-text); }
.marker { background: linear-gradient(transparent 55%, var(--yellow) 55%); font-weight: 700; padding: 0 0.1em; }
.text-link { color: var(--green); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--green-deep); }

/* ---------- ボタン（Wix: 黒地・白文字・角丸6px・右に ▶） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 300px;
  height: 60px;
  padding: 0 32px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn::after {
  content: "";
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid currentColor;
}
.btn.no-arrow::after { display: none; }
.btn:hover { background: #2a2a2a; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
::selection { background: var(--yellow); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-green { background: var(--green-deep); }
.btn-green:hover { background: #00633f; }
.btn-line { background: var(--line); }
.btn-line:hover { background: #05b04b; }
.btn-line::before { content: ""; width: 26px; height: 26px; background: url("/img/icon_line.svg") center / contain no-repeat; }
.btn-sm { min-width: 0; height: 48px; padding: 0 24px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.btn-row.is-center { justify-content: center; }
.btn-col { display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* ---------- ヘッダー ----------
   Wix: 高さ126・左ロゴ・右に「5秒WEB見積り」(白) 「お問合せ」(黒+LINEアイコン) ハンバーガー
   黄色い背景の上では白→透明のグラデーション。スクロールで白地に        */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06); }
.header-inner {
  height: 100%;
  width: 100%;
  padding: 0 clamp(16px, 2.4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(180px, 17vw, 250px); height: auto; }
.header-actions { display: flex; align-items: stretch; height: 64px; }
.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.header-btn.is-estimate { background: #fff; color: var(--ink); border-radius: 8px 0 0 8px; border-right: 0; }
.header-btn.is-estimate:hover { background: var(--yellow); }
.header-btn.is-line { background: var(--black); color: #fff; }
.header-btn.is-line:hover { background: #2a2a2a; }
.header-btn.is-line img { width: 28px; height: 28px; }
.menu-toggle {
  width: 64px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--black);
  border: 1px solid var(--ink);
  border-left: 0;
  border-radius: 0 8px 8px 0;
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.25s ease; }

/* ---------- スライドメニュー（Wix: 右から白いパネル 300px・暗い背景） ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 190; background: rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 200;
  width: min(360px, 88vw);
  background: var(--white);
  padding: 84px 28px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu { transform: translateX(0); }
.menu-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; }
.menu-close span { grid-area: 1 / 1; width: 26px; height: 2px; background: var(--ink); }
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }
.mobile-menu ul li a {
  display: block;
  padding: 14px 8px;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--gray);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.mobile-menu ul li a:hover { background: var(--yellow-pale); }
.mobile-menu ul li.is-current > a { color: var(--green-deep); font-weight: 700; }
.mobile-menu ul li.is-sub a { font-size: 15px; padding: 10px 8px; color: var(--gray-text); }
.mobile-menu .menu-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.mobile-menu .menu-actions .btn { width: 100%; min-width: 0; }
.mobile-menu .menu-tel { margin-top: 22px; text-align: center; font-size: 14px; line-height: 1.7; }
.mobile-menu .menu-tel strong { display: block; font-size: 22px; font-family: var(--font-head); letter-spacing: 0.04em; }

/* ---------- カード・部品 ---------- */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.pale-box { background: var(--yellow-pale); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.bordered { border: 1px solid var(--ink); }

/* 工事の流れ（トップ・サービス共通） */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flow-item { position: relative; background: var(--white); border-radius: 4px; min-height: 192px; padding: 30px 20px 26px; text-align: center; box-shadow: var(--shadow-card); }
.flow-item .num { position: absolute; left: 14px; top: 8px; font-family: var(--font-mono); font-weight: 900; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--yellow-pale); letter-spacing: -0.02em; }
.flow-item.on-white .num { color: #f0f0f0; }
.flow-item .icon { position: relative; width: 46px; height: 46px; margin: 0 auto 10px; }
.flow-item .name { position: relative; display: block; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.5; }
.flow-item .free { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-top: 12px; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0; }

/* FAQ / アコーディオン */
.acc-item { border-bottom: 1px solid #c9c9c9; }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; text-align: left; font-size: 15px; font-weight: 500; line-height: 1.6; }
.acc-q .acc-icon { flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s ease; margin-right: 6px; }
.acc-item.is-open .acc-q .acc-icon { transform: rotate(-135deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.acc-a > div { overflow: hidden; }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; }
.acc-a p { padding: 0 4px 18px; font-size: 15px; line-height: 1.9; }

/* 表 */
.def-table { width: 100%; border-collapse: collapse; }
.def-table th, .def-table td { padding: 22px 8px; border-bottom: 1px solid #c9c9c9; text-align: left; vertical-align: top; font-size: 16px; line-height: 1.8; }
.def-table th { width: 9em; font-weight: 500; }
.def-table .sub { display: block; font-size: 13px; color: var(--gray-text); margin-top: 4px; }

/* ---------- フェンスの飾り罫（Wix: 白い柵の SVG を横に繰り返す） ---------- */
.fence { width: 100%; height: clamp(52px, 8vw, 110px); background: url("/img/fence.svg") center bottom / auto 100% repeat-x; }
.fence.is-top { background-position: center top; }

/* ---------- CTA（全ページ共通：柵 → 2つのボタン） ---------- */
.cta-wrap { line-height: 0; }
.cta { padding: clamp(40px, 5vw, 72px) var(--gutter) 0; text-align: center; }
.cta .btn-col .btn { width: min(413px, 100%); }
.cta .cta-lead { margin-bottom: 28px; font-size: var(--fs-lead); font-weight: 500; }

/* ---------- フッター ---------- */
.site-footer { background: var(--white); }
.footer-cta { padding: clamp(36px, 4.5vw, 56px) var(--gutter); background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.035) 0 2px, transparent 2px 14px); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-cta-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; letter-spacing: 0.04em; }
.footer-cta-sub { margin-top: 6px; font-size: 14px; font-weight: 500; }
.footer-cta-btns { display: flex; gap: 14px; flex-shrink: 0; }
.footer-cta-btns .btn { min-width: 240px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(44px, 5vw, 64px) 0 36px; text-align: left; }
.footer-logo img { width: min(280px, 100%); }
.footer-address { margin-top: 20px; font-size: 14px; line-height: 1.8; }
.footer-sns { margin-top: 18px; display: flex; gap: 10px; }
.footer-sns a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; transition: transform 0.2s ease, background-color 0.2s ease; }
.footer-sns a:hover { background: var(--green-deep); transform: translateY(-2px); }
.footer-sns svg { width: 22px; height: 22px; fill: #fff; }
.footer-sns img { width: 26px; height: 26px; }
.footer-head { font-family: var(--font-kaku); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); margin-bottom: 14px; }
.footer-head-group { margin-top: 26px; }
.footer-nav { display: grid; gap: 4px; font-size: 14px; }
.footer-nav a { display: inline-block; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.footer-nav a:hover { border-bottom-color: var(--ink); }
.footer-nav li.is-current a { color: var(--green-deep); border-bottom-color: var(--green); }
.footer-area { font-size: 14px; line-height: 1.9; }
.footer-area a { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-copy { padding: 0 var(--gutter) 10px; text-align: center; font-size: 12px; letter-spacing: 0.1em; color: var(--gray-text); }

/* ---------- スマホ画面下の固定バー（Wix 版には無い追加導線）
   3等分・隙間なし・角丸なし。下地の白は見せない ---------- */
.cv-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  padding: 0 0 env(safe-area-inset-bottom);
  background: var(--black);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
}
.cv-bar a {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 56px;
  margin: 0;
  border-radius: 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cv-bar .cv-estimate { background: var(--yellow); color: var(--ink); }
.cv-bar .cv-line { background: var(--line); color: #fff; }
.cv-bar .cv-line img { width: 24px; height: 24px; }
.cv-bar .cv-tel { background: var(--black); color: #fff; }
.cv-bar svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- 動き ---------- */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 改行品質 ---------- */
h1, h2, h3, .sec-title, .band-title h2 { text-wrap: balance; }
p, .text, .lead { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
.pc { display: inline; }
.sp { display: none; }

/* ---------- モーダル（概算見積りの結果など） ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.6); }
.modal.is-open { display: flex; }
.modal-box { width: min(520px, 100%); background: var(--white); border-radius: 10px; padding: clamp(28px, 4vw, 44px); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.modal-box h2 { font-family: var(--font-kaku); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; }
.modal-box .price { margin: 20px 0 6px; font-family: var(--font-head); font-weight: 900; font-size: clamp(34px, 5vw, 48px); line-height: 1.2; letter-spacing: 0.02em; }
.modal-box .price small { font-size: 0.5em; font-weight: 700; margin-left: 4px; }
.modal-box .note { text-align: left; margin-top: 18px; }
.modal-box .btn-col { margin-top: 24px; }
.modal-box .btn { width: 100%; min-width: 0; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; color: #fff; font-size: 28px; line-height: 1; }

/* ---------- フォーム ---------- */
.form-field { margin-bottom: 26px; }
.form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; letter-spacing: 0.08em; }
.form-field .req { color: #c0392b; margin-left: 4px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #9a9a9a;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-bottom: 2px solid var(--ink); }
.form-field .field-error { margin-top: 6px; font-size: 13px; color: #c0392b; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-bottom-color: #c0392b; }
.form-submit { display: flex; justify-content: center; margin-top: 12px; }
.btn-submit { min-width: 0; width: 100%; max-width: 680px; height: 52px; border-radius: 26px; background: var(--yellow); color: var(--ink); font-size: 16px; letter-spacing: 0.1em; }
.btn-submit::after { display: none; }
.btn-submit:hover { background: var(--yellow-deep); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  :root { --header-h: 96px; }
  .header-actions { height: 58px; }
  .header-btn { padding: 0 16px; font-size: 14px; }
  .header-btn.is-line span { display: none; }
  .header-btn.is-line { padding: 0 14px; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .def-table th { width: 7em; }
}
@media (max-width: 760px) {
  :root { --header-h: 76px; --sec-pad: 56px; --sec-pad-s: 40px; --head-gap: 28px; --block-gap: 36px; }
  body { font-size: 15px; letter-spacing: 0.04em; }
  .pc { display: none; }
  .sp { display: inline; }
  .brand img { width: 168px; }
  .header-actions { height: 48px; }
  .header-btn.is-estimate { font-size: 11px; padding: 0 9px; letter-spacing: 0.02em; white-space: nowrap; }
  .header-btn.is-line { display: none; }
  .menu-toggle { width: 52px; gap: 6px; border-left: 1px solid var(--ink); }
  .menu-toggle span { width: 22px; }
  .band-title { padding: 22px var(--gutter) 26px; }
  .band-title .band-icon { position: static; transform: none; width: 64px; margin: 10px auto 0; }
  .band-title::after { bottom: -14px; border-width: 16px; border-top-width: 18px; }
  .page-hero .page-lead { text-align: left; }
  .page-title.is-ja { font-size: 24px; }
  .btn { min-width: 0; width: 100%; max-width: 420px; height: 56px; font-size: 16px; }
  .btn-row { flex-direction: column; align-items: center; }
  .btn-row .btn { width: 100%; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow-item { min-height: 0; padding: 30px 16px 24px; }
  .flow-item .num { font-size: 64px; }
  .def-table th, .def-table td { display: block; width: 100%; padding: 6px 0; border: 0; }
  .def-table th { padding-top: 16px; font-size: 13px; color: var(--gray-text); }
  .def-table td { padding-bottom: 16px; border-bottom: 1px solid #c9c9c9; }
  .def-table tr:last-child td { border-bottom: 0; }
  .site-footer { padding-bottom: 80px; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-cta-btns { flex-direction: column; width: 100%; }
  .footer-cta-btns .btn { width: 100%; min-width: 0; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-brand { text-align: center; }
  .footer-sns { justify-content: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .cv-bar { display: flex; }
  .cta .btn-col .btn { width: 100%; }
  .footer-nav { gap: 4px 16px; font-size: 12px; }
  .text.is-center { text-align: left; }
  .sec-title { text-align: center; }
  .modal-box .btn { width: 100%; }
}
@media (max-width: 380px) {
  .cv-bar a { font-size: 12px; gap: 4px; }
  .brand img { width: 148px; }
  .header-btn.is-estimate { padding: 0 8px; }
}
