:root {
  --bg: #0b0e14; --fg: #e6edf3; --muted: #a9b1ba; --card: #111826; --accent: #7aa2f7;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif; }
img { display: block; max-width: 100%; height: auto; border-radius: 12px; }

.site-header { padding: 48px 20px 16px; text-align: center; }
.site-title { margin: 0 0 8px; font-size: 28px; }
.site-lead { margin: 0; color: var(--muted); }

.section { padding: 24px 20px; max-width: 1100px; margin: 0 auto; }
.section h2 { font-size: 20px; margin: 0 0 16px; }

.grid {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  gap: 16px;
}
.card { background: var(--card); padding: 12px; border-radius: 16px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.card img, .card video { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.caption { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.site-footer { padding: 24px 20px 40px; text-align: center; color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.85); z-index: 9999; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-width: min(1200px, 95vw); max-height: 85vh; border-radius: 16px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; background: #000; color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox__cap { color: var(--muted); margin-top: 12px; text-align: center; max-width: min(1200px, 90vw); }
