html {
  min-width: unset;
}
img {
  border: unset;
  font-size: unset;
  line-height: unset;
  vertical-align: unset;
}
#pagetop {
  background: #ffffff;
}
.w-100 {
  width: 100%;
}
.p-address-container {
  width: 90vw;
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}
.p-address-scrolly {
  height: 350px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
@media screen and (min-width: 769px) {
  .p-address-container {
    width: 100%;
  }
  .p-address-scrolly {
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    overflow-y: auto;
  }
}

:root {
  --color-primary: #1f3b9e;
  --color-primary-light: #eef6fd;
  --color-secondary: #0379d6;
  --color-secondary-light: #cbe0f2;
  --color-accent: #fee302;
  --color-bg: #fff;
  --color-text: #333;
  --color-text-secondary: #fff;
}

/*-------------------------
    layout
-------------------------*/
.l-inner {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .l-inner {
    padding: 0 20px;
  }
}

@media (min-width: 1204px) {
  .l-inner {
    padding: 0;
  }
}

/*-------------------------
    utility
-------------------------*/

/* display */
.u-pc {
  display: none !important;
}
.u-sp {
  display: block !important;
}

@media (min-width: 768px) {
  .u-pc {
    display: block !important;
  }
  .u-sp {
    display: none !important;
  }
}

/* text */
.u-text-center {
  text-align: center;
}
.u-text-left {
  text-align: left;
}
.u-text-right {
  text-align: right;
}

/* font */
.u-font-bold {
  font-weight: bold;
}

/* color */
.u-color-primary {
  color: var(--color-primary);
}
.u-color-accent {
  color: var(--color-accent);
}

/* width */
.u-max-w-1200 {
  max-width: 1200px;
}
.u-max-w-1000 {
  max-width: 1000px;
}
.u-max-w-900 {
  max-width: 900px;
}
.u-max-w-700 {
  max-width: 700px;
}

/* ---------------------------------------------
    MVエリア
  --------------------------------------------- */
.md-around__header-title {
  color: #233f87;
  background-color: #ffffff;
  font-size: 24px;
  text-align: start;
  padding: 15px 20px 0;
  border-radius: 0 20px 20px 0;
}
.md-around__header-title .class_CityName {
  font-size: 30px;
}
.md-around__header-title .class_SchoolName {
  font-size: 38px;
}
.md-around-header {
  background-color: #86bceb;
  padding-top: 40px;
}
.md-around-header__banner {
  align-self: flex-end;
  overflow: hidden;
}
.md-around-header__banner img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.md-around-header .md-around-header__title {
  text-align: center;
  font-size: 29px;
  font-weight: 700;
}
.md-around-header .md-around-header__sub-title {
  color: #1a3288;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}
.classroom_limit_upper_caption_sp[src='']:only-child {
  display: none;
}
@media screen and (min-width: 769px) {
  .md-around__header {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    max-width: 1200px;
    width: calc(100% - 60px);
    margin: 35px auto 45px;
  }
  .md-around__header-left-side {
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .md-around__header-title {
    width: auto;
    color: #233f87;
    background-color: #ffffff;
    font-size: 45px;
    padding: 0 20px 20px 0;
  }
  .md-around-header__banner {
    width: 48%;
    border-radius: 10px;
    flex: none;
  }
}
@media screen and (max-width: 768px) {
  .md-around__header-title .class_CityName {
    font-size: 16px;
  }
  .md-around__header-title .class_SchoolName {
    font-size: 18px;
  }
}
/* ---------------------------------------------
    kv-content
  --------------------------------------------- */
.p-address-kv-content__ttl {
  color: #202f68;
  text-align: center;
  padding: 32px 0 10px;
}
.p-address-kv-content__ttl ._kv-txtA {
  font-size: 2.3rem;
}
.p-address-kv-content__ttl ._kv-txtB {
  /* font-size: 3.4rem; */
  font-size: 2.5rem;
}
.p-address-kv-content__ttl ._kv-txtC {
  /* font-size: 2.3rem; */
  font-size: 2rem;
}
.p-address-kv-content__ttl ._kv-txtD {
  font-size: 2rem;
}
.p-address-kv-content__ttl ._col-grade-red {
  background: linear-gradient(to top, #c62d43 45%, #da7887 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.p-address-kv-content__images {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  align-items: center;
}
.p-address-kv-content__images img {
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
}
.p-address-kv-content__images .p-address-kv-content__imgA {
  width: 70%;
  max-width: 578px;
}
.p-address-kv-content__images .p-address-kv-content__imgA small {
  display: block;
  font-size: 11px;
  margin-top: 24px;
}
.p-address-kv-content__images .p-address-kv-content__imgB {
  width: 30%;
  max-width: 204px;
}
@media screen and (min-width: 769px) {
  .p-address-kv {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 0;
    font-size: 4rem;
  }
  .p-address-kv-content__ttl {
    padding: 35px 0 10px;
  }
  .p-address-kv-content__ttl ._kv-txtA {
    font-size: 3.8rem;
  }
  .p-address-kv-content__ttl ._kv-txtB {
    font-size: 6.2rem;
  }
  .p-address-kv-content__ttl ._kv-txtC {
    font-size: 4.6rem;
  }
  .p-address-kv-content__ttl ._kv-txtD {
    font-size: 3rem;
  }
  .p-address-kv-content__images .p-address-kv-content__imgA small {
    font-size: 12px;
    margin-top: 16px;
  }
}
/* ---------------------------------------------
    アンカーリンク
  --------------------------------------------- */
.p-address-anchors {
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 92.5333vw;
}
.p-address-anchors,
.p-address-anchors__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
}
.p-address-anchors__inner {
  width: 50%;
  min-width: 100%;
  margin-right: 0;
  font-size: 1.3rem;
  font-feature-settings: 'palt' off;
}
.p-address-anchors__item {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: calc(33.33333% - 3px);
  margin: 5px 6px 10px;
  padding: 14px 0 34px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(180deg, #0a5cc0 0%, #203b9e 100%);
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px #0000004d;
  z-index: 0;
}
.p-address-anchors__item:first-child {
  margin-left: 0;
}
.p-address-anchors__item:last-child {
  margin-right: 0;
}
.p-address-anchors__item::before {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #3689ee 0%, #0255bb 100%);
  border-radius: 7px;
  opacity: 0;
  transition:
    opacity 0.8s ease,
    display 0.8s allow-discrete;
  content: '';
  z-index: -1;
}
.p-address-anchors__item:hover::before {
  display: block;
  opacity: 1;
}
@starting-style {
  .p-address-anchors__item:hover::before {
    opacity: 0;
  }
}
.p-address-anchors___icon {
  position: absolute;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: 11px;
  height: 11px;
}
@media screen and (min-width: 769px) {
  .md-around-content__menu--header-type {
    border-top: 1px solid #233f87;
    padding-top: 7px;
  }
  .p-address-anchors {
    width: 100%;
  }
  .p-address-anchors__inner {
    width: 100%;
    font-size: 2rem;
  }
  .p-address-anchors__item {
    width: calc(16.66667% - 25px);
    margin: 12px 8px 8px;
    padding: 23px 5px 49px;
    border-radius: 7px;
    box-shadow: 0px 5.46px 5.46px 0px #0000004d;
  }
  .p-address-anchors___icon {
    bottom: 20px;
    width: 15px;
    height: 15px;
  }
}
/* ---------------------------------------------
    教室基本情報
  --------------------------------------------- */
/* address */
.md-around-content__address {
  background-color: #efecdf;
  padding-top: 51px;
  padding-bottom: 19px;
}
.md-around-content__address .md-address__title {
  text-align: center;
  color: #324382;
  font-size: 22px;
  font-weight: 700;
}
.md-address__detail .md-address__detail-box:first-child {
  padding-top: 20px;
}
.md-address__detail .md-address__detail-box:last-child {
  padding-bottom: 20px;
}
.md-address__detail .md-address__detail-box {
  padding: 15px 19px;
}
.md-map {
  margin-top: 0;
  padding: 14px 0;
  background-color: #ffffff;
}
.md-map-box {
  position: relative;
  aspect-ratio: 1/1;
}
.md-address__detail-box {
  background-color: #ffffff;
}
.md-address--has-separate-line {
  position: relative;
}
.md-address__detail .md-address__detail-box.md-address--has-separate-line::after,
.md-address__detail .md-address__detail-box-vehicle.md-address--has-separate-line::after {
  content: '';
  display: block;
  width: calc(100% - 38px);
  height: 1px;
  background-color: #e6edf5;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.md-map.md-address--has-separate-line::after {
  content: '';
  display: block;
  width: calc(100% - 38px);
  height: 1px;
  background-color: #e6edf5;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.md-address__detail .md-address__detail-box.md-address--has-separate-line:first-child {
  padding-bottom: 0;
}
.md-address__detail .md-address__detail-box.md-address--has-separate-line:first-child::after {
  display: none;
}
.md-address__detail .md-address__detail-box-vehicle .md-address__detail-box {
  padding-top: 15px;
}
.md-address__detail .md-address-detail-box__title {
  color: #333;
  font-size: 17px;
  font-weight: 700;
}
.md-address__detail .md-address-detail-box__title-icon {
  display: inline-block;
  width: 24px;
}
.md-address__detail .md-address-detail-box__title-icon img {
  width: 100%;
  object-fit: contain;
}
.md-address__detail .md-address-detail-box__text-info {
  color: #333;
  font-size: 15px;
  font-weight: 400;
}
.md-address__detail .md-address__btn {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.md-address-btn1 {
  padding: 3px 4px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #ffffff;
  background-color: #4676bf;
}
.md-address-btn2 {
  padding: 3px 4px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #ffffff;
  background-color: #4676bf;
}
.md-address-btn3 {
  padding: 3px 4px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #ffffff;
  background-color: #4676bf;
}
.md-address-btn4 {
  padding: 3px 4px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #ffffff;
  background-color: #4676bf;
}
/* 学習環境 */
.md-around-content__study-place .md-study-place__title,
.md-around-content__teacher .md-teacher__title,
.md-featured .md-featured__title {
  color: #333;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
.md-around-content__study-place .md-study-place__slide .md-study-place__item-slide-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
}
.md-around-content__study-place .md-study-place__slide .md-study-place__item-slide-img img {
  width: 100%;
  object-fit: contain;
}
.md-around-content__study-place .md-study-place__slide .splide__arrow {
  background: #4676bf;
  border: 1px solid #fff;
  top: calc(50% - 50px);
  opacity: 1;
}
.md-around-content__study-place .md-study-place__slide .splide__arrow--next {
  right: -1em;
}
.md-around-content__study-place .md-study-place__slide .splide__arrow--prev {
  left: -1em;
}
.md-around-content__study-place .md-study-place__slide .splide__arrow svg {
  fill: #fff;
}
.md-around-content__study-place .md-study-place__slide .splide__pagination {
  position: relative;
  bottom: 0;
}
.md-modal__contain .md-around-content__study-place .md-study-place__slide .splide__pagination {
  position: absolute;
  bottom: 0.5em;
}
.md-modal__contain .md-around-content__study-place .md-study-place__slide .splide__arrow {
  background: #ffffff;
  top: 50%;
  transform: translateY(-50%);
}
.md-around-content__study-place .md-btn {
  width: auto;
}
.md-around-content__study-place .md-study-place__slide-info {
  color: #000;
  font-size: 12px;
  font-weight: 400;
}
.md-modal__contain .md-around-content__study-place .md-study-place__slide-info {
  color: #fff;
}
.md-around-content__study-place .md-study-place__slide .splide__pagination__page {
  margin: 6px;
}
.md-around-content__study-place .md-study-place__slide .splide__pagination__page.is-active {
  background: #4676bf;
  opacity: 1;
}
@media screen and (min-width: 769px) {
  .md-around-content__study-place .md-study-place__slide-info {
    font-size: 16px;
  }
}
/* 動画 */
.md-around-content__study-place .md-study-place__video {
  margin-top: 40px;
}
.md-around-content__study-place .md-study-place__video .md-study-place__video-title {
  color: #333;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 12px;
}
.md-around-content__study-place .md-study-place__video video {
  display: block;
  width: 100%;
}
@media screen and (min-width: 769px) {
  .md-around-content__study-place .md-study-place__video .md-study-place__video-title {
    font-size: 18px;
    line-height: 1.6;
  }
  .md-around-content__study-place .md-study-place__video video {
    cursor: pointer;
  }
}
/* ---------------------------------------------
    教室長・講師
  --------------------------------------------- */
/* 教室長 */
.p-address-planner__block {
  display: block;
  margin: 40px 0px 20px;
  background: #fff;
  border-radius: 8px;
}
.p-address-planner__profile {
  width: 100%;
  padding: 20px;
}
.p-address-planner__image {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.p-address-planner__image img {
  width: 120px;
  height: 147px;
}
.p-address-planner__name {
  width: 100%;
  margin-left: 20px;
  color: #182e4c;
  font-weight: 600;
  font-size: 1.2rem;
}
.p-address-planner__name span {
  font-size: 2rem;
}
.p-address-planner__red {
  display: inline-block;
  margin: 10px 0;
  color: #e52d2c;
  font-weight: 600;
  font-size: 1.8rem;
}
.p-address-planner__content {
  width: 100%;
  padding: 20px;
  color: #182e4c;
  border-top: 1px solid #ccc;
}
/* スクロールバー カスタマイズ */
.simplebar-track.simplebar-horizontal {
  height: 10px;
  margin: 0 auto;
  background: #b5b5b5;
}
.simplebar-scrollbar {
  top: 0;
  height: 10px;
  background: var(--color-primary);
  border-radius: 5px;
}
.simplebar-track.simplebar-vertical {
  width: 6px !important;
  margin: 10px 3px;
  background: #e6e6e6;
}
.simplebar-scrollbar:before {
  background: var(--color-primary);
}
@media (min-width: 1024px) {
  .p-address-planner__block {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .p-address-planner__profile {
    width: 67%;
    padding: 40px 30px 40px 40px;
  }
  .p-address-planner__name {
    max-width: 190px;
    font-size: 1.6rem;
  }
  .p-address-planner__name span,
  .p-address-planner__red {
    font-size: 2.4rem;
  }
  .p-address-planner__content {
    margin: 14px 16px 14px 11px;
    padding: 25px 40px;
    border-top: none;
  }
  .p-address-planner__content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 290px;
    background: #ccc;
  }
}
@media screen and (min-width: 769px) {
  .p-address-planner__block {
    margin: 40px 0px 36px;
  }
  .p-address-planner__content {
    height: 325px;
  }
}
/* 講師 */
.md-around-content__teacher {
  padding-top: 45px;
  padding-bottom: 73px;
  background: #f1f7fc;
}
.md-around-content__teacher .md-teacher__detail {
  text-align: center;
}
.md-around-content__teacher .md-teacher__detail.md-teacher__detail--has-box-wrap {
  margin-top: 10px;
  margin-bottom: 5px;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px;
  padding-bottom: 17px;
  border: 1px solid #e6e6e6;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.25);
  background: #fff;
}
.md-teacher__detail .md-teacher__thumbnail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.md-teacher__thumbnail .md-teacher__detail-img img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}
.md-teacher__detail .md-teacher__thumbnail--bg1 {
  background-color: #e7e0d6;
}
.md-teacher__detail .md-teacher__thumbnail-text {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1;
  font-size: 18px;
  font-weight: 700;
}
.md-teacher__detail .md-teacher__thumbnail-text--color1 {
  color: #624b29;
  padding-left: 30px;
  padding-right: 30px;
  word-break: break-word;
}
.md-teacher__detail .md-teacher__thumbnail-text--label {
  font-size: 12px;
  color: var(--color-primary);
  background: linear-gradient(to bottom, #f8f392, #c9ac68);
  border-radius: 50px;
  width: 100%;
  padding: 4px 0;
  margin-bottom: 8px;
}
.md-around-content__teacher .mt-teacher__info {
  text-align: start;
  height: 160px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 10px;
}
.md-student-review__box[aria-hidden='true'] .md-text__title-sort-ver {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 80px;
}
.md-text__title-sort-ver {
  display: block;
  overflow: auto;
  text-overflow: unset;
  max-height: 2500px;
  transition: max-height 0.8s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.md-student-review__box[aria-hidden='true'] .md-text__info-sort-ver {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 80px;
}
.md-text__info-sort-ver[aria-hidden='true'] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 80px;
}
.md-text__info-sort-ver {
  display: block;
  overflow: auto;
  text-overflow: unset;
  max-height: 2500px;
  transition: max-height 0.8s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.md-text__info-sort-ver::-webkit-scrollbar {
  display: none;
}
.md-around-content__teacher .md-teacher__detail-btn {
  position: relative;
  width: 155px;
  padding: 10px 0;
  border-radius: 19px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  color: #ffffff;
  background-color: #192963;
}
.md-teacher__detail-btn .md-teacher__btn-icon {
  display: inline-block;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  width: 12px;
}
.md-teacher__detail-btn .md-teacher__btn-icon img {
  width: 100%;
  object-fit: contain;
}
.md-teacher__detail .md-teacher__btn-wrap {
  margin-top: 12px;
  padding: 4px 0;
  padding-bottom: 4px;
}
.md-teacher__detail .md-teacher__btn-wrap .md-btn--extend-info {
  font-size: 12px;
}
.md-teacher__detail .md-teacher__btn-wrap .md-btn--plus::before,
.md-teacher__detail .md-teacher__btn-wrap .md-btn--extend-info[aria-expanded='true'].md-btn--plus::before {
  width: 26px;
  height: 26px;
  background: var(--color-primary);
}
/* スライダー調整 */
.md-around-content__teacher .md-teacher__slide .md-teacher__slide-list {
  padding: 10px 0;
}
.md-around-content__teacher .md-teacher__slide .splide__arrow {
  background: var(--color-primary);
  border: 1px solid #fff;
  opacity: 1;
}
.md-around-content__teacher .md-teacher__slide .splide__arrow.splide__arrow--prev {
  left: -1em;
}
.md-around-content__teacher .md-teacher__slide .splide__arrow.splide__arrow--next {
  right: -1em;
}
.md-around-content__teacher .md-teacher__slide .splide__arrow svg {
  fill: #fff;
}
.md-around-content__teacher .md-teacher__slide .splide__pagination {
  top: calc(100% + 20px);
}
.md-around-content__teacher .md-teacher__slide .md-study-place__slide-info {
  color: #000;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}
.md-around-content__teacher .md-teacher__slide .splide__pagination__page {
  margin: 8px;
}
.md-around-content__teacher .md-teacher__slide .splide__pagination__page.is-active {
  background: var(--color-primary);
  opacity: 1;
}
@media screen and (min-width: 769px) {
  .md-teacher__header {
    margin-bottom: 38px;
  }
  /* md-top.css のスタイルを相殺 */
  .md-around-content__teacher .md-teacher__slide .md-teacher__slide-list .splide__slide {
    width: calc(33.3333% - 16px) !important;
  }
  .md-around-content__teacher .md-teacher__slide .splide__arrow.splide__arrow--prev {
    left: 0;
  }
  .md-around-content__teacher .md-teacher__slide .splide__arrow.splide__arrow--next {
    right: 0;
  }
  .md-teacher__famous.md-teacher__detail {
    background-color: #e7e0d6;
  }
  .md-around-content__teacher .mt-teacher__info {
    font-size: 14px;
  }
  .md-teacher__slide.pc .md-teacher__detail,
  .md-teacher__famous.md-teacher__detail {
    padding: 40px 25px;
    border-radius: 10px;
  }
  .md-teacher__slide.pc .md-teacher__detail.md-teacher__detail--has-box-wrap {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .md-teacher__detail .md-teacher__thumbnail {
    gap: 24px;
    border-bottom: none;
  }
  .md-teacher__detail .md-teacher__detail-img {
    margin: auto;
  }
  .md-teacher__detail .md-teacher__thumbnail-text-contain {
    width: 80%;
  }
  .md-teacher__detail .md-teacher__btn-wrap {
    margin-top: 16px;
    padding-right: 19px;
    width: 100%;
  }
  .md-teacher__detail .md-teacher__btn-wrap .md-btn--extend-info {
    font-size: 14px;
  }
  .md-teacher__thumbnail-text-contain .md-teacher__thumbnail-text {
    margin-left: 24px;
  }
  .md-teacher__detail .md-teacher__thumbnail-text {
    font-size: 21px;
  }
  .md-teacher__detail .md-teacher__thumbnail-text--label {
    max-width: 161px;
    padding: 4px 0;
    margin-bottom: 8px;
  }
  .md-teacher__famous .md-text__info-sort-ver[aria-hidden='true'] {
    display: block;
    overflow: auto;
    text-overflow: unset;
    max-height: 2500px;
    transition: max-height 0.8s ease;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* ---------------------------------------------
    指導実績
  --------------------------------------------- */
.md-school-achievement {
  padding-top: 45px;
  padding-bottom: 16px;
}
.md-school-achievement__item-detail .md-school-achievement__para-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
.md-school-achievement__item-detail .md-school-achievement__para-title.--title-icon::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
}
.md-school-achievement__item-detail .md-school-achievement__para-title.--title-icon + .md-school-achievement__para-content {
  padding-left: 40px;
}
.md-school-achievement__item-detail .md-school-achievement__para-content {
  font-size: 12px;
}
.p-address-tab__content.--orange {
  border: 3px solid #f1b140;
}
.p-address-tab__content.--orange .md-school-achievement__item-detail .md-school-achievement__para-title.--title-icon::before {
  background: url('/assets/img/md-img/icon-school-orange.png') no-repeat center center / contain;
}
.p-address-tab__content.--green {
  border: 3px solid #9ed800;
}
.p-address-tab__content.--green .md-school-achievement__item-detail .md-school-achievement__para-title.--title-icon::before {
  background: url('/assets/img/md-img/icon-school-green.png') no-repeat center center / contain;
}
.p-address-tab__content.--blue {
  border: 3px solid #87d5fa;
}
.p-address-tab__content.--blue .md-school-achievement__item-detail .md-school-achievement__para-title.--title-icon::before {
  background: url('/assets/img/md-img/icon-school-blue.png') no-repeat center center / contain;
}
.p-address-tab__content td {
  padding: 5px 13px;
  font-size: 1.2rem;
  background: #fff;
  border: 1px solid #f0f0f0;
}
.p-address-tab__heading li,
.p-address-tab__heading ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.p-address-tab__heading li {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 33.33333%;
  margin-right: 10px;
  padding: 10px 0;
  color: #666;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  background: #e6e6e6;
  border-radius: 7px 7px 0 0;
  cursor: pointer;
}
.p-address-tab__heading li:last-child {
  margin-right: 0;
}
.p-address-tab__heading li.active {
  color: #333;
}
.p-address-tab__heading li:nth-child(1).active {
  background: #f1b140;
}
.p-address-tab__heading li:nth-child(2).active {
  background: #9ed800;
}
.p-address-tab__heading li:nth-child(3).active {
  background: #87d5fa;
}
.p-address-tab__ttl {
  padding: 10px 0;
  color: #333333;
  font-weight: 600;
  text-align: center;
  background: #eef6fd;
}
.p-address-tab__content.--orange .p-address-tab__ttl {
  background: #fff0d4;
}
.p-address-tab__content.--green .p-address-tab__ttl {
  background: #e2f4ae;
}
.p-address-tab__content.--blue .p-address-tab__ttl {
  background: #ecf9ff;
}
.md-school-achievement__tab .md-school-achievement__item-detail {
  padding: 20px;
  height: 350px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.md-school-achievement__tab .p-address-tab__content .md-btn--extend-info {
  font-size: 12px;
}
/* スクロールバー カスタマイズ */
.p-address-tab__content.--orange .simplebar-scrollbar,
.p-address-tab__content.--orange .simplebar-scrollbar:before {
  background: #f1b140;
}
.p-address-tab__content.--green .simplebar-scrollbar,
.p-address-tab__content.--green .simplebar-scrollbar:before {
  background: #9ed800;
}
.p-address-tab__content.--blue .simplebar-scrollbar,
.p-address-tab__content.--blue .simplebar-scrollbar:before {
  background: #87d5fa;
}
@media screen and (min-width: 769px) {
  .p-address-tab__content td {
    font-size: 1.4rem;
  }
  .p-address-tab__heading li {
    font-size: 2rem;
  }
  .p-address-tab__ttl {
    font-size: 2.4rem;
  }
  .md-school-achievement {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .md-school-achievement__item-detail .md-school-achievement__para-content {
    font-size: 14px;
  }
  .md-school-achievement__tab .md-school-achievement__item-detail {
    padding: 20px 38px;
    height: 400px;
  }
  .md-school-achievement__tab .p-address-tab__content .md-btn--extend-info {
    font-size: 14px;
  }
}

/*-------------------------
    point
-------------------------*/
.point__contents {
  padding: 50px 0 0;
}
.point__title {
  display: flex;
  align-items: baseline;
  width: fit-content;
  margin: 0 auto 64px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  border-bottom: 3px solid var(--color-primary);
}
.point__title--lg {
  margin: 0 4px;
  font-size: 54px;
}
.point__header {
  text-align: center;
  background: var(--color-primary);
  border-radius: 12px 12px 0 0;
}
.point__header-inner {
  position: relative;
}
.point__header-label {
  position: absolute;
  top: -20px;
  left: 50%;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 100px;
  transform: translateX(-50%);
}
.point__header-label--num {
  font-family: Roboto;
  font-size: 24px;
}
.point__header-title {
  padding: 30px 12px 20px;
  font-size: clamp(2.1rem, 1.588rem + 1.366vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-secondary);
}
.point__header-img {
  display: block;
  width: 100%;
}
.point__body {
  padding: 30px 16px 40px;
}
.point-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.point-card__item {
  padding: 26px 20px;
  background: var(--color-primary-light);
  border: 1px solid var(--color-secondary-light);
  border-radius: 8px;
}
.point-card__title {
  display: flex;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}
.point-card__title-num {
  display: flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  font-family: 'Roboto';
  font-size: 12px;
  line-height: 1;
  color: var(--color-text-secondary);
  background: var(--color-secondary);
  border-radius: 50%;
}
.point-card__description {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.point-card__img-wrapper {
  display: block;
  margin-top: 16px;
}
.point-card__img {
  display: block;
  margin: 0 auto;
}
.point-card__note {
  margin-top: 16px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.point__message {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  text-align: center;
}
.point__note {
  padding: 0 16px;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}
.point__body .point__note {
  padding: 0;
}

/* point-box */
.point-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--color-bg);
}
.point-box__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.point-box__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
}
.point-box__item::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  width: 16px;
  height: 16px;
  content: '';
  background: var(--color-secondary) url('/assets/img/icon-check.svg') no-repeat center center;
  background-size: 8.8px 6px;
  border-radius: 50%;
  transform: translate(0, -50%);
}
.point-box__etc {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .point__contents {
    padding: 100px 0 0;
  }
  .point__title {
    margin: 0 auto 70px;
    font-size: 50px;
    border-bottom: 4px solid var(--color-primary);
  }
  .point__title--lg {
    font-size: 88px;
  }
  .point__header {
    border-radius: 20px 20px 0 0;
  }
  .point__header-inner {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
  }
  .point__header-label {
    top: -23px;
    left: 0;
    padding: 10px 32px;
    font-size: 16px;
    transform: unset;
  }
  .point__header-label--num {
    font-size: 28px;
  }
  .point__header-title {
    flex: 1;
    padding: 0;
    line-height: 1.6;
    text-align: left;
  }
  .point__header-img-wrapper {
    flex: 0 0 375px;
  }
  .point__body {
    padding: 60px 16px;
  }
  .point-card {
    flex-direction: row;
    gap: 40px;
    justify-content: center;
  }
  .point-card.point-card--col3 {
    gap: 28px;
  }
  .point-card__item {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    padding: 28px 38px;
  }
  .point-card--col3 .point-card__item {
    max-width: 380px;
    padding: 28px 24px;
  }
  .point-card__title {
    font-size: 24px;
  }
  .point-card__title-num {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 5px;
    font-size: 14px;
  }
  .point-card__description {
    margin-top: 0;
    font-size: 16px;
  }
  .point-card__img-wrapper {
    margin: auto auto 0;
  }
  .point-card__img-wrapper--compact {
    max-width: 324px;
  }
  .point-card__note {
    margin-top: 0;
  }
  .point-card__img-wrapper--compact + .point-card__note{
    width: 100%;
    max-width: 324px;
    margin: 0 auto;
  }
  .point__message {
    margin-top: 60px;
    font-size: 32px;
  }
  .point__note {
    max-width: 1000px;
    padding: 0;
    margin: 12px auto 0;
    text-align: right;
  }
  /* point-box */
  .point-box {
    padding: 16px 29px;
    font-size: 16px;
  }
  .point-box__item {
    padding-left: 26px;
  }
  .point-box__item::before {
    width: 20px;
    height: 20px;
    background-size: 11px 7.5px;
  }
}

/* learning-environment */
.learning-environment {
  margin-top: 24px;
}
.learning-environment__headline {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  text-align: center;
}
.learning-environment__item-wrapper {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.learning-environment__item {
  flex: 1;
}
.learning-environment__item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.learning-environment__description {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .learning-environment {
    max-width: 1000px;
    margin: 60px auto 0;
  }
  .learning-environment__headline {
    margin-bottom: 24px;
    font-size: 32px;
  }
  .learning-environment__item-wrapper {
    gap: 40px;
    margin: 0;
  }
  .learning-environment__item {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .learning-environment__img {
    flex: 0 0 180px;
    max-width: 180px;
  }
  .learning-environment__text {
    flex: 1 1 auto;
  }
  .learning-environment__item-title {
    font-size: 24px;
  }
  .learning-environment__description {
    margin-top: 8px;
    font-size: 16px;
  }
}

/* ---------------------------------------------
    コースランキング
  --------------------------------------------- */
.md-rank-plan {
  padding-top: 45px;
}
.md-rank-plan__list .md-rank-plan__item {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20px;
}
.md-rank-plan__item .md-rank-plan__item-label {
  padding: 5px 10px;
  width: 80px;
  font-size: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.md-rank-plan__item .md-plan-each-grade__list {
  width: 100%;
  order: 2;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 14px;
}
.md-rank-plan__item .md-plan-each-grade__list ~ .md-rank-plan__item-header {
  text-align: start;
  order: 1;
  width: 100%;
}
.md-rank-plan__item .md-plan-each-grade__list ~ .md-rank-plan__item-footer {
  width: 100%;
  order: 3;
  display: flex;
  align-items: center;
}
.md-rank-plan__item .md-plan-each-grade__list[aria-hidden='true'] ~ .md-rank-plan__item-header,
.md-rank-plan__item .md-plan-each-grade__list[aria-hidden='true'] ~ .md-rank-plan__item-footer {
  width: 50%;
}
.md-rank-plan__item .md-plan-each-grade__list[aria-hidden='true'] {
  display: none;
}
.md-rank-plan__item .md-plan-each-grade__list .md-plan-each-grade__item:first-child {
  margin-top: 0;
}
.p-address-rank__content {
  display: inline-block;
  width: calc(33.33333% - 16.66667px);
  margin-right: 25px;
  border: 2px solid var(--color-primary);
  border-radius: 0 0 7px 7px;
}
.p-address-rank__item {
  padding: 10px 15px 28px;
  background: #fff;
  border-radius: 0 0 7px 7px;
}
.p-address-rank__list--contents:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.p-address-rank__title {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 4.5em !important;
  color: #182e4c;
  font-weight: 600;
  font-size: 18px;
  text-align: left !important;
  background: #fff !important;
}
.p-address-rank-tab .p-address-rank__title.--title-icon::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.p-address-rank-tab .c-tab__contents {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-top: 0;
}
.p-address-rank-tab .c-tab__content {
  width: 100%;
  margin-right: 0;
  background: #fff;
}
.p-address-rank-tab .c-tab__content.--orange {
  border: 2px solid #f1b140;
}
.p-address-rank-tab .c-tab__content.--orange .p-address-rank__title.--title-icon::before {
  background: url('/assets/img/md-img/icon-book-orange.png') no-repeat center center / contain;
}
.p-address-rank-tab .c-tab__content.--green {
  border: 2px solid #9ed800;
}
.p-address-rank-tab .c-tab__content.--green .p-address-rank__title.--title-icon::before {
  background: url('/assets/img/md-img/icon-book-green.png') no-repeat center center / contain;
}
.p-address-rank-tab .c-tab__content.--blue {
  border: 2px solid #87d5fa;
}
.p-address-rank-tab .c-tab__content.--blue .p-address-rank__title.--title-icon::before {
  background: url('/assets/img/md-img/icon-book-blue.png') no-repeat center center / contain;
}
/* もっと見るボタン */
.p-address-rank-tab .c-tab__contents .md-btn--extend-info {
  font-size: 12px;
}
.p-address-rank-tab .c-tab__contents .md-btn--plus::before {
  color: #333333;
  width: 26px;
  height: 26px;
}
.p-address-rank-tab .c-tab__content.--orange .md-btn--plus::before,
.p-address-rank-tab .c-tab__content.--orange .md-btn--extend-info[aria-expanded='true'].md-btn--plus::before {
  background: #f1b140;
}
.p-address-rank-tab .c-tab__content.--green .md-btn--plus::before,
.p-address-rank-tab .c-tab__content.--green .md-btn--extend-info[aria-expanded='true'].md-btn--plus::before {
  background: #9ed800;
}
.p-address-rank-tab .c-tab__content.--blue .md-btn--plus::before,
.p-address-rank-tab .c-tab__content.--blue .md-btn--extend-info[aria-expanded='true'].md-btn--plus::before {
  background: #87d5fa;
}
.p-address-rank-tab .c-tab__btn-items {
  padding-bottom: 0;
}
.p-address-rank-tab .c-tab__btn-item {
  margin-right: 10px;
}
.p-address-rank-tab .c-tab__btn-item:last-child {
  margin-right: 0;
}
.p-address-rank-tab .c-tab__btn-item button {
  display: block;
  min-height: 40px;
  padding: 10px;
  color: #666;
  font-weight: 600;
  text-align: center;
  background: #e6e6e6;
  border-radius: 7px 7px 0 0;
}
.p-address-rank-tab .c-tab__btn-item button.is-selected {
  color: #333;
}
.p-address-rank-tab .c-tab__btn-item:nth-child(1) button.is-selected {
  background: #f1b140;
}
.p-address-rank-tab .c-tab__btn-item:nth-child(2) button.is-selected {
  background: #9ed800;
}
.p-address-rank-tab .c-tab__btn-item:nth-child(3) button.is-selected {
  background: #87d5fa;
}
.p-address-rank-tab .c-tab__btn-item button.is-selected:after,
.p-address-rank-tab .c-tab__btn-item button:before {
  content: none;
}
.p-address-rank__other {
  margin-top: 20px;
  font-size: 1.2rem;
  border-radius: 10px;
  padding: 12px;
}
.p-address-rank-tab .c-tab__content.--orange .p-address-rank__other {
  background: #fff0d4;
}
.p-address-rank-tab .c-tab__content.--green .p-address-rank__other {
  background: #e2f4ae;
}
.p-address-rank-tab .c-tab__content.--blue .p-address-rank__other {
  background: #ecf9ff;
}
.p-address-rank__other .p-address-rank__other--title {
  position: relative;
  width: 100%;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  border: none;
  text-align: center;
  margin-bottom: 7px;
}
.p-address-rank__other .c-toggle__contents {
  text-align: center;
  color: #182e4c;
}
.p-address-rank__other .p-address-rank__icon {
  position: absolute;
  top: 50%;
  right: 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 16px;
  height: 16px;
  padding: 2px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media screen and (min-width: 769px) {
  .md-rank-plan {
    padding-top: 80px;
  }
  .md-rank-plan__item .md-rank-plan__item-label {
    font-size: 25px;
    width: auto;
    padding: 5px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .md-rank-plan__item .md-plan-each-grade__list[aria-hidden='false'] ~ .md-rank-plan__item-footer {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .md-rank-plan__item .md-plan-each-grade__list {
    padding-bottom: 20px;
  }
  .p-address-rank__item {
    padding: 10px 15px 43px;
  }
  .p-address-rank-tab .c-tab__btn-item button {
    font-size: 2rem;
  }
  .p-address-rank-tab .c-tab__content {
    display: block;
    width: 100%;
    width: 33.33333%;
    margin-right: 25px;
  }
  .p-address-rank-tab .c-tab__btn-item,
  .p-address-rank-tab .c-tab__content {
    margin-right: 25px;
  }
  .p-address-rank-tab .c-tab__btn-item:last-child,
  .p-address-rank-tab .c-tab__content:last-child {
    margin-right: 0;
  }
  .p-address-rank-tab .c-tab__btn-item button {
    color: #333;
  }
  .p-address-rank-tab .c-tab__btn-item:nth-child(1) button {
    background: #f1b140;
  }
  .p-address-rank-tab .c-tab__btn-item:nth-child(2) button {
    background: #9ed800;
  }
  .p-address-rank-tab .c-tab__btn-item:nth-child(3) button {
    background: #87d5fa;
  }
  /* もっと見るボタン */
  .p-address-rank-tab .c-tab__contents .md-btn--extend-info {
    font-size: 14px;
  }
  .p-address-rank__other {
    font-size: 1.6rem;
    line-height: 1.4;
    padding: 22px 20px 26px;
  }
  .p-address-rank__other .p-address-rank__other--title {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

/* ---------------------------------------------
    生徒さまの体験談
  --------------------------------------------- */
.md-student-review {
  position: relative;
  padding-top: 49px;
  padding-bottom: 80px;
  background-color: #efecdf;
  overflow: hidden;
}
.md-student-review .md-student-review__header-title {
  display: flex;
  color: #ffffff;
  text-align: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  width: 90vw;
  margin: auto;
}
.md-student__title-pick {
  position: relative;
}
.md-student-review__header-title .md-student-review__header-title-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: #fee302;
  border-radius: 50%;
  transform: rotate(-68deg);
  left: -85px;
}
.md-student-review__header-title .md-student-review__header-title-icon::before {
  content: '';
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  border-top: 10px solid #fee302;
  border-right: 6px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 6px solid transparent;
}
.md-student-review__header-title .md-student-review__header-title-icon::after {
  content: 'pick\Aup';
  position: absolute;
  left: 0;
  top: 50%;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-50%) rotate(54deg);
  color: #378dd0;
}
.md-student-review .md-student-review__box {
  position: relative;
  height: 100%;
  padding: 15px 20px 14px 22px;
  z-index: 1;
  border-radius: 8px;
  background-color: #ffffff;
}
.md-student-review__box .md-student-review__box-title {
  color: #224087;
  font-size: 20px;
  font-weight: 700;
  margin: 3px 0 17px;
}
.md-student-review .md-student-review__box .md-student-review__box-img img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.md-student-review .md-student-review__box .md-student-review__box-detail {
  font-size: 12px;
  font-weight: 400;
  margin-top: 11px;
  margin-bottom: 14px;
  padding-right: 15px;
  height: 223px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* スライダー調整 */
.md-student-review .md-student-review__slide .splide__track {
  width: 100%;
}
.md-student-review .md-student-review__slide .md-student-review__slide-list {
  padding: 10px 0;
}
.md-student-review .md-student-review__slide .splide__arrow {
  background: var(--color-primary);
  border: 1px solid #fff;
  opacity: 1;
}
.md-student-review .md-student-review__slide .splide__arrow.splide__arrow--prev {
  left: -1em;
}
.md-student-review .md-student-review__slide .splide__arrow.splide__arrow--next {
  right: -1em;
}
.md-student-review .md-student-review__slide .splide__arrow svg {
  fill: #fff;
}
.md-student-review .md-student-review__slide .splide__pagination {
  top: calc(100% + 23px);
}
.md-student-review .md-student-review__slide .md-study-place__slide-info {
  color: #000;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}
.md-student-review .md-student-review__slide .splide__pagination__page {
  margin: 8px;
}
.md-student-review .md-student-review__slide .splide__pagination__page.is-active {
  background: var(--color-primary);
  opacity: 1;
}
@media screen and (min-width: 769px) {
  /* md-top.css のスタイルを相殺 */
  .md-student-review .md-student-review__slide .student-review__slide-list .splide__slide {
    width: calc(33.3333% - 10px) !important;
  }
  .md-student-review .md-student-review__slide .splide__arrow {
    top: 54%;
    width: 2.5em;
    height: 2.5em;
  }
  .md-student-review .md-student-review__slide .splide__arrow.splide__arrow--prev {
    left: -0.9375em;
  }
  .md-student-review .md-student-review__slide .splide__arrow.splide__arrow--next {
    right: -0.9375em;
  }
  .md-student-review .md-student-review__slide .splide__pagination {
    top: calc(100% + 34px);
  }
}

/*-------------------------
    料金について
-------------------------*/
.md-price {
  padding: 50px 0 26px;
}
.md-price__header {
  margin-bottom: 25px;
}
.md-price__box {
  padding: 21px 16px;
  background: #224087;
}
.md-price__list {
  display: flex;
  gap: 6px;
}
.md-price__list-item {
  flex: auto;
  display: block;
  padding: 15px 0;
  background: #FFFFFF;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-align: center;
  color: #1F3B9E;
}
.md-price__list-plus {
  color: transparent;
  font-size: 0;
  position: relative;
  top: 8px;
  left: 0;
  display: block;
  margin-right: -22px;
  width: 22px;
  height: 22px;
  border-radius: 15px;
  background: #1F3B9E;
  transform: translate(-50%, 50%);
}
.md-price__list-plus::before,
.md-price__list-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 2px;
  height: 12px;
  background-color: #FEE305;
}
.md-price__list-plus::before {
  rotate: 90deg;
}
.md-price__description {
  margin-top: 16px;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
/* main-banner */
.md_main-banner--text {
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: 0;
  color: #333;
  padding: 13px 0;
  text-align: left;
}
@media screen and (min-width: 769px) {
  .md-price {
    padding: 80px 0;
  }
  .md-price__header {
    margin-bottom: 35px;
  }
  .md-price__box {
    margin-bottom: 40px;
    padding: 30px 30px 27px;
  }
  .md-price__list {
    gap: 5px;
  }
  .md-price__list-item {
    padding: 15px 0;
    font-size: 26px;
  }
  .md-price__list-plus {
    top: 4px;
    margin-right: -30px;
    width: 30px;
    height: 30px;
  }
  .md-price__list-plus::before,
  .md-price__list-plus::after {
    width: 3px;
    height: 15px;
  }
  .md-price__description {
    margin-top: 15px;
    font-size: 20px;
  }
  .md_main-banner--text {
    font-size: 1.6rem;
    padding: 0 0 1px;
  }
}

/* ---------------------------------------------
    トライのサポート体制
  --------------------------------------------- */
.md_support-system__contents {
  background: #224087;
  padding: 80px 0;
}
.md_support-system__title {
  margin-bottom: 50px;
}
.md_support-system__title--sub-text {
  display: flex;
  justify-content: center;
  position: relative;
  width: 188px;
  height: 40px;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 100px;
  background-color: #fee300;
  color: #224087;
  margin: 0 auto 15px;
  padding-top: 5px;
}
.md_support-system__title--sub-text::before {
  content: '';
  position: absolute;
  bottom: -8px;
  width: 20px;
  height: 16px;
  background-color: #fee300;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.md_support-system__title--text {
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.md_support-system__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 24px 32px;
}
.md_support-system__list-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 25px 43.5px;
}
.md_support-system__list-item-img {
  max-width: 130px;
}
.md_support-system__list-item-text {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  margin-left: 50px;
}
.md_support-system__list-item.--1column {
  flex-direction: column;
  justify-content: center;
  grid-area: 3/1/4/3;
  padding: 40px 30px;
}
.md_support-system__list-item.--1column .md_support-system__list-item-title {
  color: #224087;
  font-size: 3.2rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
  border: solid #224087;
  border-width: 4px 0;
  line-height: 1;
  padding: 10px 0 20px;
  margin-bottom: 26px;
}
.md_support-system__list-item.--1column .md_support-system__list-item-title--emp {
  display: inline-block;
  color: #d90000;
  line-height: 1;
}
.md_support-system__list-item.--1column .md_support-system__list-item-title--emp::first-letter {
  font-size: 4.2rem;
}
.md_support-system__list-item.--1column .md_support-system__list-item-text {
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  margin-left: 0;
  line-height: 2.2;
}
.md_support-system__list-item.--1column .md_support-system__list-item-notes {
  font-size: 1.4rem;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .md_support-system__contents {
    padding: 40px 20px;
  }
  .md_support-system__title {
    margin-bottom: 35px;
  }
  .md_support-system__title--sub-text {
    width: 145px;
    height: 25px;
    font-size: 1.4rem;
    margin: 0 auto 12px;
    padding-bottom: 24px;
  }
  .md_support-system__title--sub-text::before {
    bottom: -8px;
    width: 20px;
    height: 10px;
  }
  .md_support-system__title--text {
    font-size: 2.5rem;
  }
  .md_support-system__list {
    grid-template-columns: 100%;
    grid-template-rows: 1fr;
    gap: 15px;
  }
  .md_support-system__list-item {
    border-radius: 5px;
    padding: 12px 43.5px;
  }
  .md_support-system__list-item-img {
    max-width: 65px;
  }
  .md_support-system__list-item-text {
    font-size: 1.5rem;
    margin-left: 25px;
  }
  .md_support-system__list-item.--1column {
    flex-direction: column;
    justify-content: center;
    grid-area: auto;
    padding: 20px 16px;
  }
  .md_support-system__list-item.--1column .md_support-system__list-item-title {
    font-size: 1.6rem;
    line-height: 1.25;
    border-width: 2px 0;
    padding: 5px 0 10px;
    margin-bottom: 20px;
  }
  .md_support-system__list-item.--1column .md_support-system__list-item-title--emp {
    color: #d90000;
    line-height: 1;
  }
  .md_support-system__list-item.--1column .md_support-system__list-item-title--emp::first-letter {
    font-size: 2.6rem;
  }
  .md_support-system__list-item.--1column .md_support-system__list-item-text {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: left;
    margin-left: 0;
    line-height: 1.4;
  }
  .md_support-system__list-item.--1column .md_support-system__list-item-notes {
    font-size: 1rem;
    text-align: left;
    line-height: 1.4;
  }
}

/* PCレイアウト */
@media screen and (min-width: 769px) {
  .md-map.sl\:order-2 {
    width: 30%;
    margin: 12px 12px 8px 0;
    width: 48.5075%;
    aspect-ratio: 325 / 224;
  }
  .md-map-box {
    position: absolute;
    height: 224px;
    aspect-ratio: 1/1;
  }
  .md-address__header {
    margin-bottom: 40px;
  }
  .md-address__detail-box.sl\:order-1,
  .md-address__detail-box.sl\:order-3,
  .md-address__detail-box-vehicle.sl\:order-4,
  .md-address__detail-box.sl\:order-5 {
    width: calc(70% - 20px);
    margin: 0 auto;
    background-color: #ffffff;
  }
  .md-map.md-address--has-separate-line {
    padding: 0;
    border-bottom: none;
  }
  .md-map.md-address--has-separate-line::after {
    display: none;
  }
  .md-address__detail .md-address__detail-box.md-address--has-separate-line:first-child {
    padding-bottom: 15px;
  }
  .md-address__detail .md-address__detail-box.md-address--has-separate-line:first-child::after {
    display: block;
  }
  .md-address__detail-box--2col {
    display: flex;
    justify-content: space-between;
  }
  .md-around-content__address,
  .md-around-content__teacher {
    padding-top: 91px;
    padding-bottom: 79px;
  }
  .md-around-content__address .md-around__main-content {
    display: flex;
    align-items: start;
  }
  .md-around-content__address .md-address__detail {
    flex: 1;
    margin-top: 0;
  }
  .md-around-content__address .md-around__map {
    padding: 10px;
    background-color: #ffffff;
    margin-right: 20px;
  }
  .md-address__detail-box-vehicle {
    display: flex;
  }
  .md-address__detail .md-address__detail-box-vehicle .md-address__detail-box {
    flex: 1;
  }
  .md-address__detail .md-address-detail-box__title {
    font-size: 18px;
  }
  .md-address__detail .md-address-detail-box__text-info {
    font-size: 16px;
  }
  .md-address-btn1,
  .md-address-btn2,
  .md-address-btn3,
  .md-address-btn4 {
    font-size: 16px;
  }
  .md-student-review__content {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
  }
  .md-student-review {
    padding-top: 79px;
    padding-bottom: 132px;
  }
  .md-student-review .md-student-review__header-title {
    font-size: 40px;
    margin-bottom: 12px;
  }
  .md-student-review__header-title .md-student-review__header-title-icon {
    margin-top: -30px;
    width: 90px;
    height: 90px;
    position: relative;
    left: -10px;
  }
  .md-student__title-pick {
    display: flex;
  }
  .md-student-review__header-title .md-student-review__header-title-icon::after {
    font-size: 28px;
    font-weight: 600;
  }
  .md-student-review .md-student-review__box-wrap {
    width: 33.33%;
    padding-top: 25px;
    align-self: self-start;
  }
  .md-student-review .md-student-review__box {
    margin-top: 0;
  }
  .md-student-review .md-student-review__box .md-student-review__box-detail {
    font-size: 14px;
  }
}
/* ---------------------------------------------
    コース案内
  --------------------------------------------- */
.md-course .md-course__content .l-container {
  width: 90%;
}
.md-course__box .md-course__box-title {
  white-space: nowrap;
}
@media screen and (min-width: 769px) {
  .md-course .md-course__content .l-container {
    width: 100%;
  }
}
/*-------------------------
    flow
-------------------------*/
#flow .flow__contents {
  padding: 0 0 40px;
}
#flow .contents-title {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  border-radius: 12px 12px 0px 0px;
  padding: 17px 0;
}
#flow .flow__contents-body {
  border: 2px solid var(--color-primary);
  border-radius: 0 0 12px 12px;
  padding: 30px 20px;
}
#flow .flow__item:not(:first-child) {
  padding-top: 30px;
}
#flow .flow__item:not(:last-child) {
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 30px;
}
#flow .flow__item-title {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}
#flow .flow__item-title span {
  display: inline-block;
  background: #fee302;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  padding: 6px 12px;
  border-radius: 4px;
  line-height: 1;
}
#flow .flow__item-description {
  color: #333333;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  margin-top: 12px;
}
#flow .flow__item-notes {
  color: #666666;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 5px;
}
/* flow__cta */
#flow .flow__cta-wrap {
  margin-top: 12px;
}

@media screen and (min-width: 768px) {
  #flow .flow__contents {
    padding: 5px 0 60px;
  }
  #flow .contents-title {
    font-size: 30px;
    padding: 20px 0;
  }
  #flow .flow__contents-body {
    padding: 40px;
  }
  #flow .flow__item-title {
    font-size: 28px;
  }
  #flow .flow__item-title span {
    font-size: 18px;
    line-height: 1.6;
    padding: 5px 20px;
  }
  #flow .flow__item-notes {
    font-size: 14px;
  }
  /* flow__cta */
  #flow .flow__cta-wrap {
    max-width: 540px;
    margin: 12px auto 0;
  }
}
