/* デザインB：生成りの背景、明朝体の見出し、赤茶のボタン、軽い角丸、ゆったりした余白 */
:root {
  --bg: #faf9f5; --bg-sub: #f1ece3;
  --heading: #29241f; --text: #38312b; --text-sub: #6a6057;
  --accent: #9b4835; --accent-dark: #7b3626;
  --rule: #e4ddd0; --rule-strong: #cdc2b0; --field-border: #8b8074;
  --error: #a3271f; --error-bg: #fdf0ee;
  --bar-bg: #f1ece3; --bar-text: #38312b;
  --footer-bg: #29241f; --footer-text: #f1ece3;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-head: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; --head-weight: 600;
  --h1: 30px; --h2: 24px; --h3: 19px;
  --radius: 12px; --radius-sm: 6px; --radius-lg: 16px; --radius-btn: 8px; --radius-num: 50%;
  --wrap: 880px; --gutter: 20px; --sec-pad: 44px; --card-gap: 16px; --result-bar: 0px;
}
h1 { letter-spacing: 0.02em; line-height: 1.45; }
h2 { letter-spacing: 0.02em; }
.lead { font-size: 17px; line-height: 1.8; }
.sec { border-top: 0; }
.sec-head { margin-bottom: 18px; }
.sec-head h2::after { content: ""; display: block; width: 36px; height: 2px; margin-top: 12px; background: var(--accent); }
.site-header { border-bottom-color: transparent; box-shadow: 0 1px 0 var(--rule); }
.card { padding: 20px; background: var(--bg-sub); border-radius: var(--radius); }
.sec-alt .card { background: var(--bg); }
.facts > div:first-child, .table > div:first-child, .case-list > div:first-child { border-top-color: var(--rule); }
.faq { border-top-color: var(--rule); }
.flow > li { border-color: var(--rule); background: var(--bg-sub); }
.sec-alt .flow > li { background: var(--bg); }
.branch, .estimate, .notice { border-color: var(--rule); }
.node { background: var(--bg-sub); border-color: var(--rule-strong); }
.demo-bar { border-bottom: 1px solid var(--rule); }
.site-footer { border-top: 0; }
.sec-case { padding-bottom: 12px; }
.sec-case + .sec-case { padding-top: 32px; padding-bottom: 56px; }
.sec-case .sec-body { padding: 20px; background: var(--bg-sub); border-radius: var(--radius-lg); }
.sec-case .case-result { background: var(--bg); }

@media (min-width: 900px) {
  :root { --h1: 46px; --h2: 30px; --h3: 20px; --sec-pad: 80px; --card-gap: 20px; }
  .hero { padding: 72px 0 40px; text-align: center; }
  .hero .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero .photo { max-width: none; margin-top: 48px; }
  .hero .photo img { aspect-ratio: 2 / 1; object-position: 60% 40%; }
  .page-head { padding: 56px 0 40px; }
  .sec-head { margin-bottom: 24px; }
  .sec-body > p { max-width: 760px; line-height: 1.8; }
  .cards .card { padding: 24px; }
  .flow { gap: 28px; }
  .flow > li + li::before { left: -22px; }
  .sec-case .sec-body { padding: 32px; }
  .sec-single > .wrap { max-width: 768px; }
  .sec-form .sec-body { max-width: 640px; }
}
