@charset "UTF-8";
/* ==========================================================================
   横塚塗装工業 デモサイト
   カラーは 13_Web構成.md 5-1（G5選定シート）に準拠。色相の変更なし。
   グラデーションは使用しない（面はすべて単色）。
   ========================================================================== */

:root {
  /* ベース */
  --c-base: #FFFFFF;
  --c-base-2: #FAFAFA;
  /* 構造色（グレー） */
  --c-head: #2E313A;
  --c-body: #4A4E59;
  --c-sub: #696C76;
  --c-line: #E3E4E8;
  /* 行動色（ライトイエロー） */
  --c-cta: #F5CB4C;
  --c-cta-hover: #EBBE33;
  --c-cta-text: #2E313A;
  /* 補助面 */
  --c-tint: #FFF8E3;

  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 2px 12px rgba(46, 49, 58, .08);
  --shadow-card-hover: 0 8px 24px rgba(46, 49, 58, .14);

  --sec-pad: 96px;
  --wrap: 1120px;
  --header-h: 84px;
  --header-h-min: 60px;

  /* 速度は 150〜200ms / 400〜700ms / 1000ms以上 の3種のみ */
  --t-fast: 200ms;
  --t-mid: 600ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { 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-body);
  background: var(--c-base);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-body); }

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--c-head);
  line-height: 1.5;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--c-head);
  outline-offset: 2px;
}

/* ---------- レイアウト ---------- */
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { padding: var(--sec-pad) 0; }
.section--tint { background: var(--c-tint); }
.section--gray { background: var(--c-base-2); }

/* ---------- 見出し ---------- */
.h-lead {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-sub);
  margin-bottom: 8px;
}
.sec-title {
  font-size: 28px;
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
}
.sec-title::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 4px; height: 24px;
  background: var(--c-cta);
  border-radius: 2px;
}
.sec-desc { margin-bottom: 40px; max-width: 46em; }
.h3 { font-size: 20px; margin-bottom: 8px; }
.sec-icon { width: 40px; height: 40px; margin-bottom: 8px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out, color var(--t-fast) ease-out;
}
.btn--primary { background: var(--c-cta); color: var(--c-cta-text); }
.btn--primary:hover { background: var(--c-cta-hover); }
.btn--ghost { background: var(--c-base); color: var(--c-head); border-color: var(--c-head); }
.btn--ghost:hover { background: var(--c-head); color: #FFFFFF; }
.btn--tel { background: var(--c-cta); color: var(--c-cta-text); }
.btn--tel:hover { background: var(--c-cta-hover); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.btn__num { font-size: 20px; letter-spacing: .02em; }

/* テキストリンクの下線（左から右へ・200ms） */
.tlink {
  position: relative;
  display: inline-block;
  color: var(--c-head);
  font-weight: 700;
  text-decoration: none;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--c-cta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-fast) ease-out;
}
.tlink:hover::after, .tlink:focus-visible::after { transform: scaleX(1); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--c-base);
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
}
.header.is-shrunk { background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); }
.header__inner {
  width: min(100% - 32px, 1360px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-head);
  text-decoration: none;
  letter-spacing: .04em;
  white-space: nowrap;
}
.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 20px; }
.gnav__list a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-head);
  text-decoration: none;
  white-space: nowrap;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--c-cta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-fast) ease-out;
}
.gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); }

.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 20px;
  background: var(--c-cta);
  color: var(--c-cta-text);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--t-fast) ease-out;
}
.header__tel:hover { background: var(--c-cta-hover); }
.header__tel .num { font-size: 20px; }
.header__tel img { width: 22px; height: 22px; }

.navtoggle { display: none; }

/* body 側のヘッダー分の余白 */
.page { padding-top: var(--header-h); }

