:root {
  --ink: #111111;
  --bg: #ffffff;
  --line: #d9d9d5;
  --blue: #2457E6;
  --amber: #F5A300;
  --muted: #55554f;
  --soft: #f4f4f1;
  --gray: #d9d9d5;
  --band: var(--bg);
  --now: var(--blue);
  --sub: var(--ink);
  --card: var(--soft);
  --border: var(--gray);
  --done: var(--ink);
  --todo: var(--bg);
}
* { box-sizing: border-box; }
html { font-size: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height: 1.75; -webkit-text-size-adjust: 100%; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px 40px; }
.serif { font-family: "Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; font-weight: 700; letter-spacing: .02em; }

/* 上の帯 */
.band { background: var(--band); border-bottom: 3px solid var(--line); }
.band .wrap { padding-top: 18px; padding-bottom: 16px; }
.band .who { font-size: 18px; color: var(--sub); }
.band h1 { margin: 2px 0 4px; font-size: 28px; line-height: 1.4; }
.band .upd { font-size: 18px; color: var(--sub); }

/* いまの段階 */
.now { margin: 20px 0 8px; }
.now .label { font-size: 18px; color: var(--sub); }
.now .big { font-size: 28px; font-weight: 700; line-height: 1.4; margin: 2px 0 10px; }
.bar { display: flex; gap: 4px; margin-bottom: 8px; }
.bar span { flex: 1; height: 14px; border-radius: 7px; background: var(--todo); }
.bar span.done { background: var(--done); }
.bar span.cur { background: var(--now); outline: 2px solid var(--ink); outline-offset: 1px; }
.now .nextstep { font-size: 20px; }
details.steps { margin-top: 6px; }
details.steps summary { font-size: 20px; color: var(--ink); cursor: pointer; padding: 8px 0; text-decoration: underline; }
details.steps ol { margin: 4px 0 0; padding-left: 0; list-style: none; }
details.steps li { font-size: 20px; padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
details.steps li b { min-width: 4.5em; font-size: 18px; }

/* お休み */
.holiday { background: var(--bg); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 12px 14px; font-size: 20px; margin: 16px 0; }

/* 数字 */
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.num { background: var(--card); border-radius: 12px; padding: 12px 14px; }
.num .k { font-size: 18px; color: var(--sub); }
.num .v { font-size: 34px; font-weight: 700; line-height: 1.3; }
.num .v small { font-size: 20px; }

/* カード */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin: 16px 0; }
.card h2 { font-size: 22px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 20px; }
.card.voice { background: var(--card); border: none; }
.card.voice .by { font-size: 18px; color: var(--sub); margin-bottom: 4px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { font-size: 20px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: none; }
.list .d { display: inline-block; min-width: 4em; font-weight: 700; }
.list .who { font-size: 18px; color: var(--sub); }

/* 4つのボタン */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.menu a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 110px; background: var(--bg); border: 2px solid var(--border); border-radius: 16px; color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 700; padding: 12px 6px; }
.menu a:active { background: var(--card); }
.menu a.here { border-color: var(--ink); background: var(--card); }
.icon-slot { width: 44px; height: 44px; border-radius: 10px; border: 2px dashed var(--border); }

/* 戻る */
.back { display: block; margin: 16px 0 4px; padding: 14px 16px; min-height: 64px; font-size: 22px; font-weight: 700; color: var(--ink); background: var(--bg); border: 2px solid var(--border); border-radius: 14px; text-decoration: none; text-align: center; }
h2.page { font-size: 28px; margin: 18px 0 6px; }
.lead { font-size: 20px; margin: 0 0 12px; }
.contact { text-align: center; font-size: 20px; margin: 24px 0 8px; }
.contact a { color: var(--ink); font-weight: 700; }

/* 買い手 */
.offer { border: 1px solid var(--border); border-radius: 14px; background: var(--bg); padding: 14px 16px; margin: 12px 0; }
.offer .nm { font-size: 20px; font-weight: 700; }
.offer .pr { font-size: 32px; font-weight: 700; line-height: 1.3; }
.offer .tag { display: inline-block; font-size: 18px; padding: 2px 10px; border-radius: 8px; background: var(--card); margin-right: 6px; }
.offer .tag.formal { background: var(--ink); color: var(--bg); }
.offer .row { font-size: 20px; }
details.grp { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; margin: 12px 0; }
details.grp > summary { font-size: 22px; font-weight: 700; padding: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
details.grp > summary::after { content: '開く'; font-size: 18px; font-weight: 400; text-decoration: underline; }
details.grp[open] > summary::after { content: '閉じる'; }
details.grp .co { padding: 12px 16px; border-top: 1px solid var(--border); }
details.grp .co .nm { font-size: 20px; font-weight: 700; }
details.grp .co .meta { font-size: 18px; color: var(--sub); }
details.grp .co ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 18px; }
.overdue { color: var(--ink); font-weight: 700; }

/* 計算する */
.calc label { display: block; font-size: 20px; margin: 12px 0 4px; }
.calc input { width: 100%; font: inherit; font-size: 24px; padding: 10px 12px; border: 2px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--ink); }
.calc .res { margin-top: 16px; background: var(--card); border-radius: 12px; padding: 14px 16px; }
.calc .res .v { font-size: 34px; font-weight: 700; }
.calc .row2 { display: flex; justify-content: space-between; font-size: 20px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.note { font-size: 18px; color: var(--sub); margin-top: 8px; }
.note a { color: var(--ink); font-weight: 700; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 220px; padding: 8px 0 0; border-bottom: 2px solid var(--ink); position: relative; margin-top: 12px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart .b { width: 100%; background: var(--now); border-radius: 6px 6px 0 0; }
.chart .b.low { background: repeating-linear-gradient(45deg, var(--ink), var(--ink) 6px, var(--line) 6px, var(--line) 12px); }
.chart .v { font-size: 18px; font-weight: 700; }
.chart .costline { position: absolute; left: 0; right: 0; border-top: 3px dashed var(--ink); }
.chart .costlabel { position: absolute; right: 0; font-size: 18px; background: var(--bg); padding: 0 4px; transform: translateY(-120%); }
.months { display: flex; gap: 6px; }
.months span { flex: 1; text-align: center; font-size: 18px; }
.flow { list-style: none; padding: 0; margin: 8px 0 0; }
.flow li { font-size: 20px; padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
.flow li b { min-width: 4.5em; }

/* 相談する */
.talk { margin: 10px 0; padding: 12px 14px; border-radius: 12px; font-size: 20px; }
.talk.family { background: var(--bg); border: 1px solid var(--border); margin-left: 24px; }
.talk.staff { background: var(--card); margin-right: 24px; }
.talk .d { font-size: 18px; color: var(--sub); }
textarea { width: 100%; min-height: 140px; font: inherit; font-size: 22px; padding: 12px; border: 2px solid var(--border); border-radius: 12px; color: var(--ink); }
.btn { display: block; width: 100%; min-height: 64px; margin-top: 12px; font: inherit; font-size: 24px; font-weight: 700; color: var(--bg); background: var(--ink); border: none; border-radius: 14px; cursor: pointer; }
.err { color: var(--ink); font-size: 18px; margin-top: 6px; }
.demo { font-size: 18px; text-align: center; color: var(--sub); margin: 30px 0 10px; }

/* 2026-11-10 直し：文字を減らす・スクロールを短く・表を見やすく */
.band .wrap { padding-top: 12px; padding-bottom: 10px; }
.band h1 { font-size: 26px; margin: 0; }
.band .who, .band .upd { font-size: 18px; }
.now { margin: 14px 0 4px; }
.now .big { font-size: 26px; margin: 0 0 8px; }
.nums { margin: 12px 0; }
.num .v { font-size: 32px; }
.menu { margin: 14px 0; gap: 10px; }
.menu a { min-height: 96px; font-size: 22px; }
.card { padding: 14px 16px; margin: 12px 0; }
.card .by { font-size: 18px; color: var(--sub); margin-bottom: 2px; }
.sec { font-size: 22px; margin: 18px 0 6px; }
.tbl { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 20px; }
.tbl th { text-align: left; font-size: 18px; font-weight: 700; color: var(--sub); background: var(--card); padding: 8px 10px; }
.tbl td { padding: 12px 10px; border-top: 1px solid var(--border); vertical-align: middle; }
.tbl .r { text-align: right; white-space: nowrap; }
.tbl tr.tap { cursor: pointer; }
.tbl tr.tap:active, .tbl tr.sel { background: var(--card); }
.tbl tr.more td { background: var(--card); font-size: 18px; border-top: none; }
.tbl .arrow { font-size: 18px; text-decoration: underline; }
.tbl .ask { font-weight: 700; color: var(--ink); }
.nowrap { white-space: nowrap; font-weight: 700; }
.sm { font-size: 18px; color: var(--sub); }
.tag { display: inline-block; font-size: 18px; padding: 0 8px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); }
.tag.formal { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link { display: block; width: 100%; margin: 8px 0 0; padding: 12px; font: inherit; font-size: 20px; color: var(--ink); background: none; border: 2px solid var(--border); border-radius: 12px; cursor: pointer; }
.open { color: var(--ink); font-weight: 700; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 8px 0 14px; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; }
.seg button { font: inherit; font-size: 22px; font-weight: 700; padding: 12px; background: var(--bg); color: var(--ink); border: none; cursor: pointer; }
.seg button.on { background: var(--ink); color: var(--bg); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.calc label { font-size: 18px; margin: 8px 0 2px; }
.calc input { font-size: 22px; padding: 8px 10px; }
.calc .res { margin-top: 12px; }
.calc .res .k { font-size: 18px; }
.lots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.lot { border-radius: 8px; padding: 6px 2px; text-align: center; line-height: 1.25; border: 1px solid var(--border); background: var(--bg); }
.lot b { display: block; font-size: 20px; }
.lot span { font-size: 18px; }
.lot.use { background: var(--bg); }
.lot.notice { background: var(--line); border-color: var(--line); }
.lot.out { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lot.empty, .lot.owner { background: var(--bg); color: var(--ink); }
.lotkey { display: inline-block; width: 18px; height: 18px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; border: 1px solid var(--border); }
.lotkey.notice { background: var(--line); border-color: var(--line); }
.lotkey.out { background: var(--ink); }
.lotkey.empty { background: var(--bg); }
.words { margin: 14px 0; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 4px 14px; }
.words summary { font-size: 20px; padding: 10px 0; cursor: pointer; }
.words p { font-size: 20px; margin: 4px 0 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact { margin: 18px 0 4px; }
.demo { margin: 6px 0 10px; }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 4px; }
.phead h2.page { margin: 0; font-size: 26px; }
.phead .back { margin: 0; min-height: 56px; padding: 10px 16px; font-size: 20px; display: flex; align-items: center; white-space: nowrap; }
.tbl td .tag { margin-top: 4px; white-space: nowrap; }
.tbl { line-height: 1.4; }
.tbl td { padding: 10px 10px; }

/* 売主様向けの進捗報告 */
.band { background: var(--ink); color: var(--bg); border-bottom-width: 2px; }
.band .who, .band .upd { color: var(--bg); }
.band h1 { font-size: clamp(28px, 6vw, 40px); overflow-wrap: anywhere; }
.wrap { max-width: 860px; }
.now { background: var(--bg); border: 1px solid var(--border); padding: 16px; }
.now .label { font-weight: 700; }
.bar span { height: 8px; border-radius: 2px; }
.nums { margin: 12px 0; }
.num { border: 1px solid var(--border); border-radius: 4px; }
.activity { background: var(--bg); border: 1px solid var(--border); border-top: 2px solid var(--line); }
.activity > div { min-width: 0; padding: 12px 16px; }
.activity > div + div { border-top: 1px solid var(--border); }
.activity h2 { margin: 0 0 3px; font-size: 18px; color: var(--sub); }
.activity p { margin: 0; font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.activity .activity-by { margin-top: 4px; font-size: 18px; color: var(--sub); }
.menu { gap: 8px; margin: 14px 0; }
.menu a { min-height: 64px; flex-direction: row; justify-content: space-between; text-align: left; padding: 8px 10px; border: 1px solid var(--border); border-radius: 4px; font-size: clamp(18px, 5vw, 24px); line-height: 1.25; }
.menu-arrow { flex: none; color: var(--sub); }
.menu a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (min-width: 680px) {
  .activity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity > div + div { border-top: 0; border-left: 1px solid var(--border); }
}

/* 現地の写真と敷地イラスト */
.overview { display: grid; gap: 12px; margin: 16px 0 0; }
.overview .now { margin: 0; align-self: center; }
.site-photo, .site-map { margin: 0; min-width: 0; }
.site-photo { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 4px; }
.site-photo img { display: block; width: 100%; height: clamp(112px, 30vw, 160px); object-fit: cover; object-position: center 52%; }
.site-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 2px 10px; background: var(--ink); color: var(--bg); font-size: 18px; }
.site-map { padding: 12px 16px; border: 1px solid var(--border); background: var(--bg); margin: 16px 0; }
.site-map h3 { margin: 0 0 8px; }
.site-map img { display: block; width: 100%; max-width: 560px; margin-inline: auto; height: auto; }
.site-map a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 18px; }
@media (min-width: 680px) {
  .overview { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .overview .now { order: -1; align-self: stretch; }
  .site-photo { min-height: 155px; }
  .site-photo img { position: absolute; inset: 0; height: 100%; }
}

.menu a:last-child { grid-column: 1 / -1; }
@media (min-width: 680px) {
  .menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu a:last-child { grid-column: auto; }
}

/* スマホでの表示 */
@media (max-width: 679px) {
  .wrap { padding-inline: 12px; }
  .band .wrap { padding-block: 10px; }
  .band .who, .band .upd { line-height: 1.4; }
  .overview { gap: 8px; margin-top: 10px; }
  .overview .now { padding: 10px 12px; }
  .now .big { font-size: 28px; line-height: 1.28; }
  .now .nextstep { font-size: 18px; line-height: 1.4; }
  .site-photo img { height: clamp(88px, 26vw, 136px); }
  .menu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 14px; }
  .menu a, .menu a:last-child { grid-column: auto; justify-content: center; text-align: center; font-size: 18px; padding: 6px 4px; text-wrap: balance; }
  .menu-arrow { display: none; }
  .num { min-width: 0; padding: 8px 10px; }
  .activity > div { padding: 10px 12px; }
  .phead { flex-wrap: wrap; }
  .phead .back { padding-inline: 12px; }
  .tbl { table-layout: fixed; font-size: 18px; }
  .tbl th, .tbl td { padding: 10px 7px; overflow-wrap: anywhere; }
  .tbl .r { white-space: normal; }
  .tbl .tap { height: 48px; }
  .tbl .r.arrow { width: 3.6em; }
  .tbl tr[data-group] td:nth-child(2) { width: 3.2em; }
  .tbl tr[data-group] td:first-child { width: auto; }
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc input, .seg button, .link { min-height: 48px; }
  .calc .res .v { overflow-wrap: anywhere; font-size: 30px; }
  .lots { grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); }
  .chart, .months { gap: 3px; }
  .chart { height: 172px; }
  .site-map { padding: 10px; }
}
@media (max-width: 359px) {
  .g2 { grid-template-columns: 1fr; }
}

/* 売主様向けの画面切り替え */
.brand-strip { background: var(--bg); color: var(--ink); }
.brand-strip .wrap { padding-block: 8px; }
.brand-logo { display: block; width: clamp(155px, 44vw, 225px); height: auto; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.sample-banner { background: var(--line); color: #fff; text-align: center; padding: 8px 16px; font-size: 18px; }
.site-photo svg { display: block; width: 100%; height: clamp(112px, 30vw, 160px); }
.site-map svg { display: block; width: 100%; max-width: 420px; height: auto; }
.menu a { border-color: var(--ink); }
.menu a.here, .menu a:active { background: var(--ink); color: var(--bg); }
.menu a.here .menu-arrow, .menu a:active .menu-arrow { color: var(--bg); }
.bar span { border: 1px solid var(--ink); }
.chart .b.low, .lot.empty, .lot.owner {
  background: repeating-linear-gradient(135deg, var(--bg) 0 4px, var(--line) 4px 6px);
}
.lotkey.empty { background: repeating-linear-gradient(135deg, var(--bg) 0 4px, var(--line) 4px 6px); }
:where(a, button, input, summary):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .page-enter > :is(.overview, .phead, .nums, .menu, .activity) { animation: page-enter 240ms ease-out both; }
  .page-enter .bar span.cur { transform-origin: left; animation: step-enter 420ms ease-out both; }
  .menu a, .seg button, .link { transition: background-color 150ms ease, color 150ms ease; }
}
@keyframes page-enter {
  from { opacity: .65; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes step-enter {
  from { transform: scaleX(.4); }
  to { transform: scaleX(1); }
}

/* トップの進捗概要 */
.summary-panel { min-width: 0; border: 1px solid var(--line); }
.summary-panel .now { border: 0; padding: 12px 14px 8px; }
.summary-panel .label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.summary-panel .label span, .summary-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-panel .big { margin: 4px 0 10px; overflow-wrap: anywhere; }
.summary-actions { margin: 0; padding: 0 14px; }
.summary-actions > div { border-top: 1px solid var(--line); padding: 7px 0 9px; }
.summary-actions dt { font-weight: 700; font-size: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.summary-actions dd { margin: 0; font-size: 20px; line-height: 1.45; overflow-wrap: anywhere; }
.summary-date, .summary-owner { font-size: 18px; font-weight: 400; }
.summary-owner { display: block; }
@media (max-width: 679px) {
  .overview .site-photo img { height: clamp(84px, 23vw, 128px); }
  .summary-panel .bar { margin-bottom: 4px; }
}
@media (min-width: 680px) {
  .overview { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* 明渡しと入金 */
.parking-summary, .lot-details { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); }
.parking-summary h3, .lot-details h3 { margin: 0 0 4px; font-size: 20px; }
.parking-summary strong { font-size: 30px; }
.parking-summary p { margin: 0; font-size: 18px; }
.lot-details dl { margin: 4px 0 0; font-size: 18px; }
.lot-details dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; border-top: 1px solid var(--line); }
.lot-details dd { margin: 0; font-weight: 700; }
button.lot { min-height: 54px; font-family: inherit; color: var(--ink); cursor: pointer; }
button.lot.out { color: var(--bg); }
button.lot[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }

.fee-summary { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line); }
.fee-summary output { font-weight: 700; }
.fee-summary p { margin: 0; }

.calc-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.lot.negotiating, .lotkey.negotiating { border: 2px dashed var(--ink); }
@media (max-width: 679px) { .lots { grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); } }


/* ===== 一社一AIの見本：洗練版（2026-11-15）=====
   一社一AIのサイトに合わせる：線は灰、青は「今」の印だけ、琥珀は見本の目印だけ。
   枠を減らし、横の細い線と余白で区切る。字は最小16〜18pxのまま。 */
body { background: #fff; line-height: 1.7; }
.wrap { max-width: 720px; }

/* 見本の目印：細い琥珀の線＋小さな文字 */
.sample-banner { background: #fff; color: var(--ink); text-align: left; padding: 10px 16px; font-size: 16px; border-top: 4px solid var(--amber); border-bottom: 1px solid var(--line); }
.sample-banner::before { content: "見本"; display: inline-block; margin-right: 10px; padding: 0 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; }

/* 上：白地に大きな題名 */
.brand-strip .wrap { padding-block: 18px 0; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.band { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.band .wrap { padding-top: 4px; padding-bottom: 20px; }
.band .who { color: var(--blue); font-weight: 700; font-size: 16px; letter-spacing: .1em; }
.band h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.25; letter-spacing: -.02em; margin: 4px 0 8px; }
.band .upd { color: var(--muted); font-size: 16px; font-variant-numeric: tabular-nums; }

/* 今の段階：枠をなくし、上の太い線で区切る */
.overview { gap: 0; margin-top: 28px; }
.summary-panel { border: 0; border-top: 2px solid var(--ink); }
.summary-panel .now { padding: 14px 0 10px; background: none; }
.now .label { color: var(--muted); font-size: 18px; font-weight: 700; }
.now .label span { color: var(--ink); }
.now .big, .summary-panel .big { font-size: clamp(28px, 6.4vw, 36px); line-height: 1.3; letter-spacing: -.02em; margin: 6px 0 14px; }
.bar { gap: 3px; }
.bar span { height: 6px; border: 0; border-radius: 0; background: #e6e6e2; }
.bar span.done { background: var(--ink); }
.bar span.cur { background: var(--blue); outline: 0; }
.summary-actions { padding: 0; }
.summary-actions > div { border-top: 1px solid var(--line); padding: 12px 0; }
.summary-actions dt { color: var(--muted); font-size: 18px; }
.summary-actions dd { font-size: 20px; }
.summary-date, .summary-owner { color: var(--muted); }

/* 現地のイメージ */
.site-photo { border: 0; border-radius: 2px; margin-top: 8px; }
.site-photo figcaption { background: rgba(17, 17, 17, .78); font-size: 16px; padding: 2px 10px; }
@media (min-width: 680px) { .overview { gap: 28px; } .site-photo { margin-top: 0; } }

/* メニュー：枠のタイルをやめ、矢印つきの行に */
.menu { display: block; margin: 28px 0 8px; border-top: 2px solid var(--ink); }
.menu a, .menu a:last-child { display: flex; flex-direction: row; justify-content: space-between; align-items: center; min-height: 68px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); font-size: 22px; font-weight: 700; text-align: left; }
.menu a:hover { background: var(--soft); }
.menu a.here, .menu a:active { background: var(--soft); color: var(--ink); box-shadow: inset 4px 0 0 var(--blue); padding-left: 14px; }
.menu-arrow, .menu a.here .menu-arrow, .menu a:active .menu-arrow { display: inline; color: var(--blue); font-size: 26px; }

/* 数字：箱をなくし、縦の線で分ける */
.nums { gap: 0; margin: 8px 0 0; }
.num { background: none; border: 0; border-radius: 0; padding: 14px 0; }
.num + .num { border-left: 1px solid var(--line); padding-left: 18px; }
.num .k { color: var(--muted); }
.num .v { font-size: 40px; letter-spacing: -.02em; }

/* 担当者のひとこと */
.card { border: 0; border-radius: 0; background: none; padding: 6px 0 6px 18px; border-left: 3px solid var(--ink); margin: 20px 0; }
.card.voice { background: none; border: 0; border-left: 3px solid var(--ink); }
.card .by, .card.voice .by { color: var(--muted); }

/* ページの見出しと戻る */
.phead { margin: 26px 0 8px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.phead h2.page { font-size: clamp(28px, 6vw, 36px); letter-spacing: -.02em; }
.back, .phead .back { border: 0; border-radius: 0; min-height: 48px; padding: 6px 0; font-size: 18px; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; background: none; }
.back::before { content: "← "; }
.sec { font-size: 20px; margin: 30px 0 8px; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.3; }

/* 表：横の線だけ */
.tbl { border: 0; border-radius: 0; border-top: 1px solid var(--ink); }
.tbl th { background: none; color: var(--muted); border-bottom: 1px solid var(--line); }
.tbl td { border-top: 0; border-bottom: 1px solid var(--line); }
.tbl tr.tap:active, .tbl tr.sel, .tbl tr.more td { background: var(--soft); }
.tag { border-radius: 0; background: none; border: 1px solid var(--ink); font-size: 18px; padding: 0 6px; }
.tag.formal { background: var(--ink); }
.link { border: 1px solid var(--ink); border-radius: 2px; }

/* 買い手 */
.offer { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0; }
details.grp { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); margin: 0; }
details.grp > summary { padding: 16px 0; }
details.grp > summary::after { color: var(--blue); text-underline-offset: 5px; }

/* 計算する */
.seg { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 4px 0 18px; }
.seg button { background: none; border-bottom: 4px solid transparent; }
.seg button.on { background: none; color: var(--ink); border-bottom-color: var(--blue); }
.calc input { border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 8px 2px; background: none; font-variant-numeric: tabular-nums; }
.calc input:focus { outline: 0; border-bottom-color: var(--blue); }
.fee-summary { border: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
.calc .res { background: none; border-radius: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 14px 0; }
.calc .res .v { font-size: 40px; letter-spacing: -.02em; }
.parking-summary, .lot-details { border: 0; border-top: 2px solid var(--ink); padding: 14px 0; }
.chart .b { border-radius: 0; background: var(--ink); }
.lot, .lotkey { border-radius: 0; }
.lot.notice, .lotkey.notice { background: var(--blue); border-color: var(--blue); color: #fff; }
.lot.out, .lotkey.out { background: var(--ink); }
.chart .b.low, .lot.empty, .lot.owner, .lotkey.empty { background: repeating-linear-gradient(135deg, #fff 0 4px, var(--line) 4px 6px); }

/* 経過と書類 */
.site-map { border: 0; padding: 0; margin: 24px 0; }
.words { border: 0; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 0; }

/* 下 */
.contact { text-align: left; font-size: 18px; margin: 36px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.demo { text-align: left; font-size: 16px; color: var(--muted); margin: 0 0 24px; }
:where(a, button, input, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (max-width: 679px) {
  .wrap { padding-inline: 16px; }
  .menu a, .menu a:last-child { font-size: 20px; text-align: left; justify-content: space-between; padding: 0 4px; }
  .menu-arrow { display: inline; }
  .num .v { font-size: 34px; }
}

/* サイトに置いた見本：一社一AIのページへ戻るリンク */
.back-site { display: inline-block; margin-left: 10px; color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.in-frame .back-site { display: none; }
