/* ==== 大会ヒーロー部分 ==== */
.tournament-hero {
  position: relative;
  width: 100%;
  height: 250px;        /* 高さを固定 */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tournament-hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  height:250px;
  background: rgba(0,0,0,0.4);
}

.tournament-hero .hero-content {
  position: relative; /* overlayの上に表示 */
  color: #fff;
  text-align: center;
}

.tournament-hero h1 {
  font-size: 2rem;
  margin: 0;
}


/* ==== ラベル ==== */
.labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.label {
  background-color: rgba(255,255,255,0.75);
  border: 1px solid #e50914;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  color: #111;
  transition: all 0.3s ease;
}

/* ==== 概要 ==== */
.tournament-detail {
  padding: 2rem;
  color: #ccc;
  background-color: #121212;
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
  z-index: 1; /* ヒーローより上に */
}

/* ==== 試合一覧 ==== */
.tournament-matches {
  padding: 2rem;
  position: relative;
  z-index: 2; /* ヒーローより上 */
}

.tournament-matches .sub-title {
  font-size: 1.3rem;
  border-left: 4px solid #e50914;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* ==== 試合カード ==== */
.match-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  justify-items: left;
}

.match-card {
  background-color: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  position: relative; /* z-index を持たせてヒーロー下に隠れない */
  z-index: 3;
}

.match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.match-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.match-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.match-info h4 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

.match-time {
  color: #e50914;
  font-size: 0.9rem;
  font-weight: bold;
}

.match-info p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}