/* =============================================================
   K.seq - 共通スタイルシート
   -------------------------------------------------------------
   ■ このファイルについて
     サイト全体のデザインをここでまとめて管理しています。
     色・フォント・余白などは下の「デザイン変数（:root）」を
     書き換えるだけで、サイト全体の見た目をまとめて変更できます。

   ■ デザインの方向性
     建築設計事務所・構造設計資料を思わせる、静かで洗練された印象。
     ニュートラルカラー（石・コンクリート・図面）＋ヘアライン＋余白。

   ■ 目次
     1. デザイン変数（色・フォント・余白）
     2. リセット / ベース / タイポグラフィ
     3. レイアウト共通（コンテナ・セクション）
     4. セクション見出し（01 ABOUT など）
     5. ヘッダー / ナビゲーション
     6. フッター
     7. ボタン / CTA
     8. ヒーロー / 下層ページ見出し / パンくず
     9. 各種パーツ（スペック表・カード・注記・ステップ）
    10. フォーム（Googleフォーム設置枠）
    11. レスポンシブ（タブレット・スマートフォン）
   ============================================================= */

/* =============================================================
   1. デザイン変数（ここを変えると全体の見た目が変わります）
   ============================================================= */
:root {
  /* --- 色（藍 × オレンジ：日本の伝統色を意識した配色） ---
     藍＝見出し・濃色帯・強い文字／オレンジ＝番号・罫線・アクセント。
     生成り（オフホワイト）地の上で 2 色を効かせ、落ち着いた印象に。 */
  --paper:        #f4f3ef;  /* 基本背景（生成りのオフホワイト） */
  --paper-2:      #e8eaf0;  /* セクション切替の背景（ごく淡い藍グレー） */
  --surface:      #fbfbf9;  /* カード・パネルの面 */
  --ink:          #223456;  /* 藍（深い紺藍）：見出し・濃色帯・強い文字 */
  --ink-2:        #333c4c;  /* 本文（やや青みのダークグレー） */
  --muted:        #6a7183;  /* 補足テキスト（青みグレー） */
  --line:         #d6d4ce;  /* ヘアライン・罫線 */
  --line-2:       #b7b4ab;  /* やや濃い罫線 */
  --accent:       #c15a24;  /* アクセント（オレンジ・柿／朱寄せ） */
  --accent-2:     #9c4419;  /* アクセントの濃い版（ホバー等） */
  --grid-line:    rgba(34, 52, 86, 0.11); /* 図面グリッドの線（藍みがかる） */

  /* --- フォント --- */
  --font-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans",
             "Noto Sans JP", Meiryo, system-ui, sans-serif;
  /* 英字ラベル・番号は等幅で「図面注記」風に */
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas,
               "Courier New", monospace;

  /* --- 文字サイズ・行間 --- */
  --fs-base:   16px;   /* 本文の基準サイズ（スマホでも縮小しない） */
  --lh-base:   1.9;    /* 本文の行間（日本語の可読性優先） */

  /* --- レイアウト --- */
  --container-width: 1120px;  /* コンテンツの最大幅 */
  --gutter:          24px;    /* 左右の余白 */
  --section-space:   96px;    /* セクション上下の余白 */
  --radius:          2px;     /* 角丸（ほぼ直角＝製図的） */
  --header-height:   72px;    /* ヘッダーの高さ */

  /* --- その他 --- */
  --transition: 0.25s ease;
}

/* =============================================================
   2. リセット / ベース / タイポグラフィ
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-2);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* 横スクロール防止 */
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}

ul, ol {
  padding-left: 1.3em;
}

strong { color: var(--ink); font-weight: 700; }

/* キーボード操作時のフォーカスを分かりやすく（アクセシビリティ） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* スクリーンリーダー専用テキスト（画面上は非表示） */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* キーボードで来た時だけ表示される「本文へスキップ」リンク */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { left: 8px; top: 8px; }

/* 小さな英字ラベル（図面注記風。mono・字間・大文字） */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

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

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

/* 背景を切り替えるセクション（グレージュ） */
.section--alt {
  background-color: var(--paper-2);
}
/* 面をやや明るくするセクション */
.section--surface {
  background-color: var(--surface);
}

