@charset "UTF-8";
/* ============================================================
   山岸電気工業株式会社 － style.css
   ピュアCSS（CSS Grid / Flexbox）／フレームワーク不使用
   Font : Noto Sans JP (Google Fonts)
   ============================================================ */

/* ------------------------------------------------------------
   1. デザイントークン
   ------------------------------------------------------------ */
:root {
  /* Color */
  --navy-900: #061426;
  --navy-800: #0a1b33;
  --navy-700: #102a4c;
  --navy-600: #17395f;
  --blue-600: #0f56e0;
  --blue-500: #1867ff;
  --blue-400: #4a93ff;
  --blue-100: #e6f0ff;
  --lime: #c8f000;
  --ink: #14202f;
  --muted: #5c6a7d;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --danger: #d93025;

  /* Typography */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1160px;
  --container-narrow: 780px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 74px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(10, 27, 51, .07);
  --shadow-md: 0 10px 30px rgba(10, 27, 51, .12);
  --shadow-lg: 0 24px 60px rgba(10, 27, 51, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------
   2. リセット & ベース
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; letter-spacing: .01em; }
p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: .8; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy-800);
  color: #fff;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------
   3. 共通レイアウト
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(64px, 9vw, 116px); }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(24,103,255,.35) 0%, rgba(24,103,255,0) 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
}
.section-dark a { color: var(--blue-400); }

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--blue-500);
  margin-bottom: 10px;
}
.section-dark .section-eyebrow { color: var(--lime); }

.section-title {
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--blue-500) 100%);
}

.section-lead {
  max-width: 68ch;
  color: var(--muted);
  margin-bottom: 42px;
  font-size: clamp(15px, 1.6vw, 17px);
}
.section-dark .section-lead { color: rgba(255,255,255,.82); }

.accent { color: var(--blue-400); }
.accent-blue { color: var(--blue-500); }

/* ------------------------------------------------------------
   4. ボタン
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(24,103,255,.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(24,103,255,.45); }

.btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.55);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 38px; font-size: 16px; }

/* ------------------------------------------------------------
   5. ヘッダー / ナビゲーション
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-800);
  flex-shrink: 0;
}
.logo img { width: auto; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text strong { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.logo-text small { font-size: 10px; color: var(--muted); letter-spacing: .06em; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}
.nav-list a {
  color: var(--navy-800);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding-block: 6px;
}
.nav-list > li > a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.nav-list > li > a:not(.btn):hover::after,
.nav-list > li > a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-list a.is-current { color: var(--blue-600); }
.nav-list .nav-cta > a.btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  margin-left: -11px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-bar:nth-child(1) { top: 16px; }
.nav-toggle-bar:nth-child(2) { top: 22px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(6,20,38,.5);
  z-index: 90;
}

/* ------------------------------------------------------------
   6. ヒーロー
   ------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: calc(var(--header-h) + clamp(56px, 9vw, 110px)) clamp(64px, 9vw, 110px);
  color: #fff;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,20,38,.96) 0%, rgba(10,27,51,.9) 42%, rgba(10,27,51,.45) 72%, rgba(10,27,51,.25) 100%);
}
.hero-inner { position: relative; max-width: 780px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(36px, 7.4vw, 68px);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.24;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.hero-lead {
  font-size: clamp(15px, 1.9vw, 18px);
  color: rgba(255,255,255,.9);
  margin-bottom: 30px;
}
.hero-lead strong { color: #fff; }

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}
.hero-pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 3px solid var(--lime);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.pillar-label { font-weight: 700; font-size: 15px; white-space: nowrap; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------
   7. 強み帯
   ------------------------------------------------------------ */
.strength { background: var(--navy-900); padding-block: clamp(40px, 6vw, 64px); }
.strength-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(24,103,255,.28) 0%, rgba(24,103,255,0) 60%),
    linear-gradient(140deg, #0d2544 0%, #07182c 100%);
  color: #fff;
}
.strength-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-size: 22px;
}
.strength-icons span {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}
.strength-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 12px;
}
.strength-title .accent-blue { color: var(--blue-400); border-bottom: 4px solid var(--lime); }
.strength-body p { color: rgba(255,255,255,.85); font-size: clamp(14px, 1.6vw, 16px); }
.strength-body strong { color: #fff; }

/* ------------------------------------------------------------
   8. 事業内容
   ------------------------------------------------------------ */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--blue-400); color: var(--blue-600); }
.filter-btn.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.service-card > article {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.service-card > article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-400);
}
.service-card[hidden] { display: none; }

