@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;600;700;900&display=swap');

:root {
  --sky-bright: #4DB8E8;
  --ocean: #0077B6;
  --ocean-deep: #023E8A;
  --sky: #00B4D8;
  --sky-light: #90E0EF;
  --sand: #F4E8C1;
  --sand-light: #FFF8E7;
  --coral: #FF6B6B;
  --sunset: #FF6B35;
  --orange-vivid: #F47920;
  --orange-deep: #E85D26;
  --splash-green: #7BC67E;
  --splash-yellow: #FFD93D;
  --yellow: #FFD166;
  --turquoise: #06D6A0;
  --white: #FFFFFF;
  --dark: #1A1A2E;
  --dark-blue: #16213E;
  --gray: #6B7280;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Outfit', sans-serif;
  color: var(--dark); background: var(--white);
  overflow-x: hidden; line-height: 1.8;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0.8rem 2rem;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.4rem 2rem;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 64px; width: auto; transition: height 0.3s; }
.navbar.scrolled .nav-logo-img { height: 48px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.85rem; font-weight: 500;
  color: var(--white); transition: color 0.3s;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--sunset); }
.btn-nav-entry {
  padding: 0.5rem 1.3rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: var(--white); transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(255,107,53,0.3);
}
.btn-nav-entry:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,107,53,0.4); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }
.navbar.scrolled .hamburger span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(77,184,232,0.1) 40%, rgba(77,184,232,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 2rem; max-width: 700px; margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--orange-vivid), var(--orange-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400; opacity: 0.95;
  margin-bottom: 0.5rem; letter-spacing: 0.05em;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-date {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600; margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}
#countdown {
  color: var(--white); font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; margin-bottom: 1.5rem;
  display: flex; gap: 0.3rem; justify-content: center;
  align-items: baseline; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.cd-num {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--yellow), var(--sunset));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin: 0 2px;
}
.cd-label { font-size: 0.8rem; opacity: 0.8; margin-right: 0.6rem; }
.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: var(--white); box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,53,0.5); }
.btn-outline {
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.25); }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2; animation: bounce 2s infinite;
}
.scroll-indicator span {
  display: block; width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.6); border-radius: 12px;
  position: relative;
}
.scroll-indicator span::after {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--white); animation: scrollDot 2s infinite;
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  display: inline-block; font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ocean);
  background: rgba(0,119,182,0.1);
  padding: 0.4rem 1.2rem; border-radius: 50px;
  margin-bottom: 1rem;
  transform: none;
  box-shadow: none;
}
.section-title {
  font-size: clamp(1.3rem, 5vw, 2.8rem);
  font-weight: 800; line-height: 1.4; color: var(--dark);
  white-space: nowrap;
}
.section-title .accent { color: var(--ocean); }
.section-desc {
  font-size: 1rem; color: var(--gray);
  max-width: 600px; margin: 1rem auto 0; text-align: center;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ===== CONCEPT ===== */
.concept { background: linear-gradient(135deg, var(--sand-light) 0%, var(--white) 100%); }
.concept-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.concept-visual {
  background: var(--white);
  padding: 0.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.concept-visual:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.concept-visual img { width: 100%; height: 400px; object-fit: cover; display: block; border-radius: calc(var(--radius) - 0.3rem); }
.concept-text h3 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.concept-text p { color: var(--gray); line-height: 2; margin-bottom: 1rem; }
.concept-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.concept-tag {
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  background: rgba(0,119,182,0.08);
  color: var(--ocean);
  border: none;
  box-shadow: none;
  transform: none;
  transition: background 0.3s, color 0.3s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}


/* ===== OVERVIEW ===== */
.overview { background: linear-gradient(135deg, var(--ocean-deep), var(--dark-blue)); color: var(--white); }
.overview .section-label {
  display: inline-block; font-family: \'Outfit\', sans-serif;
  font-size: 0.9rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white);
  background: var(--orange-vivid);
  padding: 0.5rem 1.5rem; border-radius: 4px;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0px var(--orange-deep);
}
.overview .section-title { color: var(--white); }
.overview .section-title .accent { color: var(--sky-light); }
.overview .section-desc { color: rgba(255,255,255,0.7); }
.overview-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.overview-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, background 0.3s;
  text-align: center;
  container-type: inline-size;
}
.overview-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.overview-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--sky), var(--ocean));
}
.overview-card h4 { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.3rem; }
.overview-card p { font-size: 1.1rem; font-weight: 600; }

