@import "tailwindcss";

@theme {
  --font-family: "Zen Kaku Gothic New", sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

/* ===================================================
   テキスト折り返し - Word Wrapping
   ================================================== */

/* 全要素で長い英単語・URLを折り返す */
* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 英語の長い単語を強制的に折り返し */
body,
p,
div,
span,
a,
li,
td,
th {
  word-break: break-word;
}

/* ===================================================
   レイアウトシステム - Layout System
   ================================================== */

/* センターカラム: 全ページ共通のパディング管理 */
.center-column {
  padding-left: 1rem;
  /* 16px mobile */
  padding-right: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .center-column {
    padding-left: 1.875rem;
    /* 30px desktop */
    padding-right: 1.875rem;
  }
}

/* 全幅セクション: パディングを打ち消す */
.full-width {
  margin-left: -1rem;
  margin-right: -1rem;
}

@media (min-width: 768px) {
  .full-width {
    margin-left: -1.875rem;
    margin-right: -1.875rem;
  }
}

/* 全幅セクション内のコンテンツ: パディング再適用 */
.full-width-content {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .full-width-content {
    padding-left: 1.875rem;
    padding-right: 1.875rem;
  }
}

/* ===================================================
   コンポーネント - Components
   ================================================== */

/* ===== セクション ===== */
/* 全ページ共通のセクションスタイル */
.section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

/* ヒーロー画像用セクション: ヘッダー直下で上余白なし */
.section-hero {
  padding-top: 0;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

/* 背景付きセクション */
.section--bg {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

/* 大きめの余白（最初/最後のセクション） */
.section--large {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-heading {
  font-style: italic;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
}

.section-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4100, #ff8c00, #ffa500);
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00bfff, #1e90ff, #0066cc);
}

/* GAMESスライダーセクション（ページネーション考慮） */
.section-games {
  margin-bottom: 4rem;
}

/* ===== カードコンポーネント ===== */

/* ニュースカード */
.news-card {
  display: flex;
  gap: 1rem;
  transition: opacity 0.3s ease;
}

.news-card:hover {
  opacity: 0.8;
}

.news-card__thumbnail {
  width: 25%;
  flex-shrink: 0;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
}

.news-card__placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: #27272a;
  border-radius: 0.5rem;
}

.news-card__content {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.news-card__date {
  color: #00bfff;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-card__title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
}

.news-card__category {
  display: inline-block;
  background-color: #3f3f46;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  align-self: flex-start;
}

/* ゲームカード（NEXT GAME用） */
.game-card-next {
  background-color: #18181b;
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid #27272a;
}

.game-card-next__teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.game-card-next__logo {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.game-card-next__vs {
  font-size: 1.25rem;
  font-weight: 700;
  color: #71717a;
}

.game-card-next__info {
  text-align: center;
  margin-bottom: 1rem;
}

.game-card-next__datetime {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.game-card-next__venue {
  color: #71717a;
}

.game-card-next__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ゲームカード（スライダー用） */
.game-card-slider {
  background-color: #18181b;
  border-radius: 1rem;
  padding: 1rem;
  border: 2px solid #3f3f46;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card-slider__date {
  text-align: center;
  margin-bottom: 0.75rem;
}

.game-card-slider__date-day {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.game-card-slider__date-time {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.game-card-slider__team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.game-card-slider__logo {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
}

.game-card-slider__name {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.game-card-slider__vs {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* 注目選手カード */
.featured-player-card {
  background-color: #18181b;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #27272a;
}

.featured-player-card__image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.featured-player-card__content {
  padding: 1rem;
}

.featured-player-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

/* ===== Aboutページコンポーネント ===== */

/* ===== About Page Hero ===== */
.about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 視認性確保のためのオーバーレイ（暗い半透明背景） */
.about-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(24, 24, 27, 0.75) 50%,
    rgba(9, 9, 11, 0.85) 100%
  );
  z-index: 1;
}

/* グラデーションアクセント（ブランドカラー） */
.about-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(236, 72, 153, 0.15) 100%
  );
  z-index: 2;
}

.about-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  padding: 3rem 0;
}

.about-hero__eyebrow {
  color: #3b82f6;
  letter-spacing: 0.3em;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-style: italic;
}

@media (min-width: 768px) {
  .about-hero__title {
    font-size: 3.4rem;
  }
}

.about-hero__lead {
  color: #fafafa;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .about-hero__lead {
    font-size: 2rem;
  }
}

/* コンテンツコンテナ */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content--wide {
  max-width: 900px;
}

/* セクションタイトル */
.about-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .about-section-title {
    font-size: 2.5rem;
  }
}

/* コンセプトコピー */
.about-concept-copy {
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .about-concept-copy {
    font-size: 2.5rem;
  }
}

/* 本文テキスト */
.about-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 1.125rem;
  }
}

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

