/* Force all body text to true black (override any lingering grey) */
.sp-frame, .sp-frame p, .sp-frame li, .sp-frame span, .sp-frame div, .sp-frame small, .sp-frame b, .sp-frame strong, .sp-frame td, .sp-frame th {
  color: inherit;
}
.sp-frame {
  color: #000;
}
/* Re-assert white-on-color text where backgrounds are dark/red */
.sp-frame .compare-banner,
.sp-frame .compare-banner *,
.sp-frame .review__header,
.sp-frame .review__header *,
.sp-frame .final-cta,
.sp-frame .final-cta *,
.sp-frame .site-footer,
.sp-frame .site-footer *,
.sp-frame .btn--cta,
.sp-frame .review__cta,
.sp-frame .point-detail__num,
.sp-frame .point-detail__num *,
.sp-frame .faq__q-icon,
.sp-frame .step__num,
.sp-frame .sticky-cta .btn--cta {
  color: #fff;
}
.sp-frame .final-cta__title em { color: #ffe27a; }
.sp-frame .final-cta .btn--cta { color: #2a1a00; }
.sp-frame .cmp-feature-label,
.sp-frame .cmp-mark-label {
  color: #fff !important;
}
.sp-frame .cmp-name {
  color: #2ea7d8 !important;
}
.sp-frame #faq .section-head__title em {
  background: none;
  padding: 0;
}
.sp-frame .review-flag,
.sp-frame .review-flag * { color: var(--c-cta); }

/* ===== Tokens ===== */
:root {
  --c-bg: #f4f5f8;
  --c-surface: #ffffff;
  --c-ink: #000000;
  --c-ink-2: #000000;
  --c-muted: #000000;
  --c-line: #e6e8ec;

  --c-brand: #FF3F40;
  --c-brand-2: #d92223;
  --c-accent: #d4a341;
  --c-cta: #FF3F40;
  --c-cta-2: #d92223;
  --c-rank-1: #d4a341;
  --c-rank-2: #a8b2c1;
  --c-rank-3: #b97a3a;
  --c-positive: #22a06b;
  --c-good: #FF3F40;
  --c-bad: #b8c2cc;

  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06);
  --shadow-md: 0 6px 16px rgba(14, 26, 43, 0.08);

  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --sp: 420px;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-num: "Manrope", "Noto Sans JP", sans-serif;
}

/* ===== SP-only frame ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: #2a2d33;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.sp-frame {
  max-width: var(--sp);
  margin: 0 auto;
  background: var(--c-bg);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ===== Header (SP) ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 30;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.brand__mark {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 12px;
}
.brand__name { font-size: 14px; line-height: 1.2; }
.brand__tag { font-size: 10px; color: var(--c-muted); font-weight: 500; }
.menu-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--c-ink);
}
.menu-btn svg { width: 16px; height: 16px; }

/* ===== KV (SP — visual only, no text/CTA) ===== */
.kv {
  position: relative;
  background: #fff;
  overflow: hidden;
  display: block;
}
.kv__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Logo strip (吹き流し) ===== */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  padding: 8px 0;
  overflow: hidden;
}
.trust__label {
  text-align: center;
  font-size: 10px;
  color: var(--c-muted);
  letter-spacing: 0.2em;
  margin: 0 0 8px;
  font-weight: 700;
}
.trust__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.trust__track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trust__track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: marquee 24s linear infinite;
  padding: 0 8px;
}
.trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 120px;
  width: 120px;
  height: 48px;
  padding: 6px 10px;
  background: #fff;
  border: none;
  border-radius: 0;
  font-weight: 700;
  font-size: 11px;
  color: var(--c-ink-2);
  white-space: nowrap;
  overflow: hidden;
}
.trust__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 8px)); }
}

/* ===== Section ===== */
.section { padding: 28px 14px; }
.section--alt { background: #fff; }
.section-head { margin-bottom: 16px; }
.section-head__eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--c-cta);
  font-family: var(--font-num);
}
.section-head__title {
  margin: 4px 0 0;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.section-head__title em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(255,63,64,0.2) 60%);
  padding: 0 0.1em;
}

