/* ============================================================
   姫野不動産 — 不動産買取 (purchase.css)
   ============================================================ */

/* ---------- Comparison Table ---------- */
.comparison-table-wrapper {
  max-width: 920px;
  margin-inline: auto;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  min-width: 600px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
}

/* header row */
.comparison-table__header {
  font-weight: 700;
  font-size: 15px;
  vertical-align: middle;
}
.comparison-table__header--item { background: var(--green-900); color: rgba(255,255,255,.75); text-align: left; }
.comparison-table__header--brokerage { background: var(--bg-alt); color: var(--muted); }
.comparison-table__header--purchase {
  position: relative;
  background: var(--green-700);
  color: #fff;
  font-size: 16px;
  padding-top: 28px;
}
.comparison-table__badge {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* body */
.comparison-table__label {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  white-space: nowrap;
}
.comparison-table__cell--brokerage { color: var(--muted); }
.comparison-table__cell--purchase { background: rgba(24,71,52,.04); }
.comparison-table__highlight {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--green-700);
}
.comparison-table__highlight::before {
  content: "";
  width: 16px; height: 16px;
  flex: 0 0 auto;
  background: var(--green-700);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
  -webkit-mask-clip: border-box;
}
.comparison-table tr:last-child th,
.comparison-table tr:last-child td { border-bottom: none; }

@media (max-width: 560px) {
  .comparison-table th, .comparison-table td { padding: 16px 14px; font-size: 14px; }
  .scroll-hint { display: block !important; }
}
