/* ===========================
   URASS - Urawa Reds Academy Soccer School Vietnam
   浦和レッズ公式ブランド準拠スタイルシート
   v5 - 2026-04-03
   =========================== */

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* 浦和レッズ公式ブランドカラー */
  --reds-primary:   #D30D20;   /* 新バナー画像実測平均値に完全統一 */
  --reds-dark:      #A50A19;   /* ダークレッド（ホバー等） */
  --reds-light:     #E8314F;   /* ライトレッド（アクセント） */
  --reds-black:     #1A1A1A;   /* ほぼブラック（テキスト） */
  --reds-white:     #FFFFFF;
  --reds-offwhite:  #F0F0F0;   /* ライトグレー背景（実サイトの背景色） */
  --reds-gray-bg:   #EBEBEB;
  --reds-gray-100:  #F7F7F7;
  --reds-gray-200:  #E5E5E5;
  --reds-gray-400:  #AAAAAA;
  --reds-gray-600:  #666666;
  --reds-gray-800:  #333333;
  --reds-navy:      #1A1A2E;   /* ダークネイビー（フッター等） */

  /* フォント（実サイトに合わせた和文・欧文） */
  --font-en: 'Barlow Condensed', 'Oswald', 'Montserrat', sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

  /* シャドウ・アニメーション */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.15);
  --radius:     4px;
  --radius-btn: 3px;
  --transition: 0.25s ease;
}

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

body {
  font-family: var(--font-ja);
  color: var(--reds-black);
  background: var(--reds-offwhite);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ===========================
   ヘッダー / ナビゲーション
   （実サイト完全準拠）
   =========================== */
#header {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  background: var(--reds-primary);
  height: 108px;
  display: flex; align-items: center;
}
#header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;        /* 上下中央 */
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ロゴエリア */
.header-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: block;
  height: 108px;            /* ヘッダーと完全同一高さ */
  width: 500px;             /* バナー横幅 */
  /* バナー画像をCSSで背景として描画 → 余白なし・色統一 */
  background-image: url('../images/urass-header-logo.png?v=2');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: var(--reds-primary); /* 余白部分をヘッダー色で埋める */
}
.header-logo-img {
  /* imgタグは非表示にしてCSS背景画像で表示 */
  display: none;
}
.header-logo-emblem {
  height: 34px;
  width: auto;
  display: block;
}
.header-logo-text {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--reds-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

/* ナビゲーション */
.nav {
  display: flex; align-items: center; gap: 0;
}
.nav-link {
  color: var(--reds-white);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0 16px;
  height: 56px;
  display: flex; align-items: center;
  transition: background var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  background: rgba(0,0,0,0.15);
}
.nav-link.active {
  background: rgba(0,0,0,0.2);
}

/* 言語切り替え */
/* 言語切り替えグループ */
.nav-lang-group {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  overflow: hidden;
}
.nav-lang {
  color: var(--reds-white);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0 10px;
  height: 32px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7;
  transition: background var(--transition), opacity var(--transition);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.nav-lang:last-child { border-right: none; }
.nav-lang:hover { opacity: 1; background: rgba(255,255,255,0.15); }
.nav-lang.active-lang {
  background: rgba(255,255,255,0.22);
  opacity: 1;
  font-weight: 900;
}

/* Join us ボタン */
.nav-join {
  background: var(--reds-white);
  color: var(--reds-primary) !important;
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 7px 18px !important;
  border-radius: 3px;
  height: auto !important;
  margin-left: 8px;
  transition: all var(--transition);
  display: flex; align-items: center;
}
.nav-join:hover {
  background: var(--reds-black) !important;
  color: var(--reds-white) !important;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 26px; cursor: pointer; padding: 4px 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2px; background: var(--reds-white);
  border-radius: 2px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed; top: 56px; left: 0; right: 0;
  background: var(--reds-primary);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 8px;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block; height: auto;
  padding: 13px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu .nav-join {
  display: block; margin: 14px 24px; text-align: center;
  padding: 11px 18px !important;
}

/* ===========================
   コンテナ・共通レイアウト
   =========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section--white  { background: var(--reds-white); }
.section--gray   { background: var(--reds-offwhite); }
.section--dark   { background: var(--reds-navy); }
.section--red    { background: var(--reds-primary); }

/* ===========================
   セクションタイトル（共通）
   =========================== */
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reds-primary);
  margin-bottom: 10px;
}
.section-eyebrow--white { color: rgba(255,255,255,0.7); }
.section-title {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--reds-black);
  letter-spacing: 0.03em;
  line-height: 1.25;
}
.section-title--white { color: var(--reds-white); }
.section-title--red   { color: var(--reds-primary); }
.section-rule {
  width: 40px; height: 3px;
  background: var(--reds-primary);
  margin: 14px auto 0;
}
.section-rule--white { background: var(--reds-white); }

