/* 負動産ナビ（広告用サイト）。生成り × 墨 × 橙のワンポイント。
   ロゴの橙はスマートナビと同じ #f29400（--orange）。現行LPの配色を踏襲。 */

:root {
  --paper: #ffffff;
  --paper-2: #f6faf9;          /* スマートナビ本体と同じミントがかった白 */
  --card: #ffffff;
  --navy: #16324f;
  --navy-2: #0e2238;
  --ink: #1d2733;
  --muted: #5b6775;
  --line: #dfe4ea;
  --orange: #f29400;           /* スマートナビのロゴ橙。この上の文字は --navy-2 */
  --orange-2: #e08600;
  --orange-ink: #a85f00;       /* 白地の小さい文字用 */
  --orange-wash: #fff4e0;
  --orange-tint: #ffc266;
  --tiffany: #75c4c1;
  --teal: #1f6e6a;
  --teal-ink: #164f4c;
  --teal-wash: #e8f5f4;
  --alert-red: #c0392b;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px rgba(22, 50, 79, .08);
  --cta-h: 108px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  padding-bottom: calc(var(--cta-h) + 8px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.serif { font-family: var(--serif); }
h1, h2, h3 { color: var(--teal-ink); }
.nowrap { white-space: nowrap; }

/* ---------- 共通部品 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--teal);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--tiffany); }
body { counter-reset: sec; }
.sec-head .eyebrow::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  width: auto; height: auto; padding-right: 44px; background: linear-gradient(var(--tiffany), var(--tiffany)) right center / 32px 1px no-repeat;
  font-family: var(--serif); font-size: 13px; letter-spacing: .05em; color: var(--orange);
}

.sec { padding: 88px 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; }
.sec-head.center { text-align: center; justify-items: center; }
.sec-head h2 {
  text-wrap: balance;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(25px, 3.6vw, 38px); line-height: 1.5; letter-spacing: .02em;
}
.sec-head p { color: var(--muted); max-width: 640px; font-size: 15px; text-wrap: balance; }
.hl { color: var(--teal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; text-align: center;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy-2); box-shadow: 0 10px 24px rgba(242, 148, 0, .28); }
.btn-primary:hover { background: var(--orange-2); }
.btn-line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--tiffany); background: var(--teal-wash); }
.btn small { font-weight: 500; font-size: 12px; opacity: .9; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.active { opacity: 1; transform: none; }

/* ---------- 上部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand-name { white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .06em; color: var(--teal-ink); line-height: 1; }
.brand-name b { color: var(--orange); font-weight: 700; }
.brand-lg img { width: 48px; height: 48px; }
.brand-lg .brand-name { font-size: 26px; }
.gnav { display: none; gap: 30px; font-size: 14px; font-weight: 500; }
.gnav a { text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.gnav a:hover { color: var(--teal); border-color: var(--tiffany); }
.header-cta {
  background: var(--orange); color: var(--navy-2); text-decoration: none;
  font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  transition: background-color .2s;
}
.header-cta:hover { background: var(--orange-2); }

/* ---------- ファーストビュー ---------- */
.hero { padding: 40px 0 80px; background: linear-gradient(180deg, var(--paper-2), #fff 70%); }
.hero-layout { display: grid; gap: 36px; }
.hero-visual {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 38%; }
.hero-visual::after {
  content: ""; position: absolute; inset: auto 0 0; height: 64%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9) 82%);
  pointer-events: none;
}
.hero-title {
  position: absolute; left: 8px; right: 8px; bottom: 5%; z-index: 1;
  text-align: center; text-wrap: balance;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 8.5vw, 60px); line-height: 1.35; letter-spacing: .02em;
}
.hero-title .t-red, .hero-title .t-teal {
  text-shadow:
    2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff,
    0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff,
    0 6px 14px rgba(22, 50, 79, .35);
}
.hero-title .t-red { color: var(--alert-red); }
.hero-title .t-teal { color: var(--teal-ink); }
.hero .lead { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 560px; word-break: keep-all; overflow-wrap: anywhere; }
.hero .lead span { display: inline-block; }

.facts { margin: 34px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--tiffany); border-bottom: 1px solid var(--line); }
.fact { padding: 16px 12px 14px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.fact dd { margin-top: 4px; }
.fact .num { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(24px, 4.6vw, 36px); line-height: 1.15; white-space: nowrap; }
.fact .num.long { font-size: clamp(17px, 4.2vw, 31px); }
.fact .num small { font-size: .52em; margin-left: 2px; }
.fact .sub { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

.cta-row { display: flex; flex-direction: column; gap: 14px; }
.fine { margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.8; max-width: 560px; }

.sheet {
  margin-top: 44px;
  background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--tiffany);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.sheet-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--teal-ink); font-size: 12px; font-weight: 700; }