.service-figure { margin: 0; background: var(--navy-800); aspect-ratio: 16 / 9; overflow: hidden; }
.service-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card > article:hover .service-figure img { transform: scale(1.05); }

.service-body { padding: 22px 24px 26px; flex: 1; }
.service-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
}
.service-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
}

.service-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.services-note {
  margin-top: 34px;
  padding: 18px 22px;
  background: var(--blue-100);
  border-left: 4px solid var(--blue-500);
  border-radius: 0 10px 10px 0;
  font-size: 14.5px;
}

/* ------------------------------------------------------------
   9. 選ばれる理由
   ------------------------------------------------------------ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}
.reason-card {
  padding: 30px 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.reason-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.reason-num {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 14px;
  font-family: system-ui, sans-serif;
}
.reason-card h3 { font-size: 18px; margin-bottom: 12px; }
.reason-card p { font-size: 14.5px; color: rgba(255,255,255,.8); }

/* ------------------------------------------------------------
   10. 施工の流れ
   ------------------------------------------------------------ */
.flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  counter-reset: flow;
}
.flow-item {
  position: relative;
  padding: 26px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-500);
  border-radius: 4px 4px var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
}
.flow-step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--blue-500);
  margin-bottom: 8px;
}
.flow-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--navy-800); }
.flow-item p { font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------
   11. 対応エリア
   ------------------------------------------------------------ */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-list li {
  padding: 9px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------
   12. 会社概要
   ------------------------------------------------------------ */
.company-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.company-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-table th,
.company-table td {
  padding: 16px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.company-table th {
  width: 8.5em;
  font-weight: 700;
  color: var(--navy-800);
  white-space: nowrap;
}
.company-table td { color: var(--muted); }
.th-sub { font-size: 13px; }

.company-policy {
  padding: clamp(24px, 3vw, 34px);
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.policy-heading {
  font-size: 17px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.policy-list { display: grid; gap: 20px; }
.policy-list h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
  padding-left: 14px;
  border-left: 3px solid var(--lime);
}
.policy-list p { font-size: 14px; color: rgba(255,255,255,.78); padding-left: 14px; }
.policy-slogan {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-weight: 700;
  color: var(--lime);
  font-size: 15px;
}

/* ------------------------------------------------------------
   13. FAQ
   ------------------------------------------------------------ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--navy-800);
  transition: background .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary h3 { font-size: 16px; font-weight: 700; flex: 1; }
.faq-item summary::after {
  content: "";
  width: 11px; height: 11px;
  flex-shrink: 0;
  border-right: 2.5px solid var(--blue-500);
  border-bottom: 2.5px solid var(--blue-500);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq-item > p {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ------------------------------------------------------------
   14. お問い合わせフォーム
   ------------------------------------------------------------ */
.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.form-row { display: grid; gap: 8px; }

.form-label { font-size: 14.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.required {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--navy-900);
  letter-spacing: .04em;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-input::placeholder { color: #9aa6b6; }
.form-input:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(74,147,255,.28);
}
.form-textarea { resize: vertical; min-height: 150px; line-height: 1.8; }
select.form-input { appearance: none; background-image: none; cursor: pointer; }

.form-input.is-invalid { border-color: #ff8a80; box-shadow: 0 0 0 4px rgba(255,138,128,.25); }
.form-error {
  font-size: 13px;
  font-weight: 700;
  color: #ffb4ae;
  margin: 0;
}

.form-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.form-check input { width: 20px; height: 20px; accent-color: var(--blue-500); cursor: pointer; }
.form-check label { font-size: 14.5px; cursor: pointer; }
.form-check .form-error { flex-basis: 100%; }

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 6px; text-align: center; }
.form-status { text-align: center; font-size: 14.5px; font-weight: 700; min-height: 1.5em; margin: 0; }
.form-status.is-error { color: #ffb4ae; }
.form-status.is-success { color: var(--lime); }

/* ------------------------------------------------------------
   15. フッター
   ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding-top: clamp(48px, 6vw, 72px); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  padding-bottom: 44px;
}
.footer-brand img { height: 76px; width: auto; margin-bottom: 18px; }
.footer-address { font-size: 14px; line-height: 2; }
.footer-address a { color: var(--blue-400); }

.footer-nav-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px 20px;
}
.footer-nav a { color: rgba(255,255,255,.78); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.copyright {
  margin: 0;
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ------------------------------------------------------------
   16. 追従CTA（モバイル）
   ------------------------------------------------------------ */
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--blue-500), var(--blue-600));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------------------
   17. レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .company-inner { grid-template-columns: 1fr; }
  .company-policy { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: block; }

  .global-nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline-end: 0;
    z-index: 95;
    width: min(320px, 84vw);
    height: calc(100dvh - var(--header-h));
    padding: 24px 24px calc(40px + env(safe-area-inset-bottom));
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .32s var(--ease);
  }
  .global-nav.is-open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list > li > a:not(.btn) {
    display: block;
    padding: 15px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-list > li > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }
  .nav-cta a { display: flex; width: 100%; }

  .strength-card { grid-template-columns: 1fr; }
  .strength-icons { justify-content: start; grid-template-columns: repeat(5, auto); }
  .strength-icons span { width: 44px; height: 44px; font-size: 18px; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
    --gutter: 18px;
  }

  html { scroll-padding-top: calc(var(--header-h) + 12px); }
  body {
    font-size: 15px;
    line-height: 1.75;
    overflow-x: hidden;
  }

  .section { padding-block: 56px; }
  .section-title {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.35;
    margin-bottom: 22px;
    padding-bottom: 14px;
  }
  .section-lead { font-size: 14.5px; line-height: 1.8; }

  .header-inner { gap: 10px; }
  .logo { gap: 8px; min-width: 0; }
  .logo img { height: 32px; width: 32px; object-fit: contain; }
  .logo-text { min-width: 0; }
  .logo-text strong {
    font-size: 13px;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .logo-text small { display: none; }
  .nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; }

  .global-nav {
    width: min(340px, 90vw);
    padding-inline: 20px;
  }

  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 42px) 56px;
  }
  .hero-media img { object-position: 76% 50%; }
  .hero::before {
    background: linear-gradient(165deg, rgba(6,20,38,.96) 0%, rgba(10,27,51,.92) 58%, rgba(10,27,51,.84) 100%);
  }
  .hero-eyebrow { font-size: 11px; letter-spacing: .06em; margin-bottom: 18px; }
  .hero-title { font-size: clamp(36px, 11vw, 46px); line-height: 1.14; margin-bottom: 20px; }
  .hero-lead { font-size: 14.5px; line-height: 1.9; margin-bottom: 24px; }
  .hero-pillars { grid-template-columns: 1fr; gap: 8px; margin-bottom: 28px; }
  .hero-pillars li { min-height: 48px; padding: 10px 14px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-note { line-height: 1.6; }

  .strength { padding-block: 44px; }
  .strength-card { gap: 22px; }
  .strength-icons {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
  .strength-icons span { width: 100%; max-width: 46px; aspect-ratio: 1; height: auto; }
  .strength-title { font-size: 28px; line-height: 1.4; }
  .strength-body p { font-size: 14.5px; line-height: 1.85; }

  .service-grid { grid-template-columns: 1fr; }
  .filter {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .filter::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; padding: 9px 16px; font-size: 13px; }
  .service-grid { gap: 18px; }
  .service-card > article { border-radius: var(--radius-md); }
  .service-body { padding: 18px 18px 22px; }
  .service-body h3 { font-size: 19px; }

  .reason-grid, .flow-list { grid-template-columns: 1fr; gap: 14px; }
  .reason-card { padding: 24px 20px; }
  .reason-num { font-size: 28px; }
  .reason-card p, .flow-item p { font-size: 14px; }
  .flow-item { padding: 22px 20px 24px; }

  .faq-list { gap: 10px; }
  .faq-item summary { padding: 18px; gap: 12px; }
  .faq-item summary h3 { font-size: 15px; line-height: 1.6; }
  .faq-item > p { padding: 0 18px 20px; font-size: 14px; }

  .company-table th, .company-table td { display: block; width: auto; padding: 10px 4px; }
  .company-table th { border-bottom: 0; padding-bottom: 2px; }

  .contact-form { gap: 18px; }
  .form-control { min-height: 50px; font-size: 16px; }
  textarea.form-control { min-height: 150px; }
  .contact-form .btn { width: 100%; min-height: 54px; }

  .floating-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 52px;
    border-radius: 999px;
    text-align: center;
  }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer-brand img { height: 66px; }
}

/* ------------------------------------------------------------
   18. モーション低減 / 印刷
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .nav-toggle, .floating-cta, .filter, .contact-form { display: none !important; }
  body { color: #000; background: #fff; }
  .section-dark, .strength { background: #fff !important; color: #000 !important; }
  a { text-decoration: underline; }
}
