:root { --shell-ink: #423e38; --shell-muted: #6b706c; --shell-aqua: #176e76; --shell-brown: #58483d; --shell-line: #d8dedb; }
html { scroll-padding-top: 96px; }
body.site-shell-active:not(.site-shell-home) { padding-top: 88px; }
body.site-shell-menu-open { overflow: hidden; }
.global-skip {
  position: fixed; top: -100px; left: 20px; z-index: 1200; padding: 13px 18px;
  background: #fff; color: var(--shell-ink); box-shadow: 0 5px 20px #0002;
}
.global-skip:focus { top: 10px; }
.global-site-header {
  position: fixed !important; inset: 0 0 auto !important; z-index: 1100 !important;
  width: 100%; height: 100px; padding: 0 3.5% !important;
  display: flex !important; align-items: center; justify-content: space-between;
  background: linear-gradient(#ffffffed, #ffffffb8 72%, #ffffff00) !important;
  color: var(--shell-ink); transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
body:not(.site-shell-home) .global-site-header,
.global-site-header.is-scrolled,
.site-shell-menu-open .global-site-header {
  height: 78px; background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 4px 24px rgba(32, 45, 42, .08); backdrop-filter: blur(14px);
}
.global-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.global-brand img { display: block; width: 144px !important; height: auto !important; max-height: 54px; object-fit: contain; }
.global-header-actions { display: flex; align-items: center; gap: 12px; }
.global-reserve,
.global-contact {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 25px; background: var(--shell-brown); color: #fff !important;
  font-size: 14px; line-height: 1.4; text-decoration: none !important; transition: background .2s ease, color .2s ease;
}
.global-reserve:hover { background: var(--shell-aqua); }
.global-contact { background: #fff; color: var(--shell-ink) !important; border: 1px solid #fff; }
.global-site-header.is-scrolled .global-contact,
body:not(.site-shell-home) .global-contact { border-color: var(--shell-line); }
.global-menu-toggle {
  width: 62px; height: 58px; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; flex-direction: column; padding: 12px 8px 0; gap: 6px;
  color: var(--shell-ink);
}
.global-menu-toggle > span { display: block; width: 28px; height: 1px; background: var(--shell-brown); transition: transform .2s ease; }
.global-menu-toggle small { font-size: 10px; line-height: 1.5; letter-spacing: .12em; }
.global-menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
.global-menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
.global-site-menu {
  position: fixed; inset: 0; z-index: 1050; overflow: auto; background: #fcfdfc;
  padding: 118px 7% 42px; color: var(--shell-ink);
}
.global-site-menu[hidden] { display: none !important; }
.global-menu-inner { width: min(760px, 100%); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.global-menu-kicker { grid-column: 1 / -1; margin: 0 0 20px; color: var(--shell-aqua); font: 14px/1.5 Georgia, serif; letter-spacing: .16em; }
.global-menu-inner > a {
  padding: 16px 0; border-bottom: 1px solid var(--shell-line); color: inherit !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; text-decoration: none !important;
}
.global-menu-inner > a:hover { color: var(--shell-aqua) !important; }
.global-site-footer {
  display: block !important; position: relative !important; inset: auto !important; height: auto !important;
  margin: 0 !important; padding: 60px 0 25px !important; background: #f0f2ef !important;
  color: var(--shell-ink) !important; font-size: 14px; line-height: 1.8;
}
.global-footer-wrap { width: min(1160px, 86%); margin-inline: auto; }
.global-footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.global-footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.global-site-footer a { color: inherit !important; text-decoration: none !important; }
.global-site-footer a:hover { color: var(--shell-aqua) !important; }
.global-footer-bottom {
  border-top: 1px solid #d1d8d3; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; font-size: 12px;
}
.global-footer-bottom small { font-size: 12px; }
.global-mobile-dock { display: none; }

@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  body.site-shell-active:not(.site-shell-home) { padding-top: 72px; }
  body.site-shell-active { padding-bottom: 66px; }
  .global-site-header,
  body:not(.site-shell-home) .global-site-header,
  .global-site-header.is-scrolled { height: 72px; padding: 0 4.5% !important; background: rgba(255, 255, 255, .96) !important; }
  .global-brand img { width: 116px !important; }
  .global-header-actions { gap: 6px; }
  .global-contact { display: none; }
  .global-reserve { min-height: 40px; padding: 9px 11px; font-size: 11px; }
  .global-menu-toggle { width: 40px; height: 52px; padding-inline: 4px; }
  .global-site-menu { padding: 94px 7% 40px; }
  .global-menu-inner { display: block; }
  .global-menu-inner > a { display: block; padding: 13px 0; font-size: 16px; }
  .global-site-footer { padding: 45px 0 25px !important; }
  .global-footer-main { display: block; }
  .global-footer-main nav { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .global-footer-main nav a { padding: 10px 0; border-bottom: 1px solid #d1d8d3; }
  .global-footer-bottom { display: grid; gap: 5px; margin-top: 30px; }
  .global-footer-bottom > a { margin-top: 8px; }
  .global-mobile-dock {
    position: fixed; inset: auto 0 0; z-index: 1090; display: grid; grid-template-columns: 38% 62%;
    height: 66px; background: #fff; box-shadow: 0 -5px 24px #243c3822;
  }
  .global-mobile-dock a { display: flex; align-items: center; justify-content: center; color: var(--shell-ink) !important; text-decoration: none !important; font-size: 12px; font-weight: 600; }
  .global-mobile-dock a:last-child { background: var(--shell-aqua); color: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  .global-site-header { transition: none; }
}

/* Keep faces inside editorial card crops across desktop and mobile layouts. */
.fade-gallery .fade-image,
.fair-card img,
.report-grid img,
.content-list-image img,
.story-card img { object-position: center 32%; }

.gallery-media img,
.highlight img,
.guide-card-image img { object-position: center 30%; }

.detail-photo img,
.about-gallery-item img { object-position: center 34%; }

/* This portrait needs a higher focal point than the shared card default. */
.guide-card-image img[src*="gallery-17"] { object-position: center 16%; }

/* Keep short Japanese headings and action labels balanced at every viewport width. */
:where(main, footer, .lead-form) :is(h1,h2,h3,h4,h5,h6,button,summary,dt,dd,figcaption,a,p,li) { text-wrap: pretty; }
:where(main, footer, .lead-form) :is(h1,h2,h3,h4,h5,h6,button,summary,dt,dd,figcaption,.button-link,.card-link,.line-link,.section-title,.field-label) { text-wrap: balance; }


/* Let the complete plan name wrap into balanced lines, including its price. */
main .top-content-card h3, main .fair-copy h3 { display:block; -webkit-line-clamp:unset; max-height:none; }
main .faq-list details p a[href$="/fair/"] { display:inline-block; max-width:100%; }


