/* HOT Property — GRAVITY風スタイル */
:root {
  --hp-accent: #1a5dab;
  --hp-accent-dark: #124a8c;
  --hp-price: #e8380d;
  --hp-text: #333;
  --hp-muted: #777;
  --hp-line: #e3e8ee;
  --hp-bg: #f5f7fa;
  --hp-radius: 10px;
  --hp-shadow: 0 2px 10px rgba(20, 40, 80, .08);
  --hp-shadow-hover: 0 8px 24px rgba(20, 40, 80, .16);
}

.hp-wrap { max-width: 1140px; margin: 0 auto; padding: 32px 16px 64px; color: var(--hp-text); }

.hp-page-header { margin-bottom: 24px; }
.hp-page-title { font-size: 1.75rem; font-weight: 700; border-left: 6px solid var(--hp-accent); padding-left: 14px; }

/* ===== 検索パネル ===== */
.hp-search { background: var(--hp-bg); border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 20px 24px; margin-bottom: 28px; }
.hp-search-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.hp-search-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; }
.hp-search-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--hp-muted); margin-bottom: 4px; }
.hp-search-field select, .hp-search-field input[type="text"] { width: 100%; padding: 9px 10px; border: 1px solid #c9d2dc; border-radius: 6px; background: #fff; font-size: .95rem; box-sizing: border-box; }
.hp-price-range { display: flex; align-items: center; gap: 6px; }
.hp-price-sep { color: var(--hp-muted); }
.hp-search-kw { grid-column: span 2; }
.hp-search-actions { margin-top: 16px; display: flex; align-items: center; gap: 16px; }
.hp-search-reset { font-size: .85rem; color: var(--hp-muted); text-decoration: underline; }

/* ===== ボタン ===== */
.hp-btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-size: 1rem; transition: .2s; text-align: center; }
.hp-btn-primary { background: var(--hp-accent); color: #fff !important; }
.hp-btn-primary:hover { background: var(--hp-accent-dark); color: #fff; }
.hp-btn-outline { background: #fff; color: var(--hp-accent) !important; border: 2px solid var(--hp-accent); }
.hp-btn-outline:hover { background: var(--hp-accent); color: #fff !important; }
.hp-btn-block { display: block; width: 100%; box-sizing: border-box; }
.hp-btn-lg { padding: 16px 48px; font-size: 1.1rem; }

/* ===== ツールバー ===== */
.hp-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.hp-count { font-size: .95rem; margin: 0; }
.hp-count strong { color: var(--hp-price); font-size: 1.2rem; }
.hp-toolbar-right { display: flex; align-items: center; gap: 12px; }
.hp-sort-form select { padding: 7px 10px; border: 1px solid #c9d2dc; border-radius: 6px; background: #fff; }
.hp-fav-filter { background: #fff; border: 1px solid #c9d2dc; border-radius: 6px; padding: 7px 14px; cursor: pointer; color: var(--hp-muted); }
.hp-fav-filter.is-active, .hp-fav-filter:hover { color: #e0245e; border-color: #e0245e; }
.hp-fav-note { background: #fff6f8; border: 1px solid #f3c6d3; padding: 10px 14px; border-radius: 6px; font-size: .9rem; }

/* ===== カードグリッド ===== */
.hp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-card { position: relative; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden; box-shadow: var(--hp-shadow); transition: .25s; }
.hp-card:hover { box-shadow: var(--hp-shadow-hover); transform: translateY(-3px); }
.hp-card-link { display: block; color: inherit; text-decoration: none !important; }
.hp-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e7ecf2; }
.hp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.hp-card:hover .hp-card-img img { transform: scale(1.05); }
.hp-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.hp-card-body { padding: 14px 16px 18px; }
.hp-card-price { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.hp-card-price strong { color: var(--hp-price); font-size: 1.45rem; font-weight: 800; }
.hp-card-price-tbd { font-size: 1.1rem !important; }
.hp-card-madori, .hp-card-menseki { color: var(--hp-text); font-size: .95rem; font-weight: 600; }
.hp-card-title { font-size: 1rem; font-weight: 700; margin: 0 0 8px; line-height: 1.5; }
.hp-card-address, .hp-card-access { font-size: .82rem; color: var(--hp-muted); margin: 2px 0; display: flex; gap: 5px; align-items: baseline; }
.hp-ico { flex: none; }

/* 成約済カード */
.hp-card-sold .hp-card-img img { filter: grayscale(.7); opacity: .75; }

/* ===== バッジ ===== */
.hp-badge { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: .72rem; font-weight: 700; color: #fff; line-height: 1.4; }
.hp-badge-blue { background: #1a5dab; }
.hp-badge-green { background: #2e9e5b; }
.hp-badge-orange { background: #e8770d; }
.hp-badge-purple { background: #7b4bbf; }
.hp-badge-teal { background: #0f9c9c; }
.hp-badge-red { background: #d63031; }
.hp-badge-new { background: #e8380d; }
.hp-badge-pickup { background: #d4a017; }
.hp-badge-sold { background: #666; }
.hp-badge-nego { background: #d4a017; }

.hp-status-ribbon { position: absolute; right: -34px; top: 14px; transform: rotate(45deg); padding: 4px 40px; font-size: .78rem; font-weight: 800; color: #fff; letter-spacing: .05em; }
.hp-ribbon-sold { background: rgba(70, 70, 70, .92); }
.hp-ribbon-nego { background: rgba(212, 160, 23, .95); }

/* ===== お気に入り ===== */
.hp-fav-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .92); color: #b9c2cc; font-size: 18px; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: .2s; line-height: 1; }
.hp-fav-btn:hover { transform: scale(1.12); }
.hp-fav-btn.is-fav, .hp-fav-btn-lg.is-fav { color: #e0245e; }
.hp-fav-btn-lg { position: static; width: auto; height: auto; border-radius: 6px; box-shadow: none; font-size: 1rem; margin-top: 10px; }
.hp-fav-btn-lg.is-fav { border-color: #e0245e; color: #e0245e !important; }

/* ===== ページネーション ===== */
.hp-pagination { margin-top: 36px; text-align: center; }
.hp-pagination .page-numbers { display: inline-block; min-width: 40px; padding: 9px 6px; margin: 0 3px; border: 1px solid var(--hp-line); border-radius: 6px; background: #fff; color: var(--hp-text); text-decoration: none; }
.hp-pagination .page-numbers.current { background: var(--hp-accent); color: #fff; border-color: var(--hp-accent); }
.hp-pagination .page-numbers:hover { border-color: var(--hp-accent); }
.hp-no-results { background: var(--hp-bg); border-radius: var(--hp-radius); padding: 40px; text-align: center; color: var(--hp-muted); }
.hp-more-wrap { text-align: center; margin-top: 28px; }

/* ===== 詳細ページ ===== */
.hp-breadcrumb { font-size: .82rem; color: var(--hp-muted); margin-bottom: 20px; }
.hp-breadcrumb a { color: var(--hp-accent); text-decoration: none; }
.hp-single-header { margin-bottom: 22px; }
.hp-single-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.hp-single-title { font-size: 1.6rem; font-weight: 800; margin: 0 0 8px; line-height: 1.4; }
.hp-single-address { color: var(--hp-muted); margin: 0; }
.hp-single-main { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; margin-bottom: 36px; align-items: start; }

.hp-gallery-main { aspect-ratio: 4 / 3; border-radius: var(--hp-radius); overflow: hidden; background: #e7ecf2; }
.hp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.hp-gallery-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; }
.hp-gallery-thumb { display: block; width: 76px; height: 57px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .75; transition: .2s; }
.hp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-gallery-thumb.is-active, .hp-gallery-thumb:hover { border-color: var(--hp-accent); opacity: 1; }

.hp-price-box { background: var(--hp-bg); border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 22px; position: sticky; top: 90px; }
.hp-price-label { font-size: .8rem; font-weight: 700; color: var(--hp-muted); margin: 0; }
.hp-price-value { color: var(--hp-price); font-size: 2.1rem; font-weight: 800; margin: 2px 0 12px; line-height: 1.2; }
.hp-price-access { border-top: 1px dashed #ccd5df; padding-top: 12px; margin-bottom: 16px; }
.hp-price-access p { font-size: .85rem; color: var(--hp-text); margin: 4px 0; }

.hp-single-section { margin-bottom: 40px; }
.hp-section-title { font-size: 1.25rem; font-weight: 700; border-left: 5px solid var(--hp-accent); padding-left: 12px; margin-bottom: 18px; }
.hp-spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--hp-line); background: #fff; }
.hp-spec-table th, .hp-spec-table td { padding: 13px 16px; border: 1px solid var(--hp-line); font-size: .92rem; text-align: left; vertical-align: top; }
.hp-spec-table th { background: var(--hp-bg); width: 180px; font-weight: 700; }
.hp-map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--hp-radius); }
.hp-single-cta { text-align: center; margin: 40px 0; }
.hp-back-wrap { text-align: center; margin-top: 40px; }

/* ===== レスポンシブ ===== */
@media (max-width: 991px) {
  .hp-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hp-search-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-single-main { grid-template-columns: 1fr; }
  .hp-price-box { position: static; }
}
@media (max-width: 599px) {
  .hp-grid { grid-template-columns: 1fr; }
  .hp-search-grid { grid-template-columns: 1fr; }
  .hp-search-kw { grid-column: span 1; }
  .hp-single-title { font-size: 1.3rem; }
  .hp-spec-table th { width: 110px; }
  .hp-search-actions { flex-direction: column; }
  .hp-search-actions .hp-btn { width: 100%; }
}
