/* =============================================================
   pc-static.css — PC layout for the static / form / legal pages
   Loaded after tokens+base+pc.css. Adds only sub-page chrome and
   per-page blocks; header/footer/cookie-bar visuals come from pc.css.
   Clone of cloudestate-tokyo.jp sub-pages — original CSS not reused.
   ============================================================= */

/* ---------- sub-page main container ---------- */
.l-page { width: var(--screen-size); margin: 0 auto; padding: 0 0 120px; }

/* ---------- breadcrumbs (top of sub-pages) ---------- */
.breadcrumbs { padding: 26px 0 0; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--gray-text); }
.breadcrumbs__items { display: flex; align-items: center; }
.breadcrumbs__items + .breadcrumbs__items::before { content: "›"; margin: 0 8px; color: var(--gray-text); }
.breadcrumbs__link { color: var(--gray-text); }
.breadcrumbs__link:hover { text-decoration: underline; }
.breadcrumbs__current { color: var(--dark-color); font-weight: bold; }

/* ---------- page title ---------- */
.page__headline { font-size: 28px; font-weight: bold; color: var(--dark-color); margin: 14px 0 0; line-height: 1.3; }
.page__headline--center { text-align: center; }
.page__dates { text-align: center; font-size: 13px; color: var(--light-text-color); margin: 8px 0 0; line-height: 1.7; }
.page__lead { font-size: 14px; color: var(--light-text-color); margin: 6px 0 0; }

/* generic buttons on sub-pages */
.ui-line-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 44px; padding: 10px 24px; margin: 0 auto;
  border: 1px solid var(--border-color); border-radius: 6px; background: #fff;
  font-size: 14px; color: var(--dark-color);
}
.ui-btn-center { display: flex; justify-content: center; margin-top: 40px; }

/* ================= COMPANY ================= */
.company__wrap { display: grid; grid-template-columns: 600px 400px; gap: 40px; justify-content: start; margin-top: 38px; align-items: start; }
.company__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.company__photo-main, .company__photo-sub { background-color: var(--bg-light-gray); border-radius: 2px; overflow: hidden; }
.company__photo-main { grid-column: 1 / span 2; height: 352px; }
.company__photo-sub { height: 150px; }
.company__photo-main .ph, .company__photo-sub .ph { display: none; }

