/* ============================================
   スナックたぬかな HP - main.css
   設計: ネオン × 黒 × どんぐり
   WCAG AA / reduced-motion 準拠
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary:      #000000;
  --bg-secondary:    #0A0A1A;
  --bg-card:         #0F0F1F;
  --neon-magenta:    #FF2DA0;
  --neon-cyan:       #21F0FF;
  --neon-yellow:     #FFEB3B;
  --text-primary:    #FFFFFF;
  --text-muted:      #B8B8C8;
  --text-faint:      #6A6A7A;

  --font-jp-body:    'Noto Sans JP', 'Hiragino Sans', 'Meiryo', system-ui, sans-serif;
  --font-jp-deco:    'Reggae One', 'DotGothic16', 'Noto Sans JP', sans-serif;

  --space-xs: 0.5rem;
  --space-s:  1rem;
  --space-m:  2rem;
  --space-l:  4rem;
  --space-xl: 6rem;

  --container-max: 1080px;
  --radius:  12px;
  --radius-lg: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }

/* ---------- Body ---------- */
body {
  background:
    radial-gradient(ellipse at top, rgba(255, 45, 160, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(33, 240, 255, 0.08) 0%, transparent 50%),
    var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-jp-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Common Section ---------- */
.section {
  padding: var(--space-xl) var(--space-s);
  position: relative;
}
.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section__title {
  font-family: var(--font-jp-deco);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan), 0 0 16px rgba(33, 240, 255, 0.5);
  text-align: center;
  margin-bottom: var(--space-l);
  letter-spacing: 0.1em;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: var(--space-m) var(--space-s);
  position: relative;
  text-align: center;
  border-bottom: 1px solid rgba(255, 45, 160, 0.2);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.015) 3px,
      rgba(255, 255, 255, 0.015) 4px
    );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}
.hero__logo {
  width: 100%;
  height: auto;
  max-width: 820px;
  margin: 0 auto var(--space-m);
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 45, 160, 0.35));
  will-change: filter;
}
.hero__catch {
  font-family: var(--font-jp-deco);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-primary);
  margin-bottom: var(--space-l);
  letter-spacing: 0.08em;
  text-shadow: 0 0 6px rgba(33, 240, 255, 0.5);
}
.hero__scroll {
  position: absolute;
  bottom: var(--space-m);
  left: 50%;
  transform: translateX(-50%);
  color: var(--neon-cyan);
  font-size: 1.5rem;
  animation: hero-scroll 2s ease-in-out infinite;
}
@keyframes hero-scroll {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- CTA Button ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 56px;
  min-width: 200px;
  padding: var(--space-s) var(--space-m);
  font-family: var(--font-jp-deco);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-lg);
  border: 2px solid var(--neon-magenta);
  color: var(--text-primary);
  background: rgba(255, 45, 160, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  text-align: center;
  flex-direction: column;
  line-height: 1.2;
}
.cta small {
  font-size: 0.75rem;
  font-family: var(--font-jp-body);
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: 2px;
}
.cta:hover, .cta:focus-visible {
  background: rgba(255, 45, 160, 0.18);
  box-shadow:
    0 0 12px var(--neon-magenta),
    0 0 24px rgba(255, 45, 160, 0.4),
    inset 0 0 12px rgba(255, 45, 160, 0.2);
  transform: translateY(-2px);
  will-change: box-shadow, transform;
}
.cta--primary {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 8px rgba(255, 45, 160, 0.3);
}
.cta--secondary {
  border-color: var(--neon-cyan);
  background: rgba(33, 240, 255, 0.06);
}
.cta--secondary:hover, .cta--secondary:focus-visible {
  background: rgba(33, 240, 255, 0.15);
  box-shadow:
    0 0 12px var(--neon-cyan),
    0 0 24px rgba(33, 240, 255, 0.4),
    inset 0 0 12px rgba(33, 240, 255, 0.2);
}

