/* ═══════════════════════════════════════════════════════
   Roopt.jp — sharehouse.css  (シェアハウス物件ページ)
   ═══════════════════════════════════════════════════════ */

/* ─── タイトルエリア右：賃料バッジ ─────────────────── */
.prop-title-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.sh-rent-badge {
  text-align: right;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1.25rem;
}

.sh-rent-label {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--font-en);
  letter-spacing: .06em;
  margin-bottom: .2rem;
}

.sh-rent-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-en);
  line-height: 1.2;
  margin-bottom: .3rem;
}

.sh-rent-note {
  display: block;
  font-size: .73rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ─── セクション共通（h2 相当の見出し） ─────────────── */
.sh-specs-section,
.sh-rooms-section,
.sh-features-section,
.sh-detail-section {
  margin-bottom: 3rem;
}

.sh-specs-title,
.sh-rooms-title,
.sh-features-title,
.sh-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--green);
  display: block;
}

/* h3 相当（部屋プランの小見出し） */
.sh-plan-title {
  font-size: .92rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: var(--text);
}

.sh-plan-desc {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .75rem;
}

.sh-plan-note {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
}

.sh-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 680px) {
  .sh-specs-grid { grid-template-columns: 1fr; }
}

/* ─── 共通スペックテーブル ──────────────────────────── */
.prop-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.prop-spec-table th,
.prop-spec-table td {
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.prop-spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg);
}

.prop-spec-table td {
  color: var(--text);
}

/* 部屋一覧テーブル：列幅は自動（複数列があるため固定幅を解除） */
.sh-rooms-table th {
  width: auto;
  white-space: normal;
}

/* ─── CTA セクション ────────────────────────────────── */
.prop-cta-section {
  text-align: center;
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.prop-cta-text {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ─── モバイル対応 ──────────────────────────────────── */
@media (max-width: 680px) {
  .prop-title-right {
    align-items: flex-start;
    width: 100%;
  }

  .sh-rent-badge {
    text-align: left;
    width: 100%;
  }

  .sh-rent-value { font-size: 1.3rem; }
}
