@charset "UTF-8";
/* ==========================================================================
   有限会社 本橋自動車修理工場 ／ リニューアル提案デモ
   配色は 13_Web構成.md 第5章（G5選定シート）を正とする。色相は変更しない。
   ========================================================================== */

:root {
  /* --- カラー（G5選定シート） --- */
  --c-base:        #FFFFFF; /* ベース */
  --c-base-2:      #FBF6F7; /* ベース補助：セクション区切り面 */
  --c-accent:      #D89AA6; /* アクセント（面・帯）※文字色には使わない */
  --c-accent-head: #BD5468; /* アクセント（見出し） */
  --c-accent-btn:  #A8465A; /* アクセント（ボタン塗り・小さい文字・リンク） */
  --c-sub:         #7FB5D5; /* サブ（面・図解） */
  --c-sub-text:    #3578A0; /* サブ（文字・補助見出し）※色相202°のまま明度のみ調整（#FBF6F7上で4.52:1） */
  --c-ink:         #2A2E33; /* 本文 */
  --c-ink-70:      #5A6068;
  --c-line:        #E7DDDF;

  /* --- 文字 --- */
  --f-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --fs-body: 17px;
  --lh-body: 1.9;

  /* --- レイアウト --- */
  --w-max: 1120px;
  --pad-x: 24px;
  --header-h: 84px;
  --header-h-sm: 60px;

  /* --- 速度は3種類のみ（150-200ms / 400-700ms / 1000ms以上） --- */
  --t-fast: 180ms;
  --t-fast-2: 200ms;
  --t-mid: 600ms;
  --t-mid-2: 700ms;
  --t-slow: 1200ms;

  /* --- イージング：出現=ease-out ／ 消失=ease-in ／ 往復=spring --- */
  --e-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --e-in: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --e-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ==========================================================================
   ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-base);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-accent-btn); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--c-sub-text);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-accent-head);
  margin: 0;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--c-accent-btn); color: #fff; padding: 12px 20px;
  border-radius: 6px; text-decoration: none; font-weight: 700;
  transition: top var(--t-fast) var(--e-out);
}
.skip-link:focus { top: 12px; }

/* 見出しは本文の1.6倍以上（現行サイトは見出しのほうが小さい） */
.sec-title {
  font-size: clamp(28px, 3.2vw, 40px); /* 本文17px の 1.65〜2.35倍 */
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.sec-lead {
  font-size: 17px;
  color: var(--c-ink-70);
  margin-bottom: 40px;
}
.sec-title--center, .sec-lead--center { text-align: center; }

.sec {
  padding: 88px 0;
}
.sec--tint { background: var(--c-base-2); }

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-sub-text);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 44px; height: 4px;
  background: var(--c-accent);
  border-radius: 2px;
  margin-top: 6px;
}

/* ==========================================================================
   ボタン（高さ56px以上・左右余白32px以上／塗りは #A8465A ＋ 白文字）
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--e-spring),
              background-color var(--t-fast-2) var(--e-out),
              border-color var(--t-fast-2) var(--e-out);
}
.btn:active { transform: scale(0.97); } /* 押し込み 0.97倍・spring */

