/* =============================================================
   PC — 物件一覧ファミリー (list / index / map)
   Clone of cloudestate-tokyo.jp list templates. Original CSS not reused;
   values transcribed from screenshots + computed style (facts, not code).
   Depends on tokens.css / base.css / pc.css (shared header/footer/cards).
   ============================================================= */

/* show the floating reservation tab (pc.css hides it on the top page) */
.reservation-side-link {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  position: fixed; top: 200px; right: 0; z-index: 30; width: 46px; padding: 16px 0 14px;
  background-color: var(--sub-color); color: #fff; border-radius: 6px 0 0 6px;
  box-shadow: var(--box-shadow); writing-mode: vertical-rl; letter-spacing: 4px;
  font-weight: bold; font-size: 15px; gap: 8px;
}
.reservation-side-link .icon { width: 22px; height: 22px; color: #fff; writing-mode: horizontal-tb; }

/* ---------------- breadcrumbs ---------------- */
.breadcrumbs { width: var(--screen-size); margin: 14px auto 0; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--gray-text); }
.breadcrumbs__items { display: flex; align-items: center; }
.breadcrumbs__items:not(:last-child)::after {
  content: "›"; margin: 0 8px; color: var(--gray-text); font-size: 13px;
}
.breadcrumbs__link { color: var(--light-text-color); }
.breadcrumbs__items a.breadcrumbs__link:hover { text-decoration: underline; }
strong.breadcrumbs__link { font-weight: normal; color: var(--gray-text); }

/* ================= LIST PAGE LAYOUT ================= */
.l-page { width: var(--screen-size); margin: auto; padding: 0 0 60px; }
.l-result__header { margin: 14px 0 20px; }
.result__headline { font-size: 24px; font-weight: bold; color: var(--dark-color); line-height: 1.3; }
.l-result__body { display: flex; gap: 40px; align-items: flex-start; }
.l-result__primary { flex: 1; min-width: 0; order: 2; }
.l-result__side { width: 253px; flex: none; order: 1; }

