/* ═══════════════════════════════════════════
   Moon Art Night 下北沢 2026 — Shared Styles
═══════════════════════════════════════════ */

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

:root {
  --bg: #F6D103;          /* moon yellow page background */
  --dark: #20235a;        /* deep indigo (text) */
  --navy: #2a2e6e;
  --purple: #3b54c4;      /* vivid blue accent */
  --purple-light: #7b8ad8;
  --moon: #ffce26;        /* sunny yellow */
  --moon-deep: #f5b81e;
  --pink: #ee7ab0;
  --coral: #ef5d44;
  --teal: #1fb39a;
  --lavender: #cfc7ea;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── HEADER ─── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(107,95,166,0.1);
}

.logo-mark {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  line-height: 1.35; color: var(--dark);
  text-transform: uppercase; text-decoration: none;
  display: block;
}
.logo-mark small { font-size: 10px; font-weight: 400; display: block; }

nav { display: flex; align-items: center; gap: 22px; }
nav a {
  font-size: 12.5px; color: var(--dark); text-decoration: none;
  transition: color .2s; white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--purple); }
nav a.active { font-weight: 700; border-bottom: 2px solid var(--purple); padding-bottom: 2px; }

.header-right { display: flex; align-items: center; gap: 16px; }

.btn-ticket {
  background: var(--dark); color: #fff;
  padding: 9px 20px; border-radius: 24px;
  font-size: 12.5px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s; white-space: nowrap;
}
.btn-ticket:hover { background: var(--purple); }

.icon-ig { width: 22px; height: 22px; opacity: .7; }

/* ─── PAGE HERO BANNER ─── */
.page-hero {
  background: #1F3B90;
  padding: 70px 60px 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,206,38,.30) 0%, transparent 70%);
  right: -80px; top: -100px;
}
.page-hero-label {
  font-size: 12px; letter-spacing: .25em; color: var(--moon);
  text-transform: uppercase; margin-bottom: 10px; display: block;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 14px;
}
.page-hero p {
  font-size: 14px; color: rgba(255,255,255,.85);
  max-width: 540px; line-height: 1.8;
}

