
/* ========================================
   RENACER FC 大会・試合結果ページ専用CSS
   共通デザインは style.css を使用
======================================== */

/* 大会カード */
.tournament-card {
  margin: 0 0 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}

/* 大会名 */
.tournament-heading {
  padding: 22px 24px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.tournament-number {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font: 700 11px "Barlow Condensed", sans-serif;
  letter-spacing: 2px;
}

.tournament-heading h2 {
  margin: 0;
  padding: 0;
  color: var(--navy);
  border: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  line-height: 1.6;
}

/* PDFリンク一覧 */
.pdf-list {
  display: grid;
  gap: 12px;
  padding: 22px 24px;
}

.pdf-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px 18px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.pdf-link:hover {
  background: #ffffff;
  border-color: var(--gold);
}

.pdf-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* PDFアイコン */
.pdf-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: var(--gold);
  font: 800 13px "Barlow Condensed", sans-serif;
  letter-spacing: 1px;
}

/* PDFの説明 */
.pdf-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pdf-info strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pdf-info small {
  color: var(--muted);
  font-size: 12px;
}

/* PDFリンクの矢印 */
.pdf-arrow {
  flex-shrink: 0;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.2s;
}

.pdf-link:hover .pdf-arrow {
  transform: translate(2px, -2px);
}

/* 更新案内 */
.update-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* スマートフォン */
@media (max-width: 600px) {
  .tournament-card {
    margin-bottom: 20px;
  }

  .tournament-heading {
    padding: 17px 16px 14px;
  }

  .pdf-list {
    gap: 10px;
    padding: 14px;
  }

  .pdf-link {
    gap: 11px;
    padding: 12px;
  }

  .pdf-icon {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .pdf-info strong {
    font-size: 13px;
  }

  .pdf-info small {
    font-size: 11px;
  }
}

/* 試合結果表示させないときのコード */

/* 未掲載の試合結果 */
.pdf-link-unavailable {
cursor: default;
background: #f0f1f2;
border-color: #e1e4e8;
border-left-color: #cbd0d6;
transition: none;
}

/* ホバーしてもデザインを変えない */
.pdf-link-unavailable {
background: #f0f1f2;
border-color: #e1e4e8;
border-left-color: #cbd0d6;
}

/* PDFアイコン */
.pdf-link-unavailable .pdf-icon {
color: #687486;
background: #dfe3e8;
}

/* 未掲載の文字 */
.pdf-link-unavailable .pdf-info strong {
color: #687486;
}

.pdf-link-unavailable .pdf-info small {
color: #89919c;
}

/* 未掲載ラベル */
.pdf-status {
flex-shrink: 0;
padding: 4px 10px;
color: #687486;
background: #e1e4e8;
font-size: 11px;
font-weight: 700;
}
/* 試合結果表示させないときのコードここまで */

/* ========================================
   大会写真 固定フォトギャラリー
======================================== */

.team-gallery {
  padding: 0 22px 55px;
}

.team-gallery-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.team-gallery-heading {
  margin-bottom: 24px;
  text-align: center;
}

.gallery-eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font: 700 11px "Barlow Condensed", sans-serif;
  letter-spacing: 3px;
}

.team-gallery-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(25px, 4vw, 36px)/1.3 "Barlow Condensed", sans-serif;
  letter-spacing: 1px;
}

.team-gallery-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
}

.team-gallery-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* 写真の外枠 */
.team-gallery-photo {
  margin: 0;
  padding: 5px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 12px rgba(10, 27, 57, 0.08);
}

/* 元の写真を活かした表示 */
.team-gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(1.03) contrast(1.02) saturate(1.03);
}

/* スマートフォン */
@media (max-width: 600px) {
  .team-gallery {
    padding: 0 14px 38px;
  }

  .team-gallery-heading {
    margin-bottom: 18px;
  }

  .team-gallery-photos {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .team-gallery-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}
/* ========================================
   大会写真ここまで
======================================== */
