@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap'); /* 工業系コンデンス書体(スペックカードの数字用) */
/* =========================================================================
   建設・工務店テンプレート スタイル(土 × 深緑。corporate 派生)
   配色の切り替えは下の :root 変数を差し替えるだけ(README「配色の切り替え」)。
   デザイン原則:
   - ポップさを避け、土(こげ茶)基調＋深緑の一色差しで
     「地に足のついた・実直・信頼」を出す。装飾は最小限、余白と整列で見せる
   - 明色アクセントを白背景に器(丸・帯)として置かない。濃色の上の小さな
     マーク・細い線としてのみ使う(hp-maker-core CLAUDE.md の鉄則を準用)
   - 見出しは Noto Sans JP(角ゴ=誠実・現代的)。本文は BIZ UDPGothic(UD書体)
   - 変数名は他テンプレートと共通(--sumi=濃色/--accent=アクセント)。
     意味は「業種の濃色/差し色」で、値だけが業種ごとに変わる
   ========================================================================= */

:root {
  /* --- 配色(建設・工務店:土 × 深緑) ← 既定 ---
     業態で差し替える例:
       建設・工務店        --accent: #1F6E4A(深緑)  / --sumi: #2A2621(土)  ← 既定
       造園・外構          --accent: #4F7A34(苔緑)  / --sumi: #2A2621(土)
       解体・土木          --accent: #B4531F(鉄錆の橙)/ --sumi: #26292E(鉄黒)
       一般B2B・機器/設備  --accent: #2E6187(鋼青)  / --sumi: #232B36(グラファイト)
  */
  --sumi: #2A2621;          /* 土(こげ茶):無彩寄りの濃色。濃色セクション・見出し */
  --sumi-2: #3C352D;        /* 土の明るめ(グラデ・ホバー) */
  --accent: #1F6E4A;        /* 深緑:ボタン・アクセント。白文字が載る濃さを保つこと */
  --accent-soft: #7FB79A;   /* 深緑の明るめ:濃色背景の上の文字・マーク専用 */

  --paper: #F7F5F1;         /* 生成りの白(ページ地) */
  --paper-2: #EEEAE2;       /* 淡いベージュ(セクション地) */
  --ink: #2A2621;
  --ink-muted: #6E655A;
  --line: #DED8CE;

  /* --- タイポ --- */
  --font-head: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "BIZ UDPGothic", "Yu Gothic", "Noto Sans JP", sans-serif;

  --wrap: 1080px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(42, 38, 33, 0.14);
  --shadow-sm: 0 3px 12px rgba(42, 38, 33, 0.10);
}

/* --------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .02em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
/* アンカー着地時にstickyヘッダーで見出しが隠れないように */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; scroll-margin-top: 68px; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--sumi); color: #fff; }

/* 画像プレースホルダ(顧客写真に差し替える枠) */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, rgba(42,38,33,.05), rgba(42,38,33,.02)),
    repeating-linear-gradient(45deg, #E8E2D6 0 12px, #DED7C8 12px 24px);
  display: grid; place-items: center;
  color: var(--ink-muted);
  font-size: .8rem; letter-spacing: .08em;
  border-radius: var(--radius);
}
.ph::after { content: attr(data-label); }

/* --------------------------------------------------------- demo banner */
.demobar {
  background: var(--sumi);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  text-align: center;
  padding: .4rem 1rem;
  letter-spacing: .02em;
}
.demobar b { color: var(--accent-soft); font-weight: 700; }

/* -------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,247,249,.94);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
/* ロゴ=濃色の角丸 × 明色のマーク(鉄則の基本形。企業らしく角を少し立てる) */
.brand__mark {
  width: 38px; height: 38px; border-radius: 7px;
  background: var(--sumi);
  display: grid; place-items: center; flex: none;
}
.brand__mark span {
  width: 12px; height: 12px; border-radius: 3px;
  background: var(--accent-soft);
}
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--sumi); font-size: 1.14rem; line-height: 1.4; letter-spacing: .04em; }
.brand__name small { display: block; font-size: .54rem; letter-spacing: .2em; color: var(--ink-muted); font-weight: 500; font-family: var(--font-body); }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn) {
  color: var(--sumi); font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  letter-spacing: .05em; line-height: 1.5; position: relative; padding: .2rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transition: width .2s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sumi); margin: 5px 0; transition: .25s; }

/* ヘッダー右クラスタ(ナビ＋言語切替＋ハンバーガー) */
.header-right { display: flex; align-items: center; gap: 1.1rem; }

