@charset "UTF-8";
/* ============================================================
   0006 工業・メーカー系サイト雛形 - "FACTORY GRID" theme
   チャコール × セーフティイエロー。鋭角・ブループリント調の
   技術系デザイン。ダークヘッダー／ハザードストライプ／
   スペック表記／設備一覧表など製造業特有の構成。
   0001〜0005とは別系統。
============================================================ */

:root {
  --steel:   #1f252d;   /* チャコール（ヘッダー・締め） */
  --iron:    #2b333e;
  --steel-lt:#39434f;
  --yellow:  #f5c518;   /* セーフティイエロー */
  --yellow-d:#d9a900;
  --ink:   #232a32;
  --text:  #3d454f;
  --sub:   #7a838d;
  --line:  #dde1e6;
  --bg:    #ffffff;
  --bg-gray:#f2f4f6;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-mono: "Roboto Mono", "Courier New", monospace;

  --container: 1200px;
  --header-h: 84px;
  --header-h-sm: 62px;
  --notch: 14px;   /* ボタン等の切り欠きサイズ */
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);

  /* ハザードストライプ */
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--steel) 12px 24px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  font-size: 15.5px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  padding-top: var(--header-h);
  overflow-x: hidden;
}
@media (max-width: 1000px) { body { padding-top: var(--header-h-sm); } }

.en { font-family: var(--font-en); letter-spacing: 0.08em; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }

section { position: relative; }
.sec { padding: 104px 0; }
@media (max-width: 768px) { .sec { padding: 58px 0; } }
.sec-gray { background: var(--bg-gray); }
.sec-dark { background: var(--steel); color: #dfe4ea; }

/* ブループリント方眼（薄いグリッド背景） */
.grid-bg {
  background-image:
    linear-gradient(rgba(31,37,45,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,37,45,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.sec-dark.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
}

/* ハザードストライプ帯 */
.hazard-line { height: 8px; background: var(--hazard); }

/* ---------- 見出し（コーナーブラケット＋型番風） ---------- */
.h-sec { margin-bottom: 56px; }
.h-sec .code {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--sub);
  border: 1px solid var(--line);
  padding: 4px 12px;
  margin-bottom: 16px;
  position: relative;
}
.h-sec .code::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }
.h-sec h2 {
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: 0.06em; line-height: 1.5;
  color: var(--ink);
  position: relative;
  padding-left: 22px;
}
.h-sec h2::before {
  content: ""; position: absolute; left: 0; top: 0.22em; bottom: 0.22em; width: 6px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 8px, 100% 100%, 0 calc(100% - 8px));
}
.h-sec h2 .en-after {
  display: block; font-family: var(--font-en); font-weight: 600;
  font-size: 13px; letter-spacing: 0.3em; color: var(--sub); text-transform: uppercase;
  margin-top: 6px;
}
.h-sec .lead { margin-top: 14px; font-size: 14px; color: var(--sub); max-width: 640px; }
.sec-dark .h-sec h2 { color: #fff; }
.sec-dark .h-sec .code { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.25); }
.sec-dark .h-sec .lead { color: rgba(255,255,255,0.6); }
.h-sec.center { text-align: center; }
.h-sec.center h2 { padding-left: 0; display: inline-block; padding: 0 26px; }
.h-sec.center h2::before { left: 0; }
.h-sec.center h2::after {
  content: ""; position: absolute; right: 0; top: 0.22em; bottom: 0.22em; width: 6px;
  background: var(--yellow);
  clip-path: polygon(100% 0, 0 8px, 0 100%, 100% calc(100% - 8px));
}