/* ---------- ファーストビュー（トップ） ---------- */
.hero { position: relative; background: var(--c-base-2); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: clamp(380px, 52vw, 620px); object-fit: cover; object-position: 30% 50%; }
.hero__panel {
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - var(--wrap)) / 2));
  transform: translateY(-50%);
  width: min(480px, 44vw);
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.hero__title { font-size: 34px; margin-bottom: 12px; }
.hero__sub { font-size: 17px; margin-bottom: 24px; }
.hero__area {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-head);
  background: var(--c-tint);
  border-radius: var(--radius-pill);
  padding: 4px 16px;
  margin-bottom: 16px;
}

/* スクロール誘導矢印 */
.scrolldown {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-head);
  text-decoration: none;
  background: rgba(255, 255, 255, .9);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}
.scrolldown img { width: 20px; height: 20px; transform: rotate(90deg); animation: bob 1600ms ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(6px); } }

/* ---------- 下層ヒーロー ---------- */
.hero-sub { position: relative; }
.hero-sub img { width: 100%; height: clamp(200px, 26vw, 300px); object-fit: cover; }
.hero-sub__body {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-sub__box {
  background: rgba(255, 255, 255, .92);
  border-radius: var(--radius-card);
  padding: 24px 32px;
}
.hero-sub__box h1 { font-size: 34px; }
.hero-sub__box p { font-size: 15px; color: var(--c-sub); margin: 4px 0 0; }

/* パンくず */
.crumbs { font-size: 14px; color: var(--c-sub); padding: 16px 0; }
.crumbs a { color: var(--c-sub); }

/* ---------- 比較スライダー（主役層） ---------- */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 1168 / 880;
  max-height: 620px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--c-base-2);
  box-shadow: var(--shadow-card);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__img--after { clip-path: inset(0 0 0 50%); }
.compare__label {
  position: absolute;
  top: 16px;
  z-index: 3;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-head);
  background: rgba(255, 255, 255, .92);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: var(--c-cta); }
.compare__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: #FFFFFF;
  z-index: 4;
  pointer-events: none;
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border: none;
  border-radius: 50%;
  background: var(--c-cta);
  color: var(--c-cta-text);
  box-shadow: 0 2px 12px rgba(46, 49, 58, .28);
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.06em;
  font-family: inherit;
}
.compare__handle:hover { background: var(--c-cta-hover); }
.compare__hint {
  text-align: center;
  font-size: 14px;
  color: var(--c-sub);
  margin-top: 12px;
}

/* AI生成の注記 */
.aicaption {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-sub);
  margin-top: 8px;
}

/* ---------- セルフチェック ---------- */
.check-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.check-card {
  background: var(--c-base);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.check-list li + li { margin-top: 4px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color var(--t-fast) ease-out;
}
.check-item:hover { background: var(--c-tint); }
.check-item input {
  width: 22px; height: 22px;
  margin: 6px 0 0;
  accent-color: var(--c-cta);
  flex: none;
  cursor: pointer;
}
.check-result {
  margin-top: 24px;
  background: var(--c-tint);
  border-radius: var(--radius-card);
  padding: 24px;
}
.check-result__title { font-size: 20px; margin-bottom: 4px; }
.check-result__note { font-size: 14px; color: var(--c-sub); margin: 0; }
.check-result .btn { margin-top: 16px; }
.check-photo { border-radius: var(--radius-card); overflow: hidden; }
.check-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- カード ---------- */
.cards { display: grid; gap: 24px; }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-base);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.card__media { overflow: hidden; }
.card__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--t-mid) ease-out;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-size: 20px; }
.card__text { font-size: 15px; line-height: 1.8; margin: 0; }
.card__more { margin-top: auto; padding-top: 12px; font-size: 15px; font-weight: 700; color: var(--c-head); }
.card__icon { width: 44px; height: 44px; margin-bottom: 4px; }

/* 事例カード */
.work { background: var(--c-base); border: 1px solid var(--c-line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.work__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--c-line); }
.work__fig { position: relative; margin: 0; background: var(--c-base); }
.work__fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.work__tag {
  position: absolute; left: 10px; top: 10px;
  font-size: 13px; font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  color: var(--c-head);
}
.work__tag--after { background: var(--c-cta); }
.work__body { padding: 20px; }
.work__body dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 15px; margin: 8px 0 0; }
.work__body dt { font-weight: 700; color: var(--c-head); }
.work__body dd { margin: 0; }

