/* ========================
  教員カード
======================== */

.teacherCard {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  height: 100%;
  row-gap: 0;
}

.teacherCard__keep {
  align-items: center;
  background-color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  clip-path: polygon(1.1875rem 0, 100% 0, 100% 100%, 0 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  justify-self: end;
  padding: 0 1.25rem 0 1.1875rem;
  position: relative;
  transition: color 0.3s ease-out;
  width: 13.5rem;
}

.teacherCard__keep::before {
  background-color: #fff;
  clip-path: polygon(1.1875rem 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  inset: 1px;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease-out;
}

.teacherCard__keep--active {
  color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
}

.teacherCard__keep--active::before {
  opacity: 1;
}

@media (hover: hover) {
  .teacherCard__keep:hover {
    color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  }

  .teacherCard__keep:hover::before {
    opacity: 1;
  }

  .teacherCard__keep--active:hover {
    color: #fff;
  }

  .teacherCard__keep--active:hover::before {
    opacity: 0;
  }
}

.teacherCard__keepState {
  align-items: center;
  display: flex;
  position: relative;
}

.teacherCard__keepState--added,
.teacherCard__keep--active .teacherCard__keepState--add {
  display: none;
}

.teacherCard__keep--active .teacherCard__keepState--added {
  display: flex;
}

.teacherCard__keepIcon {
  flex-shrink: 0;
  margin: 0 0.375rem;
  position: relative;
}

.teacherCard__keepText {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}

.teacherCard__body {
  --facultyColorLight: color-mix(in srgb, var(--facultyColor) 10%, #fff);
  background-color: #fff;
  border: 1px solid var(--colorCaption);
  border-radius: 0.5rem 0 0.5rem 0.5rem;
  cursor: pointer;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  overflow: hidden;
  padding: 2px;  
  position: relative;
  row-gap: 0;
  width: 100%;
}

.teacherCard__body:has(.teacherCard__titleButton:focus-visible) {
  border: 3px solid var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorCardBorder)) */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 0;
}

@media (hover: hover) {
  .teacherCard__body:hover {
    border: 3px solid var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorCardBorder)) */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
  }
}

.teacherCard__head {
  background-color: var(--colorGray50);
}

.teacherCard__profile {
  align-items: center;
  display: flex;
  padding: 0 1rem;
}

.teacherCard__thumb {
  align-self: flex-start;
  aspect-ratio: 400 / 441;
  background-color: var(--colorGray);
  border-top: 4px solid var(--facultyColor, var(--colorPrimaryLight));
  flex-shrink: 0;
  overflow: hidden;
  width: 7.5rem;
}

.teacherCard__thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.teacherCard__meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0 0 0 1rem;
}

.teacherCard__belong {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.teacherCard__faculty {
  color: var(--facultyColor, inherit);
  font-size: 0.75rem;
  line-height: 1.4;
}

.teacherCard__department {
  background-color: var(--facultyColor, var(--colorSub));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.625rem) 100%, 0 100%);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.25rem;
  min-width: 8.125rem;
  padding: 0 1.125rem 0 0.5rem;
}

.teacherCard__department--empty {
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.375rem) 100%, 0 100%);
  display: block;
  height: 1.25rem;
  position: relative;
}

.teacherCard__department--empty::after {
  content: "";
  display: block;
  height: 1px;
  width: 82%;
  background: #fff;
  position: absolute;
  top: 50%;
}