/* 言語切替(日英)。濃色ピルでアクティブ言語を示す */
.lang-switch {
  display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: .76rem;
}
.lang-switch a, .lang-switch span {
  padding: .32rem .62rem; text-decoration: none; letter-spacing: .06em; line-height: 1.5;
  color: var(--ink-muted); transition: background .2s ease, color .2s ease;
}
.lang-switch .is-active { background: var(--sumi); color: #fff; }        /* 現在の言語 */
.lang-switch a:hover { background: var(--paper-2); color: var(--sumi); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; line-height: 1.5; letter-spacing: .05em;
  padding: .8rem 1.7rem; border-radius: 7px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-size: 1rem;
  transition: box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}
.btn:active { transform: translateY(1px); }
/* 白背景で使う主ボタン=土(こげ茶)塗り+白文字 */
.btn--primary { background: var(--sumi); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sumi-2); }
/* 深緑ボタン=白文字が載る濃さの緑なので白背景でも濃色背景でも使える */
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { filter: brightness(1.08); }
/* 濃色背景の上の従ボタン=白枠 */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: .5rem 1.15rem; font-size: .88rem; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(1100px 480px at 82% -8%, var(--sumi-2), transparent 60%),
    linear-gradient(165deg, var(--sumi) 46%, #17140F 100%);
  overflow: hidden;
}
/* 細い罫のテクスチャで「図面・整った」印象(硬派) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 46px);
  mask-image: linear-gradient(120deg, transparent 40%, #000 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem;
  align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .2em;
  color: rgba(255,255,255,.85); line-height: 1.5;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--accent-soft); }
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.05rem); margin: 1.2rem 0 .6rem; line-height: 1.5;
  font-weight: 900; letter-spacing: .03em;
}
.hero h1 .accent { color: var(--accent-soft); }
.hero__lead { font-size: 1.02rem; color: rgba(255,255,255,.82); max-width: 34ch; }
.hero__cta { display: flex; gap: .8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.hero__photo { aspect-ratio: 4/3; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
img.hero__photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); }
.hero__facts {
  display: flex; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255,255,255,.75);
}
.hero__facts b { color: #fff; font-family: var(--font-head); font-weight: 700; margin-right: .35em; }

/* ---- ヒーローのパターン切替(正典は ../../hero-patterns/README.md) ----
   .hero.hero--flat(既定) … 左コピー＋右写真カード(企業サイトの王道・写真が弱くても成立)
   .hero.hero--photo       … 全面写真(img/hero.jpg・オフィス/現場)＋スクリム、コピー1カラム
   必須装備:スクリムで可読性確保、背景写真は width/height 指定と軽量化でLCP対策。 */
.hero__scrim { display: none; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url(../img/hero.jpg) center 35% / cover;
}
.hero--photo .hero__scrim {
  display: block; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(20,25,32,.92) 0%, rgba(20,25,32,.55) 48%, rgba(20,25,32,.14) 100%);
}
.hero--photo .hero__grid { grid-template-columns: 1fr; padding: clamp(4.5rem, 15vh, 8rem) 0; }
.hero--photo .hero__photo { display: none; }
.hero--photo .hero__copy { max-width: 37rem; }
.hero--photo .hero__lead { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* ---------------------------------------------------------- section head */
.head { text-align: center; margin-bottom: 2.8rem; }
.head .eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .24em;
  line-height: 1.5;
}
.head .eyebrow .dot { width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.section--dark .head .eyebrow { color: var(--accent-soft); }
.section--dark .head .eyebrow .dot { background: var(--accent-soft); }
.head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: .9rem; color: var(--sumi); line-height: 1.5; font-weight: 800; }
/* 見出し下の短いアクセント線 */
.head h2::after {
  content: ""; display: block; width: 44px; height: 3px; border-radius: 2px;
  background: var(--accent); margin: 1.1rem auto 0;
}
.section--dark .head h2 { color: #fff; }
.section--dark .head h2::after { background: var(--accent-soft); }
.head p { color: var(--ink-muted); margin: 1rem 0 0; }
.section--dark .head p { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------- feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.feature + .feature { margin-top: 3.2rem; }
.feature--rev .feature__media { order: 2; }
.feature__media .ph { aspect-ratio: 5/4; }
.feature__img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; display: block; border-radius: var(--radius); }
.feature__kicker {
  font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: .92rem;
  letter-spacing: .16em; line-height: 1.6;
}
.feature h3 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); color: var(--sumi); margin: .5rem 0 .9rem; line-height: 1.5; font-weight: 800; }
.feature p { color: var(--ink-muted); }