/* ===========================
   ボタン
   =========================== */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--reds-primary);
  color: var(--reds-white);
  border-color: var(--reds-primary);
}
.btn--primary:hover {
  background: var(--reds-dark);
  border-color: var(--reds-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,16,46,0.4);
}
.btn--white {
  background: var(--reds-white);
  color: var(--reds-primary);
  border-color: var(--reds-white);
}
.btn--white:hover {
  background: transparent;
  color: var(--reds-white);
}
.btn--outline-white {
  background: transparent;
  color: var(--reds-white);
  border-color: var(--reds-white);
}
.btn--outline-white:hover {
  background: var(--reds-white);
  color: var(--reds-primary);
}
.btn--outline-red {
  background: transparent;
  color: var(--reds-primary);
  border-color: var(--reds-primary);
}
.btn--outline-red:hover {
  background: var(--reds-primary);
  color: var(--reds-white);
}
.btn--sm { padding: 8px 18px; font-size: 0.78rem; }
.btn--lg { padding: 15px 36px; font-size: 0.95rem; }

/* ===========================
   ヒーローセクション
   =========================== */
#hero {
  background: var(--reds-offwhite);
  padding-top: 108px; /* ヘッダー分オフセット */
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center 30%/cover no-repeat;
}
.hero-center {
  position: relative; z-index: 1;
  text-align: center;
  padding: 60px 24px;
}
/* 実サイト準拠：中央に大きなロゴ＋テキスト */
.hero-logo {
  width: min(340px, 80vw);
  height: auto;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}
