:root {
  --bg-ivory: #F7F4EE;
  --bg-off-white: #FCFAF5;
  --text-ink: #1F1A17;
  --text-soft-black: #2B2521;
  --accent-gold: #A57A3A;
  --accent-vermilion: #8D1F1F;
  --cedar-brown: #6B4B34;
  --max-width: 1400px;
  --content-width: 1200px;
  --radius-subtle: 8px;
  --section-space: clamp(8.75rem, 12vw, 11.25rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-ink);
  background: var(--bg-ivory);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

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

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

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.narrow {
  width: min(100%, var(--content-width));
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  display: block;
  width: auto;
  height: clamp(120px, 22vh, 200px);
  max-width: min(40vw, 160px);
  object-fit: contain;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 rgba(31, 26, 23, 0.08);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lang-btn {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(31, 26, 23, 0.22);
  background: #fff;
  color: var(--text-ink);
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--accent-gold);
}

.lang-btn.is-active {
  background: var(--text-ink);
  color: #fff;
  border-color: var(--text-ink);
}

body.lang-zh {
  font-family: "Noto Sans SC", "Noto Sans JP", sans-serif;
}

.main-nav {
  display: flex;
  gap: 1.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.17em;
}

.main-nav a {
  position: relative;
  padding-bottom: 6px;
}

.main-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.35s ease;
}

.main-nav a:hover::after,
.mobile-nav a:hover::after {
  width: 100%;
}

.main-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--text-ink);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

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

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

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 360px);
  height: 100dvh;
  z-index: 1020;
  background: var(--bg-off-white);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.24, 0.72, 0, 1);
  border-left: 1px solid rgba(31, 26, 23, 0.08);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav {
  padding: 120px 34px 40px;
  display: grid;
  gap: 1.35rem;
}

.mobile-nav a {
  position: relative;
  width: fit-content;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1010;
  background: rgba(31, 26, 23, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/img-hero-ramen.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: slowZoom 16s ease-out forwards;
}

@keyframes slowZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 26, 23, 0.3), rgba(31, 26, 23, 0.55));
}

.steam-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.steam {
  position: absolute;
  bottom: -8%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  filter: blur(8px);
  animation: steamRise linear infinite;
}

@keyframes steamRise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  18% { opacity: 0.18; }
  100% { transform: translate3d(var(--x-shift), -92vh, 0) scale(1.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 4;
  padding-top: 96px;
  color: #f8f1e8;
}

.jp-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.35em;
  margin: 0 0 14px;
  color: rgba(248, 241, 232, 0.86);
}

.hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2.4rem, 6.7vw, 5.2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.06em;
}

.hero-sub {
  margin: 24px 0 36px;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  max-width: 640px;
  color: rgba(248, 241, 232, 0.92);
}

.btn-reserve {
  display: inline-block;
  border: 1px solid var(--accent-gold);
  color: #fff8ee;
  padding: 14px 28px;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.btn-reserve:hover {
  background: var(--accent-gold);
  color: var(--text-ink);
  transform: translateY(-2px);
}

.btn-reserve--on-light {
  color: var(--text-ink);
  pointer-events: none;
}

.home-hub-block:hover .btn-reserve--on-light,
.home-hub-block:focus-visible .btn-reserve--on-light {
  background: var(--accent-gold);
  color: var(--text-ink);
  transform: translateY(-2px);
}

.brush-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 5;
  background: linear-gradient(to top, var(--bg-ivory) 8%, transparent 100%);
}

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

.page-hero {
  padding-top: 118px;
  padding-bottom: 40px;
}

.mt-40 {
  margin-top: 40px;
}

.menu-hero-img {
  margin: clamp(28px, 4vw, 40px) 0 0;
  overflow: hidden;
  border-radius: var(--radius-subtle);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.menu-hero-img img {
  width: 100%;
  max-height: min(52vh, 480px);
  object-fit: cover;
}

.menu-hero-img--compact {
  margin-top: 0;
}

.menu-hero-img--compact img {
  max-height: min(40vh, 380px);
}

.note-muted {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--cedar-brown);
}

