@charset "utf-8";
/* =========================================================
   IDENT（アイデント）デモサイト 共通スタイル
   配色はG5選定シート（13_Web構成.md 第5章）に準拠
   ========================================================= */

:root {
  /* 配色 */
  --c-base:        #FFFFFF;
  --c-base-sub:    #F2F6F9;
  --c-accent:      #7FB5D5;
  --c-accent-text: #377DA6;
  --c-dark:        #0F3B52;
  --c-text:        #1A1A1A;
  /* 選定シートは #C25E00（4.29:1 でAA未達）。色相29.1°・彩度は変えず明度のみ下げ、白背景でAA 4.70:1 を確保 */
  --c-caution:     #B85900;
  --c-border:      #E3EAEF;
  --c-muted:       #4A5A66;

  /* 余白 */
  --sec-pad:   96px;
  --wrap:      1120px;
  --gap:       24px;

  /* 速度（150-200ms / 400-700ms / 1000ms以上 の3種のみ） */
  --t-fast: 200ms;
  --t-mid:  600ms;
  --t-slow: 1000ms;

  /* イージング */
  --e-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --e-in:  cubic-bezier(0.55, 0.06, 0.68, 0.19);

  --header-h: 84px;
}

/* ---------- リセット ---------- */
*, *::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", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-base);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-text); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.45; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible {
  outline: 3px solid var(--c-accent-text);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 数字・英字 */
.num, .tel-num { font-family: "Barlow", "Noto Sans JP", sans-serif; font-weight: 600; font-feature-settings: "tnum"; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
  display: flex; align-items: center;
  will-change: height, background-color;
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; width: min(100% - 32px, 1240px); }

.logo {
  display: flex; align-items: baseline; gap: 10px; text-decoration: none;
  color: var(--c-dark); flex-shrink: 0;
  padding: 11px 0; /* タップ領域を44px確保する */
}
.footer-logo { padding: 0; }
/* 表・フッター内の電話番号リンクのタップ領域を広げる */
.info-table .tel-num, .footer-info a { display: inline-block; padding: 4px 0; }
.logo-mark { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 27px; letter-spacing: 0.12em; line-height: 1; }
.logo-sub { font-size: 12px; font-weight: 700; color: var(--c-muted); letter-spacing: 0.04em; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.gnav a {
  position: relative; display: block; padding: 6px 0;
  font-size: 14px; font-weight: 700; color: var(--c-text); text-decoration: none;
  white-space: nowrap;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--c-accent-text); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--e-out);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--c-accent-text); }

.header-tel {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  background: var(--c-accent-text); color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 4px; flex-shrink: 0;
  min-height: 44px; justify-content: center;
  transition: background-color var(--t-fast) var(--e-out);
}
.header-tel:hover { background: var(--c-dark); }
.header-tel .t1 { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 19px; line-height: 1.15; letter-spacing: 0.02em; }
.header-tel .t2 { font-size: 11px; line-height: 1.2; opacity: 0.92; }

.nav-toggle { display: none; }

/* =========================================================
   共通パーツ
   ========================================================= */
main { padding-top: var(--header-h); }

