:root {
  --ivory: #f3efe5;
  --paper: #faf7f0;
  --brown: #392b24;
  --brown-soft: #67564c;
  --green: #264b3b;
  --green-light: #5f7969;
  --line: rgba(57, 43, 36, 0.23);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --number-font: "Century Gothic", "Avenir Next", Avenir, sans-serif;
  --image-radius: 22px;
  --page: min(1240px, calc(100% - 80px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #b66f35;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: var(--page);
  min-height: 100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.brand-jp {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-en {
  margin-top: 7px;
  color: var(--green-light);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.site-header nav {
  display: flex;
  gap: clamp(24px, 3.4vw, 50px);
}

.site-header nav a {
  position: relative;
  padding: 12px 0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: min(790px, calc(100vh - 100px));
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.82fr) minmax(570px, 1.42fr);
  align-items: center;
  gap: clamp(50px, 6vw, 100px);
  padding: clamp(50px, 6vh, 84px) 0 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 2vw, 30px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.42;
}

h1 {
  font-size: clamp(3.35rem, 5.2vw, 5.2rem);
  white-space: nowrap;
}

.hero-lead {
  max-width: 35rem;
  margin: 34px 0 36px;
  color: var(--brown-soft);
  font-size: 1.02rem;
  line-height: 2;
}

.button-link {
  display: inline-flex;
  min-width: 220px;
  min-height: 58px;
  padding: 14px 20px 14px 28px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--green);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button-link span {
  font-size: 1.1rem;
}

.button-link:hover {
  background: #17382b;
  transform: translateY(-2px);
}

.hero-figure {
  position: relative;
  width: 100%;
  height: clamp(620px, 74vh, 830px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--image-radius);
  background: #d3cbb9;
}

.hero-figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 66%, rgba(21, 28, 20, 0.25));
  content: "";
  pointer-events: none;
}

.hero-figure img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-figure figcaption {
  position: absolute;
  z-index: 1;
  right: 25px;
  bottom: 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: 0.83rem;
  letter-spacing: 0.12em;
}

.hero-note {
  position: absolute;
  bottom: 22px;
  left: 0;
  margin: 0;
  color: var(--green-light);
  font-family: var(--number-font);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.section {
  width: var(--page);
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 50px 8vw;
  padding: 150px 0 170px;
  border-top: 1px solid var(--line);
}

.section-number {
  position: absolute;
  top: 148px;
  right: 0;
  color: rgba(38, 75, 59, 0.16);
  font-family: var(--number-font);
  font-size: clamp(5rem, 9vw, 8.4rem);
  line-height: 1;
}

.about h2,
.menu h2,
.info h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.65rem);
}

.about-copy {
  max-width: 600px;
  padding-top: 58px;
  color: var(--brown-soft);
}

.about-copy p {
  margin: 0 0 1.8em;
}

.about-gallery {
  display: grid;
  grid-column: 1 / -1;
  min-height: 570px;
  margin-top: 38px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(25px, 5vw, 72px);
}

.about-gallery figure {
  margin: 0;
}

.gallery-main {
  align-self: start;
}

.gallery-main img {
  height: 500px;
  border-radius: var(--image-radius);
  object-fit: cover;
}

.gallery-sub {
  padding-bottom: 6px;
}

.gallery-sub img {
  height: 350px;
  border-radius: var(--image-radius);
  object-fit: cover;
}

.gallery-sub figcaption {
  margin-top: 14px;
  color: var(--brown-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
}

.menu {
  padding: 140px max(5vw, 50px) 150px;
  background: var(--paper);
}

.menu-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
}

.menu-intro > p {
  max-width: 480px;
  margin: 0 0 8px;
  color: var(--brown-soft);
}

.menu-controls {
  display: flex;
  margin: 70px 0 34px;
  gap: 10px;
}

.filter-button {
  min-width: 110px;
  min-height: 46px;
  padding: 8px 20px;
  border: 1px solid var(--green);
  border-radius: 0;
  color: var(--green);
  background: transparent;
  font: 700 0.87rem/1 var(--sans);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--green);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--brown);
  column-gap: clamp(45px, 6vw, 90px);
}

.menu-item {
  padding: 38px 0 34px;
  border-bottom: 1px solid var(--line);
}

.menu-item[hidden] {
  display: none;
}

.item-kind {
  margin: 0 0 12px;
  color: var(--green-light);
  font-family: Georgia, serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
}

.item-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.62rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.5;
}

