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

:root {
  --navy: #1a2d5a;
  --blue: #2563b0;
  --light-blue: #5b9bd5;
  --sky: #c8dff2;
  --bg: #eef4fb;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #5a6e85;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(91,155,213,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
}
.nav-logo {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-logo span { color: var(--blue); font-size: 13px; font-weight: 700; }
.nav-logo-img { height: 36px; width: auto; display: block; }
.nav-logo-text { align-items: center; gap: 6px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-light);
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 480px;
  background: linear-gradient(160deg, #deeaf7 0%, #eaf3fb 40%, #f5f9ff 70%, #e8f1fa 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-waves svg { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.hero-logo-img {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 80%;
  margin-bottom: 36px;
}
.hero-title-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 36px;
  display: none;
}
.hero-title {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  color: var(--navy);
  -webkit-text-stroke: 2px #2563b0;
  paint-order: stroke fill;
}
.hero-year {
  display: inline-block;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--navy);
  -webkit-text-stroke: 1.5px #2563b0;
  margin-left: 8px;
  vertical-align: super;
}
.hero-tokyo {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  padding: 4px 16px 6px;
  border-radius: 6px;
  margin-left: 10px;
  vertical-align: middle;
}
.hero-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-btn {
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,45,90,0.2); }
.hero-btn-primary { background: var(--navy); color: var(--white); }
.hero-btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }
.scroll-hint {
  position: absolute;
  bottom: 24px;
  right: 36px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-blue);
  font-size: 16px;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ── SECTION COMMON ── */
section { padding: 72px 0; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 32px; }
.section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--light-blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  border-left: 4px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 32px;
}

/* ── OVERVIEW ── */
.overview { background: var(--white); }
.overview-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.overview-list { list-style: none; }
.overview-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e2eaf4;
  align-items: flex-start;
}
.overview-item:first-child { border-top: 1px solid #e2eaf4; }
.overview-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: #deeaf7;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.overview-value { font-size: 13px; color: var(--text); line-height: 1.7; }
.overview-value strong { display: block; font-size: 14px; color: var(--navy); }
.overview-img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 220px;
}
.overview-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2d5a 0%, #2c4a7c 60%, #1a2d5a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  gap: 8px;
}
.img-placeholder .venue-name { color: var(--white); font-weight: 700; font-size: 14px; text-align: center; }
.img-placeholder .venue-en { font-size: 10px; color: rgba(255,255,255,0.5); }
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* ── EXHIBITS ── */
.exhibits { background: var(--bg); }
.exhibits-subtitle {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 32px;
  margin-top: -20px;
}
.exhibits-section-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  margin-top: 48px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--sky);
}

/* ── カードグリッド：3列 ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
  width: 100%;
  min-width: 0;
}

/* ── 通常カード ── */
.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: box-shadow .3s, transform .3s;
  box-shadow: 0 2px 8px rgba(26,45,90,0.06);
  display: flex;
  flex-direction: column;
}

a.card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,45,90,0.14);
}
.card-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.card-body {
  flex: 1;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
}
.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card:hover .card-photo { transform: scale(1.05); }
.card-img-inner {
  width: 100%;
  height: 100%;
  transition: transform .4s ease;
}
.card:hover .card-img-inner { transform: scale(1.05); }
.card-img-1 { background: linear-gradient(135deg, #1e3a6e 0%, #2d5a9e 100%); }
.card-img-2 { background: linear-gradient(135deg, #1a4a6e 0%, #2872a0 100%); }
.card-img-3 { background: linear-gradient(135deg, #0d3352 0%, #1a5c82 100%); }
.card-img-4 { background: linear-gradient(135deg, #142d52 0%, #2563b0 100%); }
.card-img-5 { background: linear-gradient(135deg, #1a3a6a 0%, #3475b8 100%); }
.card-img-6 { background: linear-gradient(135deg, #0e2748 0%, #1e4a80 100%); }
.card-img-icon {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,45,90,0.72);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 3;
}
.card:hover .card-overlay { opacity: 1; }
.card-overlay::after { content: '→'; font-size: 16px; transition: transform .2s; }
.card:hover .card-overlay::after { transform: translateX(4px); }
.card-eyebrow {
  font-size: 9px;
  font-weight: 700;
  color: var(--light-blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card-heading {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
  flex: 1;
}
.card-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.card:hover .card-more { gap: 8px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.footer-logo { color: var(--white); font-weight: 800; font-size: 15px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 11px; }
.footer-links a:hover { color: var(--white); }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { gap: 16px; }
  .overview-inner { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card-img-inner, .card-photo, .card-overlay, .fade-in { transition: none; }
}


/* ── a.cardのグリッド内での正しい表示 ── */
a.card {
  min-width: 0;
}
a.card * {
  min-width: 0;
}
.card-grid {
  align-items: start;
}
