/* ========================================
   RENACER FC TEAM PAGE
   Navy × Gold
======================================== */

.team-page {
  color: #172033;
  font-family: "Noto Sans JP", sans-serif;
  overflow: hidden;
}

.team-page *,
.team-page *::before,
.team-page *::after {
  box-sizing: border-box;
}

/* メインビジュアル */
.team-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 24px 76px;
  color: #fff;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(46, 95, 145, 0.48), transparent 40%),
    linear-gradient(125deg, #07152e 0%, #0a1b39 58%, #102d50 100%);
}

.team-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.team-hero-label {
  display: inline-block;
  margin: 0 0 38px;
  padding: 8px 13px;
  border: 1px solid rgba(231, 212, 155, 0.65);
  color: #e7d49b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.team-hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(66px, 11vw, 120px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0.01em;
}

.team-hero h1 span {
  color: #e7d49b;
}

.team-hero-line {
  width: 65px;
  height: 4px;
  margin: 30px 0 22px;
  background: #e7d49b;
}

.team-hero-copy {
  margin: 0;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
}

.team-hero-location {
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.team-hero-decoration {
  position: absolute;
  right: 5%;
  bottom: -105px;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(260px, 40vw, 500px);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

/* セクション共通見出し */
.team-section-label {
  margin: 0 0 14px;
  color: #2e5f91;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* チーム紹介 */
.team-story {
  padding: 86px 24px 90px;
  background: #fff;
}

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

.team-story-heading {
  margin-bottom: 32px;
}

.team-story-heading h2 {
  margin: 0;
  color: #0a1b39;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.team-heading-accent {
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 22px;
  background: #c9b16c;
}

.team-story-content {
  max-width: 790px;
  margin-left: auto;
  padding-left: 30px;
  border-left: 1px solid #d8dfeb;
}

.team-story-content p {
  margin: 0 0 22px;
  color: #414b5b;
  font-size: 15px;
  line-height: 2.2;
}

.team-story-content strong {
  color: #0a1b39;
  font-weight: 900;
}

.team-story-content .team-story-greeting {
  margin-top: 28px;
  margin-bottom: 0;
  color: #0a1b39;
  font-size: 16px;
  font-weight: 700;
}

/* チームの大切にすること */
.team-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 62px;
  border-top: 1px solid #dfe4eb;
  border-bottom: 1px solid #dfe4eb;
}

.team-value {
  padding: 25px 22px 28px;
}

.team-value + .team-value {
  border-left: 1px solid #dfe4eb;
}

.team-value-number {
  color: #b49a4e;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.team-value h3 {
  margin: 7px 0 10px;
  color: #0a1b39;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-value p {
  margin: 0;
  color: #596273;
  font-size: 13px;
  line-height: 1.9;
}

/* 写真ギャラリー */
.team-gallery {
  padding: 78px 24px 95px;
  background: #f3f5f8;
}

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

.team-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.team-gallery-heading h2 {
  margin: 0;
  color: #0a1b39;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.team-gallery-heading h2 span {
  color: #b49a4e;
}

.team-gallery-description {
  margin: 0 0 3px;
  color: #586273;
  font-size: 13px;
  line-height: 1.9;
  text-align: right;
}

/* 1段目3枚・2段目2枚 */
.team-gallery-photos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.team-gallery-photo {
  grid-column: span 2;
  min-width: 0;
  margin: 0;
  padding-bottom: 14px;
  overflow: hidden;
  border-bottom: 3px solid #c9b16c;
  background: #fff;
}

.team-gallery-photo:nth-child(4) {
  grid-column: 2 / span 2;
}

.team-gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.team-gallery-photo figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px 0;
  color: #0a1b39;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-gallery-photo figcaption span {
  color: #b49a4e;
  font-size: 17px;
}


/* スマートフォン */
@media (max-width: 700px) {
  .team-hero {
    padding: 60px 22px 58px;
  }

  .team-hero-label {
    margin-bottom: 32px;
  }

  .team-hero h1 {
    font-size: clamp(58px, 14vw, 82px);
  }

  .team-hero-location {
    margin-top: 30px;
  }

  .team-story {
    padding: 58px 22px 62px;
  }

  .team-story-heading {
    margin-bottom: 25px;
  }

  .team-story-content {
    padding-left: 17px;
  }

  .team-story-content p {
    font-size: 14px;
    line-height: 2.05;
  }

  .team-values {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .team-value {
    padding: 20px 8px 22px;
  }

  .team-value + .team-value {
    border-top: 1px solid #dfe4eb;
    border-left: 0;
  }

  .team-value h3 {
    margin-top: 3px;
  }

  .team-gallery {
    padding: 55px 18px 62px;
  }

  .team-gallery-heading {
    display: block;
    margin-bottom: 25px;
  }

  .team-gallery-heading h2 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .team-gallery-description {
    margin-top: 15px;
    text-align: left;
  }

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

  .team-gallery-photo,
  .team-gallery-photo:nth-child(4) {
    grid-column: auto;
  }

  .team-closing {
    padding: 52px 20px 58px;
  }
}
/* グレード表記 */
.team-gallery-photo figcaption.team-gallery-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px 0;
  color: #0a1b39;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}


/* カテゴリー表記 */
.team-gallery-number {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #b69a54;
  white-space: nowrap;
}

/* 学年表記 */
.team-gallery-grade {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
/* 写真下の文字サイズ調整 */
.team-page .team-gallery-photo figcaption.team-gallery-caption .team-gallery-number {
  font-size: 12px;
}

.team-page .team-gallery-photo figcaption.team-gallery-caption .team-gallery-grade {
  font-size: 12px;
}