/* ビジョンリスト */
.about-vision-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-vision-list {
    gap: 2rem;
  }
}

.about-vision-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(59, 130, 246, 0.05);
  border-left: 3px solid #3b82f6;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-vision-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-left-color: #8b5cf6;
  transform: translateX(4px);
}

.about-vision-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
}

.about-vision-item__text {
  color: #fafafa;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .about-vision-item__text {
    font-size: 1.125rem;
  }
}

/* 定義リスト */
.about-dl-item {
  border-left: 3px solid #00bfff;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.about-dl-item:last-child {
  margin-bottom: 0;
}

.about-dl-term {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.about-dl-desc {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .about-dl-desc {
    font-size: 1.25rem;
  }
}

/* 概要ボックス */
.about-overview-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .about-overview-box {
    padding: 2.5rem;
  }
}

.about-overview-box__title {
  color: #00bfff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.about-overview-box__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .about-overview-box__text {
    font-size: 1rem;
  }
}

/* 旧スタイル削除: .section で統一 */

/* ===== 3つの柱（Pillars） ===== */
/* スマポンシブ: PCでも1カラム固定（要素サイズ維持） */
.about-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-pillar-card {
  position: relative;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.about-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.about-pillar-card:hover::before {
  transform: scaleX(1);
}

.about-pillar-card__icon {
  color: #3b82f6;
  margin-bottom: 1.5rem;
}

.about-pillar-card__title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  font-style: italic;
}

.about-pillar-card__text {
  color: #a1a1aa;
  line-height: 1.8;
  font-size: 1rem;
}

/* ===== リーグ概要グリッド ===== */
/* スマポンシブ: PCでも1カラム固定（要素サイズ維持） */
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-info-item {
  background: rgba(59, 130, 246, 0.03);
  border-left: 3px solid #3b82f6;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-info-item:hover {
  background: rgba(59, 130, 246, 0.08);
  border-left-color: #8b5cf6;
}

.about-info-item__label {
  color: #a1a1aa;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-info-item__value {
  color: #fafafa;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
}

/* 概要ボックス */
.about-overview-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
}

