/* ==========================================================================
   みえる！おそうじ サービス一覧・詳細ページ用スタイル
   /mieru-osouji/service/（サービス一覧）と /mieru-osouji/service/○○/（サービス詳細）で、
   style.css（共通部品：変数・ボタン・ヘッダー・フッター・info-list など）に
   追加して読み込む。
   構成：ページの頭 / 3つの約束 / キャンペーン / 料金カード / 窓の種類 /
        計算例 / キャンセル表 / そのほか / レスポンシブ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ページの頭（パンくず・見出し・更新日・先頭の一文）
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 40px 0 64px;
  background:
    radial-gradient(circle, rgba(110, 165, 205, 0.16) 1.5px, transparent 1.5px) 0 0 / 28px 28px,
    linear-gradient(180deg, #fff 0%, var(--color-bg-tint) 100%);
}

.breadcrumb {
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--color-text-light);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 区切りの「›」 */
.breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: var(--color-accent);
}

.breadcrumb a {
  color: var(--color-text-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.page-title {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 18px + 1.6vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  color: var(--color-deep);
}

.page-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-primary-line);
  margin: 16px auto 0;
  transform-origin: left center;
  animation: underline-draw 0.7s cubic-bezier(0.6, 0.05, 0.3, 1) 0.3s both;   /* ページを開いたら下線を左から右へ引く */
}

@keyframes underline-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .page-title::after {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   2. キャンペーンバナー（サービス一覧の家の上。大きく目立たせる）
   泡（.bubble）は style.css のものを使う
   -------------------------------------------------------------------------- */
/* 一覧ページはページ上部の大見出しを持たず、このセクションの
   パンくず＋見出し「サービス一覧」から始まるので、上の余白を詰める */
#list {
  padding-top: 36px;
}

.campaign-banner {
  position: relative;
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 30px 20px 26px;
  background: var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

/* 黄色のバナーの上の泡は白（水色の輪だと黄色とぶつかるため） */
.campaign-banner .bubble {
  border-color: #fff;
}

.campaign-banner .bubble:not(.bubble-dot)::after {
  border-top-color: #fff;
}

.campaign-banner .bubble-dot {
  background: rgba(255, 255, 255, 0.85);
}

.cb-title {
  position: relative;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 20px + 1.8vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-deep);
}

.cb-sub {
  position: relative;
  margin-top: 6px;
  font-size: clamp(14px, 12px + 0.5vw, 17px);
  font-weight: 700;
  color: var(--color-deep);
}

/* 期間は白い札にして読みやすく */
.cb-period {
  position: relative;
  display: table;
  margin: 12px auto 0;
  padding: 4px 18px;
  border-radius: var(--radius-btn);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-deep);
}

/* --------------------------------------------------------------------------
   3-2. 家の図のサービス一覧（サービスと料金）
   屋根（煙突つき）＋白い箱を家に見立て、中に頼める場所のタイルを並べる。
   空室清掃は「お部屋まるごと」なので、家の下の横長カードにする
   -------------------------------------------------------------------------- */
.house-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* 屋根（パステルライムの三角と煙突）。本体より左右に広くして家らしく見せる。
   影は本体のカード（--shadow-card）と同じ値を drop-shadow で付ける */
.house-roof {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--color-primary);
  filter: drop-shadow(0 1px 2px rgba(28, 52, 70, 0.05)) drop-shadow(0 5px 16px rgba(28, 52, 70, 0.08));
}

/* 本体は屋根より左右を 22px ずつ狭くする（屋根のひさしぶん） */
.house-body {
  margin: 0 22px;
  padding: 10px 12px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: var(--shadow-card);
}

.house-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.house-tiles a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  height: 100%;
  padding: 14px 6px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--color-bg-tint);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.house-tiles a:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.house-tiles a > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 4px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ht-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-deep);
  word-break: auto-phrase;
}

/* 上段：キャンペーン価格（大きく） */
.ht-camp {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-accent-dark);
}