.btn--tel {
  background: var(--c-accent-btn);
  color: #fff;
}
.btn--tel:hover { background: #943D50; }

.btn--ghost {
  background: #fff;
  color: var(--c-accent-btn);
  border-color: var(--c-accent-btn);
}
.btn--ghost:hover { background: var(--c-base-2); }

.btn--sub {
  background: var(--c-sub-text);
  color: #fff;
}
.btn--sub:hover { background: #2A6284; }

.btn--lg {
  min-height: 72px;
  padding: 14px 40px;
  font-size: 19px;
}

.btn__num {
  font-size: 1.15em;
  letter-spacing: 0.02em;
}
.btn__ico { width: 22px; height: 22px; flex: none; }

/* ボタン内の文言は語のまとまりで折り返す（「電話／で聞く」のような分断を防ぐ）。
   .btn は inline-flex なので、まとまりは .btn__label で1つのアイテムに包む。 */
.btn__label { display: inline-block; text-align: center; }
.btn__t { display: inline-block; }

/* ==========================================================================
   ヘッダー（スクロールで縮小・半透明。電話ボタンを常時表示）
   ========================================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--c-line);
  transition: background-color var(--t-fast-2) var(--e-out),
              box-shadow var(--t-fast-2) var(--e-out);
}
.hdr__inner {
  max-width: 1320px;
  margin-inline: auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: height var(--t-fast-2) var(--e-out);
}
.hdr.is-small {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(42, 46, 51, 0.08);
}
.hdr.is-small .hdr__inner { height: var(--header-h-sm); }
.hdr.is-small .hdr__sub { opacity: 0; }

.hdr__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--c-ink);
  flex: none;
}
.hdr__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-accent-head);
  white-space: nowrap;
}
.hdr__sub {
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-ink-70);
  transition: opacity var(--t-fast-2) var(--e-in);
}

.hdr__nav { margin-left: auto; }
.hdr__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hdr__list a {
  display: block;
  white-space: nowrap;
  padding: 8px 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  border-radius: 6px;
  border-bottom: 3px solid transparent;
  transition: color var(--t-fast-2) var(--e-out),
              border-color var(--t-fast-2) var(--e-out),
              background-color var(--t-fast-2) var(--e-out);
}
.hdr__list a:hover { background: var(--c-base-2); color: var(--c-accent-btn); }
.hdr__list a[aria-current="page"] {
  color: var(--c-accent-head);
  border-bottom-color: var(--c-accent);
  font-weight: 700;
}

.hdr__tel {
  flex: none;
  min-height: 56px;
  padding: 10px 24px;
  font-size: 16px;
}

.hdr__toggle {
  display: none;
  width: 52px; height: 52px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.hdr__toggle span,
.hdr__toggle span::before,
.hdr__toggle span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-ink);
  margin-inline: auto;
  content: "";
  position: relative;
}
.hdr__toggle span::before { top: -7px; position: absolute; left: 0; }
.hdr__toggle span::after { top: 7px; position: absolute; left: 0; }

body { padding-top: var(--header-h); }

/* ==========================================================================
   ファーストビュー
   ========================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-base-2);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.93) 58%,
    rgba(255, 255, 255, 0.35) 72%,
    rgba(255, 255, 255, 0.06) 84%,
    rgba(255, 255, 255, 0)    94%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-max);
  margin-inline: auto;
  padding: 72px var(--pad-x);
  width: 100%;
}
.hero__box { max-width: 720px; }
.hero__title {
  font-size: clamp(29px, 3.4vw, 42px);
  line-height: 1.4;
  margin-bottom: 20px;
}
.hero__title .br { display: block; }
.hero__lead {
  font-size: 17px;
  color: var(--c-ink);
  margin-bottom: 28px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0; list-style: none;
}
.hero__badges li {
  background: #fff;
  border: 1px solid var(--c-accent);
  color: var(--c-accent-head);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { font-size: 14px; color: var(--c-ink-70); margin-top: 18px; }

/* スクロール誘導矢印（上下に揺れる） */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--c-sub-text);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.scroll-cue__arrow {
  width: 22px; height: 22px;
  border-right: 3px solid var(--c-sub-text);
  border-bottom: 3px solid var(--c-sub-text);
  transform: rotate(45deg);
  animation: cue 1600ms var(--e-out) infinite;
}
@keyframes cue {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50%      { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ==========================================================================
   主役層：リフト（ピン留め）
   ========================================================================== */
.lift { background: var(--c-base-2); }
.lift__pin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.lift__head { text-align: center; margin-bottom: 28px; }
.lift__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  width: 100%;
}
.lift__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #EDEDED;
  box-shadow: 0 10px 34px rgba(42, 46, 51, 0.14);
}
.lift__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--t-mid) var(--e-out); /* クロスフェード 600ms */
}
.lift__media img.is-on { opacity: 1; }

