/*
  file: overrides-final.css
  scope: global (last loaded)
  purpose:
  - emergency final overrides
  - comment why/where/when for each new rule
  note:
  - avoid growing this file continuously
*/

/* reason: TOP新着で旧property-card系指定と競合し building-card が縦伸びするため（スマホ中心） */
@media (max-width: 759px) {
  body.site-theme-conversion .tp-home-new .property-grid.tp-home-new__grid > .building-card {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  body.site-theme-conversion .tp-home-new .property-grid.tp-home-new__grid .building-card__photo,
  body.site-theme-conversion .tp-home-new .property-grid.tp-home-new__grid .building-card__photo img {
    height: auto !important;
    max-height: none !important;
  }

  /* reason: 実DOM(#list.tp-home-new__grid > .building-card)に合わせた最終固定（スマホ） */
  body.site-theme-conversion #list.tp-home-new__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid > .building-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-card__head {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-card__photo {
    width: 220px !important;
    height: 150px !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-card__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .building-rooms {
    padding: 8px 12px 12px !important;
  }

  body.site-theme-conversion #list.tp-home-new__grid .room-row {
    min-height: 0 !important;
    height: auto !important;
  }

  /* reason: TOP新着の #list.property-grid.tp-home-new__grid だけ旧多列グリッドを解除（スマホ） */
  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid > .building-card,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid > .building-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid .building-card__head,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid .building-card__head {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid .building-card__photo,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid .building-card__photo {
    width: 260px !important;
    height: 180px !important;
    min-height: 0 !important;
  }

  /* =========================================
     TOP 新着物件: 横スクロール崩れ完全解除（スマホのみ）
  ========================================= */

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  body.site-theme-conversion .tp-home-new #list.property-grid.tp-home-new__grid > .building-card,
  body.site-theme-conversion section#list.property-grid.tp-home-new__grid > .building-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    writing-mode: horizontal-tb !important;
    overflow: hidden !important;
  }

  body.site-theme-conversion .tp-home-new .building-card__head {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 18px !important;
  }

  body.site-theme-conversion .tp-home-new .building-card__info,
  body.site-theme-conversion .tp-home-new .building-card__title,
  body.site-theme-conversion .tp-home-new .building-card__meta {
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* 物件詳細ギャラリー：横長枠 + contain（全体表示優先） pd-gallery-landscape 20260711 */
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__stage-core,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-hero-stage,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__stage-core,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-hero-stage {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  background: #f4f6f8 !important;
}

body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap.is-floorplan,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell.is-floorplan,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap.is-floorplan,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell.is-floorplan,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-hero-stage:has(.is-floorplan),
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-hero-stage:has(.is-floorplan) {
  background: #fff !important;
}

body.site-theme-conversion .pd-property-detail .tp-property-gallery #main-image,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-img,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-img,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery #main-image,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-img,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-img,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap > img,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell > img,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap > img,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image {
  transform: none !important;
}

body.site-theme-conversion .pd-property-detail .pd-detail-media-block #main-image,
body.site-theme-conversion .pd-inner--tp-detail .pd-detail-media-block #main-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* 検索一覧（/test/search/）: 枠内に収める・縦横比維持（cover/拡大系は一旦使わない） */
body.site-theme-conversion .tp-search-results img,
body.site-theme-conversion .search-result-card img,
body.site-theme-conversion .tp-list-card img,
body.site-theme-conversion .room-row__thumb img,
body.site-theme-conversion .list-card-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

body.site-theme-conversion .tp-search-results .search-result-card__photo:not(.js-card-slider),
body.site-theme-conversion .tp-search-results .tp-list-card__photo:not(.js-card-slider),
body.site-theme-conversion .tp-search-results .list-card-thumb:not(.js-card-slider),
body.site-theme-conversion .tp-search-results .thumb-wrap:not(.js-card-slider) {
  overflow: hidden !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 号室サムネ: 従来どおり白ベース（建物枠の背景緩和の対象外） */
body.site-theme-conversion .tp-search-results .room-row__thumb:not(.js-card-slider) {
  overflow: hidden !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* スライダー枠: 矢印は absolute 重ねのため flex 横並びにしない */
body.site-theme-conversion .tp-search-results .list-card-thumb.js-card-slider,
body.site-theme-conversion .tp-search-results .thumb-wrap.js-card-slider {
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  background: #f8fafc !important;
}

/* 検索一覧: building-card 外観スロット — スライダー時は block、単一枚は従来 flex 中央 */
body.site-theme-conversion .tp-search-results .building-card__photo:not(.js-card-slider) {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
}

body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
}

body.site-theme-conversion .tp-search-results .tp-list-card__photo.js-card-slider,
body.site-theme-conversion .tp-search-results .search-result-card__photo.js-card-slider {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc !important;
}

body.site-theme-conversion .tp-search-results .building-card__photo > img,
body.site-theme-conversion .tp-search-results .building-card__photo > img[data-card-slide-img],
body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider .card-photo-slider-inner > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* 号室サムネ: スライダー矢印は非表示（建物外観 .building-card__photo は対象外） */
body.site-theme-conversion .tp-search-results .room-row__thumb .card-photo-nav,
body.site-theme-conversion .tp-search-results .room-row__thumb .list-card-img-nav {
  display: none !important;
}

body.site-theme-conversion .tp-search-results .room-row__thumb {
  cursor: zoom-in;
}

body.site-theme-conversion .tp-search-results .room-row__thumb img {
  object-fit: contain !important;
}

/* 号室サムネ拡大: 小型プレビュー（検索・一覧共通 #roomThumbPreviewRoot） */
.search-list-room-lightbox {
  position: fixed;
  inset: 0;
  z-index: 11040;
  box-sizing: border-box;
  background: transparent;
}

.search-list-room-lightbox[hidden] {
  display: none !important;
}

.search-list-room-lightbox:not([hidden]) {
  display: block;
}

.search-list-room-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
}

.search-list-room-lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  margin: 0;
  padding: 4px 12px;
  font-size: 1.5rem;
  line-height: 1;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.search-list-room-lightbox__inner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, 86vw);
  max-height: 70vh;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  z-index: 2;
}