/* ===== CONTENTS ===== */
.contents { background: var(--white); }
.contents-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem;
}
.content-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,119,182,0.05);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.content-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.content-card-img { position: relative; height: 220px; overflow: hidden; }
.content-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.content-card:hover .content-card-img img { transform: scale(1.08); }
.content-card-number {
  position: absolute; top: 1rem; left: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  color: var(--white); font-family: 'Outfit'; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.content-card-body { padding: 1.5rem; container-type: inline-size; }
.content-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.content-card-body p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }
.content-card-tag {
  display: inline-block; margin-top: 1rem;
  padding: 0.3rem 0.8rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.tag-art { background: rgba(255,107,53,0.1); color: var(--sunset); }
.tag-eco { background: rgba(6,214,160,0.1); color: var(--turquoise); }
.tag-play { background: rgba(0,119,182,0.1); color: var(--ocean); }
.tag-food { background: rgba(255,209,102,0.15); color: #B8860B; }
.tag-night { background: rgba(106,90,205,0.1); color: #6A5ACD; }

/* ===== SCHEDULE ===== */
.schedule { background: linear-gradient(180deg, var(--sand-light) 0%, var(--white) 100%); }
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--sky), var(--ocean), var(--ocean-deep), #6A5ACD);
  border-radius: 2px;
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; padding-left: 60px; }
.timeline-dot {
  position: absolute; left: 14px; top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ocean); z-index: 1;
}
.timeline-item.active .timeline-dot {
  background: var(--ocean); box-shadow: 0 0 0 6px rgba(0,119,182,0.2);
}
.timeline-time { font-family: 'Outfit'; font-weight: 700; font-size: 1rem; color: var(--ocean); min-width: 60px; }
.timeline-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.timeline-content p { font-size: 0.85rem; color: var(--gray); }

/* ===== MAP ===== */
.map-section { background: var(--white); }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.map-card {
  padding: 2rem; border-radius: var(--radius);
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--sky-light), var(--ocean)) border-box;
  transition: transform 0.3s; text-align: center;
}
.map-card:hover { transform: translateY(-4px); }
.map-card-icon {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,119,182,0.1));
}
.map-card h4 { font-size: 0.8rem; font-weight: 700; color: var(--ocean); letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.map-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.map-card p { font-size: 0.85rem; color: var(--gray); }

/* ===== ACCESS ===== */
.access-section {
  background: linear-gradient(135deg, var(--sand-light) 0%, #E8F4FD 100%);
}
.access-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: stretch;
  margin-bottom: 2.5rem;
}
.access-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.access-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  min-height: 320px;
}
.access-info {
  display: flex; flex-direction: column;
  gap: 0; justify-content: center;
}
.access-detail {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,119,182,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.access-detail + .access-detail {
  margin-top: 0.8rem;
}
.access-detail:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 20px rgba(0,119,182,0.12);
}
.access-detail-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(0,119,182,0.12));
}
.access-detail h4 {
  font-size: 0.8rem; font-weight: 700;
  color: var(--ocean); margin-bottom: 0.15rem;
  letter-spacing: 0.03em;
}
.access-detail p {
  font-size: 0.95rem; color: var(--dark);
  font-weight: 500; line-height: 1.6;
}
.access-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--sky-light), var(--ocean)) border-box;
}
.access-map iframe {
  display: block; width: 100%; border: none;
}

/* ===== ENTRY ===== */
.entry-section {
  background: linear-gradient(135deg, var(--sand-light), #E8F4FD);
}
.entry-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.entry-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,119,182,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.entry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.entry-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.entry-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--dark); }
.entry-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.btn-entry {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.7rem 1.8rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  background: linear-gradient(135deg, var(--ocean), var(--sky));
  color: var(--white); transition: all 0.3s;
  box-shadow: 0 3px 14px rgba(0,119,182,0.25);
}
.btn-entry:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,119,182,0.35); }

