@charset "utf-8";
/* ==========================================================================
 * 葛飾ハウスクリーニング サイト固有テーマ
 *
 * 出典: tools/serp_design/cleaning.md（「東京 ハウスクリーニング」1ページ目の実測）
 * 主参考 = ポータルを除いた検索1位 https://www.sanikleen.co.jp/housecleaning/area_cat/tokyo
 * 補助   = ベアーズ / おそうじ本舗
 *
 * 実測から採った「型」だけを使う（画像・文章・ロゴ・コードは一切流用しない）:
 *   1. 主色は青。3件とも例外なし
 *   2. 面地は白ではなく淡い水色。白はカードに回して浮かせる
 *   3. CTAは青の補色側の高彩度暖色（実測はピンク/赤/マゼンタ）
 *   4. 角丸8〜16px、影は黒ではなく主色の青を薄めたもの
 *   5. Noto Sans JP、見出しは字間を広げる
 *   6. セクションは罫線ではなく背景色の切り替えだけで割る
 *
 * 実測のCTAピンク #ff3b7c は白文字で3.4:1しか無くAA不足のため、
 * 同系で濃度を上げた #c2185b（5.87:1）に置き換えている。
 * 装飾用の水色 #2ba3e8 は白地に2.8:1なので、文字色には使わない（面・罫・図形のみ）。
 *
 * 写真について: 自社撮影分は1枚も無い。ページに載せているのは Pexels のイメージ写真で
 * （出所は public/img/CREDITS.md）、施工事例・実績・ビフォーアフターには使わない。
 * 用途はヒーロー背景・サービスの内容を示す挿絵・セクションの装飾まで。
 * 写真の近くには必ず「写真はイメージです」を出す（.imgnote / figcaption）。
 *
 * 上書きの効かせ方について（README の記述より1段強くしている理由）:
 * 共通コンポーネントの scoped CSS は `.hero[data-astro-cid-…]` にコンパイルされる。
 * これは詳細度 (0,2,0)＝クラス相当2個で、README にある `html .hero`（0,1,1）では
 * 負ける。しかも Astro のバンドルCSSは theme.css より後ろに読み込まれるので、
 * 同点でも後勝ちで持っていかれる。実際に公開後の computed style を測って
 * .hero の背景・フッター・料金表の見出し行が上書きできていないことを確認した。
 * そこで site.config の theme.bodyClass（t-cleaning）を足がかりにして
 * `html body.t-cleaning .hero`（0,2,2）で書き、詳細度で確実に上回らせている。
 * ========================================================================== */

html body.t-cleaning {
  /* --c-primary / --c-accent は Base.astro が site.config の値を流し込むので
     ここでは触らず、派生トークンだけ定義する */
  --c-navy: #04355f;          /* 見出し・フッター・帯。白文字12.5:1 */
  --c-blue: #0b5ea8;          /* 主色。白文字6.6:1 */
  --c-sky: #2ba3e8;           /* 装飾専用。文字には使わない */
  --c-sky-pale: #eaf4fc;      /* 面地 */
  --c-sky-mist: #f5fafe;      /* 面地の薄い側 */
  --c-rose-deep: #a81450;     /* CTAホバー。白文字7.29:1 */
  --c-line: #04853a;          /* LINEボタン。共通の #06c755 は白文字2.26:1でAA不足 */

  --c-text: #16202b;
  --c-muted: #4b5563;
  --c-border: #cfe3f5;
  --c-bg: #ffffff;
  --c-bg-soft: var(--c-sky-pale);
  --c-footer-bg: var(--c-navy);
  --c-footer-fg: #eef5fb;
  --c-footer-muted: #a8c8e6;   /* #04355f 上で7.19:1 */

  --w-container: 1120px;
  --r-card: 16px;
  --r-btn: 14px;
  /* 影は黒ではなく主色の青を薄めたもの（実測3件に共通） */
  --sh-card: 0 1px 2px rgba(4, 53, 95, 0.06), 0 6px 20px rgba(4, 53, 95, 0.08);
  --sh-card-hover: 0 2px 4px rgba(4, 53, 95, 0.08), 0 14px 34px rgba(4, 53, 95, 0.14);
  --sh-btn: 0 3px 0 rgba(4, 53, 95, 0.16);
}