.teacherCard__names {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.teacherCard__name {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.25rem;
  font-weight: 700;
  gap: 0 0.375rem;
  line-height: 1.4;
}

.teacherCard__post {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
}

.teacherCard__nameEn {
  color: var(--colorCaption);
  font-family: sans-serif;
  font-size: 0.625rem;
  line-height: 1.4;
}

/* ローマ字の姓は大文字で表示 */
.teacherCard__nameEnSurname {
  text-transform: uppercase;
}

.teacherCard__detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.teacherCard__row {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
}

.teacherCard__label {
  background-color: var(--facultyColorLight, var(--colorAccentBg));
  border-radius: 100px;
  color: var(--facultyColor, var(--colorSub));
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.125rem;
  padding-bottom: 2px;
  text-align: center;
  width: 4.375rem;
}

.teacherCard__value {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.4;
  min-width: 0;
}

.teacherCard__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.teacherCard__title {
  color: var(--facultyColor, var(--colorPrimary));
  display: -webkit-box;
  font-size: 0.9375rem;
  font-weight: 700;
  /* 2行分＋下線が切れないよう下に余白を確保 */
  box-sizing: border-box;
  height: calc(1.4em * 2 + 0.15em);
  line-clamp: 2;
  line-height: 1.4;
  overflow: hidden;
  padding-bottom: 0.15em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.3s ease-out;
}

.teacherCard__titleButton {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}

.teacherCard__titleButton:focus-visible {
  outline: none;
}

/* PC：タイトルのボタンをカード全体に広げ、カードのどこを押してもモーダルが開くようにする */
.teacherCard__titleButton::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

/* 「詳細を見る」ボタン（SP のみ表示） */
.teacherCard__more {
  align-items: center;
  background-color: var(--colorPrimary);
  border: 1px solid var(--colorPrimary);
  border-radius: 0.375rem;
  color: #fff;
  cursor: pointer;
  display: none;
  gap: 0.25rem;
  height: 2.75rem;
  justify-content: center;
  margin-top: auto;
  padding: 0 1rem;
  width: 100%;
}

.teacherCard__moreText {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.teacherCard__moreIcon {
  flex-shrink: 0;
}

.teacherCard__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

.teacherCard__image img {
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease-out;
  width: 100%;
}

.teacherCard__text {
  display: -webkit-box;
  font-size: 0.75rem;
  line-clamp: 3;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media screen and (max-width: 767px) {
  /* SP はカード全体ではなく、タイトルと「詳細を見る」ボタンだけを押せるようにする */
  .teacherCard__body {
    cursor: auto;
  }

  .teacherCard__body:has(.teacherCard__titleButton:focus-visible),
  .teacherCard__body:hover {
    border: 1px solid var(--colorCaption);
    box-shadow: none;
    padding: 2px;
  }

  .teacherCard__titleButton::after {
    content: none;
  }

  .teacherCard__titleButton:focus-visible {
    outline: 2px solid var(--colorPrimary);
    outline-offset: 2px;
  }

  .teacherCard__title {
    text-decoration-color: currentColor;
  }

  .teacherCard__more {
    display: flex;
  }

  .teacherCard__thumb {
    height: 6.25rem;
    width: 6.25rem;
  }

  .teacherCard__name {
    font-size: 1.125rem;
  }
}

/* ========================
  教員詳細モーダル
======================== */

body.modalOpen {
  overflow: hidden;
}

.teacherModal {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  height: 100%;
  margin: 0;
  max-height: 100%;
  max-width: 100%;
  padding: 2.5rem 5rem 5rem;
  width: 100%;
}

.teacherModal[open] {
  animation: teacherModalFadeIn 0.3s ease-out;
  display: flex;
}

.teacherModal::backdrop {
  background: transparent;
}

@keyframes teacherModalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.teacherModal__container {
  align-items: flex-end;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 80rem;
  min-height: 0;
  width: 100%;
}

.teacherModal__close {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 2.5rem;
  padding: 0;
  transition: opacity 0.3s ease-out;
}

@media (hover: hover) {
  .teacherModal__close:hover {
    opacity: 0.7;
  }
}

.teacherModal__closeText {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.teacherModal__closeIcon {
  flex-shrink: 0;
}

.teacherModal__dialog {
  align-items: flex-end;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 2.5rem;
  width: 100%;
}

.teacherModal__keep {
  align-items: center;
  background-color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  clip-path: polygon(1.1875rem 0, 100% 0, 100% 100%, 0 100%);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  max-width: 100%;
  padding: 0 1.25rem 0 1.1875rem;
  position: relative;
  transition: color 0.3s ease-out;
  width: 23.4375rem;
}

/* 白い面（枠線 1px を残して重ねる） */
.teacherModal__keep::before {
  background-color: #fff;
  clip-path: polygon(1.1875rem 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  inset: 1px;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease-out;
}

.teacherModal__keep--active {
  color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
}

.teacherModal__keep--active::before {
  opacity: 1;
}

@media (hover: hover) {
  .teacherModal__keep:hover {
    color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  }

  .teacherModal__keep:hover::before {
    opacity: 1;
  }

  .teacherModal__keep--active:hover {
    color: #fff;
  }

  .teacherModal__keep--active:hover::before {
    opacity: 0;
  }
}

.teacherModal__keepState {
  align-items: center;
  display: flex;
  position: relative;
}

.teacherModal__keepState--added,
.teacherModal__keep--active .teacherModal__keepState--add {
  display: none;
}

.teacherModal__keep--active .teacherModal__keepState--added {
  display: flex;
}

.teacherModal__keepIcon {
  flex-shrink: 0;
  margin: 0 0.375rem;
  position: relative;
}

.teacherModal__keepText {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}

.teacherModal__scroll {
  /* 学部色をごく薄くした色（学部色がない場合は無効になり、各所のフォールバックが使われる） */
  --facultyColorLight: color-mix(in srgb, var(--facultyColor) 10%, #fff);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
}

.teacherModal__profile {
  align-items: flex-start;
  background-color: var(--colorGray50);
  display: flex;
  flex-shrink: 0;
  padding-right: 1.5rem;
}

.teacherModal__thumb {
  aspect-ratio: 400 / 441;
  background-color: var(--colorGray);
  border-top: 4px solid var(--facultyColor, var(--colorSub));
  flex-shrink: 0;
  overflow: hidden;
  width: 12.875rem;
}

.teacherModal__thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.teacherModal__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  min-width: 0;
  padding: 1.5rem;
}

.teacherModal__infoTop {
  align-items: center;
  display: flex;
  gap: 2rem;
}

.teacherModal__belong {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.5rem;
  width: 15.625rem;
}

.teacherModal__faculty {
  color: var(--facultyColor, inherit);
  font-size: 0.875rem;
  line-height: 1.4;
}

.teacherModal__department {
  background-color: var(--facultyColor, var(--colorSub));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.625rem) 100%, 0 100%);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.5rem;
  padding: 0 1.125rem 0 0.5rem;
}

/* 学科がない場合の横棒 */
.teacherModal__department--empty {
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.375rem) 100%, 0 100%);
  display: block;
  height: 1.5rem;
  position: relative;
}

.teacherModal__department--empty::after {
  content: "";
  display: block;
  height: 1px;
  width: 92%;
  background: #fff;
  position: absolute;
  top: 50%;
}

.teacherModal__names {
  align-self: stretch;
  border-left: 1px solid #cbcbcb;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: center;
  min-width: 0;
  padding-left: 2rem;
}

.teacherModal__name {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  font-size: 2rem;
  font-weight: 700;
  gap: 0 0.375rem;
  line-height: 1.4;
}

.teacherModal__post {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.teacherModal__nameEn {
  color: var(--colorCaption);
  font-family: sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* ローマ字の姓は大文字で表示 */
.teacherModal__nameEnSurname {
  text-transform: uppercase;
}

.teacherModal__detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.teacherModal__row {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
}

.teacherModal__label {
  background-color: var(--facultyColorLight, var(--colorAccentBg));
  border-radius: 100px;
  color: var(--facultyColor, var(--colorSub));
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.125rem;
  padding-bottom: 2px;
  text-align: center;
  width: 5rem;
}

.teacherModal__value {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  min-width: 0;
}

.teacherModal__main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.teacherModal__research {
  align-items: flex-start;
  display: flex;
  gap: 2.5rem;
}

.teacherModal__researchBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.teacherModal__title {
  border-bottom: 1px solid var(--facultyColor, var(--colorPrimary));
  color: var(--facultyColor, var(--colorPrimary));
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 0.625rem 1rem 0;
}

.teacherModal__text {
  font-size: 0.875rem;
  line-height: 1.6;
}

.teacherModal__image {
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  width: 30rem;
}

.teacherModal__image img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.teacherModal__bottom {
  align-items: flex-end;
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
}

.teacherModal__seeds {
  min-width: 0;
}

.teacherModal__seedsHeading {
  align-items: center;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 0.875rem;
  line-height: 1.4;
  padding-bottom: 1.5rem;
}

.teacherModal__seedsHeading::before {
  background-color: var(--facultyColor, var(--colorPrimary));
  content: "";
  flex-shrink: 0;
  height: 1rem;
  width: 4px;
}

.teacherModal__seedsList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.teacherModal__seedsLink {
  align-items: center;
  color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  display: inline-flex;
  gap: 0.5rem;
  transition: opacity 0.3s ease-out;
}

@media (hover: hover) {
  .teacherModal__seedsLink:hover {
    opacity: 0.7;
  }
}

.teacherModal__seedsText {
  color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  font-size: 0.875rem;
  line-height: 1.4;
}

.teacherModal__seedsIcon {
  flex-shrink: 0;
}

.teacherModal__button {
  align-items: center;
  background-color: var(--colorPrimary); /* 学部色に戻す場合: var(--facultyColor, var(--colorPrimary)) */
  border: 1px solid var(--colorPrimary);
  border-radius: 0.375rem;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  height: 3.5rem;
  justify-content: center;
  /* 研究シーズがない場合も右寄せ */
  margin-left: auto;
  min-width: 15rem;
  padding: 0.625rem 2.5rem 0.75rem;
  position: relative;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

@media (hover: hover) {
  .teacherModal__button:hover {
    background-color: #fff;
    color: var(--colorPrimary);
  }
}

.teacherModal__buttonText {
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.teacherModal__buttonIcon {
  color: inherit;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 1080px) {
  .teacherModal {
    padding: 2.5rem;
  }

  .teacherModal__infoTop {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .teacherModal__names {
    border-left: none;
    padding-left: 0;
  }

  .teacherModal__image {
    width: 15rem;
  }

  .teacherModal__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .teacherModal {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.25rem;
  }

  .teacherModal__container {
    flex: none;
    gap: 1rem;
  }

  .teacherModal__dialog {
    border-radius: 0.5rem;
    flex: none;
    height: min(40.625rem, calc(100svh - 7rem));
    overflow: hidden;
    padding: 0;
    position: relative;
  }

  /* SP はボックス下部に固定 */
  .teacherModal__keep {
    bottom: 0;
    clip-path: none;
    height: 3.5rem;
    left: 0;
    max-width: none;
    padding: 0 1.25rem 0 0;
    position: absolute;
    width: 100%;
    z-index: 1;
  }

  .teacherModal__keep::before {
    clip-path: none;
  }

  .teacherModal__scroll {
    gap: 1rem;
    padding: 1rem 1rem 5.375rem;
  }

  .teacherModal__profile {
    align-items: center;
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: 6.25rem 1fr;
    padding: 1rem;
  }

  .teacherModal__thumb {
    border-top-width: 3px;
    border-top-color: var(--facultyColor, var(--colorPrimaryLight));
    width: 6.25rem;
  }

  .teacherModal__info {
    display: contents;
  }

  .teacherModal__infoTop {
    gap: 0.25rem;
    min-width: 0;
  }

  .teacherModal__belong {
    gap: 0.25rem;
    width: auto;
  }

  .teacherModal__faculty {
    font-size: 0.75rem;
  }

  .teacherModal__department {
    align-self: flex-start;
    font-size: 0.75rem;
    line-height: 1.25rem;
    min-width: 8.125rem;
  }

  .teacherModal__names {
    gap: 2px;
  }

  .teacherModal__name {
    align-items: flex-start;
    flex-direction: column;
    font-size: 1.125rem;
  }

  .teacherModal__post {
    font-size: 0.75rem;
  }

  .teacherModal__nameEn {
    font-size: 0.625rem;
  }

  .teacherModal__detail {
    grid-column: 1 / -1;
  }

  .teacherModal__row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .teacherModal__label {
    width: 4.375rem;
  }

  .teacherModal__value {
    font-size: 0.75rem;
  }

  .teacherModal__main {
    gap: 1rem;
  }

  .teacherModal__research {
    flex-direction: column;
    gap: 1rem;
  }

  .teacherModal__researchBody {
    gap: 1.25rem;
    width: 100%;
  }

  .teacherModal__title {
    font-size: 0.9375rem;
    padding: 0 0 0.75rem;
  }

  .teacherModal__text {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .teacherModal__image {
    order: -1;
    width: 100%;
  }

  .teacherModal__bottom {
    align-items: center;
    gap: 1.5rem;
  }

  .teacherModal__seeds {
    width: 100%;
  }

  .teacherModal__seedsHeading {
    font-size: 0.875rem;
    padding-bottom: 1rem;
  }

  .teacherModal__seedsLink {
    display: flex;
    justify-content: space-between;
    min-height: 2.125rem;
    width: 100%;
  }

  .teacherModal__seedsText {
    flex: 1;
    font-size: 0.75rem;
  }

  .teacherModal__button {
    height: 3rem;
    margin-right: auto;
    min-width: 11.25rem;
  }

  .teacherModal__buttonText {
    font-size: 0.875rem;
  }

  .teacherModal__buttonIcon {
    height: 1rem;
    right: 0.625rem;
    width: 1rem;
  }
}

.teacherCard__content sub,
.teacherModal__main sub {
  font-size: 70%;
  vertical-align: bottom;
}

.teacherCard__content sup,
.teacherModal__main sup {
  font-size: 70%;
  vertical-align: top;
}