/* -------------------------------------------------------- service cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
/* カード上部=濃色帯(サービス番号)。鉄則:明色はこの濃色帯の上の文字にのみ使う */
.svc__head { background: var(--sumi); color: #fff; padding: 1rem 1.3rem; }
.svc__label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; color: var(--accent-soft); }
.svc__name { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; line-height: 1.5; margin-top: .15rem; }
.svc__body { padding: 1.2rem 1.3rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.svc__desc { color: var(--ink-muted); font-size: .92rem; margin: 0 0 1rem; }
.svc__points { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.svc__points li { padding-left: 1.5em; position: relative; font-size: .9rem; color: var(--ink); line-height: 1.7; }
/* チェック風マーク(深緑の細線。器にしない) */
.svc__points li::before {
  content: ""; position: absolute; left: .1em; top: .5em;
  width: .5em; height: .28em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.svc-note { text-align: center; color: var(--ink-muted); font-size: .85rem; margin-top: 1.8rem; }

/* --------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center;
  border-top: 3px solid var(--accent);
}
.stat b {
  display: block; font-family: var(--font-head); font-weight: 900; color: var(--sumi);
  font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; letter-spacing: .01em;
}
.stat b span { font-size: .42em; font-weight: 800; margin-left: .15em; color: var(--ink-muted); }
.stat__label { display: block; margin-top: .5rem; color: var(--ink-muted); font-size: .84rem; line-height: 1.6; }

/* 取引先業種などのタグ列(結果・実績の軽い見せ方) */
.taglist-lead { text-align: center; color: var(--ink-muted); font-size: .9rem; margin: 2.4rem 0 1rem; }
.taglist { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .7rem; margin: 0; padding: 0; list-style: none; }
.taglist li {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: .45rem 1.05rem; font-family: var(--font-head); font-weight: 700;
  color: var(--sumi); font-size: .92rem; line-height: 1.5;
}

/* ------------------------------------------------------- 施工実績ギャラリー
   工務店の要:実際の施工写真を、あえて不均等なタイル(縦長・横長を混ぜる)で
   見せる。キャプション(工事種別/場所/工期)は写真下部にそっと重ねる
   (白背景の器にしない=デザイン鉄則)。cafe テンプレのギャラリーと同型。 */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px; gap: 1rem; margin-bottom: 3rem;
}
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-item .ph { position: absolute; inset: 0; border-radius: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.5rem .95rem .75rem;
  background: linear-gradient(0deg, rgba(23,20,15,.82), transparent);
  color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .84rem; letter-spacing: .03em; line-height: 1.55;
}

/* ------------------------------------------------------------------ news */
.news-cta { text-align: center; max-width: 620px; margin-inline: auto; }
.news-cta p { color: rgba(255,255,255,.82); margin: .6rem 0 1.7rem; }
.news-list { list-style: none; padding: 0; margin: 0 auto 1.8rem; max-width: 560px; text-align: left; border-top: 1px solid rgba(255,255,255,.14); }
.news-list[hidden] { display: none; }
.news-list li { display: flex; gap: 1.1rem; align-items: baseline; padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.news-list .d { font-family: var(--font-head); color: var(--accent-soft); font-size: .85rem; letter-spacing: .06em; flex: none; line-height: 1.6; }
.news-list .t { color: rgba(255,255,255,.92); text-decoration: none; font-size: .95rem; line-height: 1.6; min-width: 0; }
.news-list .t:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ info */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: .9rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 8em; color: var(--sumi); font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.6; }
.info-table td { color: var(--ink-muted); }
.info-tel { color: var(--sumi); font-weight: 700; }
.info-map { aspect-ratio: 4/3; }
.info-map iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); display: block; }

/* ------------------------------------------------------------------ form */
.form-wrap { max-width: 640px; margin-inline: auto; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; color: var(--sumi); margin-bottom: .35rem; font-size: .95rem; }
.field .req { color: var(--accent); font-size: .78em; margin-left: .4rem; font-weight: 700; }
.field .opt { color: var(--ink-muted); font-size: .78em; margin-left: .4rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 7px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,110,74,.16);
}
.field textarea { min-height: 140px; resize: vertical; }
.field small.hint { color: var(--ink-muted); font-size: .8rem; }
/* ハニーポット:視覚・スクリーンリーダーから隠す(ボット除け。空のまま送られる) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { text-align: center; margin-top: 1.7rem; }
.form-status { margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 7px; font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: #EAF3EB; color: #2F6B3C; border: 1px solid #C6DECA; }
.form-status.is-err { display: block; background: #FAEDE7; color: #A04226; border: 1px solid #EDCFC0; }
.form-status ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #17140F; color: rgba(255,255,255,.72); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand__name { color: #fff; }
.site-footer h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; color: #fff; font-size: .95rem; line-height: 1.6; margin: 0 0 .8rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.3rem; font-size: .78rem; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; aspect-ratio: 16/10; }
  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery-item--wide { grid-column: span 2; }
  .feature, .info-grid, .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature--rev .feature__media { order: 0; }

  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    transform: translateY(-140%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: .9rem; }
  .nav-toggle { display: block; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .hero__cta .btn { flex: 1 1 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------- FAQ(AIO対策セクション) */