/* ---------- 補助金カード ---------- */
.subsidy-card {
  background: var(--c-base);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.subsidy-card__amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--c-head);
  background: var(--c-tint);
  border-radius: var(--radius-pill);
  padding: 4px 20px;
  align-self: flex-start;
}
.notebox {
  background: var(--c-base-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--c-sub);
  margin-top: 24px;
}

/* ---------- ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { text-align: center; }
.step__num {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid var(--c-head);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--c-head);
}
.step__title { font-size: 20px; margin-bottom: 4px; }
.step__text { font-size: 15px; line-height: 1.8; margin: 0; }

/* ---------- 概要テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--c-line);
  font-size: 17px;
  vertical-align: top;
}
.info-table th { width: 200px; font-weight: 700; color: var(--c-head); background: var(--c-base-2); }

/* ---------- 2カラム ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media { border-radius: var(--radius-card); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- アコーディオン ---------- */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__btn {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 8px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-head);
  text-align: left;
  cursor: pointer;
}
.acc__mark { flex: none; width: 24px; height: 24px; position: relative; }
.acc__mark::before, .acc__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--c-head);
  transform: translate(-50%, -50%);
}
.acc__mark::before { width: 16px; height: 2px; }
.acc__mark::after { width: 2px; height: 16px; transition: opacity var(--t-fast) ease-out; }
.acc__btn[aria-expanded="true"] .acc__mark::after { opacity: 0; }
.acc__panel { overflow: hidden; }
.acc__panel[hidden] { display: none; }
.acc__panel > div { padding: 0 8px 20px; font-size: 17px; }