/* ===== Ranking podium (top 3) ===== */
.podium {
  display: grid;
  gap: 14px;
}
.podium-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
}
.podium-card[data-rank="1"] {
  border: 2px solid var(--c-rank-1);
  box-shadow: 0 14px 32px rgba(212,163,65,0.22);
}
.podium-card__crown {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  padding: 6px 16px 8px 12px;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #fff;
  border-radius: 0 0 14px 0;
  display: flex; align-items: center; gap: 6px;
}
.podium-card[data-rank="1"] .podium-card__crown {
  background: linear-gradient(135deg, #f0c75a, var(--c-rank-1));
  color: #4a2f00;
}
.podium-card[data-rank="2"] .podium-card__crown {
  background: linear-gradient(135deg, #c8d2dd, var(--c-rank-2));
  color: #1a2533;
}
.podium-card[data-rank="3"] .podium-card__crown {
  background: linear-gradient(135deg, #d09668, var(--c-rank-3));
}
.podium-card__crown-num {
  font-size: 18px;
  line-height: 1;
}
.podium-card__head {
  padding: 32px 16px 12px;
  text-align: center;
  background: #fafbff;
  border-bottom: 1px solid var(--c-line);
}
.podium-card__name {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}
.podium-card__catch {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--c-muted);
}
.podium-card__hero {
  height: 120px;
  margin: 12px 16px 0;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, #eef2fa 0%, #d8e0ee 100%),
    repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 14px);
  display: grid; place-items: center;
  color: var(--c-muted);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  position: relative;
}
.podium-card__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(13,42,92,0.05) 0 2px, transparent 2px 14px);
  border-radius: inherit;
}
.podium-card__rating-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 0;
}
.rating-big {
  display: flex; align-items: baseline; gap: 6px;
}
.rating-big__num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 28px;
  color: var(--c-cta);
  line-height: 1;
}
.rating-big__max {
  font-size: 12px;
  color: var(--c-muted);
}
.rating-big__stars {
  letter-spacing: 2px;
  color: var(--c-accent);
  font-size: 14px;
}
.rating-big__count {
  font-size: 11px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 2px;
}