.featured-player-card__position {
  color: #71717a;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.featured-player-card__team {
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.featured-player-card__headline {
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.featured-player-card__comment {
  color: #d4d4d8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ===== ボタンコンポーネント ===== */
.btn {
  display: inline-block;
  text-align: center;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff, #eaeaea);
  color: #000000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 14px 36px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, #2b2b2f, #1f1f23);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 10px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 14px 36px rgba(0, 0, 0, 0.3);
}

.btn-ticket {
  background-color: #ff4100;
  color: #ffffff;
}

.btn-ticket:hover {
  opacity: 0.9;
}

.btn-gamesheet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.btn-gamesheet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
  z-index: -1;
}

.btn-gamesheet:hover::before {
  opacity: 1;
}

.btn-gamesheet:hover {
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.btn-gamesheet > * {
  position: relative;
  z-index: 1;
}

.btn-live {
  background-color: #ff0000;
  color: #ffffff;
}

.btn-live:hover {
  opacity: 0.9;
}

.btn-result {
  background-color: #3b82f6;
  color: #ffffff;
}

.btn-result:hover {
  opacity: 0.9;
}

.btn-rounded {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
}

/* ===================================================
   チームテーブル展開 - Team Table Toggle
   ================================================== */

.team-table-wrapper {
  position: relative;
}

.team-table-wrapper .player-row--hidden {
  display: none;
  opacity: 0;
}

.team-table-wrapper.expanded .player-row--hidden {
  display: table-row;
  animation: fadeInRow 0.4s ease-in-out forwards;
}

@keyframes fadeInRow {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #09090b);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.team-table-wrapper.expanded .table-fade-overlay {
  opacity: 0;
  pointer-events: none;
}

.btn-toggle-table {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 9999px;
  padding: 0.5rem;
  transition: background 0.3s;
  z-index: 2;
  cursor: pointer;
}

.btn-toggle-table:hover {
  background: #3f3f46;
}

.btn-toggle-table svg {
  display: block;
  color: #ffffff;
  transition: transform 0.3s ease-in-out;
}

.team-table-wrapper.expanded .btn-toggle-table svg {
  transform: rotate(180deg);
}

/* ===================================================
   テーブルコンポーネント - Table Components
   ================================================== */

/* Goalテーブル（親クラス方式） */
.goal-table {
  width: 100%;
  font-size: 0.875rem; /* 14px */
}

.goal-table thead {
  background-color: #27272a; /* zinc-800 */
}

.goal-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #a1a1aa; /* zinc-400 */
  font-weight: 500;
}

.goal-table tbody {
  border-top: 1px solid #3f3f46; /* zinc-700 */
}

.goal-table tbody tr {
  color: #ffffff;
  border-bottom: 1px solid #3f3f46; /* zinc-700 */
  transition: background-color 0.2s;
}

.goal-table tbody tr:hover {
  background-color: #27272a; /* zinc-800 */
}

.goal-table td {
  padding: 0.75rem 1rem;
}

/* テーブルヘッダー（汎用） */
.table-header {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #a1a1aa; /* zinc-400 */
  font-weight: 500;
}

.table-header--center {
  text-align: center;
}

.table-header--nowrap {
  white-space: nowrap;
}

.table-header--compact {
  padding: 0.75rem 0.5rem;
}

/* テーブルセル */
.table-cell {
  padding: 0.75rem 1rem;
}

.table-cell--center {
  text-align: center;
}

.table-cell--nowrap {
  white-space: nowrap;
}

.table-cell--semibold {
  font-weight: 600;
}

.table-cell--compact {
  padding: 0.75rem 0.5rem;
}

/* ===================================================
   チームロゴコンポーネント - Team Logo Components
   ================================================== */

.team-logo {
  object-fit: contain;
  flex-shrink: 0;
}

.team-logo--xl {
  width: 5rem;    /* 80px */
  height: 5rem;
}

.team-logo--lg {
  width: 4rem;    /* 64px */
  height: 4rem;
}

.team-logo--md {
  width: 2rem;    /* 32px */
  height: 2rem;
}

.team-logo--sm {
  width: 1.75rem; /* 28px */
  height: 1.75rem;
}

.team-logo--xs {
  width: 1.5rem;  /* 24px */
  height: 1.5rem;
}

/* チーム見出し（ロゴ + チーム名） */
.team-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.team-heading h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* ===================================================
   セクション見出しコンポーネント - Section Heading Components
   ================================================== */

/* アイコン付きセクション見出し */
.section-heading-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-heading-with-icon .section-icon {
  font-size: 1.5rem;
}

.section-heading-with-icon h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* ===================================================
   ボタンコンポーネント（試合状態別） - Game Button Components
   ================================================== */

.btn-game {
  display: block;
  text-align: center;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: opacity 0.3s ease;
}

.btn-game:hover {
  opacity: 0.9;
}

.btn-game-live {
  background-color: #ef4444; /* red-500 */
  color: #ffffff;
}

.btn-game-result {
  background-color: #3b82f6; /* blue-500 */
  color: #ffffff;
}

.btn-game-ticket {
  background-color: #ffffff;
  color: #000000;
  transition: background-color 0.3s ease;
}

.btn-game-ticket:hover {
  background-color: #e4e4e7; /* zinc-200 */
  opacity: 1;
}

.btn-game-schedule {
  background-color: #3b82f6; /* blue-500 */
  color: #ffffff;
}

/* ===================================================
   カードコンポーネント - Card Components
   ================================================== */

.card {
  background-color: #18181b; /* zinc-900 */
  border-radius: 0.5rem;
  border: 1px solid #3f3f46; /* zinc-700 */
}

.card--padding-sm {
  padding: 1rem; /* 16px */
}

.card--padding-md {
  padding: 1.5rem; /* 24px */
}

.card--padding-lg {
  padding: 2rem; /* 32px */
}

.card--overflow-hidden {
  overflow: hidden;
}

/* ===================================================
   フォームコンポーネント - Form Components
   ================================================== */

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #a1a1aa; /* zinc-400 */
  margin-bottom: 0.5rem;
}

.form-select {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #27272a; /* zinc-800 */
  border: 1px solid #3f3f46; /* zinc-700 */
  border-radius: 0.5rem;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

.form-select:focus {
  border-color: #3b82f6; /* blue-500 */
  outline: none;
}

/* ===================================================
   その他コンポーネント - Misc Components
   ================================================== */

/* 選手リンク */
.player-link {
  color: #00a0e9;
  transition: text-decoration 0.2s ease;
}

.player-link:hover {
  text-decoration: underline;
}

/* ステータスバッジ */
.status-badge {
  display: inline-block;
  background-color: #3f3f46; /* zinc-700 */
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* VS表示 */
.vs-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #a1a1aa; /* zinc-400 */
}

.vs-text--lg {
  font-size: 1.5rem;
}

/* ===================================================
   ハンバーガーメニュー - Hamburger Menu
   ================================================== */

/* ハンバーガーボタン アクティブ状態 */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ハンバーガーメニュー本体 */
.hamburger-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hamburger-nav.active {
  pointer-events: auto;
  opacity: 1;
}

/* オーバーレイ（背景） */
.hamburger-nav__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

/* メニューコンテンツパネル */
.hamburger-nav__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: linear-gradient(180deg, #18181b 0%, #09090b 100%);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-nav.active .hamburger-nav__content {
  transform: translateX(0);
}

/* 閉じるボタン */
.hamburger-nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hamburger-nav__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* メニューリスト */
.hamburger-nav__menu {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hamburger-nav__menu>li {
  list-style: none;
}

/* 親メニューアイテム */
.hamburger-nav__menu>li>a {
  display: block;
  padding: 0.875rem 1.5rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hamburger-nav__menu>li>a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 65, 0, 0.2), transparent);
  transition: left 0.5s ease;
}

.hamburger-nav__menu>li>a:hover::before {
  left: 100%;
}

.hamburger-nav__menu>li>a:hover {
  background-color: rgba(255, 65, 0, 0.1);
  padding-left: 2rem;
  color: #ff4100;
}

.hamburger-nav__menu>li>a.current-menu-item,
.hamburger-nav__menu>li>a.current_page_item {
  background-color: rgba(255, 65, 0, 0.15);
  color: #ff4100;
  border-left: 3px solid #ff4100;
}

/* 親メニューに子がある場合のアイコン */
.hamburger-nav__menu>li.menu-item-has-children>a::after {
  content: '▼';
  position: absolute;
  right: 1.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* サブメニュー */
.hamburger-nav__menu .sub-menu {
  list-style: none;
  margin: 0.25rem 0 0.25rem 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.hamburger-nav__menu .sub-menu li {
  list-style: none;
}

.hamburger-nav__menu .sub-menu a {
  display: block;
  padding: 0.625rem 1.5rem 0.625rem 3rem;
  color: #d4d4d8;
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  border-left: 2px solid transparent;
  margin-left: 1rem;
}

.hamburger-nav__menu .sub-menu a::before {
  content: '›';
  position: absolute;
  left: 2rem;
  color: #71717a;
  transition: all 0.3s ease;
}

.hamburger-nav__menu .sub-menu a:hover {
  background-color: rgba(255, 65, 0, 0.05);
  color: #ffffff;
  padding-left: 3.5rem;
  border-left-color: #ff4100;
}

.hamburger-nav__menu .sub-menu a:hover::before {
  color: #ff4100;
  left: 2.5rem;
}

.hamburger-nav__menu .sub-menu a.current-menu-item,
.hamburger-nav__menu .sub-menu a.current_page_item {
  background-color: rgba(255, 65, 0, 0.1);
  color: #ff4100;
  border-left-color: #ff4100;
}

/* スクロールバー非表示 */
body.menu-open {
  overflow: hidden;
}

/* Scrollbar Hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Left Sidebar Background */
.sidebar-left-bg {
  background-image: url('../img/bg.webp');
  background-size: cover;
  background-position: center;
}

/* Right Sidebar Logo */
.sidebar-right-logo {
  background-image: url('../img/logo_xhl.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20%;
}

/* Splide Slider Custom Styles */
.home-slider .splide__slide img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
}

/* Games Slider */
#games-slider .splide__slide {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

#games-slider .splide__slide.is-active {
  opacity: 1;
}

/* Games Slider Arrows */
#games-slider .splide__arrow {
  background: rgba(255, 65, 0, 0.9);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;
}

#games-slider .splide__arrow:hover {
  background: #ff4100;
  transform: scale(1.1);
}

