/* 株式会社関東技術開発（ご提案デモ）— 共通スタイル
   加工現場のトーン：鋼の濃紺 × KTDロゴのオレンジ × 図面の白
   外部フォント・外部画像を一切読まない（完全オフライン動作） */

:root {
  --steel-900: #0f151d;   /* ヘッダー・フッター */
  --steel-800: #182231;
  --steel-700: #24334a;
  --steel-500: #4a5f7d;
  --steel-300: #93a4bb;

  --ktd: #e2620f;         /* KTDロゴのオレンジ＝CTA・強調専用 */
  --ktd-dark: #b64c07;
  --ktd-soft: #fdf1e7;

  --paper: #f4f6f9;       /* ページ背景 */
  --paper-2: #e9edf3;
  --white: #ffffff;

  --text: #1c2532;
  --text-muted: #5d6b7e;
  --border: #d3dae4;
  --border-strong: #b4c0ce;

  --ok: #1f7a52;
  --ok-soft: #e8f4ee;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;
  --maxw: 1140px;
  --maxw-narrow: 800px;

  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, "Osaka-Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  color: var(--text); background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--steel-700); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ktd); outline-offset: 2px;
}
.mono { font-family: var(--mono); letter-spacing: 0; }

/* スキップリンク */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s4); top: var(--s2); z-index: 999; background: var(--ktd); color: #fff; padding: var(--s3) var(--s5); }

/* ── デモ告知バー ───────────────────────── */
.demo-bar {
  background: var(--steel-800); color: #cfd8e4; text-align: center;
  font-size: .76rem; padding: 7px var(--s4); line-height: 1.6;
}
.demo-bar b { color: #ffc48a; }

/* ── ヘッダー ───────────────────────────── */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: var(--s3) var(--s4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
}
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--steel-900); }
.brand .mark { flex: none; width: 42px; height: 42px; }
.brand .name { font-size: 1.06rem; font-weight: 700; letter-spacing: .04em; line-height: 1.35; }
.brand .name small { display: block; font-size: .58rem; font-weight: 500; color: var(--text-muted); letter-spacing: .18em; }

.header-tel { display: none; text-align: right; line-height: 1.4; }
.header-tel .lbl { display: block; font-size: .64rem; color: var(--text-muted); letter-spacing: .1em; }
.header-tel .num { font-family: var(--mono); font-size: 1.18rem; font-weight: 700; color: var(--steel-900); text-decoration: none; }
@media (min-width: 1000px) { .header-tel { display: block; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 11px; background: none;
  border: 1px solid var(--border-strong); border-radius: 4px; cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--steel-900); border-radius: 2px; }

.gnav { display: none; }
.gnav.open {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 2px solid var(--ktd); padding: var(--s3) var(--s4) var(--s5);
  box-shadow: 0 12px 24px rgba(15,21,29,.12);
}
.gnav ul { list-style: none; display: grid; gap: 2px; }
.gnav a {
  text-decoration: none; color: var(--text); font-size: .94rem; font-weight: 500;
  display: block; padding: var(--s3) var(--s2); border-bottom: 1px solid var(--paper-2);
}
.gnav a[aria-current="page"] { color: var(--ktd); font-weight: 700; }
.gnav .nav-cta { color: var(--ktd); font-weight: 700; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .gnav { display: block; }
  .gnav ul { display: flex; gap: var(--s5); align-items: center; }
  .gnav a { border: none; padding: var(--s2) 0; font-size: .88rem; white-space: nowrap; }
  .gnav a[aria-current="page"] { border-bottom: 2px solid var(--ktd); }
}
@media (min-width: 1000px) and (max-width: 1180px) { .gnav ul { gap: var(--s4); } .gnav a { font-size: .82rem; } }