.companyDetail { width: 100%; border: 1px solid var(--border-color); border-top: 0; }
.companyDetail__row { display: grid; grid-template-columns: 128px 1fr; border-top: 1px solid var(--border-color); }
.companyDetail__label { background: #F5F5F5; padding: 13px 12px; font-size: 14px; font-weight: bold; color: var(--dark-color); }
.companyDetail__val { padding: 13px 16px; font-size: 14px; color: var(--dark-color); line-height: 1.7; }

/* ================= ACCESS ================= */
.access__info { width: 820px; max-width: 100%; text-align: left; margin: 40px auto 0; line-height: 1.9; }
.access__name { font-size: 17px; font-weight: bold; color: var(--dark-color); margin-bottom: 6px; }
.access__info p { font-size: 15px; color: var(--dark-color); }
.access__map { width: 820px; max-width: 100%; height: 480px; margin: 12px auto 0; }
.map-placeholder {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2px;
  background:
    repeating-linear-gradient(0deg, #e9ede6, #e9ede6 38px, #e3e8df 38px, #e3e8df 39px),
    repeating-linear-gradient(90deg, #eef1ea, #eef1ea 46px, #e6ebe2 46px, #e6ebe2 47px);
  background-color: #eef1ea;
}
.map-placeholder::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 26px; height: 26px;
  transform: translate(-50%, -100%);
  background: var(--strong-color);
  border-radius: 50% 50% 50% 0; rotate: -45deg;
  box-shadow: 0 3px 5px rgba(0,0,0,.28);
}
.map-placeholder::after {
  content: ""; position: absolute; left: 50%; top: 46%; width: 8px; height: 8px;
  transform: translate(-50%, -60%); background: #fff; border-radius: 50%;
}
.map-placeholder__note {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-size: 12px; color: #90998a;
}

/* ================= STAFF / FAVORITE empty states ================= */
.empty-state { margin-top: 72px; font-size: 15px; color: var(--dark-color); }
.l-page--min { min-height: 220px; }

/* ================= CONTACT FORM ================= */
.contact__head { display: flex; align-items: center; justify-content: space-between; }
.form-steps { display: flex; align-items: center; gap: 0; margin: 0 auto; }
.form-steps__item { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--gray-text); }
.form-steps__num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid #B4D2E0; color: #6aa3bd; font-weight: bold; font-size: 15px; margin-bottom: 4px; background: #fff;
}
.form-steps__item.is-active .form-steps__num { border-color: #3b9dc7; color: #fff; background: #3b9dc7; }
.form-steps__item.is-active { color: #3b9dc7; }
.form-steps__bar { width: 44px; height: 2px; background: #d5dee3; margin: -14px 4px 0; }

.form-card {
  max-width: 800px; margin: 34px auto 0; background: #fff;
  border: 1px solid var(--border-color); border-radius: 10px; padding: 40px 44px;
}
.form-row { display: grid; grid-template-columns: 180px 1fr; align-items: start; padding: 13px 0; }
.form-row__label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: bold; color: var(--dark-color); padding-top: 8px; }
.form-badge { font-size: 11px; font-weight: bold; color: #fff; border-radius: 3px; padding: 2px 8px; line-height: 1.4; }
.form-badge--req { background: #E5442E; }
.form-badge--opt { background: #6AA3C4; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%; border: 1px solid var(--border-color); border-radius: 4px;
  padding: 11px 12px; font-size: 15px; font-family: inherit; color: var(--dark-color);
  background: #fff;
}
.form-field textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #b7bcc0; }
.form-field .is-invalid { border-color: var(--strong-color); }
.form-error { color: var(--strong-color); font-size: 12px; margin-top: 5px; min-height: 0; }
.form-note { font-size: 14px; color: var(--dark-color); margin: 18px 4px 0; line-height: 1.7; }
.form-note a { color: var(--main-color); font-weight: bold; text-decoration: underline; }
.form-submit-wrap { display: flex; justify-content: center; margin-top: 30px; }
.form-submit {
  min-width: 300px; min-height: 56px; padding: 10px 30px;
  background: #fff; border: 2px solid var(--sub-color); border-radius: 8px;
  color: var(--main-color); font-weight: bold; font-size: 16px;
}
.form-submit:hover { background: var(--sub-light-color); }
#js-contact-note { margin-top: 16px; text-align: center; color: var(--main-color); font-size: 14px; }

/* ================= LEGAL (rule / privacy / cookie) ================= */
.legal { max-width: 880px; margin: 24px auto 0; }
.legal__intro { font-size: 13px; color: var(--dark-color); line-height: 1.7; margin-bottom: 6px; }
.legal__sec { margin-top: 20px; }
.legal__h { font-size: 16px; font-weight: bold; color: var(--dark-color); margin-bottom: 6px; }
.legal__p { font-size: 13px; color: var(--dark-color); line-height: 1.7; }
.legal__list { margin: 2px 0 0; }
.legal__list > li { font-size: 13px; color: var(--dark-color); line-height: 1.7; padding-left: 2.2em; text-indent: -2.2em; }
.legal__sublist { margin: 0 0 0 2.4em; }
.legal__sublist > li { font-size: 13px; color: var(--dark-color); line-height: 1.7; padding-left: 1.6em; text-indent: -1.6em; }
.legal__box { background: #ECEFF1; padding: 16px 20px; margin-top: 14px; line-height: 1.8; }
.legal__box-name { font-weight: bold; font-size: 15px; color: var(--dark-color); margin-bottom: 4px; }
.legal__box p { font-size: 14px; color: var(--dark-color); }
.legal__note { font-size: 13px; color: var(--dark-color); margin-top: 22px; line-height: 1.9; }

/* ================= SITEMAP ================= */
.sitemap { margin-top: 30px; }
.sitemap__sec { margin-top: 40px; }
.sitemap__ttl { font-size: 20px; font-weight: bold; color: var(--dark-color); border-bottom: 1px solid var(--border-color); padding-bottom: 12px; margin-bottom: 22px; }
.sitemap__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 40px; }
.sitemap__grid--other { grid-template-columns: repeat(4, 1fr); gap: 22px 40px; align-content: start; }
.sitemap__col { }
.sitemap__sub-ttl { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: bold; color: var(--main-color); margin-bottom: 8px; }
.sitemap__sub-ttl .icon { width: 20px; height: 20px; color: var(--sub-color); }
.sitemap__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--dark-color); padding: 4px 0; }
.sitemap__link::before { content: "›"; color: var(--gray-text); }
.sitemap__list { display: grid; }

/* ================= SEARCH FORMS (area1 / ensen1) ================= */
.search-form { margin-top: 20px; }
.search-accordion { border: 1px solid var(--border-color); border-radius: 4px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.search-accordion > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; background: #F5F5F5; font-weight: bold; font-size: 15px; color: var(--dark-color);
}
.search-accordion > summary::-webkit-details-marker { display: none; }
.search-accordion > summary::after {
  content: ""; margin-left: auto; width: 9px; height: 9px;
  border-right: 2px solid var(--gray-text); border-bottom: 2px solid var(--gray-text);
  transform: rotate(-135deg); transition: transform .2s;
}
.search-accordion[open] > summary::after { transform: rotate(-135deg); }
.search-accordion__master { display: flex; align-items: center; gap: 8px; }
.search-checks { display: grid; grid-template-columns: repeat(4, 1fr); }
.search-checks--3 { grid-template-columns: repeat(3, 1fr); }
.search-checks label {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 14px;
  color: var(--dark-color); border-top: 1px solid #ECEFF1; border-left: 1px solid #ECEFF1;
}
.search-checks label:nth-child(-n+4) { border-top: 0; }
.search-checks--3 label:nth-child(-n+3) { border-top: 0; }
.search-checks label:nth-child(4n+1), .search-checks--3 label:nth-child(3n+1) { border-left: 0; }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; accent-color: var(--main-color); flex: none; }

/* filter block */
.filter { margin-top: 34px; }
.filter__title { font-size: 15px; font-weight: bold; color: var(--dark-color); margin-bottom: 12px; }
.filter__row { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--border-color); }
.filter__row:last-child { border-bottom: 1px solid var(--border-color); }
.filter__label { background: #FAFAFA; padding: 16px; font-size: 14px; font-weight: bold; color: var(--dark-color); }
.filter__body { padding: 14px 16px; }
.filter__checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; }
.filter__checks label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dark-color);
  border: 1px solid var(--border-color); border-radius: 4px; padding: 7px 10px; background: #fff; }
