/* ========================================
   FOREST FOOTBALL 公式サイト
   css/style.css
   ======================================== */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* === CSS Variables === */
:root {
  --color-primary:       #103c26;
  --color-primary-dark:  #0a2a1a;
  --color-primary-light: #1a5236;
  --color-white:         #ffffff;
  --color-light:         #f0f5f2;
  --color-gray:          #cdd8d2;
  --color-text:          #1a2a1e;
  --color-text-muted:    #637a6c;
  --color-error:         #d64545;

  --font-base: 'Noto Sans JP', 'Inter', sans-serif;
  --font-en:   'Inter', sans-serif;

  --header-height:     68px;
  --max-width:         1200px;
  --container-padding: 1rem;

  --transition:    0.28s ease;
  --shadow:        0 2px 8px rgba(0,0,0,.30);
  --shadow-md:     0 6px 20px rgba(0,0,0,.40);
  --border-radius: 8px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: #fff;
  line-height: 1.7;
  padding-top: var(--header-height);
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul,ol{ list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========================================
   UTILITIES
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section      { padding: 4rem 0; }
.section--light { background: var(--color-light); }
.section--voice { background: var(--color-primary-dark); }

/* ── YouTube グリッド ── */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.yt-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #000;
}
.yt-item iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}
@media (max-width: 640px) {
  .yt-grid { grid-template-columns: 1fr; }
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.section-title.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

.section-lead {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary      { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-light); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline      { border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-white        { background: #fff; color: var(--color-primary); font-weight: 600; }
.btn-white:hover  { background: var(--color-light); }
.btn-white-outline{ border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-white-outline:hover { background: rgba(255,255,255,.15); }
.btn:focus-visible { outline: 3px solid #C9A534; outline-offset: 3px; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-primary);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.3); }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  font-family: var(--font-en);
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 1010;
}
.header-logo-img {
  height: 34px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

/* --- Hamburger --- */
.hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 6px;
  padding: 5px;
  z-index: 1010;
  flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========================================
   NAV — モバイル: フルスクリーン白背景
   アニメーションなし・瞬間表示
   ======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1050;
  display: flex;
  flex-direction: column;
}
.nav.open { visibility: visible; opacity: 1; transform: translateY(0); }

/* ナビトップバー（モバイルのロゴ＋閉じるボタン） */
.nav-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: var(--header-height);
  border-bottom: 1px solid rgba(16,60,38,.1);
  flex-shrink: 0;
}
.nav-topbar-logo {
  color: var(--color-primary);
}

/* 閉じる（×）ボタン */
.nav-close-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-close-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-primary);
  position: absolute;
  border-radius: 2px;
}
.nav-close-btn span:nth-child(1) { transform: rotate(45deg); }
.nav-close-btn span:nth-child(2) { transform: rotate(-45deg); }

/* ナビリスト */
.nav-list {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem 2rem;
}

/* 各ナビ行：左にラベル、右にサブ項目 */
.nav-list > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 0 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(16,60,38,.08);
}

/* 直リンク項目 */
.nav-list > li > a {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0;
  border: none;
  background: none;
  transition: opacity var(--transition);
}
.nav-list > li > a:hover { opacity: 0.65; background: none; }
.nav-list > li > a.active { opacity: 0.65; background: none; }

/* ドロップダウン説明文（モバイルのみ表示） */
.dropdown-desc {
  font-size: 0.62rem;
  color: rgba(16,60,38,.45);
  margin: 0.15rem 0 0.5rem;
  line-height: 1.4;
  white-space: nowrap;
}

/* ドロップダウントグル（モバイルではラベルとして機能） */
.dropdown-toggle {
  width: auto;
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0;
  cursor: default;
  display: block;
  text-align: left;
  transition: none;
}

/* モバイルでは矢印アイコンを非表示 */
.arrow-icon { display: none; }

/* ドロップダウンメニューを常時表示 */
.dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: none;
  padding: 0;
}
.dropdown-menu a {
  display: block;
  color: rgba(16,60,38,.6);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0;
  border: none;
  background: none;
  transition: color var(--transition);
}
.dropdown-menu a:hover { color: var(--color-primary); background: none; }

/* サブドロップダウン（モバイル: 常時展開・フラット表示） */
.subdropdown-toggle {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-align: left;
}
.subdropdown-arrow { display: none; }
.subdropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin-top: 0.5rem;
}
.subdropdown-menu a {
  display: block;
  color: rgba(16,60,38,.6);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0;
  border: none;
  background: none;
  transition: color var(--transition);
}
.subdropdown-menu a:hover { color: var(--color-primary); background: none; }

/* ========================================
   NAV — DESKTOP (1024px+)
   フルスクリーン解除・通常ヘッダーナビ
   ======================================== */
@media (min-width: 1024px) {
  /* ヘッダーにゴールドラインとグラデ深み */
  .header {
    background: linear-gradient(180deg, #0c2e1a 0%, var(--color-primary) 100%);
    border-bottom: 1px solid rgba(201,165,52,.30);
  }
  .header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.40);
  }

  /* ロゴとナビの間に縦区切り */
  .header-inner {
    gap: 0;
  }
  .header-logo {
    padding-right: 2rem;
    margin-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,.15);
    letter-spacing: 0.1em;
    font-size: 1.05rem;
  }

  .hamburger { display: none; }
  .nav-topbar { display: none; }
  .dropdown-desc { display: none; }

  .nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
    background: none;
    overflow: visible;
    display: block;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
  }

  .nav-list > li {
    display: block;
    grid-template-columns: unset;
    padding: 0;
    border: none;
  }

  /* デスクトップリンク：uppercase + ゴールド下線ホバー */
  .nav-list > li > a {
    position: relative;
    color: rgba(255,255,255,.88);
    padding: 0.5rem 0.85rem;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    background: none;
    transition: color var(--transition);
  }
  .nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: #C9A534;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
  }
  .nav-list > li > a:hover  { color: #fff; background: none; opacity: 1; }
  .nav-list > li > a:hover::after { transform: scaleX(1); }
  .nav-list > li > a.active { color: #fff; background: none; opacity: 1; }
  .nav-list > li > a.active::after { transform: scaleX(1); }

  /* Dropdown container */
  .has-dropdown { position: relative; }

  /* デスクトップのドロップダウントグル */
  .dropdown-toggle {
    position: relative;
    color: rgba(255,255,255,.88);
    padding: 0.5rem 0.85rem;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    gap: 0.35rem;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: none;
    transition: color var(--transition);
  }
  .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: #C9A534;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
  }
  .has-dropdown:hover .dropdown-toggle { color: #fff; background: none; }
  .has-dropdown:hover .dropdown-toggle::after { transform: scaleX(1); }

  .arrow-icon { display: inline; font-size: 0.55em; transition: transform var(--transition); }
  .has-dropdown:hover .arrow-icon { transform: rotate(180deg); }

  /* デスクトップ ドロップダウンパネル */
  .dropdown-menu {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 180px;
    background: #0c2e1a;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 32px rgba(0,0,0,.35);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--transition);
    z-index: 500;
    gap: 0;
    padding: 0;
  }

  .has-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu a {
    color: rgba(255,255,255,.75);
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: none;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
  }
  .dropdown-menu a:last-child { border: none; }
  .dropdown-menu a:hover {
    background: rgba(201,165,52,.10);
    color: #C9A534;
    padding-left: 1.4rem;
  }

  /* ── サブドロップダウン（デスクトップ: ホバーで右側フライアウト） ── */
  .has-subdropdown { position: relative; }
  .subdropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.75);
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
    background: none;
    font-family: var(--font-base);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    text-align: left;
  }
  .has-subdropdown:last-child .subdropdown-toggle { border-bottom: none; }
  .has-subdropdown:hover > .subdropdown-toggle {
    background: rgba(201,165,52,.10);
    color: #C9A534;
  }
  .subdropdown-arrow { display: inline; font-size: 0.65em; transition: transform var(--transition); }
  .has-subdropdown:hover .subdropdown-arrow { transform: translateX(2px); }

  .subdropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 210px;
    background: #0c2e1a;
    border-radius: 0 6px 6px 6px;
    box-shadow: 0 10px 32px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-4px);
    transition: all var(--transition);
    z-index: 501;
    gap: 0;
    padding: 0;
  }
  .has-subdropdown:hover .subdropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .subdropdown-menu a {
    display: block;
    color: rgba(255,255,255,.75);
    padding: 0.65rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: none;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
  }
  .subdropdown-menu a:last-child { border: none; }
  .subdropdown-menu a:hover {
    background: rgba(201,165,52,.10);
    color: #C9A534;
    padding-left: 1.4rem;
  }
}

