/* HS confirmed rules only; production in progress */
.case-logo{display:block;font-family:"Shippori Mincho",serif;font-weight:600;font-size:clamp(19px,2.2vw,30px);line-height:1.5;white-space:nowrap;letter-spacing:.06em}
.policy__txt-wrapper p,.menu__txt-wrapper p,.policy__txt,.access__list dd,.shop__list dd{overflow-wrap:anywhere}
.menu__btn-list{justify-content:center}
.access__contents:has(>div:only-child){display:block}
body[data-news-thumbnails="none"] .CMS-NEWS-INDEX{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem}
body[data-news-thumbnails="none"] .CMS-NEWS-ITEM{width:auto;margin:0;padding:0}
body[data-news-thumbnails="none"] .CMS-NEWS-TIME{margin:0 0 .7em}
@media(max-width:767px){body[data-news-thumbnails="none"] .CMS-NEWS-INDEX{grid-template-columns:1fr;gap:2rem}.case-logo{font-size:22px}.menu__btn-list{justify-content:center}}

.underlayer .hero{background-image:url(../img/page-mv.jpg)}


/* Three selected menu tabs: preserve template button width and center the group. */
.menu__btn-list{grid-template-columns:repeat(3,minmax(0,calc((100% - 6rem)/4)));justify-content:center}

/* Text logo must fit the TOP header rather than the original narrow image slot. */

body[data-case="148"]:not(.underlayer) .header__logo .case-logo{white-space:normal;word-break:keep-all;text-align:center}
@media(max-width:767px){
  body[data-case="148"]:not(.underlayer) .header .header__logo{width:calc(100% - max(60px,8rem))}
  body[data-case="148"]:not(.underlayer) .header__logo .case-logo{text-align:left}
}

/* User-approved single supplied photo on this case TOP; keep template size and spacing. */
body[data-case="148"] .gallery__slider[data-gallery-motion="static"] .swiper-wrapper{justify-content:center}
body[data-case="148"] .gallery__slider[data-gallery-motion="static"] .swiper-slide{max-width:calc(100% - 1.2rem)}

/* Reservation buttons share the navigation items' center alignment. */
.header__nav-item:has(.nav-reserve), .footer__nav-item:has(.nav-reserve) { display:flex; align-items:center; justify-content:center; }
.header__nav-item a.nav-reserve, .footer__nav-item a.nav-reserve {
 display:inline-flex; align-items:center; justify-content:center; padding:10px 18px;
 border:1px solid currentColor; border-radius:4px; line-height:1.4;
 font-size:14px; white-space:nowrap; text-decoration:none;
}
.nav-reserve::after, .nav-reserve::before { display:none; }
.required-mark { display:inline-block; margin-left:.6em; padding:2px 6px; background:#b62222; color:#fff; font-size:12px; line-height:1.4; vertical-align:middle; }
.header .header__logo { flex-shrink:0; }
.header .header__logo > a, .footer__logo { display:block; }
.header .header__logo img, .footer__logo img { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; }
@media(max-width:767px) {
 body[data-case="148"]:not(.underlayer) .header .header__logo,
 .header .header__logo { width:80px; max-width:80px; height:auto; flex:0 0 80px; }
 .footer__logo { width:64px; max-width:64px; height:auto; }
 .fixed-btn { padding-bottom:env(safe-area-inset-bottom,0px); background:#4c2500; }
 .footer { padding-bottom:calc(90px + env(safe-area-inset-bottom,0px)); }
 .pagetop { bottom:calc(70px + env(safe-area-inset-bottom,0px)); }
 .copy { text-align:center; }
}