.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; gap: .8rem; align-items: baseline;
  padding: 1.05rem 1.15rem; font-weight: 700; color: var(--sumi);
  font-family: var(--font-head); line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--accent); font-family: var(--font-head); font-weight: 700; flex: none; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-a { padding: .95rem 1.15rem 1.1rem; color: var(--ink-muted); display: flex; gap: .8rem; line-height: 1.9; }
.faq-item .faq-a::before { content: "A"; color: var(--sumi); font-family: var(--font-head); font-weight: 700; flex: none; }
.faq-item .faq-a p { margin: 0; }

/* ---------------------------- リクエスト予約の注意書き(削除しない) */
.form-note {
  margin: 0 0 1.4rem; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 6px;
  padding: .85rem 1rem; font-size: .88rem; color: var(--ink-muted); line-height: 1.8;
}
.form-note b { color: var(--sumi); }
.form-note a { color: var(--sumi); font-weight: 700; }

/* ------------------------- フローティングCTA(スマホのみ・下部固定) */
.float-cta { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 76px; } /* CTAバーの高さぶん、フッターが隠れないように */
  .float-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .float-cta .btn { padding: .75rem .4rem; font-size: .93rem; white-space: nowrap; }
}

/* =========================================================================
   多ページ展開(ハブ&スポーク)用の共通パーツ ★企業向けプラン
   1枚もの(既定)では未使用。サブページを作る場合だけ使う。
   使い方の正典は ../../multipage-pattern/README.md(サブページ雛形も同梱)。
   ここに定義するのは:ページヒーロー / パンくず / 「詳しく見る→」/ CTA帯 /
   スペック表(仕様・設備一覧など)。色は全てCSS変数なのでテーマに追従する。
   ========================================================================= */

/* ナビ現在地(サブページで aria-current="page" を付ける) */
.nav > a[aria-current="page"] { color: var(--accent); }
.nav > a[aria-current="page"]::after { width: 100%; }

/* サブページのページヒーロー(トップの大ヒーローの代わり) */
.page-hero { background: var(--sumi); color: #fff; padding: clamp(2.6rem, 6vw, 4rem) 0; }
.page-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; line-height: 1.5; margin: 0; }
.page-hero p { color: rgba(255,255,255,.75); margin: 1rem 0 0; max-width: 60ch; line-height: 1.9; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: .9rem; }
.breadcrumb a { color: var(--accent-soft); }
.breadcrumb span { margin: 0 .5em; opacity: .6; }

/* 「詳しく見る →」リンク(ハブから各サブページへ誘導) */
.more-link { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: .92rem; }
.more-link::after { content: "→"; transition: transform .2s ease; }
.more-link:hover::after { transform: translateX(3px); }
.more-wrap { text-align: center; margin-top: 2rem; }

/* サブページ下部のCTA帯(フォームはハブに集約し、各ページはここから誘導) */
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: clamp(2.8rem, 6vw, 4rem) 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; margin: 0; line-height: 1.5; }
.cta-band p { color: rgba(255,255,255,.92); margin: 1rem 0 1.8rem; }
.cta-band .cta-band__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn--light { background: #fff; color: var(--sumi); }
.btn--light:hover { filter: brightness(.95); }
.btn--outline { border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); }

