/* ==========================================
   全体の設定（ベース設定）
   ========================================== */
@charset "utf-8";

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #000E32; /* 深い夜空をイメージした黒に近い紺 */
  color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================
   ヘッダー
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;

  /* 背景を半透明（または透明）にしてMVを透けさせる */
  background-color: rgba(0 ,0 ,0 ,0);
  padding: 15px 20px;
}

.header-inner {
  max-width: 1400px; /* メニューが増えたため、幅を少し広げて調整 */
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* 両端に振り分け */
  align-items: center;
}

/* メニューの並び */
.header-nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

.header-nav ul li {
  position: relative;
}

.header-nav ul li img {
    z-index: 2;
    position: relative;
    pointer-events: none;
}

/* 添付画像の光るカプセル型ボタンを再現 */
.header-nav a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% ,-50%);
  color: #000;
  background-color: #fff;
  width: 89.2%;
  height: auto;
  border-radius: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s ease;
  aspect-ratio: 205 / 61;
}

.header-nav a:hover {
  background-color: rgba(0 ,0 ,0 ,0);
  color: #fff;
  font-size: 115%;
}

/* 右端のロゴエリア */
.header-logo-area {
  flex-shrink: 0;
}

.logo-keirin {
  height: 80px;
}

/* ==========================================
   メインビジュアル (MV)
   背景に夜空の星と花火の画像を敷き、中央寄せにします
   ========================================== */
.main-visual {
  background-image: url('../img/mainvisual-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 160px 0px 0px;
  overflow: hidden;
}

.main-visual::before {
  content: "";         /* 疑似要素に必須 */
  width: 100%;         /* 幅いっぱい */
  height: 100%;        /* 高さいっぱい */
  display: block;      /* 高さを指定するためにブロック要素にする */
  background: linear-gradient(rgba(0,14,50,0) 0, #000E32 90%); /* 徐々に透明にする */
  position: absolute;  /*  */
  top: 0;
  left: 0;
}

.mv-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* テキストグループ（コピーとタイトルロゴ） */
.mv-text-group {
  position: relative;
  margin-bottom: 40px;
  z-index: 10;
}

.mv-title {
  width: min(1150px, 96%);
  margin: 0 auto;
}

.mv-copy {
  max-width: min(1000px, 96%);
  position: absolute;
  top: 0px;
  left: 260px;
}


/* 左右の迫力あるグラフィックパーツの配置 */
.mv-graphics {
  position: absolute;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  top: 0;
}

.graphic-left, .graphic-right {
  flex: 1;
  max-width: 450px;
  /* 浮かび上がるような軽いシャドウ効果 */
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.graphic-left {
  max-width: 980px;
}

.graphic-right {
  max-width: 750px;
}

/* ==========================================
   コンテンツエリア共通
   ========================================== */
.main-content {
  margin: 100px 0 auto;
  padding: 40px 0;
}

.main-content .midashi {
  position: relative;

  & .absolute {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);

    & img {
      width: 270px;
      position: relative;
    }

    & h2.section-title {
      position: absolute;
      top: 80px;
      left: 50%;
      transform: translateX(-50%);
      color: #011C5E;
    }
  }
}

.section-block {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  max-width: 1200px;
  padding: 70px 100px;
  background-color: #00154E;
  border: 1px solid #fff;
}

.section-block ul {
  margin-bottom: 40px;

  & li {
    font-size: 2rem;
    border-bottom: solid 1px #fff;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

.section-title {
  font-size: 1.5rem;
  padding-left: 15px;
  margin-bottom: 25px;
  font-weight: bold;
}

#overview {
  position: relative;

  & h2.section-title {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translate(-50%, 0);
  }
}

/* ==========================================
   01. 開催概要 (定義リスト dl, dt, dd で構築)
   ========================================== */

/* ボタンデザイン */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.btn {
  color: #fff;
  width: 380px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  border: solid 3px #fff;
  position: relative;

  & a {
    font-size: 1.75rem;
    display: block;
  }
}

.btn:hover {
  background-color: #fff;
}
.btn:hover a {
  color: #003BB0;
}


.btn::after {
  content: "";
  display: block;
  clip-path: polygon(0 0, 0 55%, 16% 0);
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .4s ease
}

.btn:hover::after {
  background-color: #003BB0;
  top: 6px;
  left: 6px;
}

.btn.highlight {
  background: linear-gradient(45deg, #ff5722, #ff9800);
}

.btn.highlight:hover {
  background: linear-gradient(45deg, #e64a19, #f57c00);
}

/* ==========================================
   02. サマーナイトフェスティバルとは
   ========================================== */



#overview .overview-table {
  position: relative;
  z-index: 10;
}

.section-about {
  background-image: url(../img/area-about-bg.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 200px 0px 0px;
  overflow: hidden;
  mix-blend-mode: color-dodge;
  position: absolute;
  bottom: -345px;
  width: 100vw;
  z-index: -1;

  & .inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;

    & h2.section-title {
      color: #fff;
      padding: 0;
      mix-blend-mode: normal;
    }
  }
}

.about-text {
  padding-bottom: 120px;
  color: #fff;
  font-size: 1.5rem;
}

.about-text p {
  margin-bottom: 15px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.text-highlight {
  color: #ffd700; /* ゴールド */
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 20px;
}

/* ==========================================
   03. 出場予定選手 (グリッドレイアウト)
   ========================================== */

section#players {
  max-width: 1200px;
  margin: 300px auto 0;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.player-card {
  background-color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.player-class {
  display: inline-block;
  font-size: 0.75rem;
  background-color: #ff5722;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.player-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.player-pref {
  font-size: 0.85rem;
  color: #9ca3af;
}

.player-name-sub {
  font-size: 1rem;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
}

/* ==========================================
   04. ニュース & イベント情報
   ========================================== */
.news-list {
  list-style: none;
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-date {
  color: #9ca3af;
  font-size: 0.9rem;
}

.news-category {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.news-category.event { background-color: #00bcd4; }
.news-category.campaign { background-color: #e91e63; }

.news-text {
  flex: 1;
}

.bottom-tags {
  margin-top: 25px;
}

.tag {
  color: #00bcd4;
  font-size: 0.9rem;
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
  text-align: center;
  padding: 30px;
  background-color: #000;
  color: #6b7280;
  font-size: 0.8rem;
}

/* ==========================================
   レスポンシブ (スマホ表示の最適化)
   ========================================== */
@media (max-width: 768px) {
  .mv-graphics {
    flex-direction: column;
    align-items: center;
  }
  
  .overview-table dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  
  .overview-table dt {
    margin-top: 10px;
  }
  
  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .content-nav ul {
    flex-wrap: wrap;
    gap: 10px;
    border-radius: 10px;
  }
}