/* =============================================================
   PC layout  (viewport >= 1140, reference capture @ 1440)
   Clone of cloudestate-tokyo.jp top page — original CSS not reused.
   ============================================================= */

/* ---------- layout shell ---------- */
.l-wrapper { min-width: var(--screen-size); }
.l-contents { overflow: hidden; }
.l-main { width: var(--screen-size); margin: auto; padding: 0 0 96px; }

/* full-bleed helper (spans full viewport, content stays centered).
   margin-bottom is 0 on the live site (vertical rhythm comes from section
   padding, not margins) — sections use padding-block:60 instead. */
.ui-full-screen { margin-inline: var(--full-screen); margin-bottom: 0; }
.ui-section-wrap:nth-child(odd) { background-color: var(--main-heighlight-color); }
.ui-section-space { padding-block: 60px; }
.ui-narrow-section { width: 800px; margin-inline: auto; }
.l-main .ui-narrow-section { padding-block: 60px; }

/* ---------- shared headings ---------- */
.ui-title--center {
  font-size: 26px; font-weight: bold; text-align: center;
  position: relative; color: var(--dark-color);
}
.ui-title--center.is-large { font-size: 26px; }
.ui-sub-title {
  position: absolute; left: 0; right: 0; bottom: -20px;
  color: var(--main-color); font-size: 14px; font-weight: normal;
  letter-spacing: 3px; text-align: center;
}
.ui-type-title {
  margin: 0 0 30px; display: flex; gap: 8px; align-items: center;
  justify-content: center; font-size: 26px; font-weight: bold; position: relative;
}
.ui-type-mark {
  border: 1px solid var(--light-text-color); border-radius: 50px;
  padding: 1px 16px 0; font-size: 20px; color: var(--light-text-color);
}

/* ---------- buttons ---------- */
.ui-btn--flat { display: flex; align-items: center; border-radius: 6px; line-height: 1.1; font-weight: bold; color: #fff; }
.ui-sub-btn--flat {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-color); border-radius: 6px;
  min-height: 34px; padding: 12px 0 10px; font-size: 14px;
  background-color: #fff; line-height: 1.1;
}
.ui-section-btn {
  width: 200px; margin: 0 auto; padding-left: 16px; padding-right: 16px;
  color: var(--light-text-color);
}
/* the top-page "more / see-all" pills are the gold (sub) variant */
.ui-sub-btn--flat.ui-section-btn,
.ui-sub-btn--flat.bkn__more-link {
  background-color: var(--sub-color); border-color: var(--sub-color);
  color: var(--sub-font-color); font-weight: bold;
}
.l-main a.ui-sub-btn--flat.bkn__more-link { text-align: center; min-width: 210px; width: fit-content; }

