/* Layout: 1カラム。最初の画面は「家の間取り図」で“まるごと”を見せ、電話番号を大きく常に見える位置に置く。
   年配の方の読みやすさを優先して、明るい単色テーマに固定（UDフォント・本文20px以上・ボタン高さ64px以上）。
   色は LUMINO の名刺の青を落ち着かせた紺と、見出しのマーカーに使う淡い山吹色。 */
:root {
  --bg: #F5F7F9;
  --band: #E7EEF4;
  --surface: #FFFFFF;
  --ink: #17222F;
  --ink-sub: #3E4A59;
  --line: #CAD5E0;
  --navy: #1A4F96;
  --navy-deep: #123A70;
  --navy-soft: #DCE7F4;
  --mark: #F7DE96;
  --warm: #9A5B0B;
  --warm-soft: #FFF2D2;
  --ff-base: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --ff-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
  --fs-body: 20px;
  --fs-lead: 22px;
  --fs-h2: 28px;
  --fs-h1: 32px;
  --r: 14px;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --fs-body: 21px; --fs-lead: 24px; --fs-h2: 34px; --fs-h1: 46px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 12px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--ff-base); font-weight: 400; font-size: var(--fs-body);
  line-height: 1.8; letter-spacing: 0.03em; -webkit-text-size-adjust: 100%;
}
b, strong { font-weight: 700; }
img { max-width: 100%; display: block; }
a { color: var(--navy-deep); }
:focus-visible { outline: 4px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.45; margin: 0; text-wrap: balance; word-break: auto-phrase; letter-spacing: 0.04em; }
p, ul, ol, dl, dd { margin: 0; }
.nw { display: inline-block; }

.wrap {
  max-width: 1000px; margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 56px; }
.band--tone { background: var(--band); }
@media (min-width: 900px) { .band { padding-block: 80px; } }
.band h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.band__lead { font-size: var(--fs-lead); color: var(--ink-sub); margin-bottom: 28px; max-width: 34em; }

/* たたき台の注記 */
.mock { background: #2E3640; color: #FFFFFF; font-size: 15px; line-height: 1.6; text-align: center; padding-block: 9px; }
.mock .wrap { display: block; }
.tag {
  display: inline-block; font-family: var(--ff-base); font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em;
  color: var(--warm); background: var(--warm-soft); border: 1px dashed var(--warm); border-radius: 6px; padding: 2px 8px; vertical-align: 0.15em;
}

/* ヘッダー */
.header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.brand { display: grid; line-height: 1.25; text-decoration: none; color: var(--ink); min-width: 0; }
.brand b { font-family: var(--ff-head); font-size: 24px; letter-spacing: 0.06em; color: var(--navy-deep); }
.brand small { font-size: 14px; color: var(--ink-sub); }
.header__tel { text-align: right; line-height: 1.25; flex: none; }
.header__tel b { display: block; font-family: var(--ff-head); font-size: 26px; color: var(--navy-deep); letter-spacing: 0.03em; white-space: nowrap; }
.header__tel small { font-size: 14px; color: var(--ink-sub); }
@media (max-width: 520px) { .brand b { font-size: 18px; } .header__tel b { font-size: 19px; } .header__tel small, .brand small { font-size: 13px; } }

/* ボタン */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 68px; padding: 12px 24px; border-radius: var(--r);
  font-family: var(--ff-head); font-weight: 700; font-size: 22px; line-height: 1.3;
  text-decoration: none; text-align: center; border: 0; cursor: pointer;
}
.btn svg { flex: none; }
.btn--tel { background: var(--navy); color: #FFFFFF; box-shadow: 0 8px 20px rgba(26, 79, 150, 0.22); }
.btn--tel:hover { background: var(--navy-deep); }
.btn--tel span { display: grid; }
.btn--tel em { font-style: normal; font-size: 30px; letter-spacing: 0.05em; }
.btn--tel small { font-size: 16px; font-weight: 700; opacity: 0.95; }
.btn--sub { background: var(--surface); color: var(--navy-deep); border: 2px solid var(--navy); }
.btn--sub:hover { background: var(--navy-soft); }
.cta { display: grid; gap: 10px; max-width: 470px; }
.cta__hint { font-size: 17px; color: var(--ink-sub); text-align: center; }

/* 最初の画面 */
.hero { background: var(--surface); padding-block: 32px 52px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; } .hero { padding-block: 60px 76px; } }
.hero__copy { display: grid; gap: 20px; min-width: 0; }
.hero__place { font-size: 17px; font-weight: 700; color: var(--navy-deep); }
.hero h1 { font-size: var(--fs-h1); }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--mark) 58%); color: inherit; }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-sub); }
.marks { list-style: none; padding: 0; display: grid; gap: 8px; }
.marks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: var(--fs-lead); line-height: 1.5; }
.marks svg { flex: none; margin-top: 3px; }

