/* ══════════════════════════════════════
   マナカ小鳥野 — 共通スタイル
══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;700&display=swap');

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

:root {
  --cream:  #ffffff;
  --cobalt: #1A3A8F;
  --black:  #181818;
  --gray:   #999;
  --bg:     #F9F8F5;
  --light:  #E4E2DC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Hiragino Sans', sans-serif;
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* ── アニメーション ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════
   HEADER
══════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 2px solid var(--black);
}

.site-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--black);
  text-decoration: none;
}

nav { display: flex; gap: 36px; }

nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
  transition: color 0.2s;
}
nav a:hover { color: var(--black); }
nav a.active { color: var(--black); font-weight: 700; }

/* ══════════════════════════
   PAGE BASE
══════════════════════════ */
.page {
  padding-top: 60px;
  min-height: 100vh;
}

.page-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 64px;
}

.page-title {
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 64px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--light);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.page-title-meta {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 400;
}

/* ══════════════════════════
   GALLERY（共通）
══════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.gallery-card {
  cursor: pointer;
  background: var(--cream);
  padding: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  filter: saturate(0.92);
}

.gallery-card:hover .card-image img {
  transform: scale(1.04);
  filter: saturate(1);
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
footer {
  border-top: 2px solid var(--black);
  padding: 28px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  background: var(--cream);
}

.footer-sns {
  display: flex;
  gap: 24px;
}

.footer-sns a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
  transition: color 0.2s;
}
.footer-sns a:hover { color: var(--black); }

.footer-sns a svg, .sns-link svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: -2px;
}

/* ══════════════════════════
   LIGHTBOX
══════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24,24,24,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 86vw;
  max-height: 86vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 28px; right: 40px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  header { padding: 0 24px; }
  .site-name { font-size: 11px; }
  .page-inner { padding: 72px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  footer { padding: 24px; flex-direction: column; gap: 12px; text-align: center; }
  .lightbox img {
    max-width: 98vw;
    max-height: 75vh;
  }
}
