/* ==========================================================================
   キッズアカデミー レフリーアカデミー
   ========================================================================== */

/* 各セクション */
@media screen and (min-width:1181px) {
  .referee-profile {
    margin-bottom: 140px
  }
}
@media screen and (min-width:768px) and (max-width:1180px) {}
@media screen and (max-width:767px) {}

/* ボタン */
.referee-btn__link {
  display: block;
  padding: 6px 20px;
  color: #000;
  text-decoration: none;
  text-align: center;
  border-radius: 20px;
  border: 1px solid #707070;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.referee-btn__lbl {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
}
@media (hover: hover) {
  .referee-btn__link:hover {
    color: #fff;
    background: #BF0606;
    border-color: #BF0606;
  }
}
@media screen and (min-width:768px) {
  .referee-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 0 50px;
    margin-bottom: 60px;
  }
  .referee-btn__link {
    width: 372px;
  }
  .referee-btn__lbl {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .referee-btn-wrap {
    margin: 40px 0;
  }
  .referee-btn__item:not(:first-child) {
    margin-top: 20px;
  }
  .referee-btn__lbl {
    font-size: 16px;
  }
}

/* 見出し */
.referee-header {
  margin-bottom: 30px;
  text-align: center;
  background-color: #BF0606;
}
.referee-header__ttl {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
}
@media screen and (min-width:768px) {
  .referee-header__ttl {
    font-size: 58px;
  }
}
@media (max-width: 767px) {
  .referee-header__ttl {
    font-size: 36px;
  }
}


/* 全体のブロック */
.referee-section-wrapper {
  margin-top: 180px;
}

/* カード全体の外枠（参考画像カード風） */
.coach-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.coach-item {
  display: flex;
  align-items: center;
  gap: 36px;
}

.coach-item__img {
  width: 260px;
  flex-shrink: 0;
}

.coach-item__img img {
  width: 100%;
  height: auto;
  display: block;
}

.coach-item__info {
  flex: 1;
}

/* 講師名（左に赤バーのアクセント） */
.coach-item__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 16px 0;
  padding-left: 12px;
  border-left: 4px solid #e60012; /* アカデミーの赤バー */
}

/* ■講師経歴 */
.coach-item__position {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ddd; /* 破線の区切り */
}

/* 経歴リスト（年月と内容を2列グリッドで整列） */
.coach-item__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coach-item__list-item {
  display: flex;
  align-items: baseline;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 6px 0;
}

.coach-item__list-item:not(:last-child) {
  border-bottom: 1px solid #f2f2f2;
}

/* 年月（赤太字＋固定幅） */
.coach-item__date {
  width: 100px;
  flex-shrink: 0;
  font-weight: bold;
}

/* コーチ経歴詳細 */
.coach-item__desc {
  flex: 1;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
}

/* SP表示（767px以下） */
@media screen and (max-width: 767px) {
  .coach-card {
    padding: 20px 16px;
  }

  .coach-item {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .coach-item__img {
    width: 200px;
  }

  .coach-item__name {
    font-size: 20px;
  }

  .coach-item__list-item {
    flex-direction: column;
    padding: 8px 0;
  }

  .coach-item__date {
    width: 100%;
    margin-bottom: 2px;
  }
}