/* 図面グリッドの背景（ヒーロー等で使用） */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.grid-bg > * { position: relative; }

/* 左右非対称の2カラム（左＝見出し / 右＝本文） */
.split {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* =============================================================
   4. セクション見出し（例：01 ABOUT ／ K.seqについて）
   ============================================================= */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* 「01 ABOUT」の行（番号＋英字） */
.sec-head__label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
}
.sec-head__no {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.sec-head__en {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.15em;
}
/* 日本語見出し */
.sec-head__ja {
  margin: 0;
  font-size: clamp(1.35rem, 1rem + 1.6vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
}
/* 見出し下の細い罫線（短め） */
.sec-head__rule {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin-top: 2px;
}
/* 中央寄せが必要な場面用 */
.sec-head--center {
  align-items: center;
  text-align: center;
}
.sec-head--center .sec-head__rule { margin-inline: auto; }

/* =============================================================
   5. ヘッダー / ナビゲーション
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 243, 239, 0.95);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
/* すりガラス効果は横並びナビのPC幅のみ。
   （モバイルのドロワーは position:fixed のため、ヘッダーに
    backdrop-filter があると配置基準がヘッダー内に閉じてしまう） */
@media (min-width: 1081px) {
  .site-header {
    background: rgba(244, 243, 239, 0.92);
    backdrop-filter: saturate(120%) blur(6px);
    -webkit-backdrop-filter: saturate(120%) blur(6px);
  }
}
/* スクロール後：背景をやや不透明に＋わずかな影でコンテンツと区別 */
.site-header.is-scrolled {
  background: rgba(244, 243, 239, 0.97);
  box-shadow: 0 6px 20px rgba(34, 52, 86, 0.08);
}

/* アンカーリンク移動時、固定ヘッダーの下に見出しが隠れないよう余白を確保 */
.hero[id],
.section[id],
.cta[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* サイト名（ロゴ） */
.site-logo {
  color: var(--ink);
  line-height: 1.2;
}
.site-logo:hover { text-decoration: none; color: var(--ink); }
.site-logo b {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-logo small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

/* ナビゲーション */
.global-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-nav__link {
  position: relative;
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 0;
  white-space: nowrap;
}
.global-nav__link:hover { color: var(--ink); text-decoration: none; }
/* ホバー・現在ページで下線が左から伸びる */
.global-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.global-nav__link:hover::after { transform: scaleX(1); }
/* 現在のページ（各HTMLで aria-current="page" を付与） */
.global-nav__link[aria-current="page"] { color: var(--ink); }
.global-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
  content: "";
}
.nav-toggle__bar { position: relative; margin: 0 auto; }
.nav-toggle__bar::before { position: absolute; top: -8px; left: 0; }
.nav-toggle__bar::after  { position: absolute; top: 8px;  left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-8px) rotate(-45deg); }

/* =============================================================
   6. フッター
   ============================================================= */
.site-footer {
  background: var(--ink);
  color: #c2c8d4;
  padding-block: 56px 28px;
  font-size: 0.9rem;
}
.site-footer a { color: #c2c8d4; }
.site-footer a:hover { color: #fff; }

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer__brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 6px;
}
.site-footer__brand-sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a90a1;
}

/* フッターの連絡リンク（メール／Instagram：線画アイコン＋テキスト） */
.footer-social {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #c2c8d4;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.footer-social + .footer-social { margin-top: 10px; }
.footer-social__icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.footer-social:hover {
  color: #fff;                 /* 少し色が変化 */
  transform: translateY(-2px); /* わずかに上へ */
  opacity: 0.92;               /* opacity が変化 */
  text-decoration: none;
}
.footer-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.site-footer__copyright {
  text-align: left;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #8a90a1;
}

/* =============================================================
   7. ボタン / CTA
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}
.btn:hover { text-decoration: none; }

/* 主ボタン（チャコール塗り→ホバーでブロンズ） */
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 副ボタン（線） */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

/* ヘッダー内の「問い合わせ」CTAボタン（ネイビー基本＋ホバーでオレンジ） */
.btn--nav-cta {
  padding: 9px 18px;
  font-size: 0.85rem;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  white-space: nowrap;
}
.btn--nav-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* 暗い背景（藍）の上に置くボタン（CTA帯・フッター等） */
/* 主ボタンは藍地に埋もれないようオレンジで表示 */
.on-dark .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.on-dark .btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}
.on-dark .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.on-dark .btn--outline:hover {
  border-color: #fff;
  color: #fff;
}

/* =============================================================
   8. ヒーロー / 下層ページ見出し / パンくず
   ============================================================= */

/* --- トップのメインビジュアル（図面グリッド＋余白） --- */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  padding-block: clamp(64px, 9vw, 112px);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: "";
  width: 44px; height: 1px;
  background: var(--accent);
}
.hero__title {
  max-width: 18em;
  margin: 0 0 26px;
  font-size: clamp(1.7rem, 1rem + 3.4vw, 2.5rem);
  line-height: 1.5;
  color: var(--ink);
}
.hero__title .accent { color: var(--accent); }
.hero__text {
  max-width: 40em;
  margin: 0 0 38px;
  font-size: 1.02rem;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- 下層ページの見出し帯（左寄せ・番号・罫線） --- */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  padding-block: clamp(48px, 7vw, 76px);
}
.page-hero__eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}
.page-hero__no {
  font-size: 1.3rem;
  color: var(--accent);
}
.page-hero__en {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-hero__title {
  margin: 0;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.1rem);
  color: var(--ink);
}
.page-hero__lead {
  max-width: 44em;
  margin: 18px 0 0;
  color: var(--ink-2);
}