.price {
  margin: 0;
  color: var(--green);
  font-family: var(--number-font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.price span {
  margin-right: 3px;
  font-size: 0.76rem;
  vertical-align: 0.36em;
}

.item-description {
  margin: 12px 0 0;
  color: var(--brown-soft);
  font-size: 0.91rem;
  line-height: 1.75;
}

.tax-note {
  margin: 24px 0 0;
  color: var(--brown-soft);
  font-size: 0.81rem;
  text-align: right;
}

.info {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 9vw;
  padding: 150px 0 155px;
}

.info-details dl {
  margin: 0;
  border-top: 1px solid var(--brown);
}

.info-details dl > div {
  display: grid;
  padding: 29px 0;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
}

.info-details dt {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.info-details dd {
  margin: 0;
  font-family: var(--number-font);
  font-size: 1.17rem;
  letter-spacing: 0.08em;
}

.fiction-note {
  margin: 34px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--green);
  color: var(--brown-soft);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  padding: 70px max(40px, calc((100vw - 1240px) / 2));
  grid-template-columns: 0.8fr 1.3fr auto;
  gap: 6vw;
  color: #f6f2e9;
  background: var(--green);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.38rem;
  letter-spacing: 0.11em;
}

.footer-brand small {
  margin-top: 8px;
  font-family: Georgia, serif;
  font-size: 0.59rem;
  letter-spacing: 0.22em;
}

.footer-meta > p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.9;
}

.credits {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.69rem;
  line-height: 1.7;
}

.credits summary {
  width: fit-content;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.credits p {
  margin: 10px 0 0;
}

.back-to-top {
  align-self: start;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.back-to-top span {
  margin-left: 8px;
}

@media (max-width: 1050px) {
  :root {
    --page: min(100% - 56px, 980px);
  }

  .hero {
    grid-template-columns: minmax(330px, 0.9fr) minmax(430px, 1.1fr);
    gap: 44px;
  }

  .hero-figure {
    height: 650px;
  }

  h1 {
    font-size: clamp(3rem, 5.8vw, 4.1rem);
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 40px);
  }

  html {
    scroll-padding-top: 76px;
  }

  body {
    line-height: 1.8;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 76px;
  }

  .brand-jp {
    font-size: 1.1rem;
  }

  .brand-en {
    margin-top: 4px;
    font-size: 0.51rem;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav a {
    display: none;
  }

  .site-header nav a[href="#menu"] {
    display: block;
    padding: 9px 11px;
    border: 1px solid var(--green);
    color: var(--green);
    font-size: 0.72rem;
  }

  .site-header nav a[href="#menu"]::after {
    display: none;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 34px;
    padding: 34px 0 66px;
  }

  .hero-copy {
    width: 100%;
    padding-left: 0;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.63rem;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 3rem);
    line-height: 1.34;
    white-space: normal;
  }

  .hero-lead {
    margin: 19px 0 22px;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .desktop-only {
    display: none;
  }

  .button-link {
    min-width: 205px;
    min-height: 52px;
  }

  .hero-figure {
    width: calc(100% + 20px);
    height: min(52vh, 430px);
    align-self: flex-start;
  }

  .hero-figure img {
    object-position: 50% 46%;
  }

  .hero-figure figcaption {
    right: 16px;
    bottom: 12px;
    font-size: 0.7rem;
  }

  .hero-note {
    display: none;
  }

  .about {
    display: block;
    padding: 92px 0 104px;
  }

  .section-number {
    top: 94px;
    font-size: 4.8rem;
  }

  .about h2,
  .menu h2,
  .info h2 {
    font-size: clamp(2.4rem, 11vw, 3.25rem);
  }

  .about-copy {
    padding-top: 44px;
  }

  .about-gallery {
    display: block;
    min-height: 0;
    margin-top: 52px;
  }

  .gallery-main img {
    height: 260px;
    border-radius: 16px;
  }

  .gallery-sub {
    width: 78%;
    margin: -26px 0 0 auto !important;
    padding: 12px 0 0 12px;
    background: var(--ivory);
  }

  .gallery-sub img {
    height: 240px;
    border-radius: 16px;
  }

  .menu {
    width: 100%;
    padding: 90px 20px 96px;
  }

  .menu-intro {
    display: block;
  }

  .menu-intro > p {
    margin-top: 28px;
  }

  .menu-controls {
    margin: 43px 0 25px;
    gap: 7px;
  }

  .filter-button {
    min-width: 0;
    min-height: 44px;
    flex: 1;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .menu-list {
    grid-template-columns: 1fr;
  }

  .menu-item {
    padding: 29px 2px 27px;
  }

  .item-row {
    gap: 15px;
  }

  .item-row h3 {
    font-size: 1.2rem;
  }

  .price {
    font-size: 1.42rem;
  }

  .item-description {
    font-size: 0.88rem;
  }

  .info {
    display: block;
    padding: 96px 0 104px;
  }

  .info-details {
    margin-top: 46px;
  }

  .info-details dl > div {
    grid-template-columns: 105px 1fr;
    padding: 23px 0;
  }

  .site-footer {
    display: block;
    padding: 60px 20px 52px;
  }

  .footer-meta {
    margin-top: 32px;
  }

  .back-to-top {
    display: inline-block;
    margin-top: 36px;
  }
}

@media (max-width: 380px) {
  :root {
    --page: calc(100% - 32px);
  }

  .hero {
    padding-top: 26px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .item-row h3 {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