/* 間取り図（まるごと） */
.house { margin: 0; min-width: 0; display: grid; gap: 12px; }
.house__body { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.house__roof { display: block; width: 100%; height: auto; }
.house__rooms {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border: 4px solid var(--navy-deep); border-top: 0; background: var(--surface); margin-inline: 7%;
}
.room { border: 1.5px solid var(--line); padding: 12px 8px 14px; display: grid; gap: 4px; justify-items: center; text-align: center; min-width: 0; }
.room b { font-family: var(--ff-head); font-size: 19px; color: var(--navy-deep); line-height: 1.3; }
.room span { font-size: 14px; line-height: 1.45; color: var(--ink-sub); }
.room svg { color: var(--navy); }
.room--wide { grid-column: span 2; }
.house__stamp {
  position: absolute; right: -2%; top: 16%;
  width: 96px; height: 96px; border-radius: 50%; background: var(--mark); color: var(--ink);
  display: grid; place-items: center; text-align: center; line-height: 1.2;
  font-family: var(--ff-head); font-weight: 700; font-size: 17px; transform: rotate(8deg);
  box-shadow: 0 4px 12px rgba(23, 34, 47, 0.15);
}
.house figcaption { text-align: center; font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-lead); }
@media (max-width: 420px) { .room b { font-size: 17px; } .room span { font-size: 13px; } .house__stamp { width: 82px; height: 82px; font-size: 15px; } }

/* こんなときに */
.cases { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.cases li {
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r);
  padding: 18px 12px; display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center;
  font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-lead); line-height: 1.4;
}
.cases svg { color: var(--navy); }
.cases-note { margin-top: 22px; font-weight: 700; font-size: var(--fs-lead); }

/* まとめて頼めること */
.scope { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .scope { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .scope li { grid-template-columns: minmax(0, 1fr); } }
.scope li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.scope__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-soft); color: var(--navy-deep); display: grid; place-items: center; }
.scope h3 { font-size: var(--fs-lead); }
.scope p { color: var(--ink-sub); font-size: 19px; }

/* ご本人／ご家族 */
.who { display: grid; gap: 18px; }
@media (min-width: 900px) { .who { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.who__card { background: var(--surface); border-radius: 20px; border: 2px solid var(--line); overflow: hidden; display: grid; align-content: start; }
.who__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--navy-soft); }
.who__card--family .who__head { background: var(--warm-soft); }
.who__head svg { flex: none; color: var(--navy-deep); }
.who__card--family .who__head svg { color: var(--warm); }
.who__head h3 { font-size: 25px; }
.who__head p { font-size: 16px; color: var(--ink-sub); line-height: 1.4; }
.who ul { list-style: none; padding: 20px 22px 24px; display: grid; gap: 14px; }
.who li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.65; }
.who li svg { margin-top: 4px; }

/* 料金 */
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.price table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price th, .price td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price tr:last-child th, .price tr:last-child td { border-bottom: 0; }
.price th { font-family: var(--ff-head); font-weight: 700; width: 52%; }
.price th small { display: block; font-family: var(--ff-base); font-weight: 400; font-size: 16px; color: var(--ink-sub); }
.price td { font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-lead); color: var(--navy-deep); }
.price-notes { margin-top: 18px; display: grid; gap: 6px; list-style: none; padding: 0; }
.price-notes li { padding-left: 1.2em; text-indent: -1.2em; }
.price-notes li::before { content: "・"; }

/* 流れ */
.steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); padding: 18px 18px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } .steps li { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; text-align: center; padding: 20px 14px; } }
.steps b { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font-family: var(--ff-head); font-size: 24px; }
.steps h3 { font-size: var(--fs-lead); }
.steps p { font-size: 17px; color: var(--ink-sub); line-height: 1.6; }

/* よくある質問（開いたまま） */
.faq { display: grid; gap: 12px; }
.qa { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); padding: 20px 22px; display: grid; gap: 8px; }
.qa h3 { font-size: var(--fs-lead); }
.qa h3::before { content: "Q. "; color: var(--navy); }
.qa p { color: var(--ink-sub); }