/* ---------------------------------------------------------------- 全体 */

html body.t-cleaning {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text);
  /* 実測の「面地は淡い水色」。白セクションが上に乗って交互になる */
  background: var(--c-sky-pale);
  letter-spacing: 0.01em;
  padding-bottom: 4.75rem;
}

@media (min-width: 768px) {
  html body.t-cleaning {
    padding-bottom: 0;
  }
}

html body.t-cleaning a {
  color: var(--c-blue);
}

html body.t-cleaning h1,
html body.t-cleaning h2,
html body.t-cleaning h3 {
  font-weight: 700;
  letter-spacing: 0.035em;
  color: var(--c-navy);
}

/* 見出しは左寄せのまま、主色の短い下線で見出しの階層を作る。
   実測は中央寄せが多数派だが、本文の長いページなので行頭を揃える */
html body.t-cleaning main h2 {
  position: relative;
  font-size: clamp(1.375rem, 3.1vw, 1.875rem);
  margin-top: 0;
  padding-bottom: 0.75rem;
  line-height: 1.45;
}

html body.t-cleaning main h2::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  inline-size: 3.5rem;
  block-size: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-sky));
}

html body.t-cleaning main h3 {
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

/* 金額の桁を揃える */
html body.t-cleaning .pricetable td,
html body.t-cleaning .works__from,
html body.t-cleaning .dg__amount,
html body.t-cleaning .card__price {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------ ヘッダー */

html body.t-cleaning .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--c-border), 0 6px 18px rgba(4, 53, 95, 0.06);
}

/* 上端の細い青帯。実測のブランドブルー帯を最小面積に置き換えたもの */
html body.t-cleaning .site-header::before {
  content: '';
  display: block;
  block-size: 4px;
  background: linear-gradient(90deg, var(--c-navy), var(--c-blue) 45%, var(--c-sky));
}

html body.t-cleaning .site-header__inner {
  padding: 0.875rem 1rem;
  gap: 1rem 1.5rem;
}

html body.t-cleaning .site-header__brand {
  color: var(--c-navy);
  font-size: 1.1875rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ブランド名の前に置く自作の水滴マーク（SVG・自前で描いたもの） */
html body.t-cleaning .site-header__brand::before {
  content: '';
  inline-size: 1.5rem;
  block-size: 1.5rem;
  flex: none;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: linear-gradient(150deg, var(--c-sky), var(--c-blue) 65%, var(--c-navy));
}

html body.t-cleaning .site-header__nav a {
  color: var(--c-navy);
  font-weight: 500;
  padding: 0.375rem 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

html body.t-cleaning .site-header__nav a:hover {
  text-decoration: none;
  border-bottom-color: var(--c-sky);
}

html body.t-cleaning .site-header__tel {
  color: var(--c-navy);
}

html body.t-cleaning .site-header__tel-num {
  font-size: 1.375rem;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------- ヒーロー */

/* 写真が無いので、面はグラデーションと自作の泡パターンで作る。
   実測のヒーローは960×350のワイドな面なので、縦の厚みをそちらに寄せる */
html body.t-cleaning .hero {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  padding-block: clamp(2.75rem, 8vw, 5.5rem);
  color: #fff;
  /* 最前面の斜めスクリムは、見出しが乗る左側を必ず暗く保つためのもの。
     公開後に実ピクセルで白文字のコントラストを測ったところ、これが無いと
     右上の水色が明るいところでH1が4.35:1まで落ちていた（大文字基準3:1は満たすが余裕が薄い）。
     スクリムを足して本文基準の4.5:1も超えるようにしてある */
  background:
    linear-gradient(100deg, rgba(2, 36, 63, 0.62) 0%, rgba(2, 36, 63, 0.34) 52%, rgba(2, 36, 63, 0) 82%),
    radial-gradient(120% 120% at 90% 6%, rgba(43, 163, 232, 0.42) 0%, rgba(43, 163, 232, 0) 55%),
    radial-gradient(90% 90% at 4% 100%, rgba(11, 94, 168, 0.55) 0%, rgba(11, 94, 168, 0) 60%),
    linear-gradient(155deg, #063f75 0%, var(--c-navy) 55%, #02243f 100%);
}

/* 泡（洗浄の連想）。円だけで組んだ自作パターン */
html body.t-cleaning .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.16) 0 26px, transparent 27px),
    radial-gradient(circle at 22% 88%, rgba(255, 255, 255, 0.1) 0 14px, transparent 15px),
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.12) 0 40px, transparent 41px),
    radial-gradient(circle at 88% 62%, rgba(255, 255, 255, 0.09) 0 22px, transparent 23px),
    radial-gradient(circle at 62% 84%, rgba(255, 255, 255, 0.07) 0 32px, transparent 33px);
}