.hero-emblem {
  width: 90px; height: auto;
  margin: 0 auto 20px;
}
.hero-brand-name {
  font-family: var(--font-en);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--reds-black);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.hero-school-name {
  font-family: var(--font-ja);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--reds-black);
  margin-bottom: 6px;
}
.hero-location {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--reds-black);
  margin-bottom: 36px;
}
/* ヒーロー キャッチコピー */
.hero-tagline {
  margin-bottom: 36px;
}
.hero-tagline-main {
  font-family: var(--font-ja);
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 700;
  color: var(--reds-black);
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.hero-tagline-sub {
  font-family: var(--font-ja);
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  font-weight: 400;
  color: var(--reds-gray-600);
  line-height: 1.6;
}

.hero-cta-group {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
/* 3ボタンを同じ幅に揃える（デスクトップ） */
.btn--hero {
  width: 248px;
  justify-content: center;
}
.hero-cta-group .urawa-reds-mini-banner {
  width: 248px;
  min-height: 54px;
  justify-content: center;
  box-sizing: border-box;
}
.hero-cta-group .urawa-reds-mini-emblem {
  height: 32px;
}

/* ===========================
   お知らせバー（ティッカー）
   =========================== */
.news-ticker {
  background: var(--reds-primary);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; }
.ticker-label {
  flex-shrink: 0;
  background: var(--reds-dark);
  color: var(--reds-white);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 16px;
  margin-right: 20px;
  white-space: nowrap;
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-track {
  display: inline-flex; gap: 80px;
  animation: ticker 60s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
}
.ticker-item:link,
.ticker-item:visited,
.ticker-item:hover,
.ticker-item:active {
  color: #fff;
  text-decoration: none;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===========================
   統計バー（ヒーロー下）
   =========================== */
.stats-bar {
  background: var(--reds-black);
  padding: 28px 0;
}
.stats-inner {
  display: flex; justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  padding: 10px 48px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-en);
  font-size: 2.2rem; font-weight: 900;
  color: var(--reds-white);
  line-height: 1;
}
.stat-num-unit {
  font-size: 1rem;
  color: var(--reds-primary);
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  letter-spacing: 0.06em;
  font-family: var(--font-en);
  text-transform: uppercase;
}

/* ===========================
   スクール紹介カード
   =========================== */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.school-card {
  background: var(--reds-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--reds-gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.school-card-img {
  height: 200px; overflow: hidden;
  position: relative;
}
.school-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.school-card:hover .school-card-img img { transform: scale(1.04); }
.school-card-status {
  position: absolute; top: 12px; left: 12px;
  background: var(--reds-primary);
  color: var(--reds-white);
  font-family: var(--font-en);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.school-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.school-card-body h3 {
  font-size: 1.1rem; font-weight: 800;
  margin-bottom: 14px;
  color: var(--reds-black);
}
.school-info-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem; color: var(--reds-gray-800);
  padding: 7px 0;
  border-bottom: 1px solid var(--reds-gray-200);
}
.school-info-list li:last-child { border-bottom: none; }
.info-icon { color: var(--reds-primary); width: 15px; flex-shrink: 0; margin-top: 2px; font-size: 0.82rem; }
/* 無料体験バナーボタン */
.school-trial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px 24px;
  background: var(--reds-primary);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  border-radius: var(--radius-btn);
  border: 2px solid var(--reds-primary);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(200,16,46,0.35);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-sizing: border-box;
}
.school-trial-btn:hover {
  background: var(--reds-dark);
  border-color: var(--reds-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,16,46,0.45);
}
.school-trial-btn i {
  font-size: 0.95rem;
}

.school-fee-row {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--reds-gray-200);
}
.fee-num {
  font-family: var(--font-en);
  font-size: 1.5rem; font-weight: 900;
  color: var(--reds-primary);
}
.fee-unit { font-size: 0.78rem; color: var(--reds-gray-600); }

/* ===========================
   特徴セクション（ダーク背景）
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  border-top-color: var(--reds-primary);
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  color: var(--reds-white);
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem; line-height: 1.7;
}

/* ===========================
   ニュースカード
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}
.news-card {
  background: var(--reds-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--reds-gray-200);
  transition: all var(--transition);
  cursor: pointer;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card-img {
  height: 172px; overflow: hidden;
  background: var(--reds-gray-200);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: 18px 20px; }
.news-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.news-cat {
  font-family: var(--font-en);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
}
.news-cat--info   { background: #E8F3FB; color: #1560A0; }
.news-cat--match  { background: #FDEAED; color: var(--reds-primary); }
.news-cat--event  { background: #E8F8EE; color: #147A40; }
.news-cat--school { background: #FDF5E8; color: #A06010; }
.news-cat--media  { background: #F0EAFD; color: #601AA0; }
.news-date { font-family: var(--font-en); font-size: 0.76rem; color: var(--reds-gray-400); }
.news-card-body h3 { font-size: 0.9rem; font-weight: 700; line-height: 1.5; color: var(--reds-gray-800); }

/* ===========================
   コーチカード
   =========================== */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}
.coach-card {
  background: var(--reds-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--reds-gray-200);
  text-align: left;
  transition: all var(--transition);
}
.coach-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.coach-img {
  overflow: hidden;
  aspect-ratio: 1 / 1.2;
  position: relative;
  background: #1e1010;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coach-img img,
.coach-img canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* 吉田さんのみ（縦長写真・グレー背景） */
.coach-img--cover {
  aspect-ratio: 1 / 1.2;
  background: #f0f0f0;
}
.coach-img--cover img {
  object-fit: cover;
  object-position: center top;
}
.coach-img--cover canvas {
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
  display: block;
}

.coach-body { padding: 18px 16px; }
.coach-body h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 4px; }
.coach-role { font-size: 0.78rem; color: var(--reds-primary); font-weight: 700; margin-bottom: 8px; }
.coach-career {
  font-size: 0.75rem;
  color: var(--reds-gray-600);
  line-height: 1.65;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--reds-gray-200);
}
.coach-career li {
  list-style: none;
  padding-left: 0;
  margin-bottom: 3px;
}
.coach-career .career-year {
  color: var(--reds-primary);
  font-weight: 600;
  margin-right: 4px;
}

/* ===========================
   ギャラリー
   =========================== */
/* ─── フォトギャラリー：2列均一グリッド ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 280px;
  gap: 8px;
}
.gallery-item {
  overflow: hidden; border-radius: var(--radius);
  background: var(--reds-gray-200);
  cursor: pointer; position: relative;
  /* 全アイテム均一サイズ：spanなし */
}

/* 全写真共通：顔が上に来るよう object-position 設定 */
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(200,16,46,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  color: var(--reds-white); font-size: 1.8rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===========================
   体験申込CTA（赤背景）
   =========================== */
#trial {
  background: var(--reds-primary);
  padding: 72px 0;
  position: relative; overflow: hidden;
  text-align: center;
}
#trial::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/trial-bg.jpg') center/cover;
  opacity: 0.07;
}
.trial-inner { position: relative; z-index: 1; }
.trial-inner h2 {
  color: var(--reds-white);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800; margin-bottom: 12px;
}
.trial-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem; margin-bottom: 32px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.trial-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   フッター
   =========================== */
#footer {
  background: var(--reds-primary);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-logo-area { margin-bottom: 14px; }
