.home-live-market-table { min-width: 920px; }

.home-market-price-summary {
  margin-top: 38px;
  padding: 30px;
  border: 1px solid #cfd9d4;
  border-radius: 24px;
  background: #eef4f1;
}

.home-market-price-summary-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}

.home-market-price-summary-head .label {
  margin: 0 0 7px;
  color: #e8792b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.home-market-price-summary-head h2 {
  margin: 0;
  color: #0d1d19;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.05em;
}

.home-market-price-summary-head > span,
.home-market-price-summary-note {
  color: #527064;
  font-size: 13px;
  font-weight: 650;
}

.home-market-price-summary-head > span {
  text-align: right;
}

.home-market-price-summary-note {
  margin: 0 0 18px;
  line-height: 1.6;
}

.home-market-price-summary-table-wrap {
  overflow-x: auto;
  border: 1px solid #c6d3cd;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 55, 42, .05);
}

.home-market-price-summary-table {
  width: 100%;
  min-width: 1030px;
  border-collapse: collapse;
  color: #38534a;
  font-size: 14px;
  text-align: center;
}

.home-market-price-summary-table th {
  height: 50px;
  padding: 0 12px;
  border-bottom: 1px solid #a9bfd6;
  color: #17352d;
  font-weight: 800;
  white-space: nowrap;
}

.home-market-price-summary-table td {
  height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid #e4ebe7;
  white-space: nowrap;
}

.home-market-price-summary-table tbody tr:last-child td {
  border-bottom: 0;
}

.home-market-price-summary-table tbody tr:hover {
  background: #f8fbf9;
}

.home-market-price-summary-table td:last-child {
  color: #243d35;
  font-size: 16px;
  font-weight: 900;
}

.home-market-price-summary-kind {
  display: inline-flex;
  min-width: 66px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.home-market-price-summary-kind.is-highest {
  background: #fff0ed;
  color: #c6482f;
}

.home-market-price-summary-kind.is-average {
  background: #e8f4ee;
  color: #176646;
}

.home-market-price-summary-kind.is-lowest {
  background: #edf3ff;
  color: #3566ad;
}

.home-market-price-summary-table tr.is-average {
  background: #fbfdfc;
}

.home-market-price-summary-table td[colspan] {
  height: 100px;
  color: #7b8d85;
}

.home-market-ranking {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid #dfd8c9;
  border-radius: 24px;
  background: #fffaf1;
}

.home-market-ranking-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}

.home-market-ranking-head .label {
  margin: 0 0 7px;
  color: #e8792b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.home-market-ranking-head h2 {
  margin: 0;
  color: #0d1d19;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.05em;
}

.home-market-ranking-head > span,
.home-market-ranking-note {
  color: #705b3f;
  font-size: 13px;
  font-weight: 650;
}

.home-market-ranking-head > span { text-align: right; }
.home-market-ranking-note { margin: 0 0 18px; line-height: 1.6; }

.home-market-ranking-table-wrap {
  overflow-x: auto;
  border: 1px solid #e4d8bf;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(80, 55, 20, .05);
}

.home-market-ranking-table {
  width: 100%;
  min-width: 1030px;
  border-collapse: collapse;
  color: #38534a;
  font-size: 14px;
  text-align: center;
}

.home-market-ranking-table th {
  height: 50px;
  padding: 0 12px;
  border-bottom: 1px solid #dcc8a4;
  color: #17352d;
  font-weight: 800;
  white-space: nowrap;
}

.home-market-ranking-table td {
  height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid #f0e9dc;
  white-space: nowrap;
}

.home-market-ranking-table tbody tr:last-child td { border-bottom: 0; }
.home-market-ranking-table tbody tr:hover { background: #fffaf1; }
.home-market-ranking-table td:last-child { color: #9b4b20; font-size: 16px; font-weight: 900; }
.home-market-ranking-table td[colspan] { height: 100px; color: #7b8d85; }

.home-market-ranking-badge {
  display: inline-flex;
  min-width: 48px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff0dc;
  color: #ab551e;
  font-weight: 900;
}

@media (max-width: 760px) {
  .home-market-price-summary {
    margin-top: 28px;
    padding: 22px 16px;
    border-radius: 20px;
  }

  .home-market-price-summary-head {
    display: block;
  }

  .home-market-price-summary-head h2 {
    font-size: 25px;
  }

  .home-market-price-summary-head > span {
    display: block;
    margin-top: 8px;
    text-align: left;
  }

  .home-market-price-summary-note {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .home-market-price-summary-table {
    font-size: 12px;
  }

  .home-market-price-summary-table th,
  .home-market-price-summary-table td {
    height: 46px;
    padding: 0 10px;
  }

  .home-market-price-summary-table td:last-child {
    font-size: 14px;
  }

  .home-market-ranking { padding: 22px 16px; border-radius: 20px; }
  .home-market-ranking-head { display: block; }
  .home-market-ranking-head h2 { font-size: 25px; }
  .home-market-ranking-head > span { display: block; margin-top: 8px; text-align: left; }
  .home-market-ranking-note { margin-bottom: 14px; font-size: 12px; }
  .home-market-ranking-table { font-size: 12px; }
  .home-market-ranking-table th,
  .home-market-ranking-table td { height: 46px; padding: 0 10px; }
  .home-market-ranking-table td:last-child { font-size: 14px; }
}