/* 磨いた面のタイル目。斜めの細い線を重ねただけ */
html body.t-cleaning .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.05) 0 1px,
    transparent 1px 26px
  );
}

/* 写真を敷いたヒーロー（Hero.astro に image を渡したとき）。
   グラデーションの面と写真が二重になるので、装飾レイヤ（泡・タイル目）は写真版では止め、
   代わりに文字が乗る左側を確実に沈める暗幕1枚に置き換える。

   暗幕の濃さは、公開後にヒーロー内の白文字の背後ピクセルを実測して決めた
   （tools/serp_design/cleaning/contrast_hero.json）。写真は右上が明るいので
   左→右で薄くする単純なグラデーションだと右端で足りなくなる。
   そこで「左に寄せた斜めの帯」＋「全面の一律の膜」の2枚重ねにして、
   最も明るいピクセルでも白文字が本文基準の4.5:1を超えるようにしてある。

   実測（文字を消してヒーロー背景だけを撮り、各テキストのbbox内でいちばん明るい
   ピクセルと #fff の比を取った最悪値。中央値は括弧内）:
     1440px  H1 5.39:1（12.87）/ lead 8.35:1（15.99）
      390px  H1 9.36:1（11.92）/ lead 6.11:1（15.69）
   濃くしすぎると写真が見えず、薄くすると1440pxのH1右端（窓の明るいところ）が
   3.55:1まで落ちる。上の値はその間で取った。写真を差し替えたら必ず測り直す。 */
html body.t-cleaning .hero--photo {
  background:
    linear-gradient(
      100deg,
      rgba(2, 24, 43, 0.78) 0%,
      rgba(2, 24, 43, 0.62) 46%,
      rgba(2, 24, 43, 0.46) 78%,
      rgba(2, 24, 43, 0.42) 100%
    ),
    linear-gradient(rgba(2, 24, 43, 0.26), rgba(2, 24, 43, 0.26)),
    var(--hero-image) center / cover no-repeat,
    var(--c-navy);
}

/* 泡とタイル目は写真の上ではノイズになるので消す */
html body.t-cleaning .hero--photo::before,
html body.t-cleaning .hero--photo::after {
  content: none;
}

html body.t-cleaning .hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--w-container);
}