/* ---------- buttons（切り欠き角） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  flex-shrink: 0; white-space: nowrap;
  min-width: 240px; padding: 18px 36px;
  background: var(--yellow); color: var(--steel);
  font-weight: 900; font-size: 14.5px; letter-spacing: 0.1em;
  cursor: pointer; border: none;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
  position: relative;
}
.btn::after { content: "→"; font-family: var(--font-en); font-weight: 700; transition: transform 0.3s; }
.btn:hover { background: var(--steel); color: var(--yellow); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(5px); }
.btn.btn-dark { background: var(--steel); color: #fff; }
.btn.btn-dark:hover { background: var(--yellow); color: var(--steel); }
.btn.btn-line {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn.btn-line:hover { background: var(--ink); color: var(--yellow); transform: translateY(-2px); }
.btn.btn-line-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); }
.btn.btn-line-white:hover { background: #fff; color: var(--steel); }
.btn.btn-sm { min-width: 0; padding: 11px 22px; font-size: 12.5px; }
.btn.no-arrow::after { display: none; }
.btn-center { text-align: center; margin-top: 52px; }

/* ---------- placeholder ---------- */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  background:
    linear-gradient(rgba(31,37,45,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,37,45,0.06) 1px, transparent 1px),
    #e9edf0;
  background-size: 26px 26px, 26px 26px, auto;
  color: #97a1ab;
  overflow: hidden;
}
.ph::before {
  /* 図面風の対角線 */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(31,37,45,0.08) 50%, transparent calc(50% + 0.5px));
}
.ph::after {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  background: rgba(255,255,255,0.94); padding: 5px 14px;
  border: 1px solid rgba(31,37,45,0.15);
  white-space: nowrap; z-index: 1;
}
.ph.r-16-9 { aspect-ratio: 16/9; }
.ph.r-4-3 { aspect-ratio: 4/3; }
.ph.r-3-4 { aspect-ratio: 3/4; }
.ph.r-1-1 { aspect-ratio: 1/1; }
.ph.r-21-9 { aspect-ratio: 21/9; }

/* Generated demo photography. Map placeholders remain available for embedding. */
.ph:not([data-label*="MAP" i]) {
  background: url("../assets/site-photo-alt.jpg") center / cover no-repeat;
}
.ph:not([data-label*="MAP" i])::before,
.ph:not([data-label*="MAP" i])::after { display: none; }
.hero-bg .ph { background-image: url("../assets/site-photo.jpg"); }