.lift__side { min-width: 0; }
.lift__dots {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.lift__dots li {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-accent);
  transition: background-color var(--t-fast-2) var(--e-out),
              transform var(--t-fast-2) var(--e-out);
}
.lift__dots li.is-on {
  background: var(--c-accent-btn);
  border-color: var(--c-accent-btn);
  transform: scale(1.05);
}
.lift__texts { position: relative; min-height: 230px; }
.lift__text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-mid) var(--e-out);
  pointer-events: none;
}
.lift__text.is-on { opacity: 1; pointer-events: auto; }
.lift__step {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--c-sub-text);
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 10px;
}
.lift__car {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 10px;
}
.lift__desc { font-size: 17px; color: var(--c-ink); }
.lift__after {
  text-align: center;
  padding-bottom: 88px;
}
.lift__after .btn { margin-top: 8px; }

/* 768px未満：ピン留めを解除し、5ブロックの縦積みに戻す */
.lift__list { display: none; }

@media (max-width: 767px) {
  .lift__pin { display: none; }
  .lift__list {
    display: block;
    padding: 8px var(--pad-x) 0;
    max-width: var(--w-max);
    margin-inline: auto;
  }
  .lift__block {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(42, 46, 51, 0.08);
  }
  .lift__block img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
  .lift__block-body { padding: 20px; }
  .lift__mhead { text-align: center; padding: 0 var(--pad-x) 24px; }
}

/* ==========================================================================
   4つの事実（カウントアップ）
   ========================================================================== */
.facts { background: #fff; }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.fact {
  text-align: center;
  padding: 32px 18px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-base-2);
}
.fact__num {
  display: block;
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-accent-head);
  letter-spacing: 0.01em;
}
.fact__unit { font-size: 0.44em; margin-left: 2px; }
.fact__label {
  display: block;
  font-size: 15px;
  color: var(--c-ink);
  margin-top: 10px;
  line-height: 1.7;
}

/* ==========================================================================
   こんなときに（訪問者の言葉）
   ========================================================================== */
.needs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.need {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 26px 22px;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform var(--t-fast-2) var(--e-out),
              box-shadow var(--t-fast-2) var(--e-out),
              border-color var(--t-fast-2) var(--e-out);
}
.need:hover {
  transform: scale(1.03); /* カードのホバー拡大 1.03倍・200ms */
  box-shadow: 0 10px 26px rgba(42, 46, 51, 0.12);
  border-color: var(--c-accent);
}
.need__ico { width: 56px; height: 56px; }
.need__txt { font-size: 17px; font-weight: 700; line-height: 1.7; }
.need__go {
  margin-top: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent-btn);
}

/* ==========================================================================
   カード（サービス・実例）
   ========================================================================== */
.cards {
  display: grid;
  gap: 24px;
}
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform var(--t-fast-2) var(--e-out),
              box-shadow var(--t-fast-2) var(--e-out);
}
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(42, 46, 51, 0.13);
}
/* 写真のホバーズーム：枠は固定、中の画像だけ1.05倍・0.6秒 */
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #EEE;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid) var(--e-out);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__title { font-size: 21px; }
.card__text { font-size: 16px; line-height: 1.85; margin: 0; }
.card__foot { margin-top: auto; padding-top: 6px; }
.card__foot .btn { width: 100%; font-size: 15px; padding-inline: 20px; }

/* AI生成画像の注記 */
.ai-note {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-ink-70);
  margin-top: 6px;
}
.figure { margin: 0; }
.figure img { border-radius: 12px; }
.figure figcaption { font-size: 12px; color: var(--c-ink-70); margin-top: 6px; }

/* ==========================================================================
   工場と人
   ========================================================================== */
.people__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.people__item .frame {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
}
.people__item .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid) var(--e-out);
}
.people__item:hover .frame img { transform: scale(1.05); }
.people__cap { font-size: 15px; font-weight: 700; margin-top: 12px; }
.creed {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--c-accent-head);
  line-height: 1.8;
}

/* ==========================================================================
   区切り帯
   ========================================================================== */
.band {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.74);
}
.band__inner { position: relative; z-index: 1; padding: 40px var(--pad-x); }
.band__title { font-size: clamp(22px, 2.6vw, 30px); }

/* ==========================================================================
   アクセス・営業時間
   ========================================================================== */