.podium-card__body { padding: 14px 16px 16px; }
.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.kpi {
  background: #fafbff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}
.kpi__label {
  font-size: 10px;
  color: var(--c-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.kpi__value {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 14px;
  color: var(--c-ink);
  margin-top: 2px;
}
.kpi__value small {
  font-size: 10px;
  font-weight: 600;
  color: var(--c-muted);
  font-family: var(--font-sans);
  margin-left: 1px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #eef3ff;
  color: var(--c-brand-2);
}

.points {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.points li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.55;
  border-bottom: 1px dashed var(--c-line);
  align-items: flex-start;
}
.points li:last-child { border-bottom: none; }
.points li::before {
  content: "✓";
  color: #fff;
  background: var(--c-positive, #22a06b);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 3px;
}

.podium-cta {
  display: grid;
  gap: 8px;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.btn--cta {
  background: linear-gradient(180deg, var(--c-cta) 0%, var(--c-cta-2) 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255,63,64,0.35), inset 0 -2px 0 rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.btn--cta::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
.btn--ghost {
  background: #fff;
  color: var(--c-brand);
  border: 1.5px solid var(--c-brand);
  font-size: 13px;
  padding: 10px 16px;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  gap: 10px;
}
.step {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 14px;
  align-items: flex-start;
}
.step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 900;
  font-family: var(--font-num);
  font-size: 14px;
  flex-shrink: 0;
}
.step__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
}
.step__text {
  margin: 0;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ===== Tips ===== */
.tips { display: grid; gap: 10px; }
.tip {
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-md);
  padding: 14px;
}
.tip__num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 10px;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.tip__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}
.tip__text {
  margin: 0;
  font-size: 12px;
  color: var(--c-ink-2);
  line-height: 1.6;
}

/* ===== Voice ===== */
.voices { display: grid; gap: 10px; }
.voice {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 14px;
}
.voice__head {
  display: flex; gap: 10px; align-items: center; margin-bottom: 8px;
}
.voice__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-line);
  color: var(--c-ink-2);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.voice__meta { flex: 1; min-width: 0; }
.voice__name { font-weight: 800; font-size: 12px; line-height: 1.3; }
.voice__sub { font-size: 10px; color: var(--c-muted); }
.voice__rating { font-family: var(--font-num); color: var(--c-accent); font-size: 12px; font-weight: 800; }
.voice__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-cta);
  line-height: 1.5;
}
.voice__text {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--c-ink-2);
}
.voice__numbers {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  background: #fafbff;
  padding: 6px 10px;
  border-radius: 8px;
}
.voice__numbers b {
  font-family: var(--font-num);
  color: var(--c-cta);
  font-weight: 900;
  font-size: 14px;
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 6px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--c-ink);
  line-height: 1.5;
}
.faq__q-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-brand);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 11px;
  flex-shrink: 0;
}
.faq__q-text { flex: 1; }
.faq__chevron {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--c-muted);
}
.faq__item[data-open="true"] .faq__chevron { transform: rotate(180deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-content {
  padding: 0 14px 12px 44px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--c-ink-2);
  display: flex;
  gap: 6px;
}
.faq__a-content b {
  font-family: var(--font-num);
  color: var(--c-cta);
  flex-shrink: 0;
}

.final-cta .btn--cta {
  background: linear-gradient(180deg, #ffd84d 0%, #f5b800 100%);
  color: #2a1a00;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25), inset 0 -2px 0 rgba(0,0,0,0.12);
}

/* ===== Final CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
  color: #fff;
  text-align: center;
  padding: 36px 16px;
}
.final-cta__title {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 8px;
  line-height: 1.4;
}
.final-cta__title em {
  font-style: normal;
  color: #ffe27a;
  background: none;
  padding: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
  text-decoration: underline;
  text-decoration-color: #ffe27a;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.final-cta__sub {
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 18px;
}

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line);
  padding: 8px 12px;
  z-index: 40;
  box-shadow: 0 -6px 16px rgba(14,26,43,0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-width: var(--sp);
  margin: 0 auto;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticky-cta__text { flex: 1; min-width: 0; }
.sticky-cta__title { font-weight: 900; font-size: 12px; line-height: 1.3; }
.sticky-cta__sub { font-size: 10px; color: var(--c-muted); }
.sticky-cta .btn--cta {
  padding: 10px 14px;
  font-size: 13px;
  width: auto;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: #0a1626;
  color: rgba(255,255,255,0.7);
  padding: 28px 16px 96px;
  text-align: center;
  font-size: 11px;
}
.site-footer__brand { color: #fff; font-weight: 800; margin-bottom: 6px; }
.site-footer__links {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin: 12px 0;
}
.site-footer__links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 11px; }
.site-footer__copy { font-size: 10px; opacity: 0.6; margin-top: 10px; }

section[id] { scroll-margin-top: 60px; }

/* ===== 比較表型ランキング ===== */
.compare-banner {
  background: var(--c-brand);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  padding: 14px 16px;
  line-height: 1.45;
  border: 2px solid var(--c-brand);
  border-radius: 0;
  margin: 0 14px;
}
.compare-section {
  padding: 20px 12px 8px;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 6px;
  background: #fff;
  grid-auto-rows: auto;
}
.cmp-col {
  display: contents;
}
.cmp-col[data-rank="1"] > * { grid-column: 1; }
.cmp-col[data-rank="2"] > * { grid-column: 2; }
.cmp-col[data-rank="3"] > * { grid-column: 3; }
/* Force each cell into its row by ordering: header=row1, stars=row2, feature=row3, partners=row4, nego=row5, phone=row6, accident=row7, area=row8, fee=row9, price=row10, cta=row11 */
.cmp-col > *:nth-child(1) { grid-row: 1; }
.cmp-col > *:nth-child(2) { grid-row: 2; }
.cmp-col > *:nth-child(3) { grid-row: 3; }
.cmp-col > *:nth-child(4) { grid-row: 4; }
.cmp-col > *:nth-child(5) { grid-row: 5; }
.cmp-col > *:nth-child(6) { grid-row: 6; }
.cmp-col > *:nth-child(7) { grid-row: 7; }
.cmp-col > *:nth-child(8) { grid-row: 8; }
.cmp-col > *:nth-child(9) { grid-row: 9; }
.cmp-col > *:nth-child(10) { grid-row: 10; }
.cmp-col > *:nth-child(11) { grid-row: 11; }
.cmp-cell {
  background: #fff;
  border: 1px solid var(--c-line);
  text-align: center;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-size: 11px;
  line-height: 1.45;
  min-height: 48px;
}
.cmp-cell + .cmp-cell { border-top: none; }
.cmp-cell--header {
  padding: 12px 6px 8px;
  min-height: 110px;
  justify-content: flex-end;
  position: relative;
}
.cmp-crown {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 22px;
  color: var(--c-ink);
  position: relative;
  margin-bottom: 4px;
}
.cmp-crown::before {
  content: "";
  display: block;
  width: 36px; height: 24px;
  margin: 0 auto 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'><path d='M2 14h20v2H2zM2 12L0 2l6 4 6-7 6 7 6-4-2 10z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'><path d='M2 14h20v2H2zM2 12L0 2l6 4 6-7 6 7 6-4-2 10z'/></svg>") center/contain no-repeat;
}
.cmp-col[data-rank="1"] .cmp-crown { color: #d8a93a; }
.cmp-col[data-rank="2"] .cmp-crown { color: #98a2b1; }
.cmp-col[data-rank="3"] .cmp-crown { color: #c08054; }

/* ===== 買取方式の比較 ===== */
.bm-compare {
  background: #fff;
  padding: 24px 12px 32px;
}
.bm-compare__banner {
  background: #E53536;
  color: #fff !important;
  text-align: center;
  font-weight: 900;
  font-size: 18px;
  padding: 14px 12px;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.bm-compare__banner-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.9;
}
.bm-compare__grid {
  display: grid;
  grid-template-columns: 56px 1fr 1fr 1fr;
  border: 1px solid #d6dae0;
  background: #fff;
  gap: 2px;
}
.bm-compare__cell {
  border: none;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  background: #fff;
}
.bm-compare__cell:nth-child(4n) { border-right: none; }
.bm-compare__col-h {
  background: #E53536;
  color: #fff !important;
  font-weight: 800;
  font-size: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid #E53536;
}
.bm-compare__col-h--mota {
  background: #fff5f5;
  color: #E53536 !important;
  font-size: 20px;
  font-weight: 900;
}
.bm-compare__col-h--mota span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #b8253a !important;
  margin-top: 2px;
}
.bm-compare__row-h {
  background: #E53536;
  color: #fff !important;
  font-weight: 800;
  font-size: 11px;
  padding: 8px 2px;
}
.bm-compare__data--mota {
  background: #fff5f5;
}
.bm-mark {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.bm-mark[data-mark="double"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='none' stroke='%23ff3f40' stroke-width='3'/><circle cx='12' cy='12' r='5.5' fill='none' stroke='%23ff3f40' stroke-width='2.5'/></svg>");
}
.bm-mark[data-mark="circle"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9' fill='none' stroke='%23e8b53a' stroke-width='3'/></svg>");
}
.bm-mark[data-mark="triangle"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 3 L22 21 L2 21 Z' fill='none' stroke='%2398a2b1' stroke-width='2.5' stroke-linejoin='round'/></svg>");
}
.bm-title {
  font-weight: 800;
  font-size: 11px;
  line-height: 1.25;
}
.bm-sub {
  font-size: 10px;
  color: #555 !important;
  margin-top: 2px;
  line-height: 1.3;
}
.bm-desc {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.75;
}
.bm-desc__title {
  font-weight: 900;
  font-size: 14px;
  margin: 14px 0 6px;
  padding-left: 10px;
  border-left: 4px solid #ff3f40;
}
.bm-desc p {
  margin: 0 0 10px;
}
.bm-conclusion {
  margin-top: 18px;
  padding: 14px 14px 14px 16px;
  background: #fff5f5;
  border: 1px solid #ff3f40;
  border-radius: 6px;
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}
.bm-conclusion__label {
  display: inline-block;
  background: #ff3f40;
  color: #fff !important;
  font-weight: 900;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.bm-conclusion p {
  margin: 0;
}
.bm-conclusion em {
  font-style: normal;
  color: #ff3f40 !important;
  font-weight: 900;
}
.bm-cta {
  display: block;
  margin-top: 18px;
  background: linear-gradient(180deg, #44b86b 0%, #2f9b54 100%);
  color: #fff !important;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15), 0 6px 12px rgba(47,155,84,0.3);
}
.bm-cta__arrow { margin-left: 6px; }

/* Row-based variant: shared section labels spanning all 3 columns */
.compare-grid--rows {
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 0;
  row-gap: 0;
}
.compare-grid--rows .cmp-cell,
.compare-grid--rows .cmp-stars-row,
.compare-grid--rows .cmp-cta {
  border-radius: 0;
}
.compare-grid--rows .cmp-row-label {
  grid-column: 1 / -1;
  background: #2a6ad4;
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  padding: 7px 8px;
  border-radius: 0;
  letter-spacing: 0.04em;
  margin: 0;
}
.compare-grid--rows .cmp-cell--header[data-rank="1"] .cmp-crown { color: #d8a93a; }
.compare-grid--rows .cmp-cell--header[data-rank="2"] .cmp-crown { color: #98a2b1; }
.compare-grid--rows .cmp-cell--header[data-rank="3"] .cmp-crown { color: #c08054; }
.compare-grid--rows .cmp-axis-label,
.compare-grid--rows .cmp-mark-label { display: none !important; }

.cmp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 72px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  display: grid; place-items: center;
  margin: 6px 0 4px;
  padding: 2px 4px;
}
.cmp-logo img {
  max-height: 68px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.cmp-name {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #2ea7d8;
  text-decoration: underline;
  text-underline-offset: 2px;
  letter-spacing: 0.01em;
}
.cmp-stars-row {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px;
  border: 1px solid var(--c-line);
  border-top: none;
}
.cmp-stars {
  color: #f6ff00;
  font-size: 18px;
  letter-spacing: 1px;
  -webkit-text-stroke: 0.4px #c9a900;
}
  letter-spacing: 1px;
  -webkit-text-stroke: 0.4px #c9a900;
}
.cmp-stars__num {
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 13px;
  color: var(--c-ink);
}

.cmp-feature-label {
  display: inline-block;
  background: var(--c-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.cmp-feature-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--c-cta);
  margin-bottom: 6px;
  line-height: 1.3;
}
.cmp-feature-list {
  font-size: 11px;
  color: var(--c-ink-2);
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  width: 100%;
}
.cmp-feature-list .hl {
  background: #fff3a5;
  font-weight: 700;
}
.cmp-feature-list .red {
  color: var(--c-cta);
  font-weight: 700;
}

.cmp-mark-label {
  display: inline-block;
  background: #2a6ad4;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.cmp-mark {
  width: 38px; height: 38px;
  margin: 4px auto 6px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 900;
}
.cmp-mark[data-mark="o"] {
  background:
    radial-gradient(circle,
      transparent 22%,
      var(--c-cta) 22%, var(--c-cta) 40%,
      transparent 40%, transparent 58%,
      var(--c-cta) 58%, var(--c-cta) 86%,
      transparent 86%);
  border: none;
  color: var(--c-cta);
}
.cmp-mark[data-mark="o"]::after { content: ""; }
.cmp-mark[data-mark="circle"] {
  border: 3px solid var(--c-good);
  background: transparent;
}
.cmp-mark[data-mark="triangle"] {
  border: none;
  background: transparent;
  color: #6c98c7;
}
.cmp-mark[data-mark="triangle"] {
  width: 38px; height: 38px;
  display: block;
  background: none;
  border: none;
  font-size: 0;
}
.cmp-mark[data-mark="triangle"]::before {
  content: "";
  display: block;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'><path d='M19 6 L34 32 L4 32 Z' fill='none' stroke='%236c98c7' stroke-width='3.4' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.cmp-mark-text {
  font-size: 11px;
  font-weight: 700;
  color: #000;
  line-height: 1.45;
}
.cmp-mark-sub {
  font-size: 9.5px;
  color: #000;
  white-space: pre-line;
  margin-top: 2px;
  line-height: 1.4;
}

.cmp-cta {
  margin-top: auto;
  padding: 10px 4px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-top: none;
}
.cmp-cta-btn {
  display: block;
  background: linear-gradient(180deg, #44b86b 0%, #2f9b54 100%);
  color: #fff;
  border-radius: 6px;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  box-shadow: 0 2px 0 #207040, 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== Review card (parlor-style, ref-image based) ===== */
.review {
  background: #fff;
  border: 2px solid var(--c-brand);
  border-radius: 14px;
  margin: 0 14px 24px;
  overflow: hidden;
}
.review__header {
  background: var(--c-brand);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}
/* ===== Review section heading flag ===== */
.review-flag {
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  color: var(--c-cta);
  margin: 8px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.review-flag::before, .review-flag::after {
  content: "";
  display: inline-block;
  width: 24px; height: 28px;
  background: linear-gradient(transparent calc(50% - 1.5px), var(--c-cta) calc(50% - 1.5px), var(--c-cta) calc(50% + 1.5px), transparent calc(50% + 1.5px));
}
.review-flag::before { transform: skewX(28deg); }
.review-flag::after { transform: skewX(-28deg); }

/* ===== Ribbon medal badge ===== */
.review__rank-medal {
  width: 38px; height: 38px;
  position: relative;
  flex-shrink: 0;
  background: none !important;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 15px;
  color: #fff !important;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}
.review__rank-medal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><polygon points='20,2 23.5,5.5 28.4,4.5 30.4,9 35,11 34,16 37.5,20 34,24 35,29 30.4,31 28.4,35.5 23.5,34.5 20,38 16.5,34.5 11.6,35.5 9.6,31 5,29 6,24 2.5,20 6,16 5,11 9.6,9 11.6,4.5 16.5,5.5'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><polygon points='20,2 23.5,5.5 28.4,4.5 30.4,9 35,11 34,16 37.5,20 34,24 35,29 30.4,31 28.4,35.5 23.5,34.5 20,38 16.5,34.5 11.6,35.5 9.6,31 5,29 6,24 2.5,20 6,16 5,11 9.6,9 11.6,4.5 16.5,5.5'/></svg>") center/contain no-repeat;
  z-index: -1;
}
.review__rank-medal[data-rank="1"] { color: #d4a341; }
.review__rank-medal[data-rank="1"]::before { background: linear-gradient(135deg, #f6d055, #d4a341); }
.review__rank-medal[data-rank="2"] { color: #8a96a8; }
.review__rank-medal[data-rank="2"]::before { background: linear-gradient(135deg, #d8dee7, #8a96a8); }
.review__rank-medal[data-rank="3"] { color: #b97a3a; }
.review__rank-medal[data-rank="3"]::before { background: linear-gradient(135deg, #d99d6e, #b97a3a); }
.review__rank-medal > span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* CTA flag fix */
.review__cta-flag::before { transform: skewX(20deg); }
.review__cta-flag::after { transform: skewX(-20deg); }
.review__hero {
  margin: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e4a8c 0%, #0d2a5c 100%);
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
}
.review__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px);
}
.review__hero:has(.review__hero-img)::before { display: none; }
#review-mota .review__hero {
  aspect-ratio: 1665 / 789;
  background: #ff3f40;
}
.review__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.review__hero-label {
  color: rgba(255,255,255,0.6);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
}
.review__hero-label b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}

.review__points-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 16px 12px;
  font-size: 14px;
  font-weight: 800;
}
.review__points-label::before, .review__points-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}
.review__points-label svg {
  width: 18px; height: 18px;
  color: var(--c-accent);
}

.review__points {
  list-style: none;
  margin: 0 16px 14px;
  padding: 0;
}
.review__points li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c-line);
  font-size: 13px;
  line-height: 1.55;
}
.review__points li:last-child { border-bottom: none; }
.review__points li::before {
  content: "❯";
  color: var(--c-cta);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,63,64,0.12);
  display: grid; place-items: center;
  margin-top: 1px;
}
.review__points .hl {
  color: var(--c-cta);
  font-weight: 800;
}

.review__spec {
  margin: 0 16px 14px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.review__spec-cell {
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 6px;
}
  text-align: center;
  padding: 8px 4px;
}
.review__spec-cell:nth-child(3n) { border-right: none; }
.review__spec-cell:nth-last-child(-n+3) { border-bottom: none; }
.review__spec-head {
  background: #e8eef9;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 4px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink-2);
  text-align: center;
}
.review__spec-head:nth-child(3n) { border-right: none; }
.review__spec-cell .o,
.review__spec-cell .mk {
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  margin: 0;
}
.review__spec-cell .mk-double { color: var(--c-cta); }
.review__spec-cell .mk-circle { color: #ff8a00; }
.review__spec-cell .mk-triangle { color: #6e7889; }
.review__spec-cell .mk-cross { color: #b8c2cc; }
.review__spec-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: pre-line;
}

.review__cta-wrap {
  margin: 14px 16px 16px;
}
.review__cta-flag {
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #FF3F40 !important;
  margin-bottom: 8px;
  position: relative;
}
.review__cta-flag::before, .review__cta-flag::after {
  display: none;
}
.review__cta {
  display: block;
  background: linear-gradient(180deg, #2bb673 0%, #1f8a5b 100%);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15), 0 6px 12px rgba(43,182,115,0.3);
  position: relative;
}
.review__cta::after {
  content: "›";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
}

.review__notice {
  margin: 0 16px 16px;
  padding: 12px 14px;
  background: #f4f5f8;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--c-ink-2);
}
.review__notice b { display: block; margin-bottom: 4px; font-weight: 800; }

/* ===== POINTS (3つのポイント) ===== */
.points-section {
  padding: 0 !important;
  background: #fff;
}
.points-section__inner {
  background: #fff;
  padding: 0 0 24px;
}
.points-details {
  padding: 0 14px;
  background: #fff;
}
.tips-banner {
  background: #fef0e0;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  padding: 14px 16px;
  border-radius: 0;
  margin: 0 0 18px;
  border: none;
}
.tips-banner em {
  font-style: normal;
  color: var(--c-good);
  font-size: 22px;
  font-family: var(--font-num);
  margin: 0 2px;
}
.points-grid {
  display: grid;
  gap: 14px;
  margin: 0 14px 22px;
  background: #fff;
}
.point-card {
  display: flex;
  gap: 12px;
  align-items: center;
}
.point-card__icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
}
.point-card__icon-num {
  position: absolute;
  top: -2px;
  left: 4px;
  z-index: 3;
  font-family: var(--font-num);
  text-align: left;
  line-height: 1;
  background: #fff;
  padding: 2px 4px;
  border-radius: 4px;
}
.point-card__icon-num small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: var(--c-good);
  letter-spacing: 0.1em;
}
.point-card__icon-num b {
  font-size: 16px;
  font-weight: 900;
  color: var(--c-good);
}
.point-card__icon-art {
  width: 90px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.point-card__icon-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.point-card__body { flex: 1; }
.point-card__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 900;
  border-bottom: 2px solid var(--c-good);
  padding-bottom: 4px;
  display: inline-block;
}
.point-card__text {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--c-ink-2);
  line-height: 1.65;
}

.point-detail {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  margin: 0 14px 12px;
  overflow: hidden;
}
.point-detail__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px dashed var(--c-line);
}
.point-detail__num {
  background: var(--c-good);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.point-detail__num b { font-size: 14px; }
.point-detail__title {
  font-size: 14px;
  font-weight: 900;
}
.point-detail__body {
  padding: 12px 14px 14px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--c-ink-2);
}

/* ===== 気軽に査定 ===== */
.casual-section {
  padding: 0;
  background: #fff;
}
.casual {
  background: #fff;
  border-radius: 0;
  margin: 0;
  padding: 0 0 16px;
}
.casual__title {
  background: #fef0e0;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  margin: 0;
  padding: 12px 16px;
}
.casual__art img {
  display: block;
  width: 100%;
  height: auto;
}
.casual__art {
  background: #fff;
  border-radius: 0;
  margin: 0 0 8px;
  display: block;
  border: none;
}
.casual__text {
  padding: 0 16px;
}
.casual__art b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-ink-2);
  margin-bottom: 4px;
}
.casual__text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-ink);
  margin: 0;
}
.casual__text .hl {
  color: var(--c-cta);
  font-weight: 800;
}
.casual__cta {
  display: block;
  margin: 12px 16px 0;
  padding: 16px 14px;
  background: var(--c-cta);
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.casual__cta-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  transform: translateY(-1px);
}

.note { font-size: 10px; color: var(--c-muted); margin-top: 10px; line-height: 1.6; }

/* ===== CTA shine + hover (global) ===== */
.btn--cta,
.review__cta,
.cmp-cta-btn,
.casual__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}
.btn--cta::before,
.review__cta::before,
.cmp-cta-btn::before,
.casual__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.9) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: ctaShine 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
.btn--cta > *,
.review__cta > *,
.cmp-cta-btn > *,
.casual__cta > * { position: relative; z-index: 2; }
@keyframes ctaShine {
  0% { transform: translateX(-120%); }
  60% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.btn--cta:hover,
.review__cta:hover,
.cmp-cta-btn:hover,
.bm-cta:hover,
.casual__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 4px 10px rgba(255,63,64,0.18);
}
.btn--cta:active,
.review__cta:active,
.cmp-cta-btn:active,
.casual__cta:active {
  transform: translateY(0) scale(0.99);
  filter: brightness(0.97);
}
