@media (min-width: 1200px) {
  .npm-property-archive__filter-body > .npm-property-search--archive {
    position: static !important;
    top: auto !important;
    width: 95%;
  }
}

/*--------------------------------------
  物件カード共通デザイン調整
  トップページ・一覧ページを画像1基準で統一
--------------------------------------*/
.npm-property-card,
.npm-property-card--recommended {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  overflow: hidden !important;
  border: 1px solid #dbe7f3 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  transform: none !important;
}

.npm-property-card:hover,
.npm-property-card--recommended:hover {
  transform: none !important;
  box-shadow: none !important;
}

.npm-property-card .npm-property-card__body,
.npm-property-card--recommended .npm-property-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0;
  padding: 12px 14px 14px !important;
}

.npm-property-card .npm-property-card__head,
.npm-property-card--recommended .npm-property-card__head {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  border: 0 !important;
}

.npm-property-card .npm-property-card__title,
.npm-property-card--recommended .npm-property-card__title {
  display: -webkit-box !important;
  min-height: calc(1.45em * 2);
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  color: #0f2436 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.npm-property-card .npm-property-card__price,
.npm-property-card--recommended .npm-property-card__price {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 30px;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  white-space: nowrap;
}

.npm-property-card .npm-property-card__price-label,
.npm-property-card--recommended .npm-property-card__price-label {
  color: #687789 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.npm-property-card .npm-property-card__price-value,
.npm-property-card--recommended .npm-property-card__price-value {
  color: #d4382d !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

/* 敷金・礼金・保証金：枠なし・横並び */
.npm-property-card .npm-property-card__fees,
.npm-property-card--recommended .npm-property-card__fees {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.npm-property-card .npm-property-card__fee,
.npm-property-card--recommended .npm-property-card__fee {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 18px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-sizing: border-box;
  clip: auto !important;
  clip-path: none !important;
  transform: none !important;
}

.npm-property-card .npm-property-card__fee span,
.npm-property-card--recommended .npm-property-card__fee span {
  position: static !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #687789 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body .npm-property-list .npm-property-card .npm-property-card__fee > strong,
body .npm-property-list .npm-property-card--recommended .npm-property-card__fee > strong {
  position: static !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 1em !important;
  max-width: none !important;
  height: auto !important;
  min-height: 1em !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #243746 !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: right !important;
  text-indent: 0 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip: auto !important;
  clip-path: none !important;
  transform: none !important;
}

body .npm-property-list .npm-property-card .npm-property-card__fee > strong:empty::before,
body .npm-property-list .npm-property-card--recommended .npm-property-card__fee > strong:empty::before {
  content: "-" !important;
  display: inline !important;
  color: #243746 !important;
}

.npm-property-card .npm-property-card__specs,
.npm-property-card--recommended .npm-property-card__specs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 9px 0 0 !important;
  padding: 9px 0 10px !important;
  border-top: 1px solid #e5edf4 !important;
  border-bottom: 1px solid #e5edf4 !important;
}

.npm-property-card .npm-property-card__spec,
.npm-property-card--recommended .npm-property-card__spec {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  min-width: 0;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.npm-property-card .npm-property-card__spec span,
.npm-property-card--recommended .npm-property-card__spec span {
  flex: 0 0 auto;
  color: #687789 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.npm-property-card .npm-property-card__spec strong,
.npm-property-card--recommended .npm-property-card__spec strong {
  min-width: 0;
  color: #243746 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-align: right !important;
  white-space: nowrap;
}

.npm-property-card .npm-property-card__spec strong:empty::before,
.npm-property-card--recommended .npm-property-card__spec strong:empty::before {
  content: "-";
}

.npm-property-card .npm-property-card__details,
.npm-property-card--recommended .npm-property-card__details {
  margin-top: 0 !important;
}

.npm-property-card .npm-property-card__detail,
.npm-property-card--recommended .npm-property-card__detail {
  padding: 8px 0 !important;
}

.npm-property-card .npm-property-card__footer,
.npm-property-card--recommended .npm-property-card__footer {
  margin-top: auto !important;
  padding-top: 14px !important;
}

.npm-property-card .npm-property-card__more,
.npm-property-card--recommended .npm-property-card__more {
  width: 100% !important;
  min-width: 0 !important;
}

.npm-property-card--recommended .npm-property-card__head,
.npm-property-card--recommended .npm-property-card__price,
.npm-property-card--recommended .npm-property-card__fees,
.npm-property-card--recommended .npm-property-card__specs,
.npm-property-card--recommended .npm-property-card__details {
  width: auto !important;
}

@media (max-width: 767px) {
  .npm-property-card .npm-property-card__body,
  .npm-property-card--recommended .npm-property-card__body {
    padding: 9px !important;
  }

  .npm-property-card .npm-property-card__title,
  .npm-property-card--recommended .npm-property-card__title {
    min-height: calc(1.4em * 2);
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .npm-property-card .npm-property-card__price,
  .npm-property-card--recommended .npm-property-card__price {
    gap: 4px !important;
    margin-top: 6px !important;
  }

  .npm-property-card .npm-property-card__price-label,
  .npm-property-card--recommended .npm-property-card__price-label,
  .npm-property-card .npm-property-card__fee span,
  .npm-property-card--recommended .npm-property-card__fee span,
  body .npm-property-list .npm-property-card .npm-property-card__fee > strong,
  body .npm-property-list .npm-property-card--recommended .npm-property-card__fee > strong,
  .npm-property-card .npm-property-card__spec span,
  .npm-property-card--recommended .npm-property-card__spec span,
  .npm-property-card .npm-property-card__spec strong,
  .npm-property-card--recommended .npm-property-card__spec strong {
    font-size: 9px !important;
  }

  .npm-property-card .npm-property-card__price-value,
  .npm-property-card--recommended .npm-property-card__price-value {
    font-size: 16px !important;
  }

  .npm-property-card .npm-property-card__fees,
  .npm-property-card--recommended .npm-property-card__fees {
    gap: 5px !important;
  }
}

/*--------------------------------------
  物件カード：フラット表示・画像を上端へ配置
--------------------------------------*/
.npm-property-list .npm-property-card,
.npm-property-list .npm-property-card--recommended {
  border-radius: 0 !important;
  background: transparent !important;
}

.npm-property-list .npm-property-card-gallery,
.npm-property-list .npm-property-card-gallery__track,
.npm-property-list .npm-property-card-gallery__slide,
.npm-property-list .npm-property-card-gallery__slide img {
  margin-top: 0 !important;
  border-radius: 0 !important;
}

.npm-property-list .npm-property-card-gallery {
  order: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.npm-property-list .npm-property-card__body {
  order: 1 !important;
  background: transparent !important;
}
