@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
.teacher__post .etc_teacher .linkbutton a::before, .teacher__post .etc_teacher .linkbutton a::after, .teacher__post .etc_teacher .splide__arrows, .teacher__post .back_link a::after, .teacher__post .post__head .teacher_splide .splide__arrows, .teacher__post .post__head .teacher_splide img, .koushi_page .back a::after, .koushi_page .teacher__list a::before, .koushi_page .teacher__list a::after, .koushi_page .searchBox_term .selectBox::after, .koushi_page .searchBox_term .online_teacher a::after, .koushi_page .koushi__mv .mv_splide picture::after, .koushi__pagetitle a::before, .koushi__pagetitle a::after {
  display: block;
  content: "";
  position: absolute;
}

.page_inner_s {
  max-width: 800px;
  width: calc(100% - 40px);
  margin: 0 auto;
}
@media (min-width: 641px) {
  .page_inner_s {
    width: calc(100% - 80px);
  }
}

.page_inner_m {
  max-width: 1060px;
  width: calc(100% - 40px);
  margin: 0 auto;
}
@media (min-width: 641px) {
  .page_inner_m {
    width: calc(100% - 80px);
  }
}

.page_inner_l {
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 0 auto;
}
@media (min-width: 641px) {
  .page_inner_l {
    width: calc(100% - 80px);
  }
}

html {
  /*remで指定しない時は切ること*/
  font-size: 62.5%;
}

.template_breadcrumbs {
  background-color: #fff;
  width: auto;
  margin: 0;
  padding: 9px 0 10px;
  font-size: 1.4rem;
}

.template_set {
  position: relative;
  color: var(--color-text);
  font-size: 1.3rem;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
  line-height: 2;
  width: 100%;
  /*スマホの文字の大きさ一定*/
  -webkit-text-size-adjust: 100%;
  /*アンチエイリアス*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media (min-width: 641px) {
  .template_set {
    font-size: 1.4rem;
  }
}
@media (min-width: 1200px) {
  .template_set {
    font-size: 1.5rem;
  }
}
.template_set section {
  margin: 0;
}
.template_set #wrap {
  overflow: hidden;
}
.template_set {
  /*breakpoint display*/
}
.template_set .sp_min {
  display: block;
}
.template_set .sp_min_inline {
  display: inline;
}
.template_set .sp {
  display: block;
}
.template_set .sp_inline {
  display: inline;
}
.template_set .sp_tab {
  display: block;
}
.template_set .sp_tab_inline {
  display: inline;
}
.template_set .pc,
.template_set .pc_inline {
  display: none !important;
}
.template_set .tab,
.template_set .tab_inline {
  display: none !important;
}
.template_set .pc_tab,
.template_set .pc_tab_inline {
  display: none !important;
}
@media (min-width: 360px) {
  .template_set .sp_min,
  .template_set .sp_min_inline {
    display: none !important;
  }
}
@media (min-width: 641px) {
  .template_set .sp,
  .template_set .sp_inline {
    display: none !important;
  }
  .template_set .tab {
    display: block !important;
  }
  .template_set .tab_inline {
    display: inline !important;
  }
  .template_set .pc_tab {
    display: block !important;
  }
  .template_set .pc_tab_inline {
    display: inline !important;
  }
}
@media (min-width: 920px) {
  .template_set .sp_tab,
  .template_set .sp_tab_inline {
    display: none !important;
  }
  .template_set .tab,
  .template_set .tab_inline {
    display: none !important;
  }
  .template_set .pc {
    display: block !important;
  }
  .template_set .pc_inline {
    display: inline !important;
  }
}
.template_set {
  /*box-sizing default*/
}
.template_set * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-box-shadow: none;
  box-shadow: none;
}
.template_set *:before,
.template_set * :after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.template_set h1,
.template_set h2,
.template_set h3,
.template_set h4,
.template_set h5,
.template_set h6,
.template_set dt,
.template_set dd,
.template_set li,
.template_set caption,
.template_set col,
.template_set th,
.template_set td,
.template_set p,
.template_set address,
.template_set figcaption,
.template_set em,
.template_set strong {
  font-size: inherit;
  font-weight: normal;
  font-style: normal;
  margin: 0;
}
.template_set {
  /*aタグ デフォルト設定*/
}
.template_set a {
  transition: all 0.3s ease;
  color: inherit;
  text-decoration: none;
}
.template_set button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
.template_set img {
  max-width: 100%;
  height: auto;
}
.template_set .fw_bold {
  font-weight: bold;
}

.koushi__pagetitle {
  padding-block: 11px;
  background: linear-gradient(90deg, rgb(51, 76, 178) 0%, rgb(29, 108, 157) 100%);
}
@media (min-width: 641px) {
  .koushi__pagetitle {
    padding-block: 18px;
    background: linear-gradient(90deg, rgb(29, 108, 157) 0%, rgb(51, 76, 178) 100%);
  }
}
@media (min-width: 1200px) {
  .koushi__pagetitle {
    padding-block: 21px;
  }
}
.koushi__pagetitle .pagetitle_flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.koushi__pagetitle .pagetitle__title {
  font-size: 2.6rem;
  color: #FFF;
  line-height: 1.53;
  width: 100%;
}
@media (min-width: 641px) {
  .koushi__pagetitle .pagetitle__title {
    font-size: 4.8rem;
    line-height: 1.2;
    width: auto;
  }
}
@media (min-width: 1200px) {
  .koushi__pagetitle .pagetitle__title {
    font-size: 5.8rem;
  }
}
.koushi__pagetitle .pagetitle__title:not(:last-child) {
  margin-bottom: 10px;
}
@media (min-width: 641px) {
  .koushi__pagetitle .pagetitle__title:not(:last-child) {
    margin-bottom: 0;
  }
}
.koushi__pagetitle a {
  font-size: 1.3rem;
  color: #FFF;
  line-height: 1.62;
  padding-right: 18px;
  position: relative;
}
@media (min-width: 641px) {
  .koushi__pagetitle a {
    font-size: 1.5rem;
    padding-right: 23px;
  }
}
@media (min-width: 1200px) {
  .koushi__pagetitle a {
    font-size: 1.6rem;
    padding-right: 25px;
  }
}
.koushi__pagetitle a:not(:last-child) {
  margin-right: 20px;
}
@media (min-width: 641px) {
  .koushi__pagetitle a:not(:last-child) {
    margin-left: auto;
    margin-right: 30px;
  }
}
@media (min-width: 1200px) {
  .koushi__pagetitle a:not(:last-child) {
    margin-right: 40px;
  }
}
.koushi__pagetitle a::before, .koushi__pagetitle a::after {
  top: 50%;
}
.koushi__pagetitle a::before {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #FFF;
  right: 0;
  z-index: 1;
  transform: translateY(-50%);
}
@media (min-width: 641px) {
  .koushi__pagetitle a::before {
    width: 18px;
    height: 18px;
  }
}
@media (min-width: 1200px) {
  .koushi__pagetitle a::before {
    width: 20px;
    height: 20px;
  }
}
.koushi__pagetitle a::after {
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #1C4F9A;
  border-right: 1px solid #1C4F9A;
  right: 5px;
  z-index: 2;
  transform: translateY(-50%) rotate(-45deg);
}
@media (min-width: 641px) {
  .koushi__pagetitle a::after {
    width: 6px;
    height: 6px;
    right: 7px;
  }
}
@media (min-width: 1200px) {
  .koushi__pagetitle a::after {
    width: 7px;
    height: 7px;
    right: 8px;
  }
}

