@charset "UTF-8";
/* 駿河緑地造成株式会社 デモサイト
   配色はG5選定シートの確定値。色相は変更しない。 */

:root {
  --base: #FFFFFF;
  --surface: #F4F5F5;
  --accent: #2E3438;
  --accent-hover: #1B2023;
  --sub: #556B2F;
  --sub-dark: #003705;
  --line: #D5D8D9;
  --note: #5C6467;

  --maxw: 1200px;
  --textw: 720px;
  --sec-y: 96px;
  --radius: 4px;

  --fast: 180ms;
  --mid: 600ms;
  --slow: 1000ms;
  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --ease-in: cubic-bezier(.6, .05, .8, .3);
  --header-h: 92px;
}

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

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

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--accent);
  background: var(--base);
  font-feature-settings: "palt" 1;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }

/* ── アクセシビリティ ───────────────────────────── */
:focus-visible {
  outline: 3px solid var(--sub);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: var(--radius); text-decoration: none;
  transition: top var(--fast) var(--ease-out);
}
.skip-link:focus { top: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── レイアウト ─────────────────────────────────── */
.inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--sec-y); }
.section--surface { background: var(--surface); }
.narrow { max-width: var(--textw); }

.sec-head { margin-bottom: 44px; }
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  color: var(--sub); margin-bottom: 12px;
}
.sec-label::before {
  content: ""; width: 28px; height: 2px; background: var(--sub);
}
.sec-label--icon::before { display: none; }
.sec-label--icon img { width: 22px; height: 22px; }
.qual-chip img { width: 18px; height: 18px; vertical-align: -3px; }
.sec-title { font-size: 30px; line-height: 1.5; font-weight: 700; }
.sec-lead { margin-top: 16px; max-width: var(--textw); color: var(--accent); }

.h3 { font-size: 21px; line-height: 1.6; font-weight: 700; }
.note { font-size: 14px; line-height: 1.8; color: var(--note); }
.num { font-variant-numeric: tabular-nums; }

/* ── ボタン ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-size: 16px; font-weight: 700; line-height: 1.4;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--fast) var(--ease-out),
              color var(--fast) var(--ease-out),
              border-color var(--fast) var(--ease-out);
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--sub-dark); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* 文中リンクの下線（左→右） */
.link-under {
  position: relative; text-decoration: none; font-weight: 700;
  color: var(--accent); padding-bottom: 2px;
}
.link-under::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--sub);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--fast) var(--ease-out);
}
.link-under:hover::after, .link-under:focus-visible::after { transform: scaleX(1); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--accent);
  min-height: 44px;
}
.arrow-link::after {
  content: ""; width: 18px; height: 1px; background: var(--sub);
  transition: width var(--fast) var(--ease-out);
}
.arrow-link:hover::after { width: 28px; }

