/* ================================
   FR-EXPO2026 Global Style
   ================================ */

:root {
  --brand-blue: #0a1e45;
  --accent-blue: #2e6cff;
  --light-blue: #cfe2ff;
  --text-light: #f4f7fc;
  --text-dark: #111;
  --bg-dark: #030b1c;
  --transition: 0.4s ease;
  --font: "Inter", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-light);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.05em;
}

p {
  line-height: 1.6;
  margin-top: 0.5em;
}

/* -------------------------------
   Header / Navigation
--------------------------------*/
header.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 30, 69, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 2em;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topnav .brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
  font-size: 1.1em;
  color: var(--light-blue);
}

.topnav .brand .logo {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.2));
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.5em;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
}

/* -------------------------------
   ハンバーガーメニュー（スマホのみ表示）
--------------------------------*/
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;       
  top: 1rem;                
  right: 1rem;             
  z-index: 2000;           
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* -------------------------------
   スマホレイアウト
--------------------------------*/
@media (max-width: 768px) {
  header.topnav {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8em 1.2em;
  }

  .menu-toggle {
    display: flex; 
  }

  .nav-links {
    position: fixed;        
    top: 60px;               
    right: 0;
    background: rgba(10, 30, 69, 0.95);
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
    max-width: 300px;
    padding: 1em;
    border-radius: 0 0 0 12px;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 0;
      gap: 0em;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    max-height: 500px;
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 0.8em 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: white;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* -------------------------------
   Hero / MV
--------------------------------*/
.mv {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10em 2em 6em;
  min-height: 100vh;
  background: linear-gradient(120deg, #08132d, #0a1e45 60%, #122b6c);
  overflow: hidden;
}

.mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(3, 11, 28, 0.8) 40%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

.mv-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.mv-left {
  flex: 1 1 45%;
  position: relative;
  z-index: 2;
  padding-right: 2em;
}

.mv-left h1 {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff 10%, #8ab6ff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}

.mv-left .lead {
  font-size: 1.1em;
  margin-top: 1em;
  color: #dbe6ff;
}

.mv-left .countdown-box {
  margin-top: 2.5em;
  text-align: left;
}

.countdown-label {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #6fa8ff;
  font-weight: 600;
  margin-bottom: 0.3em;
}

.countdown {
  display: flex;
  gap: 0.5em;
  font-family: 'Inter', monospace;
  color: #fff;
  font-weight: 800;
  font-size: 2.2rem;
  text-shadow: 0 0 20px rgba(136,183,255,0.3);
  animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
  from { text-shadow: 0 0 8px rgba(136,183,255,0.3); }
  to { text-shadow: 0 0 20px rgba(136,183,255,0.7); }
}

.countdown span {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.4em 0.6em;
  min-width: 3.5em;
  text-align: center;
  backdrop-filter: blur(4px);
}

.countdown span small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.8;
}

.event-date {
  margin-top: 1em;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #a7c3ff;
  display: inline-block;
  border-radius: 4px;
}

.mv-right {
  flex: 1 1 45%;
  position: relative;
  border-left: none !important;
  box-shadow: none !important;
}

.slider {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-left: none !important; 
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  font-size: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,108,255,0.08);
  border-radius: 8px;
}

.slide.s1 { background: radial-gradient(circle, #2e6cff22, transparent 70%); }
.slide.s2 { background: radial-gradient(circle, #4da2ff22, transparent 70%); }
.slide.s3 { background: radial-gradient(circle, #8ab6ff22, transparent 70%); }

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #9fc4ff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  animation: fadeIn 2s ease forwards;
  z-index: 5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scroll-cue:hover {
  opacity: 0.7;
}

.scroll-cue span {
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.scroll-cue .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid #9fc4ff;
  border-radius: 16px;
  margin: 0 auto 6px;
  position: relative;
}

.scroll-cue .wheel {
  width: 4px;
  height: 6px;
  background: #9fc4ff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelMove 2s infinite;
}

@keyframes wheelMove {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; transform: translate(-50%, 10px); }
  100% { opacity: 0; transform: translate(-50%, 20px); }
}

.scroll-cue .arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #9fc4ff;
  margin: 0 auto;
  animation: arrowBlink 2s infinite;
}

@keyframes arrowBlink {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}


/* -------------------------------
   About Section
--------------------------------*/
.about {
  position: relative;
  overflow: hidden;
  color: #fff;
  width: 100%;
  padding: 8em 0;
  box-sizing: border-box;
}

.about-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

#about-lines {
  width: 100%;
  height: 100%;
  display: block;
}

.about-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-content {
  width: 100%;
  max-width: 950px;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.about h2 {
  font-size: 2.3em;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
}

.about .lead {
  font-size: 1.2em;
  line-height: 2;
  color: #ffffff;
}

.about p {
  margin-top: 0.5em;
  line-height: 1.9;
  font-size: 1.05em;
  color: #ffffff;
}

.about .vision {
  margin-top: 3em;
  font-style: italic;
  color: #66ccff;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .about {
    padding: 0px;
  }
  .about h2 {
    font-size: 1.8em;
  }
  .about p {
    font-size: 0.95em;
  }
  .about-inner{
    padding: 0px;
  }

}




/* -------------------------------
   Buttons
--------------------------------*/
.btn {
  display: inline-block;
  padding: 0.7em 1.4em;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.btn.primary {
  background: var(--accent-blue);
  color: white;
}

.btn.primary:hover {
  background: #0095af;
}

.btn.ghost {
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn.ghost:hover {
  background: var(--accent-blue);
  color: white;
}

/* -------------------------------
   Panels
--------------------------------*/
.panel {
  padding: 2em 2em;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.panel h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
  color: var(--light-blue);
  border-bottom: 2px solid var(--accent-blue);
  display: inline-block;
  padding-bottom: 0.3em;
}

.features {
  list-style: none;
  margin-top: 1.5em;
}

.features li {
  margin: 0.5em 0;
}


/* -------------------------------
   News
--------------------------------*/
#news-list {
  max-height: 400px;           
  overflow-y: auto;        
  padding-right: 0.5em;         
  scrollbar-width: thin;    
  scrollbar-color: var(--accent-blue) rgba(255,255,255,0.05);
}

#news-list::-webkit-scrollbar {
  width: 6px;
}
#news-list::-webkit-scrollbar-thumb {
  background-color: var(--accent-blue);
  border-radius: 4px;
}
#news-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
}

.news-list .news-item {
  background: rgba(255,255,255,0.05);
  margin: 1em 0;
  padding: 1em;
  border-radius: 6px;
  text-align: left;
  transition: background 0.3s;
}

.news-item h3 {
  color:white;
  font-size: 1.2em;
  margin-bottom: 0.2em;
}

.news-item time {
  display: block;
  font-size: 0.85em;
  color: #bbb;
  margin-bottom: 0.3em;
}

.news-item p {
  color: #ffffff;
  line-height: 1.6;
}


/* -------------------------------
   Participants / Tabs
--------------------------------*/
.tab-bar {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

.tab-button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 0.5em 3em;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s, border 0.3s;
  font-size: 0.95em;
}

@media (max-width: 500px) {
  .tab-button {
    padding: 0.5em 1em;
  }
}

.tab-button:hover {
  background: rgba(255,255,255,0.15);
}

.tab-button.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--light-blue);
}

.tab-content {
  display: none !important;
}
.tab-content.active {
  display: grid !important;
}

/* -------------------------------
   Cards Grid
--------------------------------*/
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  margin-top: 2em;
}

