@charset "UTF-8";

/* =========================================================
   Taxonomy: Market snapshot（相場カード）
   parts/office/market.php（.office-market*）
   ========================================================= */

.office-market {
  margin: 18px 0 16px;
}

/* 3枚カードのグリッド（PC:3 / 中:2 / SP:1） */
.office-market__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 960px) {
  .office-market__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .office-market__grid {
    grid-template-columns: 1fr;
  }
}

/* 見た目は office-card と統一 */
.office-market__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
}

/* 上のラベル（badgeっぽく） */
.office-market__kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.82);
  white-space: nowrap;
}

/* 2枚目（登記可）は“OK系”の色味に寄せる（office-badge.is-ok と同系統） */
.office-market__card:nth-child(2) .office-market__kicker {
  background: rgba(11, 95, 255, 0.06);
  border-color: rgba(11, 95, 255, 0.18);
}

/* 数値 */
.office-market__value {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.office-market__sub {
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.65);
  margin-left: 6px;
}

/* 説明文 */
.office-market__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
}

/* 算出元（件数など） */
.office-market__meta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.65);
}

/* 免責 */
.office-market__disclaimer {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.72);
}

.office-market__kickerline {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.7);
}
