/* ========================= */
/*  横スクロール完全禁止セット */
/* ========================= */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

/* 全要素のはみ出し防止 */
* {
  max-width: 100%;
  box-sizing: border-box;
}

/* セクションのはみ出し防止 */
section {
  max-width: 100%;
  overflow-x: hidden;
  padding: 80px 5%;
}

/* flex のはみ出し防止 */
#entry-gate, .entry-card {
  max-width: 100%;
  overflow-x: hidden;
}

/* スライドのズレ完全防止 */
#hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0; /* ←最重要 */
  width: 100%;
  height: 100%;
  padding: 120px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  animation: slideFade 18s infinite;
}

/* ========================= */
/*  GLOBAL                   */
/* ========================= */

body {
  font-family: "Noto Sans JP", sans-serif;
  background: #0a0f1f;
  color: #ffffff;
  line-height: 1.7;
}

h1, h2 {
  margin: 0;
  font-weight: 700;
}


/* ========================= */
/*  HERO SLIDER (NO IMAGE)   */
/* ========================= */

#hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;

  background: radial-gradient(circle at center,
    #1a2a6c 0%,
    #0a0f1f 70%
  );

  box-shadow: inset 0 0 120px rgba(79, 195, 255, 0.4);
}

#hero-slider .slide-1 { animation-delay: 0s; }
#hero-slider .slide-2 { animation-delay: 6s; }
#hero-slider .slide-3 { animation-delay: 12s; }

@keyframes slideFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

#hero-slider h1 {
  font-size: 3rem;
  text-shadow: 0 0 20px #4fc3ff;
}

#hero-slider p {
  font-size: 1.3rem;
  margin-top: 20px;
}


/* ========================= */
/*  ENTRY GATE               */
/* ========================= */

#entry-gate {
  display: flex;
  gap: 40px;
}

.entry-card {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(79,195,255,0.4);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(6px);
}

.entry-card h2 {
  color: #4fc3ff;
  margin-bottom: 20px;
}

.entry-card ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.entry-card .btn {
  display: inline-block;
  padding: 12px 28px;
  background: #4fc3ff;
  color: #0a0f1f;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}


/* ========================= */
/*  ABOUT / ROADMAP / FAQ    */
/* ========================= */

#about-jcbpl, #roadmap, #faq {
  text-align: center;
}

#about-jcbpl h2,
#roadmap h2,
#faq h2 {
  color: #4fc3ff;
  margin-bottom: 20px;
}


/* ========================= */
/*  FINAL ENTRY              */
/* ========================= */

#final-entry {
  text-align: center;
  padding-bottom: 120px;
}

#final-entry .btn {
  display: inline-block;
  padding: 14px 32px;
  margin: 10px;
  background: #4fc3ff;
  color: #0a0f1f;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}


/* ========================= */
/*  RESPONSIVE               */
/* ========================= */

@media (max-width: 900px) {
  #entry-gate { flex-direction: column; }
  #hero-slider { height: 70vh; }
}

@media (max-width: 480px) {
  #hero-slider { height: 60vh; }
}
/* ========================= */
/*  SLIDE BACKGROUND IMAGES  */
/*  （光グラデ＋画像のハイブリッド） */
/* ========================= */

#hero-slider .slide-1 {
  background:
    linear-gradient(
      rgba(10, 15, 31, 0.6),
      rgba(10, 15, 31, 0.6)
    ),
    url("//baseball-senshu-kyudan.jcbpl.jp/img/slider/slider1.png") center/cover no-repeat;
}

#hero-slider .slide-2 {
  background:
    linear-gradient(
      rgba(10, 15, 31, 0.6),
      rgba(10, 15, 31, 0.6)
    ),
    url("//baseball-senshu-kyudan.jcbpl.jp/img/slider/slider2.png") center/cover no-repeat;
}

#hero-slider .slide-3 {
  background:
    linear-gradient(
      rgba(10, 15, 31, 0.6),
      rgba(10, 15, 31, 0.6)
    ),
    url("//baseball-senshu-kyudan.jcbpl.jp/img/slider/slider3.png") center/cover no-repeat;
}
/* ========================= */
/*  HEADER                   */
/* ========================= */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: linear-gradient(to right, #0a0f1f, #1a2a6c);
  box-shadow: 0 0 12px rgba(79,195,255,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
}

#main-header .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4fc3ff;
}

#main-header .main-nav a {
  margin-left: 24px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

#main-header .main-nav a:hover {
  color: #4fc3ff;
}


/* ========================= */
/*  FOOTER                   */
/* ========================= */

#main-footer {
  background: #0a0f1f;
  border-top: 1px solid rgba(79,195,255,0.3);
  text-align: center;
  padding: 40px 5%;
  font-size: 0.9rem;
  color: #cccccc;
}

#main-footer .footer-links a {
  color: #4fc3ff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
}

#main-footer .footer-links a:hover {
  text-decoration: underline;
}