.sheet-head span:last-child { color: var(--muted); font-weight: 500; white-space: nowrap; }
.sheet ul { padding: 8px 18px 14px; }
.sheet li { padding: 14px 0 14px 30px; position: relative; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.75; }
.sheet li:first-child { border-top: 0; }
.sheet li::before { content: "✓"; position: absolute; left: 0; top: 14px; color: var(--orange-ink); font-weight: 900; }
.sheet li b { display: block; font-size: 15px; }
.sheet li span { color: var(--muted); font-size: 13px; }

/* ---------- マンガ ---------- */
.manga { background: var(--paper-2); }
.panels { display: grid; gap: 40px 32px; }
.panel { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--tiffany); border-radius: 4px; box-shadow: var(--shadow); overflow: hidden; }
.panel header { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.panel .no { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; color: var(--orange); }
.panel h3 { font-size: 15px; font-weight: 700; line-height: 1.6; }
.panel img { width: 100%; }
.bubbles { display: grid; gap: 12px; padding: 16px; }
.bubble {
  position: relative; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.7;
}
.bubble::before { content: ""; position: absolute; top: -8px; left: 26px; width: 12px; height: 12px; background: inherit; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.bubble.alt { background: var(--orange-wash); border-color: var(--orange-tint); }
.bubble.alt::before { border-color: var(--orange-tint); }
.bubble b { color: var(--orange-ink); font-weight: 700; }
.manga-cta { margin-top: 48px; text-align: center; }
.manga-cta .btn { width: min(420px, 100%); }

/* ---------- 理由 ---------- */
.reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reason { padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.reason .ricon { width: 72px; height: 72px; }
.reason .k { display: flex; align-items: baseline; gap: 14px; }
.reason .n { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1; color: var(--orange); }
.reason .tag { font-size: 11px; letter-spacing: .2em; color: var(--muted); font-weight: 700; }
.reason h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.6; }
.reason p { color: var(--muted); font-size: 14.5px; }
.reason p strong { color: var(--ink); }

/* ---------- 費用 ---------- */
.pricing { background: var(--paper-2); }
.fee-model { margin-bottom: 28px; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 4px; box-shadow: var(--shadow); }
.fee-model h3 { text-align: center; font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 2.8vw, 22px); margin-bottom: 10px; }
.fee-model dl { display: grid; }
.fee-model dl > div { padding: 10px 4px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.fee-model dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.fee-model dd { font-size: 15.5px; }
.fee-model dd b { color: var(--orange-ink); }
.price-grid { display: grid; gap: 28px; }
.price { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--tiffany); border-radius: 4px; box-shadow: var(--shadow); padding: 32px 28px; }
.price.main { border-top-color: var(--orange); }
.price .case { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--teal-wash); color: var(--teal-ink); }
.price.main .case { background: var(--orange); color: var(--navy-2); }
.price h3 { margin: 14px 0 6px; font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.5; }
.price .amount { margin: 12px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price .amount b { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; color: var(--orange); }
.price .amount span { font-weight: 700; font-size: 18px; }
.price .amount small { font-size: 12px; color: var(--muted); }
.price > p { font-size: 14.5px; color: var(--muted); }
.price > p strong { color: var(--ink); }
.notice { margin-top: 32px; padding: 20px 22px; border: 1px dashed var(--tiffany); border-radius: 4px; background: var(--teal-wash); font-size: 13.5px; color: var(--muted); text-align: center; }
.notice strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 2px solid var(--tiffany); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline;
  padding: 22px 4px; cursor: pointer; font-weight: 700; line-height: 1.7;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .q { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--orange); }
