@charset "UTF-8";
/* =========================================================
   有限会社荒木組 ホームページ 共通スタイル
   紺色 × 白 を基調としたデザイン
   ========================================================= */

:root {
  --navy-900: #0a1f3a;
  --navy-800: #0f2b4f;
  --navy-700: #163a66;
  --navy-600: #1f4d85;
  --navy-100: #e6ecf4;
  --navy-50:  #f3f6fa;
  --white:    #ffffff;
  --text:     #1d2633;
  --text-sub: #5a6676;
  --border:   #d5dde8;
  --accent:   #c9a227;   /* 控えめな差し色（ゴールド） */
  --placeholder-bg: #fff8e1;
  --placeholder-border: #e0b84a;
  --placeholder-text: #8a6d1a;

  --container: 1120px;
  --radius: 4px;
  --shadow: 0 4px 16px rgba(10, 31, 58, .08);
  --header-h: 72px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: .02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; color: var(--navy-900); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 8px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- 仮表示（未確定情報） ---------- */
.placeholder {
  display: inline-block;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  color: var(--placeholder-text);
  padding: 0 .5em;
  border-radius: 3px;
  font-size: .92em;
  line-height: 1.7;
}
.placeholder-note {
  background: var(--placeholder-bg);
  border-left: 4px solid var(--placeholder-border);
  color: var(--placeholder-text);
  padding: 12px 16px;
  margin: 0 0 24px;
  font-size: .9rem;
}
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, var(--navy-50) 0 12px, var(--navy-100) 12px 24px);
  color: var(--text-sub);
  font-size: .85rem;
  text-align: center;
  border: 1px solid var(--border);
}
.img-placeholder svg { width: 36px; height: 36px; opacity: .5; }

/* ---------- 写真 ---------- */
.photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  background: var(--navy-50);
}
.card-photo { overflow: hidden; }
.card-photo img { transition: transform .5s; }
a.card:hover .card-photo img,
.work-photo:hover img { transform: scale(1.04); }
.photo-frame { position: relative; }
.photo-frame::after {
  content: ""; position: absolute; left: 16px; top: 16px; right: -16px; bottom: -16px;
  border: 2px solid var(--navy-100); z-index: -1;
}
.photo-frame { z-index: 0; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy-900);
}
.logo img { height: 44px; width: auto; }
.logo-mark {
  width: 42px; height: 42px; flex: none;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.15rem; border-radius: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { font-size: .7rem; color: var(--text-sub); letter-spacing: .1em; }
.logo-text strong { font-size: 1.25rem; letter-spacing: .12em; }

.global-nav ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.global-nav a {
  display: block; padding: 8px 14px;
  text-decoration: none; color: var(--navy-900);
  font-size: .95rem; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.global-nav a:hover { color: var(--navy-600); border-bottom-color: var(--navy-600); }
.global-nav a[aria-current="page"] { color: var(--navy-600); border-bottom-color: var(--navy-600); }
.global-nav .nav-contact a {
  background: var(--navy-800); color: #fff; border-radius: var(--radius);
  border-bottom: none; margin-left: 8px;
}
.global-nav .nav-contact a:hover,
.global-nav .nav-contact a[aria-current="page"] { background: var(--navy-600); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--navy-900);
  margin: 6px 0; transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- ヒーロー（トップ） ---------- */
/* メイン写真：IMG_2559（候補：IMG_0673 は公開許可確認後に差し替え可） */
.hero {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, rgba(10,31,58,.92) 0%, rgba(10,31,58,.72) 45%, rgba(10,31,58,.2) 100%),
    url("../images/web/hero-IMG_2559-1920.jpg");
  background-size: cover;
  background-position: center 45%;
  color: #fff;
  min-height: min(82vh, 760px);
  display: flex; align-items: center;
  padding: 120px 0 110px;
  overflow: hidden;
}
.hero-inner { width: 100%; }
.hero h1, .hero p { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-inner { position: relative; z-index: 1; }
.hero-label {
  display: inline-block; font-size: .85rem; letter-spacing: .2em;
  border: 1px solid rgba(255,255,255,.5); padding: 4px 14px; margin-bottom: 24px;
}
.hero h1 {
  color: #fff; font-size: clamp(1.8rem, 4.4vw, 3rem);
  letter-spacing: .08em; margin-bottom: 20px;
}
.hero p { font-size: clamp(.95rem, 1.6vw, 1.1rem); max-width: 640px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- ページタイトル（下層） ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 64px 0 56px;
}
.page-hero .en {
  display: block; font-size: .8rem; letter-spacing: .3em; opacity: .7;
  text-transform: uppercase; margin-bottom: 8px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0; letter-spacing: .1em; }

.breadcrumb { background: var(--navy-50); font-size: .82rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--text-sub); }
.breadcrumb a { color: var(--text-sub); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; min-width: 200px;
  font-size: 1rem; font-weight: 500; text-decoration: none;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-600); color: #fff; }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: #fff; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover::after { transform: translateX(4px); }
.btn.no-arrow::after { content: none; }

/* ---------- セクション ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--navy-50); }
.section-navy { background: var(--navy-900); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head .en {
  display: block; font-size: .78rem; letter-spacing: .3em; color: var(--navy-600);
  text-transform: uppercase; font-weight: 700; margin-bottom: 6px;
}
.section-navy .section-head .en { color: var(--accent); }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .08em; margin: 0; }
.section-head h2::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--navy-600); margin: 16px auto 0;
}
.section-navy .section-head h2::after { background: var(--accent); }
.section-head p { margin: 20px auto 0; max-width: 680px; color: var(--text-sub); }
.section-navy .section-head p { color: rgba(255,255,255,.8); }
.section-head.left { text-align: left; margin-bottom: 24px; }
.section-head.left h2::after { margin-left: 0; }

.heading-bar {
  font-size: 1.3rem; padding-left: 14px; border-left: 4px solid var(--navy-800);
  margin: 0 0 20px;
}

.lead { font-size: 1.05rem; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- グリッド・カード ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); }
.card-body { padding: 24px; flex: 1; }
.card-body h3 { font-size: 1.15rem; }
.card-body p { color: var(--text-sub); font-size: .94rem; margin: 0; }
.card-tag {
  display: inline-block; font-size: .75rem; background: var(--navy-100);
  color: var(--navy-700); padding: 2px 10px; margin-bottom: 10px; border-radius: 2px;
}

.icon-box {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; margin-bottom: 16px; border-radius: 2px;
}
.icon-box svg { width: 28px; height: 28px; }

/* 強み */
.strength {
  text-align: center; padding: 36px 24px;
  border: 1px solid rgba(255,255,255,.18);
}
.strength .num {
  font-size: 2.2rem; font-weight: 700; color: var(--accent);
  line-height: 1; margin-bottom: 14px; font-family: Georgia, serif;
}
.strength h3 { font-size: 1.1rem; }
.strength p { font-size: .92rem; color: rgba(255,255,255,.82); margin: 0; }

/* 2カラム（画像＋テキスト） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.news-list li {
  display: flex; gap: 24px; padding: 18px 8px; border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.news-list time { color: var(--text-sub); font-size: .9rem; flex: none; min-width: 7em; }

/* ---------- テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy-800); }
.info-table th, .info-table td {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  text-align: left; vertical-align: top;
}
.info-table th {
  width: 26%; background: var(--navy-50); color: var(--navy-900); font-weight: 500;
}

/* 沿革 */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7.5em; top: 8px; bottom: 8px;
  width: 2px; background: var(--navy-100);
}
.timeline li { display: flex; gap: 40px; padding: 14px 0; position: relative; }
.timeline .year { flex: none; width: 6em; font-weight: 700; color: var(--navy-700); }
.timeline li::before {
  content: ""; position: absolute; left: calc(7.5em - 5px); top: 22px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--navy-700);
}