.filter__range { display: flex; align-items: center; gap: 10px; }
.filter__range .sep { color: var(--gray-text); }
.filter select {
  border: 1px solid var(--border-color); border-radius: 4px; padding: 9px 12px; font-size: 14px;
  background: #fff; color: var(--dark-color); min-width: 150px; font-family: inherit;
}
.filter__inline { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.filter__inline label { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--dark-color); }

/* こだわり grouped */
.facility__group { margin-bottom: 16px; }
.facility__name { font-size: 14px; font-weight: bold; color: var(--main-color); margin: 6px 0 8px; }
.facility__checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; }
.facility__checks label { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--dark-color);
  border: 1px solid var(--border-color); border-radius: 4px; padding: 7px 9px; background: #fff; }

.search-actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; }
.search-actions .ui-line-btn { min-width: 220px; }
.search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 240px; min-height: 56px; padding: 10px 30px; border-radius: 6px;
  background: var(--sub-color); color: var(--sub-font-color); font-weight: bold; font-size: 18px;
}
.search-btn .icon { width: 20px; height: 20px; color: #fff; }
.search-count { text-align: right; font-size: 14px; color: var(--dark-color); margin-top: 14px; }
.search-count .bknCnt { font-size: 20px; font-weight: bold; color: var(--strong-color); margin: 0 2px; }

/* ================= FLOATING RESERVATION (visible on sub-pages) ================= */
.reservation-side-link {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: fixed; right: 0; top: 190px; z-index: 15;
  width: 46px; padding: 16px 0 18px; border-radius: 8px 0 0 8px;
  background: var(--sub-color); color: #fff; box-shadow: -2px 2px 6px rgba(0,0,0,.18);
}
.reservation-side-link .icon { width: 22px; height: 22px; color: #fff; }
.reservation-side-link-text { writing-mode: vertical-rl; font-size: 15px; font-weight: bold; letter-spacing: 3px; }

/* ================= COOKIE BAR (fixed bottom on sub-pages) ================= */
.cookie-bar--bottom {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 30;
  background: rgba(0,0,0,.82); display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 0 44px; min-height: 50px;
}
.cookie-bar--bottom .cookie-bar__text { padding: 8px 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
.cookie-bar--bottom .cookie-bar__text span { color: #fff; font-size: 14px; white-space: nowrap; }
.cookie-bar--bottom .cookie-bar__text a { color: #fff; font-size: 12px; font-weight: bold; text-decoration: underline; }
.cookie-bar--bottom .cookie-bar__close {
  flex: none; background: #fff; min-width: 84px; height: 30px; padding: 0 14px;
  color: rgba(0,0,0,.82); font-weight: bold; font-size: 13px; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ================= DRAWER (injected by common.js) ================= */
.ce-drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.ce-drawer.is-open { visibility: visible; }
.ce-drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s; }
.ce-drawer.is-open .ce-drawer__overlay { opacity: 1; }
.ce-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: 320px; max-width: 84vw;
  background: #fff; box-shadow: -4px 0 18px rgba(0,0,0,.2); overflow-y: auto;
  transform: translateX(100%); transition: transform .28s ease;
}
.ce-drawer.is-open .ce-drawer__panel { transform: translateX(0); }
.ce-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--main-color); color: #fff; }
.ce-drawer__title { font-weight: bold; letter-spacing: 2px; }
.ce-drawer__close { color: #fff; font-size: 28px; line-height: 1; width: 32px; height: 32px; }
.ce-drawer__group { font-size: 12px; font-weight: bold; color: var(--main-color); background: var(--main-heighlight-color); padding: 8px 20px; }
.ce-drawer__list { }
.ce-drawer__link { display: block; padding: 14px 20px; font-size: 15px; color: var(--dark-color); border-bottom: 1px solid #eee; }
.ce-drawer__link:hover { background: var(--main-heighlight-color); }
body.is-drawer-open { overflow: hidden; }
