:root {
  --primary: #111111;
  --warm-white: #f7f4ee;
  --paper-beige: #ede6da;
  --muted-gray: #5c5c5c;
  --border: #d7d0c6;
  --accent: #1e1e1e;
  --max-width: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 128px;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  color: var(--primary);
  background: var(--warm-white);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.06em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - var(--space-4) * 2), var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
  background: #fff;
  padding: var(--space-2);
  z-index: 9999;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background-color 0.6s ease, box-shadow 0.6s ease, padding 0.6s ease;
  padding: var(--space-2) 0;
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.08);
}

.site-header.scrolled {
  background: rgba(247, 244, 238, 0.96);
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.08);
  padding: var(--space-2) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.lang-switcher {
  position: relative;
  display: inline-block;
  margin-right: auto;
}

.lang-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 0;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.12);
}

.globe-icon {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-block;
}

.globe-icon::before,
.globe-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.globe-icon::before {
  width: 6px;
  height: 12px;
  border-top: 0;
  border-bottom: 0;
}

.globe-icon::after {
  width: 12px;
  height: 6px;
  border-left: 0;
  border-right: 0;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 132px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.14);
  padding: 8px;
  display: none;
  z-index: 80;
}

.lang-menu.open {
  display: grid;
  gap: 4px;
}

.lang-btn {
  font: inherit;
  font-size: 12px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.lang-btn:hover {
  transform: none;
  background: rgba(237, 230, 218, 0.7);
  border-color: rgba(17, 17, 17, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Noto Serif JP", serif;
}

.logo-image {
  width: clamp(140px, 15vw, 220px);
  height: auto;
  display: block;
}

.logo-mark {
  font-size: 26px;
  border: 1px solid var(--border);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.logo-text {
  font-size: 20px;
  letter-spacing: 0.12em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.global-nav a {
  position: relative;
  font-size: 15px;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 0;
}

#google_translate_element {
  position: absolute;
  left: -9999px;
}

iframe.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-menu-frame {
  display: none !important;
  visibility: hidden !important;
}

body > .skiptranslate {
  display: none !important;
}

html,
body {
  margin-top: 0 !important;
  top: 0 !important;
}

.insta-glyph {
  position: relative;
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.insta-glyph::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.insta-glyph::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  top: -2px;
  right: -2px;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.global-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--warm-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.hero-media.is-visible {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 17, 17, 0.62), rgba(17, 17, 17, 0.24));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-7) 0;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-sub {
  margin: 0 0 var(--space-2);
  font-family: "Noto Serif JP", serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

h1 {
  font-size: clamp(34px, 5vw, 68px);
}

.hero h1 {
  font-size: clamp(16px, 1.9vw, 28px);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.2;
  letter-spacing: 0.14em;
  max-height: 56vh;
  margin: 0 auto;
}

h2 {
  font-size: clamp(24px, 3.3vw, 44px);
  margin-bottom: var(--space-4);
}

.vertical-heading {
  display: block;
  width: fit-content;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.12em;
  max-height: 320px;
  margin: 0 auto var(--space-3);
}

h3 {
  font-size: clamp(20px, 2.1vw, 30px);
  margin-bottom: var(--space-2);
}

.hero-copy {
  margin-top: var(--space-3);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-vertical {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-7);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.24em;
  z-index: 2;
  font-family: "Noto Serif JP", serif;
}

.scroll-indicator {
  display: inline-flex;
  margin-top: var(--space-5);
  border-bottom: 1px solid rgba(247, 244, 238, 0.7);
  padding-bottom: var(--space-1);
}

.section {
  padding: var(--space-6) 0;
}

.sub-hero {
  padding: 220px 0 var(--space-5);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(237, 230, 218, 0.55), rgba(247, 244, 238, 1));
}

.sub-hero h1 {
  color: var(--primary);
}

.sub-hero p {
  max-width: 760px;
  margin: var(--space-3) 0 0;
}

.sub-hero-image {
  margin-top: var(--space-3);
  max-width: 720px;
}

.sub-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
}

.about-page .sub-hero {
  padding: 180px 0 var(--space-5);
}

.subpage .sub-hero {
  padding-top: 72px;
}

.about-page .sub-hero-image,
.menu-page .sub-hero-image,
.access-page .sub-hero-image {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  max-width: none;
}

.about-page .sub-hero-image img,
.menu-page .sub-hero-image img,
.access-page .sub-hero-image img {
  width: 100%;
  height: min(72vh, 760px);
  aspect-ratio: auto;
  object-fit: cover;
  border: 0;
}

.about-page .sub-hero-overlay,
.menu-page .sub-hero-overlay,
.access-page .sub-hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: var(--space-1);
  padding: var(--space-4);
  color: #fff;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.42), rgba(17, 17, 17, 0.06));
}

