@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root {
  --ink: #0f1430;
  --ink-2: #1b2250;
  --bg: #f3f4f9;
  --surface: #ffffff;
  --text: #161a33;
  --muted: #646a85;
  --line: #e2e5f0;
  --accent: #ff4b2b;
  --accent-dark: #e23a1c;
  --accent-weak: #fff0ec;
  --blue: #3d5afe;
  --yellow: #ffd23f;
  --ok: #10a36f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,20,48,.06), 0 8px 24px rgba(15,20,48,.06);
  --display: "Dela Gothic One", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.75; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.mark { background: linear-gradient(transparent 60%, var(--yellow) 60%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,75,43,.35); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
#site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; height: 64px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo.light { color: #fff; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; padding: 5px; }
.gnav { display: flex; gap: 4px; margin-left: auto; }
.gnav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.gnav a:hover { color: var(--text); background: var(--bg); }
.gnav a.active { color: var(--accent); }
.cart-link { white-space: nowrap; flex: none; }
.cart-link b { background: #fff; color: var(--accent); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .cart-link { margin-left: auto; }
  .gnav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-open .gnav { display: flex; }
  .gnav a { padding: 12px; font-size: 15px; }
  .logo { font-size: 15px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(61,90,254,.45), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255,75,43,.30), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 72px 16px 80px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--yellow); margin: 0 0 12px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.25; margin: 0 0 20px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: 17px; opacity: .85; margin: 0 0 28px; max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-points > span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.hero-points > span::before { content: "✓"; color: var(--yellow); font-weight: 900; }

.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 20px; backdrop-filter: blur(6px); }
.hero-card h3 { margin: 0 0 12px; font-size: 14px; letter-spacing: .06em; opacity: .8; font-weight: 700; }
.ticker { list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.ticker li:last-child { border-bottom: 0; }
.ticker .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; padding: 7px; flex: none; }
.ticker .nm { flex: 1; font-size: 14px; line-height: 1.4; }
.ticker .nm small { display: block; opacity: .6; font-size: 11px; }
.ticker .price { color: var(--yellow); font-size: 18px; }
.ticker .price.tbd { color: #ffb6a6; font-size: 12px; }
.hero-card .btn { margin-top: 14px; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 48px 16px 56px; gap: 32px; }
}

/* ---------- page head (sub pages) ---------- */
.page-head { background: var(--ink); color: #fff; padding: 48px 0 44px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(61,90,254,.5), transparent 70%); }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; line-height: 1.3; position: relative; }
.page-head p { margin: 0; opacity: .75; position: relative; }
.crumb { font-size: 12px; opacity: .6; margin-bottom: 10px; position: relative; }
.crumb a { color: #fff; }

/* ---------- sections ---------- */
section { padding: 72px 0; scroll-margin-top: 64px; }
.sec-title { text-align: center; margin-bottom: 40px; }
.sec-title .en { display: block; font-family: var(--display); color: var(--accent); font-size: 13px; letter-spacing: .2em; margin-bottom: 6px; }
.sec-title h2 { font-size: clamp(22px, 3.4vw, 32px); margin: 0; font-weight: 900; line-height: 1.4; }
.sec-title p { color: var(--muted); margin: 10px 0 0; }
.alt { background: var(--surface); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reason { padding: 28px 22px; text-align: center; }
.reason .num { font-family: var(--display); color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.reason .ic { width: 64px; height: 64px; margin: 10px auto 14px; border-radius: 18px; background: var(--accent-weak); color: var(--accent); display: grid; place-items: center; font-size: 30px; }
.reason h3 { margin: 0 0 8px; font-size: 18px; }
.reason p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reasons { grid-template-columns: 1fr; } }

/* compare */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th { font-size: 14px; color: var(--muted); font-weight: 700; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 700; color: var(--text); }
.compare .us { background: var(--accent-weak); color: var(--accent); font-weight: 900; }
.compare th.us { color: var(--accent); border-radius: 12px 12px 0 0; }
.compare .no { color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 40px; color: var(--accent); line-height: 1; display: block; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- product grid ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; color: var(--text); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { margin-left: auto; position: relative; }
.search input { padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: 999px; min-width: 260px; font: inherit; font-size: 14px; background: var(--surface); }
.search::before { content: "⌕"; position: absolute; left: 14px; top: 50%; transform: translateY(-52%); color: var(--muted); font-size: 18px; }
@media (max-width: 720px) { .search { margin-left: 0; width: 100%; } .search input { width: 100%; min-width: 0; } }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pcard { padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.pcard.in-cart { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-weak), var(--shadow); }
.pcard-top { display: flex; gap: 12px; align-items: flex-start; }
.pcard .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--bg); color: var(--ink-2); padding: 9px; flex: none; }
.pcard .tag { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.pcard .nm { font-weight: 700; line-height: 1.45; font-size: 15px; }
.pcard .model { font-size: 12px; color: var(--muted); }
.pcard-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.price { font-weight: 900; font-size: 22px; color: var(--accent); letter-spacing: .01em; white-space: nowrap; }
.price small { font-size: 11px; margin-right: 3px; color: var(--muted); font-weight: 700; }
.price.tbd { font-size: 13px; color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.price-label { font-size: 11px; color: var(--muted); }
.qty { display: flex; align-items: center; gap: 2px; background: var(--bg); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface); cursor: pointer; font-size: 18px; line-height: 1; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.qty button:hover { color: var(--accent); }
.qty output { width: 26px; text-align: center; font-weight: 900; }
.empty { padding: 40px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.updated { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.updated b { color: var(--text); }

/* notice */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fffbea; border: 1px solid #f5e3a0; font-size: 14px; }
.notice .i { font-size: 20px; line-height: 1.4; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }
.notice.blue { background: #eef1ff; border-color: #d4dbff; }

/* sticky cart bar */
.cart-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  box-shadow: 0 12px 32px rgba(15,20,48,.35); transform: translateY(140%); transition: transform .25s; }
.cart-bar.show { transform: none; }
.cart-bar .cb-info { flex: 1; font-size: 14px; line-height: 1.3; }
.cart-bar .cb-info b { font-size: 18px; color: var(--yellow); }

/* ---------- content pages ---------- */
.content { max-width: 820px; margin: 0 auto; }
.content h2 { font-size: 22px; margin: 48px 0 16px; padding-left: 14px; border-left: 5px solid var(--accent); line-height: 1.4; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 17px; margin: 28px 0 8px; }
.content p, .content li { font-size: 15px; }
.okng { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.okng .card { padding: 22px; }
.okng h3 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.okng .ok h3 { color: var(--ok); }
.okng .ng h3 { color: var(--accent); }
.okng ul { margin: 0; padding-left: 20px; }
.okng li { margin: 4px 0; }
@media (max-width: 640px) { .okng { grid-template-columns: 1fr; } }
.dl { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.dl dt, .dl dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.dl dt { background: var(--bg); font-weight: 700; font-size: 14px; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; } .dl dt { border-bottom: 0; padding-bottom: 4px; } }
.flow-v { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow-v li { position: relative; padding: 0 0 28px 64px; }
.flow-v li::before { counter-increment: f; content: counter(f); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); display: grid; place-items: center; font-size: 18px; }
.flow-v li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.flow-v li:last-child::after { display: none; }
.flow-v h3 { margin: 8px 0 6px; font-size: 18px; }
.flow-v p { margin: 0; color: var(--muted); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 32px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; color: var(--accent); font-family: var(--display); }
.faq summary::after { content: "+"; position: absolute; right: 0; font-size: 22px; line-height: 1; top: 18px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; padding-left: 32px; color: var(--muted); font-size: 15px; }
.faq-group { font-size: 15px; color: var(--muted); font-weight: 700; margin: 24px 0 4px; }

/* ---------- form ---------- */
.apply-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } .quote { order: -1; position: static; } }
@media (max-width: 400px) { .logo { font-size: 14px; } .logo-mark { width: 30px; height: 30px; } }
.form { padding: 28px; }
.form h2 { font-size: 18px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.form h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.field { margin-bottom: 16px; }
.field > label, .field > .lbl { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.req, .opt { font-size: 11px; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-weight: 700; vertical-align: 1px; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--bg); color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; background: #fbfcff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; background: #fff; }
.field textarea { min-height: 100px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400 !important; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-weak); }
.choice input { margin-top: 5px; accent-color: var(--accent); }
.choice b { display: block; }
.choice small { color: var(--muted); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { margin-top: 5px; accent-color: var(--accent); }
.error { color: var(--accent); font-size: 14px; margin-top: 10px; font-weight: 700; }

.quote { padding: 24px; position: sticky; top: 84px; }
@media (max-width: 900px) { .quote { position: static; } }
.quote h2 { font-size: 17px; margin: 0 0 14px; }
.qlist { list-style: none; padding: 0; margin: 0 0 14px; }
.qlist li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.qlist .ico { width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: var(--bg); flex: none; }
.qlist .nm { flex: 1; line-height: 1.4; }
.qlist .sub { font-weight: 700; white-space: nowrap; }
.qlist .sub.tbd { font-size: 12px; color: var(--muted); }
.qlist .rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.qlist li.qunit { display: block; }
.qrow { display: flex; gap: 10px; align-items: center; }
.qopts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0 46px; }
.qopt { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 3px 10px 3px 6px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: #fff; }
.qopt input { accent-color: var(--ok); margin: 0; }
.qopt:has(input:not(:checked)) { background: var(--accent-weak); border-color: #ffc7bb; color: var(--accent-dark); text-decoration: line-through; }
.deduct { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.deduct li { display: flex; justify-content: space-between; gap: 8px; padding: 1px 0; }
.deduct b { color: var(--text); font-weight: 700; white-space: nowrap; }
.deduct li.ng, .deduct li.ng b { color: var(--accent); }
.okng.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .okng.three { grid-template-columns: 1fr; } }
.okng .mid h3 { color: #c77700; }
.ship-meter { font-size: 13px; margin: 6px 0; padding: 8px 12px; border-radius: 10px; background: #fffbea; border: 1px solid #f5e3a0; }
.ship-meter:empty { display: none; }
.ship-meter.ok { background: #e9f8f1; border-color: #b6e6cf; color: var(--ok); }
.qtotal { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; }
.qtotal strong { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--accent); }

/* ---------- footer ---------- */
#site-footer { background: var(--ink); color: #c9cde0; margin-top: 0; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 56px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { font-family: var(--display); font-weight: 400; color: #fff; font-size: clamp(22px, 3.4vw, 32px); margin: 0; line-height: 1.35; }
.footer-cta .eyebrow { margin-bottom: 6px; }
.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 36px 16px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 28px; }
.footer-links a { color: #c9cde0; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.small-light { font-size: 12px; opacity: .7; margin: 10px 0 0; }
.copyright { padding: 0 16px 32px; font-size: 12px; opacity: .5; }
@media (max-width: 560px) { .footer-links { grid-template-columns: 1fr 1fr; } }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(15,20,48,.55); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 60; }
.modal.open { display: flex; }
.modal .card { max-width: 460px; width: 100%; padding: 32px; text-align: center; }
.modal .big { font-size: 48px; }
.modal h3 { margin: 4px 0 8px; font-size: 20px; }
.deduct li.ok, .deduct li.ok b { color: var(--ok); }
.deduct li.plus b { color: var(--blue); }
.qopt.plus { border-style: dashed; }
.qopt.plus:has(input:checked) { background: #eef1ff; border-color: #c9d2ff; color: var(--blue); text-decoration: none; }
.qopt.plus:has(input:not(:checked)) { background: #fff; border-color: var(--line); color: var(--text); text-decoration: none; }
.qlist .sub.ng { color: var(--accent); font-size: 12px; }
.qlist li.is-ng { background: var(--accent-weak); border-radius: 10px; padding-left: 8px; padding-right: 8px; }

/* 機種別の買取条件表 */
.rules { overflow-x: auto; }
.rules table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.rules th, .rules td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.rules thead th { font-size: 12px; color: var(--muted); background: var(--bg); white-space: nowrap; }
.rules tbody th { font-weight: 700; min-width: 170px; }
.rules tbody th .tag { display: block; font-size: 11px; color: var(--blue); margin-bottom: 2px; }
.rules tbody tr:last-child th, .rules tbody tr:last-child td { border-bottom: 0; }
.rules .mk { display: inline-block; width: 1.4em; font-weight: 900; }
.rules .m-ok .mk { color: var(--ok); }
.rules .m-mid .mk { color: #c77700; }
.rules .m-ng .mk, .rules .m-ng { color: var(--accent); }
.rules small { color: var(--muted); font-size: 11px; }
@media (max-width: 640px) {
  .rules table, .rules tbody, .rules tr, .rules th, .rules td { display: block; min-width: 0; }
  .rules table { min-width: 0; }
  .rules thead { display: none; }
  .rules tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .rules tbody tr:last-child { border-bottom: 0; }
  .rules tbody th { padding: 0 0 8px; border: 0; }
  .rules td { padding: 6px 0; border: 0; display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
  .rules td::before { content: attr(data-label); font-size: 12px; color: var(--muted); font-weight: 700; }
  .rules td .cv { grid-column: 2; }
  .rules .mk { display: none; }
}
.rules tbody th { min-width: 240px; }
.rm-list { list-style: none; margin: 0; padding: 0; }
.rm-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.rm-list li:last-child { border-bottom: 0; }
.rm-nm { font-weight: 700; }
.rm-pr { font-weight: 900; color: var(--accent); white-space: nowrap; text-align: right; }
.rm-pr small { color: var(--muted); font-weight: 700; font-size: 10px; margin-right: 4px; }
.rm-pr .tbd { color: var(--muted); font-size: 11px; font-weight: 700; }
.qseg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.qopt.seg input { accent-color: var(--blue); }
.qopt.seg:has(input:not(:checked)) { background: #fff; border-color: var(--line); color: var(--muted); text-decoration: none; }
.qopt.seg:has(input:checked) { background: #eef1ff; border-color: #c9d2ff; color: var(--blue); text-decoration: none; font-weight: 700; }
.prep-bar { background: var(--yellow); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 8px 16px; }