/* ================= HEADER (pattern4) ================= */
.l-header { width: 100%; background-color: #fff; position: sticky; top: 0; z-index: 20; }
.hd-pattern4 { border-top: 3px solid var(--main-color); }
.ui-hd-pattern__inner { width: var(--screen-size); margin: auto; }

.hd-pattern4__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.header__logo { display: flex; align-items: center; width: 380px; }
.hd-pattern4__top .header__logo img { max-width: 380px; max-height: 64px; }
/* text wordmark (clean-room replacement for the vendor logo image) */
.logo-mark { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.logo-emblem {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #f3ece3, #e4d5c4 70%, #d8c4ae);
  border: 1px solid #cbb69c; display: grid; place-items: center; box-shadow: inset 0 1px 2px rgba(255,255,255,.6);
}
.logo-emblem .icon { width: 24px; height: 24px; color: #9c7a54; }
.logo-text {
  font-family: Georgia, 'Times New Roman', 'Yu Mincho', serif;
  font-variant: small-caps; font-weight: 600; font-size: 27px; letter-spacing: 2px;
  color: #8c6a46; line-height: 1;
}
.logo-text .jp {
  font-family: var(--font-sans); font-variant: normal; font-weight: 500;
  font-size: 15px; letter-spacing: 1px; color: #3b3b3b; margin-left: 9px;
}
.hd-pattern4__top-right { display: flex; gap: 26px; align-items: center; }
.hd-pattern4__time { border-right: 1px solid #B0BEC5; padding: 8px 20px 3px 0; text-align: right; }
.header__holiday { font-size: 13px; color: #78909C; }
.hd-pattern4__tel {
  margin: 2px 0 0; font-family: Arial; font-size: 32px; font-weight: bold;
  color: var(--point-color); line-height: 1; display: flex; align-items: center; justify-content: flex-end;
}
.hd-pattern4__tel .icon { width: 23px; height: 23px; margin: 0 4px 0 0; color: var(--point-color); }

.header-service { display: flex; gap: 12px; }
.header-service li {
  width: 40px; height: 40px; background: var(--main-heighlight-color);
  border-radius: 100vw; display: flex; justify-content: center; align-items: center;
}
.header-service li:hover { background: var(--main-light-color); }
.header-service__link--favorite {
  display: flex; align-items: center; flex-direction: column; gap: 1px;
  font-size: 10px; white-space: nowrap; color: var(--dark-color); position: relative;
}
.header-service__link--favorite .icon { width: 19px; height: 20px; color: var(--dark-color); }
.header-service__badge {
  width: 17px; height: 17px; background-color: var(--dark-color); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -1px; right: 5px; font-size: 10px; font-weight: bold; color: #fff;
}

/* brown nav band */
.hd-common-bottom { background-color: var(--main-color); }
.hd-pattern4__bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.hd-pattern4__nav { flex: 1; }
.hd-pattern4__list { display: flex; justify-content: space-evenly; text-align: center; }
.hd-pattern4__list li { flex: 1; box-sizing: border-box; border-right: 2px solid #fff; }
.hd-pattern4__list li:first-child { border-left: 2px solid #fff; }
.hd-pattern4__link {
  display: block; padding: 17px 0 11px; font-size: 18px; font-weight: bold;
  color: var(--main-font-color);
}
.hd-pattern4__list li:hover { background-color: #fff; }
.hd-pattern4__list li:hover .hd-pattern4__link { color: var(--main-color); }
.header-menu { background-color: rgb(255 255 255 / 39%); padding: 10px; margin-left: 15px; }
.header-menu__trigger { padding: 0; display: flex; }
.header-menu__trigger .icon { width: 19px; height: 19px; color: #fff; }

/* drawer stays closed on the top page (matches capture) */
.menu { display: none; }

/* ================= MAIN VISUAL ================= */
/* live site serves one S3 PNG (photo + copy + decorative frame baked in).
   Per clone policy: photo = AI placeholder; copy + white botanical frame
   reconstructed from the screenshot as HTML/CSS/SVG. */
.mv-hero {
  position: relative; height: 411px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
}
.mv-hero__photo {
  position: absolute; inset: 0;
  background: #2b2116 url("../img/hero.png") center 42% / cover no-repeat;
}
.mv-hero__panel {
  position: relative; z-index: 1;
  width: 684px; height: 309px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(74, 52, 33, .60);
  border-radius: 2px;
}
.mv-hero__frame { position: absolute; inset: 14px; pointer-events: none; }
.mv-hero__frame::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255, 255, 255, .82);
}
.mv-hero__corner { position: absolute; width: 88px; height: 88px; fill: #fff; }
.mv-hero__corner--tr { top: -20px; right: -20px; }
.mv-hero__corner--bl { bottom: -20px; left: -20px; transform: rotate(180deg); }
.mv-hero__inner { position: relative; z-index: 1; padding: 0 44px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.mv-hero__title { font-size: 38px; font-weight: bold; line-height: 1.34; letter-spacing: 1px; }
.mv-hero__strength {
  margin-top: 15px; font-size: 22px; font-weight: bold;
  display: inline-block; padding-bottom: 9px;
}
.mv-hero__strength::after {
  content: ""; display: block; height: 1px; background: rgba(255,255,255,.7);
  margin: 9px auto 0; width: 100%;
}
.mv-hero__points { margin-top: 11px; font-size: 21px; font-weight: bold; line-height: 1.56; }
.mv-hero .accent { color: var(--sub-color); }

/* cookie consent bar (overlays the gold keyword band, matching the capture).
   margin-top leaves a white gap so the SEARCH sub-title shows above the bar. */
.freeword__content { position: relative; margin-top: 26px; }
.cookie-bar {
  position: absolute; left: 0; right: 0; top: 17px; bottom: 17px; z-index: 5;
  background-color: rgba(0, 0, 0, .8);
  display: flex; align-items: center; justify-content: center; gap: 15px;
}
.cookie-bar__text { padding: 15px; line-height: 1.5; }
.cookie-bar__text span { color: #fff; font-size: 14px; white-space: nowrap; }
.cookie-bar__text a { color: #fff; font-size: 12px; font-weight: bold; text-decoration: underline; }
.cookie-bar__close {
  display: flex; align-items: center; justify-content: center;
  background: #fff; min-width: 80px; height: 30px; padding: 0 12px;
  color: rgba(0, 0, 0, .8); font-weight: bold; font-size: 13px;
}

/* ================= COUNT BAR ================= */
.oc-count { width: var(--screen-size); margin: auto; }
.oc-count__inner { margin: 40px 0; display: flex; justify-content: center; align-items: center; }
.oc-count__list { font-size: 0; margin: 0 15px; }
.oc-count__list [class*="oc-count__list--"] { font-size: 15px; color: #333; display: inline-block; }
.oc-count__list .oc-count__list--value { font-size: 25px; color: #cc0000; }

/* ================= SEARCH ================= */
.l-main .ui-narrow-section.search-contents { border: solid 1px transparent; padding-bottom: 0; }
.search__content { }
.freeword__content { }
.md-freeword {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 0; margin-bottom: 20px;
}
.md-freeword-rent-color { background-color: var(--sub-color); }
.search_txt { color: var(--sub-font-color); font-size: 15px; font-weight: bold; margin-right: 23px; }
.search__freeword {
  width: 624px; display: flex; align-items: center; background-color: #fff;
  border: 1px solid var(--border-color); border-radius: 4px;
}
.search__freeword input[type="text"] { height: 44px; border: none; flex: 1; padding: 0 12px; font-size: 14px; background: transparent; }
.md-freeword__submit { padding: 0 10px; display: flex; align-items: center; }
.md-freeword__submit .icon { width: 20px; height: 20px; color: var(--dark-color); }

.search-nav {
  width: 800px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px; padding: 10px 0 20px; gap: 16px;
}
.search-nav__items { display: flex; flex: 1; }
.search-nav__btn--rent {
  width: 186px; height: 60px; display: flex; gap: 5px; flex: 1;
  align-items: center; justify-content: center; padding: 7px 0 5px;
  font-size: 18px; font-weight: bold; border-radius: 6px;
  background-color: var(--sub-color); color: var(--sub-font-color);
}
.search-nav__btn--rent .icon { width: 21px; height: 21px; color: var(--sub-font-color); }

.search-tag--wrap { background-color: var(--sub-light-color); }
.search-tag--wrap + .search-tag--wrap { border-top: solid 2px var(--main-heighlight-color); }
.search-tag { display: flex; gap: 12px; padding: 20px 0; width: 800px; margin-inline: auto; }
.search-tag__ttl {
  min-width: 154px; margin: 7px 0 0; font-size: 15px; font-weight: bold;
  color: var(--light-text-color); text-align: right;
}
.search-tag__list { display: flex; gap: 6px; flex-wrap: wrap; }
.ui-tag-btn--flat {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-color); border-radius: 6px;
  min-height: 34px; padding: 9px 12px; font-size: 13px; background-color: #fff;
  color: var(--dark-color); line-height: 1.1;
}

/* ================= NEWS / 更新情報 ================= */
.ui-narrow-section__news {
  width: var(--screen-size); background-color: #fff;
  border: 1px solid var(--border-color); border-radius: 4px;
  margin: 0 auto 30px; max-height: 400px; overflow: hidden auto;
}
.main_table { width: 100%; margin-inline: auto; border-collapse: collapse; }
.main_table .tr { display: flex; align-items: flex-start; border-bottom: 1px dashed #DCDCDC; }
.main_table .th {
  width: 150px; min-width: 150px; border: 0; font-size: 90%; font-weight: normal;
  padding: 24px 10px; vertical-align: top; color: var(--dark-color);
}
.main_table .td_category { display: none; }
.main_table .td { flex: 1; border: 0; padding: 18px 24px 18px 0; }
.main_table .td .history_title { font-size: 20px; font-weight: bold; margin: 0 0 10px; line-height: 1.5; }
.main_table .td > div:not(.history_title) { font-size: 13px; color: var(--dark-color); line-height: 1.6; overflow: hidden; }
.main_table a { color: #07519A; text-decoration: none; }

/* ================= PROPERTY SLIDERS (新着 / おすすめ) ================= */
.md-full-screen-slider { overflow: hidden; padding-block: 60px; }
.md-full-screen-slider__section { width: calc(1200px - 30px); margin: 0 auto; }
/* shift the track left by one item width so a partial "previous" card peeks
   at the left edge (reproduces slick's initial centred/peek state).
   transform (not margin) so it doesn't reflow / change page height. */
.md-full-screen-slider__list { display: flex; margin: 0 0 40px; transform: translateX(-293px); }
.md-full-screen-slider__list.md-slider__osusume { width: calc(1200px - 30px); margin: 0 auto 40px; }
.md-full-screen-slider__list [role="listitem"] { flex: none; }
.md-full-screen-slider__items { width: 293px; padding: 0 15px; }
.ui-new { font-size: 15px; font-weight: bold; color: var(--strong-color); text-transform: uppercase; }

/* card */
.md-bkn-card {
  width: 263px; display: block; background-color: #fff; border-radius: 8px;
  box-shadow: var(--box-shadow); overflow: hidden; color: var(--dark-color);
}
.md-bkn-card__head { display: grid; }
.md-bkn-card__img, .md-bkn-card__over { grid-area: 1 / -1; }
.md-bkn-card__img { height: 160px; margin: 0; }
.md-bkn-card__over { display: flex; flex-direction: column; justify-content: space-between; }
.md-bkn-card__label {
  align-self: flex-start; background-color: #fff; border: 1px solid #78909C;
  border-radius: 50px; margin: 10px 0 0 10px; padding: 1px 10px; font-size: 10px;
}
.md-bkn-card__price {
  align-self: flex-start; background-color: var(--bg-dark-transparent);
  display: flex; align-items: baseline; padding: 8px 10px 2px; font-size: 15px; color: #fff;
}
.md-bkn-card__price .price { margin: -3px 0 0; font-size: 24px; line-height: 1; color: inherit; }
.md-bkn-card__info { padding: 5px 10px 12px; }
.md-bkn-card__between { display: flex; justify-content: space-between; align-items: flex-start; margin: 0 0 2px; }
.md-bkn-card__favorite { margin: -22px 0 0; }
.md-bkn-card__favorite .icon { width: 28px; height: 28px; color: var(--main-color); }
.md-bkn-card__point {
  margin: 0 0 1px; font-size: 13px; color: var(--gray-text);
  text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
}
.md-bkn-card__name {
  margin: 0 0 5px; font-size: 13px; font-weight: bold;
  text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
}
.md-bkn-card__text { font-size: 13px; }

/* ================= CUSTOMER VOICES ================= */
.md-voice { width: 800px; margin: 0 auto 40px; }
.md-voice > * + * { margin: 20px 0 0; }
.md-voice__items { display: flex; gap: 10px; align-items: center; }
.md-voice__thum { width: 100px; height: 100px; flex: none; }
.md-voice__link {
  flex: 1; background-color: var(--main-light-color); border-radius: 8px; padding: 20px;
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
}
.md-voice__body { flex: 1; min-width: 0; }
.md-voice__name { margin-bottom: 3px; font-size: 16px; font-weight: 700; color: var(--light-text-color); }
.md-voice__text { font-size: 14px; color: var(--dark-color); }
.md-voice__arw { min-width: 13px; width: 13px; height: 13px; color: var(--main-color); }

/* ================= POPULAR ================= */
.popular { padding: 50px 30px 60px; }
.popular__list { display: flex; gap: 30px; justify-content: center; counter-reset: rank; }
.popular__items { width: 204px; counter-increment: rank; position: relative; }
.popular__items::before {
  content: counter(rank); width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center; position: absolute; top: -10px; left: -10px;
  font-weight: bold; font-size: 13px; color: #fff; z-index: 2;
}
.popular__items:first-child::before { background-color: var(--rank1); }
.popular__items:nth-child(2)::before { background-color: var(--rank2); }
.popular__items:nth-child(3)::before { background-color: var(--rank3); }
.popular__items:not(:nth-child(-n + 3))::before { background-color: var(--rank-under); }
.popular__link { display: block; color: var(--dark-color); }
.popular__img { height: 153px; margin: 0 0 6px; position: relative; }
.md-bkn-popular__label {
  position: absolute; background-color: #fff; border: 1px solid #78909c;
  border-radius: 50px; top: 126px; right: 10px; padding: 1px 10px; font-size: 10px; z-index: 1;
}
.popular .md-bkn-card__name { margin: 0 0 5px; font-size: 13px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popular__text { font-size: 13px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.ui-bkn-text { font-size: 13px; }
.ui-bkn-text .price { font-size: 18px; font-weight: bold; }

/* ================= LINE add-friend ================= */
.ui-freehtml { text-align: center; }
.line-add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background-color: var(--sns-line); color: #fff; font-weight: bold; font-size: 15px;
  height: 36px; padding: 0 18px 0 14px; border-radius: 4px;
}
.line-add-btn .icon { width: 22px; height: 22px; color: #fff; }

/* ================= BLOG ================= */
.blog { }
.default_blog__list {
  max-width: var(--screen-size); display: flex; gap: 30px;
  margin: 0 auto 30px; justify-content: center;
}
.default_blog__list li {
  flex: 0 0 247px; background-color: #fff; box-shadow: var(--box-shadow);
  border-radius: 8px; overflow: hidden;
}
.blog__card { display: block; color: var(--dark-color); }
.blog__img { height: 139px; }
.blog__info { padding: 10px; }
.blog__between { display: flex; align-items: center; justify-content: space-between; margin: 0 0 7px; }
.blog__time time { font-size: 12px; color: var(--light-text-color); }
.blog__text { font-weight: bold; font-size: 14px; }

/* ================= FOOTER ================= */
.l-footer { background-color: var(--main-color); padding: 40px 0 20px; }
.l-footer * { color: var(--main-font-color); }
.footer__inner { width: var(--screen-size); margin: auto; display: grid; gap: 80px 40px; grid-template-columns: 1fr 1fr; }
.footer__info { margin: 0 0 20px; }
.footer__name { font-size: 18px; font-weight: bold; margin-bottom: 12px; }
.footer__info-right { display: grid; gap: 4px; }
.footer__info-list { display: flex; white-space: nowrap; }
.footer__info-list, .footer__info-list :is(dt, dd) { font-size: 13px; }
.footer__contact { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.footer__contact-btn--mail, .footer__contact-btn--tel {
  background-color: #fff; border-radius: 6px; display: flex; gap: 5px;
  align-items: center; justify-content: center; height: 44px; color: var(--dark-color);
}
.footer__contact-btn--tel { font-size: 13px; }
.footer__contact-btn--mail { font-size: 15px; font-weight: bold; }
.footer__contact-btn--mail .icon, .footer__contact-btn--tel .icon { width: 16px; height: 16px; color: var(--dark-color); }
.footer__right { }
.footer__list-link {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--main-font-color); padding: 13px 20px 14px 0;
}
.footer__list-link .icon { width: 21px; height: 21px; color: var(--main-font-color); border: 1.5px solid currentColor; border-radius: 50%; padding: 4px; }
.footer__bottom { grid-column: 1 / span 2; }
.footer__menu { display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: center; margin: 0 0 32px; }
.footer__menu-link { display: flex; gap: 5px; align-items: center; font-size: 13px; }
.footer__menu-link .icon { width: 8px; height: 8px; color: var(--main-font-color); }
.footer__copy { font-size: 13px; text-align: center; }

/* floating reservation button — hidden on the top page until scroll (matches capture) */
.reservation-side-link { display: none; }
