@charset "UTF-8";

/* ===============================================================
  おすすめ物件カード  property-cards  ■ BEGIN ■
  common-property.cssが原本
=============================================================== */
.property-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 80px 60px;
  margin: 0 0 100px 0;
}

.property-card {
  display: flex;
  align-items: stretch;
  background: var(--white-color);
  position: relative;
}

.property-card .card-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: var(--base-radius);
  box-shadow: var(--box-shadow-card);
  position: relative;
  transition: var(--transition-main);
}

@media (hover: hover) {
  .property-card .card-wrapper:hover {
    transform: translate(1px, 1px);
    box-shadow: var(--box-shadow-card-hov);
  }
}

.property-cards:has(.no-favorite-text) {
  display: block;
}

.property-card .btn-wrapper {
  flex-grow: 1;
  display: block;
}

.property-card .main-pic {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--mstyle-light-green-color);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.property-card .main-pic .no-image {
  padding: 8%;
}

.property-card .property-name {
  display: grid;
  place-items: center;
  min-height: 64px;
  color: var(--white-color);
  font-weight: 700;
  line-height: 125%;
  background: var(--mstyle-main-color);
  padding: 12px 28px;
}

.property-card .property-name span {
  display: -webkit-box; 
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card .wrapper {
  width: 80%;
  padding: 0 0 22px 0;
  margin: 0 auto;
}

.property-card .property-price {
  font-size: var(--fz-12);
  line-height: normal;
  text-align: center;
  background: var(--mstyle-light-green-color);
  border-radius: 0 0 8px 8px;
  padding: 12px 20px;
  margin: 0 0 22px 0;
}

.property-card .property-price .price {
  font-size: var(--fz-24);
  font-weight: 700;
  margin: 0 0 0 3px;
}

.property-card .property-meta {
  --svg-width: 16px;
  --svg-va: -3px;
  font-size: var(--fz-12);
  font-weight: 500;
  line-height: 150%;
  letter-spacing: .02em;
  padding: 0 0 16px 0;
  margin: 0 0 16px 0;
  position: relative;
}

.property-card .property-meta::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--mstyle-main-color);
  border-radius: 5px;
  bottom: 0;
  left: 0;
}

.property-card .property-meta > li + li {
  margin: 6px 0 0 0;
}

.property-card .property-meta .flex {
  display: flex;
  align-items: flex-start;
  gap: 0 5px;
}

.property-card .property-meta .flex > svg {
  flex-shrink: 0;
}