/* ========================================
   HERO SLIDESHOW
   ======================================== */
.hero-slideshow {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: #060e08;
}

/* スライドコンテナ – 画面いっぱいに伸長 */
.slide-track {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* 各スライド */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.is-active { opacity: 1; }

/* ── ぼかし背景（同じ画像を引き伸ばし＋ブラー） ── */
.slide-bg {
  position: absolute;
  inset: -40px; /* ブラーのエッジアーティファクト防止 */
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  opacity: 0.68;
  z-index: 0;
}
/* ぼかし上のダークオーバーレイ */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 7, 0.48);
}

/* ── メイン画像（自然サイズ・左右にぼかし余白） ── */
.slide-img {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 70%;
  max-height: 92%;
  width: auto;
  height: auto;
  box-shadow:
    6px 0 32px rgba(0,0,0,.50),
    -6px 0 32px rgba(0,0,0,.50);
  pointer-events: none;
  user-select: none;
}

/* テキストオーバーレイ（PC では非表示） */
.slide-overlay { display: none; }
.hero-eyebrow  { font-size: 0.75rem; letter-spacing: 0.25em; color: rgba(255,255,255,.65); font-family: var(--font-en); text-transform: uppercase; margin-bottom: 1rem; }
.hero-tagline  { font-size: clamp(1.6rem, 5vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.25; }
.hero-tagline em { font-style: normal; color: rgba(255,255,255,.88); }

/* ── 左右ナビゲーション矢印 ── */
.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.slide-prev { left: 1.25rem; }
.slide-next { right: 1.25rem; }
.slide-prev:hover,
.slide-next:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.15);
}

/* ── 大会案内カード（PC：スライド右下に重ねて表示） ── */
.slide-apply-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 320px;
}
.slide-apply-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 10;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(30,30,30,.9);
  border: 1.5px solid rgba(201,165,52,.5);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.slide-apply-close:hover {
  background: rgba(201,165,52,.8);
  color: #111;
}
.slide-apply-btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 16px 52px rgba(0,0,0,.7);
  border: 1px solid rgba(201,165,52,.3);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.slide-apply-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 64px rgba(0,0,0,.78);
}

/* 上部：本文エリア */
.slide-apply-body {
  background: rgba(5, 15, 9, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.4rem 1.8rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(201,165,52,.3);
}
.slide-apply-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #C9A534;
  text-transform: uppercase;
}
.slide-apply-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.slide-apply-desc {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-top: 0.1rem;
}

/* 下部：CTAストリップ */
.slide-apply-cta {
  background: #C9A534;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.8rem 0.9rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* ── 下部コントロールバー（インジケーターのみ） ── */
.slide-bar {
  display: flex;
  align-items: center;
  padding: 0.65rem 2rem 0.75rem;
  background: var(--color-primary-dark);
  flex-shrink: 0;
}

.slide-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* 一時停止 / 再生ボタン */
.slide-pause-btn {
  color: rgba(255,255,255,.65);
  font-size: 0.65rem;
  padding: 0.35rem 0.5rem;
  line-height: 1;
  transition: color var(--transition);
}
.slide-pause-btn:hover { color: #fff; }

/* スライド番号インジケーター */
.slide-indicators { display: flex; align-items: center; }

.slide-ind {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.5rem 0.25rem 0;
  background: none;
  border: none;
  color: rgba(255,255,255,.32);
  cursor: pointer;
  transition: color var(--transition);
}
.slide-ind:last-child { padding-right: 0; }
.slide-ind.is-active  { color: #fff; }
.slide-ind:hover      { color: rgba(255,255,255,.72); }

.ind-num {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}

.ind-line {
  width: 72px;
  height: 2px;
  background: rgba(255,255,255,.18);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.ind-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: rgba(255,255,255,.9);
  border-radius: 1px;
}

/* ── モバイル用ドットインジケーター（PC では非表示） ── */
.slide-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px 0 13px;
  background: var(--color-primary-dark);
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.slide-dot.is-active {
  width: 26px;
  background: #C9A534;
}


/* ========================================
   SERVICE CARDS (index.html)
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}
@media (min-width: 560px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(16,60,38,.35); }

.service-card-icon {
  width: 50px; height: 50px;
  background: rgba(16,60,38,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card-desc  { font-size: 0.83rem; color: var(--color-text-muted); line-height: 1.75; flex: 1; margin-bottom: 1.25rem; }
.service-card-link  { font-size: 0.8rem; color: var(--color-primary); font-weight: 600; display: flex; align-items: center; gap: 0.25rem; margin-top: auto; }

/* ========================================
   SERVICES CAROUSEL
   ======================================== */

.services-carousel {
  overflow-x: hidden; /* 左右のスライドを隠す。ドットは下にはみ出せる */
  position: relative;
}

.services-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  touch-action: none; /* カルーセル内は左右のみ。縦スクロール干渉ゼロ */
  user-select: none;
}

.service-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.5rem 2rem;
  background: #fff;
  border: 1px solid #cdd8d2;
  border-radius: var(--border-radius);
  height: 280px;
  min-height: 0;
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-slide:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(16,60,38,.08);
}

.service-slide-num {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 1rem;
  color: #c8dcd2;
  letter-spacing: -0.02em;
}

.service-slide-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.service-slide-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 0;
}