#games-slider .splide__arrow svg {
  fill: #ffffff;
}

#games-slider .splide__arrow--prev {
  left: -1rem;
}

#games-slider .splide__arrow--next {
  right: -1rem;
}

/* Games Slider Pagination */
#games-slider .splide__pagination {
  bottom: -2.5rem;
  padding: 0;
}

#games-slider .splide__pagination__page {
  background: #52525b;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0.5;
  margin: 0 0.25rem;
}

#games-slider .splide__pagination__page.is-active {
  background: #ff4100;
  transform: scale(1.3);
  opacity: 1;
}

#games-slider .splide__pagination__page:hover {
  opacity: 0.8;
  transform: scale(1.15);
}

/* Post Content Typography (Tailwind-based) */
.prose {
  color: #ffffff;
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 0.8em;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.prose h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose img {
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.5rem;
}

.prose a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 500;
}

.prose a:hover {
  color: #d4d4d8;
}

.prose strong {
  font-weight: 700;
}

.prose blockquote {
  font-style: italic;
  color: #a1a1aa;
  border-left: 0.25rem solid #52525b;
  padding-left: 1em;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
}

.prose code {
  background-color: #27272a;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-weight: 400;
}

.prose pre {
  background-color: #18181b;
  overflow-x: auto;
  border-radius: 0.5rem;
  padding: 1.25em;
  margin-top: 1.7em;
  margin-bottom: 1.7em;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  font-size: 0.875em;
  line-height: 1.7;
}

