/* =====================================================
   PROJECT963 - Archive Page Common CSS
   黒 × ゴールド デザイン
   ===================================================== */

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

:root {
  --color-bg: #000000;
  --color-gold: #F5C432;
  --color-gold-dark: #c9a020;
  --color-white: #FFFFFF;
  --color-gray: #888888;
  --color-gray-light: #cccccc;
  --color-surface: #111111;
  --color-surface2: #1a1a1a;
  --font: 'Noto Sans JP', sans-serif;
  --max-w: 900px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: #000;
  border-bottom: 1px solid #222;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-decoration: none;
}

.site-header__logo strong {
  color: var(--color-gold);
}

.site-header__back {
  font-size: 0.85rem;
  color: var(--color-gray-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-header__back:hover {
  color: var(--color-gold);
  text-decoration: none;
}

/* =====================================================
   MAIN CONTENT WRAPPER
   ===================================================== */
.page-main {
  flex: 1;
  padding: 2rem 1.5rem 4rem;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

/* =====================================================
   EVENT HERO / TITLE SECTION
   ===================================================== */
.event-hero {
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.event-hero__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.event-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.event-hero__status {
  display: inline-block;
  background: var(--color-gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* =====================================================
   EVENT INFO TABLE
   ===================================================== */
.event-info {
  background: var(--color-surface);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.event-info__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.event-info__table {
  width: 100%;
  border-collapse: collapse;
}

.event-info__table th,
.event-info__table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #222;
  font-size: 0.9rem;
}

.event-info__table th {
  color: var(--color-gray);
  font-weight: 700;
  white-space: nowrap;
  width: 7rem;
}

.event-info__table td {
  color: var(--color-white);
}

.event-info__table tr:last-child th,
.event-info__table tr:last-child td {
  border-bottom: none;
}

.free-badge {
  display: inline-block;
  background: var(--color-gold);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
}

/* =====================================================
   DESCRIPTION SECTION
   ===================================================== */
.event-description {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  border-left: 3px solid var(--color-gold);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

.event-description p {
  color: var(--color-gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

/* =====================================================
   PHOTO GALLERY
   ===================================================== */
.event-gallery {
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #222;
  transition: transform 0.2s, border-color 0.2s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  border-color: var(--color-gold);
}

/* single image */
.gallery-single img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #222;
  margin-top: 1rem;
}

/* =====================================================
   REPORT SECTION
   ===================================================== */
.event-report {
  background: var(--color-surface2);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.event-report p {
  color: var(--color-gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.event-report p:last-child {
  margin-bottom: 0;
}

/* =====================================================
   SHOPS LIST
   ===================================================== */
.event-shops {
  margin-bottom: 2.5rem;
}

.shops-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.shop-tag {
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--color-gray-light);
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #000;
  border-top: 1px solid #1a1a1a;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-gray);
  letter-spacing: 0.05em;
}

.site-footer a {
  color: var(--color-gold);
  text-decoration: none;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 600px) {
  .site-header {
    padding: 0.6rem 1rem;
  }

  .page-main {
    padding: 1.5rem 1rem 3rem;
  }

  .event-info__table th {
    width: 5.5rem;
    font-size: 0.8rem;
  }

  .event-info__table td {
    font-size: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== REPORT SECTION ===== */
.event-report {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(245,196,50,0.2);
}

.report-text {
  color: #cccccc;
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  background: #1a1a1a;
}
