/* ============================================
   Bar rest — Refined Dark Luxury CSS
   Design concept: 深夜の隠れ家バー
   Tone: Refined darkness / understated luxury
   ============================================ */

/* Google Fonts — Cormorant Garamond + Noto Serif JP */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Serif+JP:wght@200;300;400;500&display=swap');

/* Root Variables */
:root {
  --primary:     #C9A96E;   /* warm gold */
  --primary-dim: #8A6E45;   /* muted gold */
  --bg:          #0A0705;   /* near-black warm */
  --bg-surface:  #120E09;   /* card bg */
  --bg-raised:   #1C1510;   /* raised surface */
  --text:        #E8DDD0;   /* warm cream */
  --text-muted:  #7A6A57;   /* muted warm */
  --text-faint:  #3D3028;   /* very faint */
  --border:      #2A2018;   /* subtle border */
  --border-gold: rgba(201,169,110,0.25);
  --gold-glow:   rgba(201,169,110,0.08);
  --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-body:    'Noto Serif JP', 'Cormorant Garamond', serif;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img,
ins, kbd, q, samp, small, strong, sub, sup,
var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption,
figure, footer, header, hgroup, menu, nav,
section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; outline: 0;
  font-size: 100%; vertical-align: baseline;
  background: transparent;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.9;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { color: var(--text); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.sp { display: none; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: rgba(10, 7, 5, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.12em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: opacity var(--transition);
}
.logo:hover { color: var(--primary); opacity: 0.75; }

.sub-logo {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  font-family: var(--font-body);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.language-switch {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.language-switch:hover { color: var(--primary); }

.contact-btn {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border-gold);
  padding: 8px 20px;
  border-radius: 0;
  transition: all var(--transition);
}
.contact-btn:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

/* ── Navigation ── */
.nav {
  margin-top: 72px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 20px 32px;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link:hover::after { width: 40px; }

.nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--border);
}

/* ── Hero ── */
.hero {
  height: 70vh;
  min-height: 420px;
  max-height: 620px;
  position: relative;
  overflow: hidden;
}

.hero-slider,
.hero-slider .slick-list,
.hero-slider .slick-track { height: 100%; }

.slide {
  height: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
}

/* Rich multi-layer darkening */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,7,5,0.85) 0%, rgba(10,7,5,0.2) 50%, rgba(10,7,5,0.5) 100%),
    linear-gradient(to right, rgba(10,7,5,0.4) 0%, transparent 60%);
}

/* Fade-in animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content {
  position: absolute;
  bottom: 14%;
  left: 8%;
  text-align: left;
  color: var(--text);
  z-index: 1;
  max-width: 600px;
  animation: heroFadeUp 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.catchphrase {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  opacity: 0.9;
  animation: heroFadeUp 1.4s 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.site-title {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  font-style: italic;
  animation: heroFadeUp 1.4s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.location {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  animation: heroFadeUp 1.4s 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Thin gold line at hero bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-dim), transparent);
  z-index: 2;
}

/* ── Section ── */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 4px;
}

.section-title h3 {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title h3::before,
.section-title h3::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 48px;
  height: 1px;
  background: var(--border-gold);
}
.section-title h3::before { right: calc(100% + 16px); }
.section-title h3::after  { left:  calc(100% + 16px); }

/* ── Concept ── */
.concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.concept-image {
  position: relative;
  overflow: hidden;
}
.concept-image::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--border-gold);
  z-index: 1;
  pointer-events: none;
  transition: inset var(--transition);
}
.concept-image:hover::before { inset: 8px; }
.concept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85) saturate(0.8);
}
.concept-image:hover img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(0.9);
}

.concept-content { padding-top: 8px; }

.concept-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.5;
}

.concept-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.1;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── Menu ── */
.menu-tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
  gap: 0;
}

.menu-tab {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 28px;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}
.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition);
}
.menu-tab.active {
  color: var(--primary);
}
.menu-tab.active::after { width: 100%; }
.menu-tab:hover { color: var(--text); }

.menu-content { display: none; }
.menu-content.active { display: block; }

.menu-category { margin-bottom: 56px; }

.menu-category-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

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

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.menu-item-name {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.05em;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--primary);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-left: 16px;
}

.menu-item-description {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* ── Access ── */
.access-map {
  width: 100%;
  height: 380px;
  margin-bottom: 40px;
  overflow: hidden;
  filter: grayscale(1) brightness(0.5) sepia(0.3);
  transition: filter var(--transition);
}
.access-map:hover { filter: grayscale(0.6) brightness(0.65) sepia(0.15); }
.access-map iframe { width: 100%; height: 100%; border: none; }

.access-info {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 40px 48px;
}

.access-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin-bottom: 32px;
}

.access-details { display: grid; grid-template-columns: 1fr; }

.access-detail {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.access-detail:first-of-type { border-top: 1px solid var(--border); }

.access-detail-label {
  flex: 0 0 160px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-dim);
}

.access-detail-value {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Contact ── */
.contact {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: 'rest';
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-glow);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  color: rgba(201,169,110,0.04);
  letter-spacing: 0.05em;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
}

.contact p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 2;
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--transition);
  border-radius: 0;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
  transform: translateY(-3px);
}

.contact-btn-container {
  margin-top: 48px;
}

.btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border-gold);
  padding: 14px 40px;
  border-radius: 0;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn:hover {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.contact-large-btn { padding: 16px 56px; }

/* ── News ── */
.news-items {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}
.news-items::-webkit-scrollbar { width: 2px; }
.news-items::-webkit-scrollbar-track { background: var(--bg); }
.news-items::-webkit-scrollbar-thumb { background: var(--primary-dim); }

.news-item {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--bg-raised); }

.news-date {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--primary-dim);
}

.news-content {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  margin-top: 0;
}

.footer-text {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* ── Header scroll behavior (JS required) ── */
/* Handled via .scrolled class added by JS */

/* ── Media Queries ── */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .sp { display: block; }

  .header-inner { height: 60px; }
  .logo { font-size: 22px; }
  .contact-btn { display: none; }
  .language-switch { font-size: 11px; }
  .header-right { gap: 16px; }

  .nav { margin-top: 60px; }
  .nav-list { flex-wrap: wrap; }
  .nav-item { flex: 1 1 50%; text-align: center; }
  .nav-item:not(:last-child)::after { display: none; }
  .nav-link { font-size: 10px; padding: 14px 8px; letter-spacing: 0.2em; }

  .hero { height: 65svh; min-height: 360px; max-height: 480px; }
  .slide-content { left: 5%; bottom: 12%; }
  .site-title { font-size: 56px; }
  .catchphrase { font-size: 11px; letter-spacing: 0.2em; }

  .section { padding: 64px 0; }

  .section-title h2 { font-size: 36px; }
  .section-title h3::before,
  .section-title h3::after { width: 24px; }
  .section-title h3::before { right: calc(100% + 10px); }
  .section-title h3::after  { left:  calc(100% + 10px); }

  .concept { grid-template-columns: 1fr; gap: 40px; }
  .concept-image img { min-height: 280px; }

  .access-info { padding: 28px 24px; }
  .access-detail { flex-direction: column; gap: 4px; }
  .access-detail-label { flex: none; font-size: 10px; }

  .contact { padding: 48px 28px; }
  .contact::before { font-size: 100px; }

  .menu-tab { padding: 12px 16px; font-size: 10px; letter-spacing: 0.2em; }

  .news-item { padding: 16px 20px; gap: 16px; }
}