.service-slide-link {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.services-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.services-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cdd8d2;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.services-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ---- デスクトップ: 4カラム縦区切りレイアウト ---- */
@media (min-width: 1024px) {
  .services-carousel { overflow: visible; }

  .services-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    transform: none !important;
    transition: none;
    border-top: 1px solid #cdd8d2;
  }

  .service-slide {
    flex: none;
    min-height: 0;
    background: none;
    border: none;
    border-right: 1px solid #cdd8d2;
    border-radius: 0;
    box-shadow: none;
    padding: 2.25rem 2rem;
    transition: background 0.25s;
  }

  .service-slide:last-child { border-right: none; }
  .service-slide:hover { background: rgba(16,60,38,.04); box-shadow: none; border-color: #cdd8d2; }

  .service-slide-num {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }

  .service-slide-title { font-size: 1.05rem; margin-bottom: 0.75rem; }
  .service-slide-desc  { font-size: 0.82rem; }

  .services-dots { display: none; }
}

/* ========================================
   NEWS LIST
   ======================================== */
.news-list { display: flex; flex-direction: column; }

.news-item {
  display: flex; flex-wrap: wrap;
  align-items: baseline; gap: 0.5rem 0.75rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--color-gray);
  color: var(--color-text);
  transition: color var(--transition);
}
.news-item:first-child { border-top: 1px solid var(--color-gray); }
.news-item:hover { color: var(--color-primary); }

.news-date  { font-size: 0.8rem; color: var(--color-text-muted); white-space: nowrap; font-family: var(--font-en); min-width: 92px; flex-shrink: 0; }
.news-tag   { display: inline-block; font-size: 0.7rem; padding: 0.2rem 0.625rem; border-radius: 100px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.news-tag.category-tournament { background: rgba(16,60,38,.1);  color: var(--color-primary); }
.news-tag.category-notice     { background: rgba(0,100,200,.1);  color: #0064c8; }
.news-tag.category-media      { background: rgba(180,100,0,.1);  color: #b46400; }
.news-title { font-size: 0.93rem; flex: 1; min-width: 0; }
.news-more  { text-align: center; margin-top: 2rem; }
.news-error { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); font-size: 0.9rem; }

/* Skeleton */
@keyframes skeleton-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.skeleton { animation: skeleton-pulse 1.5s infinite; }
.skeleton-item { display: flex; align-items: center; gap: 0.75rem; padding: 1.125rem 0; border-bottom: 1px solid var(--color-gray); }
.skeleton-item:first-child { border-top: 1px solid var(--color-gray); }
.skeleton-block { background: var(--color-gray); border-radius: 4px; }
.skeleton-date  { width: 84px; height: 13px; flex-shrink: 0; }
.skeleton-tag   { width: 56px; height: 22px; border-radius: 100px; flex-shrink: 0; }
.skeleton-text  { height: 13px; flex: 1; }

/* Filter */
.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.5rem 1.125rem;
  min-height: 40px;
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  border: 1.5px solid var(--color-gray); color: var(--color-text-muted);
  transition: all var(--transition); font-family: inherit; cursor: pointer;
  white-space: nowrap; line-height: 1.4;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(16,60,38,.04); }
.filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ========================================
   BANNER LINKS
   ======================================== */
.banner-links { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .banner-links { grid-template-columns: 1fr 1fr; } }

.banner-card {
  background: var(--color-primary);
  color: #fff;
  padding: 2.5rem 1.75rem;
  border-radius: var(--border-radius);
  text-align: center;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}
.banner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.banner-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.625rem; }
.banner-card-desc  { font-size: 0.83rem; opacity: .8; margin-bottom: 1.25rem; line-height: 1.7; }
.banner-card-btn   { display: inline-block; padding: 0.45rem 1.25rem; border: 1.5px solid rgba(255,255,255,.65); border-radius: 100px; font-size: 0.82rem; color: #fff; }

/* ========================================
   SNS SECTION
   ======================================== */
.sns-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.sns-link  { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--color-primary); font-size: 0.78rem; transition: transform var(--transition), opacity var(--transition); }
.sns-link:hover { transform: translateY(-3px); opacity: .7; }
.sns-link i { font-size: 2rem; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--color-primary); color: #fff; padding: 4rem 1.5rem 0; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }

/* グリッド（ブランド列 + ナビ4列） */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem 2rem;
  padding-bottom: 3rem;
}

/* ブランド列 */
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo  {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em;
  font-family: var(--font-en); display: inline-block; margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.78rem; color: rgba(255,255,255,.55); line-height: 1.9;
  margin-bottom: 1.5rem;
}
.br-pc     { display: none; }
.br-mobile { display: inline; }
@media (min-width: 769px) {
  .br-pc     { display: inline; }
  .br-mobile { display: none; }
}

/* SNS */
.footer-sns        { display: flex; gap: 1.1rem; align-items: center; }
.footer-sns a,
.footer-sns span   { color: rgba(255,255,255,.65); font-size: 1.3rem; line-height: 1; display: flex; align-items: center; }
.footer-sns a:hover { color: #fff; transform: translateY(-2px); }

/* ナビグループ */
.footer-nav-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-family: var(--font-en);
  color: rgba(255,255,255,.4); margin-bottom: 1rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav-group a {
  font-size: 0.83rem; color: rgba(255,255,255,.65);
  transition: color var(--transition), padding-left var(--transition);
}
.footer-nav-group a:hover { color: #fff; padding-left: 4px; }

/* ボトムバー */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,.35); }

