/* BAR NOVEL — pochi edition
   Deep green × copper speakeasy palette, mobile-first. */

:root {
  --bg: #0c1210;
  --bg-2: #101915;
  --panel: #14201a;
  --line: #4d3117;
  --text: #ece5d8;
  --muted: #a79c8a;
  --copper: #d08a4a;
  --copper-soft: #e0aa72;
  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --jp-serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* 背景だけ bootstrap版のゴールドグラデーションを維持 */
  background: linear-gradient(180deg,
      #c7a678 60%,
      #e0c18f 60%,
      #c7a678 60%,
      #c88b4e 100%);
  background-color: #c7a678;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--copper-soft);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(12, 18, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(12, 18, 16, 0.92);
  border-bottom-color: var(--line);
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.28em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--copper);
}

.header-nav {
  display: none;
  gap: 28px;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-nav a:hover {
  color: var(--copper-soft);
}

.header-insta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  border: 1px solid var(--copper);
  color: var(--copper-soft);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-insta:hover {
  background: var(--copper);
  color: #14100b;
}

@media (min-width: 820px) {
  .header-nav {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background: url("https://raw.githubusercontent.com/sota-furuta/bar-novel-bootstrap/main/IMG_8581.jpeg") center 30% / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(12, 18, 16, 0.55) 0%,
      rgba(12, 18, 16, 0.15) 40%,
      rgba(12, 18, 16, 0.82) 82%,
      rgba(199, 166, 120, 0) 100%);
}

.hero-inner {
  position: relative;
  padding: 0 22px 96px;
  max-width: 720px;
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  color: var(--copper-soft);
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(4.2rem, 17vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}

.hero-copy {
  margin: 22px 0 0;
  font-family: var(--jp-serif);
  font-size: 1.02rem;
  line-height: 2.1;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border: 1px solid rgba(236, 229, 216, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  background: rgba(12, 18, 16, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-scroll {
  position: absolute;
  right: 20px;
  bottom: 108px;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  color: var(--muted);
  text-decoration: none;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 52px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, var(--copper), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  padding: 13px 28px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-solid {
  background: var(--copper);
  color: #17110a;
  font-weight: 500;
}

.btn-solid:hover {
  background: var(--copper-soft);
}

.btn-ghost {
  border: 1px solid rgba(236, 229, 216, 0.5);
  color: var(--text);
  background: rgba(12, 18, 16, 0.35);
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-soft);
}

/* ---------- Sections ---------- */

.section {
  max-width: 760px;
  width: calc(100% - 28px);
  margin: 22px auto 0;
  padding: 34px 22px 30px;
  scroll-margin-top: 84px;
  background: rgba(18, 12, 8, 0.9);
  border: 1px solid #5a3a1d;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(43, 24, 8, 0.28);
}

main > .section:first-child {
  margin-top: 26px;
}

.section-label {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--copper);
  text-transform: uppercase;
}

.section-title {
  margin: 8px 0 20px;
  font-family: var(--jp-serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 6vw, 2.1rem);
  line-height: 1.55;
}

.section-text {
  margin: 0 0 18px;
  color: #ddd4c3;
  font-size: 0.95rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-shown {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-photo {
    animation: none;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Menu ---------- */

.menu-tabs {
  display: flex;
  gap: 10px;
  margin: 6px 0 26px;
}

.menu-tab {
  flex: 1;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  padding: 12px 0;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
}

.menu-tab.is-active {
  color: #17110a;
  background: var(--copper);
  border-color: var(--copper);
  font-weight: 600;
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li {
  padding: 14px 2px;
  border-bottom: 1px dashed var(--line);
}

.menu-list li:first-child {
  padding-top: 2px;
}

.menu-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.menu-name {
  font-family: var(--jp-serif);
  font-size: 1.02rem;
  color: var(--text);
}

.menu-dots {
  flex: 1;
  border-bottom: 1px dotted #43564b;
  transform: translateY(-4px);
}

.menu-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--copper-soft);
  white-space: nowrap;
}

.menu-desc {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.menu-photo {
  width: 100%;
  margin-top: 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.menu-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Gallery ---------- */

.gallery-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 78%;
  max-width: 340px;
  margin: 0;
  scroll-snap-align: center;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}

.gallery-item figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.14em;
}

.gallery-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 2px 0 0;
}

@media (min-width: 820px) {
  .gallery-item {
    flex-basis: 300px;
  }

  .gallery-item img {
    height: 260px;
  }
}

/* ---------- Info ---------- */

.info-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.info-list > div {
  display: flex;
  gap: 18px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  flex: 0 0 84px;
  color: var(--copper-soft);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.info-list dd {
  margin: 0;
  font-size: 0.94rem;
}

.info-list a {
  text-decoration: none;
  border-bottom: 1px dotted var(--copper);
}

/* ---------- Instagram band ---------- */

.insta-band {
  text-align: center;
  padding-bottom: 30px;
}

.insta-band .section-text {
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 84px;
  padding: 44px 22px 110px;
  border-top: 1px solid #5a3a1d;
  background: rgba(11, 10, 8, 0.94);
  text-align: center;
}

.footer-logo {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.34em;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-note {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- Bottom bar (mobile) ---------- */

.bottom-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(16, 25, 21, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-bar a {
  padding: 14px 0;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.bottom-bar a + a {
  border-left: 1px solid var(--line);
}

.bottom-bar a:active {
  background: var(--panel);
  color: var(--copper-soft);
}

@media (min-width: 820px) {
  .bottom-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 44px;
  }

  .hero-inner {
    padding-bottom: 110px;
  }
}

/* スマホ調整（bootstrap-design） */
@media (max-width: 560px) {
  .section {
    padding: 26px 16px 24px;
    margin-top: 16px;
    border-radius: 14px;
  }

  .hero-inner {
    padding: 0 18px 104px;
  }

  .gallery-item {
    flex-basis: 82%;
  }
}

/* ハンバーガーメニュー（旧Instagramボタンの置き換え） */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--copper);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: #f0bc82;
  transition: transform 0.35s ease, opacity 0.25s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hamburger-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 14px;
  min-width: 210px;
  background: rgba(14, 10, 7, 0.97);
  border: 1px solid #5a3a1d;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(30, 17, 5, 0.45);
  z-index: 60;
}

.hamburger-menu:not([hidden]) {
  animation: hamburgerIn 0.28s ease;
}

@keyframes hamburgerIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hamburger-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  border-radius: 9px;
}

.hamburger-menu a:active,
.hamburger-menu a:hover {
  background: rgba(208, 138, 74, 0.16);
  color: var(--copper-soft);
}

.hamburger-menu .hamburger-insta {
  margin-top: 6px;
  border-top: 1px solid #5a3a1d;
  border-radius: 0 0 9px 9px;
  color: var(--copper-soft);
  font-weight: 500;
}

/* Instagram アカウント名のはみ出し対策 */
.insta-band .section-title {
  overflow-wrap: anywhere;
  word-break: break-all;
}

@media (max-width: 560px) {
  .insta-band .section-title {
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }
}
