/* ==========================================================
   フルヤガーデンの外構エクステリア LP
   ========================================================== */
:root {
  /* 配色 A：緑×オレンジに、青を差し色に使う（2026-11-17 A〜D から選んだ） */
  --bg: #f7f3ea; /* 生成り */
  --bg-2: #efe8d8;
  --card: #fffdf8;
  --ink: #2e3a2c;
  --muted: #5f6859; /* 背景・bg-2・tint・card の上で 4.5 以上 */
  --line: #e2d9c4;
  --primary: #4d7b3a; /* 緑。主ボタン・帯の地（白文字 5.0） */
  --primary-d: #34571f; /* 濃い緑。見出し・文字・主ボタンの影 */
  --primary-l: #9cc078; /* 明るい緑。点線の枠など飾り */
  --tint: #e6f0d8; /* ごく薄い緑。選択中・注意書きの地 */
  --cta: #e9762f; /* 行動ボタンのオレンジ。白文字は 4.5 未満だが、明るく目立つことを優先（2026-11-17 の判断） */
  --cta-h: #d4651f; /* 行動ボタンのホバー */
  --cta-d: #b4602f; /* 行動ボタンの影・小さい注記の地 */
  --cta-dd: #8f4a20; /* オレンジの文字（金額の補足）・ホバーの影 */
  --accent: #2a7fba; /* 差し色の青（フルヤガーデンの青）。英字の見出し・特長の丸・流れのアイコン・カードの「見る→」 */
  --discount: #c0392b; /* 値引き・エラーの赤（白文字 5.4） */
  --warn: #9c4a12; /* 注意の文字（暖色） */
  --soil: #d8c7aa; /* 断面図の土 */
  --gravel: #eceff1; /* 断面図の砂利の地 */
  --sun: #f2c35b; /* おすすめの印・暗い帯の上の金額 */
  --radius: 18px;
  --shadow: 0 6px 20px rgba(46, 58, 44, .08);
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
}


*, *::before, *::after { box-sizing: border-box; }
/* ダブルタップでの拡大を止める（2本指のピンチでの拡大はできる）。touch-action は子に受け継がれないので * に付ける。
   iPhone の Safari はこれだけでは止まらないので site.js でも止める（剪定サイトと同じやり方） */
* { touch-action: manipulation; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-d); }
button { font-family: inherit; }
[hidden] { display: none !important; }