/* タブレット（768px以下）: ブランド横並び + ナビ2カラム */
@media (max-width: 768px) {
  .footer { padding: 1.75rem 1.25rem 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
  /* ブランド行: ロゴ左・SNS右の横並び、タグライン非表示 */
  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-tagline { display: none; }
  .footer-logo { margin-bottom: 0; }
  /* Company列を全幅に */
  .footer-nav-group:last-child { grid-column: 1 / -1; margin-top: 0.75rem; }
  .footer-nav-group:last-child ul {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem 1.5rem;
    justify-content: start;
  }
}

/* スマホ（480px以下）: よりコンパクトに */
@media (max-width: 480px) {
  .footer { padding: 1.25rem 1rem 0; }
  .footer-grid { gap: 1rem 1rem; }
  .footer-nav-label { margin-bottom: 0.6rem; padding-bottom: 0.35rem; }
  .footer-nav-group ul { gap: 0.4rem; }
  .footer-nav-group a { font-size: 0.78rem; }
  .footer-bottom { padding: 1rem 0; }
  .footer-nav-group:last-child ul {
    grid-template-columns: repeat(3, auto);
  }
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero { background: var(--color-primary); color: #fff; padding: 3.5rem 1rem 3rem; text-align: center; }
.page-hero-label { font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,.5); text-transform: uppercase; font-family: var(--font-en); margin-bottom: 0.75rem; }
.page-hero-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 700; }
.page-hero-desc  { font-size: 0.875rem; color: rgba(255,255,255,.75); margin-top: 0.75rem; line-height: 1.8; }

/* ========================================
   TOURNAMENT TABS（大会TOPページ用）
   ======================================== */
.tab-buttons { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 2px solid var(--color-gray); margin-bottom: 2rem; }
.tab-btn { padding: 0.625rem 1.125rem; font-size: 0.875rem; font-weight: 500; color: var(--color-text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all var(--transition); font-family: inherit; cursor: pointer; }
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel iframe { width: 100%; height: 800px; border: none; border-radius: var(--border-radius); background: var(--color-light); }

/* 地域カード */
.region-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  width: calc(50% - 0.5rem);
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.95rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  text-align: center;
}
.region-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.region-card i { font-size: 1.5rem; color: var(--color-primary); }

/* モバイル（~639px）：カードやめてテキストリンク横並び */
@media (max-width: 639px) {
  .region-cards {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }
  .region-card {
    width: auto;
    flex: none;
    flex-direction: row;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    gap: 0;
  }
  .region-card i { display: none; }
  .region-card:hover { box-shadow: none; transform: none; }
}

/* タブレット以上（640px+）：3枚横並び・中央揃え */
@media (min-width: 640px) {
  .region-card { width: calc(33.333% - 0.667rem); }
}

/* PC（1024px+）：固定幅カード・自動で中央揃え */
@media (min-width: 1024px) {
  .region-card { width: 160px; }
}

/* ========================================
   REGION LIST（大会TOPページ リニューアル版）
   ======================================== */
.region-list {
  margin-top: 2.5rem;
}
.region-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 0;
  border-bottom: 1px solid #cdd8d2;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}
.region-list-item:first-child { border-top: 1px solid #cdd8d2; }
.region-list-item:hover {
  color: var(--color-primary);
  padding-left: 0.5rem;
}
.region-list-arrow {
  font-size: 1rem;
  color: #a0b8ac;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.region-list-item:hover .region-list-arrow {
  transform: translateX(5px);
  color: var(--color-primary);
}

/* ナビ開放中はハンバーガーを隠す */
body.nav-open .hamburger { display: none; }

/* ========================================
   TOURNAMENT FILTER（各地域ページ用）
   ======================================== */
.tournament-filters {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
  background: var(--color-light);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.125rem;
}
.tournament-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tournament-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 3.5rem;
  letter-spacing: 0.04em;
}

.tournament-section { margin-bottom: 2.5rem; }
.tournament-section:last-child { margin-bottom: 0; }

.tournament-section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}
.tournament-section-title {
  font-size: 1rem;
  font-weight: 700;
}
.ts-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}
.ts-badge--age  { background: rgba(16,60,38,.1);  color: var(--color-primary); }
.ts-badge--level { background: rgba(16,60,38,.05); color: var(--color-primary-light); border: 1px solid var(--color-primary-light); }

/* ── labolaリンクボタン ── */
.ts-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(16,60,38,.06);
  border: 1px solid rgba(16,60,38,.18);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.ts-link:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ── iframe クリップラッパー ──
   ▼▼▼ ここの数値を調整してください ▼▼▼
   --sp-clip  : モバイルで上から隠す高さ（px）。0なら非表示なし。
   --sp-height: モバイルのiframe表示エリア高さ（= iframe総高さ - --sp-clip）
   --pc-clip  : PCで上から隠す高さ（px）
   --pc-height: PCのiframe表示エリア高さ（= iframe総高さ - --pc-clip）
   ▲▲▲ ここまで ▲▲▲ */
.iframe-clip {
  --sp-clip:   0px;    /* モバイル: 切り取る上部の高さ */
  --sp-height: 600px;  /* モバイル: 表示エリアの高さ   */
  --pc-clip:   0px;    /* PC:       切り取る上部の高さ */
  --pc-height: 580px;  /* PC:       表示エリアの高さ   */

  overflow: hidden;
  border-radius: var(--border-radius);
  height: var(--sp-height);
}
.iframe-clip iframe {
  display: block;
  width: 100%;
  height: calc(var(--sp-height) + var(--sp-clip));
  margin-top: calc(var(--sp-clip) * -1);
  border: none;
  background: var(--color-light);
}

/* PC: 画面横いっぱい */
@media (min-width: 768px) {
  .iframe-clip {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
    height: var(--pc-height);
  }
  .iframe-clip iframe {
    width: 100%;
    height: calc(var(--pc-height) + var(--pc-clip));
    margin-top: calc(var(--pc-clip) * -1);
  }
}

/* ── labolaへのCTAリンクエリア（フィルター直下に常時表示） ── */
.labola-cta {
  text-align: center;
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  background: rgba(16,60,38,.03);
  border: 1px solid rgba(16,60,38,.1);
  border-radius: var(--border-radius);
}
.labola-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.labola-cta-link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── フィルターボタン行（検索する + labolaで探す） ── */
.filter-btn-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
}

/* labolaで探す（右側・テキストのみ） */
.filter-labola-link {
  position: absolute;
  right: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* ── 検索結果エリア ── */
.tournament-result {
  margin-top: 2rem;
}

/* ── labola 遷移CTA ── */
.tournament-labola-cta {
  border: 1.5px solid var(--color-gray);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--color-light);
}
.tournament-labola-cta-text {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.tournament-labola-cta-note {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--color-text-muted);
}

/* ── labola iframe埋め込み ── */
.tournament-iframe-container {
  margin-top: 1.5rem;
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
  background: #fff;
}
.tournament-iframe-container iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: none;
}
.tournament-iframe-note {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--color-text-muted);
  text-align: right;
}
.tournament-iframe-note a {
  color: var(--color-primary);
  text-decoration: none;
}
.tournament-iframe-note a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .tournament-iframe-container iframe {
    height: 900px;
  }
}

/* ── 準備中表示 ── */
.tournament-coming-soon {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--color-text-muted);
}
.tournament-coming-soon i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--color-primary);
  opacity: 0.4;
}
.tournament-coming-soon p {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.tournament-coming-soon span {
  font-size: 0.875rem;
}

/* ── 地域Instagram問い合わせ ── */
.region-insta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}
.region-insta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity .2s;
}
.region-insta-link:hover { opacity: .7; }
.region-insta-link i {
  font-size: 2.4rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.region-insta-handle {
  font-weight: 600;
  font-size: .9rem;
}
.region-insta-label {
  font-size: .75rem;
  color: var(--color-text-muted);
}
@media (max-width: 480px) {
  .region-insta-links { gap: 2rem; }
  .region-insta-link i { font-size: 2rem; }
}

/* ========================================
   SPONSOR（スポンサーグリッド）
   ======================================== */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* モバイル: 2列 */
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .sponsor-grid {
    grid-template-columns: repeat(4, 1fr); /* PC: 4列横並び */
    gap: 1.25rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 7 / 3;
  text-decoration: none;
  overflow: hidden;
}
.sponsor-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ========================================
   MOBILE FIXED CTA BAR（モバイル固定応募バー）
   ======================================== */
.fixed-apply-bar { display: none; }

@media (max-width: 767px) {
  .fixed-apply-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(10, 42, 26, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  }

  .fixed-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: #C9A534;
    color: #111;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 5px;
    transition: background var(--transition);
  }
  .fixed-apply-btn:hover { background: #B8942A; }
  .fixed-apply-btn i { font-size: 0.72rem; }
}

/* ========================================
   RECRUIT LIST（HOMEリクルートセクション）
   ======================================== */
.recruit-list { border-top: 1.5px solid var(--color-gray); }
.recruit-item {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1.5px solid var(--color-gray);
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition);
}
.recruit-item:hover { color: var(--color-primary); }
.recruit-item-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--color-primary);
  opacity: .18;
  min-width: 3.25rem;
  line-height: 1;
  transition: opacity var(--transition);
}
.recruit-item:hover .recruit-item-num { opacity: .4; }
.recruit-item-body { flex: 1; }
.recruit-item-label {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: var(--font-en);
  margin-bottom: .3rem;
}
.recruit-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .45rem;
  line-height: 1.4;
}
.recruit-item-desc {
  font-size: .85rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}