/* ===== SPONSOR ===== */
.sponsor { background: linear-gradient(135deg, var(--dark), var(--dark-blue)); color: var(--white); }
.sponsor .section-label {
  display: inline-block; font-family: \'Outfit\', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,209,102,0.15);
  padding: 0.4rem 1.2rem; border-radius: 50px;
  margin-bottom: 1rem;
  transform: none;
  box-shadow: none;
}
.sponsor .section-title { color: var(--white); }
.sponsor .section-title .accent { color: var(--yellow); }
.sponsor .section-desc { color: rgba(255,255,255,0.6); }
.sponsor-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sponsor-card {
  border-radius: var(--radius); padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; text-align: center;
}
.sponsor-card:hover { transform: translateY(-6px); }
.sponsor-card.gold { border-color: var(--yellow); }
.sponsor-card.gold::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--yellow),var(--sunset)); }
.sponsor-card.silver { border-color: #C0C0C0; }
.sponsor-card.silver::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,#C0C0C0,#E8E8E8); }
.sponsor-card.standard { border-color: var(--sky); }
.sponsor-card.standard::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--sky),var(--sky-light)); }
.sponsor-plan-name { font-family:'Outfit'; font-size:0.85rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:0.5rem; }
.sponsor-card.gold .sponsor-plan-name { color: var(--yellow); }
.sponsor-card.silver .sponsor-plan-name { color: #C0C0C0; }
.sponsor-card.standard .sponsor-plan-name { color: var(--sky); }
.sponsor-price { font-family:'Outfit'; font-size:2.5rem; font-weight:800; margin-bottom:1.5rem; }
.sponsor-price span { font-size:1rem; font-weight:400; opacity:0.7; }
.sponsor-features { list-style:none; text-align:left; }
.sponsor-features li {
  padding:0.5rem 0; font-size:0.9rem;
  border-bottom:1px solid rgba(255,255,255,0.06);
  display:flex; align-items:center; gap:0.5rem;
}
.sponsor-features li::before { content:'✓'; color:var(--turquoise); font-weight:700; }

/* ===== FOOTER ===== */
.footer { background:var(--dark); color:rgba(255,255,255,0.7); padding:4rem 2rem 2rem; }
.footer-inner {
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:3rem; align-items:start;
}
.footer-brand { text-align: left; }
.footer-logo-img { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size:0.85rem; line-height:1.8; }
.footer h4 { color:var(--white); font-size:0.9rem; font-weight:700; margin-bottom:1rem; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:0.5rem; }
.footer-links a { color:rgba(255,255,255,0.6); text-decoration:none; font-size:0.85rem; transition:color 0.3s; }
.footer-links a:hover { color:var(--sky-light); }
.footer-bottom {
  max-width:1200px; margin:3rem auto 0;
  padding-top:2rem; border-top:1px solid rgba(255,255,255,0.08);
  display:flex; justify-content:space-between; align-items:center; font-size:0.8rem;
}
.footer-social { display:flex; gap:1rem; }
.footer-social a {
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  color:var(--white); text-decoration:none; font-size:1.1rem; transition:background 0.3s;
}
.footer-social a:hover { background:var(--ocean); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }
@keyframes scrollDot { 0%{opacity:1;top:6px} 100%{opacity:0;top:18px} }
.reveal { opacity:0; transform:translateY(40px); transition:opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display:none; position:fixed; inset:0; z-index:999;
  background:rgba(0,0,0,0.95); backdrop-filter:blur(20px);
  flex-direction:column; align-items:center; justify-content:center; gap:2rem;
}
.mobile-menu.active { display:flex; }
.mobile-menu a { color:var(--white); text-decoration:none; font-size:1.3rem; font-weight:600; transition:color 0.3s; }
.mobile-menu a:hover { color:var(--sunset); }
.mobile-entry-link {
  margin-top: 1rem; padding: 0.7rem 2rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--sunset), var(--coral));
  font-size: 1rem !important;
}
.mobile-close { position:absolute; top:1.5rem; right:1.5rem; background:none; border:none; color:var(--white); font-size:2rem; cursor:pointer; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .overview-cards, .map-grid, .entry-cards, .sponsor-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .concept-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contents-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .access-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .access-photo img { min-height: 220px; height: 220px; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav-entry { display: none; }
  .hamburger { display: flex; }
  .section { padding: 4rem 1.2rem; }
  
  .overview-cards, .contents-grid, .map-grid, .entry-cards { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .sponsor-cards { grid-template-columns: 1fr; }
  
  .access-detail { padding: 1rem 1.2rem; gap: 0.8rem; }
  .access-detail-icon { width: 36px; height: 36px; min-width: 36px; font-size: 1.1rem; border-radius: 10px; }
  .access-detail h4 { font-size: 0.75rem; }
  .access-detail p { font-size: 0.85rem; }
  .access-map iframe { height: 280px; }
  
  .overview-card { padding: 1.2rem 0.8rem; }
  .overview-icon { width: 36px; height: 36px; font-size: 1.2rem; margin-bottom: 0.5rem; }
  .overview-card h4 { font-size: clamp(0.6rem, 9cqi, 0.8rem); white-space: nowrap; margin-bottom: 0.2rem; }
  .overview-card p { font-size: 0.85rem; line-height: 1.4; word-break: auto-phrase; }
  
  .content-card-img { height: 140px; }
  .content-card-body { padding: 1rem; }
  .content-card-body h3 { 
    font-size: clamp(0.65rem, 8cqi, 1rem); 
    margin-bottom: 0.3rem; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
  }
  .content-card-body p { font-size: 0.8rem; line-height: 1.5; word-break: auto-phrase; }
  .content-card-tag { margin-top: 0.5rem; padding: 0.2rem 0.6rem; font-size: 0.7rem; }
  .content-card-number { width: 30px; height: 30px; font-size: 0.85rem; top: 0.5rem; left: 0.5rem; }
  
  .map-card { padding: 1.2rem 0.8rem; container-type: inline-size; }
  .map-card-icon { width: 36px; height: 36px; font-size: 1.2rem; margin-bottom: 0.5rem; }
  .map-card h4 { font-size: clamp(0.6rem, 9cqi, 0.8rem); white-space: nowrap; margin-bottom: 0.2rem; }
  .map-card h3 { font-size: clamp(0.65rem, 8cqi, 0.95rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.3rem; }
  .map-card p { font-size: 0.8rem; line-height: 1.4; word-break: auto-phrase; }
  
  .entry-card { padding: 1.2rem 0.8rem; container-type: inline-size; }
  .entry-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
  .entry-card h3 { font-size: clamp(0.65rem, 8cqi, 0.95rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.5rem; }
  .entry-card p { font-size: 0.8rem; line-height: 1.4; margin-bottom: 1rem; word-break: auto-phrase; }
  .btn-entry { padding: 0.5rem 1rem; font-size: 0.75rem; width: 100%; justify-content: center; box-sizing: border-box; }
  
  .concept-text h3 { font-size: 1.3rem; word-break: auto-phrase; }
}

/* ===== CLICKABLE CARDS ===== */
.content-card,
.map-card {
  cursor: pointer;
  position: relative;
}
.content-card::after,
.map-card::after {
  content: "詳細を見る";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem;
  background: linear-gradient(0deg, rgba(77,184,232,0.95) 0%, rgba(77,184,232,0.0) 100%);
  color: var(--white);
  font-size: 0.85rem; font-weight: 700;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.content-card:hover::after,
.map-card:hover::after {
  opacity: 1;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 10, 30, 0);
  backdrop-filter: blur(0px);
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, visibility 0s 0.4s;
}
.modal-overlay.active {
  background: rgba(10, 10, 30, 0.72);
  backdrop-filter: blur(18px);
  visibility: visible;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, visibility 0s 0s;
}

.modal {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 720px; width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.1);
  opacity: 0;
  transform: scale(0.88) translateY(40px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* scrollbar styling inside modal */
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(0,119,182,0.25); border-radius: 3px; }

.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.modal-close:hover {
  background: rgba(255,107,53,0.85);
  transform: rotate(90deg);
}

/* Image area */
.modal-img-wrap {
  width: 100%; height: 320px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.modal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* hide image wrap for icon-type cards (map cards) */
.modal-img-wrap.hidden { display: none; }

/* Icon area (for map cards) */
.modal-icon-wrap {
  display: none;
}
.modal-icon-wrap.visible {
  display: flex;
  align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,119,182,0.15));
  margin-bottom: 1rem;
}

/* Body */
.modal-body {
  padding: 2rem 2.5rem 2.5rem;
}
.modal-subtitle {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ocean);
  background: linear-gradient(135deg, rgba(0,119,182,0.08), rgba(0,180,216,0.08));
  padding: 0.3rem 1rem; border-radius: 50px;
  margin-bottom: 0.8rem;
}
.modal-subtitle:empty { display: none; }

.modal-title {
  font-size: 1.5rem; font-weight: 800;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 1rem;
}
.modal-text {
  font-size: 1rem;
  color: var(--gray);
  line-height: 2;
}
.modal-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.modal-tags:empty { display: none; }
.modal-tags span {
  display: inline-block;
  padding: 0.35rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
}

/* ===== MODAL RESPONSIVE ===== */
@media (max-width: 768px) {
  .modal {
    max-width: 96%; width: 96%;
    border-radius: 16px;
    max-height: 92vh;
  }
  .modal-img-wrap {
    height: 200px;
    border-radius: 16px 16px 0 0;
  }
  .modal-body {
    padding: 1.5rem 1.5rem 2rem;
  }
  .modal-title {
    font-size: 1.2rem;
  }
  .modal-text {
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .modal-close {
    top: 0.6rem; right: 0.6rem;
    width: 38px; height: 38px;
    font-size: 1rem;
  }
  .content-card::after,
.map-card::after {
  content: "詳細を見る";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem;
  background: linear-gradient(0deg, rgba(77,184,232,0.95) 0%, rgba(77,184,232,0.0) 100%);
  color: var(--white);
  font-size: 0.85rem; font-weight: 700;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
}

/* ===== SVG ICON ===== */
.svg-icon { width: 1.2em; height: 1.2em; vertical-align: middle; display: inline-block; }

.content-card::after, .map-card::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom 1rem;
  background-size: 1.2rem;
  padding-bottom: 2.6rem;
}

/* ===== IMAGE ICON STYLE ===== */
.img-icon {
  width: 1.3em;
  height: 1.3em;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 各セクション内のアイコンサイズ微調整 */
.concept-tag .img-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.3rem;
}

.overview-icon .img-icon {
  width: 2.2rem;
  height: 2.2rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.content-card-tag .img-icon-small {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.3rem;
}

.map-card-icon .img-icon {
  width: 2.4rem;
  height: 2.4rem;
}

.access-detail-icon .img-icon {
  width: 1.8rem;
  height: 1.8rem;
}

.entry-card-icon .img-icon {
  width: 3.2rem;
  height: 3.2rem;
}

/* ホバー時に弾むようなマイクロアニメーション */
.overview-card:hover .img-icon,
.map-card:hover .img-icon,
.access-detail:hover .img-icon,
.entry-card:hover .img-icon {
  transform: scale(1.18) translateY(-3px);
}

/* ===== BOOTHS SLIDER ===== */
.booths-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--sand-light) 100%);
  padding: 6rem 0;
  overflow: hidden;
}
.slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.slider-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 20px 0;
}
.slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.booth-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,119,182,0.05);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}
.booth-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.booth-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.booth-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.booth-card:hover .booth-card-img img {
  transform: scale(1.06);
}
.booth-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.booth-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.booth-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.booth-card-action {
  margin-top: auto;
}
.btn-booth {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(0,119,182,0.15);
  color: var(--dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.slider-arrow:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: var(--shadow-lg);
}
.slider-arrow.prev {
  left: 0;
}
.slider-arrow.next {
  right: 0;
}

@media (max-width: 992px) {
  .booth-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 576px) {
  .booth-card {
    flex: 0 0 100%;
  }
  .slider-wrapper {
    padding: 0;
  }
  .slider-arrow {
    display: none; /* Hide arrows on small screens, rely on swipe */
  }
}


