/* ============================================
   大森精密工業株式会社 — CAD 図面骨格
   インダストリアル黒 × マシニング青
   JetBrains Mono + Noto Sans JP + IBM Plex Serif
   ============================================ */

:root {
  --bg: #1a1d22;            /* インダストリアル黒 */
  --bg-deep: #0e1014;
  --bg-soft: #2a2f37;
  --surface: #fafbfc;       /* 図面の紙 */
  --surface-deep: #ebeef3;
  --blue: #2b6cb0;          /* マシニング青 */
  --blue-deep: #1d4d83;
  --blue-bright: #4d8fcc;
  --gray: #8a929c;          /* アルミグレー */
  --gray-light: #c4ccd6;
  --line: #d3dae1;
  --line-dark: #4a525c;
  --text: #1a1d22;
  --text-muted: #5a6470;
  --text-light: #c4ccd6;
  --accent: #d97706;        /* インデックスタグ（オレンジ） */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  /* グリッド背景（CAD 図面風） */
  background-image:
    linear-gradient(to right, rgba(43, 108, 176, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(43, 108, 176, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mono { font-family: "JetBrains Mono", "Consolas", monospace; }

/* ============================================
   Top Bar — CAD 図面のタイトルブロック風
   ============================================ */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  color: var(--text-light);
  border-bottom: 1px solid var(--blue);
  padding: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  height: 56px;
}

.topbar-logo {
  padding: 0 24px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line-dark);
}

.topbar-logo .code {
  color: var(--blue-bright);
  margin-right: 12px;
}

.topbar-logo .ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.topbar-nav {
  display: flex;
  align-items: stretch;
  padding-left: 24px;
}

.topbar-nav a {
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: var(--text-light);
  border-right: 1px dashed var(--line-dark);
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 11.5px;
  text-transform: uppercase;
}

.topbar-nav a:hover {
  background: var(--bg-soft);
  color: var(--blue-bright);
}

.topbar-nav a.active {
  color: var(--blue-bright);
  background: var(--bg-deep);
}

.topbar-nav a.active::before {
  content: "▸ ";
  color: var(--blue-bright);
}

.topbar-meta {
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 1px solid var(--line-dark);
  font-size: 11px;
  color: var(--gray);
}

.topbar-meta .val {
  color: var(--blue-bright);
}

/* ============================================
   HERO — 部品の超拡大写真風 + 数字グリッド
   ============================================ */

.hero {
  background: var(--bg);
  color: var(--surface);
  padding: 130px 60px 80px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.hero-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--blue-bright);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: "[ DRAWING NO. ]";
  color: var(--gray);
}

.hero-title {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  color: #ffffff;
}

.hero-title .accent {
  color: var(--blue-bright);
  font-style: italic;
}

.hero-sub {
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 540px;
}

/* スペックリスト（左カラム）*/
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  border-top: 1px dashed var(--line-dark);
  padding-top: 32px;
}

.spec-item {
  position: relative;
  padding-left: 16px;
}

.spec-item::before {
  content: "■";
  position: absolute;
  left: 0; top: 6px;
  font-size: 8px;
  color: var(--blue-bright);
}

.spec-key {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 4px;
}

.spec-val {
  font-family: "IBM Plex Serif", serif;
  font-size: 17px;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

/* 大きな数字ボード（右カラム）*/
.figure-board {
  border: 1px solid var(--line-dark);
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 40px;
  position: relative;
}

.figure-board::before {
  content: "DIA. SPEC ／ 寸法仕様";
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--bg);
  padding: 0 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--blue-bright);
}

.figure-rows {
  display: grid;
  gap: 24px;
}

.figure-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line-dark);
}

.figure-row:last-child { border-bottom: none; padding-bottom: 0; }

.figure-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 36px;
  color: var(--blue-bright);
  letter-spacing: 0.02em;
  font-weight: 500;
}

.figure-num .unit {
  font-size: 14px;
  color: var(--gray);
  margin-left: 4px;
}

.figure-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: var(--text-light);
}

.figure-mark {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.2em;
}

/* ============================================
   セクション基盤
   ============================================ */