.recruit-item-arrow {
  font-size: 1rem;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.recruit-item:hover .recruit-item-arrow { transform: translateX(5px); }

/* ========================================
   FAQ
======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}
.faq-item {
  border-bottom: 1px solid rgba(16,60,38,.12);
}
.faq-item:first-child {
  border-top: 1px solid rgba(16,60,38,.12);
}
.faq-q { margin: 0; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-base);
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color var(--transition);
}
.faq-btn:hover { color: var(--color-primary-dark); }
.faq-icon {
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--color-primary);
  transition: transform .3s ease;
}
.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  margin: 0;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a.is-open {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0;
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.8;
  transition: padding .3s ease;
}
.faq-a.is-open .faq-a-inner {
  padding: 0 0 1.25rem;
}
.faq-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-link:hover { opacity: .75; }

/* ========================================
   RECRUIT CTA（シンプル採用ページ）
   ======================================== */
.recruit-cta-section { text-align: center; }
.recruit-cta-lead {
  font-size: 0.95rem;
  line-height: 2.1;
  color: var(--color-text-muted);
  max-width: 460px;
  margin: 1.5rem auto 2.5rem;
}
.recruit-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.recruit-cta-sub {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity var(--transition);
}
.recruit-cta-sub:hover { opacity: .7; }

/* ========================================
   SERVICE PAGES (company-battle / league / student / soccer)
   ======================================== */

/* ── 大学生限定大会 エディトリアルレイアウト ── */
.student-label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: var(--font-en);
  margin-bottom: 1.25rem;
}
.student-statement {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -.02em;
  margin-bottom: 2rem;
}
.student-body {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 2;
  max-width: 640px;
}
.student-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.student-facts > div {
  background: var(--color-light);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 1.5rem 1.5rem 1.6rem;
  position: relative;
}
.student-facts > div::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2rem; height: 3px;
  background: #C9A534;
  border-radius: 0 0 2px 2px;
}
.student-facts dt {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  margin-bottom: .5rem;
}
.student-facts dd {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}
@media (max-width: 540px) {
  .student-facts { grid-template-columns: 1fr; gap: .75rem; }
  .student-facts > div { padding: 1.1rem 1.25rem; }
  .student-facts > div::before { left: 1.25rem; transform: none; width: 1.5rem; }
}

.student-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.75rem;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.student-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.student-meta span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── 1枚写真 ── */
.student-photo-single {
  margin: 1.75rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.student-photo-single img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Movie Slider ── */
.movie-slider-outer {
  max-width: 860px;
  margin: 2rem auto 0;
}
.movie-slider-wrap {
  position: relative;
  margin: 0 2.75rem;
}
.movie-viewport {
  overflow: hidden;
}
.movie-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
  will-change: transform;
}
.movie-card {
  flex: 0 0 calc(50% - 0.625rem);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #111;
}
.movie-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}
.movie-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background .2s, opacity .2s;
}
.movie-arrow:hover  { background: var(--color-primary-light); }
.movie-arrow:disabled { opacity: .3; cursor: default; }
.movie-arrow--prev { left:  -2.75rem; }
.movie-arrow--next { right: -2.75rem; }
/* ドット */
.movie-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}
.movie-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border, #ddd);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.movie-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}
@media (max-width: 767px) {
  .movie-slider-outer { max-width: none; margin-top: 1.5rem; }
  .movie-slider-wrap { margin: 0; }
  .movie-arrow { display: none; }
  .movie-dots { display: none; }
  .movie-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .movie-viewport::-webkit-scrollbar { display: none; }
  .movie-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

/* ── 3ポイント ── */
.student-points {
  margin-top: 2.5rem;
}
.student-point {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-top: 1px solid var(--color-gray);
}
.student-point:last-child { border-bottom: 1px solid var(--color-gray); }
.student-point-num {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--color-primary);
  opacity: .2;
  line-height: 1;
  flex-shrink: 0;
  width: 3.5rem;
  padding-top: .1rem;
}
.student-point-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.student-point-desc {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}
@media (max-width: 540px) {
  .student-point { gap: 1.25rem; }
  .student-point-num { font-size: 2rem; width: 2.5rem; }
}

/* Overview 2-col */
.service-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .service-overview { grid-template-columns: 1fr 1fr; } }

.service-overview-text { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.95; }
.service-overview-highlights { display: flex; flex-direction: column; gap: 0.875rem; }

.highlight-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--color-light); border-radius: var(--border-radius); padding: 1rem 1.25rem;
}
.highlight-item i { color: var(--color-primary); margin-top: 0.15rem; flex-shrink: 0; }
.highlight-item-text { font-size: 0.88rem; line-height: 1.7; }
.highlight-item-title { font-weight: 700; margin-bottom: 0.2rem; font-size: 0.9rem; }

/* Feature grid */
.service-feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.125rem;
}
@media (min-width: 640px)  { .service-feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px)  { .service-feature-grid { grid-template-columns: repeat(3, 1fr); } }

.service-feature-card {
  background: var(--color-white); border: 1px solid var(--color-gray);
  border-radius: var(--border-radius); padding: 1.75rem 1.5rem; text-align: center;
}
.service-feature-icon {
  width: 52px; height: 52px; background: rgba(16,60,38,.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--color-primary); font-size: 1.25rem;
}
.service-feature-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-feature-desc  { font-size: 0.83rem; color: var(--color-text-muted); line-height: 1.75; }

/* Flow steps */
.service-flow { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.service-flow-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-gray);
  position: relative;
}
.service-flow-step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--color-primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700; font-family: var(--font-en);
}
.service-flow-title { font-weight: 700; margin-bottom: 0.25rem; }
.service-flow-desc  { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.75; }

/* ========================================
   CHAMPION SECTION
   ======================================== */
.champion-section {
  background: #fff;
  padding: 2rem 0 2.5rem !important;
}

/* 大会ラベル（全国大会・関東大会…） */
.champion-panel {
  margin-bottom: 2rem;
}
.champion-panel:last-of-type { margin-bottom: 0; }
.champion-panel-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: .6rem;
}

/* スライダー */
.champion-slider {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.champion-slider-track {
  display: flex;
  transition: transform .35s ease;
}
.champion-slider-track .champion-card {
  flex: 0 0 100%;
}

/* ドットインジケーター */
.champion-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .75rem;
}
.champion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--color-gray);
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.champion-dot.active { background: var(--color-primary); }

/* 左右矢印 */
.champion-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.champion-arrow:hover { background: rgba(0,0,0,.7); }
.champion-arrow--prev { left: .75rem; }
.champion-arrow--next { right: .75rem; }