/* トップの会社紹介の一文 */
.about-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem); font-weight: 700; color: var(--navy-800);
  line-height: 1.6; letter-spacing: .04em; margin-bottom: 1.2em;
  padding-left: 14px; border-left: 3px solid var(--accent);
}

.nowrap { white-space: nowrap; }

/* 会社紹介写真の「創業1964」バッジ */
.about-photo { position: relative; }
.since-badge {
  position: absolute; left: -12px; bottom: -12px; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--navy-900); color: #fff; border: 3px solid var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(10,31,58,.3); line-height: 1.2;
}
.since-badge span { font-size: .72rem; letter-spacing: .12em; color: rgba(255,255,255,.85); }
.since-badge strong { font-family: Georgia, serif; font-size: 2.1rem; color: var(--accent); letter-spacing: .02em; margin: 2px 0; }

/* トップの小さな年表 */
.mini-history { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--border); }
.mini-history li { display: flex; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mini-history .y {
  flex: none; width: 3.6em; font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem; color: var(--navy-800);
}
.mini-history .d { font-size: .92rem; }

/* 事業カードの対応例 */
.service-list { list-style: none; padding: 0; margin: -4px 0 14px; font-size: .84rem; }
.service-list li { position: relative; padding-left: 14px; line-height: 1.8; color: var(--text); }
.service-list li::before {
  content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; background: var(--navy-600);
}

/* 実際の施工写真を背景にした紺色の帯 */
.section-navy.has-photo-bg {
  background-color: var(--navy-900);
  background-image: linear-gradient(rgba(10,31,58,.9), rgba(10,31,58,.9)), url("../images/web/IMG_4506-1600.jpg");
  background-size: cover; background-position: center;
}

/* 現場写真の組写真 */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 19vw, 250px)); gap: 12px; }
.mosaic-item { position: relative; display: block; overflow: hidden; background: var(--navy-50); }
.mosaic-item.is-large { grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px;
  background: linear-gradient(transparent, rgba(10,31,58,.85)); color: #fff; font-size: .82rem;
}

/* ICT技術：キャッチコピー・機材・活用場面 */
.ict-catch {
  font-size: clamp(1.45rem, 3.2vw, 2.1rem); font-weight: 700; color: var(--navy-900);
  line-height: 1.5; letter-spacing: .05em; margin-bottom: .9em;
  padding-left: 18px; border-left: 4px solid var(--accent);
}
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy-800); padding: 28px 24px; }
.tool-icon {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--navy-50); color: var(--navy-800); border-radius: 50%;
}
.tool-icon svg { width: 34px; height: 34px; }
.tool-type { display: block; font-size: .78rem; color: var(--navy-600); font-weight: 700; letter-spacing: .05em; }
.tool-card h3 { font-size: 1.35rem; margin: 2px 0 10px; letter-spacing: .03em; }
.tool-card p { margin: 0; font-size: .92rem; color: var(--text-sub); }
.use-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.use-item { display: flex; gap: 28px; padding: 28px 4px; border-bottom: 1px solid var(--border); }
.use-no { flex: none; font-family: Georgia, serif; font-size: 2.2rem; line-height: 1; color: var(--navy-600); font-weight: 700; }
.use-item h3 { font-size: 1.2rem; margin: 2px 0 8px; }
.use-item p { margin: 0; }
.tool-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tool-mini li {
  display: flex; flex-direction: column; padding: 22px 26px;
  background: var(--navy-900); color: #fff; border-left: 4px solid var(--accent);
}
.tool-mini .t { font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .05em; }
.tool-mini strong { font-size: 1.4rem; letter-spacing: .03em; }

/* トップのICT紹介（コンパクトな帯） */
.ict-band { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ict-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-top: 40px; padding-bottom: 40px;
}
.ict-band .en {
  display: block; font-size: .72rem; letter-spacing: .25em; color: var(--navy-600);
  font-weight: 700; text-transform: uppercase; margin-bottom: 4px;
}
.ict-band .ttl {
  font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; color: var(--navy-900);
  margin: 0 0 6px; padding-left: 12px; border-left: 3px solid var(--accent); line-height: 1.5;
}
.ict-band p { margin: 0; font-size: .92rem; color: var(--text-sub); max-width: 720px; }
.ict-band .btn { flex: none; }

