/* ==========================================
   BILLIARDS OAKLAND — Neon Pool Hall
   ========================================== */

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

:root {
  --c-green: #1B8C3D;
  --c-yellow: #F5C518;
  --c-red: #E53935;
  --c-purple: #7B1FA2;
  --c-blue: #1E88E5;

  --c-dark: #0b0b1a;
  --c-dark-2: #12122a;
  --c-felt: #1a5c2e;
  --c-felt-light: #22703a;
  --c-surface: #16162e;
  --c-text: #e8e8f0;
  --c-text-dim: #8888aa;
  --c-text-dark: #222;

  --ff-display: 'Unbounded', sans-serif;
  --ff-ja: 'Dela Gothic One', 'Zen Kaku Gothic New', sans-serif;
  --ff-body: 'Zen Kaku Gothic New', sans-serif;

  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: none; }

/* === フィルムグレイン === */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* === フェードイン === */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === セクションヘッダー === */
.section-header {
  margin-bottom: 64px;
}

.section-header__num {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--c-text-dim);
  margin-bottom: 8px;
}

.section-header__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--c-yellow), var(--c-red), var(--c-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header__ja {
  font-family: var(--ff-ja);
  font-size: 0.85rem;
  color: var(--c-text-dim);
  margin-top: 4px;
  letter-spacing: 0.15em;
}

.section-header--light .section-header__title {
  background: linear-gradient(135deg, var(--c-green), var(--c-blue), var(--c-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === ヘッダー === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 11, 26, 0.8);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.4s ease;
}

.header.is-scrolled {
  background: rgba(11, 11, 26, 0.95);
}

.header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header__logo img {
  height: 38px;
  width: auto;
  filter: brightness(1.1);
}

.header__nav-list {
  display: flex;
  gap: 40px;
}

.header__nav-list a {
  font-family: var(--ff-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.header__nav-list a::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--c-purple);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.header__nav-list a:hover {
  color: var(--c-text);
}

.header__nav-list a:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* ハンバーガー */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: var(--c-text);
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
  transform-origin: center;
}

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

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

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

/* === ヒーロー === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 50%, rgba(27, 140, 61, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(123, 31, 162, 0.06) 0%, transparent 50%),
              var(--c-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ビリヤードボール */
.hero__ball {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.5);
  animation: drift 12s ease-in-out infinite;
}

.hero__ball span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 40%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  font-size: 40%;
}

.hero__ball--1 {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 35% 35%, #fff 0%, var(--c-yellow) 30%, #c49a00 100%);
  top: 15%; right: 12%;
  font-size: 1.6rem;
  animation-delay: 0s;
  opacity: 0.7;
}