/* Size variants */
.prose-lg {
  font-size: 1.125rem;
  line-height: 1.8;
}

.prose-lg p {
  margin-bottom: 1.3em;
}

/* Pagination Styles */
.pagination-item a,
.pagination-item span {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-item a {
  background-color: #27272a;
  color: #ffffff;
}

.pagination-item a:hover {
  background-color: #3f3f46;
  transform: translateY(-2px);
}

.pagination-item span.current {
  background-color: #2563eb;
  color: #ffffff;
}

.pagination-item span.dots {
  background-color: transparent;
  color: #71717a;
}

/* ===================================================
   順位表 - Standings Table
   ================================================== */

/* シーズン選択 */
.standings-season-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.standings-season-selector label {
  font-weight: 500;
  font-size: 0.875rem;
  color: #ffffff;
}

.season-select {
  padding: 0.75rem 1rem;
  border: 1px solid #3f3f46;
  border-radius: 0.5rem;
  background-color: #18181b;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.season-select:hover,
.season-select:focus {
  border-color: #2563eb;
  outline: none;
}

/* 順位表テーブル */
.standings-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #18181b;
  border-radius: 0.5rem;
  overflow: hidden;
}

.standings-table thead {
  background-color: #27272a;
}

.standings-table th {
  padding: 1rem 0.5rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
  color: #a1a1aa;
  white-space: nowrap;
}

.standings-table td {
  padding: 1rem 0.5rem;
  text-align: center;
  border-top: 1px solid #27272a;
}

/* 順位列 */
.standings-rank {
  width: 60px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}

.rank-1 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #18181b;
}

