/* ==========================================================
   BARドルチェ
   ========================================================== */

:root {
  --bg: #140e0b;
  --bg-2: #1c1410;
  --surface: #241a14;
  --line: rgba(214, 178, 120, 0.22);
  --text: #eadfcc;
  --text-dim: #b3a48c;
  --gold: #c9a063;
  --gold-soft: #e2c48e;
  --red: #c8202c;
  --green: #1f7258;

  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --header-h: 64px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 24px;
  transition: background-color .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20, 14, 11, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom-color: var(--line);
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-family: var(--serif-en);
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--text-dim);
  transition: color .3s;
}
.site-nav a:hover { color: var(--gold-soft); }
.site-nav .nav-tel {
  display: flex; align-items: center; gap: 8px;
  padding-left: 32px;
  border-left: 1px solid var(--line);
  font-size: 16px; letter-spacing: .12em;
  color: var(--gold-soft);
}
.nav-tel svg { width: 16px; height: 16px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block; width: 24px; height: 1px; margin: 0 auto;
  background: var(--text); transition: transform .3s, opacity .3s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
}
.hero picture,
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-img { animation: heroZoom 18s ease-out both; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20,14,11,.35) 0%, rgba(20,14,11,.75) 70%),
    linear-gradient(to bottom, rgba(20,14,11,.2) 60%, var(--bg) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 0 16px;
  animation: fadeUp 1.6s .3s ease both;
}
.hero-logo {
  width: min(250px, 56vw);
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.6));
}
.hero-since {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 10px;
  font-family: var(--serif-en); font-style: italic;
  font-size: 17px; letter-spacing: .3em; color: var(--gold);
}
.hero-since::before,
.hero-since::after {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6;
}
.hero-lead { margin: 0; font-size: 15px; letter-spacing: .3em; }

.hours { margin: 0; }
.hours > div { display: flex; align-items: baseline; justify-content: center; gap: 1.2em; }
.hours dt { font-size: 12px; letter-spacing: .2em; color: var(--text-dim); }
.hours dd {
  margin: 0;
  font-family: var(--serif-en); font-size: 17px; letter-spacing: .2em;
  color: var(--gold-soft);
}
.hero-hours {
  display: inline-grid; gap: 2px;
  margin-top: 22px; padding: 12px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-hours > div { justify-content: space-between; }

.scroll-cue {
  position: absolute; z-index: 1; bottom: 28px; left: 50%;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollCue 2.4s ease-in-out infinite;
}

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scrollCue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 24px;
}
.eyebrow {
  margin: 0 0 8px;
  font-family: var(--serif-en); font-style: italic;
  font-size: 18px; letter-spacing: .2em;
  color: var(--gold);
}
.section-title {
  margin: 0 0 48px;
  font-weight: 400; font-size: 26px; line-height: 1.7; letter-spacing: .14em;
}
.center { text-align: center; }

/* Italian tricolour accent under centered titles — taken from the logo */
.section-title.center::after {
  content: ""; display: block;
  width: 48px; height: 2px; margin: 20px auto 0;
  background: linear-gradient(to right, var(--green) 0 33%, var(--text) 33% 66%, var(--red) 66%);
  opacity: .8;
}

/* ---------- Topics ---------- */
.topics-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
  max-width: 920px; margin: 0 auto;
}
.topics-grid:not(:has(.topic-card)) { display: none; }
.topic-card {
  display: block; flex: 0 1 420px;
  overflow: hidden;
  outline: 1px solid var(--line);
}
.topic-card img { width: 100%; height: auto; transition: opacity .4s; }
.topic-card:hover { outline-color: var(--gold); }
.topic-card:hover img { opacity: .85; }

/* SNS links under the topics */
.sns-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 920px; margin: 40px auto 0;
}
.topics-grid:not(:has(.topic-card)) + .sns-links { margin-top: 0; }
.sns-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s, background-color .3s;
}
.sns-link:hover { border-color: var(--gold); background: var(--bg-2); }
.sns-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; }
.sns-icon svg { width: 100%; height: auto; }
.sns-line .sns-icon { color: #06C755; }
.sns-insta .sns-icon { color: var(--text); }
.sns-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.6; }
.sns-name { font-size: 14px; letter-spacing: .1em; }
.sns-desc { font-size: 12px; color: var(--text-dim); letter-spacing: .06em; }
.sns-insta .sns-desc { font-family: var(--serif-en); font-size: 14px; }
.sns-cta {
  flex: none;
  padding: 4px 14px; border-radius: 999px;
  background: #06C755; color: #fff;
  font-size: 12px; letter-spacing: .12em;
}
.sns-arrow { flex: none; color: var(--gold-soft); font-size: 18px; }

/* ---------- Gallery ---------- */
.gallery { max-width: 1280px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 8px;
}
.g-item { overflow: hidden; display: block; background: var(--surface); }
.g-item.g-wide { grid-column: span 2; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, filter .8s ease;
  filter: brightness(.88);
}
.g-item:hover img { transform: scale(1.04); filter: brightness(1); }
.g-item img[src*="sign"] { object-position: 40% 45%; }