/* 下段：通常価格（小さく・取り消し線） */
.ht-normal {
  font-size: 11px;
  line-height: 1.3;
  color: var(--color-text-light);
}

/* 空室清掃のカード（家の下の横長カード） */
.vacant-card {
  margin: 14px 22px 0;
}

.vacant-card a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon name  price"
    "icon note  price";
  align-items: center;
  column-gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.vacant-card a:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.vc-icon {
  grid-area: icon;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-accent-light);
}

.vc-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vc-name {
  grid-area: name;
  align-self: end;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-deep);
}

.vc-note {
  grid-area: note;
  align-self: start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-light);
}

.vc-price {
  grid-area: price;
  justify-self: end;
  font-size: 17px;
}

/* 家の下の注記（金額の意味） */
.house-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
}

/* 料金の計算例の折りたたみ */
.calc-fold {
  max-width: 860px;
  margin: 16px auto 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.calc-fold summary {
  position: relative;
  padding: 16px 52px 16px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-deep);
  text-align: center;
  cursor: pointer;
  list-style: none;
}

.calc-fold summary::-webkit-details-marker {
  display: none;
}

/* 開閉の矢印（よくある質問と同じ山形） */
.calc-fold summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--color-accent-dark);
  border-bottom: 2px solid var(--color-accent-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.calc-fold[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

/* 注釈（※駐車場の実費…）。一覧の折りたたみでは一番下のカードの下に置く */
.calc-fold-note {
  padding: 0 20px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   3-4. 追加料金とお受けできないもの／ご利用にあたって（小見出し＋本文）
   カードや箇条書きは使わず、左ボーダーの小見出しと文章で流す
   -------------------------------------------------------------------------- */
.cond-flow {
  max-width: 760px;
  margin: 0 auto;
}

.cond-flow h3 {
  margin: 36px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--color-accent);
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-deep);
}

.cond-flow h3:first-child {
  margin-top: 0;
}

.cond-flow p {
  font-size: 15px;
}

.cond-flow p + p {
  margin-top: 8px;
}

/* 「・」で始まる短い列挙（チェックマークは使わない） */
.cond-flow .cond-list {
  margin: 8px 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.cond-flow .cond-list li {
  padding-left: 1em;
  text-indent: -1em;
}

.cond-flow .cond-list li::before {
  content: "・";
}

.cond-flow .cond-list + p {
  margin-top: 8px;
}

.calc-fold .calc-list {
  padding: 12px 16px 16px;
}

/* 単位（左）と価格（右）の行 */
.price-rows {
  margin: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
}

.price-row + .price-row {
  border-top: 1px dashed var(--color-border);
}

.price-row dt {
  font-size: 15px;
  font-weight: 500;
}

.price-row dd {
  flex-shrink: 0;
  text-align: right;
}

/* キャンペーン価格を大きく */
.price-now {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent-dark);
}

.price-now small {
  margin-left: 1px;
  font-size: 13px;
  font-weight: 700;
}

/* 通常価格は小さく・取り消し線で併記 */
.price-was {
  margin-left: 6px;
  font-size: 12px;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   6. 料金の計算例
   -------------------------------------------------------------------------- */
.calc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.calc-item {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.calc-item h3 {
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid var(--color-accent);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-deep);
}

.calc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 14px;
  color: var(--color-text-light);
}

.calc-row + .calc-row {
  margin-top: 6px;
}

.calc-row dt {
  flex-shrink: 0;
  width: 8em;
  font-weight: 500;
  word-break: keep-all;
}

.calc-formula {
  margin-right: 2px;
  font-size: 13px;
}

.calc-row strong {
  font-size: 18px;
  color: var(--color-text);
}

/* キャンペーン価格の行は合計を緑で大きく */
.calc-camp dt {
  color: var(--color-accent-dark);
}

.calc-camp strong {
  color: var(--color-accent-dark);
}

.calc-row small {
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   7. キャンセル・お支払い
   -------------------------------------------------------------------------- */
.cancel-table {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-size: 15px;
}

.cancel-table th,
.cancel-table td {
  padding: 12px 18px;
  text-align: left;
}

.cancel-table thead th {
  background: var(--color-accent-light);
  font-size: 14px;
  color: var(--color-accent-dark);
}

.cancel-table tbody tr + tr td {
  border-top: 1px dashed var(--color-border);
}

.cancel-table td:last-child {
  font-weight: 700;
  color: var(--color-deep);
}

.cancel-text {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 15px;
}

.cancel-table + .cancel-text {
  margin: 10px auto 0;
}

.cancel-text p + p {
  margin-top: 8px;
}

.cancel-text .cancel-table-note {
  font-size: 13px;
  color: var(--color-text-light);
}

/* お支払い方法：アイコンつきの枠を4つ並べる */
.pay-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pay-methods li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-deep);
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.pay-methods svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .pay-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   8. そのほか（戻るリンクなど）
   -------------------------------------------------------------------------- */
.page-back {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
}

.page-back a {
  color: var(--color-accent-dark);
}

/* 詳細ページの「料金一覧にもどる」。お問い合わせ（ダーク）の直前に置くので、
   上のセクションの余白に少し食い込ませて間延びさせない */
.page-back-standalone {
  margin: -40px 0 64px;
}

.page-back-standalone .btn {
  text-decoration: none;
}

/* 戻るボタン：文字の右に左向きのUターン矢印 */
.btn-back {
  gap: 8px;
}

.btn-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   9. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .house-wrap {
    max-width: 560px;
  }

  .house-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  

  .calc-list {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 28px 0 48px;
  }

  

  .house-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .campaign-banner {
    padding: 24px 16px 20px;
  }

  /* 「お得なキャンペーン実施中！」が1行に収まる大きさに */
  .cb-title {
    font-size: 22px;
  }

  /* 屋根のひさしを少し小さくする */
  .house-body {
    margin: 0 14px;
  }

  .vacant-card {
    margin: 12px 14px 0;
  }

  .vc-note {
    font-size: 11px;
  }

  

  /* スマホでは単位と価格を上下に分け、価格を右にそろえる */
  .price-row {
    flex-wrap: wrap;
  }

  .price-row dt {
    font-size: 14px;
  }

  .price-row dd {
    margin-left: auto;
  }

  .calc-row dt {
    width: 100%;
  }

  .cancel-table th,
  .cancel-table td {
    padding: 10px 14px;
    font-size: 14px;
  }

  .page-back-standalone {
    margin: -24px 0 48px;
  }
}

