/* ============================================================
   鮨 凪 | SUSHI NAGI — stylesheet
   Design: faithful reproduction of reference layout
   Images: local images/ folder
   ============================================================ */

:root {
  --black: #11110f;
  --ivory: #f4f1eb;
  --wrap:  1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: #171713;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: .04em;
  overflow: hidden;
}

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

.wrap {
  width: min(calc(100% - 104px), var(--wrap));
  margin: auto;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  color: #fff;
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}

.header-nav a:not(.nav-reserve) { transition: opacity .25s; }
.header-nav a:not(.nav-reserve):hover { opacity: .6; }

.nav-reserve {
  padding: 10px 24px;
  background: #fff;
  color: var(--black);
  font-size: 11px;
  letter-spacing: .14em;
  transition: opacity .25s;
}

.nav-reserve:hover { opacity: .82; }

/* ---- Hamburger toggle ---- */
.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Full-screen overlay nav ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,17,15,.97);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}

.overlay-nav a {
  font: 400 18px "Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  letter-spacing: .22em;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}

.overlay-nav a:hover { color: #fff; }

.overlay-reserve {
  margin-top: 10px;
  padding: 12px 40px;
  border: 1px solid rgba(255,255,255,.5);
  letter-spacing: .18em;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  height: 100vh;
  min-height: 560px;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.02)),
    url('images/mv-img.png') center 42% / cover no-repeat;
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  width: min(calc(100% - 104px), var(--wrap));
}

.hero h1 {
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: .08em;
  margin: 0 0 22px;
}

.hero p {
  font-size: 14px;
  line-height: 2.05;
  margin: 0;
}

/* ============================================================
   CONCEPT
   ============================================================ */

.concept {
  background: #f5f2ec;
  padding: 92px 0;
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 72px;
  align-items: center;
}

.kicker {
  font: 10px Arial, sans-serif;
  letter-spacing: .22em;
  margin-bottom: 20px;
}

.concept h2 {
  font-size: 32px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .1em;
  margin: 0 0 22px;
}

.concept p {
  font-size: 12px;
  line-height: 2.15;
  margin: 0;
  max-width: 470px;
}

.concept-text {
  position: relative;
}

/* 筆書き装飾 — テキストの背後に配置 */
.concept-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8%;
  transform: translateY(-58%);
  width: 116%;
  height: 200%;
  background: url('images/brush.png') center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.concept-text > * {
  position: relative;
  z-index: 1;
}

.concept-image {
  height: 310px;
  background: url('images/img_02.jpeg') center / cover;
}

/* ============================================================
   CRAFT / こだわり
   ============================================================ */

.craft {
  background: var(--black);
  color: #fff;
  padding: 88px 0 104px;
}

.section-title {
  font-size: 25px;
  text-align: center;
  font-weight: 400;
  letter-spacing: .16em;
  margin: 0 0 37px;
}

/* Decorative underline on section / gallery titles */
.section-title::after,
.gallery-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin: 12px auto 0;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.craft-card { overflow: hidden; }

.card-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  transition: transform .6s, filter .6s;
}

.craft-card:hover .card-img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

/* Number overlaps the bottom of the card image */
.num {
  font-size: 28px;
  line-height: 1;
  margin-top: -21px;
  position: relative;
  text-shadow: 0 1px 5px #000;
}

.craft-card h3 {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .1em;
  margin: 10px 0;
}

.craft-card p {
  font-size: 11px;
  line-height: 1.9;
  color: #e3e0d9;
  margin: 0;
}

/* ============================================================
   MENU / お品書き
   ============================================================ */

.menu-section {
  background: var(--ivory);
  padding: 60px 0 80px;
}

/* Tab navigation */
.menu-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(23,23,19,.13);
  margin: 0 0 52px;
  gap: 0;
}

.menu-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 14px 36px;
  font: 400 13px "Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  letter-spacing: .2em;
  color: #a09d98;
  cursor: pointer;
  transition: color .25s, border-color .25s;
}

.menu-tab:hover { color: #171713; }

.menu-tab.is-active {
  color: #171713;
  border-bottom-color: #171713;
}

/* Panel visibility */
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }

/* Two-column item grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}

/* Individual item */
.menu-item {
  padding: 24px 0;
  border-bottom: 1px dotted rgba(23,23,19,.18);
}

.menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 7px;
}

.menu-name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .1em;
  color: #171713;
}

.menu-price {
  font-size: 15px;
  letter-spacing: .06em;
  color: #171713;
  flex-shrink: 0;
  margin-left: 16px;
}