/* ============================================================
   header（ダーク）
============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--steel);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: var(--hazard);
  opacity: 0; transition: opacity 0.3s;
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header .inner {
  width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 26px;
  display: flex; align-items: center; gap: 30px;
}
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; white-space: nowrap; }
.brand .mark {
  width: 44px; height: 44px;
  background: var(--yellow); color: var(--steel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 20px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.brand .name { font-weight: 900; font-size: 18.5px; color: #fff; line-height: 1.25; letter-spacing: 0.05em; }
.brand .name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 9px; letter-spacing: 0.24em; color: rgba(255,255,255,0.5); }

.g-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.g-nav a.nav-link {
  position: relative; text-align: center;
  font-weight: 700; font-size: 13.5px; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85); padding: 8px 0; white-space: nowrap;
}
.g-nav a.nav-link small { display: block; font-family: var(--font-en); font-weight: 600; font-size: 9.5px; letter-spacing: 0.22em; color: var(--yellow); text-transform: uppercase; line-height: 1.4; opacity: 0.85; }
.g-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--yellow);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.g-nav a.nav-link:hover::after, .g-nav a.nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.g-nav a.nav-link:hover, .g-nav a.nav-link.is-current { color: #fff; }
.g-nav .btn { margin-left: 6px; }

.hamburger {
  display: none; width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3); background: none;
  position: relative; cursor: pointer; margin-left: auto;
}
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--yellow); transition: 0.3s var(--ease); }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ドロワー（右から・ダーク） */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 990;
  width: min(84vw, 380px);
  background: var(--iron);
  color: #fff;
  padding: calc(var(--header-h-sm) + 26px) 28px 40px;
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  border-left: 4px solid var(--yellow);
}
body.drawer-open .drawer { transform: translateX(0); }
.drawer a.d-link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-weight: 700; font-size: 15px;
}
.drawer a.d-link small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--yellow); }
.drawer .d-info { margin-top: 26px; font-size: 12.5px; color: rgba(255,255,255,0.7); }
.drawer .d-info .tel { font-family: var(--font-en); font-weight: 700; font-size: 26px; color: #fff; }
.drawer .btn { width: 100%; margin-top: 16px; }

@media (max-width: 1000px) {
  .site-header { height: var(--header-h-sm); }
  .g-nav { display: none; }
  .hamburger { display: block; }
  .brand .mark { width: 38px; height: 38px; font-size: 17px; }
  .brand .name { font-size: 16px; }
}

/* ============================================================
   MV（フル写真＋左アングルパネル＋スペックストリップ）
============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; flex-direction: column;
  background: var(--steel);
  overflow: hidden;
}
.hero .hero-bg { position: absolute; inset: 0; }
.hero .hero-bg .ph { height: 100%; }
.hero .hero-bg .ph::after { display: none; }
.hero::before {
  /* 左の斜めダークパネル */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(31,37,45,0.94), rgba(31,37,45,0.94));
  clip-path: polygon(0 0, 62% 0, 46% 100%, 0 100%);
}
.hero::after {
  /* 斜めのイエローエッジライン */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(var(--yellow), var(--yellow));
  clip-path: polygon(62% 0, 63.2% 0, 47.2% 100%, 46% 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; flex: 1 0 auto; display: flex; align-items: center; }
.hero-copy { max-width: 600px; color: #fff; padding: 80px 0; }
.hero-copy .kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 26px;
}
.hero-copy .kicker::before { content: "["; }
.hero-copy .kicker::after { content: "]"; }
.hero-copy h1 {
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.55; letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.hero-copy h1 .yl { color: var(--yellow); }
.hero-copy .en-big {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(15px, 1.7vw, 20px); letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  display: block; margin-bottom: 26px;
}
.hero-copy p.desc { max-width: 460px; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* スペックストリップ（MV下の帯） */
.spec-strip {
  position: relative; z-index: 3;
  background: var(--iron);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.spec-strip .inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.spec-strip .sp {
  padding: 20px 24px;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 2px;
}
.spec-strip .sp:first-child { border-left: none; }
.spec-strip .sp .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--yellow); word-break: normal; overflow-wrap: normal; white-space: nowrap; }
.spec-strip .sp .v { font-weight: 700; font-size: 14px; color: #fff; word-break: normal; overflow-wrap: normal; }
@media (max-width: 860px) {
  .hero::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 0.96; }
  .hero::after { display: none; }
  .hero-copy { padding: 56px 0; }
  .spec-strip .inner { grid-template-columns: 1fr 1fr; }
  .spec-strip .sp:nth-child(odd) { border-left: none; }
  .spec-strip .sp:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.1); }
}

/* ============================================================
   製品・技術カード（スペックシート風）
============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: 1fr; } }
.prod {
  background: #fff;
  border: 1px solid var(--line);
  display: block;
  transition: 0.35s var(--ease);
  position: relative;
}
.prod::before, .prod::after {
  /* ホバーで現れるコーナーブラケット */
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2;
  border: 2.5px solid var(--yellow);
  opacity: 0; transition: 0.3s var(--ease);
}
.prod::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.prod::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.prod:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(31,37,45,0.14); border-color: var(--steel); }
.prod:hover::before, .prod:hover::after { opacity: 1; }
.prod .p-code {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--sub);
  padding: 10px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg-gray);
}
.prod .p-code .no { color: var(--ink); font-weight: 700; }
.prod .p-body { padding: 22px 24px 26px; }
.prod h3 { font-weight: 900; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.prod .p-en { font-family: var(--font-en); font-weight: 600; font-size: 10.5px; letter-spacing: 0.2em; color: var(--yellow-d); text-transform: uppercase; display: block; margin-bottom: 12px; }
.prod p.p-desc { font-size: 13px; color: var(--sub); }
.prod .p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.prod .p-tags span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  border: 1px solid var(--line); color: var(--sub); padding: 3px 10px;
}