/* ICT：導入文（1列） */
.ict-intro { max-width: 820px; }

/* ICT：3Dデータ → 施工 の流れ */
.flow-case {
  display: grid; grid-template-columns: 1fr 150px 1fr; align-items: stretch; gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
.flow-step { margin: 0; background: #fff; border: 1px solid var(--border); padding: 14px; }
.flow-label { display: block; font-weight: 700; color: var(--navy-900); font-size: .95rem; margin-bottom: 10px; }
.flow-label b, .flow-mid b {
  display: inline-block; font-size: .7rem; letter-spacing: .12em; color: #fff; background: var(--navy-800);
  padding: 1px 8px; margin-right: 8px; vertical-align: .15em;
}
.flow-img { display: block; overflow: hidden; background: #111; cursor: zoom-in; }
.flow-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s; }
.flow-img:hover img { transform: scale(1.04); }
.flow-step figcaption { font-size: .85rem; color: var(--text-sub); margin-top: 10px; }
.flow-arrow { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; }
.flow-arrow::before {
  content: ""; position: absolute; left: 0; right: 10px; top: 50%; height: 3px; background: var(--accent);
}
.flow-arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border: 9px solid transparent; border-left: 12px solid var(--accent); border-right: 0;
}
.flow-mid {
  position: relative; z-index: 1; background: var(--navy-900); color: #fff; text-align: center;
  font-size: .82rem; line-height: 1.5; padding: 10px 8px; border-radius: 4px;
}
.flow-mid b { display: block; margin: 0 auto 4px; width: max-content; background: var(--accent); color: var(--navy-900); }
.flow-summary {
  max-width: 1000px; margin: 28px auto 0; padding: 16px 20px; background: #fff;
  border-left: 4px solid var(--navy-800); font-weight: 500;
}
/* ICT：3次元施工データと完成写真の比較 */
.compare-lead { max-width: 820px; margin: -16px auto 36px; text-align: center; }
.compare {
  display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 12px;
  max-width: 1000px; margin: 0 auto;
}
.compare-item { margin: 0; background: #fff; border: 1px solid var(--border); padding: 12px; }
.compare-img { position: relative; display: block; overflow: hidden; background: #111; cursor: zoom-in; }
.compare-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s; }
.compare-img:hover img { transform: scale(1.04); }
.compare-img .zoom {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy-800);
}
.compare-img .zoom svg { width: 16px; height: 16px; }
.compare-item figcaption {
  margin-top: 12px; text-align: center; font-weight: 700; color: var(--navy-900); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.compare-tag {
  font-family: Georgia, serif; font-size: .7rem; letter-spacing: .15em; padding: 2px 8px;
  background: var(--navy-800); color: #fff;
}
.compare-tag.is-site { background: var(--accent); color: var(--navy-900); }
.compare-arrow { position: relative; height: 3px; background: var(--accent); }
.compare-arrow::after {
  content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
  border: 9px solid transparent; border-left: 12px solid var(--accent); border-right: 0;
}

/* ICT：3次元施工データの自社作成 */
.sitech {
  display: grid; grid-template-columns: 400px 1fr; gap: 36px; align-items: center;
  border: 1px solid var(--border); background: #fff; padding: 24px;
}
.sitech-img { margin: 0; }
.sitech-img a { display: block; overflow: hidden; background: #111; cursor: zoom-in; }
.sitech-img img { width: 100%; display: block; transition: transform .5s; }
.sitech-img a:hover img { transform: scale(1.04); }
.sitech-img figcaption { font-size: .8rem; color: var(--text-sub); margin-top: 8px; }
.sitech-text .en {
  display: block; font-size: .72rem; letter-spacing: .25em; color: var(--navy-600);
  font-weight: 700; text-transform: uppercase; margin-bottom: 4px;
}
.sitech-text h2 { font-size: 1.3rem; margin: 0 0 12px; padding-left: 12px; border-left: 4px solid var(--navy-800); }
.sitech-text p { margin: 0; line-height: 1.9; }
.sitech-meta { margin-top: 14px !important; font-size: .88rem; }
.sitech-meta span {
  display: inline-block; font-size: .75rem; padding: 1px 10px; margin-right: 10px;
  background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100);
}

/* ICT：暗渠排水の施工後（小さく表示） */
.flow-after {
  max-width: 1000px; margin: 20px auto 0; display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border); padding: 10px;
}
.flow-after-img { flex: none; width: 160px; display: block; cursor: zoom-in; }
.flow-after-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.flow-after p { margin: 0; font-size: .9rem; color: var(--text-sub); }
.flow-after b {
  display: inline-block; font-size: .7rem; letter-spacing: .1em; color: #fff; background: var(--navy-800);
  padding: 1px 8px; margin-right: 8px; vertical-align: .15em;
}

.work-text { margin: 6px 0 0; font-size: .85rem; color: var(--text-sub); line-height: 1.7; }
.work-link { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 500; color: var(--navy-600); }

/* 有資格者の表（会社情報の表の中） */
.info-table .qual-table { width: 100%; max-width: 440px; border-collapse: collapse; border: 1px solid var(--border); font-size: .92rem; }
.info-table .qual-table th, .info-table .qual-table td {
  display: table-cell; width: auto; padding: 8px 14px; border-bottom: 1px solid var(--border); background: #fff;
}
.info-table .qual-table thead th { background: var(--navy-50); font-size: .8rem; color: var(--text-sub); font-weight: 500; }
.info-table .qual-table td:last-child, .info-table .qual-table th:last-child { width: 5em; text-align: right; white-space: nowrap; }
.info-table .qual-table tbody tr:last-child td { border-bottom: 0; }

/* 建設業許可 */
.license { margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 16px); }
.license-title {
  font-size: 1.2rem; margin: 0 0 18px; padding-left: 14px; border-left: 4px solid var(--navy-800);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
}
.license-total {
  font-size: .78rem; font-weight: 500; color: var(--navy-700); background: var(--navy-50);
  border: 1px solid var(--navy-100); padding: 2px 12px; border-radius: 999px;
}
.license-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.license-card { border: 1px solid var(--border); border-top: 3px solid var(--navy-800); background: #fff; padding: 20px 22px; }
.license-no { font-weight: 700; color: var(--navy-900); margin: 0 0 14px; font-size: 1rem; }
.license-meta { margin: 0; display: grid; grid-template-columns: 5.5em 1fr; gap: 10px 12px; font-size: .92rem; }
.license-meta dt { color: var(--text-sub); padding-top: 2px; }
.license-meta dd { margin: 0; }
.license-types { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.license-types li {
  font-size: .84rem; padding: 3px 10px; background: var(--navy-50); color: var(--navy-800);
  border: 1px solid var(--navy-100); border-radius: 2px;
}
.license-count { display: block; font-size: .78rem; color: var(--text-sub); margin-top: 8px; }
.license-note { font-size: .82rem; color: var(--text-sub); margin: 12px 0 0; }

/* トップ：建設業許可の一言紹介 */
.license-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: .82rem; font-weight: 700; color: var(--navy-800);
  background: var(--navy-50); border: 1px solid var(--navy-100); padding: 4px 14px; border-radius: 999px;
}
.license-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* 沿革：初代創業者の紹介 */
.founder {
  display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center;
  background: #fff; border: 1px solid var(--border); padding: 28px; margin-bottom: 48px;
}
.founder-photo { margin: 0; }
.founder-photo a { display: block; cursor: zoom-in; }
.founder-photo img {
  width: 100%; display: block; border: 6px solid #fff; outline: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(10,31,58,.12); filter: saturate(.9);
}
.founder-photo figcaption { font-size: .78rem; color: var(--text-sub); margin-top: 10px; text-align: center; }
.founder-text .en {
  display: block; font-size: .72rem; letter-spacing: .25em; color: var(--accent);
  font-weight: 700; text-transform: uppercase; margin-bottom: 4px;
}
.founder-text h3 {
  font-size: 1.3rem; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); letter-spacing: .06em;
}
.founder-text p { margin: 0; line-height: 2; }