/* スペック表(仕様一覧・設備一覧など。横スクロール対応) */
.equip-lead { max-width: 62ch; margin: 0 auto 2rem; text-align: center; color: var(--ink-muted); line-height: 1.9; }
.equip-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.equip-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .92rem; }
.equip-table thead th { background: var(--sumi); color: #fff; font-family: var(--font-head); font-weight: 700; text-align: left; padding: .8rem 1rem; font-size: .86rem; letter-spacing: .04em; white-space: nowrap; }
.equip-table tbody th, .equip-table tbody td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.equip-table tbody tr:last-child th, .equip-table tbody tr:last-child td { border-bottom: 0; }
.equip-table tbody tr:nth-child(even) { background: var(--paper-2); }
.equip-table tbody th { text-align: left; color: var(--sumi); font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.equip-table tbody td { color: var(--ink-muted); }
.equip-table .num { text-align: right; white-space: nowrap; }
.equip-scroll-hint { text-align: center; color: var(--ink-muted); font-size: .78rem; margin: .7rem 0 0; }
/* 加工事例・実績カードも、スペック表示カードと同じ「データシート/銘板」の作りに揃える */
.equip-cases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; margin-top: 2.4rem; counter-reset: caseidx;
}
.equip-case { counter-increment: caseidx; background: #fff; border: 0; border-radius: 0; padding: 1.5rem 1.5rem 1.6rem; }
.equip-case::before {  /* 連番インデックス(Oswald・アクセント色) */
  content: counter(caseidx, decimal-leading-zero);
  display: block; font-family: var(--font-cond); font-weight: 600;
  font-size: .78rem; letter-spacing: .2em; color: var(--accent); margin-bottom: .8rem;
}
.equip-case h4 { font-family: var(--font-head); color: var(--sumi); font-size: .98rem; margin: 0 0 .5rem; line-height: 1.5; }
.equip-case p { color: var(--ink-muted); font-size: .88rem; margin: 0; line-height: 1.75; }
@media (max-width: 860px) { .equip-cases { grid-template-columns: 1fr; } }

/* =========================================================================
   ★スペック表示カード(データシート/銘板風)★企業向けプラン・B2B標準
   量産型のKPIカード(白角丸＋中央アイコン)をやめ、AI感を消した見せ方。
   ・浮いたカード → ハーフライン仕切りの一枚板(角丸ほぼ無し・影なし・左揃え)
   ・中央アイコン → 隅の淡いウォーターマーク(.stat__icon)
   ・英字キー(.stat__ix)＋大きなコンデンス数字(Oswald)＋刻印風のアクセント罫
   実例=hp-maker-core/clients/higuchi-machinery。使い方=../../multipage-pattern/README.md。
   ========================================================================= */
:root { --font-cond: "Oswald", "Roboto Condensed", var(--font-head); }

.stats {
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
}
.stat {
  position: relative; overflow: hidden;
  background: #fff; border: 0; border-radius: 0;
  text-align: left; padding: 1.6rem 1.5rem 1.5rem;
}
.stat__ix {  /* 英字のミニ見出し(データシートのキー) */
  display: block; font-family: var(--font-cond); font-weight: 600;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted);
}
.stat__icon {  /* 隅の淡いウォーターマーク */
  position: absolute; top: 1.05rem; right: 1.05rem;
  width: 44px; height: 44px; margin: 0; color: var(--sumi); opacity: .1;
}
.stat__icon svg { width: 100%; height: 100%; display: block; }
.stat b {  /* 数字はコンデンス書体(Oswald) */
  display: block; margin: 1.05rem 0 0;
  font-family: var(--font-cond); font-weight: 600; letter-spacing: .01em;
}
.stat b::after {  /* 刻印のようなアクセントの短い罫 */
  content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-top: .8rem;
}
.stat__label { text-align: left; margin-top: .8rem; }
.equip-table .num { font-family: var(--font-cond); font-weight: 600; }

/* アニメーション抑制の希望を尊重 */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}

/* ----------------------------------------- 送信前の確認パネル(form-confirm)
   いきなり送信せず、入力内容を一度確認してもらうためのパネル。
   確認中(.is-confirming)は入力欄・元の送信ボタン・Turnstile を隠す。 */
.is-confirming .field,
.is-confirming .form-actions,
.is-confirming .cf-turnstile { display: none; }
.form-confirm { margin-top: .5rem; }
.form-confirm__lead { font-weight: 700; color: var(--ink); margin: 0 0 1.1rem; }
.form-confirm__list { margin: 0; border-top: 1px solid var(--line); }
.form-confirm__list dt { font-family: var(--font-body); font-weight: 700; color: var(--ink-muted); font-size: .8rem; letter-spacing: .04em; padding: .9rem 0 .15rem; }
.form-confirm__list dd { margin: 0 0 .1rem; padding: 0 0 .9rem; color: var(--ink); border-bottom: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; line-height: 1.7; }
.form-confirm__list dd.is-empty { color: var(--ink-muted); font-style: italic; }
.form-confirm__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.form-confirm__back { background: #fff; color: var(--ink); border: 1.5px solid var(--ink-muted); font-weight: 700; }
.form-confirm__back:hover { background: var(--line); border-color: var(--ink); }
@media (max-width: 520px) {
  .form-confirm__actions { flex-direction: column-reverse; }
  .form-confirm__actions .btn { width: 100%; }
}