/* ---------- Menu ---------- */
.menu { position: relative; }
.menu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.menu-block {
  padding: 36px 36px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.menu-block h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 0 0 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.menu-block h3 .en {
  font-family: var(--serif-en); font-size: 26px; letter-spacing: .12em; color: var(--gold-soft);
}
.menu-block h3 .ja { font-size: 13px; color: var(--text-dim); }

.menu-list { margin: 0; }
.menu-list > div {
  display: flex; align-items: baseline; gap: 8px;
  padding: 4px 0;
}
.menu-list dt { flex: 0 1 auto; }
.menu-list dd {
  margin: 0 0 0 auto; flex: none;
  font-family: var(--serif-en); font-size: 17px; color: var(--gold-soft);
}
.menu-list dt::before { content: "・"; color: var(--gold); }

.menu-price {
  margin: 14px 0 0; text-align: right;
  font-family: var(--serif-en); font-size: 18px; color: var(--gold-soft);
}
.note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--text-dim); }

.seasonal { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.seasonal-title { margin: 14px 0 0; }
.seasonal-title:first-child { margin-top: 0; }
.seasonal-title .price { font-family: var(--serif-en); font-size: 17px; color: var(--gold-soft); margin-left: .5em; }
.tag {
  display: inline-block; margin-right: .7em; padding: 0 .7em;
  font-size: 11px; line-height: 1.9; letter-spacing: .1em;
  border: 1px solid var(--gold); color: var(--gold);
}

/* ---------- Access ---------- */
.access-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.info { margin: 0; }
.info > div {
  display: grid; grid-template-columns: 6em 1fr; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info > div:first-child { border-top: 1px solid var(--line); }
.info dt { color: var(--gold); font-size: 13px; letter-spacing: .14em; padding-top: 2px; }
.info dd { margin: 0; }
.info small { font-size: 12px; color: var(--text-dim); }
.info a { text-decoration: none; border-bottom: 1px solid var(--line); }

.map iframe {
  display: block; width: 100%; aspect-ratio: 4 / 3; border: 0;
  filter: grayscale(.6) sepia(.25) brightness(.85) contrast(1.05);
}
.btn {
  display: inline-block; margin-top: 16px; padding: 10px 28px;
  border: 1px solid var(--gold); color: var(--gold-soft);
  font-size: 13px; letter-spacing: .14em; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.btn:hover { background: var(--gold); color: var(--bg); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 24px 40px;
  text-align: center;
  background: #0d0907;
  border-top: 1px solid var(--line);
}
.footer-logo { width: 96px; margin: 0 auto 24px; opacity: .9; }
.footer-sns {
  display: flex; justify-content: center; gap: 20px;
  margin: 0 0 24px; padding: 0; list-style: none;
}
.footer-sns a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  color: var(--text-dim);
  transition: color .3s;
}
.footer-sns a:hover { color: var(--gold-soft); }
.footer-sns svg { width: 26px; height: 26px; }
.footer-notice { margin: 0; font-size: 12px; color: var(--text-dim); }
.footer-since {
  margin: 0 0 4px;
  font-family: var(--serif-en); font-style: italic; font-size: 14px; letter-spacing: .3em; color: var(--gold);
}
.copyright { margin: 8px 0 0; font-family: var(--serif-en); font-size: 13px; letter-spacing: .15em; color: var(--text-dim); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(10, 7, 5, .94);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox-close {
  position: absolute; top: 12px; right: 16px;
  width: 48px; height: 48px;
  background: none; border: 0; color: var(--text);
  font-size: 36px; line-height: 1; cursor: pointer;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .hero-inner, .scroll-cue { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }

  .site-header { padding: 0 8px 0 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    padding: 8px 16px 24px;
    background: rgba(20, 14, 11, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav { align-items: stretch; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-tel {
    justify-content: center; gap: 10px;
    margin-top: 20px; padding: 14px;
    border: 1px solid var(--gold);
    font-size: 18px;
  }
  .site-nav .nav-tel:hover { background: var(--gold); color: var(--bg); }
  .nav-tel svg { width: 18px; height: 18px; }
  .site-header:has(.site-nav.is-open) { background: rgba(20, 14, 11, 0.97); }

  .section { padding: 88px 16px; }
  .section-title { font-size: 22px; margin-bottom: 36px; }

  .topics-grid { gap: 16px; }
  .topic-card { flex-basis: 100%; max-width: 320px; }
  .sns-links { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .sns-link { padding: 14px 16px; gap: 14px; }
  .hero-hours { padding: 10px 18px; }
  .hours dd { font-size: 16px; letter-spacing: .14em; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 6px; }
  .g-item.g-sp-wide { grid-column: span 2; }

  .menu-block { padding: 28px 20px 22px; }
  .menu-block h3 .en { font-size: 22px; }

  .info > div { grid-template-columns: 5em 1fr; gap: 12px; }
}
