@charset "UTF-8";

.professor {
  width: 160px;
  float: right;
  margin-left: 40px;
}
.professor__img {
  width: 100%;
  height: auto;
}
.modal__content .professor__gen {
  font-size: 14px;
  text-align: center;
  line-height: 1;
  margin: 12px 0 8px;
}
.modal__content .professor__name {
  text-align: center;
  line-height: 1;
  margin: 0 0 8px;
}
.modal__content .professor__term {
  font-size: 14px;
  text-align: center;
  color: #707070;
  line-height: 1;
  margin: 0;
}
.table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  white-space: nowrap;
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}
td {
  border: 1px solid #ddd;
  padding: 20px 24px;
  text-align: left;
}
.content__desc--history-first {
  margin-top: 32px;
}
.pagelink__history-of-the-classroom a {
  padding: 32px;
}
.history_accordion {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.history_modal__link {
  background-color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
}
.history_modal__link:hover {
  opacity: 0.5;
}
.history_modal-link__text {
  font-family: var(--jp-font-bold);
  color: var(--sub-color);
}
.history_modal-link__caption {
  font-size: 14px;
  margin-top: 8px;
  color: #707070;
}
.history_modal-link__box {
  background-color: var(--main-color);
  width: 32px;
  height: 32px;
  border-radius: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.history_accordion__container {
  border: unset;
}
@media screen and (max-width: 767px) {
  .history_accordion {
    display: block;
  }
  .history_accordion__container:not(:last-of-type) {
    margin-bottom: 8px;
  }
  .professor {
    margin-left: 20px;
  }
}