/*@media screen and (max-width: 640px) {
    #header {
        z-index: 90000;
    }
}
@media print, screen and (min-width: 641px) {
    #header {
        z-index: 2000;
    }
}*/
.page-footer {
  margin-top: 0;
}

.koushi_page .koushi__mv {
  display: flex;
  align-items: center;
  background-color: #F2F9FF;
  position: relative;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv {
    height: 320px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv {
    height: 400px;
  }
}
.koushi_page .koushi__mv .page_inner_l {
  display: flex;
  flex-wrap: wrap;
}
.koushi_page .koushi__mv .mv__text {
  width: 100%;
  order: 1;
  padding: 25px 0 25px 0;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv__text {
    width: 50%;
    order: 0;
    padding: 40px 30px 40px 0;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv .mv__text {
    padding: 60px 40px 60px 0;
  }
}
.koushi_page .koushi__mv .mv__text h3 {
  font-size: 2.1rem;
  color: #1C4F9A;
  line-height: 1.42;
  margin-bottom: 16px;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv__text h3 {
    font-size: 3.2rem;
    line-height: 1.31;
    margin-bottom: 25px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv .mv__text h3 {
    font-size: 3.8rem;
    margin-bottom: 25px;
  }
}
.koushi_page .koushi__mv .mv__text p {
  font-size: 1.3rem;
  line-height: 1.61;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv__text p {
    font-size: 1.5rem;
    line-height: 2;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv .mv__text p {
    font-size: 1.6rem;
  }
}
.koushi_page .koushi__mv .mv_splide {
  width: calc(100% + 40px);
  margin-right: -40px;
  position: relative;
  left: -20px;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv_splide {
    width: 50vw;
    min-width: 50%;
    height: 100%;
    margin-right: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    z-index: 1;
  }
}
.koushi_page .koushi__mv .mv_splide picture {
  height: 190px;
  display: block;
  position: relative;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv_splide picture {
    height: 320px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv .mv_splide picture {
    height: 400px;
  }
}
.koushi_page .koushi__mv .mv_splide picture::after {
  width: 100%;
  height: 137px;
  background: linear-gradient(180deg, rgba(46, 83, 174, 0) 0%, rgb(46, 83, 173) 100%);
  bottom: 0;
  left: 0;
  z-index: 1;
  opacity: 0.21;
}
.koushi_page .koushi__mv .mv_splide img {
  width: 100%;
  max-width: initial;
  height: 100%;
  object-fit: cover;
}
.koushi_page .koushi__mv .mv_splide .splide__pagination {
  align-items: center;
  justify-content: end;
  gap: 9px;
  padding: 0;
  bottom: 16px;
  left: auto;
  right: 20px;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv_splide .splide__pagination {
    gap: 12px;
    bottom: 22px;
    right: 40px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv .mv_splide .splide__pagination {
    gap: 14px;
    bottom: 27px;
    right: 63px;
  }
}
.koushi_page .koushi__mv .mv_splide .splide__pagination__page {
  width: 7px;
  height: 7px;
  display: block;
  padding: 0;
  margin: 0;
  background-color: #FFF;
  opacity: 1;
  transition: background-color 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .koushi__mv .mv_splide .splide__pagination__page {
    width: 9px;
    height: 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .koushi__mv .mv_splide .splide__pagination__page {
    width: 11px;
    height: 11px;
  }
}
.koushi_page .koushi__mv .mv_splide .splide__pagination__page.is-active {
  background-color: #1C4F9A;
  transform: scale(1);
}
.koushi_page .searchBox {
  padding-block: 25px;
}
@media (min-width: 641px) {
  .koushi_page .searchBox {
    padding-block: 40px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox {
    padding-block: 60px;
  }
}
.koushi_page .searchBox__taxonomy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (min-width: 641px) {
  .koushi_page .searchBox__taxonomy {
    gap: 14px;
    margin-bottom: 26px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox__taxonomy {
    gap: 18px;
    margin-bottom: 36px;
  }
}
.koushi_page .searchBox__taxonomy button {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  color: #1C4F9A;
  padding: 8px;
  border: 1px solid #1C4F9A;
  border-radius: 6px;
  background-color: #FFF;
  transition: color 0.3s, background-color 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .searchBox__taxonomy button {
    font-size: 1.4rem;
    padding: 10px;
    border-radius: 7px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox__taxonomy button {
    font-size: 1.6rem;
    padding: 12px;
  }
}
.koushi_page .searchBox__taxonomy button span {
  font-size: 1.4rem;
  display: block;
}
@media (min-width: 641px) {
  .koushi_page .searchBox__taxonomy button span {
    font-size: 1.5rem;
    display: inline;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox__taxonomy button span {
    font-size: 1.6rem;
  }
}
.koushi_page .searchBox__taxonomy button.is-active {
  color: #FFF;
  background-color: #1C4F9A;
}
@media (hover: hover) {
  .koushi_page .searchBox__taxonomy button:where(:any-link, :enabled, summary, span, dt, div):hover {
    color: #FFF;
    background-color: #1C4F9A;
  }
}
.koushi_page .searchBox_term .online_teacher {
  display: flex;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .online_teacher {
    justify-content: end;
  }
}
.koushi_page .searchBox_term .online_teacher a {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
  padding: 5px 15px 5px 0;
  border-bottom: 1px solid #C4C4C4;
  position: relative;
  transition: color 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .online_teacher a {
    font-size: 1.5rem;
    padding: 6px 20px 6px 0;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .online_teacher a {
    font-size: 1.7rem;
    padding: 7px 26px 7px 0;
  }
}
.koushi_page .searchBox_term .online_teacher a::after {
  width: 7px;
  height: 7px;
  border-bottom: 2px solid #E83820;
  border-right: 2px solid #E83820;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .online_teacher a::after {
    width: 9px;
    height: 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .online_teacher a::after {
    width: 10px;
    height: 10px;
  }
}
@media (hover: hover) {
  .koushi_page .searchBox_term .online_teacher a:where(:any-link, :enabled, summary, span, dt, div):hover {
    color: #E83820;
  }
  .koushi_page .searchBox_term .online_teacher a:where(:any-link, :enabled, summary, span, dt, div):hover::after {
    transform: translateY(-50%) translateX(3px) rotate(-45deg);
  }
}
.koushi_page .searchBox_term .terms {
  display: none;
}
.koushi_page .searchBox_term .terms:first-child {
  display: block;
}
.koushi_page .searchBox_term .term__course ul,
.koushi_page .searchBox_term .term__school ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 12px;
  margin-bottom: 16px;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__course ul,
  .koushi_page .searchBox_term .term__school ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 20px;
    margin-bottom: 18px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__course ul,
  .koushi_page .searchBox_term .term__school ul {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 24px;
    margin-bottom: 20px;
  }
}
.koushi_page .searchBox_term .term__course li a,
.koushi_page .searchBox_term .term__school li a {
  font-size: 1.4rem;
  line-height: 1.29;
  border: 1px solid #BFBFBF;
  border-radius: 2px;
  position: relative;
  transition: font-weight 0.3s, color 0.3s, border 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__course li a,
  .koushi_page .searchBox_term .term__school li a {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__course li a,
  .koushi_page .searchBox_term .term__school li a {
    font-size: 1.7rem;
  }
}
.koushi_page .searchBox_term .term__course li a::after,
.koushi_page .searchBox_term .term__school li a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-bottom: 2px solid #1C4F9A;
  border-right: 2px solid #1C4F9A;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__course li a::after,
  .koushi_page .searchBox_term .term__school li a::after {
    width: 7px;
    height: 7px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__course li a::after,
  .koushi_page .searchBox_term .term__school li a::after {
    width: 8px;
    height: 8px;
  }
}
@media (hover: hover) {
  .koushi_page .searchBox_term .term__course li a:where(:any-link, :enabled, summary, span, dt, div):hover,
  .koushi_page .searchBox_term .term__school li a:where(:any-link, :enabled, summary, span, dt, div):hover {
    font-weight: bold;
    color: #1C4F9A;
    border: 1px solid #1C4F9A;
  }
  .koushi_page .searchBox_term .term__course li a:where(:any-link, :enabled, summary, span, dt, div):hover::after,
  .koushi_page .searchBox_term .term__school li a:where(:any-link, :enabled, summary, span, dt, div):hover::after {
    transform: translateY(calc(-50% + 3px)) rotate(45deg);
  }
}
.koushi_page .searchBox_term .term__course li a {
  padding: 12px 20px 12px 12px;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__course li a {
    padding: 14px 26px 14px 16px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__course li a {
    padding: 16px 30px 16px 20px;
  }
}
.koushi_page .searchBox_term .term__school li {
  display: grid;
  gap: 0;
}
.koushi_page .searchBox_term .term__school li a {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 1;
  align-items: center;
  gap: 0;
  padding: 10px 20px 10px 12px;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__school li a {
    padding: 10px 26px 10px 14px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__school li a {
    padding: 10px 30px 10px 16px;
  }
}
.koushi_page .searchBox_term .term__name {
  position: relative;
}
.koushi_page .searchBox_term .term__name ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__name ul {
    gap: 0;
  }
}
.koushi_page .searchBox_term .term__name li {
  border-right: 1px solid #B5B5B5;
}
.koushi_page .searchBox_term .term__name li a {
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.4;
  display: block;
  padding: 0px 10px;
  transition: font-weight 0.3s, color 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__name li a {
    font-size: 1.8rem;
    padding: 0px 15px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__name li a {
    font-size: 2rem;
    padding: 0px 20px;
  }
}
@media (hover: hover) {
  .koushi_page .searchBox_term .term__name li a:where(:any-link, :enabled, summary, span, dt, div):hover {
    font-weight: bold;
    color: #1C4F9A;
  }
}
.koushi_page .searchBox_term .term__name .online_teacher {
  margin-top: 16px;
}
@media (min-width: 641px) {
  .koushi_page .searchBox_term .term__name .online_teacher {
    margin-top: 18px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .searchBox_term .term__name .online_teacher {
    margin-top: 20px;
  }
}
.koushi_page .searchBox_term .selectBox {
  margin-bottom: 15px;
  border: 1px solid #BFBFBF;
  border-radius: 2px;
  position: relative;
}
.koushi_page .searchBox_term .selectBox::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid #1C4F9A;
  border-bottom: 2px solid #1C4F9A;
  top: 50%;
  right: 14px;
  z-index: 0;
  transform: translateY(-50%) rotate(45deg);
}
.koushi_page .searchBox_term .selectBox select {
  font-size: 1.4rem;
  line-height: 1.2;
  width: 100%;
  display: block;
  padding: 12px 30px 10px 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.koushi_page .searchBox_term .selectBox select::-ms-expand {
  display: none;
}
.koushi_page .teacherBox {
  padding-block: 25px;
  background-color: #EDEDED;
}
@media (min-width: 641px) {
  .koushi_page .teacherBox {
    padding-block: 60px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacherBox {
    padding-block: 80px;
  }
}
.koushi_page .teacher__block:not(:last-child) {
  margin-bottom: 40px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__block:not(:last-child) {
    margin-bottom: 100px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__block:not(:last-child) {
    margin-bottom: 158px;
  }
}
.koushi_page .teacher__block:last-child {
  margin-bottom: 30px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__block:last-child {
    margin-bottom: 60px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__block:last-child {
    margin-bottom: 100px;
  }
}
.koushi_page .teacher__term {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__term {
    font-size: 3rem;
    margin-bottom: 26px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__term {
    font-size: 3.7rem;
    margin-bottom: 32px;
  }
}
.koushi_page .teacher__term.circle {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
@media (min-width: 641px) {
  .koushi_page .teacher__term.circle {
    gap: 15px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__term.circle {
    gap: 20px;
  }
}
.koushi_page .teacher__term.circle::before, .koushi_page .teacher__term.circle::after {
  content: "";
  border-radius: 50%;
}
.koushi_page .teacher__term.circle::before {
  width: 24px;
  height: 24px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__term.circle::before {
    width: 34px;
    height: 34px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__term.circle::before {
    width: 40px;
    height: 40px;
  }
}
.koushi_page .teacher__term.circle::after {
  width: 14px;
  height: 14px;
  background-color: #EDEDED;
  position: absolute;
  top: 50%;
  left: 5px;
  z-index: 1;
  transform: translateY(-50%);
}
@media (min-width: 641px) {
  .koushi_page .teacher__term.circle::after {
    width: 20px;
    height: 20px;
    left: 7px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__term.circle::after {
    width: 26px;
    height: 26px;
    left: 7px;
  }
}
.koushi_page .teacher__term.circle.english::before {
  background: linear-gradient(180deg, rgb(194, 239, 212) 0%, rgb(139, 230, 175) 45%, rgb(93, 204, 138) 100%);
}
.koushi_page .teacher__term.circle.math::before {
  background: linear-gradient(180deg, rgb(251, 216, 215) 0%, rgb(248, 174, 173) 45%, rgb(242, 113, 109) 100%);
}
.koushi_page .teacher__term.circle.national::before {
  background: linear-gradient(180deg, rgb(131, 191, 229) 0%, rgb(90, 141, 204) 45%, rgb(51, 76, 178) 100%);
}
.koushi_page .teacher__term.circle.physics::before {
  background: linear-gradient(180deg, rgb(211, 186, 240) 0%, rgb(144, 79, 199) 45%, rgb(115, 51, 178) 100%);
}
.koushi_page .teacher__term.circle.science::before {
  background: linear-gradient(180deg, rgb(211, 186, 240) 0%, rgb(144, 79, 199) 45%, rgb(115, 51, 178) 100%);
}
.koushi_page .teacher__term.circle.living::before {
  background: linear-gradient(180deg, rgb(211, 186, 240) 0%, rgb(144, 79, 199) 45%, rgb(115, 51, 178) 100%);
}
.koushi_page .teacher__term.circle.geology::before {
  background: linear-gradient(180deg, rgb(211, 186, 240) 0%, rgb(144, 79, 199) 45%, rgb(115, 51, 178) 100%);
}
.koushi_page .teacher__term.circle.japanese_history::before {
  background: linear-gradient(180deg, rgb(215, 244, 240) 0%, rgb(103, 224, 205) 45%, rgb(51, 178, 173) 100%);
}
.koushi_page .teacher__term.circle.world_history::before {
  background: linear-gradient(180deg, rgb(215, 244, 240) 0%, rgb(103, 224, 205) 45%, rgb(51, 178, 173) 100%);
}
.koushi_page .teacher__term.circle.geography::before {
  background: linear-gradient(180deg, rgb(215, 244, 240) 0%, rgb(103, 224, 205) 45%, rgb(51, 178, 173) 100%);
}
.koushi_page .teacher__term.circle.citizens::before {
  background: linear-gradient(180deg, rgb(215, 244, 240) 0%, rgb(103, 224, 205) 45%, rgb(51, 178, 173) 100%);
}
.koushi_page .teacher__term.circle.information::before {
  background: linear-gradient(180deg, rgba(251, 215, 244, 0) 0%, rgb(248, 173, 228) 45%, rgb(242, 109, 196) 100%);
}
.koushi_page .teacher__list:not(.splide__list) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 7px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list:not(.splide__list) {
    gap: 20px 14px;
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list:not(.splide__list) {
    gap: 30px 20px;
  }
}
.teacher__card {
  padding: 12px;
  border: 1px solid #D1D1D1;
  border-radius: 10px;
  background-color: #FFF;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.koushi_page .teacher__list a {
  padding: 12px;
  border: 1px solid #D1D1D1;
  border-radius: 10px;
  background-color: #FFF;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list a {
    padding: 16px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list a {
    padding: 20px;
  }
}
.koushi_page .teacher__list a::before {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  bottom: 6px;
  right: 6px;
  z-index: 1;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list a::before {
    bottom: 9px;
    right: 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list a::before {
    bottom: 12px;
    right: 12px;
  }
}
.koushi_page .teacher__list a::after {
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #FFF;
  border-right: 1px solid #FFF;
  bottom: 12px;
  right: 13px;
  z-index: 2;
  transform: rotate(-45deg);
}
@media (min-width: 641px) {
  .koushi_page .teacher__list a::after {
    bottom: 15px;
    right: 16px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list a::after {
    bottom: 18px;
    right: 19px;
  }
}
@media (hover: hover) {
  .koushi_page .teacher__list a:where(:any-link, :enabled, summary, span, dt, div):hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
  }
}
.koushi_page .teacher__list .teacher__img {
  width: 100%;
  padding-top: 100%;
  margin-bottom: 7px;
  position: relative;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list .teacher__img {
    margin-bottom: 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list .teacher__img {
    margin-bottom: 10px;
  }
}
.koushi_page .teacher__list .teacher__img img {
  width: 100%;
  max-width: initial;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.koushi_page .teacher__list .teacher__subjects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list .teacher__subjects {
    gap: 7px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list .teacher__subjects {
    gap: 8px;
  }
}
.koushi_page .teacher__list .teacher__subjects p {
  font-size: 1.1rem;
  color: #FFF;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5em;
  padding: 2px 1px 3px 7px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list .teacher__subjects p {
    font-size: 1.2rem;
  }
}
.koushi_page .teacher__list .teacher__name {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.23;
  margin-bottom: 10px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list .teacher__name {
    font-size: 2rem;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list .teacher__name {
    font-size: 2.2rem;
  }
}
.koushi_page .teacher__list .teacher__name ruby {
  ruby-position: under;
  ruby-align: start;
}
.koushi_page .teacher__list .teacher__name rt {
  font-size: 1rem;
  font-weight: normal;
  text-align: left;
  margin-top: 3px;
}
.koushi_page .teacher__list .teacher__school {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list .teacher__school {
    gap: 5px 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .teacher__list .teacher__school {
    gap: 5px 10px;
  }
}
.koushi_page .teacher__list .teacher__school p {
  font-size: 1.2rem;
  line-height: 1.38;
  letter-spacing: 0;
}
@media (min-width: 641px) {
  .koushi_page .teacher__list .teacher__school p {
    font-size: 1.3rem;
  }
}
.koushi_page .teacher__list .english a::before {
  background-color: #66C18C;
}
.koushi_page .teacher__list .english .teacher__subjects p {
  background-color: #66C18C;
}
.koushi_page .teacher__list .math a::before {
  background-color: #F2716D;
}
.koushi_page .teacher__list .math .teacher__subjects p {
  background-color: #F2716D;
}
.koushi_page .teacher__list .national a::before {
  background-color: #4DA4D7;
}
.koushi_page .teacher__list .national .teacher__subjects p {
  background-color: #4DA4D7;
}
.koushi_page .teacher__list .physics a::before {
  background-color: #B270AB;
}
.koushi_page .teacher__list .physics .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_page .teacher__list .science a::before {
  background-color: #B270AB;
}
.koushi_page .teacher__list .science .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_page .teacher__list .living a::before {
  background-color: #B270AB;
}
.koushi_page .teacher__list .living .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_page .teacher__list .geology a::before {
  background-color: #B270AB;
}
.koushi_page .teacher__list .geology .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_page .teacher__list .japanese_history a::before {
  background-color: #02B9C9;
}
.koushi_page .teacher__list .japanese_history .teacher__subjects p {
  letter-spacing: 0;
  padding: 2px 7px 3px 7px;
  background-color: #02B9C9;
}
.koushi_page .teacher__list .world_history a::before {
  background-color: #02B9C9;
}
.koushi_page .teacher__list .world_history .teacher__subjects p {
  letter-spacing: 0;
  padding: 2px 7px 3px 7px;
  background-color: #02B9C9;
}
.koushi_page .teacher__list .geography a::before {
  background-color: #02B9C9;
}
.koushi_page .teacher__list .geography .teacher__subjects p {
  background-color: #02B9C9;
}
.koushi_page .teacher__list .citizens a::before {
  background-color: #02B9C9;
}
.koushi_page .teacher__list .citizens .teacher__subjects p {
  background-color: #02B9C9;
}
.koushi_page .teacher__list .information a::before {
  background-color: #F26DBF;
}
.koushi_page .teacher__list .information .teacher__subjects p {
  background-color: #F26DBF;
}
.koushi_page .back {
  display: flex;
  justify-content: end;
}
.koushi_page .back a {
  font-size: 1.2rem;
  font-weight: bold;
  min-width: 120px;
  padding: 4px 20px 4px 0;
  margin-top: 20px;
  border-bottom: 1px solid #C4C4C4;
  position: relative;
  transition: color 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .back a {
    font-size: 1.5rem;
    min-width: 150px;
    padding: 4px 23px 4px 0;
    margin-top: 30px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .back a {
    font-size: 1.7rem;
    min-width: 170px;
    padding: 4px 26px 4px 0;
    margin-top: 35px;
  }
}
.koushi_page .back a::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid #E83820;
  border-bottom: 2px solid #E83820;
  position: absolute;
  top: 15px;
  right: 5px;
  transform: rotate(-135deg);
  transition: transform 0.3s;
}
@media (min-width: 641px) {
  .koushi_page .back a::after {
    width: 8px;
    height: 8px;
    top: 17px;
  }
}
@media (min-width: 1200px) {
  .koushi_page .back a::after {
    width: 10px;
    height: 10px;
    top: 20px;
  }
}
@media (hover: hover) {
  .koushi_page .back a:where(:any-link, :enabled, summary, span, dt, div):hover {
    color: #E83820;
  }
  .koushi_page .back a:where(:any-link, :enabled, summary, span, dt, div):hover::after {
    transform: translateY(-3px) rotate(-135deg);
  }
}

.teacher__post .post__head {
  padding-block: 20px 30px;
  margin-bottom: 30px;
  background-color: #F2F9FF;
}
@media (min-width: 641px) {
  .teacher__post .post__head {
    padding-block: 30px 50px;
    margin-bottom: 60px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head {
    padding-block: 40px 65px;
    margin-bottom: 80px;
  }
}
.teacher__post .post__head .post__head_grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 43px;
}
@media (min-width: 641px) {
  .teacher__post .post__head .post__head_grid {
    grid-template-columns: 58.33% 1fr;
    gap: 8.33%;
  }
}
.teacher__post .post__head .teacher_splide .splide__slide {
  padding-top: 56.42%;
  position: relative;
  overflow: hidden;
}
.teacher__post .post__head .teacher_splide img {
  width: 100%;
  max-width: initial;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
  background: transparent;
}
.teacher__post .post__head .teacher_splide .splide__arrows {
  width: 100%;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);
}
.teacher__post .post__head .teacher_splide .splide__arrows button {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.4);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  opacity: 1;
  transition: opacity 0.3s;
}
@media (min-width: 641px) {
  .teacher__post .post__head .teacher_splide .splide__arrows button {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .teacher_splide .splide__arrows button {
    width: 45px;
    height: 45px;
  }
}
@media (hover: hover) {
  .teacher__post .post__head .teacher_splide .splide__arrows button:where(:any-link, :enabled, summary, span, dt, div):hover {
    opacity: 0.7;
  }
}
.teacher__post .post__head .teacher_splide .splide__arrows button svg {
  display: none;
}
.teacher__post .post__head .teacher_splide .splide__arrows button.splide__arrow--prev {
  background-image: url("/koushi/img/detail/slide_prev.svg");
  left: 0;
  transform: translate(-45%, -50%);
}
@media (min-width: 641px) {
  .teacher__post .post__head .teacher_splide .splide__arrows button.splide__arrow--prev {
    transform: translate(-50%, -50%);
  }
}
.teacher__post .post__head .teacher_splide .splide__arrows button.splide__arrow--next {
  background-image: url("/koushi/img/detail/slide_next.svg");
  right: 0;
  transform: translate(45%, -50%);
}
@media (min-width: 641px) {
  .teacher__post .post__head .teacher_splide .splide__arrows button.splide__arrow--next {
    transform: translate(50%, -50%);
  }
}
.teacher__post .post__head .teacher_splide .splide__pagination {
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0;
  bottom: -20px;
  left: 0;
}
@media (min-width: 641px) {
  .teacher__post .post__head .teacher_splide .splide__pagination {
    gap: 12px;
    bottom: -25px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .teacher_splide .splide__pagination {
    gap: 14px;
    bottom: -30px;
  }
}
.teacher__post .post__head .teacher_splide .splide__pagination__page {
  width: 7px;
  height: 7px;
  display: block;
  padding: 0;
  margin: 0;
  background-color: #C4C4C4;
  opacity: 1;
  transition: background-color 0.3s;
}
@media (min-width: 641px) {
  .teacher__post .post__head .teacher_splide .splide__pagination__page {
    width: 9px;
    height: 9px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .teacher_splide .splide__pagination__page {
    width: 11px;
    height: 11px;
  }
}
.teacher__post .post__head .teacher_splide .splide__pagination__page.is-active {
  background-color: #1C4F9A;
  transform: scale(1);
}
@media (hover: hover) {
  .teacher__post .post__head .teacher_splide .splide__pagination__page:where(:any-link, :enabled, summary, span, dt, div):hover {
    background-color: #1C4F9A;
  }
}
.teacher__post .post__head .head__profile .profile__subjects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.teacher__post .post__head .head__profile .profile__subjects p {
  font-size: 1.1rem;
  color: #FFF;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5em;
  padding: 2px 2px 2px 8px;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile .profile__subjects p {
    font-size: 1.3rem;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile .profile__subjects p {
    font-size: 1.5rem;
  }
}
.teacher__post .post__head .head__profile .profile__subjects .english {
  background-color: #66C18C;
}
.teacher__post .post__head .head__profile .profile__subjects .math {
  background-color: #F2716D;
}
.teacher__post .post__head .head__profile .profile__subjects .national {
  background-color: #4DA4D7;
}
.teacher__post .post__head .head__profile .profile__subjects .physics {
  background-color: #B270AB;
}
.teacher__post .post__head .head__profile .profile__subjects .science {
  background-color: #B270AB;
}
.teacher__post .post__head .head__profile .profile__subjects .living {
  background-color: #B270AB;
}
.teacher__post .post__head .head__profile .profile__subjects .geology {
  background-color: #B270AB;
}
.teacher__post .post__head .head__profile .profile__subjects .japanese_history {
  letter-spacing: 0;
  padding: 2px 8px 2px 8px;
  background-color: #02B9C9;
}
.teacher__post .post__head .head__profile .profile__subjects .world_history {
  letter-spacing: 0;
  padding: 2px 8px 2px 8px;
  background-color: #02B9C9;
}
.teacher__post .post__head .head__profile .profile__subjects .geography {
  background-color: #02B9C9;
}
.teacher__post .post__head .head__profile .profile__subjects .citizens {
  background-color: #02B9C9;
}
.teacher__post .post__head .head__profile .profile__subjects .information {
  background-color: #F26DBF;
}
.teacher__post .post__head .head__profile .profile__name {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile .profile__name {
    font-size: 3.6rem;
    margin-bottom: 35px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile .profile__name {
    font-size: 4.2rem;
    margin-bottom: 45px;
  }
}
.teacher__post .post__head .head__profile ruby {
  ruby-position: under;
  ruby-align: start;
}
.teacher__post .post__head .head__profile ruby rt {
  font-size: 1.2rem;
  font-weight: normal;
  text-align: left;
  margin-top: 7px;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile ruby rt {
    font-size: 1.4rem;
    margin-top: 9px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile ruby rt {
    font-size: 1.5rem;
    margin-top: 10px;
  }
}
.teacher__post .post__head .head__profile dl {
  display: flex;
  align-items: center;
}
.teacher__post .post__head .head__profile dl:not(:last-child) {
  margin-bottom: 15px;
}
.teacher__post .post__head .head__profile dl dt,
.teacher__post .post__head .head__profile dl dd {
  font-size: 1.4rem;
  line-height: 1.56;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile dl dt,
  .teacher__post .post__head .head__profile dl dd {
    font-size: 1.5rem;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile dl dt,
  .teacher__post .post__head .head__profile dl dd {
    font-size: 1.6rem;
  }
}
.teacher__post .post__head .head__profile dl dt {
  font-weight: bold;
  padding-right: 10px;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile dl dt {
    padding-right: 13px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile dl dt {
    padding-right: 15px;
  }
}
.teacher__post .post__head .head__profile dl dd {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 7px;
  flex: 1;
  padding-left: 10px;
  border-left: 1px solid #1C4F9A;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile dl dd {
    gap: 9px;
    padding-left: 13px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile dl dd {
    gap: 10px;
    padding-left: 15px;
  }
}
.teacher__post .post__head .head__profile .profile__school p {
  font-size: 1.2rem;
  color: #1C4F9A;
  line-height: 1.2;
  padding: 2px 3px;
  border: 1px solid #1C4F9A;
}
@media (min-width: 641px) {
  .teacher__post .post__head .head__profile .profile__school p {
    font-size: 1.4rem;
    padding: 2px 4px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__head .head__profile .profile__school p {
    font-size: 1.5rem;
    padding: 2px 5px;
  }
}
.teacher__post .back_link {
  display: flex;
  justify-content: end;
  margin-top: 15px;
}
@media (min-width: 641px) {
  .teacher__post .back_link {
    margin-top: 20px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .back_link {
    margin-top: 25px;
  }
}
.teacher__post .back_link a {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
  padding: 5px 15px 5px 0;
  border-bottom: 1px solid #C4C4C4;
  position: relative;
  transition: color 0.3s;
}
@media (min-width: 641px) {
  .teacher__post .back_link a {
    font-size: 1.5rem;
    padding: 6px 20px 6px 0;
  }
}
@media (min-width: 1200px) {
  .teacher__post .back_link a {
    font-size: 1.7rem;
    padding: 7px 26px 7px 0;
  }
}
.teacher__post .back_link a::after {
  width: 7px;
  height: 7px;
  border-bottom: 2px solid #E83820;
  border-right: 2px solid #E83820;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.3s;
}
@media (min-width: 641px) {
  .teacher__post .back_link a::after {
    width: 9px;
    height: 9px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .back_link a::after {
    width: 10px;
    height: 10px;
  }
}
@media (hover: hover) {
  .teacher__post .back_link a:where(:any-link, :enabled, summary, span, dt, div):hover {
    color: #E83820;
  }
  .teacher__post .back_link a:where(:any-link, :enabled, summary, span, dt, div):hover::after {
    transform: translateY(-50%) translateX(3px) rotate(-45deg);
  }
}
.teacher__post .post__from_teacher .from_teacher__title {
  font-size: 1.8rem;
  color: #1C4F9A;
  line-height: 1.4;
  padding-block: 11px;
  margin-bottom: 20px;
  border-top: 1px solid #1C4F9A;
  border-bottom: 1px solid #BACCE5;
}
@media (min-width: 641px) {
  .teacher__post .post__from_teacher .from_teacher__title {
    font-size: 2.3rem;
    padding-block: 16px;
    margin-bottom: 25px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__from_teacher .from_teacher__title {
    font-size: 2.7rem;
    padding-block: 20px;
    margin-bottom: 30px;
  }
}
.teacher__post .post__from_teacher .from_teacher__subtitle {
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 15px;
}
@media (min-width: 641px) {
  .teacher__post .post__from_teacher .from_teacher__subtitle {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__from_teacher .from_teacher__subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
  }
}
.teacher__post .post__from_teacher p {
  line-height: 1.61;
}
@media (min-width: 641px) {
  .teacher__post .post__from_teacher p {
    line-height: 1.86;
  }
}
.teacher__post .post__from_teacher p:not(:last-child) {
  margin-bottom: 15px;
}
@media (min-width: 641px) {
  .teacher__post .post__from_teacher p:not(:last-child) {
    margin-bottom: 18px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__from_teacher p:not(:last-child) {
    margin-bottom: 20px;
  }
}
.teacher__post .message {
  margin-bottom: 30px;
}
@media (min-width: 641px) {
  .teacher__post .message {
    margin-bottom: 50px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .message {
    margin-bottom: 60px;
  }
}
.teacher__post .story {
  margin-bottom: 40px;
}
@media (min-width: 641px) {
  .teacher__post .story {
    margin-bottom: 70px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .story {
    margin-bottom: 90px;
  }
}
.teacher__post .post__bg_contents {
  padding: 20px;
  margin-bottom: 20px;
  background-color: #F5F5F5;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents {
    padding: 30px;
    margin-bottom: 25px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__bg_contents {
    padding: 40px 45px 45px 45px;
    margin-bottom: 30px;
  }
}
.teacher__post .post__bg_contents .bg_contents_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents .bg_contents_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.teacher__post .post__bg_contents .bg_contents_grid li {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 18px;
  padding: 15px;
  background-color: #FFF;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents .bg_contents_grid li {
    grid-template-columns: 120px 1fr;
    gap: 25px;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__bg_contents .bg_contents_grid li {
    grid-template-columns: 140px 1fr;
    gap: 30px;
  }
}
.teacher__post .post__bg_contents .bg_contents__title {
  font-size: 1.7rem;
  color: #1C4F9A;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents .bg_contents__title {
    font-size: 2.2rem;
    gap: 17px;
    margin-bottom: 20px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__bg_contents .bg_contents__title {
    font-size: 2.7rem;
    gap: 19px;
    margin-bottom: 24px;
  }
}
.teacher__post .post__bg_contents .bg_contents__title img {
  width: 26px;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents .bg_contents__title img {
    width: 34px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__bg_contents .bg_contents__title img {
    width: 40px;
  }
}
.teacher__post .post__bg_contents .bg_contents__img img {
  width: 100%;
}
.teacher__post .post__bg_contents .bg_contents__textbox {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.teacher__post .post__bg_contents .bg_contents__subtitle {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 7px;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents .bg_contents__subtitle {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .post__bg_contents .bg_contents__subtitle {
    font-size: 2rem;
    margin-bottom: 15px;
  }
}
.teacher__post .post__bg_contents .bg_contents__text {
  font-size: 1.3rem;
  line-height: 1.61;
}
@media (min-width: 641px) {
  .teacher__post .post__bg_contents .bg_contents__text {
    font-size: 1.4rem;
    line-height: 1.78;
  }
}
.teacher__post .etc_teacher {
  padding-block: 35px;
  margin-top: 50px;
  background-color: #EDEDED;
}
@media (min-width: 641px) {
  .teacher__post .etc_teacher {
    padding-block: 60px;
    margin-top: 70px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .etc_teacher {
    padding-block: 80px;
    margin-top: 90px;
  }
}
.teacher__post .etc_teacher .etc_teacher__title {
  font-size: 1.8rem;
  text-align: center;
  color: #1C4F9A;
  line-height: 1.5;
  margin-bottom: 20px;
}
@media (min-width: 641px) {
  .teacher__post .etc_teacher .etc_teacher__title {
    font-size: 2.4rem;
    margin-bottom: 25px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .etc_teacher .etc_teacher__title {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }
}
.teacher__post .etc_teacher .etc_teacher_splide {
  margin-bottom: 28px;
}
@media (min-width: 641px) {
  .teacher__post .etc_teacher .etc_teacher_splide {
    margin-bottom: 40px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .etc_teacher .etc_teacher_splide {
    margin-bottom: 50px;
  }
}
.teacher__post .etc_teacher .etc_teacher_splide li a {
  display: block;
}
.teacher__post .etc_teacher .splide__arrows {
  width: 100%;
  top: 50%;
  left: 0;
  z-index: 1;
  transform: translateY(-50%);
}
.teacher__post .etc_teacher .splide__arrows button {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.4);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  opacity: 1;
  transition: opacity 0.3s;
}
@media (min-width: 641px) {
  .teacher__post .etc_teacher .splide__arrows button {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 1200px) {
  .teacher__post .etc_teacher .splide__arrows button {
    width: 45px;
    height: 45px;
  }
}
@media (hover: hover) {
  .teacher__post .etc_teacher .splide__arrows button:where(:any-link, :enabled, summary, span, dt, div):hover {
    opacity: 0.7;
  }
}
.teacher__post .etc_teacher .splide__arrows button svg {
  display: none;
}
.teacher__post .etc_teacher .splide__arrows button.splide__arrow--prev {
  background-image: url("/koushi/img/detail/slide_prev.svg");
  left: 0;
  transform: translate(-45%, -50%);
}
@media (min-width: 641px) {
  .teacher__post .etc_teacher .splide__arrows button.splide__arrow--prev {
    left: 0;
    transform: translate(-50%, -50%);
  }
}
@media (min-width: 1200px) {
  .teacher__post .etc_teacher .splide__arrows button.splide__arrow--prev {
    left: -78px;
    transform: translate(-50%, -50%);
  }
}
.teacher__post .etc_teacher .splide__arrows button.splide__arrow--next {
  background-image: url("/koushi/img/detail/slide_next.svg");
  right: 0;
  transform: translate(45%, -50%);
}
@media (min-width: 641px) {
  .teacher__post .etc_teacher .splide__arrows button.splide__arrow--next {
    right: 0;
    transform: translate(50%, -50%);
  }
}
@media (min-width: 1200px) {
  .teacher__post .etc_teacher .splide__arrows button.splide__arrow--next {
    right: -78px;
    transform: translate(50%, -50%);
  }
}
.teacher__post .etc_teacher .linkbutton {
  display: flex;
  justify-content: center;
}
.teacher__post .etc_teacher .linkbutton a {
  font-size: 1.4rem;
  font-weight: bold;
  color: #FFF;
  line-height: 1.42;
  width: 100%;
  max-width: 335px;
  padding: 16px 40px 16px 14px;
  border: 2px solid #1C4F9A;
  border-radius: 7px;
  background-color: #1C4F9A;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  position: relative;
  transition: color 0.3s, background 0.3s;
}
.teacher__post .etc_teacher .linkbutton a::before, .teacher__post .etc_teacher .linkbutton a::after {
  top: 50%;
}
.teacher__post .etc_teacher .linkbutton a::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #FFF;
  right: 15px;
  z-index: 1;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}
.teacher__post .etc_teacher .linkbutton a::after {
  width: 6px;
  height: 6px;
  border-bottom: 1px solid #1C4F9A;
  border-right: 1px solid #1C4F9A;
  right: 22px;
  z-index: 2;
  transform: translateY(-50%) rotate(-45deg);
  transition: border 0.3s;
}
@media (hover: hover) {
  .teacher__post .etc_teacher .linkbutton a:where(:any-link, :enabled, summary, span, dt, div):hover {
    color: #1C4F9A;
    background-color: #FFF;
  }
  .teacher__post .etc_teacher .linkbutton a:where(:any-link, :enabled, summary, span, dt, div):hover::before {
    background-color: #1C4F9A;
  }
  .teacher__post .etc_teacher .linkbutton a:where(:any-link, :enabled, summary, span, dt, div):hover::after {
    border-bottom: 1px solid #FFF;
    border-right: 1px solid #FFF;
  }
.kana-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.kana-index li a {
    display: block;
    padding: 6px 10px;
    border: 1px solid #ccc;
    text-decoration: none;
    border-radius: 4px;
}

.kana-index li a:hover {
    background: #f0f0f0;
}
}
/*------------------ ADD BY YCS 260422 --------------------*/
.splide__list{
	max-height:400px;
}
.splide__slide iframe,.splide__slide video{
    position:absolute;
	width: 100%;
    max-width: initial;
    height: 100%;
    top: 0;
    left: 0;
}
@media (min-width: 1200px) {
    .teacher__post .post__head .head__profile .profile__school a {
        font-size: 1.5rem;
        padding: 2px 5px;
    }
}
@media (min-width: 641px) {
    .teacher__post .post__head .head__profile .profile__school a {
        font-size: 1.4rem;
        padding: 2px 4px;
    }
}
.teacher__post .post__head .head__profile .profile__school a{
    font-size: 1.2rem;
    color: #1C4F9A;
    line-height: 1.2;
    padding: 2px 3px;
    border: 1px solid #1C4F9A;
}
.template_set img{
	background:rgba(0,0,0,.2);
}

.post__from_teacher strong{
  font-size: 1.6rem;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight:bold;
}
@media (min-width: 641px) {
  .post__from_teacher strong{
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
}
@media (min-width: 1200px) {
  .post__from_teacher strong{
    font-size: 2rem;
    margin-bottom: 20px;
  }
}
.teacher_nolook{
	background:#e2e1e1;
}
.koushi_detail .teacher__list a {
  padding: 12px;
  border: 1px solid #D1D1D1;
  border-radius: 10px;
  background-color: #FFF;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.koushi_detail .teacher__list a::before,.koushi_detail .teacher__list a::after{
	display: block;
    content: "";
    position: absolute;
}
.koushi_detail .teacher__list a::before {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  bottom: 6px;
  right: 6px;
  z-index: 1;
}
@media (min-width: 641px) {
  .koushi_detail .teacher__list a::before {
    bottom: 9px;
    right: 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_detail .teacher__list a::before {
    bottom: 12px;
    right: 12px;
  }
}
.koushi_detail .teacher__list .english a::before {
  background-color: #66C18C;
}
.koushi_detail .teacher__list .english .teacher__subjects p {
  background-color: #66C18C;
}
.koushi_detail .teacher__list .math a::before {
  background-color: #F2716D;
}
.koushi_detail .teacher__list .math .teacher__subjects p {
  background-color: #F2716D;
}
.koushi_detail .teacher__list .national a::before {
  background-color: #4DA4D7;
}
.koushi_detail .teacher__list .national .teacher__subjects p {
  background-color: #4DA4D7;
}
.koushi_detail .teacher__list .physics a::before {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .physics .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .science a::before {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .science .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .living a::before {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .living .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .geology a::before {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .geology .teacher__subjects p {
  background-color: #B270AB;
}
.koushi_detail .teacher__list .japanese_history a::before {
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .japanese_history .teacher__subjects p {
  letter-spacing: 0;
  padding: 2px 7px 3px 7px;
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .world_history a::before {
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .world_history .teacher__subjects p {
  letter-spacing: 0;
  padding: 2px 7px 3px 7px;
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .geography a::before {
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .geography .teacher__subjects p {
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .citizens a::before {
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .citizens .teacher__subjects p {
  background-color: #02B9C9;
}
.koushi_detail .teacher__list .information a::before {
  background-color: #F26DBF;
}
.koushi_detail .teacher__list .information .teacher__subjects p {
  background-color: #F26DBF;
}


.koushi_detail .teacher__list .teacher__img {
  width: 100%;
  margin-bottom: 7px;
  position: relative;
}
@media (min-width: 641px) {
  .koushi_detail .teacher__list .teacher__img {
    margin-bottom: 9px;
  }
}
@media (min-width: 1200px) {
  .koushi_detail .teacher__list .teacher__img {
    margin-bottom: 10px;
  }
}


.koushi_detail .teacher__list .teacher__subjects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
@media (min-width: 641px) {
  .koushi_detail .teacher__list .teacher__subjects {
    gap: 7px;
  }
}
@media (min-width: 1200px) {
  .koushi_detail .teacher__list .teacher__subjects {
    gap: 8px;
  }
}
.koushi_detail .teacher__list .teacher__subjects p {
  font-size: 1.1rem;
  color: #FFF;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5em;
  padding: 2px 1px 3px 7px;
}
@media (min-width: 641px) {
  .koushi_detail .teacher__list .teacher__subjects p {
    font-size: 1.2rem;
  }
}

.koushi_detail .teacher__list a::after {
  width: 5px;
  height: 5px;
  border-bottom: 1px solid #FFF;
  border-right: 1px solid #FFF;
  bottom: 12px;
  right: 13px;
  z-index: 2;
  transform: rotate(-45deg);
}
@media (min-width: 641px) {
  .koushi_detail .teacher__list a::after {
    bottom: 15px;
    right: 16px;
  }
}
@media (min-width: 1200px) {
  .koushi_detail .teacher__list a::after {
    bottom: 18px;
    right: 19px;
  }
}
.koushi_detail .back {
  display: flex;
  justify-content: end;
}
.koushi_detail .back a {
  font-size: 1.2rem;
  font-weight: bold;
  min-width: 120px;
  padding: 4px 20px 4px 0;
  margin-top: 20px;
  border-bottom: 1px solid #C4C4C4;
  position: relative;
  transition: color 0.3s;
}
@media (min-width: 641px) {
  .koushi_detail .back a {
    font-size: 1.5rem;
    min-width: 150px;
    padding: 4px 23px 4px 0;
    margin-top: 30px;
  }
}
@media (min-width: 1200px) {
  .koushi_detail .back a {
    font-size: 1.7rem;
    min-width: 170px;
    padding: 4px 26px 4px 0;
    margin-top: 35px;
  }
}
.koushi_detail .back a::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid #E83820;
  border-bottom: 2px solid #E83820;
  position: absolute;
  top: 15px;
  right: 5px;
  transform: rotate(-135deg);
  transition: transform 0.3s;
}
@media (min-width: 641px) {
  .koushi_detail .back a::after {
    width: 8px;
    height: 8px;
    top: 17px;
  }
}
@media (min-width: 1200px) {
  .koushi_detail .back a::after {
    width: 10px;
    height: 10px;
    top: 20px;
  }
}
/* 095_講師ページリニューアル案件_第2フェーズ add start */
@media screen and (max-width: 640px) {
  /*
   * 画面中央に表示されている科目の
   * 既存リンクを複製して右下に固定する。
   */
  .koushi_page
    .template_set
    > .back.sp-floating-back {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    width: auto;
    max-width: none;
    margin: 0;
  }

  /*
   * 固定表示中のリンクのみ、講師詳細画面の
   * 「各コース案内を見る」ボタンと同じデザインにする。
   */
  .koushi_page
    .template_set
    > .back.sp-floating-back
    a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFF;
    line-height: 1.42;
    width: auto;
    min-width: 120px;
    max-width: none;
    padding: 8px 36px 8px 14px;
    margin-top: 0;
    border: 2px solid #1C4F9A;
    border-radius: 7px;
    background-color: #1C4F9A;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s, background 0.3s;
  }

  .koushi_page
    .template_set
    > .back.sp-floating-back
    a::before,
  .koushi_page
    .template_set
    > .back.sp-floating-back
    a::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
  }

  .koushi_page
    .template_set
    > .back.sp-floating-back
    a::before {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #FFF;
    right: 10px;
    z-index: 1;
    transform: translateY(-50%);
    transition: background-color 0.3s;
  }

  .koushi_page
    .template_set
    > .back.sp-floating-back
    a::after {
    width: 5px;
    height: 5px;
    border-right: 1px solid #1C4F9A;
    border-bottom: 1px solid #1C4F9A;
    right: 16px;
    z-index: 2;
    transform: translateY(-50%) rotate(-135deg);
    transition: border 0.3s;
  }
}

@media screen and (max-width: 640px) and (hover: hover) {
  .koushi_page
    .template_set
    > .back.sp-floating-back
    a:where(:any-link, :enabled, summary, span, dt, div):hover {
    color: #1C4F9A;
    background-color: #FFF;
  }

  .koushi_page
    .template_set
    > .back.sp-floating-back
    a:where(:any-link, :enabled, summary, span, dt, div):hover::before {
    background-color: #1C4F9A;
  }

  .koushi_page
    .template_set
    > .back.sp-floating-back
    a:where(:any-link, :enabled, summary, span, dt, div):hover::after {
    border-right: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
  }
}
/* 095_講師ページリニューアル案件_第2フェーズ add end */

