/* ========================================
  Athlete
======================================== */
.p-athlete .l-inner {
  max-width: 108rem;
}

.p-athlete-individual {
  margin-top: 8rem;
}

.p-athlete-team {
  margin: 20rem 0;
}

@media (max-width: 768px) {
  .p-athlete-individual {
    margin-top: 6rem;
  }

  .p-athlete-team {
    margin-bottom: 15rem;
  }
}

.p-athlete .c-ttl {
  padding-bottom: 1rem;
  border-bottom: 0.1rem solid #E9E9E9;
}

.p-athlete .c-ttl__ja {
  font-size: 3rem;
  line-height: 1.54;
  font-weight: 600;
}


@media (max-width: 768px) {
  .p-athlete .c-ttl__ja {
    font-size: 2.4rem;
  }
}

/* ========================================
  Athlete Card（個人・チーム共通）
======================================== */
.p-athlete__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 5rem 2rem;
  margin-top: 5rem;
}

.p-athlete-card {
  display: flex;
  flex-direction: column;
}

.p-athlete-card__sport {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.p-athlete-card__name {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.p-athlete-card__products {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-top: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid #1C1C1C;
}

.p-athlete-card__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-right: 1.1rem;
}

.p-athlete-card__main img {
  width: auto;
  height: 6.6rem;
}

.p-athlete-card__product {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.43;
  letter-spacing: 0;
}

.p-athlete-card__others {
  flex-grow: 1;
  margin-top: 2rem;
  padding: 1.2rem 1.6rem 1.2rem 4rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  background-color: #F5F5F5;
  border-radius: 0.6rem;
}

.p-athlete-card__others li {
  list-style: disc;
}

.p-athlete-card__main > a {
  flex-shrink: 0;
}

.p-athlete-card__main > a,
.p-athlete-card__product,
.p-athlete-card__others a {
  transition: opacity var(--transition-base);
}

.p-athlete-card__main > a:hover,
.p-athlete-card__product:hover,
.p-athlete-card__others a:hover {
  opacity: 0.7;
}

.p-athlete-team .p-athlete__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-athlete-team .p-athlete-card__products {
  flex-direction: row;
  gap: 1.6rem;
  padding-top: 2rem;
}

.p-athlete-team .p-athlete-card__main {
  flex-grow: 1;
  padding-top: 1.4rem;
  padding-right: 0;
}

.p-athlete-team .p-athlete-card__others {
  flex: 0 0 27rem;
  margin-top: 0;
  padding: 1.5rem 1.6rem 1.2rem 5rem;
}

@media (max-width: 768px) {
  .p-athlete__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 5rem 2.2rem;
    margin-top: 3rem;
  }

  .p-athlete-team .p-athlete__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .p-athlete-card__sport {
    margin-top: 1.2rem;
    font-size: 0.9rem;
  }

  .p-athlete-card__name {
    margin-top: 0.5rem;
    font-size: 1.4rem;
  }

  .p-athlete-card__products {
    margin-top: 1.2rem;
    padding-top: 1.4rem;
  }

  .p-athlete-card__main {
    gap: 0.5rem;
    padding-right: 0;
  }

  .p-athlete-card__main img {
    height: 4.4rem;
  }

  .p-athlete-individual .p-athlete-card__main {
    flex-direction: column;
    gap: 1.1rem;
    padding: 0 1rem;
  }

  .p-athlete-individual .p-athlete-card__main > a {
    align-self: center;
  }

  .p-athlete-individual .p-athlete-card__main img {
    height: 9rem;
  }

  .p-athlete-card__product {
    margin-top: 0.7rem;
    font-size: 1.2rem;
    line-height: 1.11;
  }

  .p-athlete-card__others {
    margin-top: 1.3rem;
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    font-size: 1rem;
    line-height: 1.8;
    border-radius: 0.4rem;
  }

  .p-athlete-team .p-athlete-card__products {
    gap: 0.8rem;
    padding-top: 1.6rem;
  }

  .p-athlete-team .p-athlete-card__main {
    padding-top: 0;
  }

  .p-athlete-team .p-athlete-card__main > a {
    flex-shrink: 1;
    min-width: 0;
  }

  .p-athlete-team .p-athlete-card__main img {
    height: 9rem;
    margin-top: -0.2rem;
    object-fit: contain;
  }

  .p-athlete-team .p-athlete-card__others {
    align-self: flex-start;
    flex: 0 0 18.2rem;
    padding: 0.8rem 0.7rem 0.8rem 2.2rem;
  }
}
