/* badges */
.hb-badge{display:inline-block;padding:.25rem .5rem;border-radius:9999px;font-size:.85rem;line-height:1;text-decoration:none;color:#fff;margin:0 .25rem .25rem 0;white-space:nowrap;}
.tag-default{background:#6b7280;}.tag-red{background:#ef4444;}.tag-blue{background:#3b82f6;}.tag-green{background:#10b981;}.tag-amber{background:#f59e0b;}.tag-brown{background:#92400e;}.tag-purple{background:#8b5cf6;}.tag-gray{background:#9ca3af;}.tag-teal{background:#14b8a6;}.tag-pink{background:#ec4899;}.tag-orange{background:#f97316;}.tag-indigo{background:#6366f1;}
.hb-badges{display:flex;flex-wrap:wrap;gap:.25rem;}
/* boxes */
.hb-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin:16px 0;box-shadow:0 1px 2px rgba(0,0,0,.04);}
.hb-box h3{font-size:1.125rem;margin:0 0 .5rem;}
.hb-chip-grid{display:flex;flex-wrap:wrap;gap:.5rem;}
.hb-chip{display:inline-block;padding:.5rem .75rem;border-radius:9999px;color:#fff;text-decoration:none;font-size:.95rem;}
.hb-search .row{display:flex;gap:12px;align-items:center;margin:.5rem 0;}
.hb-search input,.hb-search select{padding:.5rem;border:1px solid #d1d5db;border-radius:8px;}
.hb-btn{padding:.6rem 1rem;border:0;border-radius:10px;background:#111827;color:#fff;cursor:pointer;}
/* loan */
.hb-loan{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin:20px 0;}
.hb-loan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px;}
.hb-loan-result{padding:8px 12px;background:#fff;border-radius:12px;border:1px solid #e5e7eb;}
@media (max-width: 640px){.hb-chip-grid{overflow-x:auto;white-space:nowrap;padding-bottom:.25rem;}.hb-loan-grid{grid-template-columns:1fr;}}
.property-table{width:100%;border-collapse:collapse;margin:1rem 0;}
.property-table th,.property-table td{border:1px solid #e5e7eb;padding:8px 10px;text-align:left;}
/* ===== rent-detail ===== */
.rent-detail-breadcrumb{font-size:.875rem;color:#6b7280;margin:8px 0 12px;}
.rent-detail-breadcrumb a{color:#6b7280;text-decoration:none;}
.rent-detail-title{font-size:1.6rem;line-height:1.3;margin:.25rem 0 .5rem;}
.rent-detail-tags{margin-bottom:.75rem;}
.rent-detail-hero{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:10px 0 16px;}
.rent-detail-hero img{border-radius:12px;width:100%;height:auto;object-fit:cover;}
@media (max-width: 900px){.rent-detail-hero{grid-template-columns:1fr;}}
.rent-detail-table{width:100%;border-collapse:collapse;margin:12px 0 18px;}
.rent-detail-table th,.rent-detail-table td{border:1px solid #e5e7eb;padding:8px 10px;text-align:left;}
.rent-detail-table th{width:28%;background:#f9fafb;font-weight:600;}
.rent-detail-features{margin:12px 0 18px;}
.rent-detail-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;list-style:none;padding:0;margin:.5rem 0 1rem;}
.rent-detail-feature-list .dot{display:inline-block;width:7px;height:7px;background:#10b981;border-radius:50%;margin-right:8px;vertical-align:middle;}
@media (max-width: 640px){.rent-detail-feature-list{grid-template-columns:1fr;}}
.rent-detail-contact{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin:18px 0;}
.rent-detail-phone{margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb;color:#374151;}
.rent-detail-phone a{font-weight:700;text-decoration:none;}
.rent-detail-related{margin-top:16px;}
.rent-detail-related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;list-style:none;padding:0;margin:8px 0;}
@media (max-width: 640px){.rent-detail-related-list{grid-template-columns:1fr;}}
/* ===== sale-detail ===== */
.sale-detail-breadcrumb{font-size:.875rem;color:#6b7280;margin:8px 0 12px;}
.sale-detail-breadcrumb a{color:#6b7280;text-decoration:none;}
.sale-detail-title{font-size:1.6rem;line-height:1.3;margin:.25rem 0 .5rem;}
.sale-detail-tags{margin-bottom:.75rem;}
.sale-detail-hero{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:10px 0 16px;}
.sale-detail-hero img{border-radius:12px;width:100%;height:auto;object-fit:cover;}
@media (max-width: 900px){.sale-detail-hero{grid-template-columns:1fr;}}
.sale-detail-table{width:100%;border-collapse:collapse;margin:12px 0 18px;}
.sale-detail-table th,.sale-detail-table td{border:1px solid #e5e7eb;padding:8px 10px;text-align:left;}
.sale-detail-table th{width:28%;background:#f9fafb;font-weight:600;}
.sale-detail-contact{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin:18px 0;}
.sale-detail-phone{margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb;color:#374151;}
.sale-detail-phone a{font-weight:700;text-decoration:none;}
.sale-detail-related{margin-top:16px;}
.sale-detail-related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;list-style:none;padding:0;margin:8px 0;}
@media (max-width: 640px){.sale-detail-related-list{grid-template-columns:1fr;}}

/* TOP 三連検索 */
.hb-top-trio{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:24px 0;
}
.hb-top-box{
  background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:16px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
}
.hb-top-box h3{font-size:1.1rem; margin:0 0 .75rem;}
.hb-top-box .row{display:flex; gap:12px; align-items:center;}
.hb-top-select{padding:.6rem .8rem; border:1px solid #d1d5db; border-radius:10px; min-width:180px;}
.hb-btn{padding:.6rem 1rem; border:0; border-radius:10px; background:#111827; color:#fff; cursor:pointer;}
@media (max-width: 900px){ .hb-top-trio{grid-template-columns:1fr; } .hb-top-select{width:100%;} .hb-top-box .row{flex-wrap:wrap;} }
