/* 買取セルグ 最終案 — tokens: docs/DESIGN_PLAN.md */
:root {
  --ink: #1C2B40;
  --navy: #26476E;
  --navy-d: #1A3554;
  --civic: #2E5E4E;
  --civic-bg: #EDF4F0;
  --paper: #FFFFFF;
  --mist: #F2F4F5;
  --line: #D5DAE0;
  --mute: #4E5B6B;
  --notice-bg: #FFF3CF;
  --notice: #6B4F00;
  --focus: #F2B705;
  --serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --wrap: 1160px;
  --gut: 20px;
  --r-s: 6px;
  --r-m: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.85; font-feature-settings: 'palt' 0; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { color: var(--navy-d); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.45; letter-spacing: .02em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.unset { color: var(--notice); background: var(--notice-bg); padding: 0 .4em; border-radius: 3px; font-size: .9em; }

/* preview bar */
.preview-bar { background: var(--notice-bg); color: var(--notice); font-size: 14px; line-height: 1.6; padding: 8px var(--gut); text-align: center; }
.preview-bar b { margin-right: .6em; }
.hero-ph figcaption, .lp-ph figcaption { z-index: 1; }
.pv-short { display: none; }
@media (max-width: 760px) { .preview-bar { font-size: 13px; padding: 5px 12px; } .pv-long { display: none; } .pv-short { display: inline; } }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 48px; }
.brand-mark { display: flex; color: var(--ink); line-height: 0; }
.brand-mark .mark { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.2; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.gnav ul { display: flex; gap: 4px; }
.gnav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-size: 15px; border-radius: var(--r-s); }
.gnav a:hover { background: var(--mist); }
.gnav a[aria-current] { box-shadow: inset 0 -2px 0 var(--navy); border-radius: 0; }
.hdr-cta { background: var(--ink); color: #fff; text-decoration: none; padding: 0 20px; min-height: 46px; display: inline-flex; align-items: center; border-radius: var(--r-s); font-weight: 700; font-size: 15px; }
.hdr-cta:hover { background: var(--navy); color: #fff; }
.menu-btn, .menu-close { display: none; align-items: center; gap: 6px; min-height: 48px; min-width: 48px; padding: 0 10px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-s); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(28,43,64,.45); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 12px var(--gut) 32px; overflow-y: auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.drawer-title { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.drawer .menu-close { display: inline-flex; }
.drawer ul { margin: 8px 0 20px; border-top: 1px solid var(--line); }
.drawer li a { display: flex; align-items: center; min-height: 56px; padding: 8px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 17px; }
.drawer li a[aria-current] { font-weight: 700; color: var(--navy); }
body.drawer-open { overflow: hidden; }
@media (max-width: 1080px) {
  .gnav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .hdr-in { height: 60px; gap: 8px; }
  .hdr-cta { padding: 0 12px; font-size: 14px; min-height: 44px; }
  .brand-name { font-size: 18px; }
  .brand-name small { display: none; }
  .brand-mark .mark { width: 36px; height: 36px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* photos */
.ph { margin: 0; position: relative; }
.ph img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; background: var(--mist); border-radius: var(--r-m); }
.ph figcaption { font-size: 12.5px; line-height: 1.5; color: var(--mute); margin-top: 6px; }
.ph figcaption a { color: inherit; }
.ph--empty .ph-empty { aspect-ratio: var(--ratio); border: 2px dashed var(--line); border-radius: var(--r-m); display: grid; place-content: center; text-align: center; color: var(--mute); font-size: 15px; background: repeating-linear-gradient(135deg, #fff 0 12px, var(--mist) 12px 24px); padding: 16px; }
.ph-empty small { display: block; font-size: 13px; }
.ph-note { font-size: 13px; color: var(--mute); margin-top: 12px; }

/* badges & buttons */
.badge { display: inline-block; font-family: var(--sans); font-size: 12.5px; font-weight: 700; line-height: 1.5; padding: 1px 8px; border-radius: 99px; vertical-align: .1em; margin-left: .4em; white-space: nowrap; }
.badge--prov { background: var(--notice-bg); color: var(--notice); border: 1px solid #E8D59A; }
.btn-main { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 56px; padding: 0 28px; background: var(--ink); color: #fff; border: 0; border-radius: var(--r-s); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none; }
.btn-main:hover { background: var(--navy); color: #fff; }
.btn-main:disabled { background: #8994A1; cursor: not-allowed; }
.btn-sub { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--ink); color: var(--ink); background: #fff; border-radius: var(--r-s); text-decoration: none; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.btn-sub:hover { background: var(--mist); }
.more { margin-top: 24px; }

/* CTA set */
.ctas { display: grid; gap: 10px; }
.ctas--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ctas--stack { grid-template-columns: 1fr; }
.cta { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border-radius: var(--r-s); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.35; }
.cta .ic { width: 26px; height: 26px; }
.cta small { display: block; font-weight: 400; font-size: 13px; }
.cta--web { background: var(--ink); color: #fff; }
.cta--web:hover { background: var(--navy); color: #fff; }
.cta--phone, .cta--line { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.cta--unset { background: var(--mist); color: var(--mute); border: 1.5px dashed #AEB7C2; cursor: not-allowed; }
.unset-note { font-size: 14.5px; color: var(--mute); margin-top: 12px; }
@media (max-width: 760px) { .ctas--row { grid-template-columns: 1fr; } }

/* sections */
.sec { padding: 88px 0; }
.sec--mist { background: var(--mist); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink a { color: #fff; }
.shead { max-width: 720px; margin-bottom: 36px; }
.shead h2 { font-size: clamp(26px, 3.2vw, 36px); }
.shead p { margin: 12px 0 0; color: var(--mute); }
.sec--ink .shead p { color: #C9D3DF; }
@media (max-width: 760px) { .sec { padding: 60px 0; } .shead { margin-bottom: 24px; } }

/* HERO (final)：左に見出し・料金・相談、右に写真の2列。読込時に隠すアニメーションは使わない */
.hero { padding: 40px 0 64px; }
.hero-grid { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; align-items: start; }
.hero-txt { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.hero-h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.45; letter-spacing: .03em; color: var(--ink); }
.hero-lead { font-size: 16.5px; line-height: 1.8; margin: 0; }
.hero-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-areas li { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; padding: 4px 12px 4px 8px; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.hero-areas .ic { color: var(--navy); }
.hero-why { display: grid; gap: 6px; font-size: 15.5px; line-height: 1.55; }
.hero-why li { display: flex; gap: 8px; }
.hero-why .ic { color: var(--civic); margin-top: 2px; }
.hero-ph { position: sticky; top: 96px; }
.hero-ph .ph img { aspect-ratio: 4/5; max-height: calc(100vh - 140px); min-height: 520px; border-radius: var(--r-m); object-position: 50% 50%; }
@media (max-width: 1180px) { .hero-grid { gap: 0 36px; } }
@media (max-width: 860px) {
  .hero { padding: 0 0 36px; }
  .hero-grid { display: flex; flex-direction: column; padding: 0; align-items: stretch; }
  .hero-ph { order: -1; position: static; }
  .hero-ph .ph img { aspect-ratio: auto; height: clamp(112px, 22vw, 200px); min-height: 0; max-height: none; border-radius: 0; }
  .hero-txt { max-width: none; padding: 14px var(--gut) 0; gap: 12px; }
  .hero-h1 { font-size: clamp(23px, 6.6vw, 30px); line-height: 1.42; letter-spacing: .02em; }
  .hero-areas li { font-size: 14.5px; padding: 3px 10px 3px 6px; }
  .hero-lead { font-size: 16px; line-height: 1.75; margin-top: 6px; }
}

/* 主料金 */
.offer { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 12px 0 14px; }
.offer-k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-weight: 700; font-size: 16px; }
.offer-tax { font-weight: 400; font-size: 14px; color: var(--mute); }
.offer-k .badge { margin-left: auto; }
.offer-v { margin: 2px 0 4px; color: var(--navy); font-size: 17px; line-height: 1.2; }
.offer-v b { font-size: 40px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.offer-cond { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.offer-cond .ic { color: var(--navy); margin-right: 1px; }
.hp-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; margin: 0; }
.hp-row span { font-size: 15.5px; }
.hp-row small { grid-column: 1 / -1; font-size: 14px; color: var(--mute); line-height: 1.55; }
.hp-row b { font-size: 26px; font-variant-numeric: tabular-nums; color: var(--navy); }
.hp-row b i { font-style: normal; font-size: 15px; margin-left: 2px; }
.hero-price-k { font-size: 14px; color: var(--mute); margin: 0; display: flex; align-items: center; flex-wrap: wrap; }
.hero-price-k .badge { margin-left: auto; }

/* コンパクトな3導線 */
.ctas-compact { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 6px; }
.cc { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 68px; padding: 6px 4px; border-radius: var(--r-s); text-align: center; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.3; }
.cc .ic { width: 22px; height: 22px; }
.cc small { display: block; font-weight: 400; font-size: 12.5px; }
.cc .cc-num { white-space: nowrap; letter-spacing: 0; }
.cc--web { background: var(--ink); color: #fff; }
.cc--web:hover { background: var(--navy); color: #fff; }
a.cc:not(.cc--web) { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.cc--unset { background: var(--mist); color: var(--mute); border: 1.5px dashed #AEB7C2; cursor: not-allowed; }
@media (max-width: 860px) {
  .offer { padding: 10px 0 12px; }
  .offer-v b { font-size: 36px; }
  .offer-cond { font-size: 14.5px; }
  .cc { min-height: 64px; font-size: 14.5px; }
}
@media (max-width: 350px) {
  .ctas-compact { grid-template-columns: 1fr 1fr; }
  .cc--web { grid-column: 1 / -1; flex-direction: row; gap: 8px; min-height: 56px; }
  .cc--web small { display: none; }
}

/* troubles */
.troubles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.troubles li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.65; }
.troubles .ic { width: 32px; height: 32px; color: var(--navy); }
@media (max-width: 900px) { .troubles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .troubles { grid-template-columns: 1fr; } .troubles li { padding: 16px 0; } }

/* service rows */
.svc-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.svc-row.is-main { grid-column: span 1; }
.svc-link { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); height: 100%; }
.svc-link h3 { font-size: 22px; margin-bottom: 8px; }
.svc-link p { font-size: 16px; margin-bottom: 10px; }
.svc-price { color: var(--mute); font-size: 15px !important; }
.svc-price b { color: var(--navy); font-size: 19px; }
.svc-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: .25em; }
.svc-link:hover h3 { color: var(--navy); }
.svc-link:hover .ph img { filter: brightness(1.04); }
@media (min-width: 900px) {
  .svc-rows { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .svc-row { grid-column: span 2; }
  .svc-row.is-main { grid-column: span 2; }
  .svc-row:not(.is-main) .svc-link { flex-direction: row; gap: 16px; }
  .svc-row:not(.is-main) .svc-ph { width: 38%; flex: none; }
  .svc-row:not(.is-main) h3 { font-size: 19px; }
  .svc-row:not(.is-main) .svc-body > p:first-of-type { display: none; }
}
@media (max-width: 899px) { .svc-rows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .svc-rows { grid-template-columns: 1fr; gap: 28px; }
  .svc-row:not(.is-main) .svc-link { flex-direction: row; gap: 14px; }
  .svc-row:not(.is-main) .svc-ph { width: 36%; flex: none; }
  .svc-row:not(.is-main) h3 { font-size: 18px; }
  .svc-row:not(.is-main) .svc-body > p:first-of-type { display: none; }
}

/* price table */
.ptable { border-top: 2px solid var(--ink); }
.ptable-head, .ptable-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); gap: 8px 20px; align-items: baseline; }
.ptable-head { font-size: 13.5px; color: var(--mute); padding: 10px 0; border-bottom: 1px solid var(--line); }
.ptable-head span:last-child, .p-price { text-align: right; }
.ptable-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.p-name { font-weight: 700; font-size: 17px; }
.p-unit { font-size: 15px; color: var(--mute); display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.p-unit .ic { color: var(--navy); }
.p-unit .ic + * { margin-right: 4px; }
.p-price { font-size: 15px; color: var(--navy); white-space: nowrap; }
.p-price b { font-size: 26px; font-variant-numeric: tabular-nums; }
.p-cond { grid-column: 1 / -1; display: grid; gap: 2px; font-size: 14.5px; color: var(--mute); line-height: 1.6; }
@media (max-width: 640px) {
  .ptable-head { display: none; }
  .ptable-row { grid-template-columns: 1fr auto; }
  .p-unit { grid-column: 1; grid-row: 2; }
  .p-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.notes { display: grid; gap: 6px; margin-top: 18px; font-size: 14.5px; color: var(--mute); }
.notes li { padding-left: 1.1em; text-indent: -1.1em; }
.notes li::before { content: '・'; }

/* estimator */
.est { border: 1px solid var(--line); border-radius: var(--r-m); padding: 28px; background: #fff; display: grid; gap: 18px; margin-bottom: 40px; }
.est-t { font-size: 22px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; color: var(--mute); margin-bottom: 8px; padding: 0; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 99px; font-size: 16px; background: #fff; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.est-out { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.est-card { border-radius: var(--r-s); padding: 20px; }
.est-card--celg { border: 2px solid var(--navy); }
.est-card--civic { background: var(--civic-bg); border: 1px solid #C2D8CD; }
.est-card--civic .est-k { color: var(--civic); }
.est-k { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.est-price { margin: 0; color: var(--navy); font-size: 17px; }
.est-price b { font-size: 40px; font-variant-numeric: tabular-nums; }
.est-unit { font-size: 15px; display: flex; gap: 4px; align-items: center; margin-bottom: 8px; }
.est-cond { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin-bottom: 6px; }
.est-cond--x { color: var(--ink); }
.est-civic-fee { font-size: 15px; margin-bottom: 8px; }
.est-civic-fee b { font-size: 24px; color: var(--civic); margin: 0 4px 0 10px; font-variant-numeric: tabular-nums; }
.est-link { color: var(--civic); font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 760px) {
  .est { padding: 18px; }
  .est-out { grid-template-columns: 1fr; }
  .chip span { padding: 0 14px; font-size: 15px; }
  .est-t { font-size: 19px; }
}

/* features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.features li { padding: 24px 0; border-top: 1px solid var(--line); }
.features h3 { font-size: 21px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.features h3 .ic { color: var(--civic); margin-top: 6px; }
.features p { margin: 0; padding-left: 34px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } .features h3 { font-size: 19px; } .features p { padding-left: 0; } }

/* civic split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.split-col { padding: 28px; }
.split-col--celg { background: #fff; border-top: 4px solid var(--navy); }
.split-col--civic { background: var(--civic-bg); border-top: 4px solid var(--civic); }
.split-col--civic h3 { color: var(--civic); }
.split h3 { font-size: 21px; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.ticks { display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.split-pay { margin: 18px 0 0; font-weight: 700; font-size: 15.5px; }
.caution { margin-top: 20px; font-size: 15px; color: var(--mute); border-left: 3px solid var(--civic); padding-left: 14px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split-col { padding: 22px 18px; } }

/* flow */
.flow { counter-reset: f; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.flow li { counter-increment: f; position: relative; padding-top: 64px; }
.flow li::before { content: counter(f); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 700; background: #fff; }
.flow li:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: 56px; right: -16px; height: 1px; background: var(--line); }
.flow h3 { font-size: 19px; margin-bottom: 6px; }
.flow p { font-size: 15.5px; margin: 0; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { padding: 0 0 24px 68px; min-height: 72px; }
  .flow li:not(:last-child)::after { top: 52px; bottom: 4px; left: 24px; right: auto; width: 1px; height: auto; }
}

/* area */
.area-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.area-list li { border: 1px solid var(--line); border-radius: var(--r-s); padding: 18px; background: #fff; display: flex; flex-direction: column; }
.area-list b { font-family: var(--serif); font-size: 24px; }
.area-list span { font-size: 14px; color: var(--mute); }
@media (max-width: 760px) { .area-list { grid-template-columns: 1fr 1fr; } .area-list b { font-size: 20px; } }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font-weight: 700; font-size: 17.5px; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; margin: 0; }

/* muni */
.muni { border: 1px solid #C2D8CD; background: var(--civic-bg); border-radius: var(--r-m); padding: 24px; margin-bottom: 20px; }
.muni h3 { color: var(--civic); font-size: 22px; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.muni-fees { display: grid; gap: 8px; margin: 12px 0 16px; }
.muni-fees li { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; background: #fff; padding: 10px 14px; border-radius: var(--r-s); }
.muni-fees b { color: var(--civic); font-size: 20px; text-align: right; font-variant-numeric: tabular-nums; }
.muni-fees small { grid-column: 1 / -1; color: var(--mute); font-size: 13.5px; line-height: 1.55; }
.muni-dl { display: grid; grid-template-columns: 9em 1fr; gap: 8px 16px; font-size: 15px; margin: 0 0 14px; }
.muni-dl dt { font-weight: 700; }
.muni-dl dd { margin: 0; }
.muni-src { font-size: 13.5px; color: var(--mute); margin: 0; }
.muni-src a { color: var(--civic); display: inline-flex; gap: 2px; align-items: center; }
.muni-src .ic { width: 1em; height: 1em; }
.muni-nofee { font-size: 15px; background: #fff; padding: 10px 14px; border-radius: var(--r-s); }
@media (max-width: 640px) { .muni { padding: 18px; } .muni-dl { grid-template-columns: 1fr; gap: 2px; } .muni-dl dd { margin-bottom: 8px; } }

/* sub pages */
.phead { padding: 28px 0 48px; border-bottom: 1px solid var(--line); }
.phead-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.phead h1 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 16px; }
.phead p { font-size: 17.5px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--mute); }
.crumb li + li::before { content: '／'; margin: 0 6px; }
.crumb a { color: var(--mute); }
@media (max-width: 860px) { .phead-grid { grid-template-columns: 1fr; gap: 24px; } .phead { padding: 16px 0 36px; } }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 24px; } }
.lst { display: grid; gap: 0; border-top: 1px solid var(--line); }
.lst li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; }
.lst li::before { content: ''; position: absolute; left: 6px; top: 1.35em; width: 12px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.lst--x li::before { border: 0; width: 12px; height: 2px; background: var(--mute); transform: none; top: 1.55em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.handy { display: grid; gap: 0; border-top: 1px solid var(--line); }
.handy-item { display: grid; grid-template-columns: 220px 1fr 220px; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.handy-item h3 { font-size: 22px; margin-bottom: 8px; }
.handy-price { text-align: right; }
.handy-price b { font-size: 28px; color: var(--navy); font-variant-numeric: tabular-nums; }
.handy-price p { font-size: 14px; color: var(--mute); margin: 0; }
.handy-note { font-size: 15px; color: var(--mute); }
@media (max-width: 860px) { .handy-item { grid-template-columns: 1fr; gap: 12px; } .handy-price { text-align: left; } .handy-item .ph { max-width: 360px; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.jump a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); font-size: 15px; background: #fff; }
.jump a:hover { border-color: var(--ink); }
.casebox { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .casebox { grid-template-columns: 1fr; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; }
.tbl th { width: 30%; background: var(--mist); font-weight: 700; }
.calc { border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; margin-bottom: 16px; }
.calc h3 { font-size: 19px; margin-bottom: 10px; }
.calc dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.calc dd { margin: 0; text-align: right; }
.calc .civic { color: var(--civic); }
.calc .sum { border-top: 1px solid var(--ink); padding-top: 8px; font-weight: 700; }

/* form */
.eform { max-width: 760px; }
.eform-status { background: var(--notice-bg); color: var(--notice); border-radius: var(--r-s); padding: 14px 16px; font-size: 15px; margin-bottom: 24px; line-height: 1.7; }
.eform-status:empty { display: none; }
.eform-status b { display: block; }
.fld { border: 0; padding: 0; margin: 0 0 26px; }
.fld > label, .fld > legend { display: block; font-weight: 700; font-size: 17px; margin-bottom: 10px; padding: 0; }
.fld small { display: block; font-weight: 400; font-size: 14px; color: var(--mute); }
.req, .opt-tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 0 8px; border-radius: 3px; margin-left: 8px; vertical-align: .15em; }
.req { background: var(--ink); color: #fff; }
.opt-tag { background: var(--mist); color: var(--mute); }
.fld input[type=text], .fld select, .fld textarea { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; min-height: 52px; border: 1.5px solid #9AA5B1; border-radius: var(--r-s); background: #fff; color: var(--ink); }
.fld input[type=file] { font: inherit; font-size: 15px; min-height: 48px; }
.fld [aria-invalid=true], .fld.is-err .opts { border-color: #B3261E; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; border-radius: var(--r-s); }
.fld.is-err .opts { outline: 2px solid #B3261E; outline-offset: 4px; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); cursor: pointer; background: #fff; font-size: 16px; }
.opt input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--mist); }
.fld--agree .opt { border: 0; padding-left: 0; }
.fld-err { color: #B3261E; font-size: 15px; font-weight: 700; margin: 8px 0 0; }
.fld-hint { font-size: 14px; color: var(--mute); margin: 6px 0 0; }
.err-summary { border: 2px solid #B3261E; border-radius: var(--r-s); padding: 14px 16px; margin-bottom: 24px; color: #B3261E; }
.err-summary ul { list-style: disc; padding-left: 1.3em; }
.err-summary a { color: #B3261E; }
.confirm-dl { display: grid; grid-template-columns: 12em 1fr; border-top: 1px solid var(--line); margin: 16px 0 24px; }
.confirm-dl dt, .confirm-dl dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.confirm-dl dt { font-weight: 700; padding-right: 12px; }
.eform-step[data-step=confirm] h3 { font-size: 22px; }
.eform-step[data-step=confirm] .btn-main, .eform-step[data-step=confirm] .btn-sub { margin: 0 8px 10px 0; }
.eform-stop { background: var(--notice-bg); color: var(--notice); padding: 14px 16px; border-radius: var(--r-s); }
.eform-stop b { display: block; }
@media (max-width: 640px) { .confirm-dl { grid-template-columns: 1fr; } .confirm-dl dt { border-bottom: 0; padding-bottom: 0; } .btn-main { width: 100%; } }

/* footer */
.ftr { background: var(--ink); color: #DCE3EC; padding: 56px 0 120px; margin-top: 0; }
.ftr-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.ftr .brand { color: #fff; }
.ftr .brand-mark { color: #fff; }
.ftr .brand-name small { color: #B7C3D1; display: block; }
.ftr p { font-size: 15px; margin: 14px 0; }
.ftr-dl { display: grid; grid-template-columns: 6em 1fr; gap: 4px; font-size: 15px; margin: 0; }
.ftr-dl dd { margin: 0; }
.ftr .unset { background: rgba(255,243,207,.15); color: #F5E2A8; }
.ftr-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ftr-links a { color: #fff; display: flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }
.ftr-links a:hover { text-decoration: underline; }
.ftr-note { max-width: var(--wrap); margin: 32px auto 0; padding: 0 var(--gut); font-size: 13px; color: #AFBccb; }
.ftr-note a { color: #DCE3EC; }
@media (max-width: 760px) { .ftr-in { grid-template-columns: 1fr; } }

/* mobile fixed bar */
.fixedbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
.fixedbar a, .fixedbar span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; border-radius: var(--r-s); font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.2; }
.fixedbar a { background: var(--ink); color: #fff; }
.fixedbar span { background: var(--mist); color: var(--mute); border: 1px dashed #AEB7C2; }
.fixedbar small { font-size: 11px; font-weight: 400; }
.fixedbar .ic { width: 22px; height: 22px; margin-bottom: 2px; }
@media (max-width: 760px) { .fixedbar[data-live], .fixedbar.is-preview { display: grid; } }

/* LP */
.lp-hero { background: var(--mist); padding: 40px 0 48px; }
.lp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lp-txt { display: flex; flex-direction: column; gap: 16px; }
.lp-h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.4; }
.lp-h1-area { display: block; font-size: .5em; font-family: var(--sans); font-weight: 700; color: var(--mute); letter-spacing: .02em; margin-bottom: 4px; }
.lp-h1-svc { display: block; }
.lp-txt .offer { background: #fff; padding: 12px 16px 14px; border: 2px solid var(--ink); border-radius: var(--r-m); }
.lp-txt .o-lead { margin: 0; }
@media (max-width: 860px) {
  .lp-grid { grid-template-columns: 1fr; gap: 12px; }
  .lp-hero { padding: 0 0 32px; }
  .lp-hero .lp-ph { order: -1; margin: 0 calc(var(--gut) * -1); position: relative; }
  .lp-hero .lp-ph img { border-radius: 0; height: 112px; aspect-ratio: auto; }
  .lp-hero .lp-ph figcaption { position: absolute; right: 0; bottom: 0; margin: 0; font-size: 11px; line-height: 1.4; color: #fff; background: rgba(20,30,45,.6); padding: 1px 6px; }
  .lp-hero .lp-ph figcaption a { color: #fff; }
  .lp-h1 { font-size: clamp(25px, 7vw, 29px); }
  .lp-h1-area { font-size: 15px; }
  .lp-txt { gap: 12px; }
  .lp-txt .offer-v b { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .hdr, .fixedbar, .preview-bar, .ftr { display: none; } }

/* CTA helpers */
.ctas.ctas-sub { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.ctas.ctas-sub .cta--unset { min-height: 52px; font-size: 15px; }
.ctas--narrow { max-width: 440px; }
.h3s { font-size: 20px; margin-bottom: 12px; }

/* fixes after QA */
.fld--agree a { display: inline-block; padding: 12px 0; }
.nb { display: inline-block; white-space: nowrap; }
.fld input[type=file] { max-width: 100%; width: 100%; }
.dv-banner a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.dv-banner { padding: 0 12px; }
@media (max-width: 360px) {
  .brand-name { white-space: nowrap; font-size: 16px; }
  .brand-mark .mark { width: 32px; height: 32px; }
  .hdr-cta { white-space: nowrap; padding: 0 10px; font-size: 13.5px; }
  .hdr-in { gap: 6px; }
}

/* アイコン更新（2026-11-07）：LINE 公式アイコン（無加工）・固定バー */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line-logo { width: 32px; height: 32px; flex: none; object-fit: contain; }
.cta .line-logo { margin: -3px 0; }
.cc .line-logo { width: 32px; height: 32px; }
.fixedbar .fb-line { gap: 0; }
.fixedbar .fb-line .line-logo { width: 40px; height: 40px; margin: 0; }
.fixedbar span.fb-line small { margin-top: 1px; }
@media (max-width: 760px) {
  .line-logo, .cc .line-logo { width: 40px; height: 40px; }
  .cc { gap: 1px; }
  .cc .line-logo { margin: -6px 0 -2px; }
}

/* ごみ説明の削除に伴う調整（2026-11-07）：早見ツールは作業料金の1枚、流れは4段、地域ページ */
.est-out { grid-template-columns: 1fr; }
.est-card--celg { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 4px 36px; align-items: start; }
.est-detail .est-cond:last-of-type { margin-bottom: 4px; }
.est-link { color: var(--navy); }
.flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.area-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.area-cities li { border: 1px solid var(--line); border-radius: var(--r-s); padding: 18px 18px 14px; background: #fff; scroll-margin-top: 90px; }
.area-cities h3 { font-size: 22px; display: inline; margin-right: 8px; }
.area-pref { font-size: 14px; color: var(--mute); }
.area-cities p { margin: 8px 0 0; font-size: 15.5px; }
@media (max-width: 760px) { .est-card--celg { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }

/* フッターの項目名は1行（古物商許可（買取）など） */
.ftr-dl { grid-template-columns: max-content 1fr; column-gap: 16px; }

/* 自作グラフィック（買取） */
.ph--art img { object-fit: cover; background: #EEF2F6; }

/* 便利屋：写真のない作業はアイコンの枠（4:3） */
.handy-icon { aspect-ratio: 4 / 3; border-radius: var(--r-m); background: var(--mist); border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.handy-icon .ic { width: 56px; height: 56px; stroke-width: 1.5; }
@media (max-width: 860px) { .handy-icon { max-width: 360px; aspect-ratio: 16 / 7; } .handy-icon .ic { width: 44px; height: 44px; } }
.ph--empty .ph-empty:empty { border-style: solid; }

/* Price tables show service and starting price only. */
.ptable-head,.ptable-row{grid-template-columns:minmax(0,1fr) auto;}
