/* 新設：PROPERTIES セクション（既存トップ専用。kv_top 等には影響させない） */

.top_properties {
  --reax-ink: #111111;
  --reax-accent: #767e8b;
  --reax-muted: #888888;
  --reax-line: #dddddd;
  --reax-soft: #eaeaea;
  --tp-aux: #596069;
  --tp-rule: #c9d0d6;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 120px 40px 40px;
  overflow-x: hidden;
  background-color: #e5e9ec;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #e9ecef 0%, #e5e9ec 48%, #dce1e5 100%);
  background-size: 180px 180px, 100% 100%;
  background-repeat: repeat, no-repeat;
  color: var(--reax-ink);
}

.tp-head {
  text-align: center;
  margin: 0 0 36px;
}

.tp-head__title {
  margin: 0;
  font-family: Varta, "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.1vw, 46px);
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.tp-head__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 14px 0 0;
  font-family: "Noto Sans JP", Barlow, sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--tp-aux);
}

.tp-head__kicker::before,
.tp-head__kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--tp-rule);
}

.tp-head__lead {
  margin: 16px auto 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.8;
  color: var(--tp-aux);
  text-wrap: pretty;
}

.tp-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.tp-area,
.tp-area:link,
.tp-area:visited,
.tp-area:hover,
.tp-area:focus {
  color: #fff;
  text-decoration: none;
}

.tp-area {
  position: relative;
  display: block;
  height: clamp(300px, 29vw, 500px);
  overflow: hidden;
  background: #2a2a2a;
}

.tp-area__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.tp-area:hover .tp-area__img {
  transform: scale(1.05);
}

.tp-area__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}

.tp-area__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}

.tp-area__names {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.tp-area__en {
  font: 700 22px/1 Barlow, sans-serif;
  letter-spacing: 0.08em;
  color: #fff;
}

.top_properties .tp-area .tp-area__jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.tp-area__desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  html[lang="ja"] .tp-area__desc,
  html[lang="ja"] .tp-head__lead {
    word-break: auto-phrase;
    overflow-wrap: normal;
  }
}

.top_properties .tp-area .tp-area__cta {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: right;
  font: 700 12px/1 Barlow, sans-serif;
  letter-spacing: 0.14em;
  color: #fff;
}

.tp-featured {
  margin-top: 40px;
}

.tp-featured__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tp-featured__titles {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.tp-featured__title {
  margin: 0;
  font: 700 15px/1 Barlow, sans-serif;
  letter-spacing: 0.14em;
}

.tp-featured__sub {
  font-size: 13px;
  color: var(--tp-aux);
  letter-spacing: 0.06em;
}

.tp-featured__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-arrow {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--tp-rule);
  background: #fff;
  color: var(--reax-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tp-arrow:disabled,
.tp-arrow.slick-disabled {
  opacity: 0.35;
  cursor: default;
}

.tp-featured__count {
  min-width: 4.5em;
  margin-left: 6px;
  font: 700 12px/1 Barlow, sans-serif;
  letter-spacing: 0.06em;
  color: var(--tp-aux);
  text-align: right;
}

.tp-slider {
  margin: 0 -8px;
}

.tp-slide {
  padding: 0 8px;
  min-width: 0;
  height: auto;
}

.top_properties .slick-track {
  display: flex !important;
  align-items: stretch;
  margin-left: 0 !important;
  margin-right: auto;
}

.top_properties .slick-slide {
  height: auto;
  display: flex;
}

.top_properties .slick-slide > .tp-slide,
.top_properties .reax-prop-card-link {
  display: flex;
  width: 100%;
  height: 100%;
}

.top_properties .reax-prop-card--top {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: #fff;
  border: 1px solid #dddddd;
}

.top_properties .reax-prop-card--top .reax-prop-card__media {
  height: auto;
  aspect-ratio: 16 / 10;
}

.top_properties .reax-prop-card--top .reax-prop-card__body {
  flex: 1 1 auto;
}

.top_properties .reax-prop-card--top .reax-prop-card__price {
  margin-top: auto;
}

.tp-dots-wrap {
  margin-top: 18px;
}

.tp-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-dots li {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
}

.tp-dots li button {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d0d6;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
}

.tp-dots li.slick-active button {
  background: #111111;
}

.top_properties.is-tp-simple .tp-featured__nav,
.top_properties.is-tp-simple .tp-dots-wrap {
  display: none;
}

.tp-all {
  margin: 36px 0 0;
}

.top_properties .tp-all a {
  background: transparent;
}

.top_properties .tp-all a:hover,
.top_properties .tp-all a:focus {
  color: #fff;
  background: #000;
}

@media (max-width: 767px) {
  .top_properties {
    padding: 60px 20px 20px;
  }

  .tp-head {
    text-align: left;
  }

  .tp-head__kicker {
    justify-content: flex-start;
  }

  .tp-head__lead {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .tp-areas {
    grid-template-columns: 1fr;
  }

  .tp-area {
    height: 200px;
  }

  .tp-area__desc {
    display: none;
  }

  .tp-featured__count {
    display: none;
  }

  .tp-all a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    padding: 0 16px;
    box-sizing: border-box;
  }
}