.faq-list summary .pm { width: 18px; height: 18px; position: relative; align-self: center; }
.faq-list summary .pm::before, .faq-list summary .pm::after { content: ""; position: absolute; inset: 8px 0 auto; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq-list summary .pm::after { transform: rotate(90deg); }
.faq-list details[open] .pm::after { transform: rotate(0); }
.faq-list .a { padding: 0 4px 24px 40px; color: var(--muted); font-size: 14.5px; }

/* ---------- フッター ---------- */
.site-footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: var(--paper-2); text-align: center; display: grid; gap: 12px; justify-items: center; font-size: 12.5px; color: var(--muted); }
.site-footer a { text-decoration: underline; }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { margin-top: 10px; font-size: 11px; }

/* ---------- 下部固定の相談ボタン ---------- */
.fixed-cta {
  position: fixed; inset: auto 0 0; z-index: 60;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22, 50, 79, .08);
  padding: 8px 12px max(10px, env(safe-area-inset-bottom));
}
.fixed-cta .btns { width: min(720px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fixed-cta .btn { min-height: 46px; padding: 8px 10px; font-size: 14px; white-space: nowrap; }

/* ---------- レスポンシブ ---------- */
@media (min-width: 640px) {
  .bubbles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) and (max-width: 879px), (min-width: 1100px) {
  .cta-row { flex-direction: row; }
}
@media (min-width: 1100px) {
  .gnav { display: flex; }
}
@media (min-width: 880px) {
  .hero { padding: 72px 0 96px; }
  .hero-layout { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .hero-body { order: 1; }
  .hero-visual { order: 2; }
  .hero-visual img { aspect-ratio: 3 / 2; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .reasons.four { grid-template-columns: repeat(4, 1fr); }
  .reason { padding: 40px 28px 40px 0; border-bottom: 0; border-left: 1px solid var(--line); padding-left: 28px; align-content: start; }
  .reason:first-child { border-left: 0; padding-left: 0; }
  .price-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fee-model dl { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .panels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .header-in { gap: 8px; }
  .header-cta { font-size: 12px; padding: 10px 12px; }
  .brand-name { font-size: 19px; letter-spacing: .02em; }
  .brand img { width: 34px; height: 34px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .fixed-cta .btn { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 640px) { .br-sp { display: none; } }

.reason h3, .price h3, .panel h3 { text-wrap: balance; }
@media (max-width: 420px) { .sec-head h2 { font-size: 22px; } }

/* ---------- チラシ内容への差し替え分 ---------- */
.reasons.four .reason h3 { font-size: 20px; }
.alert { margin-top: 48px; padding: 28px 24px; text-align: center; background: var(--orange-wash); border: 1px solid var(--orange-tint); border-radius: 4px; display: grid; gap: 12px; justify-items: center; }
.alert .tag { font-size: 12px; font-weight: 700; padding: 3px 16px; border-radius: 999px; background: var(--orange); color: var(--navy-2); }
.alert h3 { font-family: var(--serif); font-size: clamp(20px, 3vw, 26px); color: var(--navy); }
.alert p { max-width: 640px; font-size: 14.5px; color: var(--muted); }
.alert .big-line { margin-top: 6px; font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 3.2vw, 28px); line-height: 1.6; color: var(--navy); }
.alert .big-line em { font-style: normal; color: var(--alert-red); box-shadow: inset 0 -.2em 0 rgba(192, 57, 43, .18); }
.alert-chart { margin: 10px auto 2px; width: 100%; max-width: 680px; }
.alert-chart img { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.alert-chart figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.7; text-align: left; }

.note-s { font-size: 12px; font-weight: 500; color: var(--muted); }
.calc { margin: 14px 0 4px; display: grid; gap: 6px; }
.calc > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.calc b { font-family: var(--serif); font-size: 22px; color: var(--navy); white-space: nowrap; }
.calc .op { justify-content: center; color: var(--muted); font-weight: 700; }
.result-line { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.result-line b { color: var(--orange-ink); font-family: var(--serif); font-size: 1.3em; }

.jitsuhi { margin-top: 28px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.jitsuhi h3 { font-size: 15px; margin-bottom: 8px; }
.jitsuhi li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted); }
.jitsuhi li::before { content: "・"; position: absolute; left: -2px; }

.multi { margin-top: 28px; padding: 28px 20px; background: #fff; border: 1px solid var(--tiffany); border-top: 6px solid var(--tiffany); border-radius: 4px; }
.multi h3 { text-align: center; font-family: var(--serif); font-size: clamp(18px, 2.8vw, 24px); }
.multi .sub { margin: 6px 0 18px; text-align: center; font-weight: 700; font-size: 14px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.multi table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
.multi th, .multi td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.multi thead th { background: var(--paper-2); font-size: 12px; }
.multi .r { text-align: right; white-space: nowrap; }
.multi .hi { background: #fff4c9; font-weight: 700; }
.multi .ng { color: var(--alert-red); font-weight: 700; }
.multi tfoot th { background: var(--paper-2); }
.multi tfoot small { font-weight: 500; font-size: 11px; color: var(--muted); }
.multi .diff { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--alert-red); text-align: center; }
.tbl-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.strong-line { margin-top: 18px; text-align: center; font-weight: 700; color: var(--alert-red); text-decoration: underline; text-underline-offset: 4px; }

.narrow.wide { width: min(960px, 100% - 40px); }
.steps { padding: 0; display: grid; gap: 14px; list-style: none; }
.steps li { position: relative; padding: 18px 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; display: grid; gap: 6px; justify-items: center; }
.steps .sn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 22px; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.steps-note { margin: 14px 0 44px; text-align: center; font-size: 12px; color: var(--muted); }
.points h3 { margin-bottom: 18px; text-align: center; border-top: 2px solid var(--orange); position: relative; height: 0; }
.points h3 span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 4px 28px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 15px; white-space: nowrap; }
.points ul { padding-top: 26px; display: grid; gap: 12px; }
.points li { padding: 14px 16px; text-align: center; background: var(--teal-wash); border-radius: 4px; display: grid; gap: 4px; justify-items: center; }
.points .picon { width: 64px; height: 64px; }
.points b { color: var(--teal-ink); }
.points li span { font-size: 13.5px; color: var(--muted); }
.contact-box { margin-top: 48px; padding: 32px 20px; text-align: center; border: 2px solid var(--teal); border-radius: 18px; display: grid; gap: 10px; justify-items: center; }
.contact-box .catch { font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 2.8vw, 22px); color: var(--orange-ink); }
.contact-box h3 { padding: 2px 22px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 15px; }
.contact-box .co { font-weight: 700; }
.contact-box a { text-decoration: none; display: grid; gap: 0; }
.contact-box a small { font-size: 12.5px; color: var(--muted); }
.contact-box .tel b { font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); line-height: 1.3; color: var(--navy); }
.contact-box .mail b { font-size: clamp(18px, 5vw, 24px); color: var(--navy); }
.contact-box .hours { font-size: 13px; color: var(--muted); }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li:not(:last-child)::after { content: "»"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 22px; font-weight: 700; color: var(--teal-ink); }
  .points ul { grid-template-columns: repeat(4, 1fr); }
  .multi { padding: 32px 28px; }
}

/* ---------- お問い合わせフォーム ---------- */
.form-box { margin-top: 40px; padding: 28px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 4px; box-shadow: var(--shadow); }
.form-box > h3 { text-align: center; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--navy); }
.form-lead { margin: 10px 0 22px; text-align: center; font-size: 14px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field .req { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--orange); color: var(--navy-2); font-size: 11px; font-weight: 700; vertical-align: 2px; }
.field .opt { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 16px; line-height: 1.6;
  border: 1.5px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink);
}
.field textarea { line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 14.5px; line-height: 1.7; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 5px; flex: none; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 12px; }
#form-confirmation h4 { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.confirmation-list { display: grid; margin: 10px 0 20px; border-top: 1px solid var(--line); }
.confirmation-list > div { display: grid; gap: 2px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.confirmation-list dt { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.confirmation-list dd { font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-btns { display: grid; gap: 10px; }
.form-status { margin-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--teal-ink); text-align: center; }
.form-status:empty { margin-top: 0; }
@media (min-width: 640px) {
  .form-box { padding: 32px 32px; }
  .form-btns { grid-template-columns: 1fr 1fr; }
}

/* ---------- 無料10秒診断 ---------- */
.shindan [hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shindan { padding: 64px 0 72px; background: var(--paper-2); }
.shindan .sec-head { margin-bottom: 28px; }
.shindan-box { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 4px; box-shadow: var(--shadow); padding: 28px 20px; }
.shindan-progress { display: grid; gap: 6px; margin-bottom: 18px; }
.shindan-count { font-size: 13px; font-weight: 700; color: var(--teal-ink); }
.shindan-progress progress { width: 100%; height: 10px; accent-color: var(--orange); color-scheme: light; }
.shindan-step { display: grid; gap: 16px; }
.shindan-step h3, .shindan-result-title { font-family: var(--serif); font-size: clamp(18px, 4.6vw, 22px); line-height: 1.6; color: var(--navy); }
.shindan-step h3:focus, .shindan-result-title:focus { outline: none; }
.shindan-step h3:focus-visible, .shindan-result-title:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.shindan-opts { display: grid; gap: 10px; }
.shindan-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 54px; padding: 12px 16px; text-align: left; font-weight: 700; font-size: 15px; line-height: 1.5;
  background: #fff; border: 1.5px solid var(--line); border-radius: 4px;
  transition: border-color .2s, background-color .2s;
}
.shindan-opt .arr { color: var(--orange-ink); flex: none; }
.shindan-opt:hover, .shindan-opt[aria-pressed="true"] { border-color: var(--tiffany); background: var(--teal-wash); }
.shindan-back { margin-top: 14px; padding: 8px 4px; min-height: 48px; background: none; border: 0; color: var(--teal-ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.shindan-result { display: grid; gap: 16px; }
.shindan-lead { font-size: 14.5px; color: var(--muted); }
.shindan-verdict { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 5.4vw, 28px); line-height: 1.4; color: var(--teal-ink); }
.shindan-verdict .vmark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--teal); color: #fff; font-size: 22px; font-family: var(--font); }
.shindan-fee { padding: 18px; background: var(--orange-wash); border: 1px solid var(--orange-tint); border-radius: 4px; display: grid; gap: 4px; }
.shindan-fee .fee-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.shindan-fee .fee-value { font-family: var(--serif); font-weight: 700; font-size: clamp(23px, 5.8vw, 31px); line-height: 1.35; color: var(--navy); }
.shindan-fee .fee-note { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.shindan-building { padding: 16px 18px; background: var(--orange-wash); border: 1px solid var(--orange-tint); border-radius: 4px; display: grid; gap: 6px; font-size: 14.5px; }
.shindan-building .strong { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--navy); }
.shindan-building.is-cond { background: var(--teal-wash); border-color: var(--tiffany); }
.shindan-jitsu-box, .shindan-summary-box { padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; }
.shindan-result h4 { margin: 0 0 6px; font-size: 14.5px; color: var(--teal-ink); }
.shindan-jitsuhi li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted); }
.shindan-jitsuhi li::before { content: "・"; position: absolute; left: -2px; }
.shindan-notes { display: grid; gap: 8px; font-size: 14px; }
.shindan-notes a { color: var(--teal-ink); font-weight: 700; }
.shindan-disclaimer { padding: 14px 16px; border: 1px dashed var(--tiffany); border-radius: 4px; background: var(--teal-wash); font-size: 13px; color: var(--muted); }
.shindan-summary div { display: flex; gap: 12px; padding: 3px 0; font-size: 13.5px; }
.shindan-summary dt { flex: none; width: 6.5em; color: var(--muted); }
.shindan-summary dd { font-weight: 700; }
.shindan-actions { display: grid; gap: 10px; justify-items: stretch; }
.shindan-reset { min-height: 48px; background: none; border: 0; color: var(--teal-ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.shindan-nojs { display: none; text-align: center; font-size: 15px; }
html:not(.shindan-ready) .shindan-app { display: none; }
html:not(.shindan-ready) .shindan-nojs { display: block; }
html:not(.shindan-ready) .shindan-lead-js { display: none; }
.fixed-cta .shindan-link { display: block; width: min(720px, 100%); margin: 0 auto 6px; padding: 4px 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--teal-ink); }
@media (min-width: 640px) {
  .shindan-box { padding: 32px 32px; }
  .shindan-opts { grid-template-columns: 1fr 1fr; }
  .shindan-opts.three .shindan-opt:last-child { grid-column: 1 / -1; }
  .shindan-actions { grid-template-columns: 1fr 1fr; }
  .shindan-reset { grid-column: 1 / -1; }
}