.section { padding: var(--sec-pad) 0; }
.section--sub { background: var(--c-base-sub); }
.section--dark { background: var(--c-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.sec-head { max-width: 800px; margin-bottom: 48px; }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.sec-label {
  display: block; font-family: "Barlow", sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.16em; color: var(--c-accent-text);
  margin-bottom: 12px; text-transform: uppercase;
}
.section--dark .sec-label { color: var(--c-accent); }
h2.sec-title { font-size: clamp(25px, 3.2vw, 36px); margin-bottom: 18px; }
h3.sub-title { font-size: clamp(20px, 2.4vw, 25px); margin-bottom: 14px; }
.sec-lead { font-size: 17px; color: var(--c-muted); margin: 0; }
.section--dark .sec-lead { color: rgba(255, 255, 255, 0.86); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 30px; border-radius: 4px;
  font-size: 16px; font-weight: 700; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.btn--primary { background: var(--c-accent-text); color: #fff; }
.btn--primary:hover { background: var(--c-dark); }
.btn--ghost { background: #fff; color: var(--c-accent-text); border-color: var(--c-accent-text); }
.btn--ghost:hover { background: var(--c-base-sub); }
.btn--onDark { background: #fff; color: var(--c-dark); }
.btn--onDark:hover { background: var(--c-accent); color: var(--c-dark); }
.btn--outlineDark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--outlineDark:hover { background: rgba(255, 255, 255, 0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.is-center { justify-content: center; }

/* 本文中リンク（下線が左から右へ） */
.tlink {
  position: relative; color: var(--c-accent-text); font-weight: 700;
  text-decoration: none; display: inline-block;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--e-out);
}
.tlink:hover::after { transform: scaleX(1); }

/* 注記 */
.note-ai {
  display: block; margin-top: 8px;
  font-size: 12px; line-height: 1.6; color: var(--c-muted);
}
.section--dark .note-ai { color: rgba(255, 255, 255, 0.7); }
.caution { color: var(--c-caution); font-weight: 700; }

/* カード */
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 4px;
  padding: 26px; will-change: transform;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.85; color: var(--c-muted); margin: 0; }

/* 写真の枠固定ホバーズーム */
.ph { overflow: hidden; border-radius: 4px; background: var(--c-base-sub); }
.ph img { width: 100%; transition: transform var(--t-mid) var(--e-out); }
.ph-zoom:hover img { transform: scale(1.05); }

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

/* =========================================================
   ファーストビュー
   ========================================================= */
.hero { position: relative; min-height: min(84vh, 720px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg,
      rgba(255,255,255,0.99) 0%,
      rgba(255,255,255,0.985) 38%,
      rgba(255,255,255,0.88) 52%,
      rgba(255,255,255,0.45) 68%,
      rgba(255,255,255,0.06) 88%);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0; max-width: 660px; }
.hero-area {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-accent-text); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(31px, 5.2vw, 55px); line-height: 1.32; letter-spacing: 0.005em; margin-bottom: 22px; }
.hero h1 .accent { color: var(--c-accent-text); }
.hero-lead { font-size: 17px; line-height: 1.95; color: var(--c-text); margin-bottom: 30px; max-width: 33em; }
.hero .btn-row { margin-bottom: 18px; }
.hero-meta { font-size: 14px; color: var(--c-muted); margin: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: "Barlow", sans-serif; font-size: 11px; letter-spacing: 0.18em; color: var(--c-muted);
}
.scroll-cue span[aria-hidden] {
  width: 1px; height: 34px; background: var(--c-accent-text);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.35; }
  50%      { transform: scaleY(1);    opacity: 1; }
}

/* 下層ページのFV（帯） */
.page-hero { position: relative; background: var(--c-dark); color: #fff; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; opacity: 0.3; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { position: relative; z-index: 1; padding: 64px 0 58px; }
.page-hero h1 { font-size: clamp(27px, 4vw, 42px); margin-bottom: 14px; color: #fff; }
.page-hero p { font-size: 16px; color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 60em; }

.breadcrumb { font-size: 13px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li::after { content: "／"; margin-left: 8px; color: var(--c-muted); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-text); font-weight: 700; }

/* =========================================================
   ドラッグ比較スライダー（主役）
   ========================================================= */
.compare {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: 4px; overflow: hidden; background: var(--c-base-sub);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; -webkit-user-drag: none;
}
.compare .cmp-after { clip-path: inset(0 0 0 50%); }

.cmp-tag {
  position: absolute; top: 14px; z-index: 3;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 14px; border-radius: 999px; pointer-events: none;
}
.cmp-tag--before { left: 14px; background: rgba(26, 26, 26, 0.82); color: #fff; }
.cmp-tag--after  { right: 14px; background: var(--c-accent-text); color: #fff; }

.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4;
  width: 56px; margin-left: -28px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: ew-resize;
  touch-action: none;
}
.cmp-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 59, 82, 0.28);
}
.cmp-knob {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 12px rgba(15, 59, 82, 0.32);
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.cmp-knob::before, .cmp-knob::after {
  content: ""; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.cmp-knob::before { border-right: 8px solid var(--c-accent-text); }
.cmp-knob::after  { border-left: 8px solid var(--c-accent-text); }
.cmp-handle:focus-visible { outline: none; }
.cmp-handle:focus-visible .cmp-knob { outline: 3px solid var(--c-accent-text); outline-offset: 3px; }

.cmp-hint {
  position: absolute; left: 50%; bottom: 14px; z-index: 3;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.93); color: var(--c-text);
  font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 999px;
  pointer-events: none; white-space: nowrap;
  transition: opacity var(--t-fast) var(--e-in);
}
.compare.is-touched .cmp-hint { opacity: 0; }

.compare-block { max-width: 880px; margin-inline: auto; }
.compare-caption { margin-top: 14px; text-align: center; }
.compare-caption .lead { font-size: 16px; font-weight: 700; margin-bottom: 4px; }

/* =========================================================
   3つの理由
   ========================================================= */
.reason { text-align: center; padding: 8px; }
.reason img { width: 68px; height: 68px; margin: 0 auto 18px; }
.reason h3 { font-size: 20px; margin-bottom: 12px; }
.reason p { font-size: 15px; color: var(--c-muted); margin: 0; }

/* 部位カード */
.part-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; overflow: hidden; }
.part-card .ph { border-radius: 0; }
.part-card .part-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.part-card h3 { font-size: 18px; margin-bottom: 8px; }
.part-card p { font-size: 14px; color: var(--c-muted); margin: 0 0 14px; flex: 1; }
.part-card .more { font-size: 14px; font-weight: 700; color: var(--c-accent-text); }

/* =========================================================
   比較表
   ========================================================= */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { min-width: 720px; font-size: 15px; background: #fff; }
.cmp-table th, .cmp-table td {
  border: 1px solid var(--c-border); padding: 15px 16px; vertical-align: top; text-align: left;
  line-height: 1.75;
}
.cmp-table thead th { background: var(--c-dark); color: #fff; font-size: 15px; text-align: center; }
.cmp-table thead th:first-child { background: #0b2c3e; width: 130px; }
.cmp-table tbody th { background: var(--c-base-sub); font-weight: 700; width: 130px; }
.cmp-table .is-ours { background: #F5FAFD; }
.cmp-table .tag-ok { color: var(--c-accent-text); font-weight: 700; }

/* 料金表 */
.price-table { font-size: 16px; background: #fff; }
.price-table th, .price-table td { border: 1px solid var(--c-border); padding: 14px 18px; text-align: left; }
.price-table thead th { background: var(--c-dark); color: #fff; }
.price-table tbody th { background: var(--c-base-sub); font-weight: 700; }
.price-table td.price { font-family: "Barlow", "Noto Sans JP", sans-serif; font-weight: 600; font-size: 18px; white-space: nowrap; }
.price-note { font-size: 14px; color: var(--c-muted); margin-top: 16px; }

/* 情報表 */
.info-table { font-size: 16px; }
.info-table th, .info-table td { border-bottom: 1px solid var(--c-border); padding: 17px 4px; text-align: left; vertical-align: top; }
.info-table th { width: 190px; font-weight: 700; color: var(--c-accent-text); }

/* =========================================================
   ステップ
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: 4px; padding: 26px 22px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 30px;
  color: var(--c-accent); line-height: 1; display: block; margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* =========================================================
   よくある質問（アコーディオン）
   ========================================================= */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; gap: 14px;
  background: none; border: 0; padding: 22px 4px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 17px; text-align: left; color: var(--c-text);
  min-height: 44px;
}
.faq-q .qmark { font-family: "Barlow", sans-serif; color: var(--c-accent-text); font-size: 19px; flex-shrink: 0; }
.faq-q .qtext { flex: 1; }
.faq-q .qicon { position: relative; width: 18px; height: 18px; flex-shrink: 0; margin-top: 6px; }
.faq-q .qicon::before, .faq-q .qicon::after {
  content: ""; position: absolute; background: var(--c-accent-text);
  transition: transform var(--t-fast) var(--e-out);
}
.faq-q .qicon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-q .qicon::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .qicon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; }
.faq-a-inner { padding: 0 4px 24px 36px; font-size: 16px; color: var(--c-muted); }
.faq-a[hidden] { display: none; }

/* =========================================================
   タブ（施工事例）
   ========================================================= */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab {
  min-height: 48px; padding: 11px 24px; border-radius: 999px;
  border: 1px solid var(--c-accent-text); background: #fff;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--c-accent-text);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.tab:hover { background: var(--c-base-sub); }
.tab[aria-selected="true"] { background: var(--c-accent-text); color: #fff; }
.tabpanel[hidden] { display: none; }

.work-card { border: 1px solid var(--c-border); border-radius: 4px; overflow: hidden; background: #fff; }
.work-body { padding: 22px 24px 24px; }
.work-body h3 { font-size: 19px; margin-bottom: 10px; }
.work-body p { font-size: 15px; color: var(--c-muted); margin: 0 0 14px; }
.work-spec { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.work-spec li {
  font-size: 13px; font-weight: 700; background: var(--c-base-sub);
  color: var(--c-accent-text); padding: 5px 13px; border-radius: 999px;
}

.notice-bar {
  background: var(--c-base-sub); border-left: 4px solid var(--c-accent);
  padding: 18px 22px; font-size: 15px; border-radius: 0 4px 4px 0;
}

/* 2カラム（画像＋文章） */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split-media { order: 2; }

/* 箇条書き（チェック） */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 8px; height: 14px; border-right: 3px solid var(--c-accent-text);
  border-bottom: 3px solid var(--c-accent-text); transform: rotate(42deg);
}
.section--dark .check-list li::before { border-color: var(--c-accent); }

/* エリア一覧 */
.area-group { border-top: 1px solid var(--c-border); padding: 22px 0; display: grid; grid-template-columns: 130px 1fr; gap: 18px; }
.area-group h3 { font-size: 17px; color: var(--c-accent-text); }
.area-group ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; }
.area-group li { font-size: 15px; background: var(--c-base-sub); padding: 5px 13px; border-radius: 4px; }

/* =========================================================
   CTA帯
   ========================================================= */
.cta-band { position: relative; background: var(--c-dark); color: #fff; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; opacity: 0.34; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .wrap { position: relative; z-index: 1; padding: 76px 0; text-align: center; }
.cta-band h2 { font-size: clamp(23px, 3vw, 33px); margin-bottom: 16px; color: #fff; }
.cta-band p { font-size: 16px; color: rgba(255, 255, 255, 0.9); margin-bottom: 30px; }
.cta-tel {
  display: inline-flex; flex-direction: column; align-items: center;
  color: #fff; text-decoration: none; margin-top: 26px;
}
.cta-tel .n { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 34px; line-height: 1.2; letter-spacing: 0.02em; }
.cta-tel .s { font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.cta-tel:hover .n { text-decoration: underline; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--c-dark); color: rgba(255, 255, 255, 0.88); padding: 68px 0 0; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-logo .logo-mark { color: #fff; font-size: 30px; }
.footer-logo .logo-sub { color: rgba(255, 255, 255, 0.7); }
.footer-info { margin-top: 18px; line-height: 1.95; }
.footer-info a { color: #fff; }
.footer-h { font-size: 15px; margin-bottom: 14px; color: #fff; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-area { font-size: 13px; line-height: 1.85; color: rgba(255, 255, 255, 0.78); }
.footer-area strong { color: #fff; display: inline-block; margin-right: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 22px 0 34px; }
.demo-note {
  font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, 0.78);
  margin: 0 0 12px; padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07); border-radius: 4px;
}
.copyright { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* SP固定CTA */
.sp-cta { display: none; }

/* =========================================================
   フォーム（見た目のみ）
   ========================================================= */
.form-demo { max-width: 760px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field .req { font-size: 12px; color: #fff; background: var(--c-accent-text); padding: 2px 8px; border-radius: 3px; margin-left: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--c-text);
  padding: 13px 15px; border: 1px solid #C8D4DC; border-radius: 4px; background: #fff;
  min-height: 52px;
}
.field textarea { min-height: 150px; line-height: 1.8; resize: vertical; }
.field .help { font-size: 13px; color: var(--c-muted); margin: 7px 0 0; }
.form-submit { text-align: center; margin-top: 36px; }
.form-submit .btn { min-width: 300px; }
.form-demo-note { font-size: 14px; color: var(--c-caution); font-weight: 700; margin-top: 14px; }

.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 24px; text-decoration: none; color: inherit;
}
.contact-card img { width: 54px; height: 54px; margin-bottom: 16px; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card .big { font-family: "Barlow", sans-serif; font-weight: 600; font-size: 27px; color: var(--c-accent-text); line-height: 1.3; word-break: break-all; }
.contact-card .s { font-size: 13px; color: var(--c-muted); margin: 4px 0 0; }

.map-placeholder {
  background: var(--c-base-sub); border: 1px dashed #B9C9D4; border-radius: 4px;
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--c-muted); font-size: 15px; padding: 24px;
}

/* 404 */
.err-page { padding: 120px 0 var(--sec-pad); text-align: center; }
.err-code { font-family: "Barlow", sans-serif; font-weight: 600; font-size: clamp(72px, 14vw, 140px); line-height: 1; color: var(--c-accent); margin-bottom: 12px; }
.err-page h1 { font-size: clamp(23px, 3.4vw, 33px); margin-bottom: 20px; }
.err-page p { color: var(--c-muted); margin-bottom: 34px; }

/* =========================================================
   基礎層アニメーション
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); }
.js-off .reveal, .no-anim .reveal { opacity: 1; transform: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .gnav { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: auto; width: 48px; height: 48px;
    background: none; border: 1px solid var(--c-border); border-radius: 4px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); transition: transform var(--t-fast) var(--e-out), opacity var(--t-fast) var(--e-out); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav.is-open {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--c-border);
    padding: 12px 20px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .gnav.is-open ul { flex-direction: column; gap: 0; }
  .gnav.is-open a { padding: 16px 4px; font-size: 16px; border-bottom: 1px solid var(--c-border); min-height: 44px; }
  .gnav.is-open a::after { content: none; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --sec-pad: 56px; --header-h: 72px; --gap: 18px; }
  body { font-size: 16px; }
  .header-tel { padding: 8px 13px; }
  .header-tel .t1 { font-size: 16px; }
  .header-tel .t2 { font-size: 10px; }
  .logo-mark { font-size: 22px; }
  .logo-sub { display: none; }

  .hero { min-height: 0; }
  .hero-bg::after { background: linear-gradient(178deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 52%, rgba(255,255,255,0.72) 100%); }
  .hero-inner { padding: 48px 0 64px; }
  .hero h1 { font-size: 28px; }
  .hero-lead { font-size: 16px; }
  .hero .btn-row .btn { width: 100%; }
  .scroll-cue { display: none; }

  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .area-group { grid-template-columns: 1fr; gap: 10px; }
  .info-table th { width: 128px; font-size: 14px; }
  .info-table th, .info-table td { padding: 13px 2px; font-size: 15px; }
  .sec-head { margin-bottom: 32px; }

  .cmp-handle { width: 64px; margin-left: -32px; }
  .cmp-knob { width: 56px; height: 56px; }
  .cmp-tag { font-size: 12px; padding: 5px 11px; top: 10px; }
  .cmp-tag--before { left: 10px; }
  .cmp-tag--after { right: 10px; }
  .cmp-hint { font-size: 12px; bottom: 10px; }

  .form-submit .btn { min-width: 0; width: 100%; }
  .cta-tel .n { font-size: 28px; }

  /* SP固定CTA（フッター直前まで表示） */
  .sp-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; inset: auto 0 0 0; z-index: 90;
    background: rgba(15, 59, 82, 0.2);
  }
  .sp-cta a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 60px; font-size: 15px; font-weight: 700; text-decoration: none;
  }
  .sp-cta .c-tel { background: var(--c-dark); color: #fff; }
  .sp-cta .c-mail { background: var(--c-accent-text); color: #fff; }
  body { padding-bottom: 60px; }
}

/* =========================================================
   モーション無効化
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ph-zoom:hover img { transform: none; }
  .scroll-cue span[aria-hidden] { animation: none; transform: scaleY(1); }
  /* ドラッグ比較のつまみ操作は残す（clip-path は JS が直接指定） */
}
