/* Yakiniku Nakata - layout modeled on a 3-column "phone column" site:
   fixed visual on the left, scrolling content column in the middle,
   fixed navigation on the right (desktop). Single column on mobile. */

:root {
  --ink: #231f20;        /* logo black */
  --red: #bf1a2c;        /* logo red */
  --red-bright: #ed1c24; /* seal red */
  --paper: #f6f1e9;
  --paper-2: #ece4d8;
  --char: #1a1716;
  --muted: #6b625d;
  --line: rgba(35, 31, 32, .14);
  --col: 430px;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--char);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- desktop side panels ---------- */
.side-visual, .side-nav { display: none; }

@media (min-width: 1000px) {
  .side-visual {
    display: flex;
    position: fixed; inset: 0 auto 0 0;
    width: calc((100vw - var(--col)) / 2);
    align-items: center; justify-content: center;
    overflow: hidden;
    background: #000 url(../video/side-poster.jpg) center / cover no-repeat;
  }
  .side-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .side-visual::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: rgba(20, 17, 16, .5);
  }
  .side-visual img { position: relative; z-index: 2; width: min(70%, 300px); filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .5)); }

  .side-nav {
    display: flex;
    position: fixed; inset: 0 0 0 auto;
    width: calc((100vw - var(--col)) / 2);
    align-items: center; justify-content: center;
    background: url(../img/photos/21-wagyu-block.jpg) center / cover no-repeat;
  }
  .side-nav::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20, 17, 16, .62), rgba(20, 17, 16, .4));
  }
  .side-nav .gnav li a { text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
  .side-nav .gnav li a { border-bottom-color: rgba(255, 255, 255, .28); }
  .side-nav .gnav { position: relative; width: min(78%, 260px); }
}