/* --- パンくずリスト --- */
.breadcrumb {
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-2);
}
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li:last-child { color: var(--ink-2); }

/* =============================================================
   9. 各種パーツ
   ============================================================= */

/* --- リード文（セクション冒頭の説明） --- */
.lead {
  max-width: 42em;
  color: var(--ink-2);
  font-size: 1rem;
}
.lead--center {
  margin-inline: auto;
  text-align: center;
}

/* --- スペック表（工種一覧・対応内容・こんな方に 等） ---
   図面の仕様書・工程表のような、番号＋罫線のリスト。 */
.spec {
  border-top: 1px solid var(--line-2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: spec;
}
.spec__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}
.spec__no {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  padding-top: 0.25em;
  letter-spacing: 0.02em;
}
/* 自動採番したい場合（li に data 属性がない時） */
.spec--auto .spec__no::before {
  counter-increment: spec;
  content: counter(spec, decimal-leading-zero);
}
.spec__title {
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: var(--ink);
}
.spec__text {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
/* 2カラムで並べたいスペック表（PC） */
.spec--cols {
  border-top: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
}
.spec--cols .spec__item {
  border-top: 1px solid var(--line-2);
  border-bottom: none;
}

/* --- 番号なしの箇条（内訳書・こんな方に の補助） --- */
.point {
  list-style: none;
  margin: 0; padding: 0;
}
.point li {
  position: relative;
  padding: 16px 4px 16px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.point li::before {
  content: "";
  position: absolute;
  left: 4px; top: 26px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.point li:first-child { border-top: 1px solid var(--line); }

/* --- 注記（対応不可・ご注意 など） --- */
.note {
  border-left: 2px solid var(--accent);
  background: var(--surface);
  padding: 18px 22px;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.note strong { color: var(--ink); }

/* --- 本文ブロック（説明文が続くページ） --- */
.prose { max-width: 44em; }
.prose p { margin: 0 0 18px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }

/* --- ご依頼の流れ（設計図・工程表風のステップ） --- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-2);
  counter-reset: step;
}
.flow__item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  align-items: start;
  padding: 34px 4px;
  border-bottom: 1px solid var(--line);
}
.flow__marker {
  counter-increment: step;
  font-family: var(--font-mono);
  color: var(--muted);
}
.flow__step {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.flow__no {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
}
.flow__no::before { content: counter(step, decimal-leading-zero); }
.flow__body { padding-top: 6px; }
.flow__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--ink);
}
.flow__text {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* --- CTA帯（各ページ下部の問い合わせ誘導） --- */
.cta {
  background: var(--ink);
  color: #d0d5df;
  padding-block: 72px;
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.cta__title {
  color: #fff;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.6rem);
  margin: 0 0 10px;
  line-height: 1.5;
}
.cta__text {
  color: #adb4c2;
  margin: 0;
  max-width: 34em;
  font-size: 0.95rem;
}
.cta__actions { flex-shrink: 0; }

/* =============================================================
   10. フォーム（Googleフォーム設置枠）
   ============================================================= */

/* Googleフォーム埋め込みエリア（レスポンシブ枠）
   ここに Google フォームの <iframe class="form-embed__frame"> を
   設置すると、PC・スマホの両方で幅いっぱいに崩れず表示されます。 */
.form-embed {
  max-width: 760px;
  margin-inline: auto;
}
.form-embed__frame {
  display: block;
  width: 100%;
  min-height: 820px;  /* フォームの長さに合わせて調整してください */
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

/* お問い合わせ（メール）カード */
.contact-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}
.contact-card__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card__mail {
  display: inline-block;
  font-size: clamp(1.05rem, 0.9rem + 1vw, 1.4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  word-break: break-all;
}
.contact-card__mail:hover { color: var(--accent); text-decoration: none; }
.contact-card__note {
  margin: 16px auto 28px;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.contact-card__actions .btn { width: 100%; max-width: 360px; }
.contact-card__alt {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.contact-card__alt a { color: var(--accent); }

/* フォーム準備中の仮パネル
   Google フォーム設置後は、このパネル（.form-placeholder）を
   削除して <iframe> に差し替えてください。 */
.form-placeholder {
  text-align: center;
  padding: 64px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.form-placeholder::before {
  content: "CONTACT FORM";
  position: absolute;
  top: 18px; left: 0; right: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--line-2);
}
.form-placeholder__title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.form-placeholder__text {
  margin: 0 auto;
  max-width: 30em;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =============================================================
   11. レスポンシブ
   ============================================================= */

/* --- タブレット以下 --- */
@media (max-width: 960px) {
  :root { --section-space: 72px; }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

/* --- ナビ：横並びが窮屈になる幅でハンバーガー（ドロワー）へ切替 ---
   ナビ項目が6つあるため、1080px 以下でドロワー表示にします。 */
@media (max-width: 1080px) {
  /* ハンバーガーボタンを表示 */
  .nav-toggle { display: block; }

  /* ナビをドロワー（開閉式）に。開いた時は明るい背景＋藍文字 */
  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    /* 閉じている時は画面外（左）へ。右に出すと横スクロールが発生するため左へ退避 */
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform var(--transition), visibility 0s linear var(--transition);
    overflow-y: auto;
  }
  .global-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--transition), visibility 0s;
  }

  .global-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
  }
  .global-nav__item { border-bottom: 1px solid var(--line); }
  .global-nav__link {
    display: block;
    padding: 18px 4px;
    font-size: 1.05rem;
    color: var(--ink);
  }
  .global-nav__link::after { display: none; }
  /* 問い合わせCTAはドロワー内でも塗りボタンで目立たせる */
  .global-nav__item--cta {
    border-bottom: none;
    padding: 20px 0 4px;
  }
  .btn--nav-cta {
    display: flex;
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }
}

/* --- タブレット小・大型スマホ（レイアウト調整） --- */
@media (max-width: 768px) {
  /* スペック表を1カラムに */
  .spec--cols { grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
  .spec--cols .spec__item:first-child { border-top: none; }

  /* CTAのボタンを全幅 */
  .cta__actions { width: 100%; }
  .cta__actions .btn { width: 100%; }
}

/* --- スマートフォン（375px前後を重視） --- */
@media (max-width: 480px) {
  :root {
    --gutter: 18px;
    --section-space: 56px;
  }

  .hero__eyebrow { gap: 12px; margin-bottom: 20px; }
  .hero__title { line-height: 1.6; }
  .hero__actions .btn { flex: 1 1 auto; }

  /* スペック表・工程表の番号列を詰める */
  .spec__item {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 2px;
  }
  .flow__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 26px 2px;
  }
  .flow__marker { display: flex; align-items: baseline; gap: 14px; }
  .flow__step { margin-bottom: 0; }
  .flow__no { font-size: 1.9rem; }

  .sec-head__label { gap: 12px; }
  .sec-head__no { font-size: 1.2rem; }

  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .form-placeholder { padding: 52px 18px; }
}

/* --- ごく小型（360px未満）でも崩れないよう保険 --- */
@media (max-width: 360px) {
  .site-logo b { font-size: 1.1rem; }
}

/* =============================================================
   12. アニメーション（CSS transform / opacity のみ）
   -------------------------------------------------------------
   ・初期の非表示は「.js-anim」が付いている時だけ有効。
     JS無効／reduced-motion時は何も隠さず、内容は常に表示されます。
   ・表示のトリガー（.is-visible）は js/main.js の
     IntersectionObserver が一度だけ付与します。
   ============================================================= */

/* イージング（静かで上品な減速） */
:root {
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --anim-time: 0.66s;
}

/* --- スクロールで下からフェードアップ --- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--anim-time) var(--ease-out),
    transform var(--anim-time) var(--ease-out);
  will-change: opacity, transform;
}
.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- ヒーローの装飾ライン（左→右へ伸びる） --- */
.js-anim .hero__eyebrow::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease-out) 0.15s;
}
.js-anim .hero__eyebrow.is-visible::before {
  transform: scaleX(1);
}

/* --- セクション見出しの罫線（左→右へ伸びる） --- */
.sec-head__rule { transform-origin: left center; }
.js-anim .sec-head__rule {
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out) 0.2s;
}
.js-anim .sec-head.is-visible .sec-head__rule {
  transform: scaleX(1);
}

/* --- FLOW：工程をつなぐ縦線が上から下へ伸びる --- */
.flow { position: relative; padding-left: 22px; }
.flow::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.js-anim .flow::before {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.2s var(--ease-out);
}
.js-anim .flow.is-visible::before {
  transform: scaleY(1);
}

/* --- ボタンの矢印（ホバーで数px右へ） --- */
.btn--arrow::after {
  content: "\2192"; /* → */
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn--arrow:hover::after {
  transform: translateX(5px);
}

/* =============================================================
   9・アクセシビリティ：モーションを控える設定の端末では無効化
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
  .js-anim .hero__eyebrow::before,
  .js-anim .sec-head__rule { transform: scaleX(1) !important; }
  .js-anim .flow::before { transform: scaleY(1) !important; }
}

/* =============================================================
   13. コンテンツ追加パーツ（実績・料金・FAQ・サンプル画像）
   ============================================================= */

/* ヒーローの補足（実績の数値ライン） */
.hero__proof {
  margin: 22px 0 34px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero__proof strong { color: var(--accent); font-weight: 700; }

/* ヒーローのタグ（工種の帯） */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 30px;
}
.hero__tags span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 13px;
}

/* --- 実績の数値タイル --- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  margin: 0 0 8px;
}
.stat {
  padding: 24px 12px 24px 0;
  border-bottom: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1;
  color: var(--ink);
}
.stat__num .u {
  font-size: 0.46em;
  color: var(--muted);
  margin-left: 5px;
  letter-spacing: 0.04em;
}
.stat__label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- 内訳書サンプル画像 --- */
.samples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.sample {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.sample__img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 1px solid var(--line);
  background: #fff;
}
.sample figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

/* --- FAQ（ネイティブ details アコーディオン） --- */
.faq {
  border-top: 1px solid var(--line-2);
  max-width: 780px;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 42px 20px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::before {
  content: "Q";
  font-family: var(--font-mono);
  color: var(--accent);
  margin-right: 12px;
}
.faq__item > summary::after {
  content: "";
  position: absolute;
  right: 10px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(var(--muted), var(--muted)) center/12px 1.5px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center/1.5px 12px no-repeat;
  transition: transform 0.2s ease;
}
/* 開いている時は「−」（横線のみ） */
.faq__item[open] > summary::after {
  background: linear-gradient(var(--muted), var(--muted)) center/12px 1.5px no-repeat;
}
.faq__body {
  padding: 0 4px 22px 28px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.faq__body p { margin: 0; }

@media (max-width: 640px) {
  .samples { grid-template-columns: 1fr; }
  .sample__img { height: 300px; }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; }
  .sample__img { height: 260px; }
}

/* --- 内訳書サンプルの案件別グループ --- */
.sample-group + .sample-group { margin-top: 30px; }
.sample-group__title {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.sample-group .samples { margin-top: 0; }