/* ---------- keyword (おすすめのエリア) ---------- */
.result-keyword { margin: 0 0 24px; }
.result-keyword .ui-section-space { padding: 0; }
.keyword {
  background-color: #fff; border: 1px solid var(--border-color); border-radius: 4px; padding: 20px 24px;
}
.keyword__ttl { font-size: 16px; font-weight: bold; margin: 0 0 14px; color: var(--dark-color); }
.keyword__list { display: flex; flex-wrap: wrap; gap: 4px 0; align-items: center; }
.keyword__list li { display: flex; align-items: center; }
.keyword__list li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--border-color); }
.keyword__link { color: #07519A; font-size: 14px; }
.keyword__link:hover { text-decoration: underline; }

/* ---------- result header (count + sort) ---------- */
.result__header { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.result__cnt { font-size: 15px; color: var(--dark-color); font-weight: bold; }
.result__cnt span { font-size: 20px; color: #cc0000; margin: 0 2px; }
.result__select { position: relative; }
.ui-select { position: relative; display: inline-block; }
.ui-select::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--gray-text); border-bottom: 2px solid var(--gray-text);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.result__select select, .orderby {
  appearance: none; -webkit-appearance: none; background: #fff;
  border: 1px solid var(--border-color); border-radius: 4px; height: 40px;
  padding: 0 34px 0 14px; font-size: 14px; color: var(--dark-color); min-width: 150px; font-family: inherit;
}

/* ---------- result list cards ---------- */
.result-list { display: flex; flex-direction: column; gap: 22px; }
.result-list__panel {
  border: 1px solid var(--border-color); border-radius: 4px; background: #fff; overflow: hidden;
}
.result-list__link { display: flex; position: relative; padding: 0 12px 0 0; gap: 15px; color: var(--dark-color); align-items: flex-start; }
.result-list__link:hover { opacity: 1; background: var(--main-heighlight-color); }
.result-list__img { width: 200px; height: 150px; flex: none; border-radius: 3px; position: relative; }
.result-card__overlay { position: absolute; top: 0; left: 0; z-index: 1; display: flex; padding: 8px; }
.result-card__label, .ui-bkn-label {
  background: #fff; border: 1px solid #78909C; border-radius: 50px; padding: 1px 10px; font-size: 10px; color: var(--dark-color);
}
.result-list__info { flex: 1; min-width: 0; display: flex; gap: 12px; }
.result-list__info-left { flex: 1; min-width: 0; }
.result-list__address { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--light-text-color); margin: 0 0 1px; line-height: 1.35; }
.result-list__address .icon { width: 13px; height: 13px; color: var(--main-color); }
.result-card__tn { font-size: 18px; font-weight: bold; margin: 0 0 3px; line-height: 1.2; }
.result-list__cost { display: flex; align-items: baseline; gap: 8px; margin: 0 0 2px; flex-wrap: wrap; }
.result-list__price { color: #cc0000; font-weight: bold; font-size: 15px; }
.result-list__price .price { font-size: 26px; line-height: 1; }
.result-list__kanrikyoeki { font-size: 13px; color: var(--dark-color); font-weight: normal; }
.result-list__text { font-size: 13px; color: var(--dark-color); margin: 0 0 2px; line-height: 1.4; }
.result-list__walk { display: flex; flex-direction: column; gap: 2px; }
.result-list__walk-item { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--dark-color); }
.result-list__walk-item .icon { width: 15px; height: 15px; color: var(--light-text-color); flex: none; }
.result-list__walk-line { font-weight: bold; }
.result-list__walk-eki { font-weight: bold; }
.result-list__info-right { width: 250px; flex: none; }
.md-tag-facility { display: flex; flex-wrap: wrap; gap: 5px; align-content: flex-start; justify-content: flex-end; }
.md-tag-facility__items {
  border: 1px solid var(--border-color); border-radius: 4px; padding: 4px 9px; font-size: 12px;
  color: var(--light-text-color); background: #fff; line-height: 1.1;
}
.result-list__arw { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--gray-text); }
.result-list__arw .icon { width: 20px; height: 20px; }
.result-list__comment { font-size: 13px; color: var(--light-text-color); line-height: 1.6; padding: 0 16px 12px; }
.result-list__more { color: #07519A; margin-left: 4px; }
.result-list__more:hover { text-decoration: underline; }

/* room table */
.empty-list { margin-top: 18px; border-top: 1px solid var(--border-color); overflow-x: auto; }
.empty-list__table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; white-space: nowrap; }
.empty-list__table th {
  background: var(--bg-light-gray); font-weight: normal; font-size: 12px; color: var(--light-text-color);
  padding: 5px 6px; border-right: 1px solid #fff;
}
.empty-list__table td { padding: 5px 8px; border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); color: var(--dark-color); }
.empty-list__table td:last-child, .empty-list__table th:last-child { border-right: 0; }
.empty-list__price .price { color: #cc0000; font-weight: bold; font-size: 16px; }
.empty-list__price { color: #cc0000; font-weight: bold; }
.js-bkncheck { width: 16px; height: 16px; }
.ui-btn--detail_link {
  display: inline-block; background: var(--main-color); color: #fff; border-radius: 4px;
  padding: 4px 10px; font-size: 12px; font-weight: bold; white-space: nowrap;
}
.ui-btn--favorite {
  display: inline-block; border: 1px solid var(--sub-color); color: var(--sub-color); border-radius: 4px;
  padding: 3px 10px; font-size: 12px; font-weight: bold; white-space: nowrap; background: #fff;
}

/* ---------- pager ---------- */
.pager { margin: 30px 0 0; }
.md-pager { display: flex; justify-content: center; align-items: center; gap: 6px; }
.md-pager__list { display: flex; gap: 6px; }
.md-pager__link {
  display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--border-color); border-radius: 4px; background: #fff; color: var(--dark-color); font-size: 14px;
}
.md-pager__link.is-current { background: var(--main-color); color: #fff; border-color: var(--main-color); }
.md-pager__next { gap: 4px; }
.md-pager__next .icon { width: 14px; height: 14px; }

/* ================= FILTER SIDEBAR ================= */
.result__condition { margin: 0 0 8px; }
.md-selected {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid var(--border-color);
}
.md-selected__label { display: flex; align-items: center; gap: 5px; font-weight: bold; font-size: 15px; min-width: 0; }
.md-selected__label .icon { width: 16px; height: 16px; color: var(--main-color); flex: none; }
.select-search-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-selected__btn {
  min-height: 0; height: 30px; min-width: 54px; padding: 0 12px; font-size: 13px; flex: none;
  border-radius: 4px; color: var(--light-text-color);
}
.result-form { }
.side-fs { border: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid #E4E4E4; }
.side-fs--rows { padding: 8px 0; border-bottom: 0; }
.side-fs__ttl { font-size: 15px; font-weight: bold; color: var(--dark-color); margin: 0 0 10px; padding: 0; display: flex; align-items: center; justify-content: space-between; }
.side-fs__ttl--add { }
.side-add { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: normal; color: var(--light-text-color); }
.side-add .icon { width: 14px; height: 14px; }
.side-check-list { display: flex; flex-direction: column; gap: 8px; }
.side-check-list--wrap { flex-direction: row; flex-wrap: wrap; gap: 10px 14px; }
.side-check-list--wrap li { width: auto; }
.side-check-list--2col { flex-direction: row; flex-wrap: wrap; gap: 12px 0; }
.side-check-list--2col li { width: 50%; }
.side-check-list--rows { gap: 8px; }
.side-check { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; color: var(--dark-color); }
.side-check input { width: 16px; height: 16px; flex: none; accent-color: var(--main-color); }
.side-check--row {
  border: 1px solid var(--border-color); border-radius: 4px; padding: 10px 12px; font-size: 14px; background: #fff;
}
.side-select select {
  appearance: none; -webkit-appearance: none; width: 100%; background: #fff;
  border: 1px solid var(--border-color); border-radius: 4px; height: 40px; padding: 0 30px 0 12px;
  font-size: 13px; color: var(--dark-color); font-family: inherit;
}
.side-select { width: 100%; }
.side-range { display: flex; align-items: center; gap: 8px; }
.side-range .side-select { flex: 1; }
.side-range__sep { color: var(--gray-text); }
.side-radio-list { display: flex; flex-wrap: wrap; gap: 12px 0; }
.side-radio-list li { width: 50%; }
.side-radio { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.side-radio input { width: 16px; height: 16px; accent-color: var(--main-color); }
.side-sub { font-size: 14px; font-weight: bold; margin: 0 0 10px; color: var(--dark-color); }
.search-result { margin: 16px 0 12px; text-align: center; }
.search-result__text { font-size: 14px; color: var(--dark-color); }
.search-result__text span { font-size: 22px; color: #cc0000; font-weight: bold; margin: 0 3px; }
.side-search-btn {
  display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 6px;
  background: var(--sub-color); color: #fff; font-weight: bold; font-size: 15px;
}

/* ---------- related search links ---------- */
.search-link { margin: 40px 0 0; }
.search-link_title { font-size: 16px; font-weight: bold; margin: 0 0 12px; padding: 0 0 8px; border-bottom: 2px solid var(--main-color); }
.search-link__list { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.search-link__item a { display: inline-block; color: #07519A; font-size: 14px; }
.search-link__item a:hover { text-decoration: underline; }

/* ================= INDEX PAGE (area / ensen selectors + refine form) ================= */
.l-index { padding-top: 0; }
.l-index__header { margin: 14px 0 18px; }
.index__headline { font-size: 27px; font-weight: bold; color: var(--dark-color); }
.index__lead { font-size: 14px; color: var(--light-text-color); margin: 6px 0 0; }
.index__selector { margin: 0 0 40px; }
.acc-block { margin: 0; border: 1px solid var(--border-color); }
.acc-block + .acc-block { border-top: 0; }
.acc-head {
  display: flex; align-items: center; gap: 8px; background: var(--bg-light-gray);
  padding: 11px 16px; font-size: 15px; color: var(--light-text-color); border-bottom: 1px solid var(--border-color);
}
.acc-head-name { font-weight: normal; flex: 1; }
.acc-head-arw .icon { width: 18px; height: 18px; color: var(--gray-text); }
.acc-check, .acc-cell-check { width: 16px; height: 16px; border: 1px solid var(--dark-border-color); border-radius: 2px; background: #fff; flex: none; }
.acc-body { display: grid; grid-template-columns: repeat(4, 1fr); }
.acc-cell { border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.acc-cell:nth-child(4n) { border-right: 0; }
.acc-cell--empty { min-height: 100%; }
.acc-cell a, .acc-cell label { display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: 14px; color: var(--dark-color); cursor: pointer; }
.acc-cell a:hover { background: var(--main-heighlight-color); }

/* refine form */
.rf-wrap { margin: 0 0 20px; }
.rf-heading { font-size: 17px; font-weight: bold; color: var(--dark-color); margin: 0 0 14px; }
.rf-table { border: 1px solid var(--border-color); border-top: 2px solid var(--main-color); }
.rf-row { display: flex; border-bottom: 1px solid var(--border-color); }
.rf-row:last-child { border-bottom: 0; }
.rf-th { width: 180px; flex: none; background: var(--main-heighlight-color); padding: 16px 20px; font-size: 15px; font-weight: bold; color: var(--dark-color); }
.rf-td { flex: 1; padding: 14px 20px; min-width: 0; }
.rf-pill-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rf-pill-list--mt { margin-top: 10px; }
.rf-pill {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--border-color); border-radius: 4px;
  padding: 9px 12px; font-size: 14px; background: #fff; cursor: pointer; color: var(--dark-color);
}
.rf-pill input { width: 16px; height: 16px; flex: none; accent-color: var(--main-color); }
.rf-pill.is-checked { background: #2F6FB0; border-color: #2F6FB0; color: #fff; }
.rf-pill.is-checked input { accent-color: #fff; }
.rf-range { display: flex; align-items: center; gap: 10px; max-width: 480px; }
.rf-select { flex: 1; }
.rf-select select {
  appearance: none; -webkit-appearance: none; width: 100%; background: #fff;
  border: 1px solid var(--border-color); border-radius: 4px; height: 40px; padding: 0 32px 0 14px;
  font-size: 14px; color: var(--light-text-color); font-family: inherit;
}
.rf-subttl { font-size: 14px; font-weight: bold; color: var(--dark-color); margin: 16px 0 10px; }
.rf-subttl--first { margin-top: 0; }
.rf-radio-list { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.rf-radio { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.rf-radio input { width: 16px; height: 16px; accent-color: var(--main-color); }
.rf-submit-wrap { text-align: center; margin: 30px 0 0; }
.rf-submit {
  display: inline-flex; align-items: center; justify-content: center; min-width: 320px; height: 54px;
  background: var(--sub-color); color: #fff; font-weight: bold; font-size: 17px; border-radius: 6px;
}

/* ================= MAP SHELL ================= */
.l-map-shell .acc-body .acc-cell a { justify-content: flex-start; }

/* ================= MAP LIVE ================= */
.l-map { display: flex; height: calc(100vh - 128px); min-height: 620px; }
.breadcrumbs--map { display: none; }
.map-canvas {
  flex: 1; position: relative; overflow: hidden;
  background: #e8e6e1;
}
.map-canvas__roads {
  position: absolute; inset: 0; opacity: .8;
  background-image:
    linear-gradient(90deg, transparent 0 18%, #f4f2ee 18% 22%, transparent 22%),
    linear-gradient(90deg, transparent 0 52%, #f7f5f1 52% 55%, transparent 55%),
    linear-gradient(90deg, transparent 0 78%, #f4f2ee 78% 81%, transparent 81%),
    linear-gradient(0deg, transparent 0 26%, #f4f2ee 26% 29%, transparent 29%),
    linear-gradient(0deg, transparent 0 62%, #f7f5f1 62% 66%, transparent 66%),
    linear-gradient(35deg, transparent 0 40%, #efece7 40% 43%, transparent 43%),
    radial-gradient(circle at 30% 22%, #dfe7d6 0 90px, transparent 92px),
    radial-gradient(circle at 62% 70%, #d8e3ea 0 70px, transparent 72px);
}
.map-pin {
  position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #2F6FB0;
  color: #fff; display: grid; place-items: center; font-weight: bold; font-size: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,.35); border: 2px solid #fff; z-index: 2;
}
.map-pin--a { top: 300px; left: 180px; }
.map-pin--b { top: 500px; left: 780px; }
.map-zoom { position: absolute; right: 14px; bottom: 90px; display: flex; flex-direction: column; box-shadow: var(--box-shadow); border-radius: 3px; overflow: hidden; z-index: 3; }
.map-zoom button { width: 38px; height: 38px; background: #fff; font-size: 20px; color: #555; }
.map-zoom button + button { border-top: 1px solid #e0e0e0; }
.map-watermark { position: absolute; left: 12px; bottom: 10px; font-size: 13px; color: #7a7a7a; font-family: Arial, sans-serif; z-index: 2; }
.map-panel { width: 344px; flex: none; background: #fff; box-shadow: -2px 0 8px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.map-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-color); flex: none; }
.map-panel__cond { border: 1px solid var(--border-color); border-radius: 4px; padding: 8px 14px; font-size: 13px; color: var(--dark-color); background: #fff; }
.map-panel__close { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--light-text-color); }
.map-panel__close .icon { width: 14px; height: 14px; }
.map-bkn__list { flex: 1; overflow-y: auto; }
.map-bkn__group { border-bottom: 1px solid var(--border-color); }
.map-bkn__header { display: flex; gap: 12px; padding: 14px 16px 10px; color: var(--dark-color); }
.map-bkn__img { width: 84px; height: 84px; flex: none; border-radius: 3px; }
.map-bkn__body { flex: 1; min-width: 0; }
.map-bkn__type { display: inline-block; border: 1px solid #78909C; border-radius: 50px; padding: 1px 9px; font-size: 10px; margin: 0 0 4px; }
.map-bkn__name { font-size: 15px; font-weight: bold; margin: 0 0 5px; line-height: 1.3; }
.map-bkn__info { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--light-text-color); margin: 0 0 2px; }
.map-bkn__info .icon { width: 13px; height: 13px; color: var(--main-color); flex: none; }
.map-bkn__room { display: flex; align-items: center; gap: 10px; padding: 12px 16px; position: relative; color: var(--dark-color); }
.map-bkn__price { color: #cc0000; font-weight: bold; font-size: 14px; flex: none; }
.map-bkn__price .price { font-size: 20px; }
.map-bkn__spec { font-size: 12px; color: var(--dark-color); }
.map-bkn__arw { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-text); }
.map-bkn__arw .icon { width: 18px; height: 18px; }

/* ================= cookie sticky (bottom) ================= */
.cokkie_footer_sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(0,0,0,.82);
  display: flex; align-items: center; justify-content: center; gap: 15px; padding: 14px 20px;
}
.cookie_accept_left span { color: #fff; font-size: 13px; }
.cookie_accept_left a { color: #fff; text-decoration: underline; font-weight: bold; }
.cookie_accept_close { background: #fff; color: rgba(0,0,0,.8); font-weight: bold; font-size: 13px; min-width: 90px; height: 32px; padding: 0 14px; border-radius: 2px; }

.sr-header-logo { margin: 0; }

/* guard: batch D's common.js injects a #js-drawer.ce-drawer at runtime; its
   open/close styling lives in batch D's stylesheet. Keep it hidden by default
   here so the injected node never leaks into a drawer-closed (first-paint)
   render on these pages. */
.ce-drawer:not(.is-open) { display: none !important; }