/* ==========================================================================
   10. サービス詳細（エアコンで作った新しい形。ほかの詳細ページにも使う）
   構成：写真の仮置き / ページの頭の説明 / 思い込み→実は / お掃除機能のちがい /
        料金タブ / クリーニング内容のタイル / オプションのカード / 「料金を見る」固定ボタン
   ========================================================================== */

/* --- 写真の仮置き（.ph）。写真ができたら中身を <img> に置き換える --- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0 10px, transparent 10px 20px),
    var(--color-placeholder);
  color: var(--color-text-light);
}

.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-3x2 { aspect-ratio: 3 / 2; }
.ph-1x1 { aspect-ratio: 1 / 1; }

.ph-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.ph-label svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

/* --- ページの頭：説明文と、エアコンの中のつくり --- */
.ac-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 36px auto 0;
}

.ac-intro-text p {
  font-size: 15.5px;
  line-height: 1.95;
}

.ac-intro-text p + p {
  margin-top: 10px;
}

/* 注釈（※1）。本文の番号は小さく上に、注釈は段落の下に小さく（2026-11-21 トイレで追加） */
.fn-ref {
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
}

.ac-intro-text .fn-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-text-light);
}

/* 写真の上の部品名の札 */
.ac-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(28, 52, 70, 0.12);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-deep);
  white-space: nowrap;
}