.search-list-room-lightbox--modal .search-list-room-lightbox__inner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.search-list-room-lightbox--hover .search-list-room-lightbox__inner {
  left: auto;
  top: auto;
  transform: none;
}

.search-list-room-lightbox__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(70vh - 20px);
  box-sizing: border-box;
}

.search-list-room-lightbox__img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(70vh - 24px);
  height: auto;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
  transform: none !important;
  box-sizing: border-box;
}

.search-list-room-lightbox__img.is-floorplan {
  object-fit: contain !important;
  background: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  .search-list-room-lightbox--hover {
    background: transparent !important;
    pointer-events: none !important;
  }

  .search-list-room-lightbox--hover .search-list-room-lightbox__backdrop {
    display: none !important;
  }

  .search-list-room-lightbox--hover .search-list-room-lightbox__close {
    display: none !important;
  }

  .search-list-room-lightbox--hover .search-list-room-lightbox__inner {
    pointer-events: none;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
  }
}
/* PC: 検索一覧の建物ブロック写真枠を拡大（list-cards と併用。flex 系の固定高に負けないよう最終上書き） */
@media (min-width: 901px) {
  body.site-theme-conversion .tp-search-results .building-card__head {
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body.site-theme-conversion .tp-search-results .building-card__photo,
  body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider {
    min-height: 220px !important;
  }
}

/* 一覧・検索: カード画像スライダー矢印は画像の外側（3列 grid） */
body.site-theme-conversion .tp-search-results .building-card__photo.js-card-slider,
body.site-theme-conversion .building-card__photo.js-card-slider,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider,
body.site-theme-conversion .tp-list-card__photo.js-card-slider,
body.site-theme-conversion .search-result-card__photo.js-card-slider {
  position: relative !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  overflow: visible !important;
}

body.site-theme-conversion .card-photo-slider-inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

body.site-theme-conversion .building-card__photo.js-card-slider .card-photo-slider-inner > img[data-card-slide-img],
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider .card-photo-slider-inner > img[data-card-slide-img],
body.site-theme-conversion .tp-list-card__photo.js-card-slider .card-photo-slider-inner > img[data-card-slide-img],
body.site-theme-conversion .search-result-card__photo.js-card-slider .card-photo-slider-inner > img[data-card-slide-img] {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

body.site-theme-conversion .building-card__photo.js-card-slider > .card-photo-nav,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider > .card-photo-nav,
body.site-theme-conversion .tp-list-card__photo.js-card-slider > .card-photo-nav,
body.site-theme-conversion .search-result-card__photo.js-card-slider > .card-photo-nav,
body.site-theme-conversion .building-card__photo.js-card-slider > .list-card-img-nav,
body.site-theme-conversion .thumb-wrap.list-card-thumb.js-card-slider > .list-card-img-nav {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* -----------------------------------------------------------------
   条件検索(C)/駅(D)/エリア(E) 一覧カードスライダーの最終決定（正本は list-cards.css §一覧カード UX 2026-07）
   overrides-final.css は list-cards.css より後に読み込まれ、上の 3 列 grid・矢印 relative の !important が
   list-cards.css の新設計を打ち消していた。ここで C/D/E スコープに限り新設計（単列 grid + absolute 矢印）へ揃える。
   B（掲載中一覧）・号室サムネ・別テンプレは上の汎用ルールを維持する。
----------------------------------------------------------------- */
body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
  overflow: hidden !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider .card-photo-slider-inner,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider .card-photo-slider-inner {
  grid-column: 1 !important;
  width: 100% !important;
  height: 100% !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider > .card-photo-nav,
body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider > .list-card-img-nav,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider > .card-photo-nav,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider > .list-card-img-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  grid-column: unset !important;
  justify-self: unset !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider > .card-photo-nav--prev,
body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider > .list-card-img-nav--prev,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider > .card-photo-nav--prev,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider > .list-card-img-nav--prev {
  left: 6px !important;
  right: auto !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider > .card-photo-nav--next,
body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider > .list-card-img-nav--next,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider > .card-photo-nav--next,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card__photo.js-card-slider > .list-card-img-nav--next {
  right: 6px !important;
  left: auto !important;
}

/* -----------------------------------------------------------------
   条件検索(C)/駅(D)/エリア(E) 物件カード本体 — DOM 統一後の最終レイアウト（横長コンパクト）
   正本セレクタ: .property-grid.property-grid--station（3 ルート共通）
----------------------------------------------------------------- */
body.site-theme-conversion .property-grid.property-grid--station {
  gap: 28px !important;
}

body.site-theme-conversion .property-grid.property-grid--station > .building-card--listing {
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(15, 23, 42, 0.05);
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__head {
  padding: 12px 14px;
  border-bottom: 1px solid #e8edf4;
  background: #fff;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-rooms {
  padding: 8px 10px 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing {
  margin: 0 0 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing:last-child {
  margin-bottom: 0;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-value {
  color: #dc2626 !important;
  font-weight: 800 !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider:not(.is-floorplan) .card-photo-slider-inner img[data-card-slide-img]:not(.is-floorplan),
body.site-theme-conversion .property-grid.property-grid--station .building-card__photo.js-card-slider:not(.is-floorplan) .card-photo-slider-inner img.list-card-image:not(.is-floorplan) {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (min-width: 901px) {
  /* BuildingListCard listing v7: 部屋行グリッドは list-cards.css 正本（8列） */
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__head {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 8px 10px !important;
    align-items: center !important;
  }

  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__photo,
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__photo.js-card-slider {
    min-height: 0 !important;
    max-height: 118px !important;
    height: auto !important;
    align-self: center !important;
  }
}

/* 件数サマリー（該当 / 掲載中）— C/D/E 共通 */
body.site-theme-conversion .tp-search-page .tp-list-count-summary,
body.site-theme-conversion .tp-station-page .tp-list-count-summary,
body.site-theme-conversion .tp-area-route .tp-list-count-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 10px 0 0;
  padding: 10px 14px;
  border: 1px solid #b8dfc8;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 55%, #e8f8ef 100%);
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.08);
  max-width: 400px;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__cell,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__cell,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__cell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__icon,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__icon,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  line-height: 0;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__icon img,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__icon img,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__icon img {
  display: block;
  width: auto;
  height: 1.15em;
  max-height: 22px;
  max-width: 28px;
  object-fit: contain;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__cell--published,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__cell--published,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__cell--published {
  justify-content: flex-end;
  text-align: right;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__lead,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__lead,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__lead {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #166534;
}

body.site-theme-conversion .tp-list-count-summary__num,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__num,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__num {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__cell--matched .tp-list-count-summary__num,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__cell--matched .tp-list-count-summary__num,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__cell--matched .tp-list-count-summary__num {
  color: #dc2626;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__cell--published .tp-list-count-summary__num,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__cell--published .tp-list-count-summary__num,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__cell--published .tp-list-count-summary__num {
  color: #14532d;
}

body.site-theme-conversion .tp-search-page .tp-list-count-summary__suffix,
body.site-theme-conversion .tp-station-page .tp-list-count-summary__suffix,
body.site-theme-conversion .tp-area-route .tp-list-count-summary__suffix {
  font-size: 0.875rem;
  font-weight: 700;
  color: #166534;
}

@media (max-width: 480px) {
  body.site-theme-conversion .tp-search-page .tp-list-count-summary,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 8px;
    width: 100%;
    max-width: none;
    padding: 7px 10px;
    box-sizing: border-box;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__cell,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__cell,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__cell {
    flex: 1 1 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 2px 3px;
    min-width: 0;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__icon,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__icon,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__icon {
    flex-shrink: 0;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__icon img,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__icon img,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__icon img {
    max-height: 16px;
    max-width: 18px;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__lead,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__lead,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__lead {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__num,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__num,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__num {
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__suffix,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__suffix,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__suffix {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }

  body.site-theme-conversion .tp-search-page .tp-list-count-summary__cell--published,
  body.site-theme-conversion .tp-station-page .tp-list-count-summary__cell--published,
  body.site-theme-conversion .tp-area-route .tp-list-count-summary__cell--published {
    justify-content: flex-end;
  }
}

body.site-theme-conversion .tp-search-page .tp-search-hero__count,
body.site-theme-conversion .tp-station-page .tp-search-hero__count,
body.site-theme-conversion .tp-area-route .tp-search-hero__count {
  margin: 0;
}

/* クイックチップ — 折り返し・コンパクト */
body.site-theme-conversion .tp-search-page .tp-search-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* 物件カード — 見出し・種別バッジ・家賃行・間取り強調 */
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em;
  color: #0f172a !important;
  margin: 0 0 6px !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title-accent {
  display: block;
  width: 72px;
  max-width: 72px;
  flex: 0 0 72px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge--on-photo {
  top: 10px;
  left: 10px;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__meta--type {
  display: none !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge-label {
  display: none;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge--mansion {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1e40af;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge--apartment {
  border-color: #86efac;
  background: #ecfdf5;
  color: #166534;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge--terrace {
  border-color: #e9d5ff;
  background: #faf5ff;
  color: #7e22ce;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__type-badge--house {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 4px 0 2px;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent {
  margin: 0 !important;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-value {
  color: #dc2626 !important;
  font-weight: 900 !important;
  font-size: clamp(26px, 2.25vw, 32px) !important;
  line-height: 1 !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-suffix {
  color: #dc2626 !important;
  font-weight: 700 !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__mgmt-inline {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__sub--fees {
  margin: 2px 0 4px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__fee-pill {
  font-size: 0.75rem !important;
  padding: 2px 8px !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__layout-em {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d4ed8;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__area-em {
  font-weight: 700;
  color: #0f172a;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__spec {
  margin: 2px 0 0 !important;
  font-size: 0.875rem;
  color: #475569;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__tags {
  margin: 2px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 建物見出し: 種別バッジ下のタグ（駅近・新着等） */
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__room-tags,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__room-tags,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}

/* 号室行: 情報チップ（敷金・礼金・間取り・面積・階数） */
body.site-theme-conversion .tp-search-page .tp-search-results .room-row--listing .room-row__chip,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .room-row--listing .room-row__chip,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: #334155;
  white-space: nowrap;
}

body.site-theme-conversion .tp-search-page .tp-search-results .room-row--listing .room-row__chip--layout,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .room-row--listing .room-row__chip--layout,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__chip--layout {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}

body.site-theme-conversion .tp-search-page .tp-search-results .room-row--listing .room-row__chip--deposit,
body.site-theme-conversion .tp-search-page .tp-search-results .room-row--listing .room-row__chip--key,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .room-row--listing .room-row__chip--deposit,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .room-row--listing .room-row__chip--key,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__chip--deposit,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__chip--key {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

@media (max-width: 900px) {
  body.site-theme-conversion .tp-search-page .tp-search-results .room-row--listing .room-row__body,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .room-row--listing .room-row__body,
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  body.site-theme-conversion .tp-search-page .tp-search-results .room-row--listing .room-row__chips,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .room-row--listing .room-row__chips,
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* reason: 実機 iPhone Safari — 物件詳細ギャラリーは property-detail.css pd-gallery-landscape と同期（contain・横長枠） */
@media (max-width: 900px) {
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__stage-core,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-hero-stage,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__stage-core,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-hero-stage {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
  }

  body.site-theme-conversion .pd-property-detail .tp-property-gallery #main-image,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-img,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-img,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery #main-image,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-img,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-img,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap > img,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .tp-property-gallery__main-cell > img,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap > img,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .tp-property-gallery__main-cell > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 !important;
  }
}

/* listing-v17-tone 20260716 — 敷礼の可読性とサイト配色にCTAを統一 */
body.site-theme-conversion .room-row--listing .room-row__fee-card-label {
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

body.site-theme-conversion .room-row--listing .room-row__fee-card-value,
body.site-theme-conversion .room-row--listing .room-row__fee-card-num {
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;
  letter-spacing: 0 !important;
}

body.site-theme-conversion .room-row--listing .room-row__fee-card-num {
  font-size: 16px !important;
}

body.site-theme-conversion .building-card--member-teaser .building-card__member-cta-register,
body.site-theme-conversion .building-card--member-teaser .building-card__member-cta-view {
  border: 1px solid #65a30d !important;
  background: #65a30d !important;
  color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(77, 124, 15, 0.2) !important;
}

body.site-theme-conversion .building-card--member-teaser .building-card__member-cta-register:hover,
body.site-theme-conversion .building-card--member-teaser .building-card__member-cta-view:hover {
  border-color: #4d7c0f !important;
  background: #4d7c0f !important;
}

body.site-theme-conversion .room-row--listing .room-row__col--cta .list-cta--line,
body.site-theme-conversion .room-row--listing .room-row__col--cta .list-cta--detail-sub {
  border-color: #65a30d !important;
  background: #65a30d !important;
  color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(77, 124, 15, 0.18) !important;
}

body.site-theme-conversion .room-row--listing .room-row__col--cta .list-cta--line:hover,
body.site-theme-conversion .room-row--listing .room-row__col--cta .list-cta--detail-sub:hover {
  border-color: #4d7c0f !important;
  background: #4d7c0f !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {

  body.site-theme-conversion .pd-property-detail #main-image.is-floorplan,
  body.site-theme-conversion .pd-property-detail .pd-main-img.is-floorplan,
  body.site-theme-conversion .pd-inner--tp-detail #main-image.is-floorplan,
  body.site-theme-conversion .pd-inner--tp-detail .pd-main-img.is-floorplan {
    max-width: 98% !important;
    max-height: 98% !important;
    object-fit: contain !important;
  }

  body.site-theme-conversion .pd-property-detail .pd-main-img:hover,
  body.site-theme-conversion .pd-property-detail #main-image:hover,
  body.site-theme-conversion .pd-inner--tp-detail .pd-main-img:hover,
  body.site-theme-conversion .pd-inner--tp-detail #main-image:hover,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
  body.site-theme-conversion .pd-property-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover .pd-main-img,
  body.site-theme-conversion .pd-inner--tp-detail .tp-property-gallery .pd-main-slide-wrap:hover #main-image {
    transform: none !important;
  }

  body.site-theme-conversion .pd-property-detail .pd-fv-catch-copy,
  body.site-theme-conversion .pd-inner--tp-detail .pd-fv-catch-copy {
    display: block !important;
    margin-top: 12px !important;
  }

  body.site-theme-conversion .pd-property-detail .pd-fv-catch-band,
  body.site-theme-conversion .pd-inner--tp-detail .pd-fv-catch-band {
    display: block !important;
  }
}

/* reason: 管理費ラベルと金額が space-between で離れすぎる（スマホ Safari） */
body.site-theme-conversion .pd-property-detail .pd-price-row--sub,
body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
}

body.site-theme-conversion .pd-property-detail .pd-price-row--sub .pd-price-row__k,
body.site-theme-conversion .pd-property-detail .pd-price-row--sub .pd-price-row__v,
body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub .pd-price-row__k,
body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub .pd-price-row__v {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

@media (max-width: 640px) {
  body.site-theme-conversion .pd-property-detail .pd-price-row--sub,
  body.site-theme-conversion .pd-inner--tp-detail .pd-price-row--sub {
    gap: 6px !important;
  }
}

/* ===== TOP ヒーロー: 推奨 1920×800（2.4:1）— styles.css の固定 min-height を上書き ===== */
body.site-theme-conversion:not(.tp-view-all) .tp-home-hero__visual {
  aspect-ratio: 1920 / 800 !important;
  min-height: unset !important;
  max-height: none !important;
  height: auto !important;
}

body.site-theme-conversion:not(.tp-view-all) .tp-hero-overlay {
  min-height: unset !important;
  height: 100% !important;
}

/* listing-v9.3-final — 賃料「/ 月」を1行・黒（本ファイルは HTML 上 list-cards より後に読込） */
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-line,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .room-row--listing .room-row__rent-line,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .room-row--listing .room-row__rent-line {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 4px !important;
  white-space: nowrap !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-suffix,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .room-row--listing .room-row__rent-suffix,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .room-row--listing .room-row__rent-suffix {
  display: inline !important;
  margin-top: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  vertical-align: baseline !important;
}

/* listing-v9.5-polish — 物件名サイズ・太さ（station 見出し clamp / v9.4 より後勝ち） */
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__summary-line--title .building-card__title,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__summary-line--title .building-card__title,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__summary-line--title .building-card__title {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title.building-card__title--long,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__title.building-card__title--long,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__title.building-card__title--long {
  font-size: 20px !important;
}

body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title.building-card__title--xlong,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__title.building-card__title--xlong,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__title.building-card__title--xlong {
  font-size: 18px !important;
}

/* listing-v9.6-typography — 物件名太さ・字間（v9.5 より後勝ち） */
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__summary-line--title .building-card__title,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__summary-line--title .building-card__title,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__summary-line--title .building-card__title,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title.building-card__title--long,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__title.building-card__title--long,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__title.building-card__title--long,
body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title.building-card__title--xlong,
body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__title.building-card__title--xlong,
body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__title.building-card__title--xlong {
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

/* listing-v10.2-mobile-brush — SP 物件名 2行・v9.5 nowrap 解除（list-cards より後勝ち） */

@media (max-width: 900px) {
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__summary-line--title .building-card__title,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__summary-line--title .building-card__title,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__summary-line--title .building-card__title,
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__listing-top .building-card__title,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__listing-top .building-card__title,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__listing-top .building-card__title {
    font-size: clamp(17px, 4.4vw, 19px) !important;
    line-height: 1.32 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title.building-card__title--long,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__title.building-card__title--long,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__title.building-card__title--long {
    font-size: clamp(16px, 4.1vw, 18px) !important;
  }

  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .building-card__title.building-card__title--xlong,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .building-card__title.building-card__title--xlong,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .building-card__title.building-card__title--xlong {
    font-size: clamp(15px, 3.8vw, 17px) !important;
  }
}

/* listing-v12-mobile-finish — SP 賃料サイズ（overrides-final 内の station 26px より後勝ち） */

@media (max-width: 900px) {
  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-value,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .room-row--listing .room-row__rent-value,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .room-row--listing .room-row__rent-value {
    font-size: clamp(34px, 9.2vw, 36px) !important;
    font-weight: 800 !important;
    line-height: 0.95 !important;
    color: #dc2626 !important;
  }

  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-unit,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .room-row--listing .room-row__rent-unit,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .room-row--listing .room-row__rent-unit {
    font-size: 16px !important;
    color: #dc2626 !important;
  }

  body.site-theme-conversion .property-grid.property-grid--station .building-card--listing .room-row--listing .room-row__rent-suffix,
  body.site-theme-conversion .tp-search-page .tp-search-results .building-card--listing .room-row--listing .room-row__rent-suffix,
  body.site-theme-conversion .property-grid:not(.tp-home-new__grid) .building-card--listing .room-row--listing .room-row__rent-suffix {
    font-size: 13px !important;
    color: #0f172a !important;
  }
}

/* reason: 2026-07-18 TOP新着家賃が styles.css の
   .property-grid:not(.property-grid--station) ... .list-rent { color:#1f2937 !important }
   に負けるため、最終上書き（TOPグリッドのみ）。管理費は赤にしない。 */
body.site-theme-conversion .tp-home-new section#list.property-grid.tp-home-new__grid > .property-card.property-card--top > .list-card-info > .list-card-body > .list-card-pricebar .list-rent,
body.site-theme-conversion .tp-home-new section#list.property-grid.tp-home-new__grid > .property-card.property-card--top > .list-card-info > .list-card-body > .list-card-pricebar .list-rent__num,
body.site-theme-conversion .tp-home-new .tp-home-new__grid.property-grid > .property-card.property-card--top .list-rent,
body.site-theme-conversion .tp-home-new .tp-home-new__grid.property-grid > .property-card.property-card--top .list-rent__num {
  color: #dc2626 !important;
  font-weight: 900 !important;
}

body.site-theme-conversion .tp-home-new section#list.property-grid.tp-home-new__grid > .property-card.property-card--top > .list-card-info > .list-card-body > .list-card-pricebar .list-rent__unit,
body.site-theme-conversion .tp-home-new .tp-home-new__grid.property-grid > .property-card.property-card--top .list-rent__unit {
  color: #dc2626 !important;
  font-size: 0.62em !important;
  font-weight: 700 !important;
}

body.site-theme-conversion .tp-home-new section#list.property-grid.tp-home-new__grid > .property-card.property-card--top > .list-card-info > .list-card-body > .list-card-pricebar .list-mgmt,
body.site-theme-conversion .tp-home-new .tp-home-new__grid.property-grid > .property-card.property-card--top .list-mgmt {
  color: #6b7280 !important;
}
