/* 2nd chance recycle 買取・片付け。モバイル優先・文字大きめ・コントラスト 4.5 以上 */
:root {
  --bg: #f7f5ef;
  --card: #ffffff;
  --ink: #1d2b24;
  --muted: #47564e;
  --line: #d6d0c2;
  --green: #1f5e46;
  --green-dark: #164534;
  --green-soft: #e4efe8;
  --accent: #a83f0c;
  --accent-soft: #fbeee6;
  --line-btn: #06703a;
  --tel-btn: #1f4f8a;
  --warn-bg: #fff3cf;
  --warn-ink: #5a3d00;
  --ng: #a3221b;
  --ng-bg: #fdeceb;
  --ok: #17603f;
  --radius: 14px;
  --cta-h: 72px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  padding-bottom: calc(var(--cta-h) + 24px + env(safe-area-inset-bottom));
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #e0a100; outline-offset: 2px; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; }
h1 { font-size: 1.55rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
small { font-size: .85em; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ヘッダー */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.brand small { display: block; font-weight: 600; font-size: .8rem; color: var(--muted); }
.gnav ul { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gnav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; border: 1px solid var(--line); background: var(--bg); }
.gnav a[aria-current="page"] { background: var(--green); color: #fff; border-color: var(--green); }
.notice { background: var(--warn-bg); color: var(--warn-ink); padding: 10px 16px; font-size: .95rem; }
.notice .wrap { padding: 0; }

/* 本文 */
main { padding: 20px 0 8px; }
.hero { background: var(--green); color: #fff; border-radius: var(--radius); padding: 22px 18px; margin-bottom: 20px; }
.hero h1 { font-size: 1.6rem; }
.hero p { color: #fff; }
.hero a { color: #fff; }
.lead { font-size: 1.05rem; }
.section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; margin-bottom: 18px; }
.section > h2 { border-bottom: 3px solid var(--green-soft); padding-bottom: 6px; }
.q-label { display: inline-block; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: .85rem; border-radius: 999px; padding: 2px 12px; margin-bottom: 6px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-right: 8px; flex: none; }
.muted { color: var(--muted); }
.tag-pending { display: inline-block; background: var(--warn-bg); color: var(--warn-ink); border-radius: 6px; padding: 0 8px; font-size: .8rem; font-weight: 700; }
.tag-confirm { display: inline-block; background: #eef0f4; color: #33405a; border-radius: 6px; padding: 0 6px; font-size: .75rem; font-weight: 700; margin-left: 4px; }
.callout { background: var(--accent-soft); border-left: 5px solid var(--accent); padding: 12px 14px; border-radius: 8px; margin: 12px 0; }
.callout-warn { background: var(--warn-bg); border-left: 5px solid #b07a00; color: var(--warn-ink); padding: 12px 14px; border-radius: 8px; margin: 12px 0; font-weight: 700; }
ul.check, ul.plain { padding-left: 1.2em; margin: 0 0 1em; }
ul.check li::marker { content: "✓ "; color: var(--green); }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
.grid-items { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.card h3 { margin-bottom: 4px; }
.item-tile { text-align: center; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 700; font-size: .9rem; line-height: 1.4; }
.item-tile img { width: 52px; height: 52px; display: block; margin: 0 auto 4px; }
.item-card { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.item-card img { width: 64px; height: 64px; }
.item-card dl { margin: 6px 0 0; font-size: .95rem; }
.item-card dt { font-weight: 800; }
.item-card dd { margin: 0 0 6px; }
.method { display: flex; gap: 10px; align-items: flex-start; }
.method b { display: block; font-size: 1.1rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 12px; }
.areas { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { background: var(--green-soft); border-radius: 999px; padding: 4px 12px; font-weight: 700; }
.related { display: grid; gap: 10px; grid-template-columns: 1fr; }
.related a, .related span.is-disabled { display: block; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--bg); }

/* 表 */
.table-wrap { overflow-x: auto; }
table.price { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.price th, table.price td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
table.price th { background: var(--green-soft); font-size: .9rem; }
table.price td.num { text-align: right; white-space: nowrap; font-weight: 800; }
table.price caption { text-align: left; font-weight: 900; padding: 4px 0 8px; caption-side: top; }
table.price-kinds { min-width: 600px; font-size: .95rem; }
table.price-kinds th, table.price-kinds td:first-child { white-space: nowrap; }
table.price-kinds th:first-child, table.price-kinds td:first-child { position: sticky; left: 0; background: var(--card); }
table.price-kinds th:first-child { background: var(--green-soft); }
.perks { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.perks-h { font-weight: 900; margin: 0 0 6px; color: var(--accent); }
.est-perk { color: var(--accent); font-weight: 700; }
.consult { color: var(--accent); font-weight: 800; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 10px 18px; border-radius: 12px; border: 0; font-size: 1.05rem; font-weight: 800; text-decoration: none; cursor: pointer; color: #fff; background: var(--green); font-family: inherit; line-height: 1.3; text-align: center; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-line { background: var(--line-btn); }
.btn-tel { background: var(--tel-btn); }
.btn-form { background: var(--accent); }
.btn-ghost { background: var(--card); color: var(--green); border: 2px solid var(--green); }
.btn-ghost:hover { color: var(--green-dark); }
.btn small { font-weight: 700; font-size: .75rem; }
.btn.is-disabled, .btn:disabled, .btn[aria-disabled="true"] { background: #e3e1da; color: #4a4a44; border: 1px dashed #8f8a7d; cursor: not-allowed; filter: none; }
.btn-row { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 12px; }
.btn-block { width: 100%; }

/* 固定CTA */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.cta-bar ul { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cta-bar .btn { width: 100%; min-height: 56px; padding: 6px 4px; font-size: .95rem; flex-direction: column; gap: 0; }
/* 固定バーの概算パネル（フォームのあるページだけ。form.js が差し込み、フォームが見え始めたら出す） */
body.has-cta-est { --cta-est-h: 50px; padding-bottom: calc(var(--cta-h) + var(--cta-est-h) + 24px + env(safe-area-inset-bottom)); }
html:has(body.has-cta-est) { scroll-padding-bottom: calc(var(--cta-h) + var(--cta-est-h, 50px) + 16px + env(safe-area-inset-bottom)); }
.cta-est { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 2px; width: 100%; max-width: 720px; min-height: 44px; margin: 0 auto 6px; padding: 4px 6px; border: 2px solid var(--accent); border-radius: 10px; background: var(--accent-soft); color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.3; text-align: center; cursor: pointer; animation: cta-est-in .2s ease-out; }
.cta-est[hidden] { display: none; }
.cta-est:hover { filter: brightness(.98); }
.cta-est-label { font-weight: 800; white-space: nowrap; }
.cta-est-value { font-weight: 900; font-size: 16px; letter-spacing: -.01em; color: var(--accent); white-space: nowrap; }
.cta-est-prov { font-weight: 700; letter-spacing: -.04em; color: var(--warn-ink); white-space: nowrap; }
.cta-est-prov[hidden] { display: none; }
@keyframes cta-est-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cta-est { animation: none; } }

/* フッター */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 20px 0; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--card); }
details.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 800; list-style: none; }
details.faq summary::before { content: "Q. "; color: var(--green); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq div { padding: 0 14px 12px; }
details.faq div::before { content: "A. "; color: var(--accent); font-weight: 800; }

/* 実績 */
.empty { text-align: center; padding: 24px 12px; border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); font-weight: 700; }
.result-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--bg); border-radius: 8px; }
.result-card .price-tag { font-size: 1.3rem; font-weight: 900; color: var(--accent); }

/* フォーム */
.qform fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.qform legend { font-weight: 900; font-size: 1.15rem; margin-bottom: 8px; padding: 0; }
.qform label.f { display: block; font-weight: 800; margin: 14px 0 4px; }
.qform .req { background: var(--ng); color: #fff; border-radius: 4px; padding: 0 6px; font-size: .75rem; margin-left: 6px; vertical-align: 2px; }
.qform .opt { background: #e9e7e0; color: #3d3d38; border-radius: 4px; padding: 0 6px; font-size: .75rem; margin-left: 6px; vertical-align: 2px; }
.qform input[type=text], .qform input[type=tel], .qform input[type=email], .qform input[type=date], .qform input[type=password], .qform select, .qform textarea,
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%; min-height: 50px; padding: 10px 12px; font-size: 1.05rem; font-family: inherit; color: var(--ink); background: #fff; border: 2px solid #8f8a7d; border-radius: 10px;
}
.qform textarea { min-height: 110px; }
.qform .hint { font-size: .9rem; color: var(--muted); margin: 2px 0 0; }
.qform .err { color: var(--ng); font-weight: 800; font-size: .95rem; margin: 4px 0 0; }
.qform [aria-invalid="true"] { border-color: var(--ng) !important; background: var(--ng-bg) !important; }
.qrow { border-bottom: 1px dashed var(--line); padding: 12px 0; }
.qrow-head { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; }
.qrow-head img { width: 48px; height: 48px; }
.qrow-head b { display: block; line-height: 1.3; }
.qrow-head span { font-size: .85rem; color: var(--muted); }
.qrow-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.qrow-sub label { font-size: .85rem; font-weight: 800; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--green); background: #fff; color: var(--green); font-size: 1.4rem; font-weight: 900; cursor: pointer; line-height: 1; }
.stepper button:disabled { border-color: #b9b5aa; color: #8a867c; cursor: default; }
.stepper output { min-width: 1.8em; text-align: center; font-weight: 900; font-size: 1.2rem; }
.choices { display: grid; gap: 8px; grid-template-columns: 1fr; }
.choice { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice input { width: 22px; height: 22px; accent-color: var(--green); flex: none; }
.choice img { width: 44px; height: 44px; flex: none; }
.choice b { display: block; line-height: 1.3; }
.choice span { font-size: .85rem; color: var(--muted); }
.estimate { background: var(--accent-soft); border: 2px solid var(--accent); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.estimate .est-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.estimate .est-label { font-weight: 900; }
.estimate .est-value { font-size: 1.7rem; font-weight: 900; color: var(--accent); }
.estimate .est-note { flex-basis: 100%; font-size: .95rem; font-weight: 800; color: var(--ink); background: #fff; border-radius: 8px; padding: 6px 10px; }
.estimate .est-break { font-size: .95rem; margin: 8px 0 0; }
.estimate ul { margin: 6px 0 0; padding-left: 1.2em; font-size: .9rem; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.tabs [role=tab] { min-height: 56px; border: 2px solid var(--green); background: #fff; color: var(--green); font-weight: 900; font-size: 1rem; border-radius: 12px; cursor: pointer; font-family: inherit; line-height: 1.3; padding: 6px; }
.tabs [role=tab][aria-selected=true] { background: var(--green); color: #fff; }
.err-summary { background: var(--ng-bg); color: var(--ng); border-radius: 10px; padding: 10px 14px; font-weight: 800; }
.confirm dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 12px; }
.confirm dt { font-weight: 900; margin-top: 10px; }
.confirm dd { margin: 0; padding-bottom: 6px; border-bottom: 1px dashed var(--line); white-space: pre-wrap; }
.done { background: #e7f4ec; border: 2px solid var(--ok); border-radius: 14px; padding: 16px; color: var(--ok); font-weight: 800; }
.done .receipt { font-size: 1.6rem; display: block; color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.anchor { display: block; position: relative; top: -8px; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .site-header .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
  .gnav ul { padding: 0; }
  .section { padding: 26px 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-items { grid-template-columns: repeat(5, 1fr); }
  .related { grid-template-columns: repeat(3, 1fr); }
  .btn-row { grid-template-columns: repeat(3, 1fr); }
  .choices { grid-template-columns: 1fr 1fr; }
  .confirm dl { grid-template-columns: 12em 1fr; }
  .confirm dt { margin-top: 0; padding: 6px 0; border-bottom: 1px dashed var(--line); }
  .confirm dd { padding: 6px 0; }
  .qrow-sub { max-width: 520px; margin-left: 58px; }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* 仮の金額（prices.provisional）のあいだ、料金の近くに出す帯 */
.provisional-band { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; background: var(--warn-bg); color: var(--warn-ink); border: 2px dashed #b07a00; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-size: .95rem; }
.provisional-band b { display: inline-block; background: #7a5400; color: #fff; border-radius: 6px; padding: 1px 10px; font-weight: 900; white-space: nowrap; }
.provisional-band span { flex: 1 1 14em; }
.price-summary { list-style: none; padding: 0; margin: 0 0 4px; }
.price-summary li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-summary b { color: var(--accent); font-size: 1.15rem; }

/* ブログ（blog/。tools/build.mjs が content/posts から作る） */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-card a { font-size: 1.1rem; line-height: 1.5; }
.post-card p { margin: 4px 0 0; }
.post-meta { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.post-tags { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.post-tags li { background: var(--green-soft); color: var(--green-dark); border-radius: 999px; padding: 0 10px; font-size: .8rem; font-weight: 700; }
.post h1 { margin-top: 4px; }
.post .post-tags { margin: 0 0 14px; }
.post-cover { display: block; border-radius: 12px; margin: 0 0 16px; }
.post-body h2 { border-bottom: 3px solid var(--green-soft); padding-bottom: 6px; margin-top: 1.4em; }
.post-body h3 { margin-top: 1.2em; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1em; }
.post-body img { display: block; border-radius: 12px; margin: 8px 0; }
.post-body blockquote { margin: 0 0 1em; padding: 10px 14px; border-left: 5px solid var(--line); background: var(--bg); border-radius: 8px; }
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body hr { border: 0; border-top: 2px dashed var(--line); margin: 1.5em 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 18px; }
.pager span { color: var(--muted); }

/* 濃い緑の帯（hero）の中のタグは、白地に濃い緑の文字でくっきり見せる（2026-11-08 オーナー指示） */
.hero .areas li { background: #fff; color: var(--green, #1f5e46); border: 1px solid rgba(255,255,255,.6); font-size: 1rem; padding: 6px 14px; }
.hero .areas li a { color: inherit; text-decoration: none; }

/* 販売ページ */
.shop-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }
.shop-card { padding: 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shop-card h3 { font-size: 1rem; line-height: 1.4; margin: 4px 0 0; overflow-wrap: anywhere; }
.shop-card h3 a { color: var(--ink); text-decoration: none; }
.shop-card .price-tag, .shop-detail .price-tag { font-size: 1.15rem; font-weight: 900; color: var(--accent); margin: 0; }
.shop-card .price-tag small, .shop-detail .price-tag small { font-size: .75rem; font-weight: 700; color: var(--muted); }
.shop-card .muted { font-size: .85rem; margin: 0; }
.shop-img, .shop-photo { position: relative; display: block; }
.shop-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: var(--bg); }
.shop-photo img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 12px; background: var(--bg); }
.shop-band { position: absolute; left: 0; right: 0; top: 42%; text-align: center; background: rgba(29, 43, 36, .82); color: #fff; font-weight: 900; padding: 6px 0; letter-spacing: .2em; }
.shop-card.is-sold img, .shop-detail .shop-photo:has(.shop-band-sold) img { opacity: .45; }
.shop-detail { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .shop-detail { grid-template-columns: 1fr 1fr; } }
.shop-spec { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 10px 0; }
.shop-spec dt { color: var(--muted); font-weight: 700; }
.shop-spec dd { margin: 0; }
.order-total { font-size: 1.2rem; font-weight: 900; }
.order-total b { color: var(--accent); }
/* カート（js/cart.js・js/shop.js） */
.cart-btn { width: 100%; min-height: 44px; margin-top: auto; padding: 6px 8px; font-size: .95rem; }
.shop-detail .cart-btn { min-height: 52px; font-size: 1.05rem; }
.cart-btn[aria-pressed="true"] { background: var(--green); color: #fff; }
.cart-btn[aria-pressed="true"]::before { content: "✓"; }
body.has-cta-cart { --cta-cart-h: 50px; padding-bottom: calc(var(--cta-h) + var(--cta-cart-h) + 24px + env(safe-area-inset-bottom)); }
html:has(body.has-cta-cart) { scroll-padding-bottom: calc(var(--cta-h) + 50px + 16px + env(safe-area-inset-bottom)); }
.cta-cart { display: flex; align-items: center; justify-content: center; max-width: 720px; min-height: 44px; margin: 0 auto 6px; padding: 4px 8px; border: 2px solid var(--green); border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: 16px; text-decoration: none; }
.cta-cart[hidden] { display: none; }
.cta-cart:hover { color: var(--green-dark); filter: brightness(.98); }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cart-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.cart-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.cart-info a { color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.cart-price { color: var(--accent); font-weight: 900; }
.cart-price s { color: var(--muted); font-weight: 700; }
.cart-free { font-size: .85rem; color: var(--muted); }
.cart-remove { min-height: 44px; padding: 6px 12px; font-size: .95rem; }
.cart-pay { grid-column: 1 / -1; min-height: 44px; font-size: .95rem; }
.cart-sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 10px 0 0; padding: 8px 4px 0; border-top: 2px solid var(--green-soft); font-weight: 800; }
.cart-sum b { color: var(--accent); font-size: 1.15rem; }
.cart-h { font-weight: 900; margin: 12px 0 6px; }

/* お知らせ（data/site.json の notice） */
.site-notice { margin: 0 0 18px; }
/* ご紹介キャンペーン（data/site.json の referral_campaign）：トップ・遺品整理などのページの帯と、片付けページの細い帯 */
.campaign { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 18px 16px; margin: 0 0 18px; box-shadow: 0 3px 0 #7c2e08; }
.campaign p { margin: 0; }
.campaign a { color: #fff; font-weight: 800; }
.campaign-for { font-size: .9rem; font-weight: 800; background: rgba(0,0,0,.18); display: inline-block; padding: 2px 10px; border-radius: 10px; }
.campaign-title { font-size: 1.5rem; font-weight: 900; margin-top: 6px !important; letter-spacing: .04em; }
.campaign-reward { font-size: 1.15rem; font-weight: 800; margin-top: 4px !important; line-height: 1.5; }
.campaign-reward b { display: inline-block; font-size: 2.3rem; color: var(--warn-bg); margin: 0 4px; line-height: 1.2; }
.campaign-gift { display: block; font-size: 1.1rem; }
.campaign-cond { font-size: .95rem; margin-top: 8px !important; }
.campaign-tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.campaign-tags li { background: #fff; color: var(--accent); font-weight: 900; font-size: .85rem; border-radius: 999px; padding: 2px 12px; }
.campaign-more { font-size: .9rem; margin-top: 10px !important; }
.campaign-strip { background: var(--accent-soft); border: 2px solid var(--accent); border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; font-size: .95rem; }
.campaign-strip b { color: var(--accent); }
@media (min-width: 720px) { .campaign { padding: 22px 26px; } .campaign-gift { display: inline; margin-left: 4px; } }

/* 管理画面（/admin/）。モバイル優先・指で押しやすい大きさ */
.admin { padding-bottom: 40px; }
.admin-main { padding-top: 16px; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.btn.admin-small { min-height: 44px; padding: 6px 14px; font-size: .95rem; }
.admin-tabs { grid-template-columns: repeat(2, 1fr); }
.admin-dot { display: block; font-size: .75rem; color: var(--accent); }
.admin-tabs [aria-selected=true] .admin-dot { color: var(--warn-bg); }
.admin-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.admin-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.admin-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #eee; }
.admin-row-main { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.admin-row-main b { overflow-wrap: anywhere; }
.admin-chip { align-self: flex-start; font-size: .8rem; font-weight: 800; border-radius: 6px; padding: 0 8px; background: var(--green-soft); color: var(--green-dark); }
.admin-chip-reserved { background: var(--warn-bg); color: var(--warn-ink); }
.admin-chip-sold { background: #e3e1da; color: #3d3d38; }
.admin-photo img, .admin-nophoto { display: block; width: 160px; height: 160px; object-fit: cover; border-radius: 10px; background: #eee; margin-bottom: 8px; }
.admin-nophoto { display: flex; align-items: center; justify-content: center; text-align: center; font-size: .85rem; color: var(--muted); padding: 8px; }
.admin-group { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: #fff; }
.admin-group > summary { cursor: pointer; font-weight: 900; padding: 12px 14px; min-height: 48px; }
.admin-group[open] > summary { border-bottom: 1px solid var(--line); }
.admin-rows { padding: 4px 14px 12px; }
.admin-line { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.admin-line:last-child { border-bottom: 0; }
.admin-field { display: block; margin: 8px 0; }
.admin-field > span { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 2px; }
.admin-field input[readonly] { background: #f0eee8; }
.admin-field [aria-invalid="true"] { border-color: var(--ng) !important; background: var(--ng-bg) !important; }
.admin-save { padding: 12px 0 8px; margin-top: 8px; border-top: 2px solid var(--line); }
.admin-confirm { margin-bottom: 10px; }
.admin-changes { margin: 6px 0 0; padding-left: 1.2em; font-size: .95rem; max-height: 40vh; overflow: auto; }
.admin-done { margin-top: 12px; }
.admin-links a { margin-right: 12px; }
.admin-check { font-weight: 800; margin: 8px 0 0; }
.admin-check.is-wait { color: var(--warn-ink); }
.admin-danger { color: var(--ng); border-color: var(--ng); }
.admin-result-row { margin: 12px 0; }
.admin-result-img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
@media (min-width: 720px) { .admin-tabs { grid-template-columns: repeat(4, 1fr); } .admin-line { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; align-items: end; } .admin-line > b { grid-column: 1 / -1; } }
/* かんたん入力（/admin/quick/）。スマホ1画面・押す所は 48px 以上 */
.admin-bar { flex-wrap: wrap; }
.quick-bar-links { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.quick-link, .quick-bar-links .btn { white-space: nowrap; }
.quick-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }
.quick-switch { margin: 14px 0 0; }
.quick-switch a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }
.quick-tabs [role=tab] { min-height: 60px; font-size: 1.05rem; }
.quick-h { font-size: 1.3rem; border-bottom: 3px solid var(--green-soft); padding-bottom: 6px; }
.quick-h2 { font-size: 1.1rem; margin-top: 22px; }
.btn.quick-big { min-height: 60px; font-size: 1.15rem; }
.quick .btn.admin-small { min-height: 48px; }
.quick-photos { display: grid; gap: 10px; }
.quick-camera { width: 100%; min-height: 96px; font-size: 1.25rem; flex-direction: column; gap: 0; cursor: pointer; }
.quick-album { width: 100%; min-height: 48px; cursor: pointer; }
.quick-photo-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick-photo { position: relative; }
.quick-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #eee; }
.quick-photo-del { position: absolute; top: 4px; right: 4px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: rgba(29, 43, 36, .8); color: #fff; font-size: 1.4rem; font-weight: 900; line-height: 1; cursor: pointer; }
.quick-photo-status { margin: 0; font-weight: 800; color: var(--muted); }
.quick-photo-status:empty { display: none; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.quick-chip { min-height: 48px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--green); background: #fff; color: var(--green); font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.quick-chip:active { background: var(--green-soft); }
.quick-free { margin-top: 16px; min-height: 60px; }
.quick-save { margin-top: 18px; }
.quick-done { margin-bottom: 12px; }
.quick-done-name { color: var(--ink); margin: 4px 0; }
.quick-draft .btn-row { margin-top: 0; }
.quick-grid { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-tile { display: flex; flex-direction: column; width: 100%; min-height: 48px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; line-height: 1.35; }
.quick-tile:active, .quick-tile:focus-visible { border-color: var(--accent); }
.quick-tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #eee; margin-bottom: 6px; }
.quick-tile b { font-size: .95rem; overflow-wrap: anywhere; }
.quick-tile > span { font-size: .9rem; color: var(--muted); font-weight: 800; }
.quick-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 3px solid var(--accent); box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.quick-ask { font-weight: 900; font-size: 1.15rem; margin: 0 0 4px; }
.quick { padding-bottom: 220px; }
@media (min-width: 720px) { .quick-grid { grid-template-columns: repeat(4, 1fr); } }