.rank-2 {
  background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
  color: #18181b;
}

.rank-3 {
  background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
  color: #ffffff;
}

/* チーム列 */
.standings-team {
  text-align: left !important;
  min-width: 150px;
}

.team-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.team-name {
  font-weight: 500;
  color: #ffffff;
}

/* 統計列 */
.standings-stat {
  font-size: 0.875rem;
  color: #d4d4d8;
  min-width: 50px;
}

/* 勝点列 */
.standings-points {
  font-size: 1rem;
  color: #2563eb;
  font-weight: 700;
  min-width: 70px;
}

/* 順位によるハイライト */
.standings-row:hover {
  background-color: #27272a;
}

/* 注釈 */
.standings-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #71717a;
  text-align: center;
}

.standings-empty {
  text-align: center;
  padding: 2rem;
  color: #71717a;
}

/* 転置テーブル（3チーム以下用） */
.standings-table--transpose th {
  white-space: normal;
}

.standings-table--transpose th.standings-team {
  min-width: 0;
  text-align: center !important;
}

.standings-table--transpose th.standings-team .team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.standings-table--transpose .team-logo {
  width: 2.6rem;
  height: 2.6rem;
}

.standings-table--transpose .team-name {
  font-size: 0.75rem;
}

/* 行ラベル（項目）列をコンパクトに */
.standings-table--transpose tbody tr>td.standings-stat:first-child {
  text-align: left;
  white-space: nowrap;
  width: 96px;
  color: #a1a1aa;
}

/* Variant A: メダル階層 × ポイントバー */
.standings-table--variantA .standings-row {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.standings-table--variantA .standings-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.standings-table--variantA thead {
  background: linear-gradient(180deg, #2a2a2e, #222226);
}

.standings-table--variantA .standings-row:nth-child(1) {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.05));
}

.standings-table--variantA .standings-row:nth-child(2) {
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.08), rgba(128, 128, 128, 0.05));
}

.standings-table--variantA .standings-row:nth-child(3) {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.08), rgba(139, 69, 19, 0.05));
}

.points-bar {
  position: relative;
  height: 6px;
  background: #27272a;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.points-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

/* Variant B: カード感 × リーダー帯 */
.standings-table--variantB .standings-row {
  background: #1c1c20;
  border-radius: 12px;
  overflow: hidden;
}

.standings-table--variantB .standings-row+.standings-row {
  margin-top: 0.5rem;
}

.standings-table--variantB .standings-row td {
  border-top: none;
}

.standings-table--variantB .standings-row:nth-child(1) {
  box-shadow: inset 0 2px 0 0 rgba(255, 215, 0, 0.4);
}

.standings-table--variantB .standings-row:nth-child(2) {
  box-shadow: inset 0 2px 0 0 rgba(192, 192, 192, 0.35);
}

.standings-table--variantB .standings-row:nth-child(3) {
  box-shadow: inset 0 2px 0 0 rgba(205, 127, 50, 0.35);
}

/* Variant C: コンパクト・アイコン指標（pill表示） */
.standings-table--variantC .stat-pill {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #232327;
  font-size: 0.8125rem;
  min-width: 2.25rem;
}

.standings-table--variantC .stat-pill--accent {
  background: #1e293b;
  color: #60a5fa;
}

/* C案用: メダルバッジ（ロゴ上部） */
.medal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.medal-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #18181b;
}

.medal-silver {
  background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
  color: #18181b;
}

.medal-bronze {
  background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
  color: #ffffff;
}

/* ===============================
   試合一覧 - 熱量スタイル
   =============================== */
.game-card {
  position: relative;
}