/* ── ヘッダー ───────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: padding var(--fast) var(--ease-out), box-shadow var(--fast) var(--ease-out);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: padding var(--fast) var(--ease-out);
}
.site-header.is-shrunk .header-inner { padding-block: 6px; }
.site-header.is-shrunk { box-shadow: 0 1px 0 var(--line); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark {
  width: 10px; height: 34px; background: var(--sub); flex: none;
  transition: height var(--fast) var(--ease-out);
}
.site-header.is-shrunk .logo-mark { height: 26px; }
.logo-text { display: flex; align-items: baseline; gap: 2px; }
.logo-text strong { font-size: 20px; letter-spacing: .02em; }
.logo-sub { font-size: 14px; color: var(--note); }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 0; flex-wrap: nowrap; }
.gnav a {
  display: block; padding: 8px 9px; font-size: 15px; font-weight: 500;
  white-space: nowrap;
  text-decoration: none; border-radius: var(--radius);
  transition: color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out);
}
.gnav a:hover { background: var(--surface); }
.gnav a[aria-current="page"] { color: var(--sub); font-weight: 700; }
/* ロゴがトップへのリンクなので、PCのグローバルナビでは「トップ」を出さない */
.gnav li:first-child { display: none; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.tel-link {
  display: flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tel-link img { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); position: relative; cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 50%; width: 22px; height: 2px;
  background: var(--accent); transform: translateX(-50%); content: "";
}
.nav-toggle-bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar::before { top: -7px; left: 0; transform: none; }
.nav-toggle-bar::after { top: 7px; left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

.drawer { border-top: 1px solid var(--line); padding: 16px 24px 24px; background: #fff; }
.drawer ul { margin-bottom: 16px; }
.drawer a {
  display: block; padding: 14px 4px; text-decoration: none;
  border-bottom: 1px solid var(--line); font-weight: 500;
}

/* ── スクロール進捗バー ─────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 110; background: transparent; pointer-events: none;
}
.scroll-progress-bar {
  display: block; height: 100%; width: 0%; background: var(--sub);
}

/* ── ファーストビュー ───────────────────────────── */
.hero { position: relative; background: var(--surface); overflow: hidden; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: clamp(360px, 52vw, 620px); object-fit: cover; display: block;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.15) 72%, rgba(255,255,255,0) 100%);
}
.hero-body {
  position: absolute; inset: 0; display: flex; align-items: center;
}
.hero-inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-title { font-size: 40px; line-height: 1.45; font-weight: 700; letter-spacing: .01em; }
.hero-title .rule { display: block; width: 56px; height: 3px; background: var(--sub); margin-bottom: 20px; }
.hero-lead { margin-top: 20px; font-size: 17px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 14px; font-size: 14px; font-weight: 700; line-height: 1.5;
}
.hero-badge b { color: var(--sub); font-variant-numeric: tabular-nums; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; }

/* ── カード共通 ─────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
}
/* 装飾3：写真のホバーズーム（枠は固定、中身のみ1.05倍・CSS） */
.card-media { overflow: hidden; }
.card-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform var(--mid) var(--ease-out);
}
.card:hover .card-media img,
.card:focus-within .card-media img { transform: scale(1.05); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 21px; font-weight: 700; line-height: 1.55; }
.card-orig { font-size: 14px; color: var(--note); }
.card-foot { margin-top: auto; padding-top: 8px; }

