@charset "UTF-8";

/* ============================================================
   あさひファン★フェスタ 2026 — style.css
   ============================================================ */

:root {
  --sky-1: #dff1fc;
  --sky-2: #b8e4f9;
  --sky-3: #79c8f0;
  --sky-4: #3ca8e0;
  --sky-5: #1a7ab5;
  --sky-6: #0d5a8a;
  --accent-yellow: #f5c430;
  --accent-orange: #f07820;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-mid: #3a3a5c;
  --text-light: #6a6a8a;
  --shadow-sm: 0 2px 12px rgba(21,101,192,0.10);
  --shadow-md: 0 6px 28px rgba(21,101,192,0.18);
  --shadow-lg: 0 14px 48px rgba(21,101,192,0.24);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --content-width: 94%;
  --content-max: 1200px;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}

body {
  background-image: url("背景用.png"); /* url() で囲む */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

header {
  background: linear-gradient(160deg, #7ecef5 0%, #a8ddf8 35%, #c8ecfc 65%, #dff4ff 100%);
  background-image: url("背景用.png"); /* url() で囲む */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* ...その他の記述... */
}
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
}

header, nav, main, footer { position: relative; z-index: 1; }

/* ===== カスタムカーソル ===== */
.cursor {
  width: 10px; height: 10px;
  background: var(--sky-4); border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.08s;
}
.cursor, .cursor-follower {
  display: none;
}


/* ============================================================
   HEADER
   ============================================================ */
header {
  background: linear-gradient(160deg, #7ecef5 0%, #a8ddf8 35%, #c8ecfc 65%, #dff4ff 100%);
  background-image: url("背景用.png"); /* url() で囲む */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 60px);
  gap: 20px;
}

header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 200px at 15%  40%, rgba(255,255,255,0.38) 0%, transparent 65%),
    radial-gradient(ellipse 600px 240px at 55%  15%, rgba(255,255,255,0.30) 0%, transparent 62%),
    radial-gradient(ellipse 400px 180px at 90%  55%, rgba(255,255,255,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 300px 120px at 30%  80%, rgba(255,255,255,0.25) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

.header-logo {
  position: relative; z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-logo img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,60,140,0.22));
}