.note-muted a {
  color: var(--accent-vermilion);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-hero-img {
  margin: 0 0 clamp(24px, 4vw, 36px);
  overflow: hidden;
  border-radius: var(--radius-subtle);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.location-hero-img img {
  width: 100%;
  max-height: min(48vh, 440px);
  object-fit: cover;
}

.map-embed {
  margin: clamp(28px, 4vw, 48px) 0 0;
  border-radius: var(--radius-subtle);
  overflow: hidden;
  border: 1px solid rgba(31, 26, 23, 0.1);
  aspect-ratio: 16 / 10;
  max-height: 480px;
  background: rgba(252, 250, 245, 0.9);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.loc-map-block {
  margin-bottom: 0;
}

.loc-map-title {
  margin: 0 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-ink);
}

.kodawari-prose {
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 2;
  color: var(--text-soft-black);
  letter-spacing: 0.04em;
}

.kodawari-interior-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
}

.kodawari-interior-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-subtle);
  border: 1px solid rgba(31, 26, 23, 0.1);
}

.kodawari-interior-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 380px;
  object-fit: cover;
}

.section-enjoy-visual {
  padding-top: 0;
  padding-bottom: clamp(32px, 5vw, 56px);
}

.enjoy-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-subtle);
  border: 1px solid rgba(31, 26, 23, 0.08);
}

.enjoy-visual img {
  width: 100%;
  max-height: min(45vh, 420px);
  object-fit: cover;
}

.menu-hero-img img,
.location-hero-img img,
.enjoy-visual img,
.kodawari-interior-grid img,
.home-hub-media img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .menu-hero-img:hover img,
  .location-hero-img:hover img,
  .enjoy-visual:hover img,
  .kodawari-interior-grid figure:hover img,
  .home-hub-block:hover .home-hub-media img {
    transform: scale(1.05);
  }
}

.section:nth-of-type(even):not(.hero) {
  background: var(--bg-off-white);
}

.section-head {
  margin-bottom: clamp(2.5rem, 4.7vw, 4.4rem);
}

.en-kicker {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.section-head h2 {
  margin: 10px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.menu-block {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.menu-block.reverse {
  grid-template-columns: 0.9fr 1fr;
}

.menu-block.reverse .menu-image-wrap {
  order: 2;
}

.menu-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-subtle);
  position: relative;
}

.menu-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(165, 122, 58, 0.42);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s ease;
  z-index: 2;
}

.menu-block:hover .menu-image-wrap::before {
  transform: scaleX(1);
}

.menu-image-wrap img {
  height: clamp(260px, 38vw, 460px);
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .menu-image-wrap:hover img {
    transform: scale(1.05);
  }
}

.menu-copy h3 {
  margin: 0 0 14px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: 0.08em;
}

.menu-copy p {
  margin: 0;
  color: var(--text-soft-black);
}

.section-kodawari {
  color: #f1e9dd;
  background:
    linear-gradient(rgba(23, 18, 15, 0.76), rgba(23, 18, 15, 0.85)),
    url("img/gen-interior-counter-line.jpg")
    center/cover fixed;
}

.texture-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(165, 122, 58, 0.08), transparent 35%);
}

.section-kodawari .en-kicker {
  color: #d8b884;
}

.section-head--on-dark h3 {
  margin: 10px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f1e9dd;
}

.kodawari-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kodawari-card {
  border: 1px solid rgba(248, 241, 232, 0.2);
  padding: 34px 24px;
  background: rgba(17, 12, 10, 0.26);
}

.kodawari-card h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.07em;
}

.kodawari-card p {
  margin: 0;
  color: rgba(248, 241, 232, 0.9);
}

.enjoy-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(165, 122, 58, 0.5);
}

.enjoy-step {
  position: relative;
  margin-left: 20px;
  padding: 0 0 42px 28px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
}

.enjoy-step::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-gold);
}

.enjoy-step h3 {
  margin: 0 0 10px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.enjoy-step p {
  margin: 0;
}

.home-hub {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.home-hub-block {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(31, 26, 23, 0.1);
  transition: opacity 0.3s ease;
}

.home-hub-block:last-child {
  border-bottom: none;
}

.home-hub-block:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 6px;
}

.home-hub-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-subtle);
  aspect-ratio: 5 / 4;
  background: var(--bg-off-white);
}