/* ─── SECTION COMMON ─── */
.section { padding: 64px 60px; }
.section-white { background: #fff; }
.section-bg { background: var(--bg); }

.sec-header {
  display: flex; align-items: baseline; gap: 20px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.sec-title { font-size: 22px; font-weight: 700; color: var(--dark); }
.sec-desc { font-size: 13px; color: var(--dark); opacity: .65; flex: 1; min-width: 160px; }
.sec-link {
  font-size: 13px; color: var(--dark); text-decoration: none;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  margin-left: auto;
}
.sec-link:hover { color: var(--purple); }
.sec-link .arrow {
  width: 28px; height: 28px; border: 1px solid var(--dark);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.sec-link:hover .arrow { background: var(--dark); color: #fff; }

/* ─── CARD GRID ─── */
.card-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.card-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(30,27,75,.06);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(107,95,166,.18); }

.card-img-ph { width: 100%; aspect-ratio: 4/3; }
.card-img-ph-sq { width: 100%; aspect-ratio: 1; }
.card-img-ph-wide { width: 100%; aspect-ratio: 16/9; }

.card-body { padding: 16px; }
.card-title-lg { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.card-author { font-size: 11px; color: var(--purple); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.card-text { font-size: 12.5px; color: #666; line-height: 1.7; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 12px;
}
.card-meta { font-size: 11.5px; color: #666; }
.card-meta span { display: block; margin-bottom: 2px; }
.card-meta .loc::before { content: "📍"; margin-right: 3px; }
.card-meta .tag::before { content: "#"; color: var(--purple-light); }
.card-meta .date::before { content: "🗓 "; }
.card-meta .time::before { content: "🕐 "; }

.card-btn {
  width: 32px; height: 32px; border: 1px solid #ccc; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; flex-shrink: 0;
  transition: all .2s; text-decoration: none; color: var(--dark);
}
.card-btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ─── TAG / BADGE ─── */
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .05em;
}
.tag-purple { background: rgba(107,95,166,.12); color: var(--purple); }
.tag-pink { background: rgba(232,160,184,.2); color: #c06080; }
.tag-teal { background: rgba(76,184,184,.15); color: #2a9898; }
.tag-yellow { background: rgba(242,223,160,.4); color: #8a6820; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: #fff;
  padding: 12px 28px; border-radius: 28px;
  font-size: 14px; text-decoration: none; font-weight: 500;
  transition: background .2s;
}
.btn-primary:hover { background: var(--purple); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--dark); border-radius: 28px;
  padding: 11px 26px; font-size: 14px;
  text-decoration: none; color: var(--dark); font-weight: 500;
  transition: all .2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-purple {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: #fff;
  padding: 12px 28px; border-radius: 28px;
  font-size: 14px; text-decoration: none; font-weight: 500;
  transition: background .2s;
}
.btn-purple:hover { background: var(--navy); }

/* ─── DOTS ─── */
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; }
.dot.active { background: var(--purple); }

/* ─── DIVIDER ─── */
.divider { border: none; border-top: 1px solid rgba(107,95,166,.12); margin: 0; }

/* ─── GRADIENT PLACEHOLDERS ─── */
.g1 { background: linear-gradient(135deg, #c8b0d8 0%, #a898d0 50%, #d8d0f0 100%); }
.g2 { background: linear-gradient(135deg, #1e1b4b 0%, #3d3580 50%, #5b4f9f 100%); }
.g3 { background: linear-gradient(135deg, #f0d0d8 0%, #e8b0c8 50%, #d8a0e0 100%); }
.g4 { background: linear-gradient(135deg, #c8e0f0 0%, #a0c8e8 50%, #b0c8f8 100%); }
.g5 { background: linear-gradient(135deg, #1a1840 0%, #2a2860 50%, #3838a0 100%); }
.g6 { background: linear-gradient(135deg, #e8c8d0 0%, #d8a8c0 50%, #c898b8 100%); }
.g7 { background: linear-gradient(135deg, #f4e8c0 0%, #e8d090 50%, #d8b870 100%); }
.g8 { background: linear-gradient(135deg, #d0e8f0 0%, #b0d0e8 50%, #90b8e0 100%); }
.g9 { background: linear-gradient(135deg, #d0f0e0 0%, #a8d8c8 50%, #88c0b0 100%); }
.g10 { background: linear-gradient(135deg, #f8e0c8 0%, #f0c8a8 50%, #e8b080 100%); }
.g11 { background: linear-gradient(135deg, #e0d0f8 0%, #c8b8f0 50%, #b0a0e8 100%); }
.g12 { background: linear-gradient(135deg, #f0f0c0 0%, #e8e890 50%, #d8d860 100%); }

/* ─── FOOTER ─── */
footer {
  background: #fff; padding: 40px 60px 24px;
  border-top: 1px solid rgba(107,95,166,.1);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 30px;
}
.footer-sns h4 { font-size: 12px; margin-bottom: 12px; color: #888; letter-spacing: .1em; }
.sns-icons { display: flex; gap: 12px; margin-bottom: 10px; }
.sns-icon {
  width: 36px; height: 36px; border: 1px solid #ddd; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none; color: var(--dark); transition: all .2s;
}
.sns-icon:hover { background: var(--dark); color: #fff; }
.hashtags { font-size: 12px; color: var(--purple); }
.footer-logo-mark {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  line-height: 1.4; text-transform: uppercase; color: var(--dark);
}
.footer-logo-mark small { display: block; font-size: 11px; font-weight: 400; margin-top: 2px; }
.footer-credits { font-size: 11.5px; color: #888; text-align: right; line-height: 1.8; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid #eee; font-size: 11.5px; color: #999;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #999; text-decoration: none; }
.footer-links a:hover { color: var(--dark); }
.back-to-top {
  width: 40px; height: 40px; background: var(--dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 16px; transition: background .2s;
}
.back-to-top:hover { background: var(--purple); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  header { padding: 14px 24px; }
  nav { gap: 12px; }
  nav a { font-size: 11.5px; }
  .section, .page-hero { padding: 48px 30px; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .page-hero { padding: 40px 20px; }
  .section { padding: 40px 20px; }
  .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  footer { padding: 30px 20px 20px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-credits { text-align: left; }
}