.ac-pin::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent-dark);
}

/* 手前から奥への部品の順番 */
.ac-layers {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: layer;
}

.ac-layers li {
  counter-increment: layer;
  padding: 6px 1px 7px;
  word-break: keep-all;
  border-radius: 8px;
  background: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #fff;
}

.ac-layers li::before {
  content: counter(layer);
  display: block;
  font-size: 10px;
  opacity: 0.75;
}

/* お掃除ユニットは機能付きのみなので点線で */
.ac-layers li.is-unit {
  background: #fff;
  border: 1.5px dashed var(--color-accent-dark);
  color: var(--color-accent-dark);
}

.ac-pin-unit {
  border-style: dashed;
  border-color: var(--color-accent-dark);
}

.key-unit::before {
  background: #fff;
  border: 1.5px dashed var(--color-accent-dark);
}

.ac-layers li.is-self {
  background: #fff;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-dark);
}

.ac-layers-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-light);
}

.ac-layers-key span::before,
.work-key span::before,
.work-key a::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 3px;
  vertical-align: -1px;
}

.key-self::before {
  background: #fff;
  border: 1px solid var(--color-accent);
}

.key-pro::before {
  background: var(--color-accent-dark);
}

/* --- 思い込み → ちょっと待って → 実は --- */
.myth-list {
  display: grid;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.myth {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* 写真を左右交互に置いて、単調にしない */
.myth:nth-child(even) .myth-ph {
  order: 2;
}

/* お客様のつぶやき（吹き出し） */
.myth-say {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

/* 吹き出しのしっぽ（左下） */
.myth-say::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--color-bg-tint);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transform: rotate(45deg);
}

.myth-wait {
  position: relative;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent-dark);
}

.myth h3 {
  margin: 4px 0 8px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-deep);
}

.myth-body > p:last-child {
  font-size: 15px;
}

/* --- お掃除機能なし／付きのちがい --- */
.ac-types {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 36px 32px 30px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);        /* 上の「ちょっと待って」のカードと同じ見た目 */
}

.ac-types-title {
  font-size: clamp(19px, 15px + 1vw, 24px);
  line-height: 1.5;
  text-align: center;
  color: var(--color-deep);
}

.ac-types-lead {
  margin: 10px auto 24px;
  text-align: center;
  font-size: 15px;
}

.ac-types-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ac-type-name,
.ac-price-name {
  display: table;
  margin: 14px 0 6px;
  padding: 3px 14px;
  border-radius: var(--radius-btn);
  background: var(--color-accent-light);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent-dark);
}

/* 「付き」は濃い青の面で区別する（「なし」はうすい青） */
.ac-type-name-auto,
.ac-price-name-auto {
  background: var(--color-accent-dark);
  color: #fff;
}

.ac-type-point {
  font-size: 14.5px;
  line-height: 1.7;
}

.ac-types-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
  font-size: 14px;
  text-align: center;
  color: var(--color-text-light);
}

/* --- 料金タブ --- */
.ac-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-bottom: 3px solid var(--color-accent-dark);
}

/* JS が動かないときはタブを出さず、パネルを全部並べる */
html:not(.js) .ac-tablist {
  display: none;
}

html:not(.js) .ac-panel + .ac-panel {
  margin-top: 32px;
}

.ac-tablist button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px 10px;
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: var(--color-bg-tint);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-light);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ac-tablist button:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
}

.ac-tablist button[aria-selected="true"] {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-dark);
  color: #fff;
}

.ac-tablist button:focus-visible {
  outline: 3px solid var(--color-primary-line);
  outline-offset: 2px;
}

.ac-tablist svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ac-panel {
  padding-top: 24px;
}

/* --- 料金カード（写真つき） --- */
.ac-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ac-price-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.ac-price-card .ph {
  border-radius: 0;
}

.ac-price-body {
  padding: 4px 20px 14px;
}

.ac-price-sub {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--color-text-light);
}