html body.t-cleaning .hero__title {
  color: #fff;
  font-size: clamp(1.625rem, 5.2vw, 2.75rem);
  font-weight: 700;
  /* 実測のH1は字間を詰めていた（ls -1.2px）。日本語なので0付近に留める */
  letter-spacing: 0.005em;
  line-height: 1.42;
  max-width: 22em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

html body.t-cleaning .hero__lead {
  color: rgba(255, 255, 255, 0.93);
  max-width: 40em;
  margin-top: 1.125rem;
  font-size: 1rem;
}

html body.t-cleaning .hero__actions {
  margin-top: 2rem;
  gap: 0.875rem;
}

html body.t-cleaning .hero__note {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------------------------------------------------------- イメージ写真 */

/* ファーストビュー直下の但し書き。ヒーロー写真のすぐ下に来るので、
   「写真はイメージです」がスクロールせずに1回は目に入る */
html body.t-cleaning .imgnote {
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 0.875rem 1rem;
  color: var(--c-muted);
  background: var(--c-bg);
  font-size: 0.8125rem;
  line-height: 1.7;
}

html body.t-cleaning .imgnote__tag {
  display: inline-block;
  margin-inline-end: 0.5rem;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--c-sky-pale);
  color: var(--c-blue);   /* #eaf4fc 上で 5.9:1 */
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* 写真の枠。img には width/height を入れてあるので aspect-ratio で場所を先に取り、
   読み込み中にレイアウトがずれない（CLS対策） */
html body.t-cleaning .shot {
  margin: 0;
}

html body.t-cleaning .shot img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  object-fit: cover;
  background: var(--c-sky-pale);
}

html body.t-cleaning .shot figcaption {
  color: var(--c-muted);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* 本文中に置く横長の挿絵 */
html body.t-cleaning .shot--wide {
  margin-top: 2rem;
}

html body.t-cleaning .shot--wide img {
  aspect-ratio: 4 / 3;
  max-block-size: 320px;
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}

@media (min-width: 768px) {
  html body.t-cleaning .shot--wide img {
    aspect-ratio: 16 / 6;
    max-block-size: none;
  }
}

/* カードの中の写真。カードのpaddingぶん外に出して天面いっぱいに敷く。
   数値は .works__item の padding と対で持つ（片方だけ直すとズレる） */
html body.t-cleaning .shot--card {
  margin: -1.5rem -1.5rem 1.125rem;
}

html body.t-cleaning .shot--card img {
  aspect-ratio: 3 / 2;
  border-radius: var(--r-card) var(--r-card) 0 0;
}

html body.t-cleaning .shot--card figcaption {
  margin: 0.5rem 1.5rem 0;
  font-size: 0.6875rem;
}

/* -------------------------------------------------------------- ボタン */

html body.t-cleaning .btn {
  border-radius: var(--r-btn);
  padding: 0.9375rem 1.75rem;
  min-block-size: 52px; /* タップ44px以上（実測のCTAは44〜78px） */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.4;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

html body.t-cleaning .btn--primary {
  background: var(--c-accent);
  border-color: transparent;
  color: #fff;
  /* 光彩を広げるとボタンが二重に見えるので、沈み込みの1本に寄せる */
  box-shadow: var(--sh-btn), 0 4px 12px rgba(194, 24, 91, 0.22);
}

html body.t-cleaning .btn--primary:hover {
  background: var(--c-rose-deep);
  filter: none;
  transform: translateY(-1px);
}

/* 既定は明るい面に置かれる前提で、青の輪郭 */
html body.t-cleaning .btn--ghost {
  background: #fff;
  border-color: var(--c-blue);
  color: var(--c-blue);
  box-shadow: none;
}

html body.t-cleaning .btn--ghost:hover {
  background: var(--c-sky-pale);
  filter: none;
}

/* 暗い面（ヒーロー・帯）の上では白の輪郭に反転する */
html body.t-cleaning .hero .btn--ghost,
html body.t-cleaning .band .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

html body.t-cleaning .hero .btn--ghost:hover,
html body.t-cleaning .band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

html body.t-cleaning .hero .btn:focus-visible,
html body.t-cleaning .band .btn:focus-visible {
  outline-color: #fff;
}

html body.t-cleaning .btn:focus-visible {
  outline: 3px solid var(--c-navy);
  outline-offset: 3px;
}

/* ---------------------------------------------------- セクションのリズム */

/* 罫線は引かず、背景色の切り替えだけでセクションを割る（実測3件に共通） */
html body.t-cleaning .section {
  background: var(--c-bg);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

html body.t-cleaning .section--soft {
  background: var(--c-sky-pale);
}

html body.t-cleaning .container {
  max-width: var(--w-container);
}

html body.t-cleaning .lede {
  color: var(--c-muted);
  font-size: 1.0625rem;
  max-width: 44em;
  margin-top: 1rem;
}

html body.t-cleaning .note {
  color: var(--c-muted);
  background: var(--c-sky-mist);
  border-inline-start: 4px solid var(--c-sky);
  border-radius: 0 10px 10px 0;
  padding: 0.875rem 1.125rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

html body.t-cleaning .section--soft .note {
  background: #fff;
}

/* ------------------------------------------------------------ カード類 */

/* 実測: 白地・角丸16px・影は主色の青を薄めたもの。枠線は使わない */
html body.t-cleaning .rules__item,
html body.t-cleaning .works__item,
html body.t-cleaning .card {
  background: #fff;
  border: 0;
  border-radius: var(--r-card);
  padding: 1.5rem 1.5rem 1.625rem;
  box-shadow: var(--sh-card);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

html body.t-cleaning .works__item:hover,
html body.t-cleaning .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-card-hover);
}

html body.t-cleaning .rules,
html body.t-cleaning .works,
html body.t-cleaning .cards {
  gap: 1.25rem;
  margin-top: 2rem;
}

/* 番号タグを主色の丸バッジに */
html body.t-cleaning .rules__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--c-sky-pale);
  color: var(--c-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

html body.t-cleaning .rules dt {
  color: var(--c-navy);
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

html body.t-cleaning .rules dd,
html body.t-cleaning .works__item p,
html body.t-cleaning .card p {
  color: var(--c-muted);
  font-size: 0.9375rem;
}

html body.t-cleaning .works__item h3 a {
  color: var(--c-navy);
  text-decoration: none;
}

html body.t-cleaning .works__item h3 a:hover {
  color: var(--c-blue);
  text-decoration: underline;
}

/* 金額はCTA色。実測の「電話番号を巨大に出す」枠に、番号の代わりに金額を入れている */
html body.t-cleaning .works__from,
html body.t-cleaning .card__price {
  color: var(--c-accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px dashed var(--c-border);
  display: block;
}

/* -------------------------------------------------------------- 料金表 */

html body.t-cleaning .pricetable {
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 1.25rem 1.25rem 1.5rem;
  margin: 2rem 0;
}

html body.t-cleaning .pricetable caption {
  color: var(--c-navy);
  font-size: 1.0625rem;
  padding: 0 0 0.875rem;
  letter-spacing: 0.02em;
}

html body.t-cleaning .pricetable__unit {
  display: inline-block;
  margin-inline-start: 0.625rem;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--c-sky-pale);
  color: var(--c-blue);
  font-size: 0.75rem;
  font-weight: 700;
}

html body.t-cleaning .pricetable table {
  font-size: 0.9375rem;
}

html body.t-cleaning .pricetable thead th {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 0.875rem;
}

html body.t-cleaning .pricetable th,
html body.t-cleaning .pricetable td {
  border: 0;
  border-bottom: 1px solid var(--c-border);
  padding: 0.875rem;
}

html body.t-cleaning .pricetable tbody tr:nth-child(odd) th,
html body.t-cleaning .pricetable tbody tr:nth-child(odd) td {
  background: var(--c-sky-mist);
}

html body.t-cleaning .pricetable tbody th {
  color: var(--c-text);
  font-weight: 500;
}

/* 金額の列だけ主色で太く。実測の「数字を大きく出す」型 */
html body.t-cleaning .pricetable tbody td:first-of-type {
  color: var(--c-blue);
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}

html body.t-cleaning .pricetable__tbd {
  color: var(--c-muted);
  font-weight: 500;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------ 料金診断 */

html body.t-cleaning .dg {
  background: #fff;
  border: 0;
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 0;
  overflow: hidden;
  margin: 2.5rem 0;
}

/* 上端の帯で「ここは診断ツール」と分かるようにする */
html body.t-cleaning .dg::before {
  content: '';
  display: block;
  block-size: 6px;
  background: linear-gradient(90deg, var(--c-navy), var(--c-blue) 50%, var(--c-sky));
}

html body.t-cleaning .dg__title {
  margin: 1.75rem 1.5rem 0.5rem;
  color: var(--c-navy);
  font-size: clamp(1.1875rem, 3vw, 1.5rem);
  padding-bottom: 0;
}

html body.t-cleaning .dg__title::after {
  content: none;
}

html body.t-cleaning .dg__lead {
  margin: 0 1.5rem 1.5rem;
  color: var(--c-muted);
}

html body.t-cleaning .dg__form {
  margin: 0 1.5rem;
  gap: 1.5rem;
}

html body.t-cleaning .dg__legend {
  color: var(--c-navy);
  font-size: 1.0625rem;
}

html body.t-cleaning .dg__num {
  background: var(--c-blue);
  inline-size: 1.75rem;
  block-size: 1.75rem;
  font-weight: 700;
}

html body.t-cleaning .dg__opt {
  background: var(--c-sky-mist);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  min-block-size: 48px;
  padding: 0.8125rem 0.9375rem;
}

html body.t-cleaning .dg__opt:hover {
  background: #fff;
  border-color: var(--c-blue);
}

html body.t-cleaning .dg__opt:has(input:checked) {
  background: var(--c-sky-pale);
  border-color: var(--c-blue);
  box-shadow: inset 0 0 0 2px var(--c-blue);
}

html body.t-cleaning .dg__result {
  margin: 1.75rem 0 0;
  padding: 1.5rem;
  border-top: 0;
  background: var(--c-sky-pale);
}

html body.t-cleaning .dg__amount {
  color: var(--c-accent);
  font-size: clamp(1.5rem, 5.5vw, 2.25rem);
}

html body.t-cleaning .dg__disclaimer {
  margin: 0 1.5rem 1.75rem;
}

html body.t-cleaning .dg__wait,
html body.t-cleaning .dg__disclaimer {
  color: var(--c-muted);
}

/* -------------------------------------------------------------- 流れ */

/* 罫線グリッドをやめ、番号の丸バッジで縦に繋ぐ */
html body.t-cleaning .flow {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  gap: 0.875rem;
  margin-top: 2rem;
}

html body.t-cleaning .flow__step {
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 1.375rem 1.5rem 1.375rem 4.25rem;
}

html body.t-cleaning .flow__step::before {
  inset-inline-start: 1.375rem;
  inset-block-start: 1.375rem;
  inline-size: 2rem;
  block-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-size: 0.9375rem;
}

html body.t-cleaning .flow__step h3 {
  color: var(--c-navy);
  font-size: 1.0625rem;
  margin-bottom: 0.375rem;
}

html body.t-cleaning .flow__step p {
  color: var(--c-muted);
}

/* ------------------------------------------------------ 対応エリア・FAQ */

/* エリアはチップ（実測3件とも地域名を目立つ形で並べる） */
html body.t-cleaning .areas {
  gap: 0.625rem;
  margin-top: 1.75rem;
}

html body.t-cleaning .areas li {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 0.5rem 1.125rem;
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.9375rem;
  box-shadow: 0 1px 2px rgba(4, 53, 95, 0.05);
}

html body.t-cleaning .section--soft .areas li {
  border-color: transparent;
  box-shadow: var(--sh-card);
}

html body.t-cleaning .areas li a {
  color: var(--c-blue);
  text-decoration: none;
}

html body.t-cleaning .faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.875rem;
}

html body.t-cleaning .faq__item {
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--sh-card);
  padding: 1.25rem 1.375rem;
}

html body.t-cleaning .faq__item:first-child {
  border-top: 0;
}

html body.t-cleaning .faq dt {
  color: var(--c-navy);
  font-size: 1.0625rem;
  padding-inline-start: 2rem;
  position: relative;
  margin-bottom: 0.625rem;
}

/* 自作のQ/Aマーク */
html body.t-cleaning .faq dt::before {
  content: 'Q';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.125rem;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

html body.t-cleaning .faq dd {
  color: var(--c-muted);
  padding-inline-start: 2rem;
}

/* -------------------------------------------------- 実績待ち・帯・その他 */

html body.t-cleaning .pending {
  background: var(--c-sky-mist);
  border: 2px dashed var(--c-border);
  border-radius: var(--r-card);
  padding: 1.75rem;
  color: var(--c-muted);
}

html body.t-cleaning .band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(2, 36, 63, 0.55) 0%, rgba(2, 36, 63, 0.28) 55%, rgba(2, 36, 63, 0) 85%),
    radial-gradient(100% 140% at 92% 0%, rgba(43, 163, 232, 0.36) 0%, rgba(43, 163, 232, 0) 60%),
    linear-gradient(140deg, #063f75 0%, var(--c-navy) 60%, #02243f 100%);
  padding-block: clamp(2.75rem, 6vw, 4rem);
  color: #fff;
}

html body.t-cleaning .band::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 85%, rgba(255, 255, 255, 0.12) 0 30px, transparent 31px),
    radial-gradient(circle at 92% 20%, rgba(255, 255, 255, 0.1) 0 36px, transparent 37px);
}

html body.t-cleaning .band .container {
  position: relative;
  z-index: 1;
}

html body.t-cleaning .band h2 {
  color: #fff;
}

html body.t-cleaning .band h2::after {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.25));
}

