/* /homenew/near/ から取り込む近隣物件カードの共通表示 */
.nearby-properties__item.is-loaded > [class] {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
}

.nearby-properties__item .list_in {
  display: flex;
  height: 100%;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nearby-properties__item .list_in > a:first-child {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eee;
}

.nearby-properties__item .list_in > a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nearby-properties__item .picup_txt01 {
  min-height: 3.6em;
  margin: 0;
  padding: 20px 22px 12px;
  color: var(--color-primary, #282828);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.6;
}

.nearby-properties__item .bukken {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 22px 18px;
}

.nearby-properties__item .bukken dl {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  align-items: start;
  gap: 0;
  margin: 0;
  border-top: 1px solid #e5e5e5;
}

.nearby-properties__item .bukken dl:last-of-type {
  border-bottom: 1px solid #e5e5e5;
}

.nearby-properties__item .bukken dt,
.nearby-properties__item .bukken dd {
  min-width: 0;
  margin: 0;
  padding: 10px 8px;
  line-height: 1.65;
}

.nearby-properties__item .bukken dt {
  white-space: nowrap;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

.nearby-properties__item .bukken dd {
  overflow-wrap: anywhere;
  color: var(--color-primary, #282828);
  font-size: 13px;
}

.nearby-properties__item .picup_txt02 {
  flex: 1;
  min-height: 4.8em;
  margin: 15px 0 0;
  line-height: 1.8;
}

.nearby-properties__item .picup_btn01 {
  margin: auto 22px 22px;
  text-align: center;
}

.nearby-properties__item .picup_btn01 a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary, #282828);
  border-radius: var(--radius, 10px);
  font-weight: 700;
}

.nearby-properties__item .picup_btn01 img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .nearby-properties__item .picup_txt01 {
    min-height: 0;
    padding: 17px 18px 10px;
  }

  .nearby-properties__item .bukken {
    padding: 0 18px 14px;
  }

  .nearby-properties__item .bukken dl {
    grid-template-columns: 6.5em minmax(0, 1fr);
  }

  .nearby-properties__item .picup_txt02 {
    min-height: 0;
  }

  .nearby-properties__item .picup_btn01 {
    margin: auto 18px 18px;
  }
}