/* 天吊りなど1枚だけのときは、写真を左・料金を右に */
.ac-price-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
}

/* 写真は料金の欄と同じ高さいっぱいに */
.ac-price-card-wide .ph {
  aspect-ratio: auto;
  height: 100%;
  min-height: 220px;
}

.ac-price-limit {
  margin-top: 10px;
  font-size: 13px;
}

.ac-price-card-wide .ac-price-body {
  padding: 16px 22px;
}

.ac-price-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-light);
}

/* --- 別途かかる場合がある料金（料金カードのすぐ下） --- */
.price-extra {
  margin-top: 14px;
  padding: 14px 18px 12px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 10px;
  background: #fff;
}

.price-extra-title {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-deep);
}

.price-extra dl div {
  display: flex;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}

.price-extra dt {
  flex-shrink: 0;
  min-width: 4.5em;
  font-weight: 700;
  color: var(--color-accent-dark);
}

.price-extra-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-accent-dark);
}

.price-extra-link::after {
  content: " ›";
}

/* --- お支払い方法（料金の下に小さく1行） --- */
.pay-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 920px;
  margin: 28px auto 0;
}

.pay-mini-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-deep);
}

.pay-mini ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.pay-mini li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-deep);
}

.pay-mini svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- 計算例：内訳つき（横いっぱい） --- */
.calc-item-wide {
  grid-column: 1 / -1;
}

.calc-breakdown {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-border);
}

.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 14px;
}

.calc-breakdown dd {
  flex-shrink: 0;
  text-align: right;
}

.calc-breakdown small {
  margin-left: 4px;
  font-size: 12px;
  color: var(--color-text-light);
}

/* --- クリーニング内容のタイル（カジタクの「サービス内容」を参考に） --- */
.work-box {
  margin-top: 32px;
  padding: 24px 22px 20px;
  border-radius: var(--radius-card);
  background: var(--color-bg-tint);
}

.work-title {
  margin-bottom: 14px;
  font-size: 17px;
  color: var(--color-deep);
}

.work-tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

/* タイルは正方形。アイコンと文字は位置を決めて置く（文字が1行でも2行でも、アイコンの位置とタイルの大きさは変わらない） */
.work-tiles li {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  --tile-bg: var(--color-accent-dark);   /* 青地に白（黄色地は2026-11-19に試して青に戻した）。パーツ洗浄の洗い桶の塗りにも使う */
  background: var(--tile-bg);
  font-size: 12px;
  letter-spacing: -0.02em;        /* 8列でも「コンロ・五徳」などが1行に収まるように */
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #fff;
}

.work-tiles li > svg {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
}

.work-tiles .wt-label {
  position: absolute;
  top: 58%;
  left: 2px;
  right: 2px;
}

.work-tiles svg * {
  vector-effect: non-scaling-stroke;   /* 大きさをそろえるために拡大したアイコンも、線の太さは同じに */
}

.work-tiles svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* みえる！おそうじならではの作業はライムで目立たせる */
.work-tiles li.is-feature {
  /* みえる！おそうじならではの作業は白地に紺の枠で目立たせる
     （黄色の面に細い線・小さい文字は乗せないルールのため、2026-11-19 に黄色から変更） */
  --tile-bg: #fff;
  background: var(--tile-bg);
  color: var(--color-accent-dark);
  box-shadow: inset 0 0 0 2px var(--color-accent-dark);
}

/* オプションは含まれる作業の次の行から並べる */
.work-tiles li.is-feature + li.is-option {
  grid-column-start: 1;
}

/* 料金に含まれないもの（オプション）はグレー */
.work-tiles li.is-option {
  --tile-bg: #E9ECE8;
  background: var(--tile-bg);
  color: #8E9790;
}

.work-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--color-text-light);
}

.key-in::before {
  background: var(--color-accent-dark);
}

.work-key a {
  color: var(--color-text-light);
}

.key-opt::before {
  background: #E9ECE8;
}