/* ============================================================
   強み（クロスヘア番号行）
============================================================ */
.str-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 820px) { .str-grid { grid-template-columns: 1fr; } }
.str {
  background: #fff; padding: 40px 36px;
  position: relative;
  transition: background 0.3s;
}
.str:hover { background: var(--bg-gray); }
.str .s-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.str .s-num {
  position: relative;
  width: 58px; height: 58px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 21px; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.str .s-num::before, .str .s-num::after {
  /* クロスヘア */
  content: ""; position: absolute; background: var(--yellow);
}
.str .s-num::before { left: 50%; top: -7px; width: 1.5px; height: 14px; transform: translateX(-50%); }
.str .s-num::after { top: 50%; left: -7px; height: 1.5px; width: 14px; transform: translateY(-50%); }
.str h3 { font-weight: 900; font-size: 18px; color: var(--ink); line-height: 1.6; }
.str h3 small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.2em; color: var(--yellow-d); margin-bottom: 4px; text-transform: uppercase; }
.str p { font-size: 13.5px; color: var(--sub); }

/* ============================================================
   数字（ダーク・カウントアップ）
============================================================ */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,0.15); }
@media (max-width: 860px) { .num-grid { grid-template-columns: 1fr 1fr; } }
.num-cell {
  padding: 44px 20px; text-align: center;
  border-left: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.num-cell:first-child { border-left: none; }
@media (max-width: 860px) {
  .num-cell:nth-child(odd) { border-left: none; }
  .num-cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.15); }
}
.num-cell::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 4px; background: var(--yellow);
}
.num-cell .figure { font-family: var(--font-en); font-weight: 700; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.15; color: #fff; white-space: nowrap; }
.num-cell .figure .unit { font-size: 0.4em; color: var(--yellow); margin-left: 4px; }
.num-cell .label { margin-top: 8px; font-size: 12.5px; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); }

/* ============================================================
   設備一覧テーブル
============================================================ */
.equip-table { border: 1px solid var(--line); font-size: 13.5px; }
.equip-table thead th {
  background: var(--steel); color: #fff;
  font-weight: 700; letter-spacing: 0.1em; font-size: 12.5px;
  padding: 13px 16px; text-align: left;
}
.equip-table thead th:first-child { border-left: 4px solid var(--yellow); }
.equip-table tbody tr { border-bottom: 1px solid var(--line); }
.equip-table tbody tr:nth-child(even) { background: var(--bg-gray); }
.equip-table tbody tr:hover { background: #fdf6dd; }
.equip-table td { padding: 13px 16px; }
.equip-table td.mono { font-family: var(--font-mono); font-size: 12.5px; }
.equip-table td.num { text-align: right; font-family: var(--font-mono); }
@media (max-width: 640px) {
  .equip-table { font-size: 12px; }
  .equip-table thead th, .equip-table td { padding: 10px 8px; }
}

/* ============================================================
   工程フロー（矢羽根）
============================================================ */
.proc-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 860px) { .proc-flow { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.proc {
  background: #fff; border: 1px solid var(--line);
  padding: 26px 18px 22px; text-align: center;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  padding-right: 30px;
}
.proc:last-child { clip-path: none; padding-right: 18px; }
@media (max-width: 860px) {
  .proc { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px)); padding: 22px 18px 30px; }
  .proc:last-child { clip-path: none; padding-bottom: 22px; }
}
.proc .p-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--yellow-d); display: block; margin-bottom: 8px; }
.proc h3 { font-weight: 900; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.proc p { font-size: 11.5px; color: var(--sub); line-height: 1.7; }

/* ============================================================
   品質保証（認証バッジ）
============================================================ */
.cert-row { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.cert {
  width: 190px; text-align: center;
}
.cert .c-badge {
  width: 128px; height: 128px; margin: 0 auto 16px;
  border: 2px solid var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  position: relative;
  background: #fff;
}
.cert .c-badge::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px dashed rgba(31,37,45,0.3);
}
.cert .c-badge .t1 { font-family: var(--font-en); font-weight: 700; font-size: 21px; color: var(--ink); line-height: 1.1; }
.cert .c-badge .t2 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--sub); }
.cert h3 { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.cert p { font-size: 11.5px; color: var(--sub); }

/* ============================================================
   お知らせ（型番風リスト）
============================================================ */
.news-tech li { border-bottom: 1px solid var(--line); }
.news-tech li:first-child { border-top: 2px solid var(--steel); }
.news-tech a {
  display: grid; grid-template-columns: 126px 100px 1fr 30px; gap: 20px; align-items: center;
  padding: 20px 10px;
  transition: background 0.25s;
}
.news-tech a:hover { background: var(--bg-gray); }
.news-tech .d { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink); }
.news-tech .c {
  font-size: 11px; font-weight: 700; text-align: center;
  background: var(--steel); color: #fff; padding: 3px 8px;
}
.news-tech .c.c-yl { background: var(--yellow); color: var(--steel); }
.news-tech .t { font-size: 13.5px; }
.news-tech .g { font-family: var(--font-en); color: var(--yellow-d); font-weight: 700; text-align: right; transition: transform 0.3s; }
.news-tech a:hover .g { transform: translateX(5px); }
@media (max-width: 620px) {
  .news-tech a { grid-template-columns: auto auto 1fr; }
  .news-tech .t { grid-column: 1 / -1; }
  .news-tech .g { display: none; }
}