html body.t-cleaning .band p {
  color: rgba(255, 255, 255, 0.93);
}

html body.t-cleaning .breadcrumb {
  color: var(--c-muted);
  padding-block: 0.875rem;
}

html body.t-cleaning .breadcrumb a {
  color: var(--c-blue);
}

html body.t-cleaning .siblings a {
  color: var(--c-blue);
}

html body.t-cleaning .outline,
html body.t-cleaning .draft {
  border-radius: 12px;
}

/* -------------------------------------------------------- 追従CTA（SP） */

html body.t-cleaning .cta-bar {
  border-top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 20px rgba(4, 53, 95, 0.18);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}

html body.t-cleaning .cta-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: 52px; /* タップ44px以上 */
  padding: 0.5rem 0.375rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

html body.t-cleaning .cta-bar__item--tel {
  background: var(--c-navy);
}

/* 共通の #06c755 は白文字2.26:1でAA不足。同系で濃度を上げる（4.75:1） */
html body.t-cleaning .cta-bar__item--line {
  background: var(--c-line);
}

html body.t-cleaning .cta-bar__item--form {
  background: var(--c-accent);
  box-shadow: 0 2px 0 rgba(4, 53, 95, 0.2);
}

/* -------------------------------------------------------------- フッター */

html body.t-cleaning .site-footer {
  margin-top: 0;
  padding: 3rem 1rem 2.5rem;
  background: var(--c-navy);
  color: var(--c-footer-fg);
  position: relative;
}