/* ---------- navigation list (shared by side nav, drawer, footer) ---------- */
.gnav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 2px;
  color: #fff; text-decoration: none;
  font-family: var(--serif); font-size: 15px; letter-spacing: .12em;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: color .2s;
}
.gnav li a::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  flex-shrink: 0;
}
.gnav li a:hover, .gnav li a[aria-current="page"] { color: #f3b7bd; }
.gnav .sns { display: flex; gap: 14px; margin-top: 22px; }
.gnav .sns a { color: #fff; display: inline-flex; }
.gnav .sns svg { width: 26px; height: 26px; }

/* ---------- center column ---------- */
.page {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--paper);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 16px;
  background: rgba(246, 241, 233, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .logo img { height: 30px; width: auto; }
.menu-btn {
  width: 42px; height: 42px; border: 0; padding: 0;
  background: transparent; cursor: pointer; position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 10px; width: 22px; height: 2px; background: var(--ink);
  transition: transform .25s, opacity .25s; content: "";
}
.menu-btn span { top: 20px; }
.menu-btn span::before { left: 0; top: -7px; }
.menu-btn span::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; z-index: 25; inset: 58px 0 0 0;
  max-width: var(--col); margin: 0 auto;
  background: rgba(26, 23, 22, .97);
  padding: 32px 36px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer .tel-link { margin-top: 28px; }

/* ---------- common parts ---------- */
.section { padding: 72px 24px; }
.sec-title { text-align: center; margin-bottom: 36px; }
.sec-title .en {
  display: block;
  font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: .14em;
  line-height: 1.2; color: var(--ink);
}
.sec-title .ja { display: block; margin-top: 6px; font-size: 12px; color: var(--red); letter-spacing: .2em; }
.dark .sec-title .en { color: #fff; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 280px; margin: 36px auto 0;
  padding: 15px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: .14em;
  transition: background .2s;
}
.btn:hover { background: var(--red); }
.btn.red { background: var(--red); }
.btn.red:hover { background: #9c1222; }
.btn.outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn.outline:hover { background: rgba(255,255,255,.1); }

.tel-link {
  display: block; text-align: center; text-decoration: none; color: #fff;
  font-family: var(--serif); font-size: 26px; letter-spacing: .08em;
}
.tel-link small { display: block; font-family: var(--sans); font-size: 12px; opacity: .7; letter-spacing: .14em; }

.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- first view ---------- */
.fv { position: relative; height: calc(100svh - 58px); min-height: 560px; max-height: 820px; overflow: hidden; background: #000; }
.fv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
/* Logo ending of the hero clip (black background): fit the whole frame so the
   logo is not cropped, and hide the overlaid copy so the logo is not doubled. */
.fv-copy, .fv-foot, .fv::after { transition: opacity .6s ease; }
.fv.is-ending .fv-img { object-fit: contain; opacity: 1; }
.fv.is-ending .fv-copy, .fv.is-ending .fv-foot, .fv.is-ending::after { opacity: 0; }
.fv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.7)); }
.fv-copy {
  position: absolute; z-index: 1; top: 40px; right: 30px;
  writing-mode: vertical-rl;
  font-family: var(--serif); color: #fff; font-weight: 700;
  font-size: 38px; line-height: 1.5; letter-spacing: .16em;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.fv-copy .small { font-size: 22px; }
.fv-foot { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 28px; color: #fff; }
.fv-foot img { width: 190px; }
.fv-foot p { margin-top: 10px; font-size: 12px; letter-spacing: .16em; opacity: .9; }

/* ---------- news ---------- */
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-item { display: flex; gap: 14px; padding: 18px 2px; text-decoration: none; }
.news-item img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-item time { display: block; font-size: 12px; color: var(--red); letter-spacing: .1em; }
.news-item .title { font-weight: 700; line-height: 1.6; }
.news-item .excerpt { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

/* ---------- about (dark) ---------- */
.dark { background: var(--char); color: #fff; }
.about-block { border-radius: 0 0 28px 28px; position: relative; }
.about-lead {
  font-family: var(--serif); font-size: 23px; line-height: 1.7; text-align: center; letter-spacing: .1em;
}
.about-lead em { font-style: normal; color: #f06a76; }
.about-text { margin-top: 24px; font-size: 14px; line-height: 2.1; text-align: center; color: rgba(255,255,255,.86); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px; }
.about-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.about-photos > :first-child { grid-column: span 2; aspect-ratio: 16/9; }
.about-media { border-radius: 8px; overflow: hidden; background: #000; }
.about-media img, .about-media video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; display: block; }
/* The desktop side panel already plays the promo video; on narrow screens
   the first ABOUT photo is swapped for the same footage. */
.about-media .sp-only { display: none; }
@media (max-width: 999px) {
  .about-media .pc-only { display: none; }
  .about-media .sp-only { display: block; }
}

/* ---------- points (about page) ---------- */
.points { counter-reset: point; display: grid; gap: 40px; }
.point { counter-increment: point; }
.point img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.point h3 {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 18px; font-family: var(--serif); font-size: 21px; line-height: 1.5;
}
.point h3::before {
  content: counter(point, decimal-leading-zero);
  font-size: 30px; color: var(--red); letter-spacing: 0;
}
.point p { margin-top: 10px; font-size: 14px; color: #3b3533; }

/* ---------- menu ---------- */
.tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 24px; }
.tab {
  flex: 1; padding: 10px 4px; border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  font: 700 13px var(--sans); letter-spacing: .08em;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel[hidden] { display: none; }

.dish-cards { display: grid; gap: 16px; }
.dish-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.dish-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.dish-card .body { padding: 14px 16px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dish-card h3 { font-family: var(--serif); font-size: 17px; }
.dish-card .price { font-weight: 700; white-space: nowrap; }
.dish-card .tag { display: inline-block; font-size: 11px; color: #fff; background: var(--red); border-radius: 3px; padding: 0 6px; margin-right: 6px; vertical-align: 2px; letter-spacing: .08em; }

.price-list li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 11px 2px; border-bottom: 1px dashed var(--line);
}
.price-list .name { font-weight: 500; }
.price-list .name small { display: block; font-size: 12px; color: var(--muted); }
.price-list .dots { flex: 1; }
.price-list .price { font-weight: 700; white-space: nowrap; text-align: right; }
.price-list .rec { font-size: 11px; color: var(--red); border: 1px solid var(--red); border-radius: 3px; padding: 0 5px; margin-left: 6px; white-space: nowrap; }

.menu-cat { margin-top: 44px; }
.menu-cat:first-of-type { margin-top: 0; }
.menu-cat h2 {
  font-family: var(--serif); font-size: 20px; padding-bottom: 8px; margin-bottom: 4px;
  border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline;
}
.menu-cat h2 span { font-size: 11px; color: var(--red); letter-spacing: .2em; }
.menu-cat > img { margin-top: 14px; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.note { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.8; }

/* ---------- store ---------- */
.store-photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.info-table th { width: 6.5em; font-weight: 700; color: var(--red); white-space: nowrap; }
.info-table td small { color: var(--muted); }
.map { margin-top: 24px; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.reserve { text-align: center; }
.reserve p { font-size: 13px; color: rgba(255,255,255,.8); }
.reserve .tel-link { margin-top: 18px; }

/* ---------- sub page hero ---------- */
.sub-hero { position: relative; height: 220px; overflow: hidden; background: #000; }
.sub-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.sub-hero h1 { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; }
.sub-hero h1 .en { font-family: var(--serif); font-size: 36px; letter-spacing: .16em; line-height: 1.2; }
.sub-hero h1 .ja { font-size: 13px; letter-spacing: .2em; margin-top: 6px; }

.breadcrumb { padding: 12px 20px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "／"; margin: 0 6px; }

.article h2 { font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.article time { font-size: 13px; color: var(--red); }
.article p { margin-top: 16px; font-size: 14px; }
.article img { margin-top: 20px; border-radius: 10px; }

/* ---------- footer ---------- */
.site-footer { background: #121010; color: #fff; padding: 56px 32px 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .f-logo { width: 220px; margin: 0 auto 32px; }
.site-footer .gnav .sns { justify-content: center; }
.site-footer .company { margin-top: 32px; font-size: 12px; line-height: 2; color: rgba(255,255,255,.7); text-align: center; }
.site-footer .copy { margin-top: 24px; font-size: 11px; color: rgba(255,255,255,.5); text-align: center; letter-spacing: .1em; }

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

/* ---------- drink prices (menu page) ---------- */
.price-list .mega { display: block; font-size: 12px; font-weight: 500; color: var(--muted); text-align: right; }
.mega-head { margin-top: 10px; font-size: 12px; color: var(--red); text-align: right; letter-spacing: .08em; }
.menu-divider { margin: 72px 0 32px; }
.menu-cat .note { margin-top: 12px; }