/* ============================================================
   CTA（ハザード帯）
============================================================ */
.cta-band {
  background: var(--steel); color: #fff;
  padding: 96px 0;
  position: relative;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-image: var(--hazard) 8;
}
.cta-band .cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
@media (max-width: 820px) { .cta-band .cta-grid { grid-template-columns: 1fr; } }
.cta-band .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--yellow); display: block; margin-bottom: 16px; }
.cta-band .code::before { content: "["; } .cta-band .code::after { content: "]"; }
.cta-band h2 { font-weight: 900; font-size: clamp(24px, 3.4vw, 38px); letter-spacing: 0.06em; line-height: 1.7; margin-bottom: 14px; }
.cta-band p { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.cta-band .cta-r { display: flex; flex-direction: column; gap: 18px; }
.cta-band .tel-box { border: 1px solid rgba(255,255,255,0.25); padding: 20px 26px; }
.cta-band .tel-box small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--yellow); display: block; }
.cta-band .tel-box .tel { font-family: var(--font-en); font-weight: 700; font-size: 32px; color: #fff; line-height: 1.3; }
.cta-band .tel-box .hours { font-size: 11.5px; color: rgba(255,255,255,0.55); }

/* ============================================================
   下層ページヒーロー（ダーク＋斜めエッジ）
============================================================ */
.page-hero {
  background: var(--steel); color: #fff;
  padding: 64px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -6%; top: -30%;
  width: 46%; height: 180%;
  background: var(--iron);
  transform: skewX(-14deg);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: var(--hazard);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--yellow); display: block; margin-bottom: 12px; }
.page-hero .code::before { content: "["; } .page-hero .code::after { content: "]"; }
.page-hero h1 { font-weight: 900; font-size: clamp(27px, 3.8vw, 42px); letter-spacing: 0.06em; }
.page-hero .crumb { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.page-hero .crumb a:hover { color: var(--yellow); }
.page-hero .crumb .sep { margin: 0 8px; }

/* ---------- 会社概要テーブル ---------- */
.spec-table { border: 1px solid var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th, .spec-table td { text-align: left; padding: 18px 20px; font-size: 14px; vertical-align: top; }
.spec-table th {
  width: 200px; color: var(--ink); font-weight: 700;
  background: var(--bg-gray); border-right: 1px solid var(--line);
}
.spec-table th small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: 0.16em; color: var(--sub); text-transform: uppercase; }
@media (max-width: 620px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-right: none; padding: 10px 16px; }
}

/* 沿革（左ライン） */
.history { border-left: 2px solid var(--line); margin-left: 10px; }
.history li { position: relative; padding: 0 0 30px 34px; }
.history li::before {
  content: ""; position: absolute; left: -8px; top: 8px;
  width: 14px; height: 14px; background: var(--yellow);
  border: 2.5px solid var(--steel);
}
.history .y { font-family: var(--font-en); font-weight: 700; font-size: 17px; color: var(--ink); margin-right: 14px; }