.menu-desc {
  font-size: 11px;
  line-height: 1.85;
  color: #8a8782;
  letter-spacing: .06em;
  margin: 0;
}

.menu-note {
  font-size: 10px;
  color: #a09d98;
  letter-spacing: .1em;
  text-align: right;
  margin: 24px 0 0;
}

/* ============================================================
   COUNTER — full-width interior photo strip
   ============================================================ */

.counter {
  height: 310px;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url('images/counter-img.png') center / cover no-repeat;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  padding: 34px 0 45px;
  background: #f5f2ec;
}

.gallery-kicker {
  font: 9px Arial, sans-serif;
  letter-spacing: .18em;
  text-align: center;
}

.gallery-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .14em;
  text-align: center;
  margin: 7px 0 25px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.gallery-item {
  height: 140px;
  background-size: cover;
  background-position: center;
  transition: transform .35s;
}

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

/* ============================================================
   ACCESS / 店舗情報
   ============================================================ */

.access {
  background: var(--ivory);
  padding: 60px 0 80px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

.access-item {
  padding: 22px 0;
  border-bottom: 1px solid rgba(23,23,19,.15);
}

.access-label {
  font-size: 11px;
  letter-spacing: .2em;
  color: #9a9690;
  margin: 0 0 10px;
}

.access-val {
  font-size: 14px;
  line-height: 2;
  letter-spacing: .08em;
  color: #171713;
  margin: 0;
}

.access-note {
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .06em;
  color: #9a9690;
  margin: 6px 0 0;
}

@media (max-width: 760px) {
  .access-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ============================================================
   INSTAGRAM
   ============================================================ */

.instagram {
  background: var(--black);
  color: #fff;
  padding: 42px 0 50px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin-top: 27px;
}

.insta-item {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  display: block;
}

.insta-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity .3s;
}

.insta-item:hover::after { opacity: 1; }

.insta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insta-head .gallery-kicker,
.insta-head .gallery-title {
  text-align: left;
}

.insta-head .gallery-title {
  margin-bottom: 0;
}

.insta-head .gallery-title::after {
  margin: 12px 0 0;
}

.insta-icon-link {
  color: rgba(255,255,255,.65);
  flex-shrink: 0;
  transition: color .25s;
}

.insta-icon-link:hover { color: #fff; }

.insta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 28px auto 0;
  border: 1px solid #aaa;
  padding: 10px 22px;
  font: 10px Arial, sans-serif;
  letter-spacing: .08em;
  color: #fff;
  transition: opacity .25s;
}

.insta-btn:hover { opacity: .7; }

/* ============================================================
   RESERVATION
   ============================================================ */

.reservation {
  padding: 120px 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.65)),
    url('images/img_02.jpeg') center 55% / cover;
}

.reservation h2 {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: .16em;
  margin: 7px 0 12px;
}

.reservation p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}

.buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 19px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  padding: 12px 18px;
  border: 1px solid #fff;
  font-size: 11px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .25s;
}

.btn-icon {
  flex-shrink: 0;
}

.btn.light {
  background: #fff;
  color: #111;
}

.btn:hover { transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.55);
  padding: 64px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  opacity: .75;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}

.footer-nav a {
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.55);
  transition: color .25s;
}

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

.footer-info p {
  font-size: 10px;
  line-height: 2;
  letter-spacing: .1em;
  margin: 0;
}

.footer-copy {
  font-size: 9px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.3);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.on {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — hamburger ≤ 900px, narrow ≤ 760px
   ============================================================ */

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-actions { display: flex; }
}

@media (max-width: 760px) {
  .wrap,
  .hero-copy {
    width: calc(100% - 40px);
  }

  .header-inner { height: 70px; }

  .hero {
    height: 100svh;
    background-position: 60% center;
  }

  .hero-copy { bottom: 42px; }
  .hero h1  { font-size: 40px; }

  .concept { padding: 55px 0; }

  .concept-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .concept-image { height: 280px; }

  .craft { padding: 52px 0; }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card-img { height: 260px; }

  .counter { height: 260px; }

  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-item {
    min-width: 72%;
    height: 190px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .menu-tabs { gap: 0; }
  .menu-tab { padding: 12px 18px; font-size: 12px; letter-spacing: .12em; }
  .menu-grid { grid-template-columns: 1fr; gap: 0; }

  .insta-grid { grid-template-columns: 1fr 1fr; }
  .insta-item:last-child { display: none; }

  .reservation { padding: 80px 0; }

  .buttons {
    flex-direction: column;
    align-items: center;
  }
}
