.wordmark {
  --wordmark-size: 84px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  min-width: 44px;
  height: 80px;
  transition: opacity .3s;
}
.wordmark:hover { opacity: .7; }
.header:not(.fixed):not(.nav-open) .wordmark { visibility: hidden; }
.wordmark .wordmark-caption {
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-size: .6875rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}
.wordmark .wordmark-logo {
  display: block;
  position: relative;
  width: calc(var(--wordmark-size) * .36);
  height: calc(var(--wordmark-size) * .94);
  overflow: hidden;
}
.wordmark-logo img {
  position: absolute;
  left: 50%;
  top: calc(var(--wordmark-size) * -.04);
  width: var(--wordmark-size);
  height: var(--wordmark-size);
  max-width: none;
  object-fit: contain;
  transform: translateX(-50%);
}
.header.fixed .wordmark { --wordmark-size: 64px; height: 64px; }
@media(max-width:760px) {
  .wordmark { --wordmark-size: 66px; height: 66px; gap: 8px; }
  .wordmark .wordmark-caption { font-size: .625rem; }
  .header.fixed .wordmark { --wordmark-size: 60px; height: 60px; }
}

.hero-paper {
  display: grid;
  place-items: center;
  padding: 110px 0 90px;
}
.hero-brand {
  position: static;
  transform: none;
  align-self: center;
}
.hero-caption {
  left: 8%;
  bottom: 16%;
  writing-mode: horizontal-tb;
}
.hero .hero-caption h1 {
  position: static;
  writing-mode: horizontal-tb;
  transform: none;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.95;
  letter-spacing: .13em;
  font-weight: 400;
  animation: none;
  color: #fff;
  text-shadow: 0 2px 16px #26121966;
}
.hero-menu {
  width: auto;
  height: auto;
  border: 0;
  border-bottom: 1px solid #ffffff80;
  border-radius: 0;
  padding: 10px 0;
  bottom: 17%;
  font-size: .875rem;
}
.hero-menu i { display: none; }
.hero-menu:hover {
  border-radius: 0;
  background: none;
  transform: none;
  border-color: #fff;
}
.hero-menu:hover span { transform: translateY(-3px); }
.footer {
  background: var(--wine);
  color: #eee6df;
  padding: 60px 8% 25px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
}
.footer-name {
  white-space: nowrap;
  font-size: .875rem;
  letter-spacing: .16em;
}
.footer-name span {
  font-size: 1.625rem;
  letter-spacing: .15em;
  margin-left: 14px;
}
.footer-address {
  font-size: .75rem;
  line-height: 2.2;
  letter-spacing: .04em;
  color: #cdbbbc;
}
.footer-instagram {
  font-family: var(--sans);
  font-size: .8125rem;
  padding-bottom: 4px;
  border-bottom: 1px solid #94717a;
  transition: border-color .4s;
}
.footer-instagram:hover { border-color: #eee6df; }
.footer-colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid #90656f33;
  font-size: .75rem;
  letter-spacing: .04em;
  color: #bea1a9;
}
.footer-colophon small {
  font-family: var(--sans);
  font-size: .6875rem;
  letter-spacing: .09em;
}
.menu-dialog {
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f9f5ef;
  scrollbar-gutter: stable;
}
.menu-dialog[open] { animation: menuOpen .45s var(--ease); }
@keyframes menuOpen {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.menu-sheet {
  display: grid;
  grid-template-columns: 24% 76%;
  min-height: 100%;
}
.menu-identity {
  position: sticky;
  top: 0;
  height: 100svh;
  background: #ede5df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
}
.menu-identity>span {
  font-size: .875rem;
  letter-spacing: .26em;
  margin-left: .26em;
}
.menu-identity .logo-crop { margin-top: 25px; }
.menu-identity>p {
  font-size: .75rem;
  letter-spacing: .16em;
  margin-top: 38px;
}
.menu-sheet-main {
  min-width: 0;
  width: 100%;
  max-width: 1140px;
  padding: 68px clamp(40px, 6vw, 110px) 45px;
}
.menu-dialog .dialog-top {
  display: block;
  margin-bottom: 36px;
}
.menu-dialog .dialog-top>div>span {
  font: .75rem/1.8 var(--serif);
  letter-spacing: .2em;
}
.menu-dialog .dialog-top h2 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .2em;
  margin-top: 16px;
}
.menu-dialog .dialog-close {
  position: fixed;
  top: 25px;
  right: 30px;
  z-index: 4;
  width: 48px;
  height: 48px;
  background: #f9f5ef;
  border-radius: 50%;
}
.menu-dialog .dialog-close>span { top: 24px; left: 12px; }
.menu-dialog-tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f9f5ef;
  display: flex;
  gap: 38px;
  margin-top: 0;
  border-bottom: 1px solid #c7b7ba;
  padding-top: 7px;
}
.menu-dialog-tabs button {
  flex: none;
  padding: 14px 3px 15px;
  font-size: 1rem;
  letter-spacing: .09em;
  color: #826a72;
}
.menu-dialog-tabs button[aria-selected=true] { color: #3b2026; }
.menu-dialog-tabs button[aria-selected=true]:after {
  background: #81434e;
  height: 1px;
}
.menu-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  column-gap: 58px;
  row-gap: 42px;
  align-items: start;
  padding: 48px 0 35px;
  min-height: 0;
}
.menu-group { margin: 0; }
.menu-group h3 {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .13em;
  color: #7c3947;
  margin: 0 0 21px;
  line-height: 1.8;
}
.menu-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 24px;
  padding: 10px 0;
  border: 0;
  font-size: 1rem;
  line-height: 1.95;
}
.menu-row>span:last-child {
  font-size: .875rem;
  padding-top: 2px;
  letter-spacing: .015em;
  font-variant-numeric: tabular-nums;
}
.menu-row small {
  font-size: .75rem;
  line-height: 1.85;
  margin-top: 6px;
  color: #806a70;
}
.menu-group-note {
  font-size: .75rem;
  line-height: 2;
  color: #806a70;
  margin-top: 17px;
}
.menu-dialog .dialog-bottom {
  margin-top: 18px;
  padding-top: 25px;
  border-top: 1px solid #d0c2c3;
  gap: 30px;
}
.menu-dialog .dialog-bottom p {
  font-size: .75rem;
  color: #7b626b;
  line-height: 2;
}
.menu-dialog .dialog-bottom .text-link {
  font-size: .8125rem;
  gap: 25px;
  margin: 0;
}
@media(min-width:1600px) {
  .hero-brand { top: auto; }
  .hero .hero-caption h1 { font-size: 2.5rem; }
}
@media(max-width:1100px) {
  .footer-inner { grid-template-columns: 1fr auto; gap: 25px; }
  .footer-address { grid-row: 2; grid-column: 1 / -1; }
  .footer-instagram { justify-self: end; }
  .menu-sheet { grid-template-columns: 20% 80%; }
  .menu-sheet-main { padding-left: 45px; padding-right: 45px; }
  .menu-panel { column-gap: 35px; }
}
@media(max-width:760px) {
  .hero { min-height: 600px; }
  .hero-paper { padding: 86px 0 65px; }
  .hero-brand { top: auto; }
  .hero-caption { left: 9%; bottom: 24%; width: 84%; }
  .hero .hero-caption h1 {
    font-size: clamp(1.25rem, 5.3vw, 1.75rem);
    line-height: 2.05;
    letter-spacing: .08em;
  }
  .hero-menu { right: 10%; bottom: 8%; font-size: .875rem; }
  .footer { padding: 40px 7% 22px; }
  .footer-inner { gap: 24px; }
  .footer-name { font-size: .8125rem; letter-spacing: .08em; }
  .footer-name span { font-size: 1.375rem; margin-left: 8px; }
  .footer-address { font-size: .75rem; line-height: 2.3; }
  .footer-instagram { font-size: .75rem; }
  .footer-colophon { margin-top: 30px; padding-top: 19px; font-size: .6875rem; }
  .menu-sheet { display: block; }
  .menu-identity { display: none; }
  .menu-sheet-main { padding: 42px 7% 34px; }
  .menu-dialog .dialog-top { margin-bottom: 28px; }
  .menu-dialog .dialog-top h2 { font-size: 1.75rem; margin-top: 15px; }
  .menu-dialog .dialog-close { top: 20px; right: 15px; width: 44px; height: 44px; }
  .menu-dialog .dialog-close>span { top: 22px; left: 10px; }
  .menu-dialog-tabs { gap: 31px; padding-top: 9px; }
  .menu-dialog-tabs button { padding: 15px 2px; font-size: .9375rem; }
  .menu-panel { display: block; padding: 37px 0 15px; }
  .menu-group { margin-bottom: 39px; }
  .menu-group h3 { margin-bottom: 17px; font-size: .875rem; }
  .menu-row { font-size: 1rem; gap: 21px; padding: 9px 0; }
  .menu-row>span:last-child { font-size: .875rem; }
  .menu-dialog .dialog-bottom { display: block; margin-top: 5px; padding-top: 24px; }
  .menu-dialog .dialog-bottom .text-link { margin-top: 15px; }
}
@media(max-width:380px) {
  .hero-brand .logo-crop { height: 187px; }
  .hero-brand { top: auto; }
  .footer-address { font-size: .6875rem; }
  .menu-sheet-main { padding-left: 6%; padding-right: 6%; }
  .menu-dialog-tabs { gap: 26px; }
  .menu-row { gap: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .menu-dialog[open] { animation: none; }
}

@media(max-width:760px) {
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero-paper {
    display: grid;
    width: 100%;
    min-height: 0;
    padding: 88px 0 43px;
  }
  .hero-brand>span,
  .hero-brand>p { display: none; }
  .hero-brand .logo-crop {
    width: 52px;
    height: 145px;
    margin: 0;
  }
  .hero-brand .logo-crop img {
    width: 145px;
    height: 145px;
  }
  .hero-place {
    bottom: 12px;
    font-size: .6875rem;
    letter-spacing: .12em;
  }
  .hero-visual {
    width: 100%;
    aspect-ratio: 3 / 2;
    flex: none;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    animation: none;
    transform: none;
  }
  .hero-shade {
    background: linear-gradient(180deg, transparent 35%, #23101885);
  }
  .hero-caption {
    left: 7%;
    bottom: 11%;
    width: 68%;
  }
  .hero .hero-caption h1 {
    font-size: clamp(1.125rem, 5.1vw, 1.625rem);
    line-height: 1.8;
    letter-spacing: .08em;
  }
  .hero-menu {
    right: 7%;
    bottom: 12%;
    font-size: .8125rem;
  }
  .story-photo,
  .access-photo { width: 100%; }
  .story-photo img,
  .story-aside img,
  .food-image img,
  .access-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
  .scene-visual {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .scene-visual>img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  .scene-visual.switching>img { transform: none; }
  .gallery-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 24px;
  }
  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    width: 100%;
    margin: 0;
    grid-column: auto;
    justify-self: stretch;
  }
  .gallery-item img,
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
}

@media(max-width:760px) {
  .header .menu-toggle { color: var(--ink); }
  .hero-visual { aspect-ratio: auto 3 / 2; }
  .hero-image {
    height: auto;
    aspect-ratio: auto 3 / 2;
    object-fit: contain;
  }
  .story-photo img,
  .story-aside img,
  .food-image img,
  .scene-visual,
  .scene-visual>img,
  .gallery-item img,
  .gallery-item:nth-child(2) img,
  .gallery-item:nth-child(3) img,
  .access-photo img { aspect-ratio: auto 3 / 2; }
}

.story-aside {
  grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr) minmax(0,.8fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  margin-top: 100px;
}
.story-aside>p {
  align-self: center;
  justify-self: start;
  margin: 0;
  padding-bottom: 30px;
  font-size: clamp(1.125rem, 1.65vw, 1.75rem);
  line-height: 2.3;
  letter-spacing: .08em;
  writing-mode: horizontal-tb;
}
.story-aside img {
  width: 100%;
  height: auto;
  aspect-ratio: auto 1600 / 1066;
  object-fit: contain;
}
.story-aside .aside-interior img { aspect-ratio: auto 1045 / 1567; }
.story-aside .aside-interior { margin-top: clamp(50px, 7vw, 110px); }
.story-aside figcaption {
  margin-top: 15px;
  line-height: 1.9;
  white-space: normal;
}
@media(max-width:1000px) {
  .story-aside {
    grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
    gap: 32px;
    margin-top: 80px;
  }
  .story-aside>p {
    grid-column: 1 / -1;
    padding: 0;
    font-size: 1.5rem;
    line-height: 2;
  }
  .story-aside .aside-interior { margin-top: 60px; }
}
@media(max-width:760px) {
  .story-aside { column-gap: 18px; row-gap: 28px; margin-top: 65px; }
  .story-aside>p { font-size: 1.375rem; }
  .story-aside .aside-interior { margin-top: 40px; }
  .story-aside figcaption { font-size: .75rem; letter-spacing: 0; }
}


/* iOS browser chrome can shrink or expand while the menu is open. */
@media(max-width:760px) {
  .menu-dialog {
    position: fixed;
    inset: 0;
    height: 100%;
    height: 100dvh;
    max-height: none;
    min-height: 0;
  }
  .menu-dialog::backdrop {
    background: #f6f2e9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .menu-dialog .menu-sheet-main {
    padding-bottom: max(34px, calc(16px + env(safe-area-inset-bottom)));
  }
}