.container { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__text { line-height: 1.2; font-weight: 700; font-size: 17px; word-break: keep-all; } /* 折り返すときは「の」のあと（<wbr>）だけ */
.logo__img { display: block; flex-shrink: 0; }
@media (max-width: 480px) { .logo__text { font-size: 15px; } }
.logo__text small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .12em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--primary); }
.site-nav .nav-cta {
  background: var(--cta); color: #fff; padding: 8px 18px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--cta-h); color: #fff; }
.nav-toggle { display: none; }

/* 店名を「フルヤガーデンの外構エクステリア」にしたらメニューが 960px 前後まで折り返したので、1000px 以下はメニューのボタン（三本線）にする。
   メニューは右から滑り出る引き出し（2026-11-17：内容に重なるだけの出し方は分かりにくい）。三本線は × に変わる */
@media (max-width: 1000px) {
  /* backdrop-filter があると、中の position: fixed がヘッダーの中に閉じこめられるので、スマホでは使わない */
  .site-header { backdrop-filter: none; background: var(--bg); }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
    position: relative; z-index: 3;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
    transition: transform .3s ease, background-color .2s ease, top .3s ease;
  }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 1; background: rgba(30, 38, 28, .4);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; width: min(84vw, 340px);
    background: var(--card); box-shadow: -8px 0 24px rgba(30, 38, 28, .18);
    padding: 76px 0 max(24px, env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; padding: 0 20px; gap: 0; align-items: stretch; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; padding: 16px 4px; font-size: 16px; }
  .site-nav .nav-cta { text-align: center; margin-top: 20px; padding: 14px 18px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .site-nav, .nav-backdrop, .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { transition: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px; border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 0 var(--primary-d); }
.btn--primary:hover:not(:disabled) { background: var(--primary-d); }
.btn--accent { background: var(--cta); color: #fff; box-shadow: 0 4px 0 var(--cta-d); }
.btn--accent:hover:not(:disabled) { background: var(--cta-h); box-shadow: 0 4px 0 var(--cta-dd); }
.btn--ghost { background: transparent; color: var(--primary-d); border-color: var(--primary); }
.btn--lg { min-height: 60px; font-size: 17px; width: 100%; }

/* ---------- hero / slider ---------- */
.hero { padding: 28px 0 8px; }
.hero__head { text-align: center; margin-bottom: 22px; }
.hero__en { font-size: 12px; letter-spacing: .3em; color: var(--primary); font-weight: 700; margin: 0; }
.hero__title { font-size: clamp(28px, 6vw, 46px); line-height: 1.3; margin: 4px 0 10px; }
.hero__title span { color: var(--primary); }

.slider { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.slider__track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.slide { flex: 0 0 100%; position: relative; display: block; color: #fff; text-decoration: none; aspect-ratio: 16 / 8; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 28px 26px;
  background: linear-gradient(transparent, rgba(30, 38, 28, .8));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.svc-tag { display: inline-block; font-size: 12px; line-height: 1.5; font-weight: 700; color: #fff; border-radius: 999px; padding: 2px 12px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.svc-tag--turf { background: var(--primary); }
.svc-tag--gravel { background: #6f6a5c; }
.svc-tag--lg { font-size: clamp(13px, 2.6vw, 16px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.slide__title { margin: 8px 0 0; font-size: clamp(22px, 4.8vw, 40px); font-weight: 700; line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.slide__sub { margin: 6px 0 0; font-size: clamp(13px, 2.4vw, 17px); font-weight: 700; opacity: .95; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.slide__go {
  background: var(--cta); color: #fff; font-weight: 700; border-radius: 999px; padding: 12px 24px; font-size: clamp(14px, 2.4vw, 17px); white-space: nowrap; box-shadow: 0 4px 0 var(--cta-d);
}
a.slide:hover .slide__go { background: var(--cta-h); }
.slider__dots { position: absolute; top: 6px; right: 8px; display: flex; align-items: center; gap: 2px; }
/* 押せる範囲は 24px 以上・見た目の点は小さいまま（::before） */
.slider__dots button { position: relative; width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
.slider__dots button::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.slider__dots button.is-on::before { background: #fff; width: 24px; margin-left: -12px; border-radius: 6px; }
.slider__dots button:focus-visible, .slider__pause:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.slider__pause {
  position: absolute; top: 6px; left: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(30, 38, 28, .55); color: #fff; display: grid; place-items: center; padding: 0;
}
.slider__pause svg { width: 16px; height: 16px; fill: currentColor; }
.slider__pause .i-play { display: none; }
.slider__pause.is-paused .i-play { display: block; }
.slider__pause.is-paused .i-pause { display: none; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
@media (max-width: 600px) {
  .slide { aspect-ratio: 4 / 3.4; }
  .slide__cap { padding: 50px 16px 16px; }
  .slider__arrow { display: none; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--bg-2); }
.sec-head { text-align: center; margin-bottom: 32px; }
.sec-head__en { font-size: 12px; letter-spacing: .3em; color: var(--accent); font-weight: 700; margin: 0; }
.sec-head h2 { font-size: clamp(22px, 5vw, 30px); margin: 4px 0 6px; line-height: 1.4; }
.sec-head p { margin: 0; color: var(--muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* 公開中のメニューが1つだけのとき（砂利敷きだけ先に公開）は、カードを真ん中に置く */
.services:has(> .svc:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.svc {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); border: 2px solid transparent;
  transition: transform .2s, border-color .2s;
}
a.svc:hover { transform: translateY(-3px); border-color: var(--primary-l); }
.svc__img { aspect-ratio: 16 / 9; background: var(--tint); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc__body h3 { margin: 0; font-size: 21px; }
.svc__body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.svc__price { font-size: 14px; color: var(--ink) !important; }
.svc__price b { font-size: 20px; color: var(--primary-d); }
.svc__cta {
  margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.svc__cta::after { content: "→"; transition: transform .2s; }
a.svc:hover .svc__cta::after { transform: translateX(4px); }

.services--soon { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.svc--soon { background: transparent; border: 2px dashed var(--line); box-shadow: none; }
.svc--soon .svc__body { padding: 18px 20px; }
.svc--soon h3 { font-size: 17px; color: var(--muted); }
.soon-tag {
  align-self: flex-start; font-size: 11px; letter-spacing: .12em; font-weight: 700;
  background: var(--bg-2); color: var(--muted); border-radius: 999px; padding: 2px 12px;
}
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .services--soon { grid-template-columns: 1fr; gap: 10px; }
  .svc--soon .svc__body { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 18px; }
  .svc--soon .svc__body p { display: none; }
  .svc--soon .soon-tag { align-self: center; order: 2; }
}

/* flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow li {
  background: var(--card); border-radius: var(--radius); padding: 26px 18px 20px; text-align: center; position: relative;
  counter-increment: flow;
}
.flow li::before {
  content: counter(flow); position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.flow__icon { width: 60px; height: 60px; margin: 6px auto 10px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.flow h3 { margin: 0 0 4px; font-size: 17px; }
.flow p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li { text-align: left; padding: 18px 18px 18px 64px; }
  .flow li::before { left: 18px; top: 50%; transform: translateY(-50%); }
  .flow__icon { display: none; }
}

/* points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.point { background: var(--card); border-radius: var(--radius); padding: 22px; }
.point h3 { margin: 0 0 6px; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.point h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.point p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--primary); font-weight: 700; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* cta band */
.cta-band { background: var(--primary); color: #fff; border-radius: 28px; padding: 40px 24px; text-align: center; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(20px, 4.6vw, 28px); }
.cta-band p { margin: 0 0 20px; }
.cta-band__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--primary { background: #fff; color: var(--primary-d); box-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
/* 通常の .btn--primary のホバー（濃い緑の背景）が当たると文字と同じ色になって読めないので、白地の明るい緑にとどめる */
.cta-band .btn--primary:hover:not(:disabled) { background: var(--tint); color: var(--primary-d); }

/* footer */
.site-footer { padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* ==========================================================
   見積りページ
   ========================================================== */
.est-hero { padding: 24px 0 8px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.breadcrumb a { color: var(--muted); }
.est-hero h1 { margin: 0; font-size: clamp(24px, 5.4vw, 34px); line-height: 1.35; }
.est-hero h1 small { display: block; font-size: .5em; color: var(--primary); letter-spacing: .1em; }
.est-hero p { margin: 8px 0 0; color: var(--muted); }
.est-photo { margin-top: 18px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 5; }
.est-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .est-photo { aspect-ratio: 16 / 7; } }

.wizard { max-width: 760px; margin: 24px auto 0; padding-bottom: 80px; scroll-margin-top: 80px; }
.progress { height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--primary-l), var(--primary)); border-radius: 99px; transition: width .4s; }
.progress__label { margin: 6px 0 12px; font-size: 13px; font-weight: 700; color: var(--primary); }

.step-card {
  background: var(--card); border-radius: 24px; padding: 28px clamp(18px, 4vw, 36px) 30px; box-shadow: var(--shadow);
  animation: stepIn .35s ease;
}
.step-card.no-anim { animation: none; }
.result__plan { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.hint.hint--warn { color: var(--warn); font-weight: 700; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .step-card { animation: none; } .slider__track { transition: none; } }
.step-title { margin: 0 0 4px; font-size: clamp(20px, 4.6vw, 25px); line-height: 1.45; }
/* 画面を切り替えたとき、キーボード・読み上げの続きの位置として見出しにフォーカスを移す（見た目の枠は出さない） */
.step-title:focus { outline: none; }
.step-help { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.hint { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.sub-title { font-size: 16px; margin: 26px 0 8px; }

/* area */
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border-radius: 14px; padding: 4px; margin: 18px 0 16px; }
.tab { border: 0; background: transparent; border-radius: 10px; padding: 10px 6px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.tab.is-on { background: #fff; color: var(--primary-d); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 15px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.chip:hover, .chip.is-on { border-color: var(--primary); background: var(--tint); }
.area-field { display: flex; align-items: center; gap: 8px; }
.area-field input {
  width: 100%; max-width: 220px; font: inherit; font-size: 26px; font-weight: 700; text-align: right;
  padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
}
.area-field input:focus { outline: none; border-color: var(--primary); }
.area-field span { font-weight: 700; font-size: 18px; }
.area-wh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.area-wh .area-field input { max-width: 120px; }
.area-x { font-size: 20px; color: var(--muted); }
.area-result { margin: 12px 0 0; font-size: 18px; }
.area-result strong { font-size: 26px; color: var(--primary-d); }

/* hero のボタン */
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 22px; }
.hero__cta-main { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; width: 100%; }
.hero__cta-main .btn { min-height: 56px; font-size: 16px; padding: 0 26px; }
.hero__trust { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--primary-d); font-weight: 700; }
.hero__trust li::before { content: "✓"; margin-right: 4px; color: var(--primary); }
@media (max-width: 600px) { .hero__cta-main .btn { flex: 1 1 100%; } }

/* works */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.work__img { position: relative; background: var(--tint); }
.work__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.work__note { position: absolute; right: 8px; bottom: 8px; font-size: 11px; background: rgba(0, 0, 0, .55); color: #fff; padding: 2px 8px; border-radius: 6px; }
.work__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work__body h3 { margin: 0; font-size: 18px; line-height: 1.5; }
.work__body p { margin: 0; color: var(--muted); font-size: 14px; }
.work__body .work__meta { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 14px; }
.work__body .work__price { color: var(--ink); font-size: 14px; margin-top: auto; padding-top: 4px; }
.work__price b { font-size: 19px; color: var(--primary-d); }
.work__tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.work__tags li { font-size: 12px; background: var(--tint); color: var(--primary-d); border-radius: 6px; padding: 2px 8px; }
.works__note { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.works__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.cta-band__visit { margin: 16px 0 0 !important; font-size: 14px; }
.cta-band__visit a { color: #fff; text-underline-offset: 3px; }

/* options */
.opts { display: grid; gap: 12px; margin-top: 16px; }
.opts--2 { grid-template-columns: repeat(2, 1fr); }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
/* 3列の4つ目から（砂利の厚さの「その他の厚さ」「砂利なし」）は、1行まるごと使って厚さの3つと分けて見せる */
.opts--3 > :nth-child(n+4) { grid-column: 1 / -1; }
/* 選択肢の中で数字を入れる欄（その他の厚さ）。選んだカードのすぐ下に出す */
.opt-custom { grid-column: 1 / -1; margin-top: -4px; padding: 12px 16px 4px; border-radius: 12px; background: var(--tint); }
.opt-custom .hint { margin: 0 0 8px; }
@media (max-width: 600px) { .opts--2, .opts--3 { grid-template-columns: 1fr; } }
.opt {
  position: relative; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px;
  padding: 16px 18px 16px 50px; cursor: pointer; color: var(--ink); display: flex; flex-direction: column; gap: 4px;
  transition: border-color .15s, background .15s, transform .1s;
}
.opt::before {
  content: ""; position: absolute; left: 16px; top: 19px; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff;
}
.opt:hover { border-color: var(--primary-l); }
.opt.is-on { border-color: var(--primary); background: var(--tint); }
.opt.is-on::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 4px #fff; }
.opt.is-rec { border-color: var(--sun); }
.opt.is-rec.is-on { border-color: var(--primary); }
.opt__head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.badge { font-size: 11px; font-weight: 700; background: var(--bg-2); color: var(--muted); border-radius: 999px; padding: 1px 10px; }
.badge--rec { background: var(--sun); color: #4a3300; }
.opt__label { font-weight: 700; font-size: 17px; line-height: 1.45; }
.opt__desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.opt__price { font-size: 13.5px; font-weight: 700; color: var(--cta-dd); }

.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.step-actions .btn--primary { margin-left: auto; min-width: 180px; }
.step-actions--col { flex-direction: column; align-items: stretch; }
.step-actions--col .btn { width: 100%; margin: 0; }
.btn-back { border: 0; background: none; color: var(--muted); font-size: 15px; font-weight: 700; cursor: pointer; padding: 10px 4px; }
.step-actions--col .btn-back { align-self: center; }

/* summary */
.result {
  background: linear-gradient(135deg, var(--tint), #eef5e6); border-radius: 20px; padding: 22px; text-align: center; margin: 16px 0;
}
.result__label { margin: 0; font-weight: 700; color: var(--primary-d); font-size: 14px; }
.result__price { margin: 4px 0; font-size: clamp(18px, 4.4vw, 22px); font-weight: 700; line-height: 1.4; }
.result__price span { font-size: clamp(30px, 8vw, 42px); color: var(--primary); letter-spacing: 0; }
.result__note { margin: 0; font-size: 13px; color: var(--muted); }

.breakdown { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
/* 結果画面：お値引きの枠のすぐ下に内訳が来るので、間をあける */
[data-part="breakdown"] { margin-top: 24px; }
.breakdown summary { cursor: pointer; font-weight: 700; padding: 10px 0; font-size: 15px; }
.breakdown table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.breakdown th, .breakdown td { padding: 10px 0; border-top: 1px dashed var(--line); vertical-align: top; }
.breakdown th { text-align: left; font-weight: 500; }
.breakdown th small { display: block; color: var(--muted); font-size: 12px; }
.breakdown td { text-align: right; white-space: nowrap; padding-left: 12px; font-weight: 700; }
.breakdown tfoot th { font-weight: 700; }
.breakdown .is-total th, .breakdown .is-total td { font-size: 16px; color: var(--primary-d); border-top: 2px solid var(--line); }
.breakdown .is-discount td { color: var(--discount); }

.caution { font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 12px 14px; margin: 20px 0 0; }

/* contact form */
.mini-result { background: var(--tint); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 8px; }
.mini-result strong { color: var(--cta-dd); }
.form fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.form legend { font-weight: 700; font-size: 16px; padding: 0; margin-bottom: 8px; border-left: 4px solid var(--primary-l); padding-left: 10px; }
.f { display: block; margin-top: 12px; }
.f__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.req, .opt-tag { font-size: 11px; border-radius: 4px; padding: 0 6px; font-weight: 700; }
.req { background: var(--cta-d); color: #fff; }
.opt-tag { background: var(--bg-2); color: var(--muted); }
.f input, .f select, .f textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--primary); }
/* iPhone の Safari は日付欄に独自の最小幅があり、width:100% でも縮まずに画面からはみ出す。
   見た目を素の入力欄に戻して幅を効かせる（空のときに高さが潰れないよう min-height も付ける） */
.f input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; min-height: 52px; display: block; text-align: left; }
.f input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.f__err, .form .f__err { display: block; color: var(--discount); font-size: 13px; font-weight: 700; min-height: 0; }
.f__err:empty { display: none; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-row > * { min-width: 0; } /* 中身の最小幅で列が押し広げられないように */
@media (max-width: 480px) { .f-row { grid-template-columns: 1fr; } }
.f-row--pair { margin-top: 0; }
@media (max-width: 480px) { .f-row--pair { grid-template-columns: 1fr 1fr; gap: 8px; } } /* 姓・名は短いのでスマホでも横並び */
.f__note { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.f__note.is-bad { color: var(--discount); font-weight: 700; }
.turnstile { margin-top: 18px; min-height: 65px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 10px; }
.photos:empty { display: none; }
.photo { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; font-size: 14px; line-height: 1;
}
.photo-add { display: block; margin-top: 10px; cursor: pointer; }
.photo-add input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-add span {
  display: block; text-align: center; border: 2px dashed var(--primary-l); border-radius: 14px; padding: 18px; font-weight: 700; color: var(--primary-d); background: #fbf8f1;
}
.photo-add:focus-within span { border-color: var(--primary); }
.agree { display: flex; gap: 10px; align-items: center; margin-top: 22px; font-size: 15px; cursor: pointer; }
.agree input { width: 22px; height: 22px; accent-color: var(--primary); }
.form-error { background: #fbeceb; color: var(--discount); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 16px 0 0; }

/* done */
.done { text-align: center; }
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 10px; }
.done__copy { margin: 0 0 6px; font-size: 15px; }
.done__total { margin: 0; font-size: 16px; }
.done__total strong { font-size: 22px; color: var(--primary-d); }
.next-flow { text-align: left; margin: 20px 0; padding: 0; list-style: none; counter-reset: nf; display: grid; gap: 10px; }
.next-flow li { counter-increment: nf; background: var(--bg); border-radius: 12px; padding: 12px 14px 12px 50px; position: relative; font-size: 14px; color: var(--muted); }
.next-flow li::before { content: counter(nf); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-l); color: var(--primary-d); font-weight: 700; display: grid; place-items: center; }
.next-flow b { display: block; color: var(--ink); }

/* sticky estimate bar */
.est-bar {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 40;
  width: min(560px, calc(100% - 24px)); background: var(--ink); color: #fff; border-radius: 999px;
  padding: 10px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.est-bar__label { font-size: 12px; opacity: .8; }
.est-bar__price { font-weight: 700; font-size: 19px; color: var(--sun); white-space: nowrap; }
.est-bar__price small { font-size: 12px; color: #fff; margin-left: 1px; }
/* 結果画面のバー：金額＋［現地調査を依頼］ */
.est-bar__sum { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.est-bar__go { flex: none; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--cta); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.est-bar:has(.est-bar__go) { padding: 6px 6px 6px 20px; }
/* バーが出ているあいだは、ページの一番下（フッターのリンク）がバーに隠れないように余白を足す */
body.has-est-bar { padding-bottom: 84px; }
/* 内訳の［変更］と、移った先の欄を少しのあいだ目立たせる */
.bd-edit { margin-left: 8px; min-height: 32px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--primary-d); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; vertical-align: middle; }
.bd-edit:hover { border-color: var(--primary-l); }
.cfg__group.is-flash { animation: cfg-flash 1.8s ease-out; }
@keyframes cfg-flash { 0%, 30% { box-shadow: 0 0 0 3px var(--primary-l); background: var(--tint); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .cfg__group.is-flash { animation: none; outline: 3px solid var(--primary-l); } }

/* privacy page */
.doc { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 24px; padding: 32px clamp(18px, 4vw, 40px); }
.doc h1 { font-size: 24px; margin-top: 0; }
.doc h2 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { font-size: 15px; }

/* 複数選べる質問：丸ではなく四角のチェック */
.opts--multi .opt::before { border-radius: 6px; }
.hint--multi { margin: 6px 0 0; font-weight: 700; color: var(--primary-d); }

.nowrap { display: inline-block; }

/* 結果画面の節約のヒント */
.tip { margin: 16px 0 24px; padding: 10px 14px; background: var(--tint); border-radius: 12px; font-size: 13.5px; }
/* オープン記念のチェック（結果画面・campaign-box の中） */
.campaign { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; background: #fff; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; }
.campaign.is-on { border-color: var(--primary); background: var(--tint); }
.campaign input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.campaign__body { display: block; }
.campaign__label { display: block; font-weight: 700; font-size: 15px; line-height: 1.5; }
.campaign__desc { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.hint--small { font-size: 12.5px; }
.result__std { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.result__notice { margin: 8px auto 0; font-size: 13.5px; font-weight: 700; color: var(--cta-dd); }
/* 説明の図（砂利：土の高さ）と、数値の欄の前の名前 */
.step-figure { margin: 0 0 16px; padding: 10px 8px 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.step-figure svg { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.step-figure__note { margin: 4px 0 6px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.area-field .field-label { font-size: 15px; white-space: nowrap; }
/* 砂利 STEP4：仕上がりの高さ。施工前・施工後の断面を並べる */
.step-figure .lv-fig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 380px; margin: 0 auto; }
.lv-fig__panel { margin: 0; text-align: center; }
.lv-fig__panel figcaption { font-weight: 700; font-size: 14px; color: var(--primary-d); margin-bottom: 2px; }
.step-figure .lv-fig svg { max-width: none; border-radius: 8px; background: var(--bg); }
.lv-soil { fill: var(--soil); }
.lv-gravel { fill: var(--gravel); }
.lv-gravel-dots { fill: url(#lvDots); }
.lv-dot { fill: var(--muted); }
.lv-sheet { stroke: var(--primary-d); stroke-width: 1.6; }
.lv-surface { stroke: var(--primary-d); stroke-width: 2.4; }
.lv-guide { stroke: var(--cta); stroke-width: 1.5; stroke-dasharray: 4 3; }
.lv-label { fill: var(--primary-d); font-weight: 700; font-size: 10px; }
.lv-move { transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) { .lv-move { transition: none; } }
.lv-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 8px 0 4px; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.lv-sw { display: inline-block; width: 14px; height: 10px; margin-right: 5px; vertical-align: -1px; border-radius: 2px; }
.lv-sw--soil { background: var(--soil); }
.lv-sw--sheet { height: 3px; vertical-align: 3px; background: var(--primary-d); border-radius: 0; }
.lv-sw--gravel { background: var(--gravel); border: 1px solid var(--muted); }
.lv-sw--guide { height: 0; width: 16px; vertical-align: 3px; border-top: 2px dashed var(--cta); border-radius: 0; }
/* 仕上がりの高さ：［▼低くする］今より○cm［▲高くする］と、土をすき取る深さの枠 */
.lv-dial { margin: 14px 0 0; }
/* STEP 4：ボタンを断面図の枠の内側に置く */
.lv-dial--fig { margin: 0; }
.lv-frame { padding: 10px 10px 12px; }
.lv-frame .lv-dial__row { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.lv-dial__row { justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.lv-btn {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 92px; min-height: 64px; padding: 6px 10px; border: 2px solid var(--primary); border-radius: 14px;
  background: var(--tint); color: var(--primary-d); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.lv-btn span { font-size: 14px; }
.lv-btn:active:not(:disabled) { background: var(--primary); color: #fff; }
.lv-btn:disabled { opacity: .35; cursor: not-allowed; border-color: var(--line); }
.lv-dial__now { flex: 1; min-width: 0; text-align: center; word-break: keep-all; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.lv-cut { border: 2px solid var(--primary); border-radius: 16px; background: var(--card); padding: 14px 18px; }
.lv-cut__head { margin: 0; font-size: 15px; font-weight: 700; color: var(--primary-d); }
.lv-cut__num { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--primary-d); line-height: 1.1; }
.lv-cut__num strong { font-size: 46px; margin-right: 4px; }
.lv-cut__rows { margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 15px; }
.lv-cut__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.lv-cut__rows dt { color: var(--muted); }
.lv-cut__rows dd { margin: 0; font-weight: 700; white-space: nowrap; }
.lv-cut__note { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
/* 「よくわからない」を選んでいるあいだは、ボタンの高さ表示を薄くする（押せば選び直せる） */
.lv-dial.is-off .lv-dial__now { color: var(--muted); opacity: .6; }
.lv-unknown { width: 100%; margin-top: 14px; }
.lv-unknown .opt__label { font-size: 16px; }

/* オプションを押したとき、上の金額の枠が一瞬だけ色づいて変わったことを知らせる */
.result.is-flash .result__price span { animation: price-flash .9s ease-out; }
@keyframes price-flash { 0% { background: #e6f0d8; border-radius: 8px; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .result.is-flash .result__price span { animation: none; } }
.work__body .work__note-text { font-size: 12px; margin-top: -4px; }

.stepper { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; margin: 4px 0 8px; }
.stepper .area-field { flex: 0 1 auto; min-width: 0; }
.stepper .area-field input { width: 110px; max-width: 110px; font-size: 22px; padding: 8px 10px; }
.stepper .area-field span { white-space: nowrap; font-size: 16px; }
.step-btn {
  flex: none; width: 46px; height: 46px; border: 2px solid var(--primary); border-radius: 14px; background: var(--tint);
  color: var(--primary); font: inherit; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.step-btn:active:not(:disabled) { background: var(--primary); color: #fff; }
.step-btn:disabled { opacity: .35; cursor: not-allowed; border-color: var(--line); }

/* 選択肢カードの挿絵（砂利 STEP1）・説明の図の画像（砂利 STEP6） */
.opt__img { display: block; margin: 2px 0 6px; }
.opt__img img { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 10px; }
.step-figure img { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto 6px; }
/* 選択肢の下の一言（通路：割増は目安） */
.step-note { margin: 10px 0 0; }

/* 結果画面：オープン記念を選んだときの値引き前の金額 */
.result__was { margin: 0 0 4px; font-size: 13.5px; color: var(--muted); }
.result__was s { text-decoration-thickness: 2px; }

/* 結果画面：サイトオープン記念。青系のカードの中で目立つよう、暖色の地・黄色の枠・赤の札にする */
.campaign-box {
  position: relative; margin: 18px 0 0; padding: 18px 16px 16px; border: 2px solid var(--sun); border-radius: 18px;
  background: linear-gradient(135deg, #fff8e8, #fff1ec); box-shadow: 0 6px 18px rgba(192, 57, 43, .12);
}
.campaign-box__tag {
  display: inline-block; margin: 0 0 8px; padding: 3px 14px; border-radius: 999px; background: var(--discount); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.campaign-box__lead { margin: 0 0 12px; font-weight: 700; font-size: 16px; line-height: 1.6; color: var(--ink); }
.campaign-box .campaign { margin: 0; border-color: #f0d9a8; }
.section--tight { padding-top: 8px; padding-bottom: 8px; }
.campaign-box__pct { font-size: 1.25em; color: var(--discount); }
/* トップの案内（結果画面の campaign-box と同じ色づかい） */
.campaign-band {
  max-width: 760px; margin: 0 auto; padding: 22px 20px; text-align: center; border: 2px solid var(--sun); border-radius: 20px;
  background: linear-gradient(135deg, #fff8e8, #fff1ec); box-shadow: 0 6px 18px rgba(192, 57, 43, .12);
}
.campaign-band__lead { margin: 4px 0 8px; font-weight: 700; font-size: clamp(17px, 2.4vw, 21px); line-height: 1.6; color: var(--ink); }
.campaign-band__pct { font-size: 1.5em; color: var(--discount); }
.campaign-band__note { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.campaign-box .campaign.is-on { border-color: var(--discount); background: #fff; }
.campaign-box .campaign input { accent-color: var(--discount); }
.campaign__save { display: block; margin-top: 4px; font-size: 14px; color: var(--discount); font-weight: 700; }
.campaign__save strong { font-size: 18px; }
.campaign__cond { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }

/* 結果画面：選んだ内容（この画面で選び直す） */
.cfg { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.cfg__group { padding: 14px 16px; }
.cfg__group + .cfg__group { border-top: 1px dashed var(--line); }
.cfg__title { margin: 0 0 8px; font-size: 15px; color: var(--primary-d); }
.cfg__now { margin: -4px 0 8px; font-size: 13.5px; color: var(--muted); }
.cfg__fixed { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink); }
.cfg__sub { margin: 12px 0 6px; font-size: 14px; font-weight: 700; }
.cfg-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.cfg-opt {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; min-height: 44px; text-align: left;
  padding: 8px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; cursor: pointer;
}
.cfg-opt:hover { border-color: var(--primary-l); }
.cfg-opt.is-on { border-color: var(--primary); background: var(--tint); }
.cfg-opt__label { font-weight: 700; font-size: 14.5px; line-height: 1.45; }
.cfg-opt__label .badge { vertical-align: 2px; }
.cfg-opt__desc { grid-column: 1; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cfg-opt__diff { grid-column: 2; grid-row: 1 / span 2; font-size: 13.5px; font-weight: 700; white-space: nowrap; color: var(--cta-dd); }
.cfg-opt__diff.is-down { color: var(--discount); }
.cfg-opt__diff.is-current { color: var(--primary-d); font-weight: 500; }
/* 単価の表示（差額の代わり）。名前・説明の下に1行で出す */
.cfg-opt__unit { grid-column: 1 / -1; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--cta-dd); }
.cfg-opt__unit.is-down { color: var(--discount); }
.cfg .stepper { margin: 0 0 6px; }
.cfg .chips { margin: 6px 0 0; }
.cfg .hint { margin: 6px 0 0; }

/* 内訳：値引きの欄（オープン記念は赤字） */
.breakdown__head th { padding-bottom: 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.breakdown .is-campaign th, .breakdown .is-campaign td { font-weight: 700; color: var(--discount); }

/* スマホでは、ボタンの文言を区切りのよいところで改行する（例：依頼ボタンの「（無料）」を2行目に）。.btn は flex なので、2つの span を縦に積む */
.btn:has(> .sp-break) { gap: 0; }
@media (max-width: 480px) { .btn:has(> .sp-break) { flex-direction: column; } }
