@charset "UTF-8";
/* ============================================================
   株式会社中嶋造園 リニューアル提案用デモサイト
   配色は 13_Web構成.md 5-1（G5選定シート）に準拠。色相は変更していない。
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root {
  /* ベース */
  --c-base:        #FFFFFF;
  --c-base-2:      #FAF8F7;
  /* サブ（えんじ） */
  --c-enji:        #800000;
  --c-enji-dark:   #660000;
  /* アクセント（薄ピンク） */
  --c-pink-face:   #FBEEF0;
  --c-pink-mid:    #EFC9D0;
  --c-pink-cta:    #B8455C;
  /* 文字 */
  --c-text:        #2B2B2B;
  --c-muted:       #5A5A5A;

  --radius:        8px;
  --shadow:        0 2px 12px rgba(0, 0, 0, .06);
  --maxw:          1120px;
  --gutter:        24px;
  --section-gap:   96px;

  --font-head:     "Zen Old Mincho", "Yu Mincho", "YuMincho", serif;
  --font-body:     "Noto Sans JP", "Hiragino Sans", "Meiryo", sans-serif;

  --header-h:      104px;
  --header-h-sm:   68px;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-base);
  overflow-x: hidden;
}
/* ---------- 日本語の折り返し ----------
   ・auto-phrase … 文節の区切りで折り返す（「施工事例」のような語の途中で切らない）
   ・strict      … 行頭・行末に来てはいけない記号の扱いを厳密にする
   ・balance     … 見出しや短い文で、行の長さをそろえる（1文字だけ残さない）
   ・pretty      … 長い本文で、最終行に1〜2文字だけ残るのを避ける            */
/* すべての文章：行頭・行末の記号の扱いを厳密にする */
h1, h2, h3, h4, p, li, dt, dd, figcaption, caption, th, td,
label, .lead, .note, .case__ph, .btn {
  line-break: strict;
}
/* 見出し・ボタンなど「短くて折り返しが目立つ文字」だけ、文節で折り返して行長をそろえる。
   本文にまで文節折り返しをかけると、行末が大きく余って読みにくくなるため広げない。 */
h1, h2, h3, h4, .btn, .lead, .estimate__name, .plan__cond,
.stat__label, .header__logo, .footer__name, .price-badge .cond {
  word-break: auto-phrase;
  text-wrap: balance;
}
/* セクションの導入文・短い説明も、2〜3行に収まるので文節で折り返す */
.section__head p, .promise p, .flow p, .callout p, .case h3, .card h3 {
  word-break: auto-phrase;
  text-wrap: balance;
}
/* 本文：最終行に1〜2文字だけ残るのを避ける */
p, li, dd, .case__ph, .card p, .media p, .table-info td, .note {
  text-wrap: pretty;
}
/* 連続した英数字（メールアドレス等）だけは、はみ出すより折り返す */
.contact-box .mail, .footer a[href^="mailto:"], .table-info a[href^="mailto:"] {
  word-break: break-all;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); object-fit: cover; }
a { color: var(--c-pink-cta); }
a:hover { color: var(--c-enji-dark); }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.5; color: var(--c-enji); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
p  { margin: 0 0 1.2em; }

/* キーボード操作時のフォーカスを必ず見せる */
:focus-visible {
  outline: 3px solid var(--c-pink-cta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-enji); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- レイアウト ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-gap); }