.home-hub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hub-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.home-hub-kicker {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
}

.home-hub-title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--text-ink);
}

.home-hub .btn-reserve {
  margin-top: clamp(1.25rem, 2.8vw, 2rem);
}

.news-list {
  display: grid;
  gap: 16px;
}

.menu-table {
  border-top: 1px solid rgba(31, 26, 23, 0.14);
  padding: 18px 0 8px;
}

.menu-table h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.06em;
}

.menu-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-table li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(31, 26, 23, 0.12);
}

.menu-table strong {
  color: var(--cedar-brown);
  font-weight: 600;
}

.news-card {
  border-top: 1px solid rgba(31, 26, 23, 0.12);
  padding: 18px 0;
  display: grid;
  gap: 6px;
  transition: padding-left 0.35s ease, color 0.35s ease;
}

.news-card:hover {
  padding-left: 10px;
  color: var(--accent-vermilion);
}

.news-card time {
  color: var(--cedar-brown);
  font-size: 0.84rem;
  letter-spacing: 0.09em;
}

.news-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.site-footer {
  background: #11100e;
  color: rgba(248, 241, 232, 0.9);
  padding: 60px 0;
  border-top: 1px solid rgba(165, 122, 58, 0.3);
}

.footer-inner {
  text-align: center;
}

.crest {
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.footer-brand {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}

.footer-copy {
  margin: 10px 0 0;
  font-size: 0.8rem;
  opacity: 0.8;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-block,
  .menu-block.reverse {
    grid-template-columns: 1fr;
  }

  .menu-block.reverse .menu-image-wrap {
    order: 0;
  }

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

@media (max-width: 768px) {
  .kodawari-interior-grid {
    grid-template-columns: 1fr;
  }

  .editorial-visuals {
    grid-template-columns: 1fr;
  }

  .editorial-figure img {
    max-height: 320px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .header-inner {
    height: 68px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .hero .jp-vertical {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: clamp(1.42rem, 5.6vw, 1.95rem);
    line-height: 1.22;
    letter-spacing: 0.05em;
  }

  .hero-sub {
    margin: 12px 0 18px;
    font-size: 0.78rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero .btn-reserve {
    padding: 10px 18px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 28px;
  }

  .home-hub-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: clamp(1.75rem, 5vw, 2.25rem) 0;
    align-items: stretch;
  }

  .home-hub-media {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .jp-vertical {
    writing-mode: horizontal-tb;
    letter-spacing: 0.2em;
  }

  .hero-sub br {
    display: none;
  }

  .section {
    padding: 96px 0;
  }

  /* スマホ：ホーム・お品書き以外 — ページヒーロー周りの余白を詰める */
  body[data-page]:not([data-page="index"]):not([data-page="menu"]) .page-hero {
    padding-top: 88px;
    padding-bottom: 6px;
  }

  body[data-page]:not([data-page="index"]):not([data-page="menu"]) .page-hero .section-head {
    margin-bottom: 0.4rem;
  }

  body[data-page]:not([data-page="index"]):not([data-page="menu"]) main > .section:not(.page-hero) {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  body[data-page]:not([data-page="index"]):not([data-page="menu"]) main > .page-hero + .section {
    padding-top: 20px;
  }

  body[data-page]:not([data-page="index"]):not([data-page="menu"]) .section-enjoy-visual {
    padding-bottom: 40px;
  }

  /* スマホ：下層ヒーロー相当の写真を 1:1 に */
  .location-hero-img,
  .enjoy-visual {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .location-hero-img img,
  .enjoy-visual img {
    max-height: none;
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }

  .kodawari-interior-grid figure {
    aspect-ratio: 1 / 1;
  }

  .kodawari-interior-grid img {
    min-height: 0;
    max-height: none;
    height: 100%;
  }

  .enjoy-step {
    grid-template-columns: 60px 1fr;
    padding-left: 20px;
  }

  .step-num {
    font-size: 1.5rem;
  }

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