:root {
  --bg: #ffffff;
  --text: #111111;
  --text-dim: #666666;
  --line: #dddddd;
  --line-strong: #111111;
  --font-display: "Bebas Neue", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
}

section, header, footer {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 64px 24px;
}

/* 上から交互に白黒反転。以降のルールはほぼ全てvar(--text)等のカスタムプロパティ経由で
   色を参照しているため、ここで変数を上書きするだけでセクション内の文字色等が連動する */
main > section:nth-child(even) {
  --bg: #111111;
  --text: #ffffff;
  --text-dim: #bbbbbb;
  --line: #333333;
  --line-strong: #ffffff;
  background: var(--bg);
  color: var(--text);
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 32px;
}

/* スクロールで要素をふわっと表示。IntersectionObserverでis-visibleを付与する(main.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 実写真のみに適用するホバーズーム用フレーム */
.photo-frame {
  overflow: hidden;
}
.photo-frame img {
  transition: transform 0.4s ease;
}
.photo-frame:hover img {
  transform: scale(1.08);
}

h2 {
  text-align: center;
  margin: 0 0 8px;
}
h2 .en {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
  text-transform: uppercase;
}
h2 .ja {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  margin-top: 10px;
}
p { color: var(--text-dim); }

.btn {
  display: inline-block;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  padding: 4px 2px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.btn.solid {
  border: 1px solid var(--text);
  padding: 12px 28px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.btn.solid:hover {
  background: var(--text);
  color: var(--bg);
}

/* --- Header --- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}
header.site-header.hide {
  transform: translateY(-130%);
}
.logo {
  font-family: "UnifrakturMaguntia", cursive;
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 0.02em;
}
nav.gnav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
}
nav.gnav a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.55;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
nav.gnav a.active {
  opacity: 1;
  border-bottom-color: var(--line-strong);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); display: block; }

/* --- Hero --- */
.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease;
}
.hero-slideshow img.is-active {
  opacity: 1;
  animation: kenburns 6s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img.is-active {
    animation: none;
  }
}
.hero-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "UnifrakturMaguntia", cursive;
  font-size: clamp(48px, 10vw, 96px);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7), 0 0 6px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.hero-content {
  text-align: center;
  padding: 56px 24px;
}
.hero-content .catch {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: bold;
  letter-spacing: 0.15em;
  margin: 0 0 28px;
  color: var(--text);
}

/* --- Concept --- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.concept-photo { min-height: 380px; }
.concept-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  margin: 0 0 20px;
}
.about-body p:last-child { margin-bottom: 0; }
.about-body p.about-kicker {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.about-kicker .label {
  display: block;
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.about-kicker .brand {
  font-family: "UnifrakturMaguntia", cursive;
  font-size: 1.4em;
  font-weight: normal;
}

/* --- Menu / Price --- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.menu-card {
  border: 1px solid var(--line);
}
.menu-card .photo-frame { aspect-ratio: 4 / 3; }
.menu-card .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-card .menu-photo-dark {
  aspect-ratio: 4 / 3;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-card .menu-photo-dark .brand {
  font-family: "UnifrakturMaguntia", cursive;
  color: #fff;
  font-size: 28px;
}
.menu-card-row {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.menu-card .name { font-size: 15px; letter-spacing: 0.05em; }
.menu-card .price { font-size: 18px; font-weight: bold; white-space: nowrap; margin-left: 16px; }
.menu-card .price-unit { font-size: 12px; font-weight: normal; color: var(--text-dim); }

/* --- Style Gallery --- */
/* 横一列の写真を時間経過で自動的に流す。画像セットを2回並べたトラックを
   -50%(=1セット分)までtranslateXすることで、途切れなくループして見せる */
.gallery-marquee {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.gallery-track {
  display: flex;
  width: max-content;
  gap: 4px;
  animation: gallery-scroll 24s linear infinite;
}
.gallery-marquee:hover .gallery-track {
  animation-play-state: paused;
}
.gallery-track .photo-frame {
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 1 / 1;
}
.gallery-track .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

/* --- Stylist --- */
.stylist-grid {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}
.stylist-card .photo-frame { aspect-ratio: 3 / 4; margin-bottom: 12px; }
.stylist-card .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stylist-card .name { font-size: 15px; font-weight: bold; letter-spacing: 0.05em; }
.stylist-card .role { font-size: 12px; color: var(--text-dim); }

/* --- Interior Gallery --- */
.interior-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.interior-grid .photo-frame { aspect-ratio: 4 / 3; }
.interior-grid .photo-frame.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.interior-grid .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Access --- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.map-embed {
  width: 100%;
  min-height: 260px;
  border: 1px solid var(--line);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 96px;
  color: var(--text-dim);
  font-weight: normal;
  letter-spacing: 0.05em;
}

/* --- Reserve CTA --- */
.reserve-band {
  text-align: center;
}
.reserve-band h2 { margin-bottom: 24px; }
.reserve-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
}

/* --- Footer --- */
footer {
  padding: 40px 24px;
  text-align: center;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0 0 20px;
  font-size: 12px;
}
.footer-nav a { color: var(--text-dim); text-decoration: none; }
.sns-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ig-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.copyright { font-size: 11px; color: var(--text-dim); }
footer .logo { display: inline-block; margin-bottom: 20px; }

@media (min-width: 768px) {
  nav.gnav ul { display: flex; }
  .hamburger { display: none; }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-track .photo-frame { width: 280px; }
  .interior-grid { grid-template-columns: repeat(3, 1fr); }
  .access-grid { grid-template-columns: 1.2fr 1fr; }
  .reserve-actions { flex-direction: row; max-width: none; justify-content: center; }
}

@media (max-width: 767px) {
  nav.gnav { display: none; }
  .hamburger { display: flex; }
  header.site-header .btn.solid {
    margin-left: auto;
    margin-right: 12px;
  }

  /* スマホでは店内ギャラリー1枚目も他の3枚と同じサイズに揃える */
  .interior-grid .photo-frame.wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  nav.gnav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px;
  }
  nav.gnav.open ul {
    flex-direction: column;
    gap: 16px;
  }

  /* スマホのみ: ヒーロー画像を画面いっぱいに広げ、キャッチコピー/ボタンを上に重ねる。
     スライドショーとコンテンツを両方position:absoluteにして、flexの高さ計算に
     依存しない形にすることで、画像が.heroの上端まで確実に埋まるようにしている */
  .hero {
    position: relative;
    padding: 0;
    min-height: 75vh;
    min-height: 75svh;
    overflow: hidden;
  }
  .hero-slideshow {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }
  .hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 40px 24px 56px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
  }
  .hero-content .catch { color: #fff; }
  .hero-content .btn.solid {
    border-color: #fff;
    color: #fff;
  }
  .hero-content .btn.solid:hover {
    background: #fff;
    color: #111;
  }
}

/* 細い画面幅向けの微調整。ヘッダーの3要素(ロゴ/予約ボタン/ハンバーガー)が
   詰まりすぎないよう縮小し、セクションの左右余白も少し絞ってコンテンツ幅を確保する */
@media (max-width: 420px) {
  header.site-header { padding: 8px 16px; }
  .logo { font-size: 20px; }
  header.site-header .btn.solid { padding: 8px 14px; font-size: 12px; }
  .hamburger { padding: 6px; }

  section, footer { padding: 48px 20px; }
  .inner { padding: 36px 20px; }
}