/* --- オプションのカード（写真つき） --- */
.opt-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.opt-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.opt-ph {
  border-radius: 10px;
}

.opt-ph .ph-label {
  font-size: 10.5px;
}

.opt-tag {
  display: inline-block;
  padding: 1px 10px;
  border-radius: var(--radius-btn);
  background: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.opt-card h3 {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-deep);
}

.opt-price {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-accent-dark);
}

.opt-price small {
  margin-left: 1px;
  font-size: 13px;
}

.opt-text {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
}

/* サービス内容のタイルは、どのページも8列（＝同じ大きさ）にそろえる。
   浴室（10枚）は作業8枚が1段目、ご説明2枚が2段目になる */
.work-tiles.work-tiles-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

@media (max-width: 600px) {
  .work-tiles.work-tiles-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --- 「料金を見る」固定ボタン（右下。コテコテ版：ギザギザのシール＋ずらした黒い影、
       赤いリボン「今だけ！」、青い「お得」シール、キラキラ。スマホは下の LINE・電話バーの上で縮小） --- */
.price-jump {
  position: fixed;
  right: 34px;
  bottom: 30px;
  z-index: 85;
  display: block;
  width: 150px;
  height: 150px;
  color: var(--color-text);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.price-jump.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pj-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 66px;
  transform-origin: 100% 100%;
  transition: transform 0.2s var(--ease);
}

.price-jump:hover .pj-inner {
  transform: scale(1.05) rotate(-3deg);
}

/* ギザギザのシール（黒い影をずらして重ねる） */
.pj-burst {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  filter: drop-shadow(5px 5px 0 var(--color-text));
}

.pj-burst polygon {
  fill: var(--color-primary);
  stroke: var(--color-text);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.pj-ribbon {
  position: absolute;
  top: -30px;
  left: 50%;
  z-index: 2;
  padding: 3px 12px;
  border: 2.5px solid var(--color-text);
  border-radius: 6px;
  background: #E8573A;
  box-shadow: 3px 3px 0 var(--color-text);
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-8deg);
}

.pj-otoku {
  position: absolute;
  right: -20px;
  bottom: -2px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2.5px solid var(--color-text);
  border-radius: 50%;
  background: var(--color-accent-dark);
  box-shadow: 2px 2px 0 var(--color-text);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  transform: rotate(12deg);
}

.pj-spark {
  position: absolute;
  fill: var(--color-primary);
  stroke: var(--color-text);
  stroke-width: 1.4;
  stroke-linejoin: round;
  animation: pj-twinkle 2.4s ease-in-out infinite;
}

.pj-spark-1 { left: -34px; top: 8px; width: 24px; height: 24px; }
.pj-spark-2 { right: -28px; top: -26px; width: 20px; height: 20px; animation-delay: -0.8s; }
.pj-spark-3 { left: -22px; bottom: -6px; width: 16px; height: 16px; animation-delay: -1.6s; }

@keyframes pj-twinkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.6; }
}

.pj-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pj-arc text {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  fill: var(--color-text);
}

.pj-label {
  position: relative;
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 0 #fff;
}

.pj-hand {
  position: relative;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: pj-poke 1.4s ease-in-out infinite;
}

/* 料金より下にいるときは、手を上向きにする（JS が .is-up を付ける） */
.price-jump.is-up .pj-hand {
  transform: rotate(180deg);
  animation-name: pj-poke-up;
}

@keyframes pj-poke-up {
  0%, 100% { transform: rotate(180deg) translateY(0); }
  50% { transform: rotate(180deg) translateY(4px); }
}

@keyframes pj-poke {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .pj-hand,
  .pj-spark {
    animation: none;
  }
}

html:not(.js) .price-jump {
  display: none;
}

