/* ============================================
   SUISEN Volleyball Club - Stylesheet
   ============================================ */

:root {
  --primary: #29b6d8;
  --primary-dark: #1a8fa8;
  --primary-light: #7dd9ed;
  --dark: #0a1628;
  --dark-2: #112240;
  --gray: #8892a4;
  --light: #f4f8fb;
  --white: #ffffff;
  --accent: #ff6b35;
  --font-en: 'Oswald', 'Arial Black', sans-serif;
}

/* ============================================
   英字フォント 一括指定
   ============================================ */
.splash-logo-text, .splash-logo-sub,
.logo-text, .logo-sub,
.nav a, .footer-nav a,
.btn,
.section-label,
.hero-label, .hero-scroll,
.breadcrumb,
.stat-num, .stat-label,
.player-number, .player-pos,
.rr-month, .rr-day,
.page-title, .page-hero-label, .page-hero-bg::after,
.news-filter-btn,
.news-cat, .top-news-cat,
.news-card-date, .top-news-date,
.news-card-link, .news-back,
.big-num, .big-label,
.timeline-year,
.pos-tab-en, .pos-label-en,
.roster-num, .roster-pos, .captain-badge,
.player-hero-num, .player-section-label,
.player-captain-badge, .player-nav-btn,
.block-badge, .month-separator,
.sch-month, .sch-day, .sch-score, .sch-status,
.result-expand-label, .result-round-label,
.match-score, .match-label,
.summary-num, .summary-label {
  font-family: var(--font-en);
}

/* ============================================
   英字イタリック
   ============================================ */
.section-label,
.hero-label,
.page-title,
.page-hero-label,
.pos-label-en,
.block-badge {
  font-style: italic;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ============================================
   スプラッシュスクリーン
   ============================================ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
}

.splash-ball {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 24px;
  animation: ballBounce 1.4s ease both;
  display: block;
}

@keyframes ballBounce {
  0%   { transform: translateY(-260px); animation-timing-function: ease-in; }
  22%  { transform: translateY(20px) scaleY(0.78) scaleX(1.25); animation-timing-function: ease-out; }
  38%  { transform: translateY(-90px); animation-timing-function: ease-in; }
  54%  { transform: translateY(10px) scaleY(0.85) scaleX(1.15); animation-timing-function: ease-out; }
  68%  { transform: translateY(-35px); animation-timing-function: ease-in; }
  80%  { transform: translateY(4px) scaleY(0.9) scaleX(1.1); animation-timing-function: ease-out; }
  90%  { transform: translateY(-12px); animation-timing-function: ease-in; }
  100% { transform: translateY(0) scaleY(1) scaleX(1); }
}

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: splashIn 0.6s ease 1.2s both;
}

.splash-logo-text {
  font-size: clamp(52px, 12vw, 96px);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 12px;
  line-height: 1;
}

.splash-logo-sub {
  font-size: clamp(10px, 2vw, 14px);
  letter-spacing: 6px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.splash-line {
  width: 0;
  height: 2px;
  background: var(--primary);
  margin: 20px auto 0;
  animation: splashLine 0.6s ease 0.5s forwards;
}

@keyframes splashIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes splashLine {
  from { width: 0; }
  to   { width: 120px; }
}


/* ============================================
   ヘッダー
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41, 182, 216, 0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 3px;
}

.logo-sub {
  font-size: 9px;
  color: var(--gray);
  letter-spacing: 2px;
}

.nav > ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(41, 182, 216, 0.1);
}

/* PLAYERSドロップダウン */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--dark);
  border: 1px solid rgba(41, 182, 216, 0.2);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 180px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.header .nav-dropdown:hover .nav-submenu {
  display: block;
}

.nav-submenu li a {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   ヒーロー
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* スライドショー背景 */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ダミー写真（グラデーションで代用） */
.hero-slide:nth-child(1) {
  background:
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.25)),
    url('../images/TOP1.jpg') center/cover no-repeat;
}
.hero-slide:nth-child(2) {
  background:
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.25)),
    url('../images/TOP2.JPG') center/cover no-repeat;
}
.hero-slide:nth-child(3) {
  background:
    linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.25)),
    url('../images/TOP3.JPG') center/cover no-repeat;
}