.section--alt { background: var(--c-base-2); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head p { color: var(--c-muted); margin-bottom: 0; }
.lead { font-size: 18px; }
.note { font-size: 14px; line-height: 1.7; color: var(--c-muted); margin: 8px 0 0; }
.note--img { margin: 8px 0 0; }
.center { text-align: center; }
.section__head.center { margin-inline: auto; }

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

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 14px 28px;
  font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.4;
  text-align: center; text-decoration: none; cursor: pointer;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.btn--primary { background: var(--c-pink-cta); color: #fff; }
.btn--primary:hover { background: var(--c-enji-dark); color: #fff; }
.btn--tel { background: var(--c-enji); color: #fff; }
.btn--tel:hover { background: var(--c-enji-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--c-enji); border-color: var(--c-enji); }
.btn--ghost:hover { background: var(--c-pink-face); color: var(--c-enji-dark); }
.btn--sm { min-height: 46px; padding: 10px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--c-enji);
  will-change: padding-block, background-color;
}
.header__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.header__logo { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--c-enji); text-decoration: none; line-height: 1.3; white-space: nowrap; }
.header__logo:hover { color: var(--c-enji-dark); }
.header__logo small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--c-muted); letter-spacing: .04em; }
/* ナビは常に2段目に置き、1段目は「社名／電話／見積りボタン」で固定する */
.gnav { order: 3; width: 100%; border-top: 1px solid var(--c-pink-mid); padding-top: 8px; }
.gnav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.gnav a { font-size: 16px; color: var(--c-text); text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.gnav a:hover { color: var(--c-enji); border-bottom-color: var(--c-pink-mid); }
.gnav a[aria-current="page"] { color: var(--c-enji); border-bottom-color: var(--c-enji); font-weight: 700; }
.header__cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__tel { text-decoration: none; color: var(--c-enji); line-height: 1.25; white-space: nowrap; display: block; }
.header__tel .num { font-size: 24px; font-weight: 700; font-family: var(--font-body); letter-spacing: .01em; }
.header__tel .hours { display: block; font-size: 12px; color: var(--c-muted); }
.header__tel:hover .num { color: var(--c-enji-dark); }

/* ---------- ヒーロー（トップ） ---------- */
.hero { background: var(--c-base-2); padding-block: 48px 56px; }
.hero__head { max-width: 900px; margin-bottom: 28px; }
.hero__head h1 { margin-bottom: .3em; }
.hero__head p { color: var(--c-muted); margin-bottom: 0; }

/* 主役層：ドラッグ比較スライダー */
.compare {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--c-base-2);
  touch-action: pan-y; cursor: ew-resize; user-select: none;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare__img img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
/* 上に重ねる「作業前」を、つまみの位置で右側から隠す */
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare__label {
  position: absolute; top: 16px; z-index: 3;
  background: rgba(255, 255, 255, .92); color: var(--c-enji);
  font-size: 15px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius);
  border: 1px solid var(--c-pink-mid);
}
.compare__label--before { left: 16px; }
.compare__label--after  { right: 16px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 4;
  width: 4px; margin-left: -2px; background: var(--c-pink-mid);
  border: 0; padding: 0; cursor: ew-resize;
}
.compare__handle::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  background: var(--c-pink-mid); border: 3px solid var(--c-enji); border-radius: 50%;
  box-shadow: var(--shadow);
}
.compare__handle::after {
  content: "◀ ▶"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-size: 13px; color: var(--c-enji);
  letter-spacing: -1px; white-space: nowrap; pointer-events: none;
}
.compare__handle:focus-visible { outline: 3px solid var(--c-enji); outline-offset: 4px; }

/* 定額バッジ：PCはスライダー右下に固定 */
.hero__stage { position: relative; }
.price-badge {
  background: var(--c-pink-face); border: 2px solid var(--c-enji);
  border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow);
}
.price-badge .ttl { display: block; font-size: 14px; font-weight: 700; color: var(--c-enji); line-height: 1.6; }
.price-badge .amount { display: block; font-family: var(--font-body); font-weight: 700; font-size: 34px; line-height: 1.3; color: var(--c-enji); }
.price-badge .amount small { font-size: 17px; }
.price-badge .cond { display: block; font-size: 13px; line-height: 1.7; color: var(--c-text); }
.hero__stage .price-badge { position: absolute; right: 20px; bottom: 20px; z-index: 5; max-width: 340px; }
.hero__badge-sp { display: none; }

.scroll-arrow {
  display: block; width: 44px; height: 44px; margin: 28px auto 0;
  border: 0; background: none; cursor: pointer; color: var(--c-enji);
  animation: arrowBob 1600ms ease-in-out infinite;
}
.scroll-arrow svg { width: 100%; height: 100%; }
@keyframes arrowBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ---------- 下層ページのヒーロー ---------- */
.page-hero { background: var(--c-base-2); border-bottom: 1px solid var(--c-pink-mid); padding-block: 56px; }
.page-hero h1 { margin-bottom: .2em; }
.page-hero p { color: var(--c-muted); margin-bottom: 0; }
.breadcrumb { font-size: 14px; color: var(--c-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-enji); }