.access__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  aspect-ratio: 4 / 3;
  background: var(--c-base-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line);
  line-height: 1.85;
}
.info-table th {
  width: 33%;
  background: var(--c-base-2);
  color: var(--c-accent-head);
  font-weight: 700;
  white-space: nowrap;
}
.info-table tr:first-child th,
.info-table tr:first-child td { border-top: 1px solid var(--c-line); }
.info-table .note { font-size: 14px; color: var(--c-ink-70); display: block; }

/* 表の見出しに添える小アイコン */
.info-table th { position: relative; }
.th-ico {
  display: inline-block;
  width: 22px; height: 22px;
  vertical-align: -5px;
  margin-right: 8px;
}

/* 対象車種のアイコン列 */
.ico-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.ico-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 104px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.ico-row img { width: 42px; height: 42px; }

/* ==========================================================================
   CTA帯
   ========================================================================== */
.cta {
  background: var(--c-accent);
  padding: 64px 0;
  text-align: center;
}
.cta__title { font-size: clamp(24px, 2.8vw, 32px); color: #6E2A38; margin-bottom: 10px; }
.cta__lead { color: #4A2028; font-size: 16px; margin-bottom: 28px; }
.cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__hours { margin-top: 20px; font-size: 14px; color: #4A2028; }

/* ==========================================================================
   フッター
   ========================================================================== */
.ftr {
  background: var(--c-ink);
  color: #E9E6E4;
  padding: 56px 0 28px;
  font-size: 15px;
}
.ftr a { color: #F2D6DC; }
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.ftr__name { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ftr__addr { line-height: 1.9; margin: 0 0 16px; }
.ftr h3 {
  font-size: 15px;
  color: #F2D6DC;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.ftr__list { list-style: none; margin: 0; padding: 0; }
.ftr__list li { margin-bottom: 6px; }
.ftr__list a { text-decoration: none; }
.ftr__list a:hover { text-decoration: underline; }
.ftr__btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ftr__btns .btn { width: 100%; }
.ftr__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.85;
  color: #C9C4C1;
}
.ftr__demo {
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--c-accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.85;
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */
.phead {
  position: relative;
  background: var(--c-base-2);
  padding: 56px 0;
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.phead__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.phead__bg img { width: 100%; height: 100%; object-fit: cover; }
.phead__bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.72);
}
.phead__inner { position: relative; z-index: 1; }
.phead__title { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.phead__lead { font-size: 17px; color: var(--c-ink); margin-bottom: 24px; max-width: 780px; }

.crumbs {
  font-size: 13px;
  color: var(--c-ink-70);
  padding: 14px 0 0;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li::after { content: "／"; margin-left: 8px; color: var(--c-line); }
.crumbs li:last-child::after { content: ""; }

.prose h3 {
  font-size: 24px;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 6px solid var(--c-accent);
  color: var(--c-accent-head);
}
.prose h3:first-child { margin-top: 0; }
.prose h4 {
  font-size: 19px;
  margin: 28px 0 8px;
  color: var(--c-sub-text);
}
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }

.panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 32px;
}
.panel--tint { background: var(--c-base-2); }

.notice {
  background: #fff;
  border: 2px solid var(--c-accent);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-ink);
}
.notice strong { color: var(--c-accent-head); }

/* 流れ4段階 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.flow li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 5px solid var(--c-sub);
  border-radius: 12px;
  padding: 24px 20px;
}
.flow__no {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-sub-text);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.flow__t { font-size: 19px; margin-bottom: 6px; }
.flow__d { font-size: 15px; margin: 0; line-height: 1.8; }

/* 沿革 */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 3px solid var(--c-accent); }
.timeline li { position: relative; padding: 0 0 28px 24px; }
.timeline li::before {
  content: "";
  position: absolute; left: -35px; top: 10px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-accent-btn);
}
.timeline b { display: block; font-size: 19px; color: var(--c-accent-head); }

/* タグ列 */
.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.taglist li {
  background: var(--c-base-2);
  border: 1px solid var(--c-accent);
  color: var(--c-ink);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 15px;
}

/* アコーディオン（FAQ） */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: none;
  border: 0;
  padding: 22px 8px;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-accent-head);
  text-align: left;
  cursor: pointer;
  line-height: 1.7;
  transition: color var(--t-fast-2) var(--e-out);
}
.acc__btn:hover { color: var(--c-accent-btn); }
.acc__q {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 16px;
}
.acc__mark {
  flex: none;
  margin-left: auto;
  width: 16px; height: 16px;
  border-right: 3px solid var(--c-accent-btn);
  border-bottom: 3px solid var(--c-accent-btn);
  transform: rotate(45deg);
  margin-top: 6px;
  transition: transform var(--t-fast) var(--e-out);
}
.acc__btn[aria-expanded="true"] .acc__mark { transform: rotate(-135deg); }
.acc__panel { overflow: hidden; }
.acc__panel[hidden] { display: none; }
.acc__inner {
  display: flex;
  gap: 14px;
  padding: 0 8px 24px;
  font-size: 16px;
  line-height: 1.9;
}
.acc__a {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-sub);
  color: var(--c-ink); /* 白文字は2.2:1で不足するため本文色（6.2:1） */
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