/* カード */
.champion-card {
  border-radius: 6px;
  overflow: hidden;
}
.champion-card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  background-color: #1a2f1e;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
/* グラデーションオーバーレイ */
.champion-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,0)   35%,
    rgba(0,0,0,.7)  100%
  );
  pointer-events: none;
}
.champion-card-photo--empty {
  background-image: linear-gradient(160deg, #1a3020 0%, #080f0a 100%);
}
.champion-card-pending {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255,255,255,.35);
}
.champion-card-pending i { font-size: 1.6rem; }
.champion-card-pending p {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 写真上のバッジ */
.champion-badge {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  background: #c8922a;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 3px;
}

/* 写真下のテキスト */
.champion-card-info {
  position: relative;
  z-index: 1;
}
.champion-card-year {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  background: rgba(0,0,0,.35);
  padding: .2rem .55rem;
  border-radius: 3px;
}
.champion-card-name {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.champion-card-award {
  font-size: .78rem;
  font-weight: 600;
  color: #c8922a;
  margin-bottom: .4rem;
}
.champion-card-comment {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* ========================================
   TEAMS PAGE
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}
@media (min-width: 480px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .team-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── チームカテゴリ番号付き見出しリンク（teams.html） ── */
.teams-category-links {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
}
.teams-category-link {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-gray);
  text-decoration: none;
  color: var(--color-text);
  transition: color .25s;
}
.teams-category-links .teams-category-link:first-child {
  border-top: 1px solid var(--color-gray);
}
.teams-category-num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-text-muted);
  min-width: 1.8rem;
  padding-top: .15em;
}
.teams-category-name {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.1;
}
.teams-category-arrow {
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.teams-category-link:hover {
  color: var(--color-primary);
}
.teams-category-link:hover .teams-category-arrow {
  opacity: 1;
  transform: translateX(0);
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.team-card-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.625rem; border-radius: 100px;
  margin-bottom: 0.875rem;
}
.badge-company { background: rgba(16,60,38,.1);  color: var(--color-primary); }
.badge-league  { background: rgba(0,100,200,.1);  color: #0064c8; }
.badge-student { background: rgba(180,100,0,.1);  color: #b46400; }
.badge-soccer  { background: rgba(120,0,180,.1);  color: #7800b4; }

.team-card-name    { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.team-card-comment { font-size: 0.82rem; color: var(--color-text-muted); line-height: 1.7; }

/* 写真付きカード */
.team-card { padding: 0; overflow: hidden; }
.team-card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-gray);
}
.team-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.04); }
.team-card-photo--empty {
  background: linear-gradient(135deg, var(--color-gray) 0%, #e0e0e0 100%);
}
.team-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
}
.team-card-body .team-card-badge { margin-bottom: 0.6rem; }
.team-card-body .team-card-name  { margin-bottom: 0.4rem; }

/* ローディング・空状態 */
#teams-loading,
.teams-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 3rem 0;
  font-size: .9rem;
  grid-column: 1 / -1;
}

/* ========================================
   MISSION STATEMENT
   ======================================== */

.mission-statement {
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

/* ========================================
   LEAGUE PAGE
   ======================================== */

.league-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .league-grid { grid-template-columns: 1fr 1fr; }
}

.league-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  border: 1px solid #cdd8d2;
  border-radius: var(--border-radius);
  background: var(--color-light);
}

.league-card-label {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: #cdd8d2;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.league-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.league-card-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.league-card-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 2rem;
}

.league-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── 順位表 ── */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}
.standings-table thead tr {
  background: var(--color-primary);
  color: #fff;
}
.standings-table thead th {
  padding: 0.75rem 0.6rem;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}
.standings-table thead th.standings-team { text-align: left; }
.standings-table tbody td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--color-gray);
  text-align: center;
}
.standings-table tbody td.standings-team {
  text-align: left;
  font-weight: 500;
}
.standings-table tbody tr:nth-child(even) { background: var(--color-light); }
.standings-table tbody tr:hover { background: rgba(16,60,38,.06); }
.standings-table .standings-rank { color: var(--color-text-muted); font-weight: 600; }
.standings-table .standings-pts  { font-weight: 700; color: var(--color-primary); }

/* ── League Tabs ── */
.league-tabs {
  display: flex;
  gap: .5rem;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
  margin-bottom: 0;
}
.league-tab-btn {
  padding: .65rem 2rem;
  border: none;
  background: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.league-tab-btn:hover { color: var(--color-primary); }
.league-tab-btn.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ── League Region Badge ── */
.league-region-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: #C9A534;
  color: var(--color-primary);
  padding: .25em .85em;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: .6rem;
}

/* ── League Data Loading / Empty ── */
.league-loading,
.league-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-text-muted);
  font-size: .9rem;
}
.league-loading .fa-spinner { margin-right: .4rem; }

/* ── League Team Grid ── */
.league-team-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
}
.league-team-grid .league-team-card {
  flex: 0 0 72vw;
  max-width: 260px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .league-team-grid .league-team-card {
    flex: 0 0 220px;
    max-width: 220px;
  }
}
.league-team-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-light);
  border: 1px solid var(--color-border);
}
.league-team-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ede9;
}
.league-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.league-team-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  font-size: 2rem;
}
.league-team-body {
  padding: 1rem 1.1rem 1.2rem;
}
.league-team-univ {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin-bottom: .25rem;
}
.league-team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .4rem;
}
.league-team-comment {
  font-size: .8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ========================================
   COMPANY PAGE
   ======================================== */
.company-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.company-table th,
.company-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--color-gray); text-align: left; vertical-align: top; }
.company-table th  { font-weight: 600; color: var(--color-primary); background: var(--color-light); width: 28%; white-space: nowrap; }

@media (max-width: 540px) {
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table th { padding-bottom: 0.375rem; white-space: normal; border-bottom: none; }
  .company-table td { padding-top: 0.25rem; border-bottom: none; }
  .company-table tr { display: block; border-bottom: 1px solid var(--color-gray); padding: 0.625rem 0; }
}

/* Mission/Value cards */
.mv-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 860px; margin: 2.5rem auto 0; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 2fr 1fr; } }

.mv-card {
  background: var(--color-white); border: 1px solid var(--color-gray);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--border-radius); padding: 2rem 1.75rem;
}
.mv-card-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; color: var(--color-primary); text-transform: uppercase; font-family: var(--font-en); margin-bottom: 0.875rem; }
.mv-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.55; }
.mv-card-text  { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.9; }

/* ========================================
   RECRUIT PAGES（共通）
   ======================================== */
.apply-section { text-align: center; }
.apply-note    { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1.5rem; line-height: 1.8; }

/* ========================================
   NEWS ENTRY LIST（テキストリスト形式）
   ======================================== */

.news-entries {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-gray);
}
.news-entry {
  border-bottom: 1px solid var(--color-gray);
}
.news-entry-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem 0.55rem;
  width: 100%;
  min-height: 72px;
  padding: 1rem 2.5rem;   /* 右に矢印スペース確保 */
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  transition: background var(--transition);
  position: relative;
}
.news-entry-summary:hover {
  background: var(--color-light);
  border-radius: 6px;
}
.news-entry-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  white-space: nowrap;
  flex-shrink: 0;
}
/* タイトルを2行目に単独表示・中央揃え */
.news-entry-title {
  flex-basis: 100%;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
}
.news-entry-arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 0.72rem;
  transition: transform var(--transition);
}
.news-entry-summary:hover .news-entry-arrow {
  transform: translateY(-50%) translateX(3px);
}
.news-more-btn {
  display: block;
  margin: 1.5rem auto 2.5rem;
}