/* ---------- カード ---------- */
.card {
  background: #fff; border: 1px solid var(--c-pink-mid); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; height: 100%;
  will-change: transform;
}
.card h3 { font-size: 20px; margin-bottom: .5em; }
.card p { font-size: 16px; margin-bottom: 1em; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }

/* 装飾層2：写真のホバーズーム（枠固定・中の画像のみ） */
.zoom { overflow: hidden; border-radius: var(--radius); }
.zoom img { border-radius: 0; transition: transform 600ms ease-out; width: 100%; }
.zoom:hover img, a:hover .zoom img { transform: scale(1.05); }
.card--photo .zoom { border-radius: 0; }

/* 約束（アイコン3点） */
.promise { text-align: center; }
.promise img { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 0; }
.promise h3 { font-size: 20px; }
.promise p { font-size: 16px; color: var(--c-text); margin-bottom: 0; }

/* ---------- 料金 ---------- */
.band { position: relative; padding-block: var(--section-gap); background-size: cover; background-position: center; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .72); }
.band > * { position: relative; }
.band--dark::before { background: rgba(45, 20, 20, .70); }
.band--dark h2, .band--dark p, .band--dark .lead { color: #fff; }
.band--dark .note { color: #F3E6E8; }
/* 帯の上に置く白いパネルの中は、通常の文字色に戻す（白文字が白地に乗らないように） */
.band--dark .contact-box,
.band--dark .contact-box p,
.band--dark .contact-box .lead { color: var(--c-text); }
.band--dark .contact-box h2,
.band--dark .contact-box h3 { color: var(--c-enji); }
.band--dark .contact-box .note { color: var(--c-muted); }

.plan {
  background: #fff; border: 3px solid var(--c-enji); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); text-align: center; max-width: 760px; margin: 0 auto 40px;
}
.plan__label { display: inline-block; background: var(--c-enji); color: #fff; font-size: 15px; font-weight: 700; padding: 6px 18px; border-radius: var(--radius); margin-bottom: 16px; }
.plan__amount { font-family: var(--font-body); font-weight: 700; font-size: 56px; line-height: 1.3; color: var(--c-enji); margin: 0; }
.plan__amount small { font-size: 20px; }
.plan__cond { font-size: 16px; margin: 8px 0 0; }

.estimate { background: #fff; border: 1px solid var(--c-pink-mid); border-radius: var(--radius); overflow: hidden; }
.estimate + .estimate { margin-top: 20px; }
.estimate__head { padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; border-bottom: 1px solid var(--c-pink-mid); }
.estimate__name { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--c-enji); margin: 0; }
.estimate__total { margin-left: auto; font-family: var(--font-body); font-weight: 700; font-size: 34px; line-height: 1.3; color: var(--c-enji); white-space: nowrap; }
.estimate__total small { font-size: 15px; color: var(--c-muted); font-weight: 400; }

/* 装飾層6：アコーディオン */
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--c-pink-face); border: 0; border-top: 1px solid var(--c-pink-mid);
  padding: 16px 24px; font-family: var(--font-body); font-size: 16px; font-weight: 700;
  color: var(--c-enji); text-align: left; cursor: pointer; min-height: 56px;
}
.acc__btn:hover { background: var(--c-pink-mid); }
.acc__btn .mark { flex: none; width: 24px; height: 24px; position: relative; }
.acc__btn .mark::before,
.acc__btn .mark::after { content: ""; position: absolute; background: var(--c-enji); border-radius: 2px; }
.acc__btn .mark::before { top: 11px; left: 2px; width: 20px; height: 2px; }
.acc__btn .mark::after  { top: 2px; left: 11px; width: 2px; height: 20px; transition: opacity 150ms ease-out; }
.acc__btn[aria-expanded="true"] .mark::after { opacity: 0; }
.acc__panel { overflow: hidden; }
.acc__panel[hidden] { display: none; }
.acc__inner { padding: 8px 24px 24px; }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec caption { text-align: left; font-size: 14px; color: var(--c-muted); padding: 12px 0 8px; }
.spec th, .spec td { border-bottom: 1px solid var(--c-pink-mid); padding: 10px 8px; text-align: left; vertical-align: top; line-height: 1.7; }
.spec thead th { background: var(--c-pink-face); color: var(--c-enji); white-space: nowrap; }
.spec td.num, .spec th.num { text-align: right; white-space: nowrap; }
.spec tfoot td { font-weight: 700; color: var(--c-enji); font-size: 17px; border-top: 2px solid var(--c-enji); }
.spec .memo { display: block; font-size: 13px; color: var(--c-muted); }

/* 会社概要テーブル */
.table-info { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-info th, .table-info td { border: 1px solid var(--c-pink-mid); padding: 14px 16px; text-align: left; vertical-align: top; line-height: 1.8; }
.table-info th { background: var(--c-pink-face); color: var(--c-enji); width: 190px; white-space: nowrap; font-weight: 700; }

/* 強調ブロック */
.callout { background: var(--c-pink-face); border-left: 6px solid var(--c-enji); border-radius: var(--radius); padding: 28px 32px; }
.callout h3 { margin-bottom: .4em; }
.callout p:last-child { margin-bottom: 0; }
.callout--center { text-align: center; border-left: 0; border-top: 6px solid var(--c-enji); }

/* 数字カウントアップ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-body); font-weight: 700; font-size: 56px; line-height: 1.3; color: var(--c-enji); display: block; }
.stat__num small { font-size: 22px; }
.stat__label { font-size: 15px; color: var(--c-muted); display: block; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow li { background: #fff; border: 1px solid var(--c-pink-mid); border-radius: var(--radius); padding: 24px 20px; position: relative; }
.flow li::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-enji); color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 12px;
}
.flow h3 { font-size: 19px; margin-bottom: .3em; }
.flow p { font-size: 15px; margin-bottom: 0; }

/* 2カラム（画像＋文章） */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media--rev .media__img { order: 2; }
.media h2, .media h3 { margin-bottom: .4em; }
.media p:last-of-type { margin-bottom: 1.2em; }
.media + .media { margin-top: var(--section-gap); }

/* 事例タイル */
.case { background: #fff; border: 1px solid var(--c-pink-mid); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case__body { padding: 20px; }
.case h3 { font-size: 19px; margin-bottom: .4em; }
/* span で置いても枠がきちんと文字を囲むように、必ずブロックにする */
.case__ph { display: block; font-size: 14px; line-height: 1.7; color: var(--c-muted); background: var(--c-base-2); border: 1px dashed var(--c-pink-mid); border-radius: var(--radius); padding: 12px 14px; margin: 0; }

/* 事例タイル：写真を押すと拡大表示する */
.case__trigger {
  display: block; position: relative; width: 100%; padding: 0; border: 0;
  background: none; cursor: zoom-in; font: inherit; color: inherit;
}
.case__trigger .zoom { display: block; }
.case__trigger:focus-visible { outline: 3px solid var(--c-pink-cta); outline-offset: -3px; }
.case__zoomicon {
  position: absolute; right: 10px; bottom: 10px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); border: 2px solid var(--c-enji); color: var(--c-enji);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 180ms ease-out;
}
.case__zoomicon svg { width: 22px; height: 22px; }
.case__trigger:hover .case__zoomicon { background: var(--c-pink-mid); }

/* ---------- 事例の拡大表示（ポップアップ） ---------- */
.lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(45, 20, 20, .72); border: 0; padding: 0; cursor: zoom-out; }
.lb__panel {
  position: relative; z-index: 1;
  width: min(980px, 100%); max-height: calc(100vh - 48px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
}
.lb__media { background: var(--c-base-2); }
.lb__media img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 0; }
.lb__body { padding: 24px 28px 28px; overflow-y: auto; }
.lb__body h2 { font-size: 24px; margin-bottom: .3em; }
.lb__body dl { margin: 16px 0 0; }
.lb__body dt { font-weight: 700; color: var(--c-enji); font-size: 15px; }
.lb__body dd { margin: 4px 0 12px; }
.lb__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); border: 2px solid var(--c-enji); color: var(--c-enji);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 180ms ease-out;
}
.lb__close:hover { background: var(--c-pink-mid); }
.lb__close svg { width: 20px; height: 20px; }
.lb__nav {
  position: absolute; top: 50%; margin-top: -28px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); border: 2px solid var(--c-enji); color: var(--c-enji);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 180ms ease-out;
}
.lb__nav:hover { background: var(--c-pink-mid); }
.lb__nav svg { width: 24px; height: 24px; }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__count { font-size: 14px; color: var(--c-muted); margin: 0 0 4px; }
body.lb-open { overflow: hidden; }