/* フォーム（見た目のみ） */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 16px; }
.field .req {
  font-size: 12px;
  background: var(--c-accent-btn);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid #C9BEC1;
  border-radius: 8px;
  background: #fff;
  color: var(--c-ink);
  width: 100%;
  min-height: 56px;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.field .help { font-size: 14px; color: var(--c-ink-70); }

/* 実例ページ */
.case-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.case-pair figure { margin: 0; }
.case-pair .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--c-sub-text);
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 8px;
}
.case-pair .tag--after { background: var(--c-accent-btn); }
.case-pair img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* 404 */
.err {
  text-align: center;
  padding: 100px 0 110px;
}
.err__code {
  font-size: 88px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 12px;
}
.err__title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.err__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   基礎層：出現アニメーションの初期状態
   （JSが無効・未読込のときは JS で is-ready を付ける前に見えるようにする）
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); }

/* ==========================================================================
   レスポンシブ（パソコン画面基準・崩れ防止）
   ========================================================================== */
@media (max-width: 1280px) {
  .hdr__inner { gap: 12px; }
  .hdr__list a { padding: 8px 7px; font-size: 14px; }
  .hdr__name { font-size: 16px; }
  .hdr__tel { padding: 10px 16px; font-size: 15px; }
  .hdr__tel .btn__num { font-size: 1.05em; }
}

@media (max-width: 1180px) {
  .hdr__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 12px 24px rgba(42, 46, 51, 0.1);
    display: none;
  }
  .hdr__nav.is-open { display: block; }
  .hdr__list { flex-direction: column; gap: 0; padding: 8px var(--pad-x) 16px; }
  .hdr__list a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .hdr__toggle { display: block; }
  .hdr__tel { padding: 10px 16px; font-size: 15px; }
  .hdr__tel .btn__num { font-size: 1em; }
  .facts__grid, .needs__grid, .cards--4, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3, .people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lift__stage { grid-template-columns: 1fr; gap: 24px; }
  .lift__texts { min-height: 190px; }
}

@media (max-width: 767px) {
  :root { --pad-x: 18px; --header-h: 68px; }
  .sec { padding: 60px 0; }
  .hero { min-height: 480px; }
  .hero__bg::after {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.9) 55%,
      rgba(255, 255, 255, 0.6) 100%);
  }
  .hdr__sub { display: none; }
  .hdr__tel { min-height: 48px; padding: 8px 14px; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta__btns .btn, .err__btns .btn { width: 100%; }
  .access__grid, .case-pair { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .info-table th { width: 38%; font-size: 15px; }
  .info-table th, .info-table td { padding: 12px; font-size: 15px; }
}

@media (max-width: 560px) {
  .facts__grid, .needs__grid, .cards--4, .cards--3, .cards--2,
  .people__grid, .flow { grid-template-columns: 1fr; }
}

/* ==========================================================================
   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;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-cue__arrow { animation: none; }
}
