/* ===================================
   Beaカラ! Official Site
   Claude Design System
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* === Design Tokens === */
:root {
  /* Beatles palette — refined */
  --red:        #B8000E;
  --red-dark:   #8C000A;
  --red-subtle: rgba(184, 0, 14, 0.07);
  --gold:       #C49206;
  --gold-light: #E8B420;
  --gold-pale:  #FDF8E3;

  /* Claude-style warm surfaces */
  --bg:          #FAF9F7;
  --surface:     #FFFFFF;
  --surface-2:   #F3F0EB;
  --surface-3:   #EDE9E1;
  --border:      #E5E0D8;
  --border-strong: #CEC8BE;

  /* Text hierarchy */
  --text:         #1A1714;
  --text-2:       #6B6560;
  --text-3:       #A8A3A0;
  --text-inverse: #FAF9F7;

  /* Dark areas (hero / footer) */
  --dark:        #0F0F0F;
  --dark-2:      #1C1916;
  --dark-border: rgba(255,255,255,0.10);
  --dark-muted:  rgba(250,249,247,0.55);

  /* Shadows — warm and subtle */
  --shadow-xs: 0 1px 2px rgba(26,23,20,0.06);
  --shadow-sm: 0 1px 3px rgba(26,23,20,0.08), 0 1px 2px rgba(26,23,20,0.04);
  --shadow:    0 4px 12px rgba(26,23,20,0.08), 0 2px 4px rgba(26,23,20,0.04);
  --shadow-md: 0 8px 24px rgba(26,23,20,0.10), 0 3px 6px rgba(26,23,20,0.05);
  --shadow-lg: 0 16px 40px rgba(26,23,20,0.12), 0 4px 8px rgba(26,23,20,0.05);

  /* Border radius */
  --r-sm:  6px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Backward compat aliases */
  --black:      var(--dark);
  --cream:      var(--bg);
  --cream-dark: var(--surface-2);
  --white:      var(--surface);
  --yellow:     var(--gold-light);
  --red-dark:   #8C000A;
  --shadow-lg-old: var(--shadow-lg);
}

/* === Announce Bar === */
.announce-bar {
  background: var(--gold-light);
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-dark);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 999;
  line-height: 1.5;
}
.announce-bar a {
  color: var(--red);
  text-decoration: underline;
  margin-left: 0.55rem;
  font-weight: 700;
  transition: opacity 0.15s;
}
.announce-bar a:hover { opacity: 0.72; }

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  color: var(--red);
  text-align: center;
  margin-bottom: 0.25em;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--red), var(--gold-light));
  border-radius: 2px;
  margin-top: 8px;
  opacity: 0.7;
}

.section-subtitle {
  text-align: center;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}

/* === Navigation === */
.navbar {
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-shadow: 2px 2px 0 var(--red);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.2rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: rgba(250,249,247,0.75);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--red);
  color: var(--gold-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* === Footer === */
footer {
  background: var(--dark);
  color: var(--text-inverse);
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  border-top: 1px solid var(--dark-border);
}

footer .footer-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--gold-light);
  text-shadow: 2px 2px 0 var(--red);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.8rem;
  margin: 1.2rem 0;
  list-style: none;
}

footer .footer-links a {
  color: var(--dark-muted);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  border-radius: var(--r-sm);
  transition: color 0.18s;
}

footer .footer-links a:hover { color: var(--gold-light); }

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--dark-border);
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.83rem;
  color: var(--text-inverse);
  transition: background 0.18s, border-color 0.18s;
}

.footer-sns a:hover {
  background: var(--red);
  border-color: var(--red);
}

footer .copyright {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 1.2rem;
  letter-spacing: 0.03em;
}

/* === Decorative: Record === */
.record-decoration {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    #2e2e2e 0%, #2e2e2e 13%,
    #181818 14%, #181818 16%,
    #3a3a3a 17%, #3a3a3a 33%,
    #262626 34%, #262626 50%,
    #313131 51%, #313131 66%,
    #222222 67%, #222222 100%
  );
  box-shadow: 0 4px 20px rgba(0,0,0,0.45), inset 0 0 20px rgba(0,0,0,0.2);
  animation: spin 9s linear infinite;
  position: relative;
  flex-shrink: 0;
}

.record-decoration::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--gold-light);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* === Stripe divider (refined) === */
.stripe-divider {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red)       0px,
    var(--red)       8px,
    var(--gold-light) 8px,
    var(--gold-light) 16px
  );
  opacity: 0.75;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, opacity 0.18s;
  letter-spacing: 0.03em;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--red);
  color: var(--gold-light);
  border: 2.5px solid var(--gold-light);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--gold-light);
  color: var(--dark);
  border: 2.5px solid var(--dark);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--gold);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--text-inverse);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.55);
}

/* === Card === */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* === Event Card === */
.event-card {
  background: linear-gradient(135deg, #111111 0%, #1e0a0a 100%);
  color: var(--text-inverse);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 1.75rem;
  border: 1.5px solid rgba(232, 180, 32, 0.35);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}

.event-card::before {
  content: '♪';
  position: absolute;
  top: -1rem;
  right: 1rem;
  font-size: 7rem;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.event-card .event-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  background: var(--red);
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.85rem;
  letter-spacing: 0.12em;
}

.event-card .event-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--gold-light);
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.event-info-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.event-info-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: rgba(250,249,247,0.88);
}

.event-info-list .label {
  background: var(--red);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-sm);
  min-width: 50px;
  text-align: center;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

/* === Section Wrapper === */
.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* === Badge === */
.badge {
  display: inline-block;
  background: var(--red);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
}

/* === Table === */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.styled-table th {
  background: var(--dark);
  color: var(--gold-light);
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.styled-table td {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:hover td { background: var(--gold-pale); }
.styled-table tr:nth-child(even) td { background: var(--surface-2); }
.styled-table tr:nth-child(even):hover td { background: var(--gold-pale); }

/* === Form === */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-subtle);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.required {
  color: var(--red);
  margin-left: 4px;
}

/* === FAQ === */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.18s;
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-question {
  width: 100%;
  background: var(--surface);
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.18s;
}

.faq-question:hover { background: var(--surface-2); }

.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--red);
  transition: transform 0.28s;
  flex-shrink: 0;
}

.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--surface-2);
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-2);
}

.faq-answer.open {
  max-height: 500px;
  padding: 1rem 1.25rem;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r);
  cursor: pointer;
  position: relative;
  background: var(--dark);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--red);
  color: var(--white);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
}

.lightbox-close:hover {
  background: var(--red-dark);
  transform: scale(1.08);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  color: var(--text-inverse);
  font-size: 0.88rem;
  text-align: center;
  width: 100%;
  padding: 0 2rem;
  opacity: 0.75;
}

/* === Placeholder images === */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.25);
  background: linear-gradient(135deg, #242424 0%, #181818 100%);
}

.img-placeholder span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-family: 'Noto Sans JP', sans-serif;
}

/* === Scroll animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.15rem;
    display: none;
    border-top: 1px solid var(--dark-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .hamburger { display: flex; }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .section { padding: 3.5rem 1rem; }
  .event-card { padding: 1.5rem; }
}

/* === Utilities === */
.text-center     { text-align: center; }
.mt-1            { margin-top: 1rem; }
.mt-2            { margin-top: 2rem; }
.mb-1            { margin-bottom: 1rem; }
.mb-2            { margin-bottom: 2rem; }
.gap-1           { gap: 1rem; }
.flex            { display: flex; }
.flex-wrap       { flex-wrap: wrap; }
.justify-center  { justify-content: center; }
.align-center    { align-items: center; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