.property-card .property-meta .clamp {
  display: -webkit-box; 
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card .property-meta-sub {
  display: flex;
  align-items: center;
  gap: 0 22px;
}

.property-card .comment {
  height: 54px;
  font-size: var(--fz-12);
  font-weight: 500;
  line-height: 150%;
  letter-spacing: .02em;
}

.property-card .comment span {
  display: -webkit-box; 
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card .btn {
  display: block;
  font-size: var(--fz-12);
  font-weight: 700;
  line-height: 150%;
  letter-spacing: .02em;
  text-align: center;
  background: var(--mstyle-sub-grey-color);
  border-radius: 0 0 8px 8px;
  padding: 6px 0;
}

.property-card .btn svg {
  --svg-width: 20px;
  --svg-va: -5.5px;
  margin: 0 0 0 6px;
}

.property-card .update-date {
  --svg-width: 12px;
  --svg-va: -2px;
  position: absolute;
  font-size: var(--fz-10);
  line-height: 150%;
  letter-spacing: .02em;
  bottom: -20px;
  right: 0;
}

@media (max-width: 1023px) and (min-width: 769px) {
  .property-cards {
    margin: 0 0 200px 0;
  }
}

@media screen and (max-width:768px) {
  .property-cards {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 100px 50px;
    width: 85%;
    margin: 0 auto 50px auto;
  }
  .property-card .property-price {
    padding: 12px 12px;
  }
}

/* ===============================================================
  おすすめ物件カード  property-cards  ■ END ■
=============================================================== */

/* ===============================================================
  賃貸用 おすすめ物件カード  property-cards  ■ BEGIN ■
  common-property.cssが原本
=============================================================== */
.property-rent-card .property-price {
  padding: 12px 28px;
  margin: 0 0 8px 0;
}

.property-rent-card .property-name {
  background: var(--mstyle-sub-brown-color);
}

.property-rent-card .property-price {
  background: var(--mstyle-light-brown-color);
}

.property-rent-card .property-price .price-2 {
  font-size: 1.1em;
  margin: 0 0 0 3px;
}

.property-rent-card .property-price .price-2 .title {
  margin: 0 1px 0 0;
}

.property-rent-card .property-sub-price {
  display: flex;
  justify-content: center;
  gap: 0 20px;
  margin: 0 0 20px 0;
}

.property-rent-card .property-sub-price .container {
  display: flex;
  align-items: center;
  gap: 0 4px;
}

.property-rent-card .property-sub-price .icon {
  width: 24px;
  height: 24px;
  font-size: var(--fz-12);
  text-align: center;
  line-height: 24px;
  background: var(--mstyle-light-brown-color);
  border-radius: calc(var(--base-radius) / 2);
}

.property-rent-card .property-sub-price :is(.gratuity_month, .deposite_month) {
  font-size: var(--fz-14);
}

.property-rent-card .property-meta::after {
  background: var(--mstyle-sub-brown-color);
}


/* @media screen and (max-width:768px) {
} */

/* ===============================================================
  賃貸用 おすすめ物件カード  property-cards  ■ END ■
=============================================================== */

/* ===============================================================
  favoriteページ用  ■ BEGIN ■
=============================================================== */
.main-page-favorite {
  --btn-large-any-color: var(--white-color);
  --btn-large-any-bgcolor: var(--mstyle-sub-color);
  margin: var(--main-mar-last);
}

.main-page-favorite .sec-h2-title {
  margin: 0 0 10px 0;
}

.main-page-favorite .sec-h2-title .count {
  color: var(--mstyle-main-color);
}

.main-page-favorite .no-favorite {
  margin: 0 0 35px 0;
}

.main-page-favorite .no-favorite-description span {
  color: var(--mstyle-red-color);
  font-size: var(--fz-14);
  font-weight: 500;
}

:is(.r2-all-btn, .clear-btn) {
  display: inline-block;
}

.r2-all-btn a {
  --svg-width: 20px;
  --svg-color: var(--white-color);
  --svg-va: -4px;
  display: inline-block;
  width: 240px;
  color: var(--white-color);
  font-weight: 500;
  text-align: center;
  background: var(--mstyle-sub-color);
  border-radius: var(--base-radius);
  box-shadow: var(--box-shadow-btn);
  padding: 10px 0;
  margin: 0 10px 50px 0;
}

:is(.r2-all-btn a, .clear-btn) .small {
  font-size: var(--fz-14);
  font-weight: 400;
  margin: 0 2px 0 0;
}

.clear-btn button {
  display: inline-block;
  width: 240px;
  color: var(--white-color);
  font-weight: 500;
  text-align: center;
  background: var(--mstyle-text-color);
  border-radius: var(--base-radius);
  box-shadow: var(--box-shadow-btn);
  padding: 10px 0;
  margin: 0 0 50px 0;
}

.r2-all-btn svg {
  --svg-width: 26px;
  --svg-color: var(--white-color);
  --svg-va: -7px;
  margin: 0 0 0 5px;
}

.clear-btn svg {
  --svg-width: 20px;
  --svg-color: var(--white-color);
  --svg-va: -4px;
  margin: 0 0 0 3px;
}

.favorite {
  position: absolute;
  bottom: -34px;
  left: 0;
}

.favorite button {
  --svg-width: 16px;
  --svg-color: var(--white-color);
  width: 22px;
  aspect-ratio: 1;
  background: var(--mstyle-sub-grey-color);
  border-radius: var(--base-radius);
  cursor: pointer;
  transition:  var(--transition-main);
  position: relative;
}

.favorite button::before {
  position: absolute;
  content: "お気に入りから削除";
  display: block;
  width: 108px;
  font-size: var(--fz-12);
  font-weight: 500;
  line-height: normal;
  border-bottom: 1px solid var(--mstyle-text-color);
  padding: 0 0 2px 0;
  bottom: 50%;
  left: 25px;
  transform: translate(0, 50%);
}

.favorite button span {
  display: grid;
  place-items: center;
}

.favorite button svg {
  transition: var(--transition-main);
}

.favorite button.active {
  background: var(--mstyle-orange-color);
  opacity: 1;
}

.favorite-subtitle {
  font-size: var(--fz-20);
  font-weight: 500;
  padding: 0 0 0 20px;
  margin: 0 0 24px 0;
  position: relative;
}

.favorite-subtitle::before {
  position: absolute;
  content: "";
  display: block;
  width: 10px;
  height: 100%;
  background: var(--mstyle-main-color);
  border-radius: var(--base-radius);
  bottom: 50%;
  left: 0;
  transform: translate(0, 50%);
}

.rent-favorite-subtitle::before {
  background: var(--mstyle-sub-brown-color);
}

@media (max-width: 1023px) and (min-width: 769px) {
  .r2-all-btn a {
    width: 218px;
  }
  .clear-btn button {
    width: 218px;
  }
}

@media screen and (max-width:768px) {
  .main-page-favorite .sec-h2-title {
    margin: 0 0 30px 0;
  }
  .main-page-favorite .no-favorite-description .break-sp {
    display: none;
  }
  :is(.r2-all-btn, .clear-btn) {
    display: block;
    width: 85%;
    margin: 0 auto 15px auto;
  }
  :is(.r2-all-btn a, .clear-btn button) {
    width: 100%;
    font-size: var(--fz-14);
    box-shadow: var(--box-shadow-btn-sp); 
    padding: 6px 0;
    margin: 0 0 0 auto;
  }
  .r2-all-btn .btn-reserve {
    margin: 0 0 15px 0;
  }
  .clear-btn svg {
    --svg-width: 16px;
    --svg-va: -3px;
  }
  .favorite-subtitle {
    font-size: var(--fz-16);
    padding: 0 0 0 45px;
    margin: 50px 0 24px 0;
  }
  .favorite-subtitle::before {
    height: 90%;
    left: 7.5%;
  }
  .rent-favorite-subtitle {
    margin: 100px 0 24px 0;
  }
}