/* ---------- About ---------- */
.section--about { background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary)); }
.about__text {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: var(--space-l);
  line-height: 2;
}
.acorn-cluster {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-m);
  flex-wrap: wrap;
}
.acorn-cluster img {
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.acorn-cluster img:hover { opacity: 1; transform: scale(1.1); }

/* ---------- System ---------- */
.section--system { background: var(--bg-secondary); }
.system__list {
  max-width: 600px;
  margin: 0 auto var(--space-m);
  text-align: center;
}
.system__list li {
  padding: var(--space-s) 0;
  border-bottom: 1px dashed rgba(33, 240, 255, 0.2);
}
.system__list li:last-child { border-bottom: none; }
.system__time {
  font-family: var(--font-jp-deco);
  font-size: 1.5rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(33, 240, 255, 0.5);
  letter-spacing: 0.1em;
}
.system__price {
  display: inline-block;
  margin-right: var(--space-s);
  font-size: 1.1rem;
}
.system__amount {
  font-family: var(--font-jp-deco);
  font-size: 1.6rem;
  color: var(--neon-yellow);
  text-shadow: 0 0 6px rgba(255, 235, 59, 0.4);
}
.system__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.system__hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.system__hint a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.system__hint strong { color: var(--neon-yellow); }

/* ---------- Menu ---------- */
.section--menu { background: var(--bg-primary); }
.menu__image-btn {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto var(--space-m);
  padding: 0;
  border: 2px solid var(--neon-magenta);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--bg-primary);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.menu__image-btn:hover, .menu__image-btn:focus-visible {
  box-shadow:
    0 0 16px var(--neon-magenta),
    0 0 32px rgba(255, 45, 160, 0.3);
  transform: translateY(-2px);
}
.menu__image {
  width: 100%;
  height: auto;
  display: block;
}
.menu__zoom-hint {
  position: absolute;
  bottom: var(--space-s);
  right: var(--space-s);
  background: rgba(0, 0, 0, 0.75);
  color: var(--neon-cyan);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--font-jp-body);
  border: 1px solid rgba(33, 240, 255, 0.3);
}
.menu__sr-text {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(33, 240, 255, 0.04);
  border: 1px solid rgba(33, 240, 255, 0.15);
  border-radius: var(--radius);
  padding: var(--space-s) var(--space-m);
}
.menu__sr-text summary {
  cursor: pointer;
  font-family: var(--font-jp-deco);
  color: var(--neon-cyan);
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
}
.menu__sr-text summary:hover { color: var(--neon-magenta); }
.menu__sr-text h3 {
  margin-top: var(--space-m);
  font-family: var(--font-jp-deco);
  color: var(--neon-magenta);
  font-size: 1.2rem;
}
.menu__sr-text p, .menu__sr-text ul { margin-top: var(--space-xs); color: var(--text-muted); font-size: 0.9rem; }
.menu__sr-text li { padding: 0.15rem 0; }
.menu__payment {
  max-width: 600px;
  margin: var(--space-m) auto 0;
  text-align: center;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.menu__payment-label {
  display: block;
  font-family: var(--font-jp-deco);
  color: var(--neon-cyan);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* ---------- Location ---------- */
.section--location { background: var(--bg-secondary); }
.location__info {
  max-width: 480px;
  margin: 0 auto var(--space-m);
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--space-s) var(--space-m);
  align-items: start;
}
.location__info dt {
  font-family: var(--font-jp-deco);
  color: var(--neon-cyan);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.location__info dd { font-size: 1rem; }
.location__maps { display: flex; margin: 0 auto; max-width: 280px; }

/* ---------- SNS ---------- */
.section--sns { background: var(--bg-primary); }
.sns__list {
  display: flex;
  justify-content: center;
  gap: var(--space-m);
  flex-wrap: wrap;
}
.sns__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-s) var(--space-m);
  min-width: 140px;
  min-height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sns__link:hover, .sns__link:focus-visible {
  background: rgba(33, 240, 255, 0.06);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(33, 240, 255, 0.3);
}
.sns__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--neon-cyan);
}
.sns__label {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ---------- Events ---------- */
.section--events { background: var(--bg-secondary); }
.events__lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-l);
}
.events__grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .events__grid { grid-template-columns: repeat(2, 1fr); }
}
.events__poster-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid var(--neon-magenta);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--bg-primary);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.events__poster-btn:hover, .events__poster-btn:focus-visible {
  box-shadow: 0 0 16px var(--neon-magenta), 0 0 32px rgba(255, 45, 160, 0.3);
  transform: translateY(-2px);
}
.events__poster { width: 100%; height: auto; display: block; }
.events__empty {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-l) var(--space-m);
  border: 1px dashed rgba(33, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(33, 240, 255, 0.03);
}
.events__empty-mark {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto var(--space-s);
  filter: drop-shadow(0 0 8px rgba(255, 45, 160, 0.5));
}
.events__empty-text {
  font-family: var(--font-jp-deco);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(33, 240, 255, 0.5);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-s);
}
.events__empty-note { color: var(--text-muted); font-size: 0.9rem; line-height: 1.9; }
.events__empty-note a { color: var(--neon-cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA Section ---------- */
.section--cta { background: linear-gradient(180deg, var(--bg-primary), #050510); }
.cta-grid {
  display: grid;
  gap: var(--space-m);
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.cta-grid .cta { width: 100%; }
.cta-cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
}
.cta-cell .cta { width: 100%; }
.cta-note {
  text-align: left;
  border: 1px solid rgba(33, 240, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(33, 240, 255, 0.04);
  padding: var(--space-s) var(--space-m);
}
.cta-note__title {
  font-family: var(--font-jp-deco);
  color: var(--neon-cyan);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}
.cta-note__list {
  display: grid;
  gap: 0.2rem;
}
.cta-note__list li {
  position: relative;
  padding-left: 1.1em;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.cta-note__list li::before {
  content: '🌰';
  position: absolute;
  left: 0;
  font-size: 0.8em;
}
.cta-note__hint {
  margin-top: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .cta-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

/* ---------- Footer ---------- */
.footer {
  background: #000;
  padding: var(--space-l) var(--space-s) var(--space-m);
  border-top: 1px solid rgba(255, 45, 160, 0.2);
  text-align: center;
}
.footer__inner { max-width: var(--container-max); margin: 0 auto; }
.footer__notice {
  color: var(--neon-yellow);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-s);
  letter-spacing: 0.05em;
}
.footer__contact, .footer__copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
}
.footer a { color: var(--neon-cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Privacy Policy (footer) ---------- */
.privacy {
  max-width: 720px;
  margin: 0 auto var(--space-l);
  padding: var(--space-m);
  text-align: left;
  border: 1px solid rgba(33, 240, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(33, 240, 255, 0.03);
}
.privacy__title {
  font-family: var(--font-jp-deco);
  font-size: 1rem;
  color: var(--neon-cyan);
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 0 0 6px rgba(33, 240, 255, 0.4);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}
.privacy__title::-webkit-details-marker { display: none; }
.privacy__title::after {
  content: '▼';
  font-size: 0.7em;
  color: var(--neon-cyan);
  transition: transform 0.3s ease;
}
.privacy[open] .privacy__title::after { transform: rotate(180deg); }
.privacy__title:hover { color: var(--neon-magenta); }
.privacy__body {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.9;
  margin-top: var(--space-m);
}
.privacy__body h3 {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: var(--space-s);
  margin-bottom: 0.2rem;
}
.privacy__body p { margin-bottom: var(--space-xs); }
.privacy__date { margin-top: var(--space-s); color: var(--text-faint); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-s);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.modal__content {
  position: relative;
  max-width: min(90vw, 800px);
  max-height: 90vh;
  border: 2px solid var(--neon-magenta);
  border-radius: var(--radius);
  box-shadow: 0 0 32px rgba(255, 45, 160, 0.6);
  overflow: hidden;
  background: var(--bg-primary);
}
.modal__image {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}
.modal__close {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: var(--neon-cyan);
  font-size: 1.8rem;
  line-height: 1;
  border: 1px solid var(--neon-cyan);
  z-index: 1;
}
.modal__close:hover, .modal__close:focus-visible {
  background: rgba(33, 240, 255, 0.2);
  box-shadow: 0 0 12px var(--neon-cyan);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__scroll { animation: none; opacity: 0.6; }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .section { padding: var(--space-xl) var(--space-m); }
  .hero__catch { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .section { padding: 8rem var(--space-m); }
}