html body.t-cleaning .site-footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  block-size: 4px;
  background: linear-gradient(90deg, var(--c-sky), var(--c-blue) 55%, var(--c-navy));
}

html body.t-cleaning .site-footer__brand {
  font-size: 1.125rem;
  letter-spacing: 0.03em;
}

html body.t-cleaning .site-footer__nav a {
  color: var(--c-footer-fg);
  text-decoration: none;
  padding-block: 0.25rem;
}

html body.t-cleaning .site-footer__nav a:hover {
  text-decoration: underline;
}

html body.t-cleaning .site-footer__copy,
html body.t-cleaning .site-footer__siblings-title {
  color: var(--c-footer-muted);
}

/* ------------------------------------------------------------ 狭い画面 */

@media (max-width: 640px) {
  html body.t-cleaning .site-header__inner {
    padding: 0.625rem 1rem;
    gap: 0.5rem 1rem;
  }

  html body.t-cleaning .site-header__brand {
    font-size: 1.0625rem;
  }

  html body.t-cleaning .site-header__nav {
    gap: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }

  html body.t-cleaning .rules__item,
  html body.t-cleaning .works__item,
  html body.t-cleaning .card,
  html body.t-cleaning .flow__step {
    padding: 1.25rem 1.25rem 1.375rem;
  }

  html body.t-cleaning .flow__step {
    padding-inline-start: 3.75rem;
  }

  /* カードの padding が 1.25rem になるので、写真のはみ出し量も揃える */
  html body.t-cleaning .shot--card {
    margin: -1.25rem -1.25rem 1rem;
  }

  html body.t-cleaning .shot--card figcaption {
    margin-inline: 1.25rem;
  }

  html body.t-cleaning .imgnote {
    padding: 0.75rem 1rem;
  }

  html body.t-cleaning .dg__title,
  html body.t-cleaning .dg__lead,
  html body.t-cleaning .dg__form,
  html body.t-cleaning .dg__disclaimer {
    margin-inline: 1.125rem;
  }

  html body.t-cleaning .dg__result {
    padding: 1.25rem 1.125rem;
  }

  html body.t-cleaning .pricetable {
    padding: 1rem 1rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.t-cleaning .btn,
  html body.t-cleaning .works__item,
  html body.t-cleaning .card {
    transition: none;
  }
}

/* ==========================================================================
 * 下層ページ共通の骨格（2026-08-25 追記）
 *
 * トップ（src/pages/index.astro）は .rules / .works / .flow / .band の
 * レイアウト（グリッド・リストのリセット・連番）を自分の scoped CSS に持っている。
 * 下層ページでも同じ部品を使うため、そのレイアウトだけをここへ出した。
 * 値はトップの scoped CSS と同一。見た目（色・角丸・影）は上のセクションが担当する。
 *
 * scoped CSS は `.works[data-astro-cid-…]`（詳細度 0,2,0）にコンパイルされ、
 * バンドルCSSが theme.css より後段に来る。`html body.t-cleaning`（0,2,2）で
 * 詳細度を上回らせておかないとトップ側に上書きされるので、この節も同じ書き方に揃える。
 * ========================================================================== */

html body.t-cleaning .rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 1.5rem 0 0;
}

