﻿/* ----- 先頭にGoogle Fonts読み込み ----- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;700&display=swap');

/* ----- リセット & ベース ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', 'Noto Sans JP', 'Segoe UI', Roboto, sans-serif;
  background-color: #fff;
  color: #1a1a1a;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- ヘッダー ----- */
.site-header {
  background: #1e3a2f;
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
}

.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-list a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-list a:hover {
  color: #e50914;
}

/* ----- ヒーロー ----- */
.hero {
  background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 0;
}

.hero-subtitle {
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  background: transparent;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'Oswald', 'Anton', 'Bebas Neue', 'Impact', sans-serif;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 0;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.0rem;
  font-weight: 800;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ----- 共通セクション見出し ----- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-header p {
  color: #555;
  font-size: 1.5rem;
}

/* ブランドグリッド */
.brand-section {
  padding: 40px 0 60px;
}

.brand-section .section-header p {
  color: #f0f0f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.brand-card {
  background: #f9f9f9;
  border-radius: 24px;
  padding: 32px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.brand-icon {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 5px auto;
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* アクセサリー */
.accessories-section {
  background: #fef7e8;
  padding: 60px 0;
}

.highlight {
  background: linear-gradient(120deg, #ffd966, #ffb347);
  padding: 0 8px;
  border-radius: 12px;
}

.category-title {
  font-size: 1.5rem;
  margin: 20px 0 28px 0;
  text-align: center;
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.accessory-card {
  background: white;
  border-radius: 28px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 8px 14px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.accessory-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 24px rgba(0,0,0,0.1);
}

.accessory-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background-color: #f5f5f5;
  margin-bottom: 16px;
}

.accessory-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.accessory-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.accessory-img img:hover {
  transform: none;
}

/* タイトル行（推奨バッジ＋商品名） */
.accessory-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.recommend-badge {
  background: #b22234;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
}

.accessory-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.more-accessories-btn {
  text-align: center;
  margin-top: 20px;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #c0392b;
  color: #c0392b;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #c0392b;
  color: white;
}

/* 特集記事（FIFAグリッド） */
.feature-section {
  padding: 60px 0;
  background: #fff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 40px;
}

/* フッター */
.shipping-banner {
  background: #1e3a2f;
  color: #ffdd99;
  padding: 18px 0;
  text-align: center;
  font-size: 1.1rem;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.banner-inner i {
  font-size: 1.8rem;
}

.banner-inner strong {
  color: #ffae42;
  font-weight: 800;
}

.footer-bottom {
  background: #1e3a2f;
  color: #fff;
  padding: 24px 0;
  font-size: 1.1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

/* ロゴ画像 */
.logo-img {
  height: 40px;
  width: auto;
  max-height: 50px;
  display: block;
}

/* ===== 背景画像ラッパー ===== */
.bg-wrapper {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.bg-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.bg-wrapper > * {
  position: relative;
  z-index: 2;
}

.bg-wrapper .hero,
.bg-wrapper .brand-section {
  background: transparent !important;
  background-color: transparent !important;
}

.hero {
  background: transparent;
}

/* 固定ヘッダー対策 */
#brand-special,
#goods,
#fifa,
#movie {
  scroll-margin-top: 90px;
}

/* ▼ SPECIAL PAGE エリアのみ大きく・白く ▼ */
.brand-section .section-header h2 {
  color: #ffffff !important;
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  letter-spacing: 3px;
}

.brand-section .section-header p {
  color: #ffffff !important;
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ブランドカード オーバーレイ */
.brand-image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
}

.brand-image-link img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-image-link:hover img {
  transform: scale(1.05);
}

.brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 16px;
}

.brand-image-link:hover .brand-overlay {
  opacity: 1;
}

.brand-cta {
  background-color: #e50914;
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.brand-image-link:hover .brand-cta {
  transform: scale(1.05);
}

/* FIFAスライダー（横スクロール商品） */
.fifa-slider-wrapper {
  margin: 30px 0 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.fifa-slider-wrapper::-webkit-scrollbar {
  height: 8px;
}

.fifa-slider-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.fifa-slider-wrapper::-webkit-scrollbar-thumb {
  background: #c0392b;
  border-radius: 10px;
}

.fifa-slider {
  display: flex;
  gap: 24px;
  padding: 10px 4px 20px;
  width: max-content;
}

.fifa-slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.fifa-slide .article-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
}

.fifa-slide .article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.fifa-slide .article-image {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f5f5f5;
}

.fifa-slide .article-content {
  flex: 1;
  padding: 20px;
}

.fifa-slide .article-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.fifa-slide .article-content p {
  color: #5a5a5a;
  font-size: 0.9rem;
}

/* FIFAオーバーレイ */
.fifa-image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.fifa-image-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.fifa-image-link:hover img {
  transform: scale(1.05);
}

.fifa-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.fifa-image-link:hover .fifa-overlay {
  opacity: 1;
}

.fifa-cta {
  background-color: #e50914;
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.fifa-image-link:hover .fifa-cta {
  transform: scale(1.05);
}

/* バナー2枚並び */
.banner-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.banner-item {
  flex: 1;
  min-width: 280px;
}

.banner-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.banner-item img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.banner-link:hover img {
  transform: scale(1.05);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.banner-link:hover .banner-overlay {
  opacity: 1;
}

.banner-cta {
  background-color: #e50914;
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.banner-link:hover .banner-cta {
  transform: scale(1.05);
}

/* ライブ配信 */
.live-stream-wrapper {
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

fw-embed-feed {
  display: block;
  margin: 0 auto;
}

/* 配送バナー内のリンク */
.shipping-text-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.shipping-text-link:hover {
  opacity: 0.8;
}

/* ===== カルーセル（バナースライダー）共通スタイル ===== */
.carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.carousel-track-container {
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
}

/* 複数枚表示（デフォルト3枚） */
.carousel-slide {
  flex: 0 0 calc(100% / 3);
}

/* タブレット */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 calc(100% / 2);
  }
}

/* スマホ */
@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

.carousel-container {
  padding: 0 8px;
}

/* 上段（縦長カルーセル）のギャップを狭める */
.carousel-vertical .carousel-track {
  gap: 8px;
}

/* スマホではさらに狭める */
@media (max-width: 768px) {
  .carousel-vertical .carousel-track {
    gap: 6px;
  }
  .carousel-vertical .carousel-container {
    padding: 0 4px;
  }
}

/* カルーセル内の画像 */
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 横長カルーセル（下段）PC時 */
.carousel-horizontal .carousel-slide img {
  max-height: 400px;
  width: auto;
  margin: 0 auto;
}

/* スマホ時は画面幅いっぱいに表示 */
@media (max-width: 768px) {
  .carousel-horizontal .carousel-slide img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}

/* 縦長カルーセル */
.carousel-vertical .carousel-slide img {
  max-height: 500px;
  width: auto;
  margin: 0 auto;
}

/* カルーセルボタン */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 1.8rem;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.prev-btn {
  left: 16px;
}

.next-btn {
  right: 16px;
}

/* ドットナビゲーション */
.carousel-nav {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.carousel-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.carousel-nav button.active {
  background: white;
  transform: scale(1.2);
}

/* ===== カウントダウンセクション（ヒーロー背景に透過、余白短縮）===== */
.countdown-section {
  background: transparent;  /* ヒーローと同じ背景（bg-wrapperの画像＋オーバーレイ） */
  padding: 20px 0;          /* 上下の余白を大幅に短縮（元は60px） */
  text-align: center;
  color: white;
  margin: 0;
  position: relative;
  z-index: 2;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 16px;      /* やや縮小 */
}

.countdown-block {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 20px 24px;
  min-width: 100px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
}

.countdown-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  font-family: 'Oswald', 'Anton', monospace;
  line-height: 1.2;
  letter-spacing: 2px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.countdown-label {
  font-size: 0.9rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

.countdown-date {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-top: 12px;         /* やや縮小 */
}

/* イベントメッセージ（開幕前ラベル／開催中メッセージ／閉幕後メッセージ） */
.event-message {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 16px;      /* 元は20px → 縮小 */
  padding: 12px 24px;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  text-align: center;
  letter-spacing: 2px;
}

/* ==================================
   スマホ（～768px）向けレイアウト最適化
   ================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 60px 0;
  }
  .hero-subtitle {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
  .section-header p {
    font-size: 0.9rem;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .brand-card {
    padding: 16px 12px;
  }
  .brand-card h3 {
    font-size: 1.2rem;
  }

  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .accessory-card {
    padding: 12px 8px;
  }
  .accessory-title {
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: center;
  }
  .recommend-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
    white-space: nowrap;
  }
  .accessory-card h4 {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow-x: auto;
    max-width: calc(100% - 50px);
  }
  .accessory-card h4::-webkit-scrollbar {
    display: none;
  }

  .fifa-slide {
    flex: 0 0 220px;
  }
  .fifa-slide .article-content h3 {
    font-size: 1rem;
  }
  .fifa-slide .article-content p {
    font-size: 0.8rem;
  }

  .banner-row {
    flex-direction: column;
    gap: 16px;
  }
  .banner-item img {
    aspect-ratio: 2 / 1;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .live-stream-wrapper {
    margin: 1rem auto;
  }

  .shipping-banner {
    font-size: 0.85rem;
    padding: 12px 0;
  }
  .banner-inner {
    gap: 8px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* ヘッダー スマホ中央揃え */
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  .logo {
    margin-bottom: 8px;
  }
  .nav-list {
    justify-content: center;
  }

  /* カウントダウン スマホ調整（さらに余白短縮） */
  .countdown-section {
    padding: 15px 0;
  }
  .countdown-timer {
    gap: 12px;
    margin-bottom: 12px;
  }
  .countdown-block {
    padding: 12px 12px;
    min-width: 65px;
  }
  .countdown-number {
    font-size: 2rem;
  }
  .countdown-label {
    font-size: 0.7rem;
  }
  .event-message {
    font-size: 1.3rem;
    margin-bottom: 12px;
    padding: 8px 16px;
  }
  .countdown-date {
    margin-top: 8px;
  }
}

/* さらに小さなスマホ（～480px） */
@media (max-width: 480px) {
  .brand-grid,
  .accessories-grid,
  .articles-grid {
    gap: 12px;
  }
  .brand-card h3 {
    font-size: 1rem;
  }
  .accessory-card h4 {
    font-size: 0.75rem;
  }
  .fifa-slide {
    flex: 0 0 200px;
  }
}



/* =====================================================
   グループステージセクション 専用スタイル (最終調整版)
   ===================================================== */

/* セクション本体（背景透明） */
.group-stage-section {
  background: transparent;
  padding: 60px 0 60px;   /* 上下パディング（調整済み） */
  color: white;
}
.group-stage-section .section-header h2,
.group-stage-section .section-header p {
  color: white;
}
/* ★ 見出しと表の間隔を狭める */
.group-stage-section .section-header {
  margin-bottom: 16px;
}

/* カルーセルコンテナ */
.group-carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px 40px;
}

.group-carousel-track-container {
  overflow: hidden;
}

.group-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

/* 各スライド */
.group-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
}

/* グループカード */
.group-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 20px;
  width: calc(50% - 12px);
  min-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.group-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.group-name {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.6);
  display: inline-block;
  width: 100%;
  letter-spacing: 2px;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-list li {
  font-size: 1.1rem;
  padding: 10px 12px;
  margin: 6px 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-list li::before {
  content: "⚽";
  opacity: 0.7;
}

/* ボタン（重複解消済み） */
.group-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  z-index: 10;
}
.group-carousel-btn:hover {
  background: #e50914;
}
.prev-btn {
  left: 8px;
}
.next-btn {
  right: 8px;
}

/* ドットナビゲーション */
.group-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.group-carousel-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.group-carousel-nav button.active {
  background: #ffdd99;
  transform: scale(1.2);
}

/* ========== スマホ・タブレット ========== */
@media (max-width: 768px) {
  .group-stage-section {
    padding: 40px 0;
  }
  .group-carousel-track {
    gap: 0;
  }
  .group-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
  }
  .group-card {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    margin: 0;
  }
  .group-name {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  .team-list li {
    font-size: 0.7rem;
    padding: 5px 6px;
    margin: 3px 0;
    white-space: normal;
    word-break: break-word;
  }
  .team-list li::before {
    font-size: 0.6rem;
  }
  .group-carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .prev-btn {
    left: 4px;
  }
  .next-btn {
    right: 4px;
  }
  .group-carousel-nav {
    margin-top: 20px;
    gap: 8px;
  }
  .group-carousel-nav button {
    width: 8px;
    height: 8px;
  }
}

/* 極小スマホ */
@media (max-width: 480px) {
  .group-slide {
    gap: 8px;
  }
  .group-card {
    padding: 8px 4px;
  }
  .group-name {
    font-size: 0.8rem;
  }
  .team-list li {
    font-size: 0.6rem;
    padding: 3px 4px;
  }
  .team-list li::before {
    display: none;
  }
}


/* 国旗アイコンのスタイル */
.flag-icon {
  width:32px;
  height: 24px;
  object-fit: cover;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* スマホでは少し小さく */
@media (max-width: 768px) {
  .flag-icon {
    width: 18px;
    height: 13px;
    margin-right: 5px;
  }
}


/* 応援グッズ一覧ボタンとFIFAセクションの間に余白を追加 */
#fifa {
  margin-top: 50px;  /* お好みで調整（例：40px〜60px） */
}