/* 会社 */
@media (min-width: 900px) { .company { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; } }
.company__ph {
  width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center;
  background: var(--surface); border: 2px dashed var(--line); color: var(--ink-sub); font-size: 18px; padding: 16px;
}
.company figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.company figcaption { font-size: 18px; }
.company figcaption b { display: block; font-family: var(--ff-head); font-size: var(--fs-lead); }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 22px; min-width: 0; }
.facts div { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .facts div { grid-template-columns: 9em minmax(0, 1fr); gap: 16px; } }
.facts dt { color: var(--ink-sub); font-size: 17px; }
.facts dd { font-weight: 700; overflow-wrap: anywhere; }

/* 最後の電話 */
.final { text-align: center; display: grid; gap: 16px; justify-items: center; }
.final h2 { margin-bottom: 0; }
.final__num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(38px, 10vw, 58px); color: var(--navy-deep); letter-spacing: 0.04em; line-height: 1.15; user-select: all; }
.final .cta { width: 100%; }
.area { max-width: 34em; color: var(--ink-sub); font-size: 18px; }

/* 問い合わせフォーム */
.form { margin-top: 48px; max-width: 720px; margin-inline: auto; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 26px 22px 30px; display: grid; gap: 24px; }
@media (min-width: 900px) { .form { padding: 36px 40px 40px; } }
.form__head { display: grid; gap: 6px; }
.form__head h2 { margin-bottom: 0; }
.form__head p { color: var(--ink-sub); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend { font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-lead); padding: 0; margin-bottom: 8px; }
.field > label { margin-bottom: 0; }
.req, .opt { font-family: var(--ff-base); font-size: 14px; font-weight: 700; border-radius: 6px; padding: 2px 8px; vertical-align: 0.2em; margin-left: 6px; }
.req { background: var(--navy); color: #FFFFFF; }
.opt { background: var(--band); color: var(--ink-sub); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
  width: 100%; min-height: 60px; padding: 12px 16px; font: inherit; font-size: 20px; color: var(--ink);
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px;
}
.form textarea { line-height: 1.7; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--navy); background: var(--surface); outline: none; box-shadow: 0 0 0 4px var(--navy-soft); }
.form ::placeholder { color: #7B8696; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; font-weight: 700; line-height: 1.4; }
.choice input { width: 26px; height: 26px; flex: none; accent-color: var(--navy); margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.field.is-error input, .field.is-error .choice { border-color: #B3261E; }
.err { color: #B3261E; font-weight: 700; font-size: 17px; }
.form__send { width: 100%; }
.form__done { background: var(--warm-soft); border: 1px dashed var(--warm); color: var(--ink); border-radius: 12px; padding: 14px 16px; font-weight: 700; }

/* フッター */
.footer { background: #17263A; color: #E6ECF3; padding-block: 40px 130px; font-size: 17px; }
.footer .wrap { display: grid; gap: 6px; }
.footer b { font-family: var(--ff-head); font-size: 20px; color: #FFFFFF; }
@media (min-width: 900px) { .footer { padding-block: 44px; } }

/* スマホ下の2ボタン */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(23, 34, 47, 0.08);
  padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
}
.bar .btn { min-height: 60px; font-size: 19px; padding: 8px 10px; white-space: nowrap; gap: 8px; }
@media (min-width: 900px) { .bar { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 送信まわり */
.cf-turnstile { min-height: 65px; }
.form__privacy { font-size: 17px; color: var(--ink-sub); }
.form__status { font-weight: 700; }
.form__status--error { color: #B3261E; }
.form__status a { color: inherit; }
.form-thanks { max-width: 720px; margin: 48px auto 0; background: var(--surface); border: 2px solid var(--navy); border-radius: 20px; padding: 28px 24px; display: grid; gap: 10px; }
.form-thanks h2 { font-size: var(--fs-h2); }
.form__send:disabled { opacity: 0.6; cursor: wait; }
.footer a { color: #FFFFFF; }
/* プライバシーポリシーなどの下層ページ */
.legal { padding-block: 48px 72px; }
.legal .wrap { max-width: 820px; display: grid; gap: 28px; }
.legal h1 { font-size: var(--fs-h2); }
.legal h2 { font-size: var(--fs-lead); margin-bottom: 8px; }
.legal section { display: grid; gap: 8px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 4px; }
.legal .back { font-weight: 700; }