html body.t-cleaning .rules dt {
  font-weight: 700;
}

html body.t-cleaning .rules dd {
  margin: 0;
}

html body.t-cleaning .works {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

html body.t-cleaning .works__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

html body.t-cleaning .works__item p {
  margin: 0;
}

html body.t-cleaning .flow {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
}

html body.t-cleaning .flow__step {
  counter-increment: step;
  position: relative;
}

html body.t-cleaning .flow__step::before {
  content: counter(step);
  position: absolute;
  font-weight: 700;
}

html body.t-cleaning .flow__step h3 {
  margin: 0 0 0.25rem;
}

html body.t-cleaning .flow__step p {
  margin: 0;
}

html body.t-cleaning .pending {
  font-size: 0.9375rem;
  margin-top: 1.5rem;
}

html body.t-cleaning .band h2 {
  margin-top: 0;
}

html body.t-cleaning .band p {
  max-width: 38em;
}

html body.t-cleaning .band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: none;
}

/* 定義リスト形式の本文（運営者情報・プライバシーポリシー）。
   「項目 / 値」を縦に積む。狭い画面で横並びにすると値が潰れる */
html body.t-cleaning .deflist {
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
}

html body.t-cleaning .deflist__row {
  background: #fff;
  padding: 1rem 1.25rem;
}

html body.t-cleaning .deflist dt {
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

html body.t-cleaning .deflist dd {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.9375rem;
}

/* 箇条書き（作業範囲・ご準備いただくこと） */
html body.t-cleaning .checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
}

html body.t-cleaning .checklist li {
  position: relative;
  padding-inline-start: 1.75rem;
  color: var(--c-muted);
  font-size: 0.9375rem;
}

html body.t-cleaning .checklist li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.55em;
  inline-size: 0.625rem;
  block-size: 0.625rem;
  border-radius: 50%;
  background: var(--c-sky);
}

/* 本文の小見出し下の段落。読み幅を制限する */
html body.t-cleaning .prose p {
  max-width: 44em;
}