/* ── ヒーロー（写真ゼロ・CSSのみ） ─────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(226,98,15,.30), transparent 62%),
    linear-gradient(152deg, #0f151d 0%, #1b283b 46%, #101822 100%);
  color: var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(115deg, #000 0%, transparent 68%);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 68%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: var(--s16) var(--s4) var(--s20);
}
.hero .eyebrow {
  display: inline-block; font-size: .7rem; letter-spacing: .28em; color: #ffb877;
  border: 1px solid rgba(255,184,119,.5); padding: 5px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(1.6rem, 5.4vw, 3rem); font-weight: 700; line-height: 1.42; margin-top: var(--s5); letter-spacing: .01em; }
.hero h1 .accent { color: #ff9a4d; }
.hero .lead { margin-top: var(--s5); font-size: clamp(.94rem, 2.4vw, 1.06rem); color: #c8d3e2; max-width: 44em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.hero-facts {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4);
  margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid rgba(255,255,255,.16);
}
@media (min-width: 760px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }
.hero-facts .n { display: block; font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: #ffb877; }
.hero-facts .t { font-size: .74rem; color: #a9b8cb; line-height: 1.6; }

/* ── ページ見出し ───────────────────────── */
.page-hero { background: var(--steel-800); color: var(--white); padding: var(--s10) var(--s4) var(--s8); }
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.page-hero .en { font-size: .68rem; letter-spacing: .3em; color: #ffb877; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(1.35rem, 4vw, 1.9rem); font-weight: 700; margin-top: var(--s2); line-height: 1.45; }
.page-hero p { margin-top: var(--s3); color: #b7c4d4; font-size: .92rem; max-width: 46em; }

.breadcrumb { background: var(--paper-2); font-size: .75rem; color: var(--text-muted); }
.breadcrumb ol { max-width: var(--maxw); margin: 0 auto; padding: var(--s2) var(--s4); list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); }

/* ── セクション ─────────────────────────── */
section { padding: var(--s16) var(--s4); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.narrow { max-width: var(--maxw-narrow); }
.sec-head { margin-bottom: var(--s8); }
.sec-head .en { display: block; font-size: .68rem; letter-spacing: .3em; color: var(--ktd); text-transform: uppercase; font-weight: 700; }
.sec-head h2 { font-size: clamp(1.25rem, 3.4vw, 1.65rem); font-weight: 700; margin-top: var(--s2); line-height: 1.5; }
.sec-head .lead { margin-top: var(--s3); color: var(--text-muted); font-size: .93rem; max-width: 44em; }
.alt-bg { background: var(--paper-2); }
.dark-bg { background: var(--steel-900); color: #cdd7e4; }
.dark-bg .sec-head h2 { color: var(--white); }
.dark-bg .sec-head .en { color: #ffb877; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.55; }
h4 { font-size: .95rem; font-weight: 700; line-height: 1.6; }
p + p { margin-top: var(--s4); }

/* ── ボタン ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: var(--s3) var(--s8); font-size: .95rem; font-weight: 700;
  font-family: inherit; text-decoration: none; border-radius: 4px; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn-primary { background: var(--ktd); color: #fff; }
.btn-primary:hover { background: var(--ktd-dark); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--steel-700); color: var(--steel-700); background: var(--white); }
.btn-outline:hover { background: var(--steel-700); color: #fff; }
.btn-sm { min-height: 44px; padding: var(--s2) var(--s5); font-size: .85rem; }

/* ── 2事業の分岐（トップの要） ──────────── */
.biz-split { display: grid; gap: var(--s5); }
@media (min-width: 860px) { .biz-split { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.biz-card {
  background: var(--white); border: 1px solid var(--border); border-top: 5px solid var(--steel-700);
  border-radius: 6px; padding: var(--s6); display: flex; flex-direction: column;
}
.biz-card.is-product { border-top-color: var(--ktd); }
.biz-card .tag { font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: var(--steel-500); }
.biz-card.is-product .tag { color: var(--ktd); }
.biz-card h3 { font-size: 1.22rem; margin-top: var(--s2); }
.biz-card > p { font-size: .9rem; color: var(--text-muted); margin-top: var(--s3); }
.biz-card ul { list-style: none; margin-top: var(--s5); display: grid; gap: var(--s2); font-size: .87rem; }
.biz-card li { padding-left: 1.35em; position: relative; }
.biz-card li::before { content: "▸"; position: absolute; left: 0; color: var(--ktd); }
.biz-card .btn { margin-top: var(--s6); align-self: flex-start; }

/* ── 新着情報 ───────────────────────────── */
.news-list { list-style: none; display: grid; }
.news-list li { border-bottom: 1px solid var(--border); }
.news-list a, .news-list .no-link {
  display: grid; gap: var(--s1) var(--s5); padding: var(--s4) var(--s2);
  text-decoration: none; color: inherit; align-items: baseline;
}
.news-list a:hover { background: var(--white); }
@media (min-width: 700px) { .news-list a, .news-list .no-link { grid-template-columns: 8.5em 8em 1fr; } }
.news-list time { font-family: var(--mono); font-size: .85rem; color: var(--text-muted); }
.news-cat {
  justify-self: start; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 3px; background: var(--steel-700); color: #fff; white-space: nowrap;
}
.news-cat.c-exhibit { background: var(--ktd); }
.news-cat.c-product { background: var(--ok); }
.news-cat.c-facility { background: var(--steel-500); }
.news-list .ttl { font-size: .93rem; font-weight: 500; line-height: 1.7; }
.news-body { font-size: .88rem; color: var(--text-muted); grid-column: 1 / -1; }
@media (min-width: 700px) { .news-body { grid-column: 3; } }

/* ── 製品カード ─────────────────────────── */
.card-grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.prod-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: box-shadow .18s, transform .18s;
}
.prod-card:hover { box-shadow: 0 10px 26px rgba(24,34,49,.14); transform: translateY(-2px); }
.prod-card .body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.prod-card .model { font-family: var(--mono); font-size: 1.12rem; font-weight: 700; color: var(--steel-900); }
.prod-card h3 { font-size: .95rem; margin-top: var(--s1); }
.prod-card .desc { font-size: .85rem; color: var(--text-muted); margin-top: var(--s3); flex: 1; }
.prod-card .meta { list-style: none; margin-top: var(--s4); font-size: .78rem; display: grid; gap: 3px; }
.prod-card .meta b { color: var(--text-muted); font-weight: 500; display: inline-block; min-width: 5.5em; }
.prod-card .go { margin-top: var(--s4); font-size: .84rem; font-weight: 700; color: var(--ktd); }
.prod-card.is-soon { opacity: .96; }
.prod-card.is-soon .go { color: var(--text-muted); }

/* 絞り込みボタン */
[data-filter-bar] button[aria-pressed="true"] { background: var(--steel-700); color: #fff; border-color: var(--steel-700); }

.chip {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 3px; background: var(--paper-2); color: var(--steel-700);
}
.chip-new { background: var(--ktd); color: #fff; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-soon { background: var(--paper-2); color: var(--text-muted); }

/* ── 写真プレースホルダ（実写に差し替える枠） ── */
.photo-ph {
  position: relative; background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(148deg, #2a3a52 0%, #3d5273 55%, #223046 100%);
  color: #dbe4f0; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: var(--s5); text-align: center; overflow: hidden;
}
.photo-ph.tall { aspect-ratio: 3 / 4; }
.photo-ph.wide { aspect-ratio: 16 / 9; }
.photo-ph .ph-in { position: relative; z-index: 1; }
.photo-ph svg { margin: 0 auto var(--s3); opacity: .9; }
.photo-ph .ph-note { font-size: .72rem; line-height: 1.65; color: #b9c8dc; }
.photo-ph .ph-note b { display: block; color: #ffb877; font-size: .78rem; letter-spacing: .06em; margin-bottom: 3px; }
.prod-card .photo-ph { aspect-ratio: 16 / 10; }

/* ── 「削ってみた」動画枠 ───────────────── */
.video-frame {
  background: #0d1219; border: 1px solid var(--steel-700); border-radius: 6px; overflow: hidden;
}
.video-stage {
  position: relative; aspect-ratio: 16 / 9;
  background: radial-gradient(560px 300px at 50% 44%, rgba(226,98,15,.24), transparent 66%), #121a25;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s3); text-align: center; padding: var(--s5); color: #cbd6e4;
}
.video-stage .play {
  width: 62px; height: 62px; border-radius: 50%; background: var(--ktd);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.video-stage .play svg { fill: #fff; }
.video-stage .cap { font-size: .84rem; font-weight: 700; color: var(--white); line-height: 1.6; }
.video-stage .sub { font-size: .72rem; color: #93a4bb; max-width: 30em; line-height: 1.7; }
.video-meta {
  padding: var(--s4) var(--s5); border-top: 1px solid var(--steel-700);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between;
}
.video-meta .t { font-size: .86rem; font-weight: 700; color: var(--white); }
.video-meta .u { font-family: var(--mono); font-size: .74rem; color: var(--steel-300); word-break: break-all; }
.video-meta a.btn { flex: none; }

/* ── 仕様テーブル ───────────────────────── */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: 6px; }
.table-wrap + .table-note { font-size: .78rem; color: var(--text-muted); margin-top: var(--s3); line-height: 1.75; }
table.spec { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 560px; }
table.spec caption {
  caption-side: top; text-align: left; padding: var(--s4) var(--s5) var(--s3);
  font-weight: 700; font-size: .95rem; border-bottom: 1px solid var(--border);
}
table.spec caption .cap-sub { display: block; font-weight: 400; font-size: .76rem; color: var(--text-muted); margin-top: 3px; }
table.spec th, table.spec td { padding: 10px var(--s4); border-bottom: 1px solid var(--border); text-align: center; }
table.spec thead th { background: var(--steel-800); color: #fff; font-weight: 700; font-size: .8rem; white-space: nowrap; }
table.spec thead tr.sub th { background: var(--steel-700); font-size: .72rem; font-weight: 500; }
table.spec tbody th { font-family: var(--mono); text-align: left; font-weight: 700; white-space: nowrap; background: var(--paper); }
table.spec tbody tr:nth-child(even) td { background: #fbfcfd; }
table.spec tbody tr:hover td, table.spec tbody tr:hover th { background: var(--ktd-soft); }
table.spec td.num { font-family: var(--mono); }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: none; }

/* 縦並び定義表（会社概要など） */
table.deftable { border-collapse: collapse; width: 100%; font-size: .9rem; background: var(--white); }
table.deftable th, table.deftable td { padding: var(--s4); border: 1px solid var(--border); text-align: left; vertical-align: top; }
table.deftable th { background: var(--paper-2); font-weight: 700; white-space: nowrap; width: 9em; }
@media (max-width: 600px) {
  table.deftable, table.deftable tbody, table.deftable tr, table.deftable th, table.deftable td { display: block; width: auto; }
  table.deftable th { border-bottom: none; }
  table.deftable td { border-top: none; }
}

/* ── 製品ページの上部レイアウト ─────────── */
.prod-head { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .prod-head { grid-template-columns: 1fr 1.05fr; gap: var(--s10); align-items: start; } }
.prod-title .model { font-family: var(--mono); font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 700; line-height: 1.25; }
.prod-title h1 { font-size: clamp(1.05rem, 2.6vw, 1.25rem); font-weight: 700; margin-top: var(--s2); color: var(--steel-700); }
.prod-title .catch { margin-top: var(--s5); font-size: .95rem; }
.keyspec { list-style: none; margin-top: var(--s6); border-top: 1px solid var(--border); }
.keyspec li { display: grid; grid-template-columns: 8.5em 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--border); font-size: .89rem; }
.keyspec .k { color: var(--text-muted); font-size: .82rem; }
.keyspec .v { font-weight: 500; }
.keyspec .v .mono { font-weight: 700; }

/* 検索されたいキーワードの並び（型番検索対策の可視化） */
.kw-strip { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.kw-strip span { font-size: .74rem; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; color: var(--text-muted); font-family: var(--mono); }

/* ── 注記ボックス ───────────────────────── */
.note {
  border-left: 4px solid var(--steel-500); background: var(--white);
  padding: var(--s4) var(--s5); font-size: .84rem; line-height: 1.85; border-radius: 0 4px 4px 0;
}
.note + .note { margin-top: var(--s4); }
.note h4 { font-size: .86rem; margin-bottom: var(--s1); }
.note-sample { border-left-color: var(--ktd); background: var(--ktd-soft); }
.note-caution { border-left-color: #c0392b; background: #fdf0ee; }
.note-fact { border-left-color: var(--ok); background: var(--ok-soft); }
.note ul { margin: var(--s2) 0 0 1.2em; }
.note li + li { margin-top: 3px; }

.est {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .04em;
  background: var(--ktd); color: #fff; padding: 1px 7px; border-radius: 3px; vertical-align: 2px;
  margin-left: 5px; white-space: nowrap;
}

/* ── 特徴リスト ─────────────────────────── */
.feat-list { list-style: none; display: grid; gap: var(--s3); }
.feat-list li { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: var(--s4) var(--s5) var(--s4) calc(var(--s5) + 1.6em); position: relative; font-size: .9rem; }
.feat-list li::before {
  content: "✓"; position: absolute; left: var(--s5); color: var(--ktd); font-weight: 700;
}

.icon-grid { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
.icon-grid .item { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: var(--s6) var(--s5); }
.icon-grid .item .n { font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--ktd); letter-spacing: .14em; }
.icon-grid .item h3 { margin-top: var(--s2); font-size: 1rem; }
.icon-grid .item p { margin-top: var(--s3); font-size: .86rem; color: var(--text-muted); }

/* 材質・対応素材のタグ */
.mat-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.mat-tags span { background: var(--steel-700); color: #fff; font-size: .8rem; font-weight: 500; padding: 6px 14px; border-radius: 4px; }

/* 沿革 */
.timeline { list-style: none; border-left: 2px solid var(--border-strong); padding-left: var(--s6); display: grid; gap: var(--s5); }
.timeline li { position: relative; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--s6) - 6px); top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--ktd); border: 2px solid var(--paper); }
.timeline .y { font-family: var(--mono); font-weight: 700; color: var(--steel-700); display: block; font-size: .84rem; }

/* 拠点カード */
.site-grid { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .site-grid { grid-template-columns: 1fr 1fr; } }
.site-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: var(--s6); }
.site-card .role { font-size: .68rem; font-weight: 700; letter-spacing: .18em; color: #fff; background: var(--steel-700); display: inline-block; padding: 3px 12px; border-radius: 3px; }
.site-card.is-hq .role { background: var(--ktd); }
.site-card h3 { margin-top: var(--s3); font-size: 1.05rem; }
.site-card .addr { margin-top: var(--s2); font-size: .89rem; line-height: 1.8; }
.site-card .zip { font-family: var(--mono); color: var(--text-muted); font-size: .82rem; }
.site-card dl { margin-top: var(--s4); font-size: .85rem; display: grid; grid-template-columns: 5em 1fr; gap: var(--s2) var(--s3); }
.site-card dt { color: var(--text-muted); }
.site-card dd { font-family: var(--mono); }

/* ── フォーム ───────────────────────────── */
.form-grid { display: grid; gap: var(--s5); max-width: 680px; }
.form-grid label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.form-grid .req { color: #fff; background: var(--ktd); font-size: .64rem; padding: 1px 7px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.form-grid .opt { color: var(--text-muted); background: var(--paper-2); font-size: .64rem; padding: 1px 7px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.form-grid input, .form-grid select, .form-grid textarea {
  border: 1px solid var(--border-strong); background: var(--white); border-radius: 4px;
  padding: 12px 14px; font-size: 1rem; font-family: inherit; min-height: 50px; color: var(--text); width: 100%;
}
.form-grid textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.form-grid .hint { font-size: .76rem; color: var(--text-muted); font-weight: 400; }
.form-row { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.contact-methods { display: grid; gap: var(--s5); }
@media (min-width: 760px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.contact-methods .m { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: var(--s6) var(--s5); text-align: center; }
.contact-methods .m .lbl { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--ktd); }
.contact-methods .m .val { font-family: var(--mono); font-size: 1.16rem; font-weight: 700; margin-top: var(--s2); word-break: break-all; }
.contact-methods .m .val a { text-decoration: none; color: var(--steel-900); }
.contact-methods .m .sub { font-size: .78rem; color: var(--text-muted); margin-top: var(--s2); }

/* ── CTA帯 ──────────────────────────────── */
.cta-band {
  background: linear-gradient(140deg, #16202e 0%, #24334a 100%);
  color: var(--white); text-align: center;
}
.cta-band h2 { font-size: clamp(1.2rem, 3.2vw, 1.55rem); font-weight: 700; }
.cta-band p { margin-top: var(--s4); color: #b8c5d6; font-size: .92rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s8); }

/* ── 前後リンク ─────────────────────────── */
.pager { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .pager { grid-template-columns: repeat(3, 1fr); } }
.pager a { background: var(--white); border: 1px solid var(--border); border-radius: 5px; padding: var(--s4) var(--s5); text-decoration: none; color: inherit; font-size: .86rem; }
.pager a:hover { border-color: var(--ktd); }
.pager .k { display: block; font-size: .68rem; color: var(--text-muted); }
.pager .v { font-family: var(--mono); font-weight: 700; }

/* ── フッター ───────────────────────────── */
footer { background: var(--steel-900); color: #94a3b6; padding: var(--s12) var(--s4) var(--s6); font-size: .85rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: var(--s8); }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--s10); } }
.footer-brand b { color: var(--white); font-size: 1.02rem; letter-spacing: .04em; display: block; }
.footer-brand .en { font-size: .64rem; letter-spacing: .18em; color: #6d7f95; }
.footer-addr { margin-top: var(--s5); display: grid; gap: var(--s4); }
.footer-addr .a { font-size: .8rem; line-height: 1.8; }
.footer-addr .a .role { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .12em; color: var(--steel-900); background: #8b9bb0; padding: 1px 8px; border-radius: 3px; margin-bottom: 3px; }
.footer-addr .a.is-hq .role { background: var(--ktd); color: #fff; }
.footer-addr .a .mono { color: #b6c3d3; }
.footer-nav h4 { color: var(--white); font-size: .82rem; margin-bottom: var(--s3); }
.footer-nav ul { list-style: none; display: grid; gap: 2px; }
.footer-nav a { color: #94a3b6; text-decoration: none; font-size: .82rem; display: inline-block; padding: 5px 0; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { max-width: var(--maxw); margin: var(--s10) auto 0; border-top: 1px solid #263346; padding-top: var(--s5); display: grid; gap: var(--s3); }
.footer-bottom .cr { font-size: .76rem; color: #6d7f95; }
.demo-note { font-size: .72rem; line-height: 1.85; color: #7b8ca1; background: rgba(255,255,255,.03); border: 1px dashed #34455c; border-radius: 5px; padding: var(--s4); }
.demo-note b { color: #ffb877; }

/* ── 印刷 ───────────────────────────────── */
@media print {
  .header, .demo-bar, .nav-toggle, .cta-band, .video-stage { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .photo-ph { border: 1px dashed #999; background: #f2f2f2; color: #333; }
}

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