.ai-note { font-size: 14px; color: var(--note); padding: 8px 0 0; line-height: 1.6; }
.card-media + .ai-note { padding-inline: 22px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tag {
  display: inline-block; font-size: 14px; font-weight: 700; line-height: 1.4;
  color: var(--sub); border: 1px solid var(--sub); border-radius: var(--radius);
  padding: 3px 10px;
}

/* ── 主役層：ピン留めストーリー ─────────────────── */
.story { background: var(--accent); color: #fff; position: relative; }
.story .sec-title, .story .sec-lead { color: #fff; }
.story .sec-label { color: #9DB36A; }
.story .sec-label::before { background: #9DB36A; }
.story-pin { position: relative; }
.story-stage {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; min-height: 520px;
}
/* 各段階を同じグリッドセルに重ねてクロスフェードする（高さは最大のものに揃う） */
.story-visual { display: grid; }
.story-figure { grid-area: 1 / 1; }
.story-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.story-panel { position: relative; }
.story-texts { display: grid; min-height: 210px; }
.story-text { grid-area: 1 / 1; }
.story-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.story-step-dot {
  flex: 1; height: 3px; background: rgba(255,255,255,.25); position: relative; overflow: hidden;
}
.story-step-dot span {
  position: absolute; inset: 0; background: var(--sub); transform: scaleX(0);
  transform-origin: left;
}
.story-stage-no {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .1em; color: #9DB36A;
}
.story-stage-no b { font-size: 30px; font-variant-numeric: tabular-nums; }
.story-title { font-size: 30px; font-weight: 700; line-height: 1.5; margin-top: 8px; }
.story-body { margin-top: 16px; color: rgba(255,255,255,.9); }
.story-quals { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; }
.story-quals-label {
  font-size: 14px; font-weight: 700; color: #9DB36A; letter-spacing: .06em; margin-bottom: 12px;
}
.story-qual-list { display: flex; flex-direction: column; gap: 8px; }
.story-qual {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; line-height: 1.6; font-variant-numeric: tabular-nums;
}
.story-qual::before {
  content: ""; width: 14px; height: 2px; background: var(--sub); flex: none;
}
.story-total {
  margin-top: 24px; padding: 20px 24px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
}
.story-total-label { font-size: 14px; font-weight: 700; color: #9DB36A; }
.story-total-value {
  font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.4;
}
.story-total-note { font-size: 14px; color: rgba(255,255,255,.75); }
.story.is-final { background: var(--sub-dark); }
.story-after { padding-top: 40px; }

/* JSが動く前の重なり表示を防ぐ初期状態（ピン留め領域の中だけ） */
.story-figure + .story-figure,
.story-text + .story-text { opacity: 0; }
.story-pin .story-qual { opacity: .15; }
.story-pin .story-total { opacity: 0; }

/* 768px未満・モーション無効・GSAP未読込では縦積みの静的カードに切り替える */
.story-stack { display: none; }
.js-off .story-pin { display: none; }
.js-off .story-stack { display: grid; gap: 24px; }

/* ── 数値カウント ───────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: #fff; text-align: left;
}
.stat-label { font-size: 14px; font-weight: 700; color: var(--sub); }
.stat-value {
  font-size: 48px; font-weight: 700; line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.stat-value small { font-size: 21px; font-weight: 700; margin-left: 2px; }
.stat-note { font-size: 14px; color: var(--note); line-height: 1.7; }

.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: #fff; display: flex; gap: 16px; align-items: flex-start;
}
.cert img { width: 40px; height: 40px; flex: none; }
.cert-name { font-size: 21px; font-weight: 700; line-height: 1.5; }
.cert-meta { font-size: 14px; color: var(--note); line-height: 1.8; }

/* ── アコーディオン ─────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 4px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--accent); text-align: left;
  min-height: 60px;
}
.acc-btn:hover { color: var(--sub); }
.acc-icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--sub);
  transition: transform var(--fast) var(--ease-out);
}
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); }
.acc-panel { overflow: hidden; }
.acc-panel-inner { padding: 0 4px 24px; }

/* 有資格者表 */
.qual-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.qual-table th, .qual-table td {
  border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left;
}
.qual-table th { font-weight: 500; }
.qual-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qual-table tfoot td, .qual-table tfoot th { font-weight: 700; border-bottom: 0; }

.qual-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qual-chip {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 6px 12px; font-size: 15px; font-variant-numeric: tabular-nums;
}
.qual-chip b { color: var(--sub); }

/* ── 実績 ───────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); }
.tab-btn {
  appearance: none; background: none; border: 1px solid transparent; border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 14px 20px; font: inherit; font-weight: 700; font-size: 16px;
  color: var(--note); cursor: pointer; min-height: 52px;
  transition: color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out);
}
.tab-btn:hover { color: var(--accent); background: var(--surface); }
.tab-btn[aria-selected="true"] {
  color: var(--accent); background: #fff;
  border-color: var(--line); box-shadow: inset 0 3px 0 var(--sub);
}
.tab-count { font-size: 14px; color: var(--note); font-variant-numeric: tabular-nums; }
.tab-panel { padding-top: 32px; }
.tab-panel[hidden] { display: none; }

.work-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.work-item {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
}
.work-name { font-size: 21px; font-weight: 700; line-height: 1.6; }
.work-meta { margin-top: 12px; display: grid; grid-template-columns: 100px 1fr; gap: 6px 16px; font-size: 16px; }
.work-meta dt { color: var(--note); font-size: 14px; }
.work-meta dd { margin: 0; }
.work-term { font-variant-numeric: tabular-nums; }

.empty-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 32px;
}

/* ── 会社概要表 ─────────────────────────────────── */
.def-table { width: 100%; border-collapse: collapse; }
.def-table th, .def-table td {
  border-bottom: 1px solid var(--line); padding: 18px 12px;
  text-align: left; vertical-align: top;
}
.def-table th { width: 220px; font-weight: 700; background: var(--surface); }
.def-table td ul li + li { margin-top: 4px; }

.history { border-left: 2px solid var(--line); padding-left: 24px; }
.history li { position: relative; padding-bottom: 20px; }
.history li::before {
  content: ""; position: absolute; left: -31px; top: 12px;
  width: 10px; height: 10px; background: var(--sub); border-radius: 50%;
}
.history-date { font-weight: 700; font-variant-numeric: tabular-nums; }

.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  line-height: 0; background: var(--surface);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ── 施工の流れ ─────────────────────────────────── */
.flow-list { border-left: 2px solid var(--line); padding-left: 32px; max-width: 820px; }
.flow-step { position: relative; padding-bottom: 32px; }
.flow-step::before {
  content: ""; position: absolute; left: -39px; top: 10px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--sub);
}
.flow-no { font-size: 14px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; }
.flow-title { font-size: 21px; font-weight: 700; line-height: 1.6; }
.flow-body { margin-top: 6px; }
.flow-step.is-key::before { background: var(--sub); }

.highlight-block {
  background: var(--sub-dark); color: #fff; border-radius: var(--radius);
  padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.highlight-block h2, .highlight-block h3 { color: #fff; }
.highlight-block p { color: rgba(255,255,255,.9); }
.highlight-block img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.highlight-block .ai-note { color: rgba(255,255,255,.7); }

/* ── 採用 ───────────────────────────────────────── */
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.benefit {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px;
}
.benefit-title { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--sub); }
.benefit-note { font-size: 14px; color: var(--note); line-height: 1.7; margin-top: 8px; }

.job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.job-kind {
  font-size: 14px; font-weight: 700; color: #fff; background: var(--sub);
  border-radius: var(--radius); padding: 3px 10px;
}
.job-pay { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sub); }
.role-block + .role-block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.role-name { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table th, .spec-table td {
  border-bottom: 1px solid var(--line); padding: 14px 10px; text-align: left; vertical-align: top;
}
.spec-table th { width: 170px; font-weight: 700; color: var(--note); font-size: 15px; }
.list-dot li { position: relative; padding-left: 16px; }
.list-dot li::before {
  content: ""; position: absolute; left: 0; top: .85em;
  width: 6px; height: 6px; background: var(--sub); border-radius: 50%;
}
.example-box {
  border: 1px solid var(--sub); border-radius: var(--radius);
  padding: 16px 20px; background: #fff; font-variant-numeric: tabular-nums;
}

/* ── フォーム ───────────────────────────────────── */
.form { max-width: var(--textw); }
.field { margin-bottom: 28px; }
.field-label { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.req, .opt {
  font-size: 14px; font-weight: 700; border-radius: var(--radius); padding: 2px 8px; line-height: 1.6;
}
.req { background: var(--sub); color: #fff; }
.opt { background: var(--surface); color: var(--note); border: 1px solid var(--line); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 17px; color: var(--accent);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; min-height: 56px;
}
.field textarea { min-height: 180px; line-height: 1.8; resize: vertical; }
.field-help { font-size: 14px; color: var(--note); margin-top: 6px; }
.form-note {
  margin-top: 20px; padding: 16px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px;
}

/* ── CTA帯 ──────────────────────────────────────── */
.cta-band { background: var(--sub); color: #fff; padding-block: 64px; position: relative; overflow: hidden; }
.cta-band-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .28;
}
.cta-band-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band-title { font-size: 30px; font-weight: 700; line-height: 1.5; }
.cta-band-lead { margin-top: 12px; color: rgba(255,255,255,.92); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 40px; padding: 24px 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.cta-inline p { font-weight: 700; }

/* ── ページヘッダー ─────────────────────────────── */
.page-head { position: relative; background: var(--accent); overflow: hidden; }
.page-head-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .32;
}
.page-head-inner { position: relative; padding-block: 64px; color: #fff; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.breadcrumb li + li::before { content: "／"; margin-right: 8px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.page-title { font-size: 40px; font-weight: 700; line-height: 1.4; }
.page-lead { margin-top: 14px; max-width: var(--textw); color: rgba(255,255,255,.92); }
.page-head-note { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.7); }

/* ── フッター ───────────────────────────────────── */
.site-footer { background: var(--sub-dark); color: #fff; padding-block: 56px 32px; margin-top: 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer-name { font-size: 21px; font-weight: 700; }
.footer-addr { margin-top: 12px; color: rgba(255,255,255,.85); font-size: 16px; }
.footer-tel a {
  font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums;
  text-decoration: none; display: inline-block; margin-top: 8px;
}
.footer-mail a { color: rgba(255,255,255,.85); font-size: 16px; }
.footer-nav-title { font-size: 14px; font-weight: 700; color: #9DB36A; margin-bottom: 12px; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 4px 32px; }
.footer-nav a { text-decoration: none; font-size: 16px; padding-block: 6px; display: inline-block; }
.footer-nav a:hover { text-decoration: underline; }
.footer-note-wrap { padding-top: 24px; }
.footer-note { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.8); }
.footer-copy { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ── 404 ────────────────────────────────────────── */
.error-page { padding-block: 120px; text-align: center; }
.error-code {
  font-size: 80px; font-weight: 700; line-height: 1; color: var(--sub);
  font-variant-numeric: tabular-nums;
}
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ── 基礎層アニメーションの初期状態 ─────────────── */
.reveal { opacity: 0; transform: translateY(28px); }
.js-off .reveal { opacity: 1; transform: none; }

/* ── レスポンシブ ───────────────────────────────── */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { margin-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .work-item { grid-template-columns: 1fr; gap: 16px; }
  .highlight-block { grid-template-columns: 1fr; padding: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --sec-y: 56px; --header-h: 74px; }
  body { font-size: 17px; }
  .hero-title, .page-title { font-size: 28px; }
  .sec-title, .cta-band-title, .story-title { font-size: 24px; }
  .stat-value { font-size: 40px; }
  .grid-2, .grid-3, .grid-4, .stats, .cert-list, .benefit-grid { grid-template-columns: 1fr; }
  .header-cta .tel-num { display: none; }
  .header-cta .btn { display: none; }
  .hero-media img { height: 340px; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 55%, rgba(255,255,255,.7) 100%);
  }
  .def-table th, .def-table td { display: block; width: auto; }
  .def-table th { border-bottom: 0; }
  .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table th { border-bottom: 0; padding-bottom: 0; }
  .work-meta { grid-template-columns: 1fr; gap: 2px; }
  .work-meta dt { margin-top: 8px; }
  .cta-band-actions .btn { width: 100%; }
  .footer-nav ul { grid-template-columns: 1fr; }

  /* 主役層：ピン留めを解除して縦積みの静的カードにする */
  .story-pin { display: none; }
  .story-stack { display: grid; gap: 24px; }
  .story-card {
    border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden;
  }
  .story-card.is-final { background: var(--sub-dark); }
  .story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
  .story-card-body { padding: 24px; }
  .story-card .ai-note { color: rgba(255,255,255,.7); padding-inline: 24px; }
}

/* ── モーション無効化 ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }

  /* 主役層はピン留めを使わず、縦積みの静的カードで見せる */
  .story-pin { display: none; }
  .story-stack { display: grid; gap: 24px; }
  .story-card { border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; }
  .story-card.is-final { background: var(--sub-dark); }
  .story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
  .story-card-body { padding: 24px; }
  .story-card .ai-note { color: rgba(255,255,255,.7); padding-inline: 24px; }
}

/* 縦積みカード（モバイル・モーション無効・JS無効で共用） */
.story-card { border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; }
.story-card.is-final { background: var(--sub-dark); }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.story-card-body { padding: 24px; }
.story-card .ai-note { color: rgba(255,255,255,.7); padding-inline: 24px; }
.story-card .story-qual { opacity: 1; }