.section {
  padding: 120px 60px;
  position: relative;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-dark {
  background: var(--bg);
  color: var(--surface);
}

.section-light {
  background: var(--surface);
}

.section-gray {
  background: var(--surface-deep);
}

/* セクションヘッダー＝CAD 図面のタイトルブロック風 */
.sec-head {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 24px;
  margin-bottom: 60px;
  border-bottom: 2px solid var(--blue);
  border-top: 1px solid var(--line);
}

.section-dark .sec-head {
  border-bottom-color: var(--blue-bright);
  border-top-color: var(--line-dark);
}

.sec-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--blue);
  padding-top: 24px;
}

.section-dark .sec-num { color: var(--blue-bright); }

.sec-title {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  padding-top: 8px;
}

.sec-title-en {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sec-stamp {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.2em;
  text-align: right;
  padding-bottom: 6px;
}

.sec-stamp span {
  display: block;
  color: var(--blue);
  margin-bottom: 2px;
}

.section-dark .sec-stamp span { color: var(--blue-bright); }

/* ============================================
   PAGE HEADER（サブページ用）
   ============================================ */

.page-head {
  background: var(--bg);
  color: var(--surface);
  padding: 180px 60px 80px;
  border-bottom: 1px solid var(--blue);
}

.page-head-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-head-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--blue-bright);
  margin-bottom: 16px;
}

.page-head-title {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.page-head-sub {
  margin-top: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* ============================================
   TECH GRID — 加工技術カード（CAD 図面風）
   ============================================ */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.tech-card {
  padding: 40px 32px;
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  position: relative;
  background: var(--surface);
}

.tech-card:nth-child(3n) { border-right: none; }
.tech-card:nth-last-child(-n+3) { border-bottom: none; }

.section-dark .tech-card {
  background: transparent;
  border-color: var(--line-dark);
}

.tech-mark {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-dark .tech-mark { color: var(--blue-bright); }

.tech-mark::before { content: "▸"; }

.tech-card h3 {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.tech-card p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-muted);
}

.section-dark .tech-card p { color: var(--text-light); }

.tech-card .dim {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.section-dark .tech-card .dim {
  border-top-color: var(--line-dark);
  color: var(--blue-bright);
}

/* ============================================
   FACTORY CARD — 工場アクセス
   ============================================ */

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-dark);
}

.factory-card {
  border-right: 1px dashed var(--line-dark);
  background: var(--bg-soft);
  display: grid;
  grid-template-rows: auto 320px auto;
}

.factory-card:last-child { border-right: none; }

.factory-head {
  padding: 32px 32px 24px;
  border-bottom: 1px dashed var(--line-dark);
}

.factory-mark {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.factory-name {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
}

.factory-name .role {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  background: var(--blue);
  color: #fff;
  padding: 3px 9px;
  vertical-align: middle;
  margin-left: 8px;
}

.factory-name .role.sub {
  background: var(--accent);
}

.factory-est {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
}

.factory-map {
  position: relative;
  background: var(--bg);
  border-bottom: 1px dashed var(--line-dark);
}

.factory-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(0.95);
}

.factory-map::before {
  content: "[ MAP ／ 地図 ]";
  position: absolute;
  top: 10px; left: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(43,108,176,0.85);
  padding: 4px 9px;
  z-index: 2;
}

.factory-body {
  padding: 26px 32px 30px;
}

.factory-rows {
  display: grid;
  gap: 14px;
}

.factory-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-dark);
}

.factory-row:last-child { border-bottom: none; }

.factory-row .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
}

.factory-row .v {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-light);
}

.factory-row .v strong {
  color: #fff;
  font-weight: 500;
}

.factory-machines {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.factory-machines .mlabel {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.factory-machines ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.factory-machines li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--text-light);
  padding-bottom: 6px;
  border-bottom: 1px dotted var(--line-dark);
}

.factory-machines li .qty {
  color: var(--blue-bright);
  letter-spacing: 0.1em;
}

.factory-machines li .model {
  color: #fff;
  letter-spacing: 0.06em;
}

