/* お墓じまいの窓口 LP */
:root {
  /* テーマ：オレンジ（メイン）＋紺（見出し）＋黄（マーカー）＋水色（背景）。元の配色の朱色をオレンジにしたもの */
  --main: #E36C0A;
  --main-dark: #B04F02;
  --main-pale: #FFF1E4;
  --main-soft: #F6C08F;
  --ink: #1E2B4F;
  --gold: #B8862F;
  --marker: #FFE45C;
  --text: #2E3440;
  --sub: #5D6475;
  --line: #E3E6EB;
  --blue-bg: #EAF4FB;
  --cream: #FFF8EC;
  --err: #C0392B;
  --line-green: #06C755;
  --radius: 18px;
  --shadow: 0 6px 18px rgba(30, 43, 79, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.8; letter-spacing: .02em;
  padding-bottom: 104px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); }
h1, h2, h3 { color: var(--ink); line-height: 1.45; margin: 0; font-weight: 900; }
p { margin: 0 0 1em; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.sp { display: inline; }
@media (min-width: 720px) { .sp { display: none; } }
.u-main { color: var(--main); }
.u-ink { color: var(--ink); }
.marker { background: linear-gradient(transparent 58%, var(--marker) 58%); padding: 0 .1em; }
.note { font-size: 13px; color: var(--sub); line-height: 1.7; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; color: currentColor; }

/* ---------- ボタン ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  width: 100%; min-height: 60px; padding: 12px 20px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 900; font-size: 18px; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  transition: transform .08s, box-shadow .08s;
}
.btn-main { background: var(--main); color: #fff; box-shadow: 0 5px 0 var(--main-dark); }
.btn-main:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--main-dark); }
.btn-outline { background: #fff; color: var(--main); border: 2px solid var(--main); box-shadow: none; min-height: 52px; font-size: 16px; }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 5px 0 #04933F; }
.btn-line.is-off { background: #B9BEC8; box-shadow: 0 5px 0 #8D93A0; pointer-events: none; }
.btn-sm { min-height: 54px; font-size: 16px; margin-top: 8px; }
.btn[disabled] { background: #C9CDD5; box-shadow: 0 5px 0 #A9AEB9; cursor: default; }
.cta-pair { display: grid; gap: 18px; margin: 8px 0 0; }
@media (min-width: 720px) { .cta-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; height: 56px; padding: 0 12px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 6px; color: var(--main); text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: .04em; }
.logo-mark svg { width: 26px; height: 26px; display: block; }
.header-btn { flex: none; font-size: 13px; font-weight: 900; color: #fff; background: var(--main); border-radius: 999px; padding: 6px 14px; text-decoration: none; }

/* ---------- ヒーロー ---------- */
.hero { padding: 22px 0 36px; background: linear-gradient(#fff 0, #fff 60%, var(--cream) 100%); text-align: center; }
.hero-bubble {
  position: relative; display: inline-block; margin: 0 auto 12px; padding: 6px 18px;
  border: 2.5px solid var(--main); border-radius: 999px; background: #fff; font-weight: 900; font-size: 13px; color: var(--ink); white-space: nowrap; letter-spacing: 0;
}
@media (min-width: 720px) { .hero-bubble { font-size: 16px; } }
.hero-bubble b { color: var(--main); font-size: 1.25em; }
.hero-bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 14px; height: 14px; background: #fff;
  border-right: 2.5px solid var(--main); border-bottom: 2.5px solid var(--main); transform: translateX(-50%) rotate(45deg) skew(10deg, 10deg); }
.hero-title { font-size: 25px; margin-top: 8px; }
@media (min-width: 720px) { .hero-title { font-size: 34px; } }
.hero-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 8px; color: var(--main); font-weight: 900; font-size: clamp(26px, 8.4vw, 52px); letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.hero-logo .logo-mark svg { width: 1.05em; height: 1.05em; }
.laurel { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0 auto 16px; }
.laurel-leaf { width: 34px; height: 76px; }
.laurel-leaf.flip { transform: scaleX(-1); }
.laurel-body { display: flex; flex-direction: column; line-height: 1.15; color: var(--gold); font-weight: 900; }
.laurel-label { font-size: 15px; letter-spacing: .2em; }
.laurel-num { font-size: 22px; }
.laurel-num b { font-size: 46px; margin-right: 2px; background: linear-gradient(#D9A748, #9C6B1C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; max-width: 900px; margin: 0 auto 22px; }
.hero-photo figure { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 8px; top: 8px; background: rgba(30,43,79,.85); color: #fff; font-size: 12px; font-weight: 900; padding: 2px 10px; border-radius: 999px; }
.hero-photo figcaption.after { background: var(--main); }
.hero-catch { font-size: 18px; font-weight: 900; color: var(--ink); margin-bottom: 20px; line-height: 1.6; }
.hero-catch .u-main { font-size: 1.3em; }

/* ---------- 信頼帯 ---------- */
.trust { padding: 34px 0 30px; text-align: center; }
.trust-lead { font-weight: 900; font-size: 18px; color: var(--ink); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trust-list li { background: var(--main-pale); border-radius: 14px; padding: 12px 4px; display: flex; flex-direction: column; line-height: 1.4; font-size: 12px; font-weight: 700; color: var(--sub); }
.trust-big { color: var(--main); font-weight: 900; font-size: 16px; }
.trust-big b { font-size: 24px; }

/* ---------- 見出し ---------- */
.sec-title { text-align: center; font-size: 24px; margin-bottom: 24px; }
@media (min-width: 720px) { .sec-title { font-size: 30px; } }
.big-num { font-size: 1.8em; line-height: 1; }
.sec-lead { text-align: center; color: var(--sub); }

/* ---------- お悩み ---------- */
.worries { padding: 44px 0 40px; }
.worry-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 26px; }
.worry { position: relative; display: flex; align-items: flex-end; gap: 4px; }
.worry p {
  position: relative; flex: 1; margin: 0; background: var(--main-pale); border-radius: 48px; padding: 22px 12px 32px 22px;
  font-weight: 900; font-size: 16px; color: var(--ink); line-height: 1.6;
}
.worry p::after { content: ""; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 11px solid var(--main); }
.worry-person { width: 72px; height: 80px; flex: none; }
.worry.rev { flex-direction: row-reverse; }
.worry.rev p { padding: 22px 22px 32px 12px; }
@media (min-width: 720px) { .worry p, .worry.rev p { font-size: 19px; padding: 26px 30px 36px; text-align: center; } .worry-person { width: 96px; height: 106px; } }
.solve { margin-top: 30px; text-align: center; }
.solve p {
  display: inline-block; margin: 0; padding: 18px 26px; border: 3px solid var(--main); border-radius: 20px; background: #fff;
  font-weight: 900; font-size: 19px; color: var(--ink); box-shadow: 6px 6px 0 var(--main-pale);
}
.solve-logo { color: var(--main); font-size: 1.35em; }

/* ---------- 答え ---------- */
.answers { background: var(--blue-bg); padding: 44px 0 28px; }
.answer { background: #fff; border-radius: var(--radius); padding: 22px 20px 26px; margin-bottom: 26px; box-shadow: var(--shadow); }
.answer-q { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; }
.answer-person { width: 58px; height: 64px; flex: none; }
.answer-q p { position: relative; margin: 0; background: var(--main); color: #fff; font-weight: 900; font-size: 14px; line-height: 1.55; padding: 10px 16px; border-radius: 16px; }
.answer-q p::before { content: ""; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-right: 9px solid var(--main); }
.answer-title { font-size: 20px; margin-bottom: 14px; }
@media (min-width: 720px) { .answer-title { font-size: 24px; } }
.compare { margin-top: 10px; padding: 16px; background: var(--cream); border-radius: 14px; }
.compare-row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 10px; margin-bottom: 10px; }
.compare-label { font-size: 12px; font-weight: 900; line-height: 1.35; color: var(--sub); }
.compare-bar { display: flex; align-items: center; justify-content: flex-end; height: 42px; padding: 0 12px; border-radius: 8px; color: #fff; font-weight: 900; font-size: 18px; transition: width .6s; }
.compare-bar.normal { width: 100%; background: #9AA2B1; }
.compare-bar.ours { width: 81%; background: var(--main); }
.compare .note { margin: 4px 0 0; }
.gift { position: relative; margin: 16px 0 10px; padding: 18px 16px 12px; border: 2px dashed var(--main); border-radius: 14px; background: #FFFDF7; }
.gift-badge { position: absolute; top: -13px; left: 14px; background: var(--main); color: #fff; font-size: 12px; font-weight: 900; padding: 1px 12px; border-radius: 999px; }
.gift-title { font-weight: 900; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.gift p:last-child { font-size: 14px; margin: 0; }

/* ---------- ポイント ---------- */
.points { padding: 46px 0 30px; }
.point-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 720px) { .point-list { grid-template-columns: 1fr 1fr; } }
.point { position: relative; border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 18px 16px; background: #fff; }
.point-no { position: absolute; top: -14px; left: 16px; background: var(--main); color: #fff; font-weight: 900; font-size: 14px; padding: 0 12px; border-radius: 999px; }
.point-ico { width: 48px; height: 48px; float: right; margin: -4px 0 4px 8px; }
.point h3 { font-size: 19px; margin: 4px 0 8px; }
.point p { font-size: 15px; margin: 0; clear: both; }

/* ---------- シミュレーター ---------- */
.sim-sec { background: var(--cream); padding: 46px 0 40px; scroll-margin-top: 56px; }
.sim-kicker { text-align: center; font-weight: 900; color: var(--ink); margin: 0 0 4px; }
.sim-lead { text-align: center; font-size: 14px; color: var(--sub); margin-top: -12px; }
.sim { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px 22px; min-height: 360px; }
.sim-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 900; color: var(--sub); }
.sim-bar { flex: 1; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.sim-bar i { display: block; height: 100%; background: var(--main); border-radius: 99px; transition: width .3s; }
.sim-q { font-size: 20px; margin-bottom: 6px; }
.sim-help { font-size: 14px; color: var(--sub); margin-bottom: 14px; }
.sim-sub { font-size: 16px; color: var(--ink); font-weight: 900; margin: 18px 0 8px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts.cols3 { grid-template-columns: repeat(3, 1fr); }
.opts.list { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts.cols3-md { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px;
  min-height: 56px; padding: 10px 8px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  font: inherit; color: var(--ink); font-weight: 900; font-size: 15px; text-align: center; line-height: 1.4; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--main-soft); }
.opt.is-on { border-color: var(--main); background: var(--main-pale); }
.opt.is-on::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--main); color: #fff; font-size: 13px; line-height: 22px; }
.opt-img { width: 100%; height: 108px; display: flex; align-items: flex-end; justify-content: center; }
.opt-img img, .opt-img svg { max-height: 108px; width: auto; max-width: 92%; }
.opts.list .opt { flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px 14px; gap: 12px; }
.opts.list .opt-img { width: 72px; height: 56px; flex: none; align-items: center; }
.opts.list .opt-img img, .opts.list .opt-img svg { max-height: 56px; }
.opt small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; }
.opt-text { display: block; }
.figure-help { display: flex; gap: 14px; align-items: center; background: var(--blue-bg); border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.figure-help img { width: 92px; flex: none; }
.steppers { display: grid; gap: 10px; }
.stepper { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 14px; padding: 8px 10px; }
.stepper-img { width: 42px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; }
.stepper-img img, .stepper-img svg { max-height: 46px; max-width: 42px; }
.stepper-label { flex: 1; min-width: 0; font-weight: 900; color: var(--ink); line-height: 1.35; font-size: 15px; }
.stepper-label small { display: block; font-size: 11px; color: var(--sub); font-weight: 700; line-height: 1.45; margin-top: 2px; }
.stepper-ctrl { display: flex; align-items: center; gap: 2px; flex: none; }
.stepper-ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--main); background: #fff; color: var(--main); font: inherit; font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; }
.stepper-ctrl button:disabled { border-color: var(--line); color: #C9CDD5; }
.stepper-ctrl output { min-width: 1.7em; text-align: center; font-size: 20px; font-weight: 900; color: var(--ink); }
.sim-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 22px; }
.sim-nav .btn { min-height: 54px; font-size: 16px; }
.btn-back { background: #fff; color: var(--sub); border: 2px solid var(--line); box-shadow: none; }

.result-head { text-align: center; }
.result-label { font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.result-price { font-size: 44px; font-weight: 900; color: var(--main); line-height: 1.2; letter-spacing: .01em; margin: 0; }
.result-price small { font-size: 16px; color: var(--sub); margin-left: 4px; }
.result-normal { margin: 6px 0 0; color: var(--sub); font-size: 15px; }
.result-normal s { text-decoration-thickness: 2px; text-decoration-color: var(--main); }
.result-save { display: inline-block; margin: 10px 0 4px; background: var(--marker); color: var(--ink); font-weight: 900; padding: 4px 16px; border-radius: 999px; }
.result-box { margin: 18px 0 0; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; }
.result-box summary { cursor: pointer; padding: 12px 14px; font-weight: 900; color: var(--ink); background: #F7F8FA; list-style: none; }
.result-box summary::after { content: "＋"; float: right; color: var(--main); }
.result-box[open] summary::after { content: "－"; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 14px; }
.breakdown th, .breakdown td { padding: 8px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.breakdown td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown tr.grp th { background: #FBFBFC; color: var(--sub); font-size: 12px; padding: 6px 12px; }
.breakdown tr.sum td, .breakdown tr.sum th { font-weight: 900; color: var(--ink); }
.breakdown small { color: var(--sub); }
.result-cond { font-size: 14px; color: var(--sub); background: #F7F8FA; border-radius: 12px; padding: 10px 14px; margin-top: 14px; white-space: pre-wrap; }
.result-opts { margin-top: 18px; }
.result-opts .opts { grid-template-columns: 1fr; }
.result-opts .opt { flex-direction: row; justify-content: space-between; text-align: left; padding: 10px 44px 10px 14px; font-size: 14px; min-height: 48px; }
.result-opts .opt small { font-size: 12px; }
.result-actions { display: grid; gap: 14px; margin-top: 22px; }
.result-notes { margin-top: 16px; }
.price-source { text-align: right; font-size: 11px; color: #9AA2B1; margin: 10px 0 0; }

/* ---------- 施工実績 ---------- */
.works { padding: 46px 0 36px; }
.works-grid { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 720px) { .works-grid { grid-template-columns: 1fr 1fr; } }
.work { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.work-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: relative; }
.work-pair figure { position: relative; margin: 0; }
.work-pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.work-pair figcaption { position: absolute; left: 6px; top: 6px; background: rgba(30,43,79,.85); color: #fff; font-size: 11px; font-weight: 900; padding: 1px 8px; border-radius: 999px; }
.work-pair figure + figure figcaption { background: var(--main); }
.work-pair::after { content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--main); font-size: 12px; line-height: 28px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.work-cap { padding: 8px 12px; font-size: 13px; font-weight: 900; color: var(--ink); }

/* ---------- 流れ ---------- */
.flow { background: var(--blue-bg); padding: 46px 0 30px; }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.flow-step { position: relative; background: #fff; border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 14px solid var(--main); }
.flow-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.flow-no { color: var(--main); font-weight: 900; font-size: 13px; letter-spacing: .1em; }
.flow-no b { font-size: 28px; margin-left: 4px; }
.tag { font-size: 12px; font-weight: 900; padding: 2px 10px; border-radius: 999px; }
.tag-online { background: #DCEBFA; color: #1F5FA8; }
.tag-real { background: #FFE9C7; color: #9A5B00; }
.flow-step h3 { font-size: 18px; margin-bottom: 6px; }
.flow-step p { font-size: 15px; margin: 0; }

/* ---------- フォーム ---------- */
.request { padding: 46px 0 36px; scroll-margin-top: 56px; }
.req-form, .req-done { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 16px 22px; }
.field { display: block; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field-label { display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--ink); margin-bottom: 6px; font-size: 15px; padding: 0; }
.field-label em { font-style: normal; font-size: 11px; color: #fff; background: var(--main); border-radius: 4px; padding: 0 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #FBFBFC; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--main); background: #fff; }
.field .is-err, .field input.is-err, .field textarea.is-err { border-color: var(--err); background: #FDF1EF; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 8px 18px; border: 2px solid var(--line); border-radius: 999px; font-weight: 900; color: var(--ink); cursor: pointer; }
.chips input:checked + span { border-color: var(--main); background: var(--main-pale); color: var(--main); }
.chips input:focus-visible + span { outline: 3px solid var(--main-soft); }
.agree { display: flex; align-items: center; gap: 8px; margin: 8px 0 16px; font-weight: 700; }
.agree input { width: 22px; height: 22px; accent-color: var(--main); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--err); font-weight: 900; background: #FDF1EF; border-radius: 10px; padding: 8px 12px; }
.btn-submit { margin-top: 6px; font-size: 17px; }
.sim-attached { background: var(--cream); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.sim-attached-title { font-weight: 900; color: var(--ink); margin: 0 0 4px; font-size: 14px; }
.sim-attached pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 13px; color: var(--sub); line-height: 1.6; }
.req-done { text-align: center; }
.req-done-title { font-size: 20px; font-weight: 900; color: var(--ink); }
.req-done-no b { font-size: 20px; color: var(--main); letter-spacing: .05em; }

/* ---------- FAQ ---------- */
.faq { background: #F7F8FA; padding: 46px 0 36px; }
.faq-list details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(30,43,79,.05); }
.faq-list summary { display: flex; gap: 10px; align-items: flex-start; padding: 16px 40px 16px 16px; font-weight: 900; color: var(--ink); cursor: pointer; list-style: none; position: relative; line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; position: absolute; right: 16px; top: 16px; color: var(--main); }
.faq-list details[open] summary::after { content: "－"; }
.faq-list .q, .faq-list .a > span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; }
.faq-list .q { background: var(--ink); color: #fff; }
.faq-list .a { display: flex; gap: 10px; padding: 0 16px 16px; }
.faq-list .a > span { background: var(--main); color: #fff; }
.faq-list .a p { margin: 0; font-size: 15px; }

.last-cta { padding: 40px 0; text-align: center; background: var(--cream); }
.last-cta-lead { font-size: 22px; font-weight: 900; color: var(--ink); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #DCE1EA; padding: 34px 0 20px; font-size: 14px; }
.footer-logo { font-weight: 900; font-size: 20px; color: #fff; }
.footer-info { display: grid; grid-template-columns: 6em 1fr; gap: 4px 8px; margin: 0 0 16px; }
.footer-info dt { color: #9AA6BE; }
.footer-info dd { margin: 0; }
.site-footer a { color: #fff; }
.copy { font-size: 12px; color: #9AA6BE; margin: 0; }

/* ---------- 下部固定ボタン ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 6px 10px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(30,43,79,.08);
  transition: transform .25s;
}
.sticky-cta.is-hide { transform: translateY(110%); }
.sticky-lead { text-align: center; color: var(--main); font-weight: 900; font-size: 13px; margin: 0 0 4px; }
.sticky-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 720px; margin: 0 auto; }
.sticky-btns .btn { min-height: 48px; font-size: 14px; letter-spacing: 0; padding: 8px 6px; white-space: nowrap; box-shadow: 0 4px 0 var(--main-dark); }
.result-actions .btn, .btn-submit { font-size: 16px; letter-spacing: 0; }

/* ---------- シミュレーター追加分 ---------- */
.sim-badge { display: inline-block; margin: 0 0 6px; padding: 1px 12px; border-radius: 999px; background: var(--main-pale); border: 1px solid var(--main); color: var(--main-dark); font-weight: 900; font-size: 13px; }
.stepper-ctrl output small { font-size: 12px; margin-left: 1px; color: var(--sub); }
.plot-box { background: var(--blue-bg); border-radius: 14px; padding: 12px 14px; }
.plot-inputs { display: flex; align-items: flex-end; gap: 8px; }
.plot-inputs label { flex: 1; min-width: 0; font-weight: 900; color: var(--ink); font-size: 14px; }
.plot-in { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--sub); }
.plot-in input { width: 100%; min-width: 0; font: inherit; font-size: 20px; font-weight: 900; text-align: right; padding: 8px 10px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.plot-in input:focus { outline: none; border-color: var(--main); }
.plot-in input:disabled { background: #F1F2F5; color: #A9AEB9; }
.plot-x { font-size: 20px; font-weight: 900; color: var(--sub); padding-bottom: 10px; }
.plot-unknown { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; font-weight: 700; font-size: 14px; }
.plot-unknown input { width: 20px; height: 20px; accent-color: var(--main); }
.plot-sum { margin: 6px 0 0; font-weight: 900; color: var(--main-dark); font-size: 14px; }

/* ---------- フォーム追加分 ---------- */
.field-label small { font-weight: 700; color: var(--sub); font-size: 12px; }
.identify { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 4px; }
.identify .note { margin-bottom: 10px; }
.sub-field { display: block; margin-bottom: 12px; }
.sub-field span { display: block; font-weight: 900; color: var(--ink); font-size: 14px; }
.sub-field small { display: block; font-size: 12px; color: var(--sub); margin-bottom: 4px; }
.sub-field input { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.sub-field input:focus { outline: none; border-color: var(--main); }
.sub-field input.is-err { border-color: var(--err); background: #FDF1EF; }
.map-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.btn-mini { font: inherit; font-size: 13px; font-weight: 900; color: var(--main-dark); background: #fff; border: 2px solid var(--main); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.req-map { height: 300px; border-radius: 12px; border: 2px solid var(--line); overflow: hidden; z-index: 0; }
.map-status { font-size: 13px; color: var(--sub); margin: 6px 0 0; }
.map-status b { color: var(--main-dark); }
.link-btn { font: inherit; font-size: 13px; color: var(--sub); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; }
.pin { background: none; border: 0; }
.pin svg { width: 34px; height: 44px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.leaflet-control-layers { font-family: inherit; font-size: 13px; }
.map-layer { display: inline-flex; border: 2px solid var(--main); border-radius: 999px; overflow: hidden; }
.map-layer button { font: inherit; font-size: 13px; font-weight: 900; border: 0; background: #fff; color: var(--main-dark); padding: 6px 12px; cursor: pointer; }
.map-layer button.is-on { background: var(--main); color: #fff; }
.field-label em { white-space: nowrap; flex: none; }
.identify legend.field-label { display: flex; flex-wrap: wrap; float: left; width: 100%; }
.identify legend + * { clear: both; }

/* ---------- 3回目の修正 ---------- */
[hidden] { display: none !important; }
.flow-step .btn { margin-top: 12px; }
.req-map.is-err { border-color: var(--err); }
.map-fallback { font-size: 12px; color: var(--sub); margin: 4px 0 0; }
.map-msg { font-size: 13px; color: var(--main-dark); font-weight: 700; margin: 4px 0 0; }

/* ---------- 4回目の修正 ---------- */
/* お悩みの吹き出し：文字の幅に合わせて余白を詰める */
.worry { justify-content: center; }
.worry p { flex: 0 1 auto; width: auto; max-width: calc(100% - 80px); }
@media (min-width: 720px) { .worry p { max-width: 520px; } }
/* 手引書 */
.gift { display: flex; gap: 14px; align-items: center; }
.gift-book { width: 96px; flex: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.gift-body { flex: 1; min-width: 0; }
.done-gift { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--cream); border-radius: 14px; padding: 12px 14px; margin: 4px 0 18px; }
.done-gift img { width: 92px; flex: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.done-gift p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.6; }
.done-gift small { color: var(--sub); font-size: 12px; }
/* 次へ：未入力でも押せる（押すとメッセージ） */
.btn.is-wait { background: #C9CDD5; box-shadow: 0 5px 0 #A9AEB9; }
.sim-err { color: var(--err); font-weight: 900; background: #FDF1EF; border-radius: 10px; padding: 8px 12px; margin: 14px 0 0; font-size: 14px; line-height: 1.6; }

/* ---------- 5回目の修正 ---------- */
/* 月桂冠 3つ */
.laurels { display: flex; justify-content: center; align-items: flex-end; gap: 2px; margin: 6px auto 18px; }
.laurels .laurel { margin: 0; gap: 0; align-items: center; }
.laurels .laurel-leaf { width: 18px; height: 52px; }
.laurels .laurel-body { align-items: center; text-align: center; }
.laurels .laurel-label { font-size: 10px; letter-spacing: 0; white-space: nowrap; }
.laurels .laurel-num { font-size: 11px; white-space: nowrap; }
.laurels .laurel-num b { font-size: 24px; }
.laurels .is-main .laurel-leaf { width: 24px; height: 68px; }
.laurels .is-main .laurel-label { font-size: 12px; }
.laurels .is-main .laurel-num { font-size: 13px; }
.laurels .is-main .laurel-num b { font-size: 30px; }
@media (min-width: 720px) {
  .laurels { gap: 22px; }
  .laurels .laurel-leaf { width: 24px; height: 70px; }
  .laurels .laurel-label { font-size: 13px; }
  .laurels .laurel-num { font-size: 15px; }
  .laurels .laurel-num b { font-size: 36px; }
  .laurels .is-main .laurel-leaf { width: 30px; height: 88px; }
  .laurels .is-main .laurel-num b { font-size: 48px; }
}
/* 人物イラスト（画像） */
img.worry-person { width: 80px; height: auto; flex: none; }
img.answer-person { width: 60px; height: auto; flex: none; }
@media (min-width: 720px) { img.worry-person { width: 110px; } }

/* お墓の場所：フォーム内 */
.map-open { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 2px dashed var(--main); border-radius: 14px; background: var(--main-pale); font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.map-open-ico svg { width: 30px; height: 40px; display: block; }
.map-open-text b { display: block; font-size: 16px; color: var(--main-dark); line-height: 1.4; }
.map-open-text small { display: block; font-size: 12px; color: var(--sub); line-height: 1.5; }
.map-open.is-done { border-style: solid; border-color: #2E9D57; background: #EEF8EE; }
.map-open.is-done b { color: #237A43; }
#map-wrap.is-err .map-open { border-color: var(--err); background: #FDF1EF; }
.map-status { margin: 6px 0 0; font-size: 14px; }
.map-status a { font-weight: 900; }
.map-link-msg { font-size: 13px; color: var(--err); font-weight: 700; margin: 6px 0 0; }
.map-link-msg.is-ok { color: #237A43; }

/* お墓の場所：全画面の地図 */
html.is-locked, html.is-locked body { overflow: hidden; }
.mapx { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; }
.mapx-head { display: flex; align-items: center; justify-content: space-between; padding: calc(8px + env(safe-area-inset-top)) 12px 8px 16px; border-bottom: 1px solid var(--line); }
.mapx-title { margin: 0; font-weight: 900; color: var(--ink); font-size: 17px; }
.mapx-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #F1F2F5; color: var(--ink); font-size: 22px; line-height: 40px; cursor: pointer; }
.mapx-search { display: flex; gap: 8px; padding: 8px 12px; margin: 0; }
.mapx-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; }
.mapx-search input:focus { outline: none; border-color: var(--main); }
.mapx-search button { font: inherit; font-weight: 900; padding: 0 18px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; cursor: pointer; }
.mapx-body { position: relative; flex: 1; min-height: 0; }
.mapx-map { position: absolute; inset: 0; z-index: 0; }
.mapx-pin { position: absolute; left: 50%; top: 50%; width: 40px; height: 52px; transform: translate(-50%, -100%); pointer-events: none; z-index: 2; filter: drop-shadow(0 3px 3px rgba(0,0,0,.35)); }
.mapx-pin svg { width: 100%; height: 100%; display: block; }
.mapx-pin::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 8px; height: 4px; margin-left: -4px; border-radius: 50%; background: rgba(0,0,0,.45); }
.mapx-hint { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 2; margin: 0; background: rgba(30,43,79,.9); color: #fff; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 10px; text-align: center; pointer-events: none; line-height: 1.5; }
.mapx-hint.is-warn { background: rgba(192,57,43,.95); }
.mapx-tools { position: absolute; left: 12px; bottom: 14px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.mapx-btn { font: inherit; font-weight: 900; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 2px solid var(--main); background: #fff; color: var(--main-dark); cursor: pointer; }
.mapx .map-layer { background: #fff; }
.mapx-foot { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.mapx-foot .map-fallback { margin: 0 0 6px; }
.mapx-foot .btn { min-height: 56px; }

/* 見積依頼の送信中（2026-10-09） */
.sending { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(30, 43, 79, .55); }
.sending-box { width: 100%; max-width: 320px; background: #fff; border-radius: 18px; padding: 28px 20px 24px; text-align: center; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.sending-title { margin: 14px 0 6px; font-size: 20px; font-weight: 900; color: var(--main); }
.sending-text { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.7; }
.sending-text small { font-size: 13px; font-weight: 500; opacity: .75; }
.spinner { display: inline-block; width: 46px; height: 46px; border-radius: 50%; border: 5px solid var(--main-pale); border-top-color: var(--main); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
html.is-sending { overflow: hidden; }

/* 区画：「敷地は工事しない」（2026-10-10） */
.plot-nosite { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 900; font-size: 15px; color: var(--ink); cursor: pointer; line-height: 1.45; }
.plot-nosite:has(input:checked) { border-color: var(--main); background: var(--main-pale); }
.plot-nosite input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--main); }
.plot-nosite small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); margin-top: 2px; }
.plot-rest.is-off { opacity: .35; pointer-events: none; filter: grayscale(1); }

/* 受付完了メールのお知らせ（2026-10-10） */
.req-done-mail { background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.7; }
.req-done-mail small { color: var(--sub); }