/* ---------- CTA帯 ---------- */
.ctaband { position: relative; padding: 0; }
.ctaband__bg { position: absolute; inset: 0; }
.ctaband__bg img { width: 100%; height: 100%; object-fit: cover; }
.ctaband__veil { position: absolute; inset: 0; background: rgba(255, 255, 255, .82); }
.ctaband__inner { position: relative; padding: var(--sec-pad) 0; text-align: center; }
.ctaband__title { font-size: 28px; margin-bottom: 8px; }
.ctaband__lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
.telcard {
  background: var(--c-base);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 28px;
  text-decoration: none;
  color: inherit;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.telcard__label { font-size: 14px; font-weight: 700; color: var(--c-sub); }
.telcard__num { font-size: 24px; font-weight: 700; color: var(--c-head); letter-spacing: .02em; }
.telcard__note { font-size: 13px; color: var(--c-sub); }
.telcard img { width: 28px; height: 28px; }

/* ---------- 連絡導線3分割 ---------- */
.contact3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact3 .telcard { min-width: 0; padding: 28px 20px; height: 100%; justify-content: center; }

/* ---------- フォーム ---------- */
.form { background: var(--c-base); border: 1px solid var(--c-line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 32px; }
.formnote {
  background: var(--c-tint);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-head);
  margin-bottom: 24px;
}
.field { margin-bottom: 24px; }
.field > label, .field__legend { display: block; font-weight: 700; color: var(--c-head); margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-base);
  border: 1px solid var(--c-sub);
  border-radius: 10px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field__help { font-size: 14px; color: var(--c-sub); margin: 4px 0 0; }
.field fieldset { border: none; margin: 0; padding: 0; }
.radios { display: grid; gap: 4px; }
.radio-item {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 6px 12px;
  border-radius: 10px; cursor: pointer;
}
.radio-item:hover { background: var(--c-tint); }
.radio-item input { width: 22px; height: 22px; accent-color: var(--c-cta); cursor: pointer; }

/* ---------- フッター ---------- */
.footer { background: var(--c-head); color: #E7E8EB; padding: 56px 0 120px; }
.footer a { color: #E7E8EB; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer__logo { font-size: 20px; font-weight: 700; color: #FFFFFF; display: block; margin-bottom: 12px; }
.footer__addr { font-size: 15px; line-height: 1.9; margin: 0; }
.footer__tel { font-size: 24px; font-weight: 700; color: #FFFFFF; text-decoration: none; display: inline-block; margin-top: 8px; }
.footer__navtitle { font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; }
.footer__nav li { font-size: 15px; line-height: 2.1; }
.footer__demo {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 14px;
  line-height: 1.9;
  color: #C7C9CF;
}
.footer__copy { font-size: 13px; color: #A9ACB4; margin-top: 12px; }

/* ---------- SP固定バー ---------- */
.spbar { display: none; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 34px; margin-bottom: 12px; }

/* ---------- 基礎層アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.no-motion .reveal, .is-revealed { opacity: 1; transform: none; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 1100px) {
  .cards--5 { grid-template-columns: repeat(3, 1fr); }
  .gnav__list { gap: 14px; }
  .gnav__list a { font-size: 14px; }
}

@media (max-width: 900px) {
  .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --sec-pad: 64px; --header-h: 64px; }

  .wrap { width: calc(100% - 32px); }

  /* ヘッダー：ハンバーガー */
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-base);
    padding: 24px;
    overflow-y: auto;
    margin-left: 0;
  }
  .gnav[hidden] { display: none; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list li { border-bottom: 1px solid var(--c-line); }
  .gnav__list a { display: block; padding: 16px 4px; font-size: 17px; }
  .gnav__list a::after { display: none; }

  .navtoggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    width: 48px; height: 48px;
    margin-left: 8px;
    padding: 0;
    background: none;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    cursor: pointer;
  }
  .navtoggle__bars { position: relative; width: 20px; height: 14px; display: block; }
  .navtoggle__bars::before, .navtoggle__bars::after, .navtoggle__bars span {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--c-head);
  }
  .navtoggle__bars::before { top: 0; }
  .navtoggle__bars span { top: 6px; }
  .navtoggle__bars::after { bottom: 0; }

  .header__inner { gap: 8px; }
  .logo { font-size: 17px; }
  .header__tel { margin-left: auto; padding: 6px 14px; }
  .header__tel .num { font-size: 17px; }
  .header__tel .label { display: none; }

  /* ヒーロー */
  .hero__media img { height: 260px; object-position: 40% 50%; }
  .hero__panel {
    position: static;
    transform: none;
    width: auto;
    margin: -32px 16px 0;
    padding: 24px;
  }
  .hero__title { font-size: 26px; }
  .scrolldown { display: none; }

  .hero-sub img { height: 160px; }
  .hero-sub__box { padding: 16px 20px; }
  .hero-sub__box h1 { font-size: 24px; }

  .sec-title { font-size: 24px; }
  .sec-desc { margin-bottom: 28px; }

  .cards--5, .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; gap: 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { border-bottom: none; }
  .form { padding: 20px; }
  .compare { max-height: none; }
  .compare__handle { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

  /* SP固定バー（電話／相談する の2分割） */
  .spbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    background: var(--c-base);
    border-top: 1px solid var(--c-line);
    box-shadow: 0 -2px 12px rgba(46, 49, 58, .08);
  }
  .spbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 60px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: var(--c-head);
  }
  .spbar a img { width: 22px; height: 22px; }
  .spbar__tel { background: var(--c-base); }
  .spbar__form { background: var(--c-cta); color: var(--c-cta-text); }
  .footer { padding-bottom: 100px; }
}

/* ==========================================================================
   prefers-reduced-motion：全アニメーションを無効化
   ========================================================================== */
@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;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .scrolldown img { animation: none !important; }
  .card:hover .card__media img { transform: none !important; }
}

/* 印刷時 */
@media print {
  .header, .spbar, .scrolldown { display: none !important; }
  .page { padding-top: 0; }
}