.game-card .game-heat {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(80% 50% at 50% 0%, rgba(255, 64, 0, 0.18) 0%, rgba(255, 64, 0, 0.06) 50%, transparent 100%);
}

/* ===============================
   Teams - カラー/背景適用
   =============================== */
.team-hero {
  position: relative;
}

.team-hero__inner {
  position: relative;
  background-image: var(--team-bg);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-left: -1rem;
  margin-right: -1rem;
}

@media (min-width: 768px) {
  .team-hero__inner {
    margin-left: -1.875rem;
    margin-right: -1.875rem;
  }
}

.team-hero__title {
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.team-hero__subtitle {
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.team-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.team-accent {
  color: var(--team-color, #00a0e9);
}

/* ===============================
   Players - シーズン成績バー
   =============================== */
.player-hero {
  background: radial-gradient(120% 60% at 50% -20%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.player-hero__image {
  margin-left: -1rem;
  margin-right: -1rem;
}

@media (min-width: 768px) {
  .player-hero__image {
    margin-left: -1.875rem;
    margin-right: -1.875rem;
  }
}

/* Player meta */
.player-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-hero__number {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.player-hero__name {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.player-hero__subname {
  color: #a1a1aa;
  font-size: 0.875rem;
  line-height: 1.2;
}

.player-hero__position {
  color: #a1a1aa;
  margin-top: 0.25rem;
}

/* Player meta rows */
.player-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.player-meta__label {
  color: #a1a1aa;
  min-width: 96px;
}

.player-meta__value {
  color: #ffffff;
}

/* Stat card */
.stat-card {
  background: #1c1c20;
  border: 1px solid #2a2a2e;
  border-radius: 12px;
  padding: 1rem;
}

.stat-card__label {
  color: #a1a1aa;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.stat-card__value {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-bar {
  position: relative;
  height: 8px;
  background: #27272a;
  border-radius: 9999px;
  overflow: hidden;
}

.stat-bar__fill {
  height: 100%;
  width: 0;
  transition: width 0.6s ease;
}

.stat-bar__fill--goals {
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.stat-bar__fill--assists {
  background: linear-gradient(90deg, #34d399, #10b981);
}

.stat-bar__fill--points {
  background: linear-gradient(90deg, #facc15, #eab308);
}

.game-card--live .game-heat {
  opacity: 1;
}

.game-card--live {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35) inset;
}

.game-card--finished {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25) inset;
}

.game-card--scheduled {
  border-color: #3f3f46;
}

.team-logo-link {
  display: inline-block;
  transform: translateZ(0);
}

.team-logo-link:hover img {
  filter: drop-shadow(0 6px 16px rgba(255, 255, 255, 0.12));
  transform: scale(1.04);
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* モバイル最適化 */
/* スマポンシブ: モバイルもPCも同じカード型レイアウト */
.standings-table:not(.standings-table--transpose) {
  display: block;
}

.standings-table:not(.standings-table--transpose) thead {
  display: none;
}

.standings-table:not(.standings-table--transpose) tbody {
  display: block;
}

.standings-table:not(.standings-table--transpose) .standings-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #27272a;
  background-color: #18181b;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.standings-table:not(.standings-table--transpose) .standings-rank {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.standings-table:not(.standings-table--transpose) .standings-team {
  grid-column: 2;
  grid-row: 1;
  text-align: left !important;
  padding: 0;
  margin-bottom: 1rem;
}

.standings-table:not(.standings-table--transpose) td {
  padding: 0.25rem 0;
  text-align: left;
  border: none;
}

.standings-table:not(.standings-table--transpose) td:not(.standings-rank):not(.standings-team) {
  grid-column: 2;
}

.standings-table:not(.standings-table--transpose) td::before {
  content: attr(data-label);
  font-weight: 500;
  color: #a1a1aa;
  margin-right: 0.5rem;
  display: inline-block;
  min-width: 70px;
}

.standings-table:not(.standings-table--transpose) .standings-rank::before,
.standings-table:not(.standings-table--transpose) .standings-team::before {
  content: none;
}

.standings-table:not(.standings-table--transpose) .standings-points {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ===================================================
   アーカイブページ ヒーローセクション
   ================================================== */

/* 試合日程・結果 ヒーロー */
.hero-games {
  position: relative;
  min-height: 27vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-games__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero_games.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 視認性確保のための暗いオーバーレイ */
.hero-games__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(24, 24, 27, 0.75) 50%,
    rgba(9, 9, 11, 0.85) 100%
  );
  z-index: 1;
}

/* ブランドカラーアクセント */
.hero-games__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(236, 72, 153, 0.15) 100%
  );
  z-index: 2;
}

.hero-games__inner {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.hero-games__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero-games__title {
    font-size: 2.25rem; /* 36px */
  }
}

/* チーム一覧 ヒーロー */
.hero-teams {
  position: relative;
  min-height: 27vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-teams__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero_games.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 視認性確保のための暗いオーバーレイ */
.hero-teams__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(24, 24, 27, 0.75) 50%,
    rgba(9, 9, 11, 0.85) 100%
  );
  z-index: 1;
}

/* ブランドカラーアクセント */
.hero-teams__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(236, 72, 153, 0.15) 100%
  );
  z-index: 2;
}

.hero-teams__inner {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.hero-teams__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero-teams__title {
    font-size: 2.25rem; /* 36px */
  }
}

/* ニュース ヒーロー */
.hero-news {
  position: relative;
  min-height: 27vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-news__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero_news.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 視認性確保のための暗いオーバーレイ */
.hero-news__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(24, 24, 27, 0.75) 50%,
    rgba(9, 9, 11, 0.85) 100%
  );
  z-index: 1;
}

/* ブランドカラーアクセント */
.hero-news__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(236, 72, 153, 0.15) 100%
  );
  z-index: 2;
}