.footer-school-logo {
  width: 200px;
  height: auto;
  display: block;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transition: opacity 0.3s ease;
}
.footer-emblem-wrap:hover .footer-school-logo {
  opacity: 0.88;
}
.footer-emblem-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-emblem-img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-emblem-text-block {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-emblem-line1 {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.footer-emblem-line2 {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.footer-emblem-line3 {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.footer-emblem-wrap:hover .footer-emblem-img {
  opacity: 0.85;
  transform: scale(1.03);
}
.footer-emblem-text {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--reds-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.footer-about { font-size: 0.83rem; line-height: 1.8; max-width: 250px; }
.footer-title {
  color: var(--reds-white);
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 0.83rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--reds-light); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.83rem; margin-bottom: 10px;
}
.footer-contact-item i { color: rgba(255,255,255,0.9); width: 15px; flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.social-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.25); color: var(--reds-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 0.75rem; }
.footer-langs { display: flex; gap: 8px; }
.footer-langs a {
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
}
.footer-langs a.active, .footer-langs a:hover {
  background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); color: var(--reds-white);
}

/* ===========================
   モーダル（ニュース詳細）
   =========================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.65);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--reds-white);
  border-radius: var(--radius);
  max-width: 660px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-header-img { height: 320px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #111; }
.modal-header-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.modal-body-inner { padding: 28px 30px 32px; }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.45);
  color: var(--reds-white);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; z-index: 10; cursor: pointer;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--reds-primary); }
.modal-title { font-size: 1.2rem; font-weight: 800; margin: 10px 0 8px; line-height: 1.4; }
.modal-content { margin-top: 18px; font-size: 0.9rem; line-height: 1.9; color: var(--reds-gray-600); }

/* ===========================
   ページヘッダー（サブページ共通）
   =========================== */
.page-hero {
  background: #2a2a2a;
  padding: 148px 0 48px;
  position: relative; overflow: hidden;
  border-top: 3px solid rgba(255, 255, 255, 0.55); /* ヘッダーとの白い仕切り線 */
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 {
  color: var(--reds-white);
  font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-en);
}
.breadcrumb a:hover { color: var(--reds-white); }
.bc-sep { opacity: 0.45; font-size: 0.6rem; }

/* ===========================
   フォーム
   =========================== */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px;
}
.form-label .req { color: var(--reds-primary); margin-left: 3px; font-size: 0.72rem; font-family: var(--font-en); }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--reds-gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem; font-family: var(--font-ja);
  background: var(--reds-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--reds-primary);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}
select.form-control {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px;
}
textarea.form-control { resize: vertical; min-height: 110px; }

/* ===========================
   アラート
   =========================== */
.alert {
  padding: 13px 16px; border-radius: var(--radius);
  font-size: 0.88rem; margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px;
}
.alert--success { background: #EAF6EF; color: #156B3A; border-left: 3px solid #156B3A; }
.alert--error   { background: #FDEAED; color: var(--reds-primary); border-left: 3px solid var(--reds-primary); }
.alert--info    { background: #E8F3FB; color: #1560A0; border-left: 3px solid #1560A0; }

/* ===========================
   ローディング
   =========================== */
.spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--reds-gray-200);
  border-top-color: var(--reds-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 36px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-box { text-align: center; padding: 48px 20px; }

/* ===========================
   FAQ アコーディオン（共通）
   =========================== */
.faq-item { border-bottom: 1px solid var(--reds-gray-200); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; cursor: pointer;
  font-weight: 700; font-size: 0.92rem;
  transition: background var(--transition);
  gap: 12px;
}
.faq-q:hover { background: var(--reds-gray-100); }
.faq-q-icon { color: var(--reds-primary); font-size: 0.85rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-a { display: none; padding: 0 20px 18px 46px; font-size: 0.88rem; color: var(--reds-gray-600); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q-icon { transform: rotate(180deg); }
.faq-q-num { color: var(--reds-primary); font-family: var(--font-en); font-weight: 900; font-size: 1.1rem; margin-right: 10px; flex-shrink: 0; }

/* ===========================
   スクロールアニメーション
   =========================== */
[data-aos] { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-aos].aos-visible { opacity: 1; transform: none; }
[data-aos][data-aos-delay="1"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="2"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="3"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="4"] { transition-delay: 0.4s; }

/* ===========================
   スクール紹介フッター（ボタン＋浦和レッズバナー）
   =========================== */
.schools-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* 浦和レッズ ミニバナー */
.urawa-reds-mini-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 14px;
  background: var(--reds-primary);
  border: 2px solid var(--reds-primary);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.urawa-reds-mini-banner:hover {
  background: var(--reds-dark);
  border-color: var(--reds-dark);
}
.urawa-reds-mini-emblem {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.urawa-reds-mini-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.urawa-reds-mini-label {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  transition: color var(--transition);
}
.urawa-reds-mini-banner:hover .urawa-reds-mini-label {
  color: rgba(255,255,255,0.75);
}
.urawa-reds-mini-title {
  font-family: var(--font-ja);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--reds-white);
  line-height: 1.2;
}
.urawa-reds-mini-icon {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-left: 4px;
  transition: color var(--transition);
}
.urawa-reds-mini-banner:hover .urawa-reds-mini-icon {
  color: var(--reds-white);
}

/* ===========================
   ページネーション
   =========================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--reds-gray-200);
  background: var(--reds-white);
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-size: 0.82rem; font-weight: 700;
  color: var(--reds-gray-600);
  cursor: pointer; transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--reds-primary); border-color: var(--reds-primary); color: var(--reds-white);
}

/* ===========================
   管理画面
   =========================== */
body.admin-body {
  background: #F0F2F5;
}
.admin-wrapper { display: flex; min-height: 100vh; }

/* サイドバー */
.admin-sidebar {
  width: 230px; flex-shrink: 0;
  background: var(--reds-navy);
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto; z-index: 200;
}
.admin-sidebar-head {
  background: var(--reds-primary);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 10px;
}
.admin-sidebar-head-logo {
  font-family: var(--font-en);
  font-size: 0.95rem; font-weight: 900;
  color: var(--reds-white); letter-spacing: 0.06em;
}
.admin-sidebar-head-sub {
  font-size: 0.68rem; color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.admin-nav-section {
  padding: 16px 0 6px;
  font-family: var(--font-en);
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding-left: 18px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  color: rgba(255,255,255,0.65);
  font-size: 0.86rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.admin-nav-item i { width: 16px; text-align: center; font-size: 0.85rem; }
.admin-nav-item:hover { color: var(--reds-white); background: rgba(255,255,255,0.05); }
.admin-nav-item.active { color: var(--reds-white); background: rgba(200,16,46,0.18); border-left-color: var(--reds-primary); }

/* メインコンテンツ */
.admin-main {
  flex: 1; margin-left: 230px;
  padding: 28px 32px;
  min-height: 100vh;
}
.admin-top-bar {
  background: var(--reds-white);
  border-bottom: 1px solid var(--reds-gray-200);
  padding: 0 32px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  position: fixed; top: 0; left: 230px; right: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.admin-top-title { font-size: 0.95rem; font-weight: 800; }
.admin-main-inner { padding-top: 52px; }

/* 管理カード */
.admin-card {
  background: var(--reds-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  border: 1px solid var(--reds-gray-200);
}
.admin-card-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--reds-gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-head h3 { font-size: 0.95rem; font-weight: 800; }
.admin-card-body { padding: 22px; }

/* 統計ウィジェット */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-bottom: 22px;
}
.stat-widget {
  background: var(--reds-white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--reds-gray-200);
  display: flex; align-items: center; gap: 14px;
}
.stat-widget-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.icon--red   { background: rgba(200,16,46,0.1);  color: var(--reds-primary); }
.icon--blue  { background: rgba(21,96,160,0.1);  color: #1560A0; }
.icon--green { background: rgba(21,106,58,0.1);  color: #156A3A; }
.icon--gold  { background: rgba(160,96,16,0.1);  color: #A06010; }
.stat-widget-val { font-family: var(--font-en); font-size: 1.8rem; font-weight: 900; line-height: 1; }
.stat-widget-lbl { font-size: 0.75rem; color: var(--reds-gray-400); margin-top: 3px; }

/* テーブル */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th {
  background: var(--reds-gray-100);
  padding: 9px 14px; text-align: left;
  font-family: var(--font-en); font-size: 0.7rem; font-weight: 800;
  color: var(--reds-gray-400); text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--reds-gray-100); vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--reds-gray-100); }

/* バッジ */
.badge {
  display: inline-block; padding: 3px 9px;
  border-radius: 2px; font-size: 0.7rem; font-weight: 700;
  font-family: var(--font-en); letter-spacing: 0.04em;
}
.badge--green  { background: #EAF6EF; color: #156B3A; }
.badge--red    { background: #FDEAED; color: var(--reds-primary); }
.badge--yellow { background: #FDF5E8; color: #A06010; }
.badge--blue   { background: #E8F3FB; color: #1560A0; }
.badge--gray   { background: var(--reds-gray-200); color: var(--reds-gray-600); }

/* アクションボタン */
.act-btn {
  padding: 4px 11px; border-radius: 2px;
  font-size: 0.76rem; font-weight: 700; cursor: pointer;
  transition: all var(--transition); border: none;
  font-family: var(--font-en); display: inline-flex; align-items: center; gap: 4px;
}
.act-btn--edit { background: #E8F3FB; color: #1560A0; }
.act-btn--edit:hover { background: #1560A0; color: var(--reds-white); }
.act-btn--del  { background: #FDEAED; color: var(--reds-primary); }
.act-btn--del:hover  { background: var(--reds-primary); color: var(--reds-white); }
.act-btn--view { background: var(--reds-gray-100); color: var(--reds-gray-600); }
.act-btn--view:hover { background: var(--reds-gray-600); color: var(--reds-white); }

/* 管理モーダル */
.admin-modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal {
  background: var(--reds-white);
  border-radius: var(--radius);
  max-width: 680px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.admin-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--reds-gray-200);
}
.admin-modal-head h3 { font-size: 1rem; font-weight: 800; }
.admin-modal-body { padding: 22px; }
.admin-modal-foot {
  padding: 14px 22px; border-top: 1px solid var(--reds-gray-200);
  display: flex; justify-content: flex-end; gap: 10px;
}
.admin-alert-area { margin: 0 0 16px; }

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  /* 全アイテム均一サイズ：960px以下 */
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; }
  .admin-top-bar { left: 200px; }
}
@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  /* 全アイテム均一サイズ：680px以下 */
  .stats-inner { flex-direction: column; align-items: center; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; padding: 12px 20px; }
  .stat-item:last-child { border-bottom: none; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 16px; }
  .admin-top-bar { left: 0; }
}

/* ===========================
   活動内容テーブル (school.html)
   =========================== */
.activities-title {
  font-family: var(--font-ja);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--reds-black);
  margin-bottom: 16px;
}
.activities-desc {
  font-family: var(--font-ja);
  font-size: 0.92rem;
  color: var(--reds-gray-600);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 640px;
}
.activities-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--reds-gray-200);
}
.activities-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ja);
  font-size: 0.9rem;
  background: var(--reds-white);
}
.activities-table thead tr {
  background: var(--reds-primary);
  color: #fff;
}
.activities-table th {
  padding: 14px 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.activities-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--reds-gray-200);
  color: var(--reds-black);
}
.activities-table tbody tr:last-child td {
  border-bottom: none;
}
.activities-table tbody tr:nth-child(odd) {
  background: #fafafa;
}
.activities-table .venue-cell {
  font-weight: 700;
  text-align: center;
  background: var(--reds-gray-100);
  border-right: 2px solid var(--reds-primary);
}

/* ===========================
   会場カード (school.html #schools)
   =========================== */
.venue-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.venue-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--reds-white);
  display: flex;
  flex-direction: column;
}
.venue-card__img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.venue-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: brightness(1.25) contrast(1.05);
}
.venue-card:hover .venue-card__img img {
  transform: scale(1.05);
}
.venue-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
}
.venue-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
}
.venue-card__name {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.venue-card__address {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  font-family: var(--font-ja);
}
.venue-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: space-between;
}
.venue-card__schedule {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.venue-schedule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.venue-time {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--reds-black);
}
.venue-age {
  background: var(--reds-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  font-family: var(--font-en);
  white-space: nowrap;
}
.venue-btn {
  display: inline-block;
  background: var(--reds-primary);
  color: #fff;
  font-family: var(--font-ja);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
  align-self: flex-start;
}
.venue-btn:hover {
  background: #b5001f;
}

@media (max-width: 900px) {
  .venue-cards { grid-template-columns: 1fr; }
  .venue-card__img { height: 180px; }
}
@media (max-width: 600px) {
  .activities-table th,
  .activities-table td { padding: 10px 12px; font-size: 0.82rem; }
}

/* ヘッダーロゴ：モバイル対応 */
@media (max-width: 768px) {
  #header { height: 80px; }
  .header-logo {
    height: 80px;
    width: 260px;
  }
  .header-logo-img {
    height: 72px;
    max-width: 260px;
  }
  #hero { padding-top: 80px; }
  .page-hero { padding: 112px 0 36px; }
}
@media (max-width: 1100px) and (min-width: 769px) {
  .header-logo {
    width: 380px;
  }
}

/* ===========================
   スマートフォン対応 全面強化
   モバイルファースト補完レイヤー
   =========================== */

/* --- 横スクロール防止 --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
* { box-sizing: border-box; }

/* --- voices-data.jsのインライングリッドのモバイル対応 --- */
@media (max-width: 768px) {
  /* voices-data.jsのrepeat(auto-fit,minmax(300px,1fr))をオーバーライド */
  div[style*="minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="minmax(220px"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- タッチターゲット最小44px確保 --- */
@media (max-width: 768px) {

  /* ===== 共通レイアウト ===== */
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }

  /* ===== ヒーロー ===== */
  #hero { min-height: auto; padding: 96px 0 48px; }
  .hero-center { padding: 40px 16px; }
  .hero-logo { width: min(280px, 75vw); margin-bottom: 20px; }
  .hero-brand-name { font-size: clamp(1.6rem, 8vw, 2.8rem); }
  .hero-school-name { font-size: clamp(0.95rem, 4vw, 1.25rem); }
  .hero-location { font-size: clamp(0.9rem, 3.5vw, 1.1rem); margin-bottom: 20px; }
  .hero-tagline-main { font-size: clamp(0.95rem, 3.5vw, 1.15rem); }
  .hero-tagline { margin-bottom: 24px; }
  .hero-cta-group { flex-direction: column; align-items: center; gap: 10px; }
  .btn--hero { width: 100%; max-width: 320px; justify-content: center; }

  /* 浦和レッズバナーをCTAボタンと完全同サイズに統一（モバイル） */
  .hero-cta-group .urawa-reds-mini-banner {
    width: 100%;
    max-width: 320px;
    height: 54px;          /* btn--lgの実際描画高さと完全一致 */
    min-height: unset;
    justify-content: center;
    padding: 0 20px;       /* 上下パディングは height固定により不要 */
    box-sizing: border-box;
    white-space: nowrap;   /* テキストは1行に固定 */
  }
  .hero-cta-group .urawa-reds-mini-emblem {
    height: 28px;
    flex-shrink: 0;
  }

  /* ===== ボタン全般（タップ領域確保） ===== */
  .btn { min-height: 44px; padding: 12px 22px; font-size: 0.9rem; }
  .btn--sm { min-height: 40px; padding: 10px 16px; font-size: 0.82rem; }
  .btn--lg { height: 54px; min-height: unset; padding: 0 28px; font-size: 0.95rem; } /* 完全固定高さ */

  /* ===== 統計バー ===== */
  .stats-bar { padding: 20px 0; }
  .stats-inner { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .stat-item { padding: 8px 20px; border-right: none; border-bottom: none; width: 50%; }
  .stat-num { font-size: 1.7rem; }
  .stat-label { font-size: 0.65rem; }

  /* ===== ニューステッカー ===== */
  .ticker-label { display: none; }
  .ticker-item { font-size: 0.8rem; }

  /* ===== スクール紹介カード ===== */
  .schools-grid { grid-template-columns: 1fr; gap: 16px; }
  .school-card-img { height: 180px; }
  .school-card-body { padding: 16px 18px; }
  .school-trial-btn { padding: 14px 20px; font-size: 0.92rem; min-height: 50px; }

  /* ===== ニュースカード ===== */
  .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-card-img { height: 180px; }
  .news-card-body { padding: 14px 16px; }
  .news-card-body h3 { font-size: 0.95rem; }

  /* ===== 特徴セクション ===== */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 20px 16px; }

  /* ===== コーチカード ===== */
  .coaches-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .coach-body { padding: 12px; }
  .coach-body h3 { font-size: 0.88rem; }
  .coach-role { font-size: 0.72rem; }
  .coach-career { font-size: 0.7rem; }

  /* ===== ギャラリー ===== */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 6px; }

  /* ===== 会場カード ===== */
  .venue-cards { grid-template-columns: 1fr; gap: 16px; }
  .venue-card__img { height: 200px; }
  .venue-card__body { padding: 14px 16px 16px; }
  .venue-time { font-size: 0.85rem; }
  .venue-btn { min-height: 44px; padding: 11px 20px; font-size: 0.88rem; text-align: center; align-self: stretch; }

  /* ===== 活動内容テーブル ===== */
  .activities-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .activities-table { min-width: 480px; font-size: 0.82rem; }
  .activities-table th,
  .activities-table td { padding: 10px 10px; }

  /* ===== 体験申込CTA ===== */
  #trial { padding: 48px 0; }
  .trial-inner h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .trial-inner p { font-size: 0.9rem; margin-bottom: 20px; }
  .trial-btns { flex-direction: column; align-items: center; gap: 10px; }
  .trial-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ===== モーダル ===== */
  .modal-overlay { padding: 12px; }
  .modal { max-height: 94vh; border-radius: 8px; }
  .modal-header-img { height: 200px; }
  .modal-body-inner { padding: 20px 18px 24px; }
  .modal-title { font-size: 1rem; }
  .modal-content { font-size: 0.88rem; }
  .modal-close { width: 40px; height: 40px; font-size: 1.1rem; }

  /* ===== フォーム ===== */
  .form-control { font-size: 1rem; padding: 13px 14px; min-height: 48px; }
  select.form-control { min-height: 48px; }
  textarea.form-control { min-height: 120px; }
  .form-label { font-size: 0.9rem; }

  /* ===== ページヘッダー ===== */
  .page-hero { padding: 100px 0 32px; }
  .page-hero-content h1 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* ===== フッター ===== */
  #footer { padding: 40px 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .footer-school-logo { width: 160px; }
  .footer-about { max-width: 100%; font-size: 0.82rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-langs { flex-wrap: wrap; }
  .footer-langs a { min-height: 40px; padding: 8px 12px; display: flex; align-items: center; }

  /* ===== セクションタイトル ===== */
  .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .activities-title { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* ===== ナビゲーション ===== */
  .mobile-menu { top: 80px; }
  .mobile-menu .nav-link { padding: 14px 20px; font-size: 0.95rem; min-height: 52px; }
  .nav-lang-group { display: flex; }

  /* ===== ランゲージリンク ===== */
  .mobile-menu .nav-lang-group { margin: 10px 20px; }

  /* ===== 2カラムを縦並びに ===== */
  .two-col, [class*="col-2"] { display: block !important; }

  /* ===== 画像最大幅 ===== */
  img { max-width: 100%; height: auto; }
  .news-photo-grid img,
  .article-img img { max-width: 100%; height: auto; }
}

/* --- 超小型画面（iPhone SE等、375px以下） --- */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .hero-brand-name { font-size: clamp(1.4rem, 9vw, 2.2rem); }
  .coaches-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .stat-item { width: 100%; }
  .footer-school-logo { width: 140px; }
  .btn { font-size: 0.85rem; padding: 11px 18px; }
  .section-title { font-size: clamp(1.2rem, 6vw, 1.5rem); }
}

/* --- タブレット（769px〜960px）チューニング --- */
@media (min-width: 769px) and (max-width: 960px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .schools-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .coaches-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-cta-group { flex-direction: row; }
  .btn--hero { width: auto; min-width: 220px; }
}

/* --- ニュース記事本文内の画像グリッド（モバイル対応） --- */
@media (max-width: 768px) {
  /* news-data.jsのインラインスタイルで設定されたグリッド（全パターン対応） */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr 1fr"],
  div[style*="grid-template-columns:repeat(2"],
  div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  /* モーダル内のインライン画像 */
  .modal-content img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  /* モーダル内のグリッド */
  .modal-content div[style*="display:grid"],
  .modal-content div[style*="display: grid"] {
    display: block !important;
  }
  .modal-content div[style*="display:grid"] > *,
  .modal-content div[style*="display: grid"] > * {
    margin-bottom: 8px;
    display: block;
    width: 100%;
  }
  /* grid-column: span 3 / span 2 をリセット */
  .modal-content img[style*="grid-column"],
  div[style*="grid-template-columns"] img[style*="grid-column"] {
    grid-column: auto !important;
  }
}

/* ===========================
   ケーススタディ画像グリッド
   (sponsor.html / en/ / vn/)
   =========================== */
.case-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.case-img-span2 { grid-column: span 2; }

/* ===========================
   スポンサー・パートナーページ
   インラインスタイルグリッド モバイル対応
   =========================== */
@media (max-width: 768px) {
  /* 3列グリッドを1列に（スポンサーページ画像など） */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 4列グリッドを2列に */
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* grid-column:span 2 / span 3 などをリセット */
  div[style*="grid-column:span 2"],
  div[style*="grid-column: span 2"],
  div[style*="grid-column:span 3"],
  div[style*="grid-column: span 3"] {
    grid-column: auto !important;
  }
  div[style*="grid-column:span 2"] img,
  div[style*="grid-column: span 2"] img,
  div[style*="grid-column:span 3"] img,
  div[style*="grid-column: span 3"] img {
    height: 180px !important;
  }

  /* スポンサーケーススタディカード内のパディング */
  div[style*="padding:36px"] {
    padding: 20px !important;
  }
  div[style*="padding:28px 36px"] {
    padding: 18px 20px !important;
  }

  /* パートナーケーススタディ ヘッダー内のflex-wrap */
  div[style*="display:flex"][style*="align-items:center"][style*="gap:20px"] {
    flex-wrap: wrap;
  }

  /* 画像高さのモバイル縮小 */
  div[style*="height:220px"] img,
  div[style*="height:230px"] img {
    height: auto !important;
    max-height: 200px;
    width: 100% !important;
    object-fit: cover;
  }
  div[style*="height:180px"] img {
    height: auto !important;
    max-height: 160px;
    width: 100% !important;
    object-fit: cover;
  }

  /* benefit-table のスクロール対応 */
  .benefit-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* sponsor-cta の余白縮小 */
  .sponsor-cta { padding: 36px 20px; }

  /* policy-items グリッド（school.html） */
  .policy-items {
    grid-template-columns: 1fr !important;
  }

  /* program-timeline の補完 */
  .program-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ケーススタディ画像グリッド モバイル1列化 */
  .case-img-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .case-img-span2 {
    grid-column: auto !important;
  }
  .case-img-grid img {
    height: 180px !important;
    width: 100% !important;
    object-fit: cover;
  }

  /* ケーススタディカード パディング縮小 */
  .case-card-body { padding: 20px !important; }
  .case-card-header { padding: 18px 20px !important; flex-wrap: wrap; }
  .case-date-box { margin-left: 0 !important; flex-shrink: 0; }
}

/* --- 超小型画面 sponsor追加対応 --- */
@media (max-width: 400px) {
  /* 2列グリッドを1列に（ケーススタディ画像等） */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns:repeat(2,1fr)"],
  div[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* パートナーグリッド */
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* ケーススタディ画像 超小型 */
  .case-img-grid img { height: 150px !important; }
}