/* ---------- タブ（角型） ---------- */
.sq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.sq-tabs button {
  padding: 11px 26px; border: 1.5px solid var(--steel);
  background: #fff; color: var(--steel); cursor: pointer;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  transition: 0.25s;
}
.sq-tabs button.is-active, .sq-tabs button:hover { background: var(--steel); color: var(--yellow); }

/* ---------- FAQ（角型） ---------- */
.qa-item { border: 1px solid var(--line); margin-bottom: 12px; background: #fff; }
.qa-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 14.5px; color: var(--ink);
}
.qa-q .q-mk { flex-shrink: 0; width: 34px; height: 34px; background: var(--steel); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 700; }
.qa-q .plus { margin-left: auto; color: var(--yellow-d); font-size: 20px; font-weight: 400; transition: transform 0.3s var(--ease); }
.qa-item.is-open .plus { transform: rotate(45deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); padding: 0 22px 0 72px; font-size: 13.5px; color: var(--sub); }
.qa-item.is-open .qa-a { padding-bottom: 22px; }

/* ============================================================
   forms（角型・図面調）
============================================================ */
.form-panel {
  max-width: 800px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  padding: 48px;
  position: relative;
}
.form-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--hazard);
}
@media (max-width: 640px) { .form-panel { padding: 28px 20px; } }
.form-row { margin-bottom: 26px; }
.form-row label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.req-mark { font-size: 10.5px; background: var(--steel); color: var(--yellow); padding: 2px 10px; font-weight: 700; }
.opt-mark { font-size: 10.5px; background: var(--bg-gray); color: var(--sub); border: 1px solid var(--line); padding: 1px 10px; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel], .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); background: var(--bg-gray);
  font-size: 15px; transition: 0.3s; border-radius: 0;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--steel); background: #fff;
  box-shadow: 3px 3px 0 var(--yellow);
}
.form-row textarea { resize: vertical; min-height: 150px; }
.privacy-agree { background: var(--bg-gray); border: 1px dashed var(--sub); padding: 22px; margin: 30px 0; font-size: 13px; }
.privacy-agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin-top: 12px; }
.error-msg { color: #c44536; font-size: 12.5px; margin-top: 6px; display: block; }
.confirm-table th { width: 180px; color: var(--ink); font-weight: 700; background: var(--bg-gray); }
.confirm-table tr { border-bottom: 1px solid var(--line); }
.confirm-table th, .confirm-table td { text-align: left; padding: 14px 12px; font-size: 14px; }

/* ============================================================
   footer（ダーク）
============================================================ */
.site-footer {
  background: var(--steel); color: rgba(255,255,255,0.7);
  margin-top: 0;
  border-top: 8px solid transparent;
  border-image: var(--hazard) 8;
}
.site-footer .f-inner { padding: 64px 0 48px; }
.site-footer .f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
@media (max-width: 860px) { .site-footer .f-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer .f-addr { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 16px; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.24em; color: var(--yellow); margin-bottom: 16px; text-transform: uppercase; }
.site-footer h4::before { content: "// "; }
.site-footer li { margin-bottom: 9px; font-size: 13px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .f-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: rgba(255,255,255,0.4);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px;
  background: var(--yellow); color: var(--steel); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: 0.35s var(--ease); z-index: 950;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--steel); color: var(--yellow); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- reveal ---------- */
.reveal, .reveal-l, .reveal-r, .reveal-down, .reveal-pop {
  opacity: 0;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal { transform: translateY(40px); }
.reveal-l { transform: translateX(-52px); }
.reveal-r { transform: translateX(52px); }
.reveal-down { transform: translateY(-36px); }
.reveal-pop { transform: scale(0.9); }
.reveal.is-inview, .reveal-l.is-inview, .reveal-r.is-inview, .reveal-down.is-inview { opacity: 1; transform: none; }
.reveal-pop.is-inview { opacity: 1; transform: scale(1); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

[data-plx] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-down, .reveal-pop { opacity: 1; transform: none; transition: none; }
  [data-plx] { transform: none !important; }
}

.text-center { text-align: center; }
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery3 .g-item p { text-align: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--sub); margin-top: 8px; }
@media (max-width: 768px) { .gallery3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .gallery3 { grid-template-columns: 1fr; } }
