* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f1ea;
  --panel: #fffdf9;
  --sidebar: #f4ede4;
  --ink: #261a14;
  --muted: #6d5a50;
  --accent: #cb6d21;
  --accent-soft: #f7d8bf;
  --line: #eadbcc;
  --shadow: 0 18px 48px rgba(65, 44, 28, 0.08);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fffaf3 0%, var(--bg) 55%, #efe4d8 100%);
}

body {
  margin: 0;
  min-height: 100vh;
}

.app-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.menu-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 24px;
  background: color-mix(in srgb, var(--sidebar) 92%, white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px 14px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.section-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-link {
  display: block;
  padding: 12px 12px 12px 16px;
  border-left: 4px solid transparent;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
  background: transparent;
}

.nav-link:hover,
.nav-link.is-active {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-section {
  background: color-mix(in srgb, var(--panel) 94%, white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.menu-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.menu-section-header h2 {
  margin: 0;
  font-size: 1.45rem;
}

.item-count {
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.menu-card {
  background: white;
  border: 1px solid #efe4d7;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
}

.menu-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.menu-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.price {
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.description {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.lang-frame {
  display: block;
  position: relative;
}

.lang-text {
  display: block;
}

.lang-text.is-hidden {
  display: none;
}

.language-switch {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 30;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(91, 45, 8, 0.22);
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.language-option {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  min-width: 96px;
}

.language-option.is-active {
  background: var(--accent);
  color: white;
}

.language-option:not(.is-active) {
  cursor: pointer;
}

@media (max-width: 900px) {
  .app-shell {
    padding: 12px;
  }

  .menu-layout {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }

  .sidebar {
    top: 12px;
    border-radius: 20px;
    padding: 12px 8px;
  }

  .nav-link {
    padding: 10px 8px 10px 12px;
    font-size: 0.95rem;
    word-break: break-word;
  }

  .menu-section {
    border-radius: 22px;
    padding: 18px;
  }

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

  .menu-card {
    min-height: 0;
  }

  .menu-card-header {
    flex-direction: column;
    gap: 8px;
  }

  .language-switch {
    left: 12px;
    bottom: 12px;
  }

  .language-option {
    min-width: 0;
    padding: 10px 12px;
  }
}