/* 各スライドのアクセントライト */
.hero-slide:nth-child(1)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(41,182,216,0.18) 0%, transparent 70%);
}
.hero-slide:nth-child(2)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 30% 60%, rgba(41,182,216,0.15) 0%, transparent 70%);
}
.hero-slide:nth-child(3)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 60% 40%, rgba(41,182,216,0.2) 0%, transparent 70%);
}

/* オーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.4) 60%,
    rgba(10, 22, 40, 0.1) 100%
  );
}

/* スライドインジケーター */
.hero-indicators {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 24px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.hero-dot.active {
  background: var(--primary);
  width: 40px;
}

/* 装飾ライン */
.hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  z-index: 2;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* テキストアニメーション */
.hero-label {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-desc {
  animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease 1.1s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-en);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 32px;
  letter-spacing: -4px;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 4px;
  animation: scrollFade 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollAnim 1.5s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ============================================
   パンくずリスト
   ============================================ */
.breadcrumb-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.breadcrumb-bar .breadcrumb {
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb span { color: #ccc; }

.breadcrumb span:last-child {
  color: var(--dark);
  font-weight: 700;
}

/* ============================================
   ボタン
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41, 182, 216, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================
   セクション共通
   ============================================ */
.section { padding: 100px 0; }

/* ============================================
   スローガンセクション
   ============================================ */
.slogan-section {
  background: var(--dark);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slogan-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 0;
  background: rgba(41, 182, 216, 0.2);
  transition: height 1s ease;
}

.slogan-section.is-active::before { height: 70%; }

.slogan-inner {
  position: relative;
  z-index: 1;
  padding: 32px 48px;
}

.slogan-deco-line {
  width: 0;
  height: 1px;
  background: var(--primary);
  margin: 0 auto 40px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slogan-section.is-active .slogan-deco-line { width: 80px; }

.slogan-label {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.slogan-section.is-active .slogan-label {
  opacity: 1;
  transform: translateY(0);
}

.slogan-line-wrap {
  overflow: hidden;
  display: block;
}

.slogan-line {
  display: block;
  font-size: clamp(72px, 13vw, 130px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -3px;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.slogan-line-wrap:nth-child(2) .slogan-line {
  transition-delay: 0.15s;
}

.slogan-section.is-active .slogan-line { transform: translateY(0); }

.slogan-text {
  margin-bottom: 48px;
}

.slogan-deco-line-bottom {
  width: 0;
  height: 1px;
  background: rgba(41, 182, 216, 0.3);
  margin: 0 auto 40px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.slogan-section.is-active .slogan-deco-line-bottom { width: 120px; }

.slogan-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

.slogan-section.is-active .slogan-en {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -1px;
}

.section-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   ニュース
   ============================================ */
.news-section { background: var(--white); }

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eee;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  transition: padding 0.2s, border-color 0.2s;
  cursor: pointer;
}

.news-item:hover {
  padding-left: 8px;
  border-bottom-color: var(--primary);
}

.news-date {
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 1px;
}

.news-tag {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  font-weight: 600;
}

.news-text {
  font-size: 15px;
  color: var(--dark);
}

/* ============================================
   チーム紹介
   ============================================ */
.about-section { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(41, 182, 216, 0.3) 0%, transparent 60%);
}

.volleyball-icon {
  font-size: 80px;
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-content .section-label {
  text-align: left;
}

.about-text {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray);
  margin-top: 4px;
}

/* ============================================
   選手
   ============================================ */
.players-section { background: var(--dark); }

.players-section .section-title { color: var(--white); }

.players-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.player-card {
  background: var(--dark-2);
  border: 1px solid rgba(41, 182, 216, 0.15);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.player-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(41, 182, 216, 0.2);
}

.player-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(41, 182, 216, 0.12);
  line-height: 1;
}

.player-avatar {
  font-size: 60px;
  margin-bottom: 16px;
}

.player-pos {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.player-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
}

/* ============================================
   選手スライダー
   ============================================ */
.player-slider-wrap {
  position: relative;
  padding: 0 56px;
}

.player-slider-track {
  overflow: hidden;
  padding: 12px 4px;
  margin: -12px -4px;
}

.player-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.player-slider .player-card {
  flex: 0 0 calc((100% - 48px) / 3);
  flex-shrink: 0;
}

.slider-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(41,182,216,0.4);
  background: rgba(10,22,40,0.8);
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

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

.slider-swipe-hint {
  display: none;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}

/* ============================================
   次の試合
   ============================================ */
.next-match-section { background: var(--light); }

.match-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--dark);
  border-radius: 12px;
  padding: 24px 32px;
  border: 1px solid rgba(41, 182, 216, 0.2);
}


/* ============================================
   試合結果セクション（TOPページ）
   ============================================ */
a.recent-result-card { text-decoration: none; color: inherit; }
a.recent-result-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(41, 182, 216, 0.15);
  transform: translateY(-2px);
}

.recent-result-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  gap: 24px;
  align-items: start;
  background: var(--dark);
  border-radius: 12px;
  padding: 24px 32px;
  border: 1px solid rgba(41, 182, 216, 0.15);
  margin-bottom: 12px;
}

.rr-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.rr-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.rr-day {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
}

.rr-tournament {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.rr-place {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.rr-teams { display: flex; flex-direction: column; gap: 6px; }

.result-team-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-team-name-top {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  min-width: 120px;
}

.result-badge-top {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
}

.result-badge-top.win  { background: rgba(41,182,216,0.15); color: var(--primary); }
.result-badge-top.lose { background: rgba(231,76,60,0.1);   color: #e74c3c; }
.result-badge-top:not(.win):not(.lose) { background: rgba(255,255,255,0.1); color: var(--gray); }

.rr-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.6;
  padding-left: 16px;
}


/* ============================================
   フッター
   ============================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(41, 182, 216, 0.15);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo .logo-text {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 4px;
}

.footer-logo .logo-sub {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 3px;
}

.footer-slogan {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--primary); }

.footer-copy {
  font-size: 12px;
  color: rgba(136, 146, 164, 0.5);
}

.footer-sns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-sns a {
  color: rgba(136, 146, 164, 0.6);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-sns a:hover {
  color: var(--primary);
}

.nav-sns { display: none; }

.header-sns {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: 16px;
}

.header-sns a {
  color: rgba(200, 210, 230, 0.7);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.header-sns a:hover {
  color: var(--primary);
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 768px) {
  /* ヘッダー内のnavは非表示 */
  .header .nav { display: none; }
  .header-sns { display: none; }

  /* body直下に移動したnavのスタイル */
  body > .nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body > .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  body > .nav > ul {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  body > .nav a {
    font-size: 22px;
    padding: 16px 48px;
    letter-spacing: 4px;
    text-align: center;
    border-radius: 0;
    background: none !important;
  }

  body > .nav a:hover { color: var(--primary); }
  body > .nav a.active { color: var(--primary); }

  /* モバイル: サブメニュー非表示 */
  body > .nav .nav-dropdown > a::after { content: none; }
  body > .nav .nav-submenu { display: none; }

  .nav-sns {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 32px;
  }

  .nav-sns a {
    color: rgba(200, 210, 230, 0.7);
    transition: color 0.2s;
    display: flex;
    align-items: center;
  }

  .nav-sns a:hover { color: var(--primary); }

  .hamburger { display: flex; z-index: 1001; }

  .player-slider-wrap { padding: 0 44px; }
  .player-slider .player-card { flex: 0 0 calc(100% - 24px); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .players-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .match-card {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .about-stats { justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .hero { height: 75vh; min-height: 480px; }
  .hero-title { font-size: clamp(48px, 14vw, 80px); }
  .section-header { margin-bottom: 32px; }
  .section-more { margin-top: 28px; }
  .slogan-section { min-height: 40vh; }
  .slogan-inner { padding: 24px 24px; }
  .slogan-label { margin-bottom: 20px; }
  .slogan-text { margin-bottom: 24px; }
  .section-title { font-size: 26px; }
  .footer-nav { flex-wrap: wrap; gap: 12px; justify-content: center; }

  /* TOPページ試合結果カード */
  .recent-result-card {
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    padding: 16px;
  }
  .rr-day { font-size: 26px; }
  .rr-tournament { font-size: 13px; }
  .rr-arrow { font-size: 10px; padding-left: 8px; }
  .result-team-name-top { min-width: 80px; font-size: 12px; }
  .result-badge-top { font-size: 10px; }
}

