/* ==========================================================
   物件一覧：コンパクトカード / 種別ラベル / 会員限定カード
   ========================================================== */

/* ---- コンパクトレイアウト ---- */
.dh-compact.p-property__archiveBoxes {
  gap: 24px;
  padding-top: 30px;
}
.dh-compact .p-property__archiveBox {
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 10px 24px;
  padding: 18px;
  border-radius: 6px;
}
.dh-compact .p-property__archive-content {
  gap: 12px;
}
.p-property.archive__page .dh-compact .p-property__archive-content {
  gap: 12px;
}
.dh-compact .p-property__head {
  align-items: flex-start;
}
.dh-compact .p-property__title {
  font-size: 2.2rem !important;
  line-height: 1.45;
}
.dh-compact .p-property__price {
  font-size: 2.4rem !important;
}
.dh-compact .p-property-info__row {
  gap: 6px 16px;
}
.dh-compact .p-property-info__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dh-compact .p-property-info__ttl,
.dh-compact .p-property-info__txt {
  font-size: 1.4rem;
}
.dh-compact .p-property__archiveBox-btn-link {
  height: 46px;
  font-size: 1.5rem;
}
.dh-compact .p-property__archiveBox-btn-container.--fixed {
  flex: 0 0 46px;
}
.dh-compact .p-property__archiveBox-btn-link.--pink {
  max-width: 46px;
}
.dh-compact .p-property__archiveBox-btn-container.--typ2 {
  margin-top: 8px;
}

/* ---- 種別ラベル（物件名の下） ---- */
.p-property__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.dh-type-label {
  display: inline-block;
  padding: 3px 10px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  border-radius: 2px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.dh-type-label.is-shinchiku     { background: #1169ab; } /* 新築一戸建て：青 */
.dh-type-label.is-jouken-tsuki  { background: #e08a1e; } /* 建築条件付土地：オレンジ */
.dh-type-label.is-jouken-nashi  { background: #89b929; } /* 建築条件無土地：グリーン */
.dh-type-label.is-chuko         { background: #de6a6f; } /* 中古一戸建て：ピンク */
.dh-type-label.is-mansion       { background: #7a5a9e; } /* 中古マンション：パープル */

/* ---- 会員限定件数バナー ---- */
.dh-member-count {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 14px 20px;
  background: #fff4f5;
  border: 2px solid #de6a6f;
  border-radius: 8px;
  color: #4d3939 !important;
  text-decoration: none;
  transition: background .3s;
}
.dh-member-count:hover { background: #ffe9eb; opacity: 1; }
.dh-member-count__txt { font-size: 1.9rem; font-weight: 700; }
.dh-member-count__txt strong {
  color: #e2353e;
  font-size: 2.8rem;
  margin: 0 2px;
}
.dh-member-count__link {
  display: inline-block;
  padding: 6px 16px;
  background: #de6a6f;
  color: #fff;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 700;
}

/* ---- 会員限定カード ---- */
.dh-member-card .dh-member-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dh-member-card__content {
  justify-content: space-between;
}
.dh-member-card__txt {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
  color: #4d3939;
}
.dh-member-card__btn {
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .dh-compact .p-property__archiveBox {
    grid-template-columns: 100%;
    padding: 0 0 20px;
    border-bottom: 1px solid #e5e0dc;
    border-radius: 0;
  }
  .dh-compact.p-property__archiveBoxes { gap: 24px; }
  .dh-compact .p-property__title { font-size: 1.9rem !important; }
  .dh-compact .p-property__price { font-size: 2rem !important; }
  .dh-member-count__txt { font-size: 1.6rem; }
  .dh-member-count__txt strong { font-size: 2.2rem; }
  .dh-member-card__txt { font-size: 1.3rem; }
  .dh-member-card__txt br { display: none; }
}

/* 物件を探すTOP：新着物件の上 */
.dh-member-count--signup { margin: 0 auto 32px; max-width: 900px; }
.dh-member-count .dh-nw { display: inline-block; }

/* ログインページの案内／会員登録完了ページのボタン */
.dh-fp-login-note { margin: 0 0 24px; padding: 14px 18px; background: #fff4f5; border-left: 4px solid #de6a6f; font-size: 1.5rem; font-weight: 700; line-height: 1.8; color: #4d3939; }
.dh-fp-thanks { margin: 0 auto 40px; max-width: 720px; padding: 24px; text-align: center; background: #fff4f5; border: 2px solid #de6a6f; border-radius: 8px; }
.dh-fp-thanks__txt { margin-bottom: 16px; font-size: 1.6rem; font-weight: 700; color: #4d3939; }
.dh-fp-thanks__btn { display: inline-block; padding: 14px 32px; background: #4d3939; color: #fff !important; font-weight: 700; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.16); }
.dh-fp-thanks__btn:hover { opacity: .85; }

/* 物件を探すページ：会員登録ポップアップ（右下） */
.dh-member-popup { position: fixed; right: 90px; bottom: 30px; z-index: 98; width: 300px; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s; }
.dh-member-popup.is-show { opacity: 1; transform: none; }
.dh-member-popup[hidden] { display: none; }
.dh-member-popup__link { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.25); transition: transform .3s; }
.dh-member-popup__link:hover { transform: translateY(-3px); opacity: 1; }
.dh-member-popup__link img { display: block; width: 100%; height: auto; }
.dh-member-popup__close { position: absolute; top: -12px; left: -12px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #4d3939; color: #fff; font-size: 20px; line-height: 30px; text-align: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
@media screen and (max-width: 767px) {
  .dh-member-popup { width: 170px; right: 12px; bottom: 66px; }
  .dh-member-popup__close { width: 26px; height: 26px; line-height: 26px; font-size: 18px; top: -10px; left: -8px; right: auto; }
}