.hero__ball--9 {
  width: 100px; height: 100px;
  background: radial-gradient(circle at 35% 35%, #fff 0%, var(--c-yellow) 30%, #c49a00 100%);
  bottom: 20%; left: 8%;
  font-size: 1.3rem;
  animation-delay: -3s;
  opacity: 0.5;
}

.hero__ball--9::after {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: white;
  clip-path: polygon(0 20%, 100% 20%, 100% 80%, 0 80%);
}

.hero__ball--3 {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 35% 35%, #ff8a80 0%, var(--c-red) 40%, #991f1f 100%);
  top: 60%; right: 25%;
  font-size: 1rem;
  animation-delay: -5s;
  opacity: 0.4;
}

.hero__ball--5 {
  width: 70px; height: 70px;
  background: radial-gradient(circle at 35% 35%, #ff9800 0%, #e65100 40%, #8b3000 100%);
  top: 25%; left: 15%;
  font-size: 0.9rem;
  animation-delay: -8s;
  opacity: 0.35;
}

.hero__ball--2 {
  width: 90px; height: 90px;
  background: radial-gradient(circle at 35% 35%, #90caf9 0%, var(--c-blue) 40%, #0d47a1 100%);
  bottom: 35%; right: 5%;
  font-size: 1.1rem;
  animation-delay: -2s;
  opacity: 0.3;
}

.hero__cue {
  position: absolute;
  width: 3px;
  height: 500px;
  background: linear-gradient(to bottom, #d4a574, #8b6914, #d4a574);
  top: 10%;
  left: 6%;
  transform: rotate(-25deg);
  opacity: 0.08;
  transform-origin: top center;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, -35px) rotate(-3deg); }
  75% { transform: translate(20px, -15px) rotate(4deg); }
}

/* ヒーローコンテンツ */
.hero__content {
  position: relative;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.hero__logo-wrap {
  margin-bottom: 40px;
}

.hero__logo {
  max-width: 480px;
  width: 85%;
  margin: 0 auto;
  filter: drop-shadow(0 0 60px rgba(245, 197, 24, 0.15))
          drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.hero__catch {
  font-family: var(--ff-ja);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero__catch-accent {
  background: linear-gradient(90deg, var(--c-yellow), var(--c-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 0.95rem;
  color: var(--c-text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 48px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 2px solid var(--c-yellow);
  border-radius: 60px;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-yellow);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, transform 0.3s var(--ease-spring);
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}

.hero__cta:hover::before {
  transform: scaleX(1);
}

.hero__cta:hover {
  color: var(--c-dark);
  transform: scale(1.03);
}

.hero__cta-icon,
.hero__cta {
  position: relative;
  z-index: 1;
}

.hero__cta-icon {
  display: flex;
}

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll span {
  font-family: var(--ff-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--c-text-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* === ヒーロー reveal アニメーション === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === お店について === */
.about {
  padding: 120px 0;
  position: relative;
  background: var(--c-dark-2);
  overflow: hidden;
}

.about__felt {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-felt), var(--c-felt-light));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.15;
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__lead {
  font-family: var(--ff-ja);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.8;
  margin-bottom: 24px;
  color: #fff;
}

.about__text p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--c-text-dim);
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__card {
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--card-color);
  border-radius: 0 4px 4px 0;
}

.about__card:hover {
  transform: translateX(8px);
  border-color: rgba(255, 255, 255, 0.12);
}

.about__card-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--card-color);
  min-width: 70px;
  text-align: center;
  line-height: 1;
}

.about__card-title {
  font-family: var(--ff-ja);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.about__card-desc {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  line-height: 1.6;
}

/* === ギャラリー === */
.gallery {
  padding: 120px 0;
  background: var(--c-dark);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery__item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery__item--tall {
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--c-surface);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--c-text-dim);
  font-size: 0.8rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.gallery__placeholder:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.gallery__placeholder-icon {
  opacity: 0.3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === アクセス === */
.access {
  padding: 120px 0;
  background: var(--c-dark-2);
}

.access__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.access__map {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.access__detail {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.access__block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.access__block-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
}

.access__block:hover .access__block-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(255, 255, 255, 0.08);
}

.access__block h3 {
  font-family: var(--ff-ja);
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 4px;
}

.access__block p {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  line-height: 1.8;
}

/* === 店舗情報 === */
.info {
  padding: 120px 0;
  background: var(--c-dark);
  position: relative;
}

.info::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(229, 57, 53, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 136, 229, 0.06) 0%, transparent 50%);
}

.info > .container {
  position: relative;
  z-index: 1;
}

.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.info__hours h3,
.info__services h3,
.info__contact h3 {
  font-family: var(--ff-ja);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info__hour-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info__hour-label {
  font-size: 0.85rem;
  color: var(--c-text-dim);
}

.info__hour-time {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-yellow);
  letter-spacing: 0.02em;
}

/* サービスタグ */
.info__service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info__tag {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--tag-color);
  color: var(--tag-color);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}

.info__tag:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* 電話 */
.info__phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  position: relative;
  transition: transform 0.3s var(--ease-spring);
}

.info__phone:hover {
  transform: scale(1.05);
}

.info__phone svg {
  color: var(--c-red);
  flex-shrink: 0;
}

.info__phone-ring {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-red);
  opacity: 0;
  animation: ring-pulse 3s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: translateY(-50%) scale(0.8); opacity: 0.6; }
  100% { transform: translateY(-50%) scale(1.8); opacity: 0; }
}

.info__phone-num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.info__phone-note {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  margin-top: 8px;
}

/* === フッター === */
.footer {
  padding: 60px 24px 40px;
  background: #060612;
  text-align: center;
}

.footer__logo img {
  margin: 0 auto;
  height: 40px;
  width: auto;
  filter: brightness(0.9);
}

.footer__divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-red), var(--c-yellow), var(--c-green));
  margin: 24px auto;
}

.footer__address {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer__copy {
  font-family: var(--ff-display);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.15em;
}

.footer__portal { text-align: center; margin-top: .5rem; }
.footer__portal a { color: inherit; font-size: .75rem; opacity: .6; text-decoration: none; }
.footer__portal a:hover { opacity: 1; }

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 900px) {
  .about__body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__felt {
    display: none;
  }

  .access__body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .access__map {
    height: 300px;
  }

  .info__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery__item--tall {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(11, 11, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
  }

  .header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .header__nav-list a {
    display: block;
    padding: 20px;
    font-size: 1.4rem;
    color: var(--c-text);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out), color 0.3s ease;
  }

  .header__nav.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

  .header__nav.is-open li:nth-child(1) a { transition-delay: 0.1s; }
  .header__nav.is-open li:nth-child(2) a { transition-delay: 0.15s; }
  .header__nav.is-open li:nth-child(3) a { transition-delay: 0.2s; }
  .header__nav.is-open li:nth-child(4) a { transition-delay: 0.25s; }

  .header__nav-list a::before {
    position: static;
    display: block;
    font-size: 0.6rem;
    margin-bottom: 4px;
    opacity: 1;
    transform: none;
  }

  .header__burger {
    display: flex;
    z-index: 101;
  }

  .hero__logo {
    max-width: 300px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .about,
  .gallery,
  .access,
  .info {
    padding: 80px 0;
  }

  .about__cards {
    gap: 14px;
  }

  .about__card {
    padding: 20px 24px;
  }

  .about__card-num {
    font-size: 1.6rem;
    min-width: 50px;
  }

  .gallery__grid {
    gap: 10px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__ball--1 { width: 80px; height: 80px; }
  .hero__ball--9 { width: 65px; height: 65px; }
  .hero__ball--3 { width: 55px; height: 55px; }
  .hero__ball--5 { width: 50px; height: 50px; }
  .hero__ball--2 { width: 60px; height: 60px; }

  .hero__ball span { font-size: 35%; }
}
