

:root {
  --wrap-pad:  20px;
  --section-y: 64px;
  --fs-body:   14px;
  --lh-body:   2.2;
  --header-top: 198px;
  --header-bar: 60px;
}

.site-header--overlay {
  height: var(--header-top);
  min-height: 0;
  padding: 0;
  transition: background-color var(--dur) var(--ease);
}

.site-header--overlay .logo {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
}
.site-header--overlay .logo { width: 190px; }
.site-header--overlay .logo img { height: auto; }

.site-header--overlay .head-nav { display: block; }
.site-header--overlay .head-nav .nav { display: none; }
.site-header--overlay .head-nav .sns { display: none; }
.site-header--overlay .header-fix { display: none; }
.site-header--overlay .hamburger { display: none; }

.site-header--overlay .lang-switch {
  position: fixed;
  top: 22px;
  left: 12px;
  right: auto;
}

body.is-scrolled .site-header--overlay { height: var(--header-bar); }
body.is-scrolled .site-header--overlay .logo { top: 16px; left: 20px; transform: none; width: 96px; }
body.is-scrolled .site-header--overlay .lang-switch { top: 8px; left: auto; right: 8px; }

body:has(.hero) .site-header--overlay,
body:has(.hero).is-scrolled .site-header--overlay {
  height: var(--header-bar);
  background: rgba(255, 255, 255, calc(.88 * var(--hp, 0)));
  border-bottom: 1px solid rgba(0, 0, 0, calc(.08 * var(--hp, 0)));
  transition: none;
}
body:has(.hero) .site-header--overlay .logo,
body:has(.hero).is-scrolled .site-header--overlay .logo {
  top: 16px;
  left: 20px;
  transform: none;
  width: 96px;
  opacity: clamp(0, var(--hp, 0) * 2.3 - .667, 1);
  transition: none;
}
body:has(.hero) .site-header--overlay .logo img { filter: none; }
body:has(.hero) .site-header--overlay .lang-switch { top: 8px; left: auto; right: 8px; }

body:has(.hero) .hero::before {
  display: block;
  position: absolute;
  top: 66px;
  left: 50%;
  z-index: 1;
  width: 190px;
  height: auto;
  aspect-ratio: 265 / 87;
  border-radius: 0;
  background: url("../images/logo.png") center / contain no-repeat;
  transform: translateX(-50%);
  opacity: clamp(0, 1 - var(--hp, 0) * 3.45, 1);
  content: "";
  pointer-events: none;
}
body[data-page="home"]:has(.hero) .hero::before {
  filter: drop-shadow(0 0 7px #ffffff) drop-shadow(0 0 14px #ffffff);
}

.hero {
  min-height: 0;
  padding: var(--header-top) 0 0;
}
.hero .slideshow { height: auto; aspect-ratio: 3 / 2; }
.hero-body {
  position: static;
  padding: 8px var(--wrap-pad);
  max-width: none;
  text-align: right;
}
.hero-ttl { font-size: 10px; line-height: 1.6; letter-spacing: .05em; }

.section { padding-inline: 0; }
.section > .wrap { padding: 44px var(--wrap-pad); }
.sec-ttl { margin-bottom: 26px; }
.sec-ttl-sub  { font-size: 42px; }
.sec-ttl-main { font-size: 16px; }

#concept > .wrap { padding: 44px var(--wrap-pad) 52px; }
#concept .reveal-lines { margin: 0 0 26px; }
#concept .reveal-lines .line span { font-size: 24px; line-height: 34px; padding: 0 8px; }
#concept .reveal-lines .line + .line { margin-top: 10px; }

#concept .collage {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 26px;
}
#concept .collage:nth-of-type(1) { width: 100%; margin-bottom: 26px; }
#concept .collage:nth-of-type(2) { width: 60%; margin-top: 26px; margin-bottom: 0; }
#concept .txt-center { margin-top: 30px; }

#dish .collage {
  grid-template-columns: minmax(0, 1fr);
  margin: 26px 0 0;
}
#dish .txt-center { margin-top: 26px; }

#photo .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; align-items: start; }
#photo .gallery-grid img { height: auto; aspect-ratio: auto 4 / 3; }

#access .sec-ttl { align-items: center; text-align: center; }
#access .sec-ttl-sub  { font-size: 20px; }
#access .sec-ttl-main { font-size: 16px; }
#access .collage {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 26px;
}
#access .txt-center { margin-top: 34px; }

.info-list { max-width: none; }
.info-list dl {
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 0 16px;
  padding: 8px 0;
}
.info-list dt { font-size: 14px; line-height: 1.8; }
.info-list dd { font-size: 14px; line-height: 1.8; }

.map-frame { aspect-ratio: auto; width: 100%; height: 280px; }
#reserve .txt-center { margin-top: 30px; }

main .btn--line {
  width: 240px;
  max-width: 100%;
  height: 46px;
  min-height: 0;
  padding-block: 0;
  font-size: 16px;
}

.hero-sub {
  position: static;
  padding: 16px var(--wrap-pad) 0;
  font-size: 38px;
}

#photo .gallery-note { margin-bottom: 32px; font-size: 12px; }
#photo .gallery-cat { margin-bottom: 48px; }
#photo .gallery-cat:last-child { margin-bottom: 0; }
#photo .gallery-cat-ttl { margin-bottom: 20px; }
#photo .gallery-cat-ttl .sec-ttl-sub  { font-size: 30px; }
#photo .gallery-cat-ttl .sec-ttl-main { font-size: 15px; }

#ingredient .collage,
#ceramic .collage { margin-bottom: 24px; }

body[data-page="news"]::before { background-image: url("../images/bg-sp.webp"); }
body[data-page="404"] main { padding-top: calc(var(--header-top) + 180px); }

.drawer-inner { flex-direction: column; }
.drawer-brand-col {
  flex: none;
  height: auto;
  padding: 29px var(--wrap-pad) 0;
}
.drawer-brand-img {
  display: block;
  width: 110px;
  height: auto;
  filter: brightness(0) invert(1);
}
.drawer-menu {
  min-height: 0;
  padding-top: 40px;
}
.drawer-menu .sub-links { margin-top: 40px; }

body.has-sticky { padding-bottom: 0; }
body.has-sticky #site-footer {
  padding-bottom: calc(var(--section-y) * .7 + var(--sticky-h, 3.25rem) + env(safe-area-inset-bottom, 0px));
}
[data-map-link].btn { padding-inline: 1.2em; white-space: nowrap; }

html .sticky-cta:not(.sticky-cta--side){left:12px;right:12px;bottom:calc(var(--safe-b,env(safe-area-inset-bottom,0px)) + 12px);overflow:hidden;border:1px solid var(--color-line-soft,rgba(0,0,0,.12));border-radius:var(--radius,0px);box-shadow:0 0 0 1px rgba(255,255,255,.22),0 8px 24px rgba(0,0,0,.28),0 2px 6px rgba(0,0,0,.14)}
html body.has-sticky:not(.has-sticky-side){padding-bottom:0}
html body.has-sticky:not(.has-sticky-side) .site-footer::after{content:"";display:block;height:var(--sticky-h,5.5rem)}
html body.has-sticky-menu:not(.has-sticky-side) #site-drawer{bottom:0;padding-bottom:calc(var(--sticky-h,5.5rem) - 16px)}
html .sticky-cta .btn-menu i{margin-block:.3rem}
html .sticky-cta .btn-menu button{line-height:1}
html[lang="en"] .hero-ttl { letter-spacing: 0; }