/* ========================================
   NEWS MODAL
   ======================================== */

.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1060;
  display: flex;
  align-items: flex-end; /* mobile: ボトムシート */
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.news-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.news-modal-panel {
  background: var(--color-white);
  width: 100%;
  max-height: 92dvh;
  border-radius: 1rem 1rem 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.news-modal-overlay.is-open .news-modal-panel {
  transform: translateY(0);
}

/* Desktop: 中央ダイアログ */
@media (min-width: 768px) {
  .news-modal-overlay { align-items: center; }
  .news-modal-panel {
    width: 90%;
    max-width: 680px;
    max-height: 88vh;
    border-radius: var(--border-radius);
    transform: scale(0.95);
  }
  .news-modal-overlay.is-open .news-modal-panel {
    transform: scale(1);
  }
}

.news-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-gray);
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 1;
}
.news-modal-topbar-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: var(--font-en);
}
.news-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: background var(--transition);
}
.news-modal-close:hover { background: var(--color-gray); }

.news-modal-img {
  width: 100%;
  background: var(--color-light);
}
.news-modal-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.news-modal-body {
  padding: 1.5rem 1.375rem 2.5rem;
}
.news-modal-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.news-modal-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-family: var(--font-en);
  white-space: nowrap;
}
.news-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.news-modal-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text);
}
.news-modal-text p { margin-bottom: 1rem; }
.news-modal-text p:last-child { margin-bottom: 0; }
.news-modal-text ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.news-modal-text li { margin-bottom: 0.3rem; }
.news-modal-link {
  margin-top: 1.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .news-modal-body { padding: 2rem 2.5rem 3rem; }
  .news-modal-title { font-size: 1.3rem; }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-lead   { max-width: 600px; margin: 0 auto 2.5rem; text-align: center; font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.9; }
.contact-form   { max-width: 680px; margin: 0 auto; }
.form-group     { margin-bottom: 1.5rem; }
.form-label     { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-label .required { color: var(--color-error); font-size: 0.72rem; margin-left: 0.25rem; font-weight: 600; }
.form-label .optional { color: var(--color-text-muted); font-size: 0.72rem; margin-left: 0.25rem; }
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray); border-radius: var(--border-radius);
  font-size: 0.95rem; font-family: inherit; color: var(--color-text);
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(16,60,38,.1); }
.form-control.is-error { border-color: var(--color-error); }
textarea.form-control { resize: vertical; min-height: 160px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-error { color: var(--color-error); font-size: 0.8rem; margin-top: 0.375rem; display: none; }
.form-error.is-visible { display: block; }
.honeypot-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }
.submit-btn {
  width: 100%; padding: 1rem; background: var(--color-primary); color: #fff;
  font-size: 1rem; font-weight: 700; border-radius: var(--border-radius);
  transition: background var(--transition), opacity var(--transition); font-family: inherit; cursor: pointer;
}
.submit-btn:hover:not(:disabled) { background: var(--color-primary-light); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.form-result { padding: 1.25rem; border-radius: var(--border-radius); margin-top: 1.5rem; font-size: 0.9rem; display: none; line-height: 1.7; }
.form-result.is-visible { display: block; }
.form-result--success { background: rgba(40,167,69,.08); border: 1px solid rgba(40,167,69,.3); color: #1a6630; }
.form-result--error   { background: rgba(220,53,69,.08); border: 1px solid rgba(220,53,69,.3); color: #b02020; }

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

/* ---- Mobile base (〜767px) ---- */
@media (max-width: 767px) {
  .section { padding: 2.75rem 0; }
  .page-hero { padding: 2.25rem 1.25rem 2rem; }

  /* CTA セクション縮小 */
  .section-title { font-size: 1.1rem; }
  .section-lead  { font-size: .82rem; }
  .btn           { font-size: .8rem; padding: .6rem 1.25rem; }
  .btn-group     { gap: .5rem; }

  /* champion card モバイル縮小 */
  .champion-card-photo { padding: .75rem; }
  .champion-card-name  { font-size: 1.05rem; margin-bottom: .25rem; }
  .champion-card-award { font-size: .68rem; margin-bottom: .2rem; }
  .champion-card-comment { font-size: .68rem; }
  .champion-card-year  { font-size: .62rem; top: .6rem; left: .6rem; padding: .15rem .4rem; }
  .champion-badge      { font-size: .55rem; padding: .2rem .45rem; }

  /* ── モバイル スライドショー ──
     ぼかし背景なし・画像全体表示・インジケーターバー非表示 */

  /* コンテナの高さを画像に任せる */
  .hero-slideshow { height: auto; }
  .slide-track { aspect-ratio: unset; flex: none; }

  /* スライドをフロー配置に切替（activeのみ表示） */
  .slide         { position: static; display: none; opacity: 1; transition: none; }
  .slide.is-active { display: flex; }

  /* ぼかし背景を非表示 */
  .slide-bg { display: none; }

  /* モバイルドットを表示 */
  .slide-dots { display: flex; }

  /* 画像を幅100%・縦横比そのまま表示 */
  .slide-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    box-shadow: none;
  }

  /* インジケーターバーを非表示 */
  .slide-bar { display: none; }

  /* 矢印ボタン（小さめ） */
  .slide-prev,
  .slide-next { font-size: 1.7rem; }
  .slide-prev { left: 0.5rem; }
  .slide-next { right: 0.5rem; }

  /* スライド上の応募ボタンはモバイルでは非表示（固定ボタンを使用） */
  .slide-apply-wrap { display: none; }

  /* ニュース: 左寄せ + タイトルを1行に収める */
  .news-entry-summary { padding: 0.875rem 2rem 0.875rem 0; }
  .news-entry-title {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ニュースセクションのヘッダー */
  .section-title { font-size: 1.25rem; }

  /* フィルターボタングループを横スクロール可能に */
  .filter-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    margin-bottom: 1.5rem;
  }
  .filter-buttons::-webkit-scrollbar { display: none; }
  .filter-buttons .filter-btn {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    min-height: 26px;
  }

  /* バナーカードのパディング調整 */
  .banner-card { padding: 1.75rem 1.25rem; }
  .banner-card-title { font-size: 1rem; }

  /* リクルートリスト */
  .recruit-item { gap: 1rem; padding: 1.5rem 0; }
  .recruit-item-num { font-size: 1.75rem; min-width: 2.5rem; }
  .recruit-item-title { font-size: 1.05rem; }

  /* 採用CTA */
  .recruit-cta-lead { font-size: 0.9rem; }
  .btn-lg { padding: 0.9rem 2rem; font-size: 0.95rem; }

  /* サービスカード */
  .service-card { padding: 1.5rem 1.25rem; }

  /* 大会フィルター */
  .tournament-filters { padding: 1rem; gap: 0.75rem; }
  .tournament-filter-group {
    gap: 0.3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tournament-filter-group::-webkit-scrollbar { display: none; }
  .tournament-filter-label { min-width: 2.75rem; font-size: 0.68rem; }
  .tournament-filter-group .filter-btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    min-height: 32px;
  }
  .tournament-section-header { flex-wrap: wrap; gap: 0.375rem; }
  .tournament-section-title { font-size: 0.9rem; }
}

/* ---- Tablet (768px〜) ---- */
@media (min-width: 768px) {
  :root { --container-padding: 2rem; }
  .section { padding: 5rem 0; }
  .section-title { font-size: 1.75rem; }
}

/* ---- Desktop (1024px〜) ---- */
@media (min-width: 1024px) {
  :root { --container-padding: 2.5rem; }
  .section { padding: 6rem 0; }
}

/* ========================================
   LIGHT THEME — 白ベース・緑アクセント
   ヘッダー / hero / フッターは緑を維持
   コンテンツ領域は白 + 緑アクセント
   ======================================== */

/* ---------- フィルターボタン ---------- */
.filter-btn { border-color: #b0c4b8; color: #3d5c4a; background: transparent; }
.filter-btn:hover  { border-color: var(--color-primary); color: var(--color-primary); background: rgba(16,60,38,.05); }
.filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ---------- ニュースタグ ---------- */
.news-tag.category-tournament { background: rgba(16,60,38,.1);  color: #103c26; }
.news-tag.category-notice     { background: rgba(0,70,160,.08); color: #004fa0; }
.news-tag.category-media      { background: rgba(140,70,0,.08); color: #8c4600; }

/* ---------- ニュースエントリーリスト ---------- */
.news-entry-summary { color: var(--color-text); }
.news-entry-summary:hover { background: rgba(16,60,38,.04); }
.news-entry-arrow { color: #a0b8ac; }

/* ---------- SNSセクション ---------- */
.sns-link { color: #4a7060; }
.sns-link:hover { color: var(--color-primary); opacity: 1; }

/* ---------- 大会フィルター ---------- */
.ts-badge--age   { background: rgba(16,60,38,.1); color: #103c26; }
.ts-badge--level { background: #f0f5f2; color: #637a6c; border-color: #cdd8d2; }

/* ---------- タブボタン ---------- */
.tab-btn { color: #94b0a2; border-color: transparent; }
.tab-btn:hover  { color: var(--color-primary); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ---------- サービスページ共通 ---------- */
.highlight-item   { background: rgba(16,60,38,.05); }
.highlight-item i { color: var(--color-primary); }
.service-feature-icon { background: rgba(16,60,38,.08); color: var(--color-primary); }
.service-flow-step::before { background: #f0f5f2; border: 1.5px solid var(--color-primary); color: var(--color-primary); }

/* ---------- チームカード ---------- */
.badge-company { background: rgba(16,60,38,.1);  color: #103c26; }
.badge-league  { background: rgba(0,70,180,.08);  color: #0046b4; }
.badge-student { background: rgba(140,90,0,.08);  color: #8c5a00; }
.badge-soccer  { background: rgba(100,0,160,.08); color: #6400a0; }

/* ---------- 会社概要 ---------- */
.company-table th { background: #f0f5f2; color: var(--color-primary); }

/* ---------- ニュースモーダル（白・読みやすい） ---------- */
.news-modal-panel        { background: #fff; color: var(--color-text); }
.news-modal-topbar       { background: #fff; border-color: #dde8e2; }
.news-modal-topbar-label { color: #7a9a87; }
.news-modal-close        { background: #eef3f0; color: #3d5c4a; }
.news-modal-close:hover  { background: #d8e8de; }
.news-modal-img          { background: #eef3f0; }
.news-modal-date         { color: var(--color-text-muted); }
.news-modal-title        { color: var(--color-text); }
.news-modal-text         { color: #3a4a3f; }
.news-modal-content-wrap .news-tag.category-tournament { background: rgba(16,60,38,.1);  color: #103c26; }
.news-modal-content-wrap .news-tag.category-notice     { background: rgba(0,70,160,.08); color: #004fa0; }
.news-modal-content-wrap .news-tag.category-media      { background: rgba(140,70,0,.08); color: #8c4600; }

/* ---------- お問い合わせフォーム ---------- */
.submit-btn            { background: var(--color-primary); color: #fff; }
.submit-btn:hover:not(:disabled) { background: var(--color-primary-light); }

/* ========================================
   TEAMS SCROLL（参加チーム 無限スクロール）
   ======================================== */

/* キーフレーム：左に1セット分スクロール → 瞬間リセット */
@keyframes teams-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ラッパー：はみ出し非表示 */
.teams-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

/* トラック：6枚を横並びで流す */
.teams-scroll-track {
  display: flex;
  width: max-content;
  animation: teams-marquee 40s linear infinite;
}

/* 各画像アイテム */
.teams-scroll-item {
  flex-shrink: 0;
  width: clamp(260px, 28vw, 420px);
  margin-right: 1.25rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.teams-scroll-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* もっと見る リンク（右寄せ） */
.teams-scroll-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .teams-scroll-item img {
    height: 260px;
  }
}

/* ========================================
   ページローディング画面
   ======================================== */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: loading-fadeout 0.5s ease 1.3s forwards;
}
.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  animation: loading-content-in 0.5s ease 0.1s both;
}
.loading-logo-img {
  width: clamp(64px, 14vw, 96px);
  height: auto;
}
.loading-logo-text {
  color: rgba(255,255,255,.9);
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.loading-bar {
  width: 40px;
  height: 2px;
  background: rgba(201,165,52,.5);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: #C9A534;
  animation: loading-bar-fill 1s ease 0.3s both;
}
@keyframes loading-content-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loading-fadeout {
  to { opacity: 0; visibility: hidden; }
}
@keyframes loading-bar-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ========================================
   ライトボックス（champion-card 拡大表示）
   ======================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img-wrap {
  position: relative;
  max-width: min(90vw, 720px);
  max-height: 80vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  transform: scale(0.92);
  transition: transform 0.28s ease;
}
.lightbox-overlay.is-open .lightbox-img-wrap {
  transform: scale(1);
}
.lightbox-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: rgba(255,255,255,.9);
}
.lightbox-caption-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lightbox-caption-award {
  font-size: 0.82rem;
  color: #C9A534;
  margin-top: 0.2rem;
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
/* タップ可能と示すカーソル */
.champion-card-photo:not(.champion-card-photo--empty) { cursor: zoom-in; }

/* ========================================
   追従型大会応募CTA
   ======================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 0.9rem 1rem 1.2rem;
  background: linear-gradient(to top, rgba(255,255,255,0.97) 70%, rgba(255,255,255,0));
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sticky-cta--hidden,
.sticky-cta--top {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.sticky-cta-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(16,60,38,.25);
  transition: background 0.2s, transform 0.2s;
}
.sticky-cta-btn:hover {
  background: #1a5c3a;
  transform: translateY(-2px);
}

/* ========================================
   スクロールアニメーション
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* グリッド内の子要素をずらして登場させる */
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}