.factory-machines li .note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  color: var(--gray);
  text-align: right;
}

/* ============================================
   PRODUCT GALLERY — 製品図面カタログ
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.section-dark .products-grid { border-color: var(--line-dark); }

.product-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  background: var(--surface);
  position: relative;
}

.section-dark .product-card {
  background: transparent;
  border-color: var(--line-dark);
}

.product-card:nth-child(2n) { border-right: none; }
.product-card:nth-last-child(-n+2) { border-bottom: none; }

.product-photo {
  position: relative;
  background: var(--surface-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed var(--line);
}

.section-dark .product-photo {
  background: var(--bg-soft);
  border-right-color: var(--line-dark);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
}

.product-photo::before {
  content: "[ PHOTO ／ 写真 ]";
  position: absolute;
  top: 10px; left: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  background: rgba(26,29,34,0.7);
  padding: 3px 8px;
  z-index: 2;
}

.product-info {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}

.product-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-dark .product-code { color: var(--blue-bright); }

.product-name {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.product-desc {
  font-size: 13px;
  line-height: 1.95;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-dark .product-desc { color: var(--text-light); }

.product-tags {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-dark .product-tags { border-top-color: var(--line-dark); }

.product-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--blue);
  border: 1px solid var(--line);
  padding: 3px 8px;
  background: var(--surface);
}

.section-dark .product-tag {
  color: var(--blue-bright);
  border-color: var(--line-dark);
  background: var(--bg);
}

/* ============================================
   EQUIPMENT TABLE — 設備スペック表
   ============================================ */

.equip-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", "Noto Sans JP", monospace;
  font-size: 13px;
}

.equip-table thead th {
  background: var(--bg);
  color: var(--surface);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-align: left;
  padding: 16px 14px;
  border-right: 1px solid var(--line-dark);
}

.equip-table thead th:last-child { border-right: none; }

.equip-table tbody td {
  padding: 18px 14px;
  border-bottom: 1px dashed var(--line);
  border-right: 1px dashed var(--line);
  vertical-align: top;
}

.equip-table tbody td:last-child { border-right: none; }

.equip-table tbody td.model {
  font-family: "JetBrains Mono", monospace;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.equip-table tbody td.year {
  font-family: "JetBrains Mono", monospace;
  color: var(--gray);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.equip-table tbody td.note {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.equip-table .new {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  padding: 2px 8px;
  letter-spacing: 0.15em;
  margin-left: 8px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}

/* ============================================
   AWARDS — 受賞・認定（縦線で並べる）
   ============================================ */

.awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.award {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px dashed var(--line);
  position: relative;
}

.award:last-child { border-right: none; }

.award-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-dark .award-year { color: var(--blue-bright); }
.section-dark .award { border-right-color: var(--line-dark); }

.award h4 {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 10px;
}

.award p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .award p { color: var(--text-light); }

/* ============================================
   TIMELINE — 横スクロール式年表
   ============================================ */

.timeline-h {
  position: relative;
  padding: 40px 0 80px;
}

.timeline-h::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 70px;
  height: 1px;
  background: var(--line);
}

.section-dark .timeline-h::before { background: var(--line-dark); }

.timeline-h-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
}

.tl-item {
  position: relative;
  padding-top: 110px;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 60px; left: 30px;
  width: 16px; height: 16px;
  border: 2px solid var(--blue);
  background: var(--surface);
  border-radius: 50%;
}

.section-dark .tl-item::before {
  border-color: var(--blue-bright);
  background: var(--bg);
}

.tl-item .year {
  position: absolute;
  top: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.section-dark .tl-item .year { color: var(--blue-bright); }

.tl-item h4 {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.5;
}

.tl-item p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

.section-dark .tl-item p { color: var(--text-light); }

/* ============================================
   INFO BLOCK — 会社情報
   ============================================ */

.info-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}

.section-dark .info-block { border-bottom-color: var(--line-dark); }

.info-block:last-child { border-bottom: none; }

.info-key {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
}

.section-dark .info-key { color: var(--blue-bright); }

.info-val {
  font-size: 15px;
  line-height: 1.85;
}

/* ============================================
   CTA / 問い合わせ
   ============================================ */

.cta {
  background: var(--bg);
  color: var(--surface);
  padding: 100px 60px;
  position: relative;
  text-align: center;
}

.cta::before {
  content: "[ CONTACT FOR INQUIRY ／ お見積り受付 ]";
  position: absolute;
  top: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--blue-bright);
}