.hero-news__inner {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.hero-news__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero-news__title {
    font-size: 2.25rem; /* 36px */
  }
}

/* 順位表 ヒーロー */
.hero-standings {
  position: relative;
  min-height: 27vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-standings__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero_standing.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 視認性確保のための暗いオーバーレイ */
.hero-standings__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(9, 9, 11, 0.85) 0%,
    rgba(24, 24, 27, 0.75) 50%,
    rgba(9, 9, 11, 0.85) 100%
  );
  z-index: 1;
}

/* ブランドカラーアクセント */
.hero-standings__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(139, 92, 246, 0.15) 50%,
    rgba(236, 72, 153, 0.15) 100%
  );
  z-index: 2;
}

.hero-standings__inner {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.hero-standings__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero-standings__title {
    font-size: 2.25rem; /* 36px */
  }
}

/* ===================================================
   フッターナビゲーション
   ================================================== */

.footer-nav {
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: #a1a1aa;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

/* ===================================================
   汎用ページ ヒーローセクション
   ================================================== */

.hero-page {
  position: relative;
  min-height: 27vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
}

.hero-page__inner {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}

.hero-page__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero-page__title {
    font-size: 2.25rem; /* 36px */
  }
}

/* ===================================================
   選手一覧 アニメーション
   ================================================== */

/* アニメーション定義 */
@keyframes playerFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態: 表示（JSが無効でも見える） */
.player-card {
  opacity: 1;
  transform: translateY(0);
}

/* JSが有効な場合のみ非表示 */
.js .player-card:not(.is-visible) {
  opacity: 0;
  transform: translateY(30px);
}

/* アニメーション実行 */
.player-card.is-visible {
  animation: playerFadeInUp 0.6s ease-out forwards;
}

/* ===================================================
   試合一覧 アニメーション
   ================================================== */

/* 初期状態: 表示（JSが無効でも見える） */
.game-card-animated {
  opacity: 1;
  transform: translateY(0);
}

/* JSが有効な場合のみ非表示 */
.js .game-card-animated:not(.is-visible) {
  opacity: 0;
  transform: translateY(30px);
}

/* アニメーション実行 */
.game-card-animated.is-visible {
  animation: playerFadeInUp 0.6s ease-out forwards;
}
