@charset "utf-8";
#contracted .subpage-header .subpage-header__bg {
  background-image: var(--bg-cotracted-mv);
}

#contracted .section {
  padding-top: 92px;
}

#contracted .property-list {
  max-width: 1920px;
}
#contracted .property-list__wrapper {
  padding-left: 5.6%;
  padding-right: 5.6%;
  gap: 32px 16px;
  justify-content: flex-start;
}

#contracted .property-list__wrapper .property-list__item {
  width: calc(25% - 13px);
  max-width: initial;
}

#contracted
  .property-list__wrapper
  .property-list__item
  .property-list__image-wrapper {
  height: initial;
  padding-bottom: 16px;
  aspect-ratio: 448 / 336;
  max-width: initial;
}

#contracted .load-more-container {
  margin-top: 80px;
}

#contracted .property-count {
  font-size: 20px;
  letter-spacing: 0.3em;
  font-weight: 500;
}

@media screen and (max-width: 1200px) {
  #contracted
    .property-list__wrapper
    .property-list__item
    .property-list__image-wrapper {
    padding-bottom: 16px;
  }

  #contracted
    .property-list__wrapper
    .property-list__item
    .property-list__details
    .property-list__name {
    font-size: 14px;
    letter-spacing: initial;
    display: inline-block;
  }

  #contracted
    .property-list__wrapper
    .property-list__item
    .property-list__details
    .property-list__info {
    padding-top: initial;
  }

  #contracted
    .property-list__wrapper
    .property-list__item
    .property-list__details
    .property-list__info
    span {
    font-size: 12px;
  }
  /*===========max-width:1200px============*/
}

@media screen and (max-width: 960px) {
  #contracted .property-list__category span {
    font-size: 8px;
    padding: 5px;
  }
}

@media screen and (max-width: 768px) {
  #contracted .property-list__wrapper {
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: 8px;
    justify-content: center;
  }

  #contracted .property-list__wrapper .property-list__item {
    width: calc(50% - 16px);
  }

  #contracted
    .property-list__wrapper
    .property-list__item
    .property-list__details
    .property-list__name {
    font-size: 12px;
    padding-bottom: initial;
  }
  #contracted .load-more-container {
    margin-top: 40px;
  }
  #contracted .property-count {
    font-size: 14px;
  }
  /*===========max-width:768px============*/
}

@media screen and (max-width: 600px) {
  #contracted {
    padding-bottom: 80px;
  }

  #contracted
    .property-list__wrapper
    .property-list__item
    .property-list__image-wrapper {
    padding-bottom: 4px;
  }

  #contracted .property-list__category {
    top: 0;
    right: 4px;
  }

  /*===========max-width:600px============*/
}

/* 借りる　タイトル背景色とカテゴリーの背景色変更 */
#contracted .rent-list .contents-title {
  background-color: #bbacc3;
}

#contracted .rent-list .property-list__category span {
  background-color: #bbacc3;
}