.cta h2 {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.cta p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 50px;
  line-height: 2;
}

.cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid var(--line-dark);
}

.cta-actions a {
  padding: 32px 30px;
  border-right: 1px dashed var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.25s ease;
}

.cta-actions a:last-child { border-right: none; }

.cta-actions a:hover {
  background: var(--bg-soft);
}

.cta-actions .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--blue-bright);
}

.cta-actions .val {
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 0.04em;
}

/* ============================================
   FOOTER — 図面の枠線とタイトルブロック風
   ============================================ */

.footer {
  background: var(--bg-deep);
  color: var(--text-light);
  padding: 80px 60px 40px;
  border-top: 2px solid var(--blue);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px dashed var(--line-dark);
}

.footer-brand {
  font-family: "JetBrains Mono", monospace;
}

.footer-brand .code {
  color: var(--blue-bright);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.footer-brand .ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-brand .desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.95;
  color: var(--gray);
}

.footer-col h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--blue-bright);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; font-family: "Noto Sans JP", sans-serif; }
.footer-col li { font-size: 12.5px; margin-bottom: 10px; }
.footer-col a { color: var(--text-light); }
.footer-col a:hover { color: var(--blue-bright); }

.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gray);
}

/* ============================================
   その他汎用
   ============================================ */

.lead {
  font-family: "IBM Plex Serif", "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  max-width: 760px;
  margin-bottom: 60px;
}

.lead em {
  font-style: normal;
  color: var(--blue);
  font-weight: 500;
}

.body-text p {
  font-size: 15.5px;
  line-height: 2.1;
  margin-bottom: 1.5em;
  letter-spacing: 0.04em;
}

.dim-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-top: 20px;
}

.section-dark .dim-note { color: var(--text-light); }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 960px) {
  .topbar-inner { grid-template-columns: 1fr; height: auto; }
  .topbar-nav { display: none; }
  .topbar-meta { display: none; }
  .hero { padding: 110px 24px 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .spec-list { grid-template-columns: 1fr; gap: 18px; }
  .figure-board { padding: 28px; }
  .section { padding: 80px 24px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-num, .sec-stamp { padding-top: 0; text-align: left; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { border-right: none !important; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; border-right: none !important; }
  .product-photo { aspect-ratio: 16 / 10; border-right: none; border-bottom: 1px dashed var(--line); }
  .section-dark .product-photo { border-bottom-color: var(--line-dark); }
  .factory-grid { grid-template-columns: 1fr; }
  .factory-card { border-right: none; border-bottom: 1px dashed var(--line-dark); grid-template-rows: auto 240px auto; }
  .factory-card:last-child { border-bottom: none; }
  .equip-table { font-size: 11px; }
  .equip-table thead th, .equip-table tbody td { padding: 10px 8px; }
  .awards { grid-template-columns: 1fr 1fr; }
  .award { border-right: none; border-bottom: 1px dashed var(--line); }
  .award:nth-last-child(-n+2) { border-bottom: none; }
  .timeline-h-grid { grid-template-columns: 1fr; gap: 50px; }
  .timeline-h::before { display: none; }
  .tl-item { padding-top: 0; padding-left: 50px; }
  .tl-item::before { top: 0; left: 0; }
  .tl-item .year { position: static; display: block; margin-bottom: 12px; }
  .info-block { grid-template-columns: 1fr; gap: 4px; }
  .cta { padding: 80px 24px; }
  .cta-actions { grid-template-columns: 1fr; }
  .cta-actions a { border-right: none; border-bottom: 1px dashed var(--line-dark); }
  .cta-actions a:last-child { border-bottom: none; }
  .footer { padding: 60px 24px 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-head { padding: 130px 24px 60px; }
}
