/**
 * 平成音大のここが好き（リニューアル）ページ固有スタイル
 * 共通: cheering-common.css
 */

/* ----- Graduates / Filter ----- */
.chl-graduates {
  padding: 7rem 0;
}

.chl-graduates__filter {
  align-items: center;
  border-bottom: 1px solid #e4e0dc;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-bottom: 6rem;
  padding: 2.8rem 0 2.9rem;
}

.chl-graduates__filter-label {
  color: #555;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
  white-space: nowrap;
}

.chl-graduates__tabs {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.chl-graduates__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chl-grad-item + .chl-grad-item {
  border-top: 1px solid var(--ch-border);
  margin-top: 5.6rem;
  padding-top: 5.6rem;
}

.chl-grad {
  align-items: start;
  display: grid;
  gap: 4.8rem;
  grid-template-columns: minmax(0, 35.7rem) minmax(0, 1fr);
}

.chl-grad--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 35.7rem);
}

.chl-grad--reverse .chl-grad__media {
  order: 2;
}

.chl-grad--reverse .chl-grad__body {
  order: 1;
}

.chl-grad__media {
  line-height: 0;
  overflow: hidden;
}

.chl-grad__img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.chl-grad__meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.chl-grad__num {
  color: var(--ch-red);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.8;
  margin: 0;
}

.chl-grad__cat {
  background: #f2f2f2;
  border-radius: 999px;
  color: #333;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  padding: 0.3rem 1rem;
}

.chl-grad__cat--faculty {
  background: #fff0f0;
  color: var(--ch-red);
}

.chl-grad__cat--daycare {
  background: #fff5eb;
  color: #c45a00;
}

.chl-grad__cat--musician {
  background: #eef6ff;
  color: #1a6bb5;
}

.chl-grad__cat--announcer {
  background: #f3eef8;
  color: #6b3fa0;
}

.chl-grad__quote {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.chl-grad__quote-mark {
  color: var(--ch-red);
  display: inline-block;
  font-size: 1.2em;
  line-height: 1;
  margin-right: 0.2rem;
}

.chl-grad__name {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 0.4rem;
}

.chl-grad__career {
  color: var(--ch-gray);
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}

.chl-grad__text {
  background: #f7f7f7;
  box-sizing: border-box;
  padding: 2rem;
}

.chl-grad__text p {
  color: #444;
  font-size: 1.4rem;
  line-height: 1.9;
  margin: 0;
}

/* ----- Students ----- */
.chl-students {
  background: #f2f2f2;
  padding: 7rem 0;
}

.chl-students__list {
  align-items: stretch;
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.chl-students__item {
  display: flex;
  min-height: 0;
}

.chl-student-card {
  background: var(--ch-white);
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  font: inherit;
  height: 100%;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.chl-student-card:hover {
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.08);
  transform: translateY(-0.4rem);
}

.chl-student-card:focus-visible {
  outline: 2px solid var(--ch-red);
  outline-offset: 4px;
}

.chl-student-card__media {
  aspect-ratio: 359 / 415;
  background: #eee;
  display: block;
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.chl-student-card__img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chl-student-card__body {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 2.4rem 2.4rem 2.8rem;
}

.chl-student-card__quote {
  color: #111;
  display: block;
  flex: 1 1 auto;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1.2rem;
}

.chl-student-card__meta {
  color: #555;
  display: block;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.8;
}

/* ----- SNS ----- */
.chl-sns {
  background: var(--ch-white);
  padding: 7rem 0;
}

.chl-sns__list {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.chl-sns-card {
  align-items: center;
  background: var(--ch-white);
  border: 1px solid #e4e0dc;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 31.7rem;
  padding: 4.8rem 2rem 3.2rem;
  text-align: center;
}

.chl-sns-card__icon-wrap {
  line-height: 0;
  margin-bottom: 1.6rem;
}

.chl-sns-card__icon {
  display: block;
  height: auto;
  max-height: 5.6rem;
  margin-inline: auto;
  width: auto;
  max-width: 6.6rem;
}

.chl-sns-card--instagram .chl-sns-card__icon {
  max-height: 5.4rem;
  max-width: 5.4rem;
}

.chl-sns-card__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.17;
  margin: 0 0 1.2rem;
}

.chl-sns-card__text {
  color: var(--ch-gray);
  flex: 1 1 auto;
  font-size: 1.4rem;
  line-height: 1.714;
  margin: 0 0 2rem;
}

/* SNS専用ピルボタン（p-btn の斜めホバーは使わない） */
.chl-sns-card__btn {
  align-items: center;
  background: #fff;
  border: 1px solid #e4e0dc;
  border-radius: 100px;
  box-sizing: border-box;
  color: #111;
  display: inline-flex;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.44;
  margin-top: auto;
  padding: 0.9rem 2.1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chl-sns-card__btn:hover {
  background: #f7f7f7;
  border-color: #ccc;
  color: #111;
  text-decoration: none;
}

.chl-sns-card__btn--line {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
}

.chl-sns-card__btn--line:hover {
  background: #05b34c;
  border-color: #05b34c;
  color: #fff;
}

@media (max-width: 1023px) {
  .chl-grad,
  .chl-grad--reverse {
    gap: 2.4rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .chl-grad--reverse .chl-grad__media,
  .chl-grad--reverse .chl-grad__body {
    order: initial;
  }

  .chl-grad__media {
    max-width: 36rem;
  }

  .chl-students__list,
  .chl-sns__list {
    grid-template-columns: 1fr;
    max-width: 42rem;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .chl-graduates,
  .chl-students {
    padding: 10.6667vw 0;
  }

  .chl-graduates__filter {
    margin-bottom: 8vw;
    padding: 4vw 0 5.3333vw;
  }

  .chl-grad-item + .chl-grad-item {
    margin-top: 10.6667vw;
    padding-top: 10.6667vw;
  }

  .chl-grad__quote {
    font-size: 2rem;
  }

  .chl-students + .chl-sns {
    padding-bottom: 10.6667vw;
  }

  .chl-sns {
    padding: 10.6667vw 0;
  }

  .chl-sns-card {
    min-height: 0;
    padding: 4.8rem 2.4rem 3.2rem;
  }
}