@media (max-width: 900px) {
  .ac-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .myth {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .myth:nth-child(even) .myth-ph {
    order: 0;
  }

  .opt-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ac-pin {
    font-size: 11px;
    padding: 2px 8px 2px 6px;
  }

  .ac-layers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ac-layers li {
    font-size: 12px;
  }

  /* スマホでは通常価格を金額の下に */
  .calc-breakdown small {
    display: block;
    margin-left: 0;
  }

  /* 写真が縦に大きくなりすぎないよう、スマホでは横長にする */
  .myth-ph,
  .ac-price-card .ph {
    aspect-ratio: 16 / 9;
  }

  .ac-types-note {
    text-align: left;
  }

  .myth {
    padding: 16px;
  }

  .myth h3 {
    font-size: 17px;
  }

  .ac-types {
    padding: 26px 16px 22px;
  }

  .ac-types-grid {
    gap: 12px;
  }

  .ac-type-name {
    font-size: 13px;
    padding: 2px 10px;
  }

  .ac-type-point {
    font-size: 13px;
  }

  .ac-tablist button {
    font-size: 12px;
    padding: 10px 2px 8px;
  }

  .ac-tablist svg {
    width: 24px;
    height: 24px;
  }

  .ac-price-grid,
  .ac-price-card-wide {
    grid-template-columns: 1fr;
  }

  .ac-price-card-wide .ph {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-box {
    padding: 20px 14px 16px;
  }

  .work-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .work-tiles li {
    font-size: 10.5px;
  }

  .work-tiles svg {
    width: 26px;
    height: 26px;
  }

  .opt-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .price-jump {
    right: 22px;
    bottom: calc(var(--cta-bar-height) + env(safe-area-inset-bottom) + 16px);
    width: 116px;
    height: 116px;
  }

  /* 中身は150px で組んであるので、まるごと縮小する */
  .pj-inner {
    width: 150px;
    height: 150px;
    inset: auto 0 0 auto;
    transform: scale(0.773);
  }

  .price-jump:hover .pj-inner {
    transform: scale(0.8) rotate(-3deg);
  }
}

.pack-save {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--color-border);
  font-size: 13px;
  color: var(--color-text-light);
}

.pack-save strong {
  color: var(--color-number);
  font-size: 14px;
}

/* 計算例の下の「別途かかる料金」は、計算例と同じ幅に */
#examples .price-extra {
  max-width: 920px;
  margin: 24px auto 0;
}

/* オプションの注記は、中央の1枚にそろえて中央寄せ */
.opt-note-center {
  text-align: center;
}

/* オプションが1つだけのときは中央に1枚 */
.opt-cards-single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

/* ==========================================================================
   12. 基本パック＋追加できる箇所／カスタムパック（キッチンで作った形。2026-11-20）
   ========================================================================== */
/* タブは2つ。下に小さな説明を添える */
.kc-tablist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kc-tablist button {
  padding: 14px 6px 12px;
  font-size: 16px;
}

.kc-tablist button small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* 追加できる箇所：点線の枠＋右上の「＋」。下に料金 */
.add-box {
  margin-top: 20px;
  padding: 24px 22px 22px;
  border-radius: var(--radius-card);
  background: var(--color-bg-tint);
}

.add-lead {
  margin: -6px 0 14px;
  font-size: 14px;
  color: var(--color-text-light);
}

.add-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.add-tiles li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 6px 12px;
  border: 1.5px dashed var(--color-accent);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.add-tiles svg {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
  fill: none;
  stroke: var(--color-accent-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.add-mark {
  position: absolute;
  top: -9px;
  right: -9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.add-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-deep);
}

.add-name small {
  font-size: 10.5px;
  font-weight: 500;
}

.add-price {
  margin-top: auto;
  padding-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-accent-dark);
}

.add-price small {
  font-size: 11px;
}

.add-was {
  font-size: 10.5px;
  color: var(--color-text-light);
}

/* 基本パックのお得の一言（料金カードの中） */
.ac-price-body .pack-save {
  margin-top: 4px;
}

@media (max-width: 600px) {
  

  .add-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .add-box {
    padding: 20px 14px 16px;
  }

  .kc-tablist button {
    font-size: 14px;
  }
}