/* ---------- フォーム ---------- */
.form { max-width: 720px; }
.form__notice { background: var(--c-pink-face); border: 2px solid var(--c-enji); border-radius: var(--radius); padding: 16px 20px; font-weight: 700; color: var(--c-enji); margin-bottom: 32px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.field .req { display: inline-block; background: var(--c-enji); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.field .help { font-size: 14px; color: var(--c-muted); margin: 0 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--c-text);
  padding: 14px 16px; border: 1px solid var(--c-muted); border-radius: var(--radius); background: #fff;
  min-height: 56px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-enji); }

/* ---------- 連絡先ブロック ---------- */
.contact-box { background: #fff; border: 2px solid var(--c-enji); border-radius: var(--radius); padding: 32px; text-align: center; }
.contact-box .tel-big { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 46px; line-height: 1.3; color: var(--c-enji); text-decoration: none; letter-spacing: .01em; }
.contact-box .tel-big:hover { color: var(--c-enji-dark); }
.contact-box .mail { font-size: 18px; word-break: break-all; }
.band--dark .contact-box { background: rgba(255, 255, 255, .96); }

/* ---------- フッター ---------- */
.footer { background: var(--c-enji-dark); color: #fff; padding-block: 56px 32px; margin-top: 0; }
.footer a { color: #fff; }
.footer a:hover { color: var(--c-pink-mid); }
.footer h2, .footer h3 { color: #fff; font-size: 18px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__name { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.footer p, .footer li { font-size: 15px; line-height: 1.9; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__tel { font-size: 26px; font-weight: 700; text-decoration: none; display: inline-block; line-height: 1.4; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .3); margin-top: 40px; padding-top: 24px; }
.footer__demo { font-size: 14px; line-height: 1.8; color: #F3E6E8; margin: 0 0 12px; }
.footer__copy { font-size: 13px; color: #E7CDD1; margin: 0; }

/* ---------- 404 ---------- */
.err { text-align: center; padding-block: 120px; }
.err h1 { margin-bottom: .4em; }

/* ---------- 基礎層（GSAPで解除） ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal, .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1080px) {
  .header__inner { row-gap: 10px; }
  .gnav ul { gap: 2px 18px; }
}

@media (max-width: 900px) {
  :root { --section-gap: 64px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .media { grid-template-columns: 1fr; gap: 28px; }
  .media--rev .media__img { order: 0; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stage .price-badge { display: none; }
  .hero__badge-sp { display: block; margin-top: 16px; }
  .plan__amount { font-size: 42px; }
  .contact-box .tel-big { font-size: 36px; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .header__logo { font-size: 19px; }
  .header__tel .num { font-size: 21px; }
  .estimate__total { margin-left: 0; white-space: normal; }
  .estimate__total small { display: block; }
  .table-info th, .table-info td { display: block; width: auto; }
  .table-info th { border-bottom: 0; }
  .plan { padding: 24px 20px; }
  .callout { padding: 22px 20px; }
  .contact-box { padding: 24px 18px; }
  .contact-box .tel-big { font-size: 32px; }
  .spec { font-size: 14px; }
  .acc__inner { padding: 8px 14px 20px; }
  .estimate__head { padding: 16px; }
  .lb { padding: 12px; }
  .lb__body { padding: 20px 18px 24px; }
  .lb__body h2 { font-size: 21px; }
  .lb__media img { max-height: 46vh; }
  .lb__nav { width: 48px; height: 48px; margin-top: -24px; }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
}

/* 表がはみ出る場合だけ、その表の中でスクロールさせる */
.table-scroll { overflow-x: auto; }

/* ============================================================
   prefers-reduced-motion：全アニメーションを無効化
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .zoom img { transition: none !important; }
  .zoom:hover img, a:hover .zoom img { transform: none !important; }
  .scroll-arrow { animation: none !important; }
}
