:root {
  --bg: #0d0d0d;
  --bg-soft: #151515;
  --text: #f5f2ea;
  --text-soft: #d2cec5;
  --accent: #b51f1f;
  --line: #2c2c2c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 90vh;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("./images/hero.png?v=3");
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.38) 58%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(
      rgba(0, 0, 0, 0.28),
      rgba(0, 0, 0, 0.55),
      rgba(13, 13, 13, 1)
    );
}

.top-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo {
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

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

.top-nav a.is-active {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.top-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-nav a,
.top-nav a:link,
.top-nav a:visited {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 12vh 0 8vh;
}

.subcopy,
.label {
  color: #d9a9a9;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Noto Serif JP", serif;
  line-height: 1.35;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-top: 18px;
}

.lead {
  color: var(--text-soft);
  margin: 16px 0 28px;
  max-width: 38rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-sub {
  margin-left: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-sub:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions .btn-sub {
  margin-left: 0;
}

.recruit-cta {
  margin-top: 24px;
}


.section {
  padding: 88px 0;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  margin: 10px 0 20px;
}

.section p {
  color: var(--text-soft);
}

.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.two-col img {
  border-radius: 14px;
  border: 1px solid #3a3a3a;
}

.cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}

.card img,
.card-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.card img.card-photo-liver {
  object-position: 50% 42%;
}

.card img.card-photo-sashi {
  object-position: 32% 45%;
}

.card h3 {
  font-size: 1.2rem;
  padding: 16px 16px 8px;
}

.card p {
  padding: 0 16px 18px;
  font-size: 0.95rem;
  flex: 1;
}

.gallery-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.cta {
  background: linear-gradient(120deg, #1c1c1c 0%, #751515 140%);
  padding: 80px 0;
  text-align: center;
}

.cta p {
  color: #eee4e4;
  margin: 12px 0 24px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner a,
.footer-inner a:link,
.footer-inner a:visited {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inner a:hover {
  color: #fff;
}

.copyright {
  color: #8c8c8c;
}

.nav-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.page-back,
.menu-page-cta {
  display: none;
}

.gallery-swipe,
.gallery-swipe-track {
  display: contents;
}

.gallery-swipe-hint {
  display: none;
}

.gallery-more {
  display: contents;
}

.gallery-more summary {
  display: none;
}

.gallery-extra {
  display: contents;
}

.menu-list-cta {
  margin-top: 32px;
  text-align: center;
}

.menu-hero {
  position: relative;
  background: linear-gradient(180deg, #1a1010 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.menu-hero .hero-content {
  padding: 40px 0 48px;
}

.menu-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.menu-cats-wrap {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(13, 13, 13, 0.96);
  border-bottom: 1px solid var(--line);
}

.menu-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 16px 0;
  list-style: none;
}

.menu-cats li {
  list-style: none;
}

.menu-cats a,
.menu-cats a:link,
.menu-cats a:visited {
  display: inline-block;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}

.menu-cats a:hover,
.menu-cats a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.menu-cats a:active {
  color: var(--accent);
}

.menu-cats a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.menu-notice {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 36px;
  margin-top: 36px;
}

.menu-cat {
  min-width: 0;
  scroll-margin-top: 96px;
}

.menu-cat-wide {
  grid-column: 1 / -1;
}

.menu-cat-note {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.menu-subhead {
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  margin: 22px 0 8px;
  color: var(--text);
}

.menu-list {
  margin: 0;
}

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

.menu-item:last-child {
  border-bottom: 0;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.menu-list dt {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
}

.menu-price {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.menu-note {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.menu-policy {
  scroll-margin-top: 96px;
}

.menu-policy ul {
  margin-top: 8px;
  padding-left: 1.2em;
  color: var(--text-soft);
}

.menu-policy li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .top-nav {
    flex-direction: column;
    gap: 12px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .card img,
  .card-photo {
    aspect-ratio: 16 / 11;
  }

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

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

  .menu-cat,
  .menu-policy {
    scroll-margin-top: 132px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    max-width: none;
  }

  .card img,
  .card-photo {
    aspect-ratio: 4 / 3;
  }

  .btn-sub {
    margin-left: 0;
    margin-top: 10px;
  }

  .menu-list dt,
  .menu-price {
    font-size: 1rem;
  }

  .menu-cat,
  .menu-policy {
    scroll-margin-top: 168px;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    z-index: 4;
  }

  .nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .top-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding: 16px 0;
  }

  .top-nav .logo {
    font-size: 1.05rem;
  }

  .top-nav ul {
    display: none;
  }

  body.is-nav-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }

  .mobile-nav[hidden] {
    display: none !important;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #0d0d0d;
    color: var(--text);
    padding-top: env(safe-area-inset-top, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
  }

  .mobile-nav-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 16px 20px 32px;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
  }

  .mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-nav-links ul,
  .mobile-nav-sub {
    list-style: none;
  }

  .mobile-nav-links a,
  .mobile-nav-links a:link,
  .mobile-nav-links a:visited,
  .mobile-nav-sub a,
  .mobile-nav-sub a:link,
  .mobile-nav-sub a:visited {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .mobile-nav-sub {
    margin-top: 20px;
  }

  .mobile-nav-sub a,
  .mobile-nav-sub a:link,
  .mobile-nav-sub a:visited {
    color: var(--text-soft);
    font-size: 0.95rem;
  }

  .mobile-nav-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: auto;
    padding-top: 28px;
  }

  .mobile-nav-foot > a:first-child {
    color: var(--text-soft);
    text-decoration: none;
    letter-spacing: 0.04em;
  }

  .mobile-nav-foot .btn-sub {
    margin-left: 0;
  }

  .page-back {
    display: block;
    margin: 12px 0 0;
  }

  .page-back a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
  }

  .menu-page-cta {
    display: block;
    padding: 0 0 48px;
    text-align: center;
  }

  .hero {
    min-height: 0;
    height: min(700px, 100svh);
  }

  .hero::before {
    background-image: url("./images/hero-mobile.png");
    background-position: 68% 58%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.28) 28%,
        rgba(0, 0, 0, 0.42) 62%,
        rgba(13, 13, 13, 1) 100%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.28) 70%,
        rgba(0, 0, 0, 0.2) 100%
      );
  }

  .hero-content {
    padding: 56px 0 36px;
  }

  .hero .subcopy {
    font-size: 12px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.35;
    margin-top: 12px;
  }

  .hero .lead {
    max-width: 80%;
    margin: 12px 0 22px;
    font-size: 14.5px;
    line-height: 1.8;
  }

  .hero .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-actions .btn,
  .hero-actions .btn-sub {
    margin: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section h2 {
    margin: 8px 0 16px;
  }

  .section p {
    line-height: 1.8;
  }

  .cta {
    padding: 64px 0;
  }

  .cta .btn,
  .cta .btn-sub {
    display: inline-block;
    margin: 6px 0 0;
  }

  .cta .btn-sub {
    margin-left: 0;
  }

  .cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .cards .card:first-child img,
  .cards .card:first-child .card-photo {
    aspect-ratio: 16 / 10;
  }

  .cards .card:nth-child(n + 2) {
    flex-direction: row;
    align-items: stretch;
  }

  .cards .card:nth-child(n + 2) img,
  .cards .card:nth-child(n + 2) .card-photo {
    width: 38%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }

  .cards .card:nth-child(n + 2) h3 {
    padding: 12px 12px 4px;
    font-size: 1.05rem;
  }

  .cards .card:nth-child(n + 2) p {
    padding: 0 12px 12px;
    font-size: 0.86rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .menu-list-cta {
    margin-top: 20px;
  }

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

  .gallery-grid img,
  .gallery-extra img,
  .gallery-exterior {
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: unset;
    aspect-ratio: unset;
    border-radius: 12px;
  }

  .gallery-swipe {
    display: block;
  }

  .gallery-swipe-hint {
    display: block;
    margin: 0 0 8px;
    color: var(--text-soft);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .gallery-swipe-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-swipe-track::-webkit-scrollbar {
    display: none;
  }

  .gallery-swipe-track img {
    flex: 0 0 90%;
    width: 90%;
    max-width: 90%;
    height: auto;
    scroll-snap-align: start;
  }

  .gallery-more {
    display: block;
    grid-column: 1 / -1;
  }

  .gallery-more summary {
    display: block;
    margin-top: 6px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    text-align: center;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .gallery-more summary::-webkit-details-marker {
    display: none;
  }

  .gallery-more-close {
    display: none;
  }

  .gallery-more[open] .gallery-more-open {
    display: none;
  }

  .gallery-more[open] .gallery-more-close {
    display: inline;
  }

  .gallery-extra {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .two-col p,
  .footer-inner,
  .footer-inner a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .btn-sub {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .mobile-nav,
  .mobile-nav:not([hidden]) {
    display: none !important;
  }

  .nav-toggle {
    display: none !important;
  }
}