.about-page .sub-hero-overlay .eyebrow,
.menu-page .sub-hero-overlay .eyebrow,
.access-page .sub-hero-overlay .eyebrow {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

.about-page .sub-hero-overlay h1,
.menu-page .sub-hero-overlay h1,
.access-page .sub-hero-overlay h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(28px, 4.2vw, 56px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.menu-page .sub-hero-overlay p,
.access-page .sub-hero-overlay p,
.about-page .sub-hero-overlay p {
  color: #fff;
  margin: 0;
  max-width: 760px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 14px;
  color: var(--muted-gray);
  margin-bottom: var(--space-3);
}

.breadcrumbs span {
  opacity: 0.7;
}

.paper {
  background: var(--paper-beige);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.split.reverse .split-content {
  order: 2;
}

.split.reverse .split-media {
  order: 1;
}

.split-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
  color: var(--muted-gray);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: var(--space-4);
  transition: transform 0.5s ease;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: var(--space-2);
}

.card:hover {
  transform: translateY(-4px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--warm-white);
  padding: 14px 30px;
  font-size: 16px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.button:hover {
  transform: translateY(-4px);
  opacity: 0.92;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.gallery img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.access-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: stretch;
}

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

dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
}

dt {
  font-weight: 500;
}

dd {
  margin: 0;
}

.map-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
  filter: none;
}

.map-frame img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.map-below {
  max-width: 980px;
}

.map-below .map-frame iframe {
  min-height: 420px;
}

.section-head {
  margin-bottom: var(--space-4);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.news-list li {
  border-bottom: 1px solid var(--border);
}

.news-list a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.news-list a:hover {
  transform: translateY(-4px);
  background: rgba(237, 230, 218, 0.5);
}

.news-list time {
  color: var(--muted-gray);
  font-size: 16px;
}

.contact-wrap {
  max-width: 760px;
}

.menu-list {
  display: grid;
  gap: var(--space-4);
}

.menu-catalog-head {
  border-left: 4px solid #d3a737;
  padding-left: var(--space-2);
  margin-bottom: var(--space-3);
  font-weight: 700;
}

.menu-catalog {
  border-top: 1px dotted var(--border);
}

.menu-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-3) 0;
  border-bottom: 1px dotted var(--border);
}

.menu-row img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.menu-row-body h2 {
  font-size: clamp(18px, 2.1vw, 28px);
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.menu-reco {
  margin: 0 0 var(--space-1);
  color: #8a6a17;
  font-weight: 700;
}

.menu-price {
  margin: 0;
  color: #c75032;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.menu-item {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
}

.menu-item dl {
  border-top: 0;
}

.menu-item dl div {
  grid-template-columns: 1fr auto;
}

.timeline {
  border-top: 1px solid var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  text-align: left;
  padding: var(--space-2);
  border-bottom: 1px solid var(--border);
}

th {
  width: 180px;
  font-weight: 500;
}

.post-card {
  border: 1px solid var(--border);
  padding: var(--space-4);
  background: #fff;
}

.contact-form {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.form-row {
  display: grid;
  gap: var(--space-1);
}

label {
  font-size: 15px;
}

input,
textarea,
select {
  font: inherit;
  border: 1px solid var(--border);
  background: #fff;
  padding: 14px;
  color: var(--primary);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.site-footer {
  background: var(--accent);
  color: var(--warm-white);
  padding: var(--space-5) 0 var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(247, 244, 238, 0.25);
}

.footer-grid:has(> .footer-links:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
  padding-bottom: var(--space-3);
}

.footer-logo {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin: 0 0 var(--space-2);
}

.footer-links {
  display: grid;
  gap: 4px;
}

.copyright {
  margin: var(--space-3) 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(247, 244, 238, 0.85);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .global-nav {
    gap: var(--space-2);
  }

  .section {
    padding: var(--space-5) 0;
  }

  .split,
  .grid-two,
  .access-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .split.reverse .split-content,
  .split.reverse .split-media {
    order: initial;
  }

  .vertical-heading {
    max-height: 300px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 100vw;
  }

  .container {
    width: min(calc(100% - var(--space-3) * 2), var(--max-width));
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid var(--border);
    background: rgba(247, 244, 238, 0.96);
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 60;
  }

  .lang-switcher {
    margin-right: 0;
  }

  .lang-toggle {
    width: 34px;
    height: 34px;
  }

  .lang-menu {
    left: 0;
    right: auto;
    min-width: 96px;
  }

  .lang-btn {
    padding: 6px 8px;
    font-size: 11px;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transition: transform 0.5s ease, opacity 0.5s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 360px);
    height: 100vh;
    background: var(--warm-white);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-5);
    gap: var(--space-3);
    transition: right 0.6s ease;
  }

  .global-nav.open {
    right: 0;
  }

  .hero-vertical {
    right: var(--space-2);
    bottom: var(--space-5);
    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-height: 58vh;
    letter-spacing: 0.1em;
  }

  .about-page .sub-hero-image img,
  .menu-page .sub-hero-image img,
  .access-page .sub-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .subpage .sub-hero {
    padding: 58px 0 0;
  }

  .access-page .access-wrap {
    gap: var(--space-2);
  }

  .access-page .map-frame img {
    min-height: 0;
  }

  .vertical-heading {
    max-height: 240px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .menu-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .menu-row img {
    width: 140px;
    height: 140px;
  }

  .menu-price {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