.header-date {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.date-main, .venue {
  font-weight: 1000;
  color: #fff;
  white-space: nowrap;
  text-shadow:
    -3px -3px 0 var(--sky-6),  3px -3px 0 var(--sky-6),
    -3px  3px 0 var(--sky-6),  3px  3px 0 var(--sky-6),
     0   -3px 0 var(--sky-6),  0    3px 0 var(--sky-6),
    -3px  0   0 var(--sky-6),  3px  0   0 var(--sky-6);
}
.date-main {
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.venue {
  font-size: clamp(24px, 4.5vw, 42px);
  font-weight: 900;
}

/* ============================================================
   NAV / MAIN / GALLERY / INSTA
   ============================================================ */
.site-nav {
  width: 100%;
  background: var(--sky-2);
  border-bottom: 2px solid rgba(21,101,192,0.15);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0; z-index: 200;
}
.nav-inner {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.nav-item {
  position: relative;
  color: var(--sky-6);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(12px, 2.2vw, 15px);
  padding: 13px 24px 11px;
  background: transparent;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
}
.nav-item::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 3px;
  background: var(--sky-6);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.26s cubic-bezier(.4,0,.2,1);
}
.nav-item:hover            { background: rgba(255,255,255,0.45); }
.nav-item:hover::after     { transform: scaleX(0.65); }
.nav-item.active           { background: rgba(255,255,255,0.75); color: #0d47a1; }
.nav-item.active::after    { transform: scaleX(1); }
.nav-item.coming-soon      { color: var(--accent-orange); }

main {
  width: 100%; max-width: 100%; padding: 0 0 100px;
}
.rise {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rise.visible { opacity: 1; transform: translateY(0); }
.section {
  width: var(--content-width); max-width: var(--content-max); margin: 48px auto;
}
.section-header { text-align: center; margin-bottom: 24px; }

/* Gallery */
.gallery-section { width: 100%; margin: 0; padding: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 100%; }
.gallery-item { aspect-ratio: 3 / 4; overflow: hidden; position: relative; background: var(--sky-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.40s ease; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,60,120,0.28) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.30s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   Instagram（拡大版）
   ============================================================ */
.instagram-embed { 
  background: var(--sky-1); 
  border: 2px solid var(--sky-3); 
  border-radius: var(--radius-md); 
  overflow: hidden; 
  position: relative; 
  box-shadow: var(--shadow-md); 
}

.instagram-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px;
  padding: 24px;
}

.insta-card { 
  position: relative; 
  display: block; 
  aspect-ratio: 1 / 1; 
  border-radius: 16px;
  overflow: hidden; 
  text-decoration: none; 
  box-shadow: 0 4px 16px rgba(0, 100, 160, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease; 
}

.insta-card:hover { 
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 100, 160, 0.28); 
}

.insta-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.insta-card .overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(10, 60, 100, 0.5);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  opacity: 0; 
  transition: opacity 0.3s ease; 
}

.insta-card:hover .overlay { 
  opacity: 1; 
}

.overlay-icon { 
  width: 56px;
  height: 56px;
}

.more-link { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
  color: var(--sky-5); 
  font-weight: 700; 
  font-size: 16px;
  text-decoration: none; 
  padding: 14px 0;
  border-top: 2px solid var(--sky-3);
  border-bottom: 2px solid var(--sky-3);
  margin-top: 18px;
  letter-spacing: 4px; 
  transition: background 0.2s, color 0.2s; 
}

.more-link:hover { 
  background: rgba(184,228,249,0.55);
  color: #0d47a1; 
}

/* ============================================================
   バナーボタン（上下配置・視認性向上版）
   ============================================================ */
.banner-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 48px auto;
  padding: 0 20px;
}

.open-popup-bira,
.open-popup-map {
  width: 100%;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  text-align: center;
  letter-spacing: 0.08em;
}

.open-popup-bira {
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.open-popup-bira:hover {
  background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 136, 229, 0.4);
}

.open-popup-map {
  background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
}

.open-popup-map:hover {
  background: linear-gradient(135deg, #f57c00 0%, #d84315 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 111, 0, 0.4);
}

.open-popup-bira::before {
  content: '📄';
  margin-right: 12px;
  font-size: 24px;
}

.open-popup-map::before {
  content: '🗺️';
  margin-right: 12px;
  font-size: 24px;
}

.open-popup-bira:active,
.open-popup-map:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.popup-overlay-bira,
.popup-overlay-map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 20px;
}

.popup-overlay-bira.active,
.popup-overlay-map.active {
  opacity: 1;
  visibility: visible;
}

.popup-container-bira,
.popup-container-map {
  position: relative;
  max-width: 900px;
  width: 100%;
  transform: scale(0.7) translateY(50px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay-bira.active .popup-container-bira,
.popup-overlay-map.active .popup-container-map {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.close-bira,
.close-map {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: #333;
  font-size: 24px;
}

.close-bira:hover,
.close-map:hover {
  transform: rotate(90deg) scale(1.15);
  background: #f44336;
  color: white;
}

.banner-image-bira,
.banner-image-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.6);
}

.banner-image-bira img,
.banner-image-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  background: #ffffff;
}

.banner-image-bira:hover img,
.banner-image-map:hover img {
  transform: scale(1.03);
}

/* ============================================================
   出展者一覧（拡大版）
   ============================================================ */
.exhibitor-title { 
  font-size: clamp(24px, 5.5vw, 32px);
  font-weight: 900; 
  color: var(--text-dark); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px;
  margin-bottom: 24px;
}

.exhibitor-subtitle { 
  font-size: clamp(17px, 3.8vw, 22px);
  font-weight: 700; 
  color: var(--text-mid); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px;
  margin-bottom: 20px;
}

.spark { 
  color: var(--accent-yellow); 
  font-size: 1.2em;
}

.exhibitor-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 18px;
  width: 100%; 
  margin-bottom: 56px;
}

div.exhibitor-card {
  cursor: default; 
  aspect-ratio: 1 / 1; 
  display: flex; 
  flex-direction: column; 
  overflow: hidden; 
  background: var(--sky-1); 
  border: 2.5px solid var(--sky-3);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(21,101,192,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}

div.exhibitor-card:hover { 
  transform: translateY(-8px);
  box-shadow: 0 16px 52px rgba(21,101,192,0.28);
}

.exhibitor-img-btn {
  display: block; 
  width: 100%; 
  height: 70%; 
  padding: 0; 
  border: none; 
  background: none; 
  cursor: pointer; 
  position: relative; 
  overflow: hidden; 
  -webkit-tap-highlight-color: transparent;
}

.exhibitor-img-btn:focus-visible { 
  outline: 3px solid var(--sky-4); 
  outline-offset: 2px; 
}

.exhibitor-img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transition: transform 0.35s ease; 
}

.exhibitor-img-btn:hover .exhibitor-img { 
  transform: scale(1.08);
}

.exhibitor-label {
  width: 100%; 
  height: 30%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 8px 10px;
  font-size: clamp(11px, 1.5vw, 15px);
  font-weight: 700; 
  color: var(--sky-5); 
  text-align: center; 
  line-height: 1.5;
  background: rgba(223, 240, 248, 0.92);
}

.exhibitor-overlay {
  position: absolute; 
  inset: 0; 
  background: rgba(10, 60, 100, 0.45);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  opacity: 0; 
  transition: opacity 0.3s ease;
}

.exhibitor-img-btn:hover .exhibitor-overlay { 
  opacity: 1; 
}

.exhibitor-overlay span { 
  color: #fff; 
  font-size: 15px;
  font-weight: 700; 
  letter-spacing: 0.12em;
  border: 2px solid rgba(255,255,255,0.85);
  padding: 8px 22px;
  border-radius: 24px;
}

/* ④ 会場アクセス・お問合せ */
.contact-block {
  text-align: center; padding: 40px 24px; background: rgba(255,255,255,0.70); border: 1.5px solid var(--sky-3); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.venue-map-img { width: 100%; aspect-ratio: 16 / 6.5; object-fit: cover; object-position: center; display: block; border-radius: var(--radius-sm); }
.contact-info { margin-top: 20px; line-height: 2.2; font-size: clamp(13px, 2vw, 16px); color: var(--text-mid); }
.contact-info a { color: var(--sky-5); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER / BIRD
   ============================================================ */
footer { background: var(--sky-2); border-top: 2px solid rgba(21,101,192,0.14); }
.footer-inner { width: var(--content-width); max-width: var(--content-max); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--text-light); letter-spacing: 0.04em; }

.back-to-top {
  display: flex; align-items: center; gap: 6px; background: var(--sky-5); color: #fff; border: none; border-radius: 100px; padding: 10px 22px; font-family: 'Zen Maru Gothic', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity 0.3s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--sky-4); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.back-to-top:active { transform: scale(0.97); }

#bird-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; pointer-events: none; z-index: 500; }
#bird { position: absolute; width: 90px; height: auto; cursor: pointer; pointer-events: all; filter: drop-shadow(0 4px 12px rgba(0,80,140,0.20)); transition: filter 0.2s ease; animation: flap 0.6s ease-in-out infinite; }
#bird:hover { filter: drop-shadow(0 6px 20px rgba(0,80,140,0.40)); }
@keyframes flap { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }

/* ============================================================
   ポップアップ
   ============================================================ */
#popup-overlay, .exhibitor-popup-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 10000; justify-content: center; align-items: center; backdrop-filter: blur(4px);
}
#popup-overlay.active, .exhibitor-popup-overlay.active { display: flex; }

#popup, .exhibitor-popup {
  background: #fff; width: 90%; max-width: 360px; max-height: 85vh; overflow-y: auto; border-radius: 20px; position: relative; padding: 36px 28px 28px; box-shadow: 0 20px 60px rgba(0,60,120,0.28); animation: popupRise 0.3s ease-out both;
}
@keyframes popupRise { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

#popup-close, .exhibitor-popup-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 22px; color: #aaa; cursor: pointer; line-height: 1; transition: color 0.2s;
}
#popup-close:hover, .exhibitor-popup-close:hover { color: #333; }

.popup-bird-icon, .ep-icon { font-size: 40px; text-align: center; display: block; margin-bottom: 10px; }
#popup h2, .ep-title { font-size: 17px; font-weight: 800; color: #1a3a5c; text-align: center; margin-bottom: 18px; line-height: 1.5; }
.contact-list, .ep-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-item, .ep-item { display: flex; align-items: center; gap: 12px; background: #eef7fc; border-radius: 10px; padding: 10px 14px; }
.contact-icon, .ep-item-icon { font-size: 20px; flex-shrink: 0; }
.contact-info-pop, .ep-info { display: flex; flex-direction: column; gap: 1px; }
.contact-label, .ep-label { font-size: 10px; color: var(--sky-5); font-weight: 600; letter-spacing: 0.06em; }
.contact-value, .ep-value { font-size: 14px; color: #1a3a5c; font-weight: 700; text-decoration: none; }
.contact-value:hover, .ep-value:hover { text-decoration: underline; color: var(--sky-5); }
.popup-note, .ep-note { text-align: center; font-size: 11px; color: #bbb; margin-top: 16px; }
.ep-no-link { color: #bbb; font-size: 14px; font-weight: 400; }

/* ============================================================
   SDGsへの取組セクション
   ============================================================ */
.sdgs-color-bar {
  width: 100%; height: 7px;
  background: repeating-linear-gradient(90deg, #e5243b 0 8px, #dda63a 8px 16px, #4c9f38 16px 24px, #c5192d 24px 32px, #ff3a21 32px 40px, #26bde2 40px 48px, #fcc30b 48px 56px, #a21942 56px 64px, #fd6925 64px 72px, #dd1367 72px 80px, #fd9d24 80px 88px, #bf8b2e 88px 96px, #3f7e44 96px 104px, #0a97d9 104px 112px, #56c02b 112px 120px, #00689d 120px 128px, #19486a 128px 136px);
  background-size: 136px 100%; border-radius: 4px; animation: sdgsStripeSlide 2.4s linear infinite;
}
@keyframes sdgsStripeSlide { from { background-position: 0 0; } to { background-position: 136px 0; } }

.sdgs-section { background: radial-gradient(ellipse 90% 50% at 50% -5%, rgba(46,125,50,0.07) 0%, transparent 65%), rgba(255, 255, 255, 0.94); border-radius: var(--radius-lg); padding: 0 0 52px; box-shadow: 0 8px 40px rgba(21,101,192,0.12), 0 0 0 1.5px rgba(46,125,50,0.13); text-align: center; overflow: hidden; }
.sdgs-header { padding: 48px 32px 40px; text-align: center; }
.sdgs-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.20em; color: #2e7d32; background: rgba(46,125,50,0.08); border: 1.5px solid rgba(46,125,50,0.28); border-radius: 999px; padding: 5px 22px; margin-bottom: 18px; text-transform: uppercase; }
.sdgs-title { font-size: clamp(26px, 5.5vw, 44px); font-weight: 900; color: var(--text-dark); margin-bottom: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.sdgs-desc { font-size: clamp(13px, 2.2vw, 15px); color: var(--text-mid); line-height: 2.0; max-width: 580px; margin: 0 auto; }

.sdgs-goals-wrap { padding: 0 32px 44px; }
.sdgs-goals-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; max-width: 730px; margin: 0 auto; }
.sdg-goal { background: var(--clr, #4c9f38); color: #fff; border-radius: 12px; padding: 11px 5px 9px; aspect-ratio: 1 / 1.10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: default; position: relative; overflow: hidden; opacity: 0; transform: scale(0.5) translateY(10px); transition: opacity 0.40s ease calc(var(--idx, 0) * 50ms), transform 0.40s cubic-bezier(0.34,1.56,0.64,1) calc(var(--idx, 0) * 50ms), box-shadow 0.22s; box-shadow: inset 0 1px 0 rgba(255,255,255,0.20); }
.sdg-goal::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 44%; background: rgba(255,255,255,0.13); border-radius: 12px 12px 60% 60%; pointer-events: none; }
.sdg-goal.sdg-in { opacity: 1; transform: scale(1) translateY(0); }
.sdg-goal:hover { transform: scale(1.14) translateY(-4px) !important; box-shadow: 0 12px 28px rgba(0,0,0,0.28); z-index: 2; }
.sdg-no { font-size: 19px; font-weight: 900; line-height: 1; text-shadow: 0 1px 4px rgba(0,0,0,0.22); position: relative; z-index: 1; }
.sdg-lbl { font-size: 8.5px; font-weight: 700; line-height: 1.4; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,0.18); position: relative; z-index: 1; }

.sdgs-initiatives-wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0 32px; max-width: 1100px; margin: 0 auto 44px; }
.sdgs-initiative-card { background: #fff; border: 1.5px solid rgba(46,125,50,0.14); border-top: 3.5px solid var(--accent, #4c9f38); border-radius: var(--radius-md); padding: 26px 14px 22px; text-align: center; position: relative; opacity: 0; transform: translateY(26px); transition: opacity 0.50s ease calc(var(--idx,0) * 100ms), transform 0.50s ease calc(var(--idx,0) * 100ms), box-shadow 0.25s; }
.sdgs-initiative-card:nth-child(1) { --accent: #56C02B; } .sdgs-initiative-card:nth-child(2) { --accent: #FD6925; } .sdgs-initiative-card:nth-child(3) { --accent: #FF3A21; } .sdgs-initiative-card:nth-child(4) { --accent: #0A97D9; } .sdgs-initiative-card:nth-child(5) { --accent: #FCC30B; }
.sdgs-initiative-card.sdg-in { opacity: 1; transform: translateY(0); }
.sdgs-initiative-card:hover { box-shadow: 0 12px 32px rgba(46,125,50,0.16); transform: translateY(-6px) !important; }
.si-icon { font-size: 34px; display: block; margin-bottom: 10px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.10)); }
.si-title { font-size: 12px; font-weight: 800; color: #1a3a1e; margin-bottom: 8px; line-height: 1.55; }
.si-desc { font-size: 11px; color: var(--text-light); line-height: 1.85; }

.novelty-section { background: linear-gradient(150deg, #fffdf5 0%, #fff9e8 55%, #fff3d0 100%); border: 2px solid #f5c430; border-radius: var(--radius-lg); padding: 48px 36px 36px; position: relative; overflow: hidden; margin: 0 32px; }
.novelty-section::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 140%; height: 100%; background: radial-gradient(ellipse, rgba(245,196,48,0.13) 0%, transparent 65%); pointer-events: none; }
.novelty-section::after { content: '★'; position: absolute; bottom: -16px; right: 20px; font-size: 130px; color: rgba(245,196,48,0.08); pointer-events: none; line-height: 1; }
.novelty-header-wrap { text-align: center; margin-bottom: 36px; position: relative; z-index: 1; }
.novelty-badge-anim { font-size: 58px; display: inline-block; animation: giftBounce 2.0s cubic-bezier(0.34,1.56,0.64,1) infinite; filter: drop-shadow(0 6px 14px rgba(240,120,32,0.26)); margin-bottom: 4px; }
@keyframes giftBounce { 0%, 100% { transform: translateY(0) rotate(-5deg) scale(1); } 50% { transform: translateY(-16px) rotate(5deg) scale(1.07); } }
.novelty-title { font-size: clamp(22px, 4vw, 34px); font-weight: 900; color: var(--accent-orange); margin: 8px 0 10px; line-height: 1.3; }
.novelty-subtitle { font-size: clamp(12px, 2vw, 14px); color: var(--text-mid); line-height: 1.9; }
.novelty-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 0 auto 20px; position: relative; z-index: 1; }
.novelty-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 2px 8px rgba(240,120,32,0.10), 0 8px 28px rgba(240,120,32,0.12); width: clamp(200px, 32%, 290px); opacity: 0; transform: scale(0.86) translateY(20px); transition: opacity 0.48s ease calc(var(--idx,0) * 120ms), transform 0.48s cubic-bezier(0.34,1.56,0.64,1) calc(var(--idx,0) * 120ms), box-shadow 0.30s; }
.novelty-card.sdg-in { opacity: 1; transform: scale(1) translateY(0); }
.novelty-card:hover { transform: translateY(-12px) scale(1.03) !important; box-shadow: 0 4px 12px rgba(240,120,32,0.14), 0 22px 48px rgba(240,120,32,0.22); }
.novelty-img-wrap { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.novelty-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.40s ease; }
.novelty-card:hover .novelty-img-wrap img { transform: scale(1.08); }
.novelty-placeholder { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 50%, #fde68a 100%); font-size: 13px; color: #92400e; font-weight: 700; }
.novelty-placeholder span:first-child { font-size: 48px; }
.novelty-card-label { padding: 15px 12px; text-align: center; font-size: 13px; font-weight: 800; color: var(--text-dark); background: linear-gradient(135deg, rgba(245,196,48,0.22) 0%, rgba(245,196,48,0.10) 100%); border-top: 1px solid rgba(245,196,48,0.38); letter-spacing: 0.05em; }
.novelty-note { text-align: center; font-size: 11px; color: #bbb; margin-top: 14px; position: relative; z-index: 1; }
@keyframes sparkleFloat { 0% { transform: translateY(0) scale(0) rotate(0deg); opacity: 1; } 60% { opacity: 0.85; } 100% { transform: translateY(-80px) scale(1.4) rotate(180deg); opacity: 0; } }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .sdgs-goals-grid { grid-template-columns: repeat(5, 1fr); }
  .sdgs-initiatives-wrap { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
}

@media (max-width: 700px) {
  header { min-height: 160px; padding: 16px 12px; flex-direction: column; align-items: center; gap: 8px; }
  .header-logo img { max-width: 100%; }
  .header-date { align-items: center; }
  .date-main { font-size: 20px; }
  .venue { font-size: 18px; }
  .gallery-grid { gap: 2px; }
  /* Instagram */
  .instagram-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px; 
    padding: 16px; 
  }
  
  .overlay-icon { 
    width: 48px; 
    height: 48px; 
  }
  
  /* 出展者 */
  .exhibitor-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
  }
  
  /* バナーボタン */
  .banner-buttons-container {
    gap: 16px;
    margin: 32px auto;
  }
  
  .open-popup-bira,
  .open-popup-map {
    padding: 16px 32px;
    font-size: 17px;
  }
  
  .popup-container-bira,
  .popup-container-map {
    max-width: 100%;
  }
  
  .close-bira,
  .close-map {
    width: 44px;
    height: 44px;
    top: -12px;
    right: -12px;
  }
  
  .banner-image-bira,
  .banner-image-map {
    border-radius: 16px;
  }
  .nav-item { padding: 10px 10px 8px; font-size: 11px; }
  .footer-inner { justify-content: center; }
  .section { width: 96%; margin: 32px auto; }
  #bird { width: 60px; }
  
  .sdgs-section { padding: 0 0 36px; }
  .sdgs-header { padding: 32px 20px 28px; }
  .sdgs-goals-wrap { padding: 0 16px 32px; }
  .sdgs-goals-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .sdgs-initiatives-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
  .novelty-section { padding: 32px 18px 28px; margin: 0 12px; }
  .novelty-card { width: clamp(150px, 46%, 260px); }
  .sdg-no { font-size: 17px; }
  .sdg-lbl { font-size: 7.5px; }
  .si-icon { font-size: 28px; }
  .si-title { font-size: 11.5px; }
}



@media (max-width: 480px) {
  .sdgs-goals-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .sdgs-initiatives-wrap { grid-template-columns: repeat(1, 1fr); }
  .novelty-card { width: min(90%, 300px); }
  @media (max-width: 480px) {
  .sdgs-goals-grid { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .sdgs-initiatives-wrap { grid-template-columns: repeat(1, 1fr); }
  .novelty-card { width: min(90%, 300px); }
  
  /* 追加: 出展者を1列表示 */
  .exhibitor-grid { 
    grid-template-columns: repeat(1, 1fr);
    gap: 16px; 
  }
  
  .exhibitor-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* 追加: バナーボタン */
  .open-popup-bira,
  .open-popup-map {
    padding: 14px 24px;
    font-size: 15px;
  }
  
  .close-bira,
  .close-map {
    width: 40px;
    height: 40px;
    top: -10px;
    right: -10px;
  }
  
  .banner-image-bira,
  .banner-image-map {
    border-radius: 12px;
  }
}
}

@media (max-width: 400px) {
  .sdgs-goals-grid { grid-template-columns: repeat(3, 1fr); }
}

/* PC（マウス操作が可能な端末）のみカスタムカーソルを表示する */
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    width: 10px; height: 10px;
    background: var(--sky-4); border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    transition: transform 0.08s;
  }
  .cursor-follower {
    display: block;
    width: 32px; height: 32px;
    border: 2px solid var(--sky-3); border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9998;
    transform: translate(-50%,-50%);
    transition: transform 0.18s ease, width 0.2s, height 0.2s, opacity 0.2s;
    opacity: 0.7;
  }
}