.card {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1em;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  min-height: 80px;
}

.card a {
  text-decoration: none !important;
  color: white;
}

.card img {
  height: 5em;
  margin: 0 auto 0.8em;
  opacity: 0.9;
  object-fit: contain;
}

.card h3 {
  margin-bottom: 0.2em;
  color: #fff;
}

.card .eng {
  font-size: 0.85em;
  color: #aaa;
}

@media (max-width: 500px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    margin-top: 1em;
  }
}



/* -------------------------------
   Footer
--------------------------------*/
.site-footer {
  text-align: center;
  padding: 2em 1em;
  font-size: 0.9em;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer .a{
  color: white;
}

/* -------------------------------
   Fixed Enter Button
--------------------------------*/
.fixed-enter {
  position: fixed;
  bottom: 1.5em;
  right: 1.5em;
  z-index: 999;
}

.fixed-enter .btn {
  box-shadow: 0 0 10px rgba(46,108,255,0.6);
}

/* -------------------------------
   Reveal Animation
--------------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------
   Responsive
--------------------------------*/
@media (max-width: 768px) {

  .mv {
    padding-top: 8em;
  }

  .mv {
    padding: 7em 1.5em 4em; 
    min-height: auto; 
  }

  .mv-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;  
  }

  .mv-left, .mv-right {
    padding: 0;
    text-align: center;
  }

  .slider {
    height: 150px;
    border: none; 
  }

  .mv-left .countdown-box {
    margin-top: 1.2em;
  }

  .mv-left h1 {
    font-size: 1.8em;
  }

  .mv-left .lead {
    font-size: 0.95em;
  }
}



/* -------------------------------
   Contact / Entry Form
--------------------------------*/
.contact {
  max-width: 700px;
  text-align: center;
}

.contact h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
  color: var(--light-blue);
  border-bottom: 2px solid var(--accent-blue);
  display: inline-block;
  padding-bottom: 0.3em;
}

.contact p {
  margin-bottom: 2em;
  color: #cdd9ff;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #a5baff;
  margin-bottom: 0.5em;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.8em 1em;
  color: #fff;
  font-size: 1rem;
  transition: border 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255,255,255,0.1);
}

.contact-form .btn.primary {
  align-self: center;
  padding: 0.8em 2em;
  font-size: 1.1em;
}

@media (max-width: 600px) {
  .contact {
    padding: 0 1em;
  }
  .contact-form {
    gap: 1.2em;
  }
}

/* -------------------------------
   Contact Button Styling
--------------------------------*/
.contact-form .btn.primary {
  position: relative;
  align-self: center;
  padding: 0.9em 2.4em;
  font-size: 1.1em;
  font-weight: 700;
  color: #fff;
  background:#122b6c;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(46,108,255,0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}


.contact-form .btn.primary:hover {
  background:#143ca1;

}

.contact-thanks {
  display: none;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 3em 2em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(46,108,255,0.15);
  backdrop-filter: blur(8px);
  animation: fadeInUp 1s ease forwards;
}

.contact-thanks h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
  color: var(--light-blue);
}

.contact-thanks p {
  line-height: 1.8;
  margin: 1em 0;
  color: #e0e7ff;
}

.contact-thanks strong {
  color: #ffffff;
  font-weight: 700;
}

.contact-thanks .btn.primary {
  margin-top: 2em;
  padding: 0.9em 2.2em;
  font-size: 1.05em;
}

.privacy-note {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 1.5em;
  text-align: center;
}

/* -------------------------------
   Entry Button Styling
--------------------------------*/

.fixed-entry-container {
  position: fixed;
  bottom: 25px;
  right: 30px; 
  text-align: right; 
  z-index: 9999;
}

.entry-bubble {
  display: inline-block;
  background: rgba(0, 153, 255, 0.15);
  color: #e0f7ff;
  border: 2px solid rgba(0, 200, 255, 0.7);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
  animation: floatY 2.2s ease-in-out infinite;
  margin-bottom: 12px;
  position: relative;
}


@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.fixed-entry-button {
  display: inline-block;
  background: linear-gradient(135deg, #0099ff, #0044ff);
  color: white;
  font-weight: bold;
  padding: 18px 60px;
  border-radius: 50px;
  box-shadow: 0 0 25px rgba(0, 150, 255, 0.8);
  text-decoration: none;
  font-size: 22px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.fixed-entry-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(0, 220, 255, 1);
  background: linear-gradient(135deg, #00ccff, #0066ff);
}

@media (max-width: 600px) {
  .entry-bubble {
    font-size: 14px;
    padding: 6px 14px;
    margin-bottom: 8px;
  }

  .fixed-entry-button {
    font-size: 18px;
    padding: 14px 36px;
  }
}



