/* Shared PC composition for renewal subpages. The Japanese home does not load this file. */
@media (min-width: 1000px) {
  html { scrollbar-width: auto; }
  html::-webkit-scrollbar { display: revert; }
  @media (forced-colors: none) {
    html::-webkit-scrollbar { width: 14px; }
    html::-webkit-scrollbar-track:vertical { background: #f0f3ef; }
    html::-webkit-scrollbar-thumb:vertical {
      border: 2px solid #f0f3ef;
      border-radius: 8px;
      background: #536e64;
    }
    html::-webkit-scrollbar-thumb:vertical:hover { background: #354e46; }
  }

  :is(.detail-page, .intl) {
    --lower-width: 1200px;
    --lower-reading: 820px;
    --lower-edge: clamp(40px, 5vw, 72px);
    --lower-inset: max(var(--lower-edge), calc((100% - var(--lower-width)) / 2));
    --lower-content: min(var(--lower-width), calc(100% - var(--lower-edge) - var(--lower-edge)));
    --lower-gap: clamp(28px, 4vw, 56px);
    --lower-section: 48px;
    --lower-major: 64px;
    --lower-green: #f0f3ef;
    --lower-blue: #eef5f9;
    --lower-beige: #f6f3ef;
  }

  .detail-page .page-hero { --hero-inset: var(--lower-inset); }
  .detail-page #main .page-hero:has(> :is(img, picture, .guest-gallery)) { height: clamp(380px, calc(100svh - var(--header) - 72px), 600px); }
  .detail-page #main .page-hero.page-hero--compact:has(> :is(img, picture)) {
    height: clamp(295px, 24vw, 375px);
  }
  .detail-page #main .page-hero:not(.page-hero--compact) .page-hero-copy { bottom: 32px; }
  .detail-page .page-hero h1 { text-wrap: balance; }
  .detail-page .detail-section {
    width: var(--lower-content);
    max-width: none;
    padding: calc(var(--lower-section) / 2) 0;
  }
  .detail-page .page-jumps + .detail-section { padding-top: 32px; }
  .detail-page .detail-section:last-child { padding-bottom: var(--lower-major); }
  .detail-page .detail-section > h2 { margin-bottom: 24px; }
  .detail-page .detail-section .section-copy { max-width: var(--lower-reading); }
  .detail-page #main > .page-jumps {
    width: var(--lower-content);
    max-width: none;
    justify-content: flex-start;
    overflow: visible;
    flex-wrap: wrap;
    padding-block: 16px;
  }
  .detail-page .page-jumps a { min-width: 0; }
  .detail-page .detail-reservation {
    background: var(--lower-green);
    margin-top: var(--lower-section);
    padding-block: var(--lower-section);
  }

  :is(.hotel-guide, .intl) {
    --guide-max: var(--lower-width);
    --guide-gutter: var(--lower-edge);
    --guide-reading: var(--lower-reading);
    --guide-gap: var(--lower-gap);
  }
  .hotel-guide .guide-benefit { background: var(--lower-green); }
  .hotel-guide thead { background: var(--lower-green); }

  /* Guest rooms: compare the floors, then keep each photo with its own bedding and capacity. */
  .guest-page { --guest-width: var(--lower-content); --guest-column-gap: var(--lower-gap); }
  .guest-page .guest-room-intro { padding-top: var(--lower-section); }
  .guest-page .room-intro-copy { background: var(--lower-green); }
  .guest-page .guest-floor-list { margin-top: var(--lower-section); }
  .guest-page .guest-tone-excellent { --guest-tint: var(--lower-beige); }
  .guest-page .guest-tone-executive8 { --guest-tint: var(--lower-green); }
  .guest-page .guest-tone-executive9 { --guest-tint: var(--lower-blue); }
  .guest-page .floor-concept { padding-block: var(--lower-section) 22px; }
  .guest-page .floor-equipment { max-width: var(--lower-reading); margin-top: var(--lower-section); }
  .guest-page .floor-equipment:has(.equipment-scene) { max-width: none; }
  .guest-page .equipment-body { background: var(--lower-green); }
  .guest-page .floor-types-heading { margin-top: var(--lower-major); }
  .guest-page .guest-room-list { gap: 32px; }
  .guest-page .guest-room-list .room-type {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    max-width: none;
    background: #fff;
  }
  .guest-page .guest-room-list .room-type + .room-type {
    border-top: 1px solid var(--line);
    padding-top: 32px;
  }
  .guest-page .guest-room-text { padding: 6px 0 10px var(--lower-gap); }
  .guest-page .guest-practical {
    background: var(--lower-green);
    padding: var(--lower-section) var(--lower-inset);
  }
  .guest-page .guest-stay-faq { max-width: var(--lower-reading); padding-top: var(--lower-section); }

  /* Facilities and spa: the floor directory remains sticky and the table stays with the times. */
  .facility-guide .facility-layout {
    width: var(--lower-content);
    max-width: none;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: var(--lower-gap);
    padding: var(--lower-section) 0 var(--lower-major);
  }
  .facility-guide .business-note { padding: 0 0 24px; }
  .facility-guide .facility-level { padding: 28px 0; }
  .facility-guide .facility-level + .facility-level { margin-top: 24px; }
  .facility-guide #second-floor {
    padding-inline: clamp(24px, 3vw, 36px);
    background: var(--lower-green);
  }
  .facility-guide #dining-floor {
    border-top: 1px solid var(--rule);
    background: #fff;
  }
  .venue-guide .page-hero-copy { bottom: 32px; }
  .spa-guide .spa-prices { background: var(--lower-green); }
  .spa-guide .price-inner {
    width: var(--lower-content);
    max-width: none;
    padding: 28px 0;
  }
  .spa-guide :is(.bath-story, .fitness-story, .spa-hours, .spa-conditions) {
    padding: var(--lower-section) var(--lower-inset);
  }
  .spa-guide :is(.bath-inner, .fitness-inner, .guide-inner, .equipment-gallery) { max-width: none; }
  .spa-guide :is(.bath-inner, .fitness-inner, .guide-inner) { gap: 0 var(--lower-gap); }
  .spa-guide .fitness-story {
    padding-top: 0;
    background: #fff;
  }
  .spa-guide .fitness-photos figure { grid-template-columns: 1fr; gap: 4px; }
  .spa-guide .fitness-photos img { aspect-ratio: 1.8; }
  .spa-guide .spa-hours { background: var(--lower-blue); }
  .spa-guide .spa-hours thead { background: #fff; }
  .spa-guide .spa-conditions { background: #fff; }
  .spa-guide .venue-related {
    width: var(--lower-content);
    max-width: none;
    padding: 0 0 var(--lower-section);
  }

  /* Breakfast and lunch: place the menu photographs beside the practical information. */
  .detail-page :is(#breakfast-guide, #le-vent, #lunch) {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: var(--lower-gap);
  }
  .detail-page #breakfast-guide .detail-specs > div { grid-template-columns: minmax(6em, 30%) minmax(0, 1fr); }
  .detail-page #le-vent { display: grid; row-gap: 16px; align-items: start; }
  .detail-page #le-vent h2 { grid-column: 1 / -1; margin: 0 0 8px; }
  .detail-page #le-vent .restaurant-scene { display: contents; }
  .detail-page #le-vent .restaurant-scene > img { grid-column: 1; grid-row: 2 / span 2; }
  .detail-page #le-vent :is(.restaurant-scene > div, .detail-specs) { grid-column: 2; }
  .detail-page #le-vent .restaurant-scene h3 { margin-top: 0; }
  .detail-page #lunch .lunch-photos { grid-row: 2 / span 4; }

  /* Each shop's hours, address and links belong with the shop description. */
  #shops > .guide-story + .guide-story { margin-top: var(--lower-section); }
  #shops > .guide-story:has(.shop-practical) { gap: var(--lower-gap); }
  #shops .guide-story-copy:has(.shop-practical) { display: block; }
  #shops .shop-practical { display: block; margin-top: 16px; }
  #shops .shop-practical .guide-phone { margin-top: 8px; }
  #shops .shop-practical > .text-link { margin-block: 4px; }

  .hotel-guide > .guide-section { padding-block: calc(var(--lower-section) / 2); }
  .hotel-guide > .guide-section:first-of-type { padding-top: var(--lower-section); }
  .hotel-guide > .guide-section:last-of-type { padding-bottom: var(--lower-major); }
  .hotel-guide > .guide-section > h2 { margin-bottom: 24px; }
  .hotel-guide > .guide-section > p { max-width: var(--lower-reading); }
  .hotel-guide > .page-jumps { justify-content: flex-start; }
  .hotel-guide > .guide-section:is(#floors, #venues, #west, #north, #south, #movies) > :not(article) {
    margin-block: 0;
  }

  /* Travel and meeting guides: diagrams and practical tables have room to be read. */
  .hotel-guide > #train { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .hotel-guide > #parking > .detail-specs { max-width: var(--lower-reading); }
  .hotel-guide > #parking > figure { margin-block: 16px 0; }
  .hotel-guide > #parking > figure:not(:has(.guide-map)) img { width: 100%; }
  .hotel-guide > #map { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); }
  .hotel-guide > #travel-times .detail-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--lower-gap);
  }
  .hotel-guide > #travel-times .detail-specs > div {
    grid-template-columns: minmax(6em, 30%) minmax(0, 1fr);
    align-items: baseline;
  }
  .hotel-guide :is(#west, #north, #south, #floors, #venues) .guide-story h3 { font-size: 22px; }
  .hotel-guide > #floors > figure { max-width: min(100%, 560px); }
  .hotel-guide > #venues > figure:has(.guide-map) { align-self: start; }
  .hotel-guide > :is(#price, #option, #conditions, #annex) { max-width: var(--lower-reading); }

  /* FAQ: a short introduction and a simple two-column list, with a line after the last question. */
  .detail-page #stay-guide {
    background: var(--lower-blue);
    padding: 28px clamp(24px, 4vw, 48px);
    margin-top: var(--lower-section);
  }
  .detail-page #stay-guide .section-copy { margin-bottom: 0; }
  .detail-page #stay-guide .section-copy + .section-copy { margin-top: 12px; }
  .detail-page .faq-section {
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    column-gap: var(--lower-gap);
    padding-block: 26px;
  }
  .detail-page .faq-section > h2 { margin: 0; padding-top: 16px; }
  .faq-heading-phrase { display: inline-block; white-space: nowrap; }
  .detail-page .faq-section .questions {
    width: 100%;
    max-width: var(--lower-reading);
    margin: 0;
  }
  .detail-page .faq-section .questions details:last-child { border-bottom: 1px solid var(--line); }

  /* Company, jobs, contact and archive: use their existing content groups and reading widths. */
  .hotel-guide:has(> #company) {
    grid-template-columns: var(--lower-inset) minmax(0, 1fr) var(--lower-gap) minmax(0, 1fr) var(--lower-inset);
  }
  .hotel-guide > :is(#jobs, #inquiry, #desk, #form, #policy, #terms, #charges, #rules, #minor, .guide-article) {
    max-width: var(--lower-reading);
  }
  .hotel-guide #jobs .detail-specs dt { color: var(--guide-ink); }
  #form .guide-inquiry-purpose label:has(:checked) { background: var(--lower-green); }
  .hotel-guide > .guide-news { max-width: 1040px; }
  .hotel-guide .guide-news-list li:last-child { border-bottom: 1px solid var(--guide-rule); }
  .hotel-guide .guide-news-list a:hover strong { text-decoration: underline; }
  .hotel-guide > .guide-title {
    background: var(--lower-green);
    color: var(--guide-ink);
    padding: 32px var(--lower-edge);
  }
  .hotel-guide > .guide-title h1 { max-width: var(--lower-reading); }
  .hotel-guide > .guide-article { line-height: 1.9; }

  /* Language editions retain their own navigation and use the same content and reading axes. */
  .intl > .intl-header,
  .intl .intl-hero > div { padding-inline: var(--lower-inset); }
  .intl .hotel-guide > .guide-filters { justify-content: flex-start; }
  .intl .hotel-guide > .guide-section:is(#rooms, #access, #sights, #info) { max-width: var(--lower-reading); }
  .intl #rooms .guide-fold[open] > div {
    display: grid;
    grid-template-columns: minmax(0, .66fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }
  .intl #rooms .guide-fold img { width: 100%; }
  .intl #rooms .guide-fold table { margin: 0; }
  .intl .guide-section:is(#spa, #breakfast) {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    row-gap: 10px;
  }
  .intl .guide-section:is(#spa, #breakfast) { grid-template-rows: auto repeat(4, min-content); }
  .intl .guide-section:is(#spa, #breakfast) > :is(p, .guide-link) { margin-block: 0; }
}
