.related-property {
  padding: 40px 32px 0;
}
.related-property__container {
  max-width: 1302px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.related-property__heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.related-property__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 120%;
  margin: 0 0 32px;
  color: #333;
}
.related-property__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
.related-property .for-rent__status::after {
  font-weight: 400;
}
.related-property .for-rent__text {
  font-weight: 400;
}
.related-property__no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}
.related-property__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.related-property__more .btn {
  justify-content: flex-start;
  gap: 24px;
}
.related-property__more .btn:hover .related-property__more-arrow::before {
  transform: rotate(-24deg);
}
.related-property__more .btn:hover .related-property__more-arrow img {
  animation: arrowFlyHorizontalReverse 0.6s ease-in-out;
}
.related-property__more .related-property__more-arrow {
  position: relative;
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
}
.related-property__more .related-property__more-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: rotate(0deg);
  transition: transform 0.5s ease;
  z-index: 0;
}
.related-property__more .related-property__more-arrow img {
  width: 11px;
  height: 7px;
  transform: rotate(0deg);
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

@keyframes arrowFlyHorizontalReverse {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  30% {
    transform: translateX(-15px);
    opacity: 0;
  }
  35% {
    transform: translateX(15px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .related-property {
    padding: 0 16px 56px 16px;
  }
  .related-property__container {
    max-width: 375px;
    margin: 0 auto;
  }
  .related-property__title {
    font-size: 18px;
    margin: 0 0 24px;
  }
  .related-property__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-property__more {
    align-self: flex-start;
  }
  .related-property__more .btn {
    gap: 16px;
    width: 180px;
    justify-content: space-between;
  }
  .related-property .related-property__more-arrow {
    width: 26px;
    height: 26px;
  }
  .related-property .related-property__more-arrow img {
    width: 10px;
    height: 6px;
  }
}