/* 沿革：年月日が長い場合の幅 */
.timeline.is-wide .year { width: 14em; }
.timeline.is-wide::before { left: calc(14em + 20px); }
.timeline.is-wide li::before { left: calc(14em + 20px - 5px); }

/* 経営理念 */
.philosophy {
  background: var(--navy-900); color: #fff; text-align: center;
  padding: 56px 40px 48px; position: relative;
  border-top: 4px solid var(--accent);
}
.philosophy-main { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.philosophy-word {
  font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-weight: 700; font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: .3em; padding-left: .3em; line-height: 1.2; color: #fff;
}
.philosophy-kana { font-size: .85rem; letter-spacing: .4em; padding-left: .4em; color: rgba(255,255,255,.7); }
.philosophy-motto {
  margin: 28px auto 0; display: inline-block;
  font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem); font-weight: 600; letter-spacing: .12em; color: var(--accent);
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25);
}
.philosophy-body { max-width: 640px; margin: 28px auto 0; text-align: left; }
.philosophy-body p { margin: 0 0 .8em; line-height: 2; color: rgba(255,255,255,.9); }
.philosophy-body p:last-child { margin-bottom: 0; }

/* 代表挨拶 */
.message-box {
  background: #fff; border: 1px solid var(--border); padding: 48px;
}
.message-sign { text-align: right; margin-top: 24px; }

/* ---------- 施工実績 ---------- */
/* 写真入りのページタイトル */
.page-hero.has-photo {
  background-image:
    linear-gradient(100deg, rgba(10,31,58,.94) 0%, rgba(10,31,58,.8) 50%, rgba(10,31,58,.55) 100%),
    url("../images/web/IMG_0421-1600.jpg");
  background-size: cover; background-position: center 55%;
  padding: 80px 0 72px;
}
.page-hero .lead-text { margin: 14px 0 0; max-width: 560px; font-size: .95rem; opacity: .88; }

/* 絞り込み */
.works-toolbar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.filter {
  display: flex; gap: 0; justify-content: center; margin: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.filter::-webkit-scrollbar { display: none; }
.filter button {
  flex: none; font-family: inherit; font-size: .92rem; font-weight: 500;
  padding: 16px 20px; cursor: pointer; background: none; border: 0;
  color: var(--text-sub); border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.filter button:hover { color: var(--navy-800); }
.filter button.is-active { color: var(--navy-900); border-bottom-color: var(--navy-800); }
.filter .count {
  display: inline-block; min-width: 1.6em; margin-left: 6px; padding: 0 6px;
  font-size: .72rem; line-height: 1.6; border-radius: 999px;
  background: var(--navy-50); color: var(--navy-700); font-weight: 500;
}
.filter button.is-active .count { background: var(--navy-800); color: #fff; }

.works-intro {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between;
  margin: 40px 0 8px; color: var(--text-sub); font-size: .9rem;
}
.works-intro p { margin: 0; }

/* 種類ごとのまとまり */
.works-group { padding-top: 48px; }
.works-group.is-hidden { display: none; }
.works-group-head {
  display: flex; align-items: flex-end; gap: 16px;
  padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--border);
  position: relative;
}
.works-group-head::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 3px; background: var(--navy-800);
}
.works-group-head .en {
  display: block; font-size: .72rem; letter-spacing: .25em; color: var(--navy-600);
  font-weight: 700; text-transform: uppercase; margin-bottom: 2px;
}
.works-group-head h2 { font-size: 1.35rem; margin: 0; letter-spacing: .06em; }
.works-group-head .num { margin-left: auto; font-size: .85rem; color: var(--text-sub); white-space: nowrap; }
.works-group-head .num strong { font-size: 1.3rem; color: var(--navy-800); margin-right: 2px; font-family: Georgia, serif; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* 4つの事業の大見出し */
.works-group + .works-group { margin-top: 40px; }
.works-cat-head {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--navy-900); color: #fff; padding: 26px 28px;
}
.works-cat-head .service-no { font-size: 2.4rem; line-height: 1; color: var(--accent); flex: none; }
.works-cat-head .en {
  display: block; font-size: .72rem; letter-spacing: .25em; color: rgba(255,255,255,.65);
  font-weight: 700; text-transform: uppercase;
}
.works-cat-head h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 2px 0 4px; letter-spacing: .06em; }
.works-cat-head p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.works-cat-head .num { margin-left: auto; white-space: nowrap; align-self: center; }
.works-cat-head .num strong { font-size: 1.8rem; color: #fff; font-family: Georgia, serif; margin-right: 2px; }

.works-cat-head.is-unconfirmed { background: var(--navy-700); }
.cat-status {
  display: inline-block; vertical-align: middle; margin-left: 12px;
  font-size: .72rem; font-weight: 500; letter-spacing: .06em; line-height: 1.6;
  padding: 1px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: rgba(255,255,255,.9);
}
button.btn { font-family: inherit; }

/* 土木工事の中の種類（ページ内リンク） */
.works-subnav {
  list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.works-subnav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  font-size: .85rem; text-decoration: none; color: var(--navy-800);
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  transition: background .2s, border-color .2s;
}
.works-subnav a:hover { background: var(--navy-50); border-color: var(--navy-100); }
.works-subnav a span { font-size: .72rem; color: var(--text-sub); }
.works-sub { padding-top: 36px; scroll-margin-top: calc(var(--header-h) + 64px); }
.works-sub .works-group-head h3 { font-size: 1.2rem; margin: 0; letter-spacing: .06em; }

/* 施工事例（複数枚の写真で1件） */
.case { background: #fff; border: 1px solid var(--border); border-top: 0; padding: 28px 28px 24px; }
.case-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 20px; }
.case-head h3 { font-size: 1.3rem; margin: 0; letter-spacing: .04em; }
.case-type {
  font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 2px;
  background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100);
}
.case-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-photo { display: flex; flex-direction: column; }
.case-photos.is-5, .case-photos.is-3 { grid-template-columns: repeat(3, 1fr); }
.case-photos.is-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; }
.case-lead { margin: 20px 0 0; line-height: 1.9; }
.case-photos.is-single { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.case-text p { margin: 0 0 4px; line-height: 1.9; }
.case-text .case-scope { margin-top: 18px; }
.case.case-more { border-top: 1px solid var(--border); margin-top: 20px; }
.case-photo .work-photo img { aspect-ratio: 4 / 3; }
.case-cap { padding-top: 10px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.case-step { font-family: Georgia, serif; font-weight: 700; color: var(--navy-600); font-size: .9rem; }
.case-title { margin: 0; font-size: .92rem; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.case-by { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.by { font-size: .72rem; padding: 1px 8px; border-radius: 2px; white-space: nowrap; }
.by-ara { background: var(--navy-800); color: #fff; }
.by-partner, .by-other { background: #fff; color: var(--text-sub); border: 1px solid var(--border); }
.case-scope { margin: 24px 0 0; border-top: 2px solid var(--navy-800); font-size: .92rem; }
.case-scope .row { display: grid; grid-template-columns: 11em 1fr; border-bottom: 1px solid var(--border); }
.case-scope dt { padding: 10px 14px; background: var(--navy-50); color: var(--navy-900); font-weight: 500; }
.case-scope dd { margin: 0; padding: 10px 14px; }
.case-scope .row.is-ara dt { background: var(--navy-800); color: #fff; }
.case-scope .row.is-ara dd { font-weight: 500; }
.case-note { margin: 14px 0 0; font-size: .86rem; color: var(--text-sub); }

/* 施工事例がまだない事業 */
.works-empty {
  border: 1px dashed #c4cfdd; border-top: 0; background: var(--navy-50);
  padding: 36px 28px; text-align: center;
}
.works-empty .title { font-weight: 700; color: var(--navy-900); margin: 0 0 6px; }
.works-empty p { margin: 0; color: var(--text-sub); font-size: .92rem; }
.works-empty .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.filter .count.is-tbd { background: none; color: #9aa6b5; font-weight: 400; padding: 0; }
.filter button.is-active .count.is-tbd { background: none; color: #9aa6b5; }

/* カード */
.work-card {
  background: #fff; border: 1px solid var(--border);
  display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .25s, border-color .25s;
}
.work-card:hover { box-shadow: 0 10px 28px rgba(10,31,58,.12); border-color: #c4cfdd; }
.work-photo { display: block; position: relative; overflow: hidden; cursor: zoom-in; background: var(--navy-50); }
.work-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s; }
.work-photo:hover img { transform: scale(1.05); }
.work-photo .badge {
  position: absolute; left: 0; top: 0;
  background: var(--navy-800); color: #fff; font-size: .74rem; letter-spacing: .05em;
  padding: 5px 12px;
}
.work-photo .zoom {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy-800);
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.work-photo .zoom svg { width: 16px; height: 16px; }
.work-photo:hover .zoom, .work-photo:focus-visible .zoom { opacity: 1; transform: none; }

.work-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.work-no { font-size: .72rem; letter-spacing: .18em; color: var(--navy-600); font-weight: 700; font-family: Georgia, serif; }
.work-desc {
  margin: 6px 0 0; font-size: 1rem; font-weight: 700; color: var(--navy-900); line-height: 1.55;
  min-height: 3.1em; /* 2行分の高さをそろえる */
}
.work-title { margin: 8px 0 14px; font-size: .86rem; font-weight: 400; color: var(--text-sub); }
.work-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--navy-50);
  font-size: .78rem;
}
.work-meta div { padding-right: 8px; }
.work-meta div + div { padding-left: 10px; border-left: 1px solid var(--navy-50); }
.work-meta dt { color: var(--text-sub); margin-bottom: 2px; }
.work-meta dd { margin: 0; }

/* 未確定の情報（控えめな表示） */
.tbd { color: #9aa6b5; letter-spacing: .04em; }

.works-note {
  margin: 56px 0 0; padding: 16px 20px; background: var(--navy-50);
  font-size: .85rem; color: var(--text-sub); border-left: 3px solid var(--navy-600);
}

/* 拡大表示 */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 15, 30, .94);
  display: none; align-items: center; justify-content: center;
  padding: 56px 64px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; margin-top: 12px; font-size: .9rem; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center; font-family: inherit;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

/* ---------- 4つの事業 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover { box-shadow: 0 10px 28px rgba(10,31,58,.12); transform: translateY(-3px); border-color: #c4cfdd; color: inherit; }
.service-visual { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); position: relative; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.service-card:hover .service-visual img { transform: scale(1.05); }
.service-visual.is-icon {
  display: grid; place-items: center; color: #fff;
  background:
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
}
.service-visual.is-icon::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, #fff 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, #fff 23px 24px);
}
.service-visual.is-icon svg { width: 72px; height: 72px; position: relative; }
.service-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-no {
  font-family: Georgia, serif; font-weight: 700; color: var(--navy-600);
  font-size: 1rem; letter-spacing: .1em;
}
.service-body h3 { font-size: 1.15rem; margin: 4px 0 8px; }
.service-body p { font-size: .9rem; color: var(--text-sub); margin: 0 0 14px; }
.service-for {
  margin-top: auto; align-self: flex-start; font-size: .75rem; padding: 3px 10px;
  border: 1px solid var(--navy-100); color: var(--navy-700); background: var(--navy-50); border-radius: 2px;
}
.service-card .more { margin-top: 12px; font-size: .85rem; color: var(--navy-600); font-weight: 500; }

.service-section { scroll-margin-top: var(--header-h); }
.service-section [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.service-head {
  display: flex; gap: 24px; align-items: flex-start;
  padding-bottom: 24px; margin-bottom: 48px; border-bottom: 1px solid var(--border); position: relative;
}
.service-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 3px; background: var(--navy-800); }
.service-head > .service-no {
  font-size: 3.2rem; line-height: 1; color: var(--navy-800); flex: none; letter-spacing: 0;
}
.service-head .en {
  display: block; font-size: .74rem; letter-spacing: .25em; color: var(--navy-600);
  font-weight: 700; text-transform: uppercase; margin-bottom: 2px;
}
.service-head h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin: 0 0 8px; letter-spacing: .06em; }
.service-head p { margin: 0; color: var(--text-sub); max-width: 760px; }
.sub-title { font-size: 1.15rem; margin: 8px 0 20px; padding-left: 14px; border-left: 4px solid var(--navy-800); }
.card-body h4 { font-size: 1.05rem; margin: 0 0 .5em; color: var(--navy-900); }
.for-box {
  margin-top: 20px; padding: 16px 18px; background: #fff; border: 1px solid var(--border);
  border-left: 3px solid var(--navy-600);
}
.section-alt .for-box { background: #fff; }
.section:not(.section-alt) .for-box { background: var(--navy-50); }
.for-box .label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy-700); margin-bottom: 4px; }
.for-box p { margin: 0; font-size: .92rem; }

/* 個人・法人のお客様への案内（トップ） */
.consult {
  background: #fff; border-bottom: 1px solid var(--border);
}
.consult-inner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding-top: 36px; padding-bottom: 36px;
}
.consult-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy-50); color: var(--navy-800);
  display: grid; place-items: center;
}
.consult-icon svg { width: 36px; height: 36px; }
.consult h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin: 0 0 6px; letter-spacing: .04em; }
.consult p { margin: 0; color: var(--text-sub); font-size: .95rem; }
.consult-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 0; list-style: none; }
.consult-tags li {
  font-size: .8rem; padding: 3px 12px; border-radius: 999px;
  background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--navy-100);
}
.consult-actions { display: flex; flex-direction: column; gap: 10px; }
.consult-actions .btn { min-width: 220px; }

.pc-only { display: inline; }

/* ---------- ICT ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow li {
  background: #fff; border: 1px solid var(--border); padding: 24px 16px; text-align: center;
  position: relative; counter-increment: flow;
}
.flow li::before {
  content: "STEP " counter(flow);
  display: block; font-size: .72rem; letter-spacing: .15em; color: var(--navy-600);
  font-weight: 700; margin-bottom: 8px;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%;
  border: 6px solid transparent; border-left: 8px solid var(--navy-600);
  transform: translateY(-50%); z-index: 1;
}
.flow h3 { font-size: 1rem; margin-bottom: 8px; }
.flow p { font-size: .84rem; color: var(--text-sub); margin: 0; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.1em; height: .6em; border-left: 3px solid var(--navy-600); border-bottom: 3px solid var(--navy-600);
  transform: rotate(-45deg) scale(.8);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: #fff; padding: 72px 0; text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(1.3rem, 2.8vw, 1.8rem); }
.cta p { opacity: .9; }
.cta-tel { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: .06em; margin: 8px 0 4px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- お問い合わせフォーム ---------- */
.contact-methods { margin-bottom: 56px; }
.contact-box {
  border: 1px solid var(--border); padding: 32px; text-align: center; background: #fff;
}
.contact-box .label { font-size: .85rem; color: var(--text-sub); margin-bottom: 4px; }
.contact-box .value { font-size: 1.4rem; font-weight: 700; color: var(--navy-900); }

.form { max-width: 800px; margin: 0 auto; }
.form-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.form-row:first-child { border-top: 2px solid var(--navy-800); }
.form-row > label, .form-row > .label { font-weight: 500; padding-top: 10px; }
.req, .opt {
  display: inline-block; font-size: .7rem; padding: 1px 8px; margin-left: 8px;
  border-radius: 2px; vertical-align: middle; font-weight: 500;
}
.req { background: #b3261e; color: #fff; }
.opt { background: var(--navy-100); color: var(--navy-700); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--navy-600); outline-offset: 0; border-color: var(--navy-600);
}
.form textarea { min-height: 180px; resize: vertical; }
.form .radio-group { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 10px; }
.form .radio-group label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.form .error-msg { color: #b3261e; font-size: .85rem; margin-top: 6px; display: none; }
.form .has-error .error-msg { display: block; }
.form .has-error input, .form .has-error textarea { border-color: #b3261e; }
.form-agree { text-align: center; margin: 32px 0 24px; }
.form-submit { text-align: center; }
.form-result {
  display: none; margin-top: 24px; padding: 20px; text-align: center;
  background: var(--navy-50); border: 1px solid var(--navy-100);
}
.form-result.is-show { display: block; }

/* ---------- 電話番号リンク（スマホでタップすると発信） ---------- */
.tel-link { color: inherit; text-decoration: none; }
.tel-link:hover { color: inherit; text-decoration: underline; }

/* ---------- Googleフォームへの案内 ---------- */
[hidden] { display: none !important; }
.gform-box {
  max-width: 800px; margin: 0 auto; text-align: center;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 48px 40px;
}
.gform-box .en {
  display: block; font-size: .75rem; letter-spacing: .3em; color: var(--accent);
  font-weight: 700; text-transform: uppercase; margin-bottom: 6px;
}
.gform-box h2 { color: #fff; font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin: 0 0 14px; letter-spacing: .05em; }
.gform-box p { color: rgba(255,255,255,.88); margin: 0 auto; max-width: 600px; }
.gform-points {
  list-style: none; padding: 0; margin: 20px 0 28px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.gform-points li {
  font-size: .82rem; padding: 4px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
}
.gform-btn { font-size: 1.05rem; font-weight: 700; padding: 18px 36px; min-width: 320px; }
.gform-btn::after { content: none; }
.gform-btn .ext { width: 18px; height: 18px; flex: none; }
.gform-box .gform-sub { font-size: .82rem; margin-top: 12px; color: rgba(255,255,255,.7); }
.gform-box .gform-unset {
  margin-top: 16px; padding: 10px 14px; font-size: .88rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
}
.gform-privacy {
  max-width: 800px; margin: 20px auto 0; font-size: .85rem; color: var(--text-sub);
}

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.85); padding: 56px 0 0; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo img { height: 48px; }
.site-footer .logo-mark { background: #fff; color: var(--navy-900); }
.site-footer .logo-text small { color: rgba(255,255,255,.6); }
.site-footer address { font-style: normal; line-height: 2; }
.site-footer .placeholder { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
/* フッター：公式Instagram */
.footer-sns {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 18px; min-height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; line-height: 1.3;
  transition: background .2s, color .2s, border-color .2s;
}
.footer-sns svg { flex: none; }
.footer-sns-id { font-weight: 400; font-size: .8rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-sns:hover, .footer-sns:focus-visible { background: #fff; color: var(--navy-900); border-color: #fff; }
.footer-sns:hover .footer-sns-id, .footer-sns:focus-visible .footer-sns-id { color: var(--navy-800); }
.footer-sns:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12); text-align: center;
  padding: 18px 0; font-size: .78rem; color: rgba(255,255,255,.55);
}

.page-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px;
  background: var(--navy-800); color: #fff; border: 0; border-radius: 50%;
  cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  box-shadow: var(--shadow); font-size: 1.1rem; z-index: 90;
}
.page-top.is-show { opacity: 1; visibility: visible; }
.page-top:hover { background: var(--navy-600); }

/* ---------- アニメーション ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-inner { grid-template-columns: auto 1fr; }
  .consult-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3)::after { display: none; }
  .global-nav a { padding: 8px 10px; font-size: .9rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .global-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); overflow-y: auto;
    transform: translateX(100%); transition: transform .3s; visibility: hidden;
  }
  .global-nav.is-open { transform: none; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 0; padding: 16px 24px 40px; }
  .global-nav li { border-bottom: 1px solid var(--border); }
  .global-nav a { padding: 16px 4px; font-size: 1rem; border-bottom: none; }
  .global-nav a[aria-current="page"] { border-bottom: none; }
  .global-nav .nav-contact { border-bottom: none; margin-top: 24px; }
  .global-nav .nav-contact a { margin: 0; text-align: center; padding: 14px; }
  body.nav-open { overflow: hidden; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .case-photos, .case-photos.is-5, .case-photos.is-3 { grid-template-columns: repeat(2, 1fr); }
  .filter { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .sitech { grid-template-columns: 1fr; gap: 20px; }
  .split.reverse > :first-child { order: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .hero {
    padding: 80px 0 72px; min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(10,31,58,.55) 0%, rgba(10,31,58,.85) 100%),
      url("../images/web/hero-IMG_2559-960.jpg");
    background-position: 40% center;
  }
  .logo img { height: 36px; }
  .lightbox { padding: 56px 8px 72px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 12px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 60px); }
  .lightbox .lb-next { right: calc(50% - 60px); }
  .photo-frame::after { display: none; }
  .page-hero { padding: 44px 0 40px; }
  .logo-text strong { font-size: 1.1rem; }
  .logo-mark { width: 36px; height: 36px; font-size: 1rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li::after { display: none !important; }

  .btn { width: 100%; min-width: 0; }
  .hero-actions, .cta-actions { flex-direction: column; }

  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 10px 14px; }
  .info-table td { padding: 12px 14px 18px; }

  .timeline::before { left: 5px; }
  .timeline li { flex-direction: column; gap: 2px; padding-left: 28px; }
  .timeline li::before { left: 0; top: 20px; }
  .license-grid { grid-template-columns: 1fr; gap: 14px; }
  .license-card { padding: 16px; }
  .license-meta { grid-template-columns: 1fr; gap: 2px; }
  .license-meta dd { margin-bottom: 10px; }
  .philosophy { padding: 40px 20px 32px; margin: 0 -16px; }
  .philosophy-word { letter-spacing: .18em; padding-left: .18em; }
  .philosophy-motto { letter-spacing: .06em; }
  .founder { grid-template-columns: 1fr; gap: 20px; padding: 18px; margin-bottom: 36px; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
  .founder-text h3 { font-size: 1.15rem; }
  .founder-text p { line-height: 1.9; }
  .sitech { grid-template-columns: 1fr; gap: 18px; padding: 14px; }
  .sitech-text h2 { font-size: 1.15rem; }
  .compare-lead { margin: -8px 0 24px; text-align: left; }
  .compare { grid-template-columns: 1fr; gap: 0; }
  .compare-item { padding: 10px; }
  .compare-arrow { width: 3px; height: 36px; margin: 0 auto; }
  .compare-arrow::after { right: auto; left: 50%; top: auto; bottom: -2px; transform: translateX(-50%); border: 9px solid transparent; border-top: 12px solid var(--accent); border-bottom: 0; }
  .flow-case { grid-template-columns: 1fr; gap: 0; }
  .flow-step { padding: 10px; }
  .flow-arrow { height: 96px; }
  .flow-arrow::before { left: 50%; right: auto; top: 0; bottom: 10px; width: 3px; height: auto; transform: translateX(-50%); }
  .flow-arrow::after { left: 50%; right: auto; top: auto; bottom: 0; transform: translateX(-50%); border: 9px solid transparent; border-top: 12px solid var(--accent); border-bottom: 0; }
  .flow-mid { padding: 8px 14px; }
  .flow-mid br { display: none; }
  .ict-band-inner { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 32px; padding-bottom: 32px; }
  .tool-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-card { padding: 20px 18px; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; }
  .tool-icon { width: 52px; height: 52px; margin: 0; grid-row: span 3; }
  .tool-icon svg { width: 28px; height: 28px; }
  .tool-card h3 { font-size: 1.15rem; }
  .use-item { gap: 14px; padding: 22px 0; }
  .use-no { font-size: 1.6rem; }
  .use-item h3 { font-size: 1.08rem; }
  .tool-mini li { padding: 16px 18px; }
  .tool-mini strong { font-size: 1.2rem; }
  .since-badge { width: 104px; height: 104px; left: 8px; bottom: -16px; }
  .since-badge strong { font-size: 1.6rem; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 8px; }
  .mosaic-item { aspect-ratio: 4 / 3; }
  .mosaic-item.is-large { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .mosaic-item .cap { font-size: .74rem; padding: 22px 8px 6px; }
  .timeline.is-wide::before { left: 5px; }
  .timeline.is-wide li::before { left: 0; }
  .timeline.is-wide .year { width: auto; }

  .message-box { padding: 28px 20px; }
  .news-list li { flex-direction: column; gap: 2px; }

  .form-row { grid-template-columns: 1fr; gap: 8px; }

  /* Googleフォームへの案内（スマホ） */
  .gform-box { padding: 36px 20px; margin: 0 -16px; }
  .gform-btn { min-width: 0; width: 100%; padding: 16px 14px; font-size: 1rem; }

  /* 4つの事業（スマホ） */
  .pc-only { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-visual { aspect-ratio: 3 / 2; }
  .service-visual.is-icon svg { width: 44px; height: 44px; }
  .service-body { padding: 12px 12px 14px; }
  .service-body h3 { font-size: .98rem; }
  .service-body p { font-size: .8rem; margin-bottom: 10px; }
  .service-for { font-size: .68rem; padding: 2px 6px; }
  .service-head { gap: 14px; margin-bottom: 32px; padding-bottom: 18px; }
  .service-head > .service-no { font-size: 2.2rem; }
  .service-head p { font-size: .92rem; }
  .consult-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; padding-bottom: 28px; text-align: left; }
  .consult-icon { display: none; }
  .consult-actions { flex-direction: column; }
  .consult-actions .btn { min-width: 0; }

  /* 施工実績（スマホ） */
  .page-hero.has-photo { padding: 52px 0 44px; background-position: 60% center; }
  .works-toolbar { margin: 0 -16px 8px; }
  .works-toolbar::after {
    content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 40px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff);
  }
  .filter { padding: 0 8px; }
  .filter button { padding: 14px 12px; font-size: .86rem; }
  .works-intro { margin-top: 28px; font-size: .85rem; }
  .works-group { padding-top: 28px; }
  .works-group + .works-group { margin-top: 12px; }
  .works-cat-head { padding: 18px 16px; gap: 12px; margin: 0 -16px; }
  .works-cat-head .service-no { font-size: 1.8rem; }
  .works-cat-head p { font-size: .82rem; }
  .works-cat-head .num strong { font-size: 1.4rem; }
  .works-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 12px 16px; }
  .works-subnav::-webkit-scrollbar { display: none; }
  .works-subnav a { white-space: nowrap; }
  .works-sub { padding-top: 28px; }
  .case { padding: 18px 14px 18px; margin: 0 -16px; border-left: 0; border-right: 0; }
  .case-head h3 { font-size: 1.1rem; }
  .case-photos, .case-photos.is-5, .case-photos.is-3, .case-photos.is-2, .case-photos.is-single { grid-template-columns: 1fr; gap: 20px; }
  .case-photo .work-photo img { aspect-ratio: auto; height: auto; }
  .case-scope .row { grid-template-columns: 1fr; }
  .case-scope dt { padding: 8px 12px; }
  .case-scope dd { padding: 8px 12px 12px; }
  .works-empty { padding: 28px 16px; margin: 0 -16px; border-left: 0; border-right: 0; }
  .works-empty .actions { flex-direction: column; }
  .works-group-head { margin-bottom: 18px; }
  .works-group-head h2 { font-size: 1.15rem; }
  .works-grid { grid-template-columns: 1fr; gap: 18px; }
  .work-photo img { aspect-ratio: 3 / 2; }
  .work-photo .zoom { opacity: 1; transform: none; width: 30px; height: 30px; }
  .work-desc { min-height: 0; font-size: .97rem; }
  .work-body { padding: 14px 16px 16px; }
  .form-row > label, .form-row > .label { padding-top: 0; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; }
}