/* ==========================================================================
   13. 年に1回のリセット（洗面台で作った形。2026-11-20）
   「ちょっと待って」の代わりに、水アカが重なる図 → こうなっていたら、のカード
   ========================================================================== */
.reset-lead,
.reset-after {
  word-break: auto-phrase;   /* 「できま／す。」のような折り返しを防ぐ（対応ブラウザのみ） */
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.reset-lead p + p,
.reset-after p + p {
  margin-top: 8px;
}

/* 水アカが重なっていく3コマ。矢印でつなぐ */
.reset-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 820px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}

.reset-steps li {
  position: relative;
  padding: 18px 14px 16px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-size: 14px;
}

.reset-steps li + li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--color-accent);
  border-right: 3px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
}

.reset-fig {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 8px;
}

.reset-fig .rf-base {
  fill: var(--color-accent-light);
  stroke: var(--color-accent);
  stroke-width: 1.5;
}

.reset-fig .rf-scale {
  fill: #EEF1F3;
  stroke: var(--color-text-light);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.reset-fig .rf-line {
  fill: none;
  stroke: var(--color-text-light);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.reset-step-name {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-deep);
}

.reset-title {
  word-break: auto-phrase;
  margin: 44px 0 18px;
  font-size: 19px;
  text-align: center;
  color: var(--color-deep);
}

.reset-signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
}

.reset-signs li {
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.reset-signs .ph {
  border-radius: 0;
}

.reset-signs p {
  word-break: auto-phrase;   /* 「消え／ない」のような変な位置で折り返さない（対応ブラウザのみ） */
  padding: 12px 14px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.reset-after a {
  color: var(--color-accent-dark);
  font-weight: 700;
}

@media (max-width: 600px) {
  .reset-lead,
  .reset-after {
    text-align: left;
  }

  /* スマホでは縦に並べ、矢印は下向き */
  .reset-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .reset-steps li {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    text-align: left;
  }

  .reset-steps li + li::before {
    left: 50%;
    top: -19px;
    transform: translateX(-50%) rotate(135deg);
  }

  .reset-fig {
    grid-row: span 2;
    margin: 0;
  }

  .reset-signs {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reset-signs li {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
  }

  .reset-signs .ph {
    aspect-ratio: 1 / 1;
  }
}

/* サービス内容のタイルの下の小さな注記（フロアの「ワックスがけは洗浄＋ワックスのときだけ」など。2026-11-21） */
.work-note-small {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-light);
}

/* オプションの料金の単位（窓の雨戸「／1枚」など。2026-11-21） */
.opt-price .opt-unit {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
}

/* --- 2か所目からの割引カード（窓で作った形。2026-11-21）
   からし色は目印なので、面には大きい文字だけを置く（細い線・小さい文字は白い側に） --- */
.deal-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  max-width: 780px;
  margin: 20px auto 0;
  padding: 16px 22px 16px 16px;
  background: #fff;
  border: 2px solid var(--color-accent-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.deal-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-deep);
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  transform: rotate(-6deg);
}

.deal-badge-top,
.deal-badge-bottom {
  font-size: 17px;
}

.deal-badge-num {
  font-size: 34px;
  letter-spacing: -0.02em;
}

.deal-badge-num small {
  font-size: 18px;
}

.deal-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-deep);
}

.deal-example {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.deal-was {
  text-decoration: line-through;
  color: var(--color-text-light);
}

.deal-arrow {
  margin: 0 8px;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.deal-example strong {
  font-size: 22px;
  color: var(--color-accent-dark);
}

@media (max-width: 600px) {
  .deal-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 20px 16px;
    text-align: center;
  }

  .deal-title {
    font-size: 16px;
  }
}

/* 別料金のカードの「〇〇の料金を見る」リンク（空室清掃。2026-11-22） */
.opt-link {
  margin: 2px 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.opt-link a {
  color: var(--color-accent-dark);
}
