/* Gめん55 — site styles */
:root {
  --black: #000;
  --ink: #2f2e2e;
  --muted: #605e5e;
  --accent: #8b0000;
  --olive: #8a7a1c;
  --white: #fff;
  --serif: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans: "DIN Next", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
.logo img { width: 112px; height: auto; }
.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle-btn span, .nav-toggle-btn span::before, .nav-toggle-btn span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--white); transition: .2s;
}
.nav-toggle-btn span { top: 21px; }
.nav-toggle-btn span::before { top: -8px; left: 0; }
.nav-toggle-btn span::after { top: 8px; left: 0; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav li { position: relative; }
.nav a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--white);
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-current { border-bottom-color: var(--white); }
.nav .sub {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--black);
  min-width: 160px;
  padding: 8px 0;
  flex-direction: column; gap: 0;
}
.nav .sub a { padding: 8px 20px; font-size: 13px; white-space: nowrap; border: 0; }
.nav .sub a:hover { background: var(--accent); }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: flex; }

.tel {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 300;
  color: var(--white);
  white-space: nowrap;
}
.tel img { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .site-header .wrap { min-height: 64px; }
  .logo img { width: 96px; }
  .nav-toggle-btn { display: block; order: 3; }
  .tel { font-size: 18px; }
  .tel img { width: 22px; height: 22px; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--black);
    padding: 8px 16px 20px;
    border-top: 1px solid #333;
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid #222; }
  .nav .sub { display: flex; position: static; transform: none; padding: 0 0 0 16px; }
  .nav .sub a { padding: 10px 0; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav-toggle:checked ~ .nav-toggle-btn span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-btn span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-btn span::after { top: 0; transform: rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--black) url(../images/hero.jpg) center/cover no-repeat;
  min-height: 480px;
}
.hero--menu {
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.hero--menu h1 {
  color: var(--white);
  font-size: 56px;
  letter-spacing: .04em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
@media (max-width: 860px) {
  .hero { background-image: url(../images/hero-sm.jpg); min-height: 56vw; }
  .hero--menu { min-height: 180px; }
  .hero--menu h1 { font-size: 36px; }
}

/* ---------- about (top page) ---------- */
.about {
  background: var(--black);
  color: var(--white);
  position: relative;
}
.about .wrap {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 72px;
  align-items: start;
}
.about-photos { display: grid; gap: 48px; padding-top: 24px; }
.about-text {
  writing-mode: vertical-rl;
  height: 560px;
  font-size: 17px;
  line-height: 2.2;
  letter-spacing: .08em;
  margin-left: auto;
}
.about-text p { margin-left: 0; }
.about-text .lead { font-size: 22px; margin-left: 36px; }
.about-title {
  writing-mode: vertical-rl;
  font-size: 96px;
  line-height: 1;
  letter-spacing: .08em;
  margin-top: -300px; /* overlap the hero */
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
  position: relative; z-index: 2;
}
@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .about-title { writing-mode: horizontal-tb; margin-top: -90px; font-size: 56px; order: -1; }
  .about-text { writing-mode: horizontal-tb; height: auto; font-size: 15px; line-height: 2; }
  .about-text .lead { font-size: 19px; margin: 0 0 16px; }
  .about-photos { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 0; }
}

/* ---------- menu lineup banner ---------- */
.lineup {
  position: relative;
  background: var(--black) url(../images/bg-menu.jpg) center/cover no-repeat;
  min-height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 80px 16px;
}
.lineup h2 {
  font-size: clamp(44px, 9vw, 104px);
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
  margin-bottom: 40px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  letter-spacing: .15em;
  padding: 14px 48px;
  border-radius: 999px;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
@media (max-width: 860px) { .lineup { min-height: 60vw; padding: 48px 16px; } }

/* ---------- access ---------- */
.access { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.access-photo {
  background: url(../images/bg-access.jpg) center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.access-info { padding: 64px 48px; }
.access-info h2 { font-size: 24px; margin-bottom: 28px; }
.access-info dl {
  display: grid; grid-template-columns: 100px 1fr; gap: 20px 24px; margin: 0;
  font-size: 15px;
}
.access-info dt, .access-info dd { margin: 0; }
.access-info a.map { color: var(--accent); text-decoration: underline; font-weight: 700; }
@media (max-width: 860px) {
  .access { grid-template-columns: 1fr; }
  .access-photo { min-height: 56vw; }
  .access-info { padding: 40px 16px; }
  .access-info dl { grid-template-columns: 88px 1fr; gap: 14px 16px; }
}

/* ---------- menu tabs ---------- */
.tabs {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  padding: 56px 16px;
}
.tabs a {
  display: block;
  width: 240px;
  padding: 12px 0;
  text-align: center;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  letter-spacing: .25em;
}
.tabs a.is-active { background: var(--accent); }
.tabs a:hover { opacity: .85; }
@media (max-width: 860px) {
  .tabs { gap: 12px; padding: 32px 16px; }
  .tabs a { width: calc(33.333% - 8px); font-size: 11px; letter-spacing: .1em; }
}

/* ---------- ramen list ---------- */
.ramen-list { padding: 24px 0 72px; }
.ramen-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0;
}
.ramen-item:nth-child(even) .ramen-photo { order: 2; }
.ramen-photo img { width: 100%; }
.ramen-body .tag { color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.ramen-body h2 {
  font-size: 24px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.ramen-body h2 small { font-size: 12px; margin-left: 8px; }
.ramen-body p { font-family: var(--sans); font-size: 13px; color: var(--muted); line-height: 1.9; }
.ramen-body p + p { margin-top: 16px; }
.ramen-body .note { color: var(--accent); }
@media (max-width: 860px) {
  .ramen-item { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .ramen-item:nth-child(even) .ramen-photo { order: 0; }
  .ramen-body h2 { font-size: 21px; }
}

.topping { text-align: center; padding: 24px 0 56px; }
.topping h2 {
  display: inline-block;
  font-size: 24px;
  letter-spacing: .3em;
  border-bottom: 1px solid var(--accent);
  padding: 0 40px 8px;
  margin-bottom: 32px;
}
.topping ul {
  list-style: none; padding: 0; margin: 0 auto 32px;
  display: grid; grid-template-columns: repeat(2, 200px); gap: 24px 80px; justify-content: center;
  font-family: var(--sans); font-size: 13px; color: var(--muted);
}
.topping p { font-family: var(--sans); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .topping ul { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---------- item grid (single / takeout) ---------- */
.items { padding: 16px 0 56px; }
.item-grid {
  display: grid;
  gap: 72px 56px;
  justify-content: center;
}
.item-grid--2 { grid-template-columns: repeat(2, minmax(0, 450px)); }
.item-grid--3 { grid-template-columns: repeat(3, minmax(0, 330px)); gap: 72px 40px; }
.item-grid--3 .item figcaption { font-size: 18px; }
.item { text-align: center; }
.item figure { margin: 0; }
.item .ph {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f4f4f4;
}
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .ph--contain img { object-fit: contain; background: #fff; }
.item figcaption, .item h2 {
  font-size: 20px;
  margin-top: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
}
.item ul, .item p {
  list-style: none; padding: 0; margin: 12px 0 0;
  font-family: var(--sans); font-size: 14px; color: var(--muted); line-height: 1.9;
}
@media (max-width: 860px) {
  .item-grid--2, .item-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .item figcaption, .item h2 { font-size: 16px; }
  .item ul, .item p { font-size: 13px; }
}

/* ---------- takeout order band ---------- */
.order-band {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 56px 16px;
}
.order-band p {
  display: block;
  width: fit-content;
  font-size: 20px;
  letter-spacing: .1em;
  border-bottom: 1px solid var(--white);
  padding-bottom: 4px;
  margin: 0 auto 20px;
}
.order-band p:last-of-type { margin-bottom: 32px; }
.order-band .btn--olive {
  background: var(--olive);
  font-size: 15px;
  padding: 12px 44px;
}
.order-band .btn--olive::after { content: " \260E"; font-size: 14px; }
@media (max-width: 860px) {
  .order-band { padding: 40px 16px; }
  .order-band p { font-size: 16px; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 48px 16px 40px;
}
.site-footer .logo img { width: 112px; margin: 0 auto 28px; }
.site-footer .tel { justify-content: center; font-size: 22px; }
.site-footer .tel img { width: 26px; height: 26px; }
.site-footer .copy { font-family: var(--sans); font-size: 11px; color: #999; margin-top: 32px; letter-spacing: .05em; }
