.gu-back-top{position:fixed;right:20px;bottom:24px;z-index:990;display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--gu-line);border-radius:var(--gu-radius-control);background:#fff;color:var(--gu-brand-ink);box-shadow:var(--gu-shadow-bar);text-decoration:none}
.gu-back-top[hidden]{display:none}
@media(max-width:767px){
 .gu-site{--gu-bottom-clearance:calc(80px + env(safe-area-inset-bottom,0px));padding-bottom:var(--gu-bottom-clearance)}
 .gu-site:has(.gu-mobile-bar-floating){--gu-bottom-clearance:calc(96px + env(safe-area-inset-bottom,0px))}
 .gu-site .gu-mobile-bar-floating{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:8px 4px;border:1px solid var(--gu-line);border-radius:var(--gu-radius-panel);box-shadow:var(--gu-shadow-bar)}
 .gu-back-top{right:16px;bottom:calc(var(--gu-bottom-clearance) + 12px)}
 .gu-menu-floating{margin-bottom:calc(var(--gu-bottom-clearance) + 8px);max-height:min(65dvh,calc(100dvh - var(--gu-bottom-clearance) - 24px))}
 .gu-mobile-menu[open]{bottom:calc(var(--gu-bottom-clearance) + 8px)}
}
/* No phantom bottom clearance when the optional navigation is disabled. */
body.gu-site.gu-sample-layout.gu-no-bottom-nav{--gu-bottom-clearance:0px;padding-bottom:0}
body.gu-site.gu-no-header-hamburger .gu-header>.gu-menu-trigger,
body.gu-site.gu-no-header-hamburger .gu-header>details.gu-mobile-menu:not([open]){display:none!important}
/* The one-row header switches early; retain navigation in the tablet gap. */
@media(min-width:768px) and (max-width:1099px){
 body.gu-site:has(.gu-header-pc-row):has(.gu-mobile-bar){--gu-bottom-clearance:80px;padding-bottom:80px}
 .gu-site:has(.gu-header-pc-row) .gu-mobile-bar{display:flex;position:fixed;z-index:1000;bottom:0;left:0;right:0;padding:8px 4px;background:#fff;border-top:1px solid var(--gu-line)}
 .gu-site:has(.gu-header-pc-row) .gu-mobile-bar :is(a,button){flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;color:var(--gu-text);font:500 12px/1.4 'Noto Sans JP',sans-serif;text-decoration:none;border:0;background:transparent;padding:2px;cursor:pointer}
}
