@charset "UTF-8";

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

  --shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.25);
}
body {
  font-feature-settings: 'palt';
}
:where(.l-main) img {
  display: block;
  margin: auto;
}

/*-------------------------
    common
-------------------------*/
.md-btn--plus::before {
  background: #0379d6;
}

@media (min-width: 768px) {
  .c-title._h2 {
    font-size: 35px;
  }
  .md-btn--extend-info {
    padding-right: 40px;
    font-size: 20px;
  }
}

/*-------------------------
    CTA
-------------------------*/
.md-contact {
  padding: 37px 0 58px;
  background-color: #d1ecff;
}
.md-contact--lg {
  padding: 20px 0 56px;
}
.md-contact__telnumber-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-right: 10px;
}
.md-contact__tel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}
.md-contact__tel-icon img {
  width: 100%;
  object-fit: contain;
}
.md-contact__telnumber {
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  color: #d81c1c;
  text-align: center;
  letter-spacing: 1.12px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .md-contact {
    padding: 50px 0;
  }
  .md-contact--lg {
    padding: 40px 0 70px;
  }
}

/*-------------------------
    banner_area
-------------------------*/
.banner_area {
  max-width: 100%;
  padding: min(8%, 50px) 0;
}
.banner_area p {
  margin: 0;
  text-align: center;
}
.banner_area img {
  width: min(100%, 1160px);
  margin: 0 auto;
}

/*-------------------------
    main-visual
-------------------------*/
.main-visual .banner_area {
  padding: 0;
}
.main-visual .banner_area img {
  width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .main-visual .l-container {
    width: 100%;
  }
}

/*-------------------------
    school-info
-------------------------*/
.p-school-info__tag._new {
  background: #fff7b9;
}

@media (min-width: 768px) {
  .p-school-info__row {
    flex-direction: column;
  }
  .p-school-info__tag._new,
  .p-news__tag {
    font-size: 20px;
  }
  .p-school-info__tag + .p-school-info__text,
  .p-news__text {
    font-size: 25px;
  }
  .p-school-info__tag._move {
    font-size: 20px;
  }
}

/*-------------------------
    news
-------------------------*/
@media (min-width: 768px) {
  .p-top-news .p-section__inner {
    padding-top: 30px;
  }
}

/*-------------------------
    footer
-------------------------*/
.p-footer-service__main-service-item a.md-btn {
  color: #fff;
}

/*-------------------------
    utility
-------------------------*/
.u-pc {
  display: none !important;
}
.u-sp {
  display: block !important;
}
.u-color-primary {
  color: var(--color-primary);
}
.u-color-accent {
  color: var(--color-accent);
}
.u-font-bold {
  font-weight: bold;
}
.u-text-underline {
  background: linear-gradient(transparent 80%, var(--color-accent) 80%);
}
.u-text-align-center {
  text-align: center;
}
.u-text-align-left {
  text-align: left;
}
.u-text-align-right {
  text-align: right;
}
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

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

/* 背景(グリッド) */
.u-bg-grid {
  background-image: linear-gradient(#eef3f8 1px, transparent 1px), linear-gradient(90deg, #eef3f8 1px, transparent 1px);
  background-size: 20px 20px;
}

/* u-inner */
.u-inner {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}
.u-max-w-1200 {
  max-width: 1200px;
}
.u-max-w-1000 {
  max-width: 1000px;
}
.u-max-w-800 {
  max-width: 800px;
}
.u-max-w-700 {
  max-width: 700px;
}

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

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

/*-------------------------
    contents-title
-------------------------*/
.contents-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f3b9e;
  text-align: center;
}
@media (min-width: 768px) {
  .contents-title {
    font-size: 40px;
  }
}

/*-------------------------
    tab
-------------------------*/
.tab {
  margin-top: 20px;
}
.tab [data-tab='tab1'],
.tab [data-tab-panel='tab1'] {
  --tab-color: #ef6088;
  --tab-color-bg: #ffedf3;
  --tab-color-accent: #f48aa8;
  --tab-color-accent-shadow: #ef60884d;
}
.tab [data-tab='tab2'],
.tab [data-tab-panel='tab2'] {
  --tab-color: #ff6e0e;
  --tab-color-bg: #fff5b4;
  --tab-color-accent: #f9a648;
  --tab-color-accent-shadow: #ffd28ccc;
}
.tab [data-tab='tab3'],
.tab [data-tab-panel='tab3'] {
  --tab-color: #2850c8;
  --tab-color-bg: #cdf0ff;
  --tab-color-accent: #5a80d9;
  --tab-color-accent-shadow: #2850c84d;
}
.tab__btn-wrap {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  justify-content: space-between;
}
.tab button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  color: #666666;
  cursor: pointer;
  outline: none;
  background: #f2f2f2;
  border: 1px solid #ccc;
  border-bottom: none;
  border-radius: 5px 5px 0px 0px;
  transition: 0.3s;
}
.tab button:nth-child(3) {
  flex-direction: column;
  padding: 0;
  line-height: 1.2;
}
.tab button ._small {
  font-size: 14px;
}
.tab button.is-active {
  color: #fff;
  background: var(--tab-color);
  border-color: var(--tab-color);
}
.tab__content-item {
  display: none;
  padding: 20px 13px;
  background: var(--tab-color-bg);
  border-top: 4px solid var(--tab-color);
  border-radius: 0 0 7px 7px;
}
.tab__content-item.is-active {
  display: block;
}
.tab__content-item-text-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  align-items: center;
  justify-content: center;
}
.tab__content-item-text {
  width: 100px;
  aspect-ratio: 1/1;
  background: var(--tab-color-accent);
  border-radius: 50%;
  box-shadow: 2px 3px 0px 0px var(--tab-color-accent-shadow);
}
.tab__content-item-text a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.tab__content-item-text p {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}
.tab__content-item-text p .c-icon._text-last {
  width: 0.8em;
  padding-top: 0.2em;
  margin-left: 0;
}
.tab__content-item-message {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
  text-align: center;
}
.tab__content-item-notes {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #333333;
  text-align: center;
}

@media (min-width: 768px) {
  .tab__btn-wrap {
    gap: 9px;
    min-height: 90px;
  }
  .tab button {
    min-height: 70px;
    font-size: 30px;
    border-radius: 10px 10px 0px 0px;
  }
  .tab button:nth-child(3) {
    flex-direction: row;
    line-height: 1.3;
  }
  .tab button ._small {
    font-size: 24px;
  }
  .tab button.is-active {
    min-height: 90px;
  }
  .tab__content-item {
    padding: 52px 50px 60px;
    border-top: 8px solid var(--tab-color);
    border-radius: 0 0 12px 12px;
  }
  .tab__content-item-text-list {
    gap: 8px 15px;
  }
  .tab__content-item-text {
    width: 165px;
    font-size: 26px;
    box-shadow: 4px 6px 0px 0px var(--tab-color-accent-shadow);
  }
  .tab__content-item-text p {
    font-size: 26px;
  }
  .tab__content-item-message {
    margin-top: 24px;
    font-size: 26px;
  }
  .tab__content-item-notes {
    margin-top: 20px;
  }
}

/*-------------------------
    features
-------------------------*/
.features__contents {
  padding: 28px 0 23px;
}
.features__tab-title {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 768px) {
  .features__contents {
    padding: 60px 0 120px;
  }
  .features__tab-title {
    margin-top: 80px;
    font-size: 36px;
  }
  .features .tab {
    margin-top: 40px;
  }
}

/*-------------------------
    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: #1f3b9e;
  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.4rem, 1.888rem + 1.366vw, 3.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-secondary);
}
.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__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-background);
}
.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('../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: 120px 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 40px;
  }
  .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: 256px;
  }
  .point-card__note {
    margin-top: 0;
  }
  .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;
  }
}

/*-------------------------
    map
-------------------------*/
.map__contents {
  padding: 30px 0;
}
.map .contents-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.4;
  color: #1f3b9e;
  text-align: center;
}
.map .contents-title .--sm {
  font-size: 30px;
  font-weight: 700;
}
.map .mapArea {
  position: relative;
  width: min(94%, 800px);
  height: 550px;
  margin: min(15%, 65px) auto 0 auto;
}
.map .mapArea .mapAll {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.map .mapArea [class^='area'] {
  position: absolute;
  width: 118px;
  font-size: 1.28rem;
  background: #d0edff;
  border-radius: 10px;
}
.map .mapArea [class^='area'] h3 {
  padding: 3px 5px;
  font-size: 1.28rem;
  font-weight: normal;
  color: #fff;
  text-align: center;
  letter-spacing: -0.5px;
  background: #1f377c;
  border-radius: 10px 10px 0 0;
}
.map .mapArea .area01 {
  top: 123px;
  left: min(84.25%, 674px);
}
.map .mapArea .area02 {
  top: 272px;
  left: min(84.25%, 674px);
}
.map .mapArea .area03 {
  top: 397px;
  left: min(84.25%, 674px);
}
.map .mapArea .area04 {
  top: 397px;
  left: min(74.13%, 593px);
  width: 63px;
}
.map .mapArea .area05 {
  top: 26px;
  left: min(24.25%, 194px);
}
.map .mapArea .area06 {
  top: 26px;
  left: min(7%, 56px);
}
.map .mapArea .area07 {
  top: 150px;
  left: min(24.25%, 194px);
  width: 63px;
}
.map .mapArea .area08 {
  top: 150px;
  left: min(7%, 56px);
}
.map .mapArea .mapList {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px;
}
.map .mapArea .area04 .mapList,
.map .mapArea .area07 .mapList {
  flex-direction: column;
}
.map .mapArea .mapList li {
  width: 49%;
  text-align: center;
}
.map .mapArea .mapList li a {
  color: #111;
  white-space: nowrap;
  text-decoration: none;
}
.map .mapArea .mapList li a.ls-1 {
  letter-spacing: -1px;
}
/* link-text */
.map .link-text {
  padding-top: 0;
  text-align: center;
}
.map .link-text a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 0 5px 3px;
  font-size: 28px;
  font-weight: bold;
  color: #1f3b9e;
  text-align: center;
  border-bottom: 2px solid #1f3b9e;
}
.map .link-text a::after {
  width: 30px;
  aspect-ratio: 1/1;
  content: '';
  background: url('../img/arrow-blue.svg') no-repeat center center / contain;
}

@media (max-width: 750px) {
  .map .contents-title {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
    color: #1f3b9e;
    text-align: center;
  }
  .map .contents-title .--sm {
    font-size: 14px;
    font-weight: 700;
  }
  .map .mapArea {
    width: min(100%, 800px);
    height: 100%;
    padding-top: 86.67%;
    margin: min(5%, 30px) auto min(15%, 65px) auto;
  }
  .map .mapArea .mapAll {
    width: 72.93%;
  }
  .map .mapArea [class^='area'] {
    position: absolute;
    width: 19.6%;
    font-size: 2.13vw;
    border-radius: 5px;
  }
  .map .mapArea [class^='area'] h3 {
    font-size: 2.13vw;
    border-radius: 5px 5px 0 0;
  }
  .map .mapArea .area01 {
    top: 30%;
    left: 74.93%;
  }
  .map .mapArea .area02 {
    top: 60%;
    left: 74.93%;
  }
  .map .mapArea .area03 {
    top: 86.5%;
    left: 74.93%;
  }
  .map .mapArea .area04 {
    top: 86.5%;
    left: 59.93%;
    width: 12%;
  }
  .map .mapArea .area05 {
    top: 26px;
    left: 28.53%;
  }
  .map .mapArea .area06 {
    top: 26px;
    left: 5%;
  }
  .map .mapArea .area07 {
    top: 34%;
    left: 28.53%;
    width: 12%;
  }
  .map .mapArea .area08 {
    top: 34%;
    left: 5%;
  }
  .map .mapArea .mapList {
    padding: 8px;
  }
  /* link-text */
  .map .link-text {
    padding-top: 0;
    text-align: center;
  }
  .map .link-text a {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 0 5px 3px;
    font-size: 20px;
    font-weight: bold;
    color: #1f3b9e;
    text-align: center;
    border-bottom: 2px solid #1f3b9e;
  }
  .map .link-text a::after {
    width: 23px;
    aspect-ratio: 1/1;
    content: '';
    background: url('../img/arrow-blue.svg') no-repeat center center / contain;
  }
}

/*-------------------------
    achievement
-------------------------*/
.achievement__contents {
  padding: 0 0 40px;
}

@media (min-width: 768px) {
  .achievement__contents {
    padding: 60px 0;
  }
}

/*-------------------------
    voice
-------------------------*/
.voice__contents {
  padding: 0 0 40px;
}
.voice__contents .u-inner {
  position: relative;
  padding: 0;
}
.voice .contents-title {
  position: relative;
  max-width: 275px;
  padding: 0 15px 15px;
  margin: 0 auto 30px;
  font-size: 26px;
  line-height: 1.2;
  color: #333333;
  border-bottom: 2px solid #1f3b9e;
}
.voice .contents-title .voice-title--lg {
  font-size: 30px;
  color: var(--color-primary);
}
.voice .contents-title::before,
.voice .contents-title::after {
  position: absolute;
  bottom: -21%;
  left: 50%;
  display: inline-block;
  content: '';
  border-style: solid;
  border-width: 16px 8px 0 8px;
  transform: translateX(-50%);
}
.voice .contents-title::before {
  border-color: #1f3b9e transparent transparent transparent;
}
.voice .contents-title::after {
  bottom: -15%;
  border-color: #fff transparent transparent transparent;
}
.voice__list {
  display: flex;
}
.voice__list-item {
  box-sizing: border-box;
  height: auto;
  padding: 24px min(calc(32 / 960 * 100vw), 32px);
  background: #fff;
  border: 1px solid #1f3b9e;
  border-radius: 8px;
  box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.25);
}
.voice__list-item-img-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.voice__list-item-img-wrap figcaption {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f3b9e;
}
.voice__list-item-img-wrap .voice__figcaption-name {
  margin-top: 6px;
}
.voice__list-item-img-wrap .voice__figcaption-name .--lg {
  font-size: 24px;
}
.voice__list-item-description {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}
.voice__notes {
  display: block;
  margin: 20px 20px 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  text-align: left;
}
@media (min-width: 1025px) {
  .voice__contents {
    overflow: hidden;
  }
  .voice .contents-title {
    max-width: 600px;
    padding: 0 20px 20px;
    margin: 0 auto 60px;
    font-size: 28px;
    border-bottom: 4px solid #1f3b9e;
  }
  .voice .contents-title .voice-title--lg {
    font-size: 48px;
  }
  .voice .contents-title::before,
  .voice .contents-title::after {
    bottom: -16%;
    border-width: 16px 10px 0 10px;
  }
  .voice .contents-title::after {
    bottom: -10%;
  }
  .voice__list {
    display: flex;
  }
  .voice__notes {
    margin: 30px 0 0;
    margin-top: 30px;
  }
  .voice__list-item {
    padding: 24px min(calc(28 / 960 * 100vw), 28px);
    border-radius: 10px;
  }
}

/*-------------------------
    splide
-------------------------*/
/* .voice .splide__track {
  margin: 0 -16px;
} */
.splide__slide img {
  width: 100%;
  height: auto;
}
.splide__pagination__page {
  opacity: 1;
}
.splide__pagination {
  bottom: 1.5em;
}
.splide__pagination__page.is-active {
  background: #224087;
}
/* splide__arrow */
.splide__arrow {
  width: 41px;
  height: 41px;
  background: #0014284d;
  border-radius: 0;
  opacity: 0.7;
}
.splide__arrow svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.splide__arrow--next {
  right: 0.4em;
}
.splide__arrow--prev {
  left: 0.4em;
}
/* progress-bar */
.splide__progress {
  margin: 20px 20px 0;
  background: #e6e6e6;
}
.splide__progress__slide {
  width: 0;
  height: 5px;
  background: #1f3b9e;
  transition: width 0.4s ease;
}
@media (min-width: 1025px) {
  .voice .splide__slide {
    width: calc(33.3333% - 16px) !important;
  }
  .voice .splide__track {
    margin: 0;
  }
  .splide__pagination__page {
    opacity: 1;
  }
  .splide__pagination {
    bottom: 2em;
  }
  .splide__pagination__page.is-active {
    background: #224087;
  }
  /* splide__arrow */
  .splide__arrow {
    width: 41px;
    height: 41px;
    background: #0014284d;
    border-radius: 0;
    opacity: 0.7;
  }
  .splide__arrow svg {
    width: 18px;
    height: 18px;
    fill: #fff;
  }
  .splide__arrow--next {
    right: -0.8em;
  }
  .splide__arrow--prev {
    left: -0.8em;
  }
  .splide__progress {
    margin: 20px 0 0;
  }
}

/*-------------------------
    courses
-------------------------*/
.md-course {
  margin-bottom: 50px;
}
.md-course .md-course__header {
  display: flex;
  align-items: center;
  justify-content: center;
}
.md-course .md-course__box {
  padding-bottom: 20px;
}
.md-course .md-course__box.md-course__box--style1 {
  background-color: #87d5fa;
}
.md-course .md-course__box.md-course__box--style2 {
  background-color: #9ed800;
}
.md-course .md-course__box.md-course__box--style3 {
  background-color: #f1b141;
}
.md-course__box .md-course__box-header {
  position: relative;
  top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.md-course__box .md-course__box-title {
  font-size: 24px;
  font-weight: 700;
}
.md-course__box .md-course__box-header .md-course__box-title-img {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
}
.md-course__box .md-course__box-header .md-course__box-title-img img {
  width: 100%;
  object-fit: cover;
}
.md-course__box .md-course__box-info {
  padding: 30px 15px 0;
  background-color: white;
  border-radius: 10px;
}
.md-course__box .md-course__box-info .md-btn {
  padding-top: 16px;
  padding-bottom: 16px;
  font-weight: 400;
}
.md-course__box ul.md-box-info__list {
  list-style: inside;
}
.md-course__box ul.md-box-info__list li.md-box-info__item {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  list-style-type: '・';
}
.md-course__box ul.md-box-info__list li::marker {
  font-size: 14px;
}
.md-box-info__item-btn-wrap {
  margin-top: 16px;
  border-top: 1px solid #cccccc;
}
.md-course__box .md-course__box-footer {
  display: flex;
  justify-content: center;
}
.md-title--has-mark {
  position: relative;
  display: inline-block;
}
.md-title--has-mark::before {
  position: absolute;
  top: 50%;
  left: -40px;
  display: block;
  width: 25px;
  height: 100%;
  content: '';
  background-image: url('/top/assets/images/md-img/title-mark3.svg');
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}
.md-title--has-mark::after {
  position: absolute;
  top: 50%;
  right: -40px;
  display: block;
  width: 25px;
  height: 100%;
  content: '';
  background-image: url('/top/assets/images/md-img/title-mark4.svg');
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .md-course {
    margin-bottom: 100px;
  }
  .md-course .md-course__header {
    margin-bottom: 15px;
  }
  .md-course .md-course__box {
    padding: 0 20px 20px 20px;
  }
  .md-course .md-course__content .l-container {
    width: 100%;
  }
  .md-course__header h2 {
    font-size: 35px;
  }
  .md-course__box .md-course__box-title {
    font-size: 22px;
  }
  .md-course__box ul.md-box-info__list li.md-box-info__item {
    font-size: 16px;
  }
  .md-course__box .md-course__box-info .md-btn {
    padding-right: 40px;
  }
}

/*-------------------------
    flow
-------------------------*/
.flow__contents {
  padding: 40px 0;
}
.flow .contents-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: #1f3b9e;
  border-radius: 12px 12px 0px 0px;
}
.flow__contents-body {
  padding: 30px 20px;
  border: 2px solid #1f3b9e;
  border-radius: 0 0 12px 12px;
}
.flow__item:not(:first-child) {
  padding-top: 30px;
}
.flow__item:not(:last-child) {
  padding-bottom: 30px;
  border-bottom: 1px solid #1f3b9e;
}
.flow__item-title {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f3b9e;
}
.flow__item-title span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #1f3b9e;
  text-align: center;
  background: #fee302;
  border-radius: 4px;
}
.flow__item-description {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #333333;
}
.flow__item-notes {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  color: #666666;
}
/* flow__cta */
.flow__cta-wrap {
  margin-top: 12px;
}

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

/*-------------------------
    faq
-------------------------*/
.md-faq a {
  color: #4794e9;
  text-decoration: underline;
}
.md-faq .c-title._h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  text-align: center;
}
.md-faq .md-toggle__btn--has-icon {
  font-weight: 700;
}

@media (min-width: 768px) {
  .md-faq .c-title._h2 {
    font-size: 40px;
  }
  .faq-course .p-qa-toggle__q > .c-toggle__btn {
    font-size: 20px;
  }
  .faq-course .p-qa-toggle__a.md-qa-toggle .c-toggle__answer span {
    font-size: 20px;
  }
  .icon-toggle__q {
    font-size: 25px;
  }
  .faq-course .p-qa-toggle__a .c-toggle__answer .icon-toggle__a {
    font-size: 25px;
  }
}

/*-------------------------
    md-course-services
-------------------------*/
.md-course-services {
  padding: 33px 0;
  background-color: #224087;
}
.md-course-services .md-course-services__header {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  color: #ffffff;
  text-align: center;
}
.md-course-services__box {
  padding: 12px 12px 20px;
  background-color: #ffffff;
  border-radius: 10px;
}
.md-course-services__box .md-course-services__thumb-img img {
  width: 100%;
  object-fit: contain;
}
.md-course-services__box .md-course-services__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: #ff6e0e;
  text-align: center;
  letter-spacing: 0px;
}
.md-course-services__title-img {
  width: 80%;
  margin: 5px auto;
  text-align: center;
}
.md-course-services__box .md-course-services__detail {
  padding-right: 15px;
  padding-left: 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.md-course-services .md-course-services__box .md-course-services__detail {
  width: 80%;
  padding-right: 0;
  padding-left: 0;
  margin-right: auto;
  margin-left: auto;
}
.md-course-services .md-course-services__note {
  font-size: 9px;
  font-weight: 400;
  color: #ffffff;
}

@media (min-width: 768px) {
  .md-block-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
  }
  .md-course-services .md-course-services__header {
    width: 100%;
    font-size: 40px;
    line-height: 1.4;
  }
  .md-course-services__box {
    display: flex;
    flex-direction: column;
    width: 49%;
  }
  .md-course-services__box .md-course-services__detail {
    flex: 1;
    font-size: 15px;
  }
  .md-course-services .md-course-services__note {
    font-size: 12px;
  }
  .md-course-services .md-btn-service {
    width: 500px;
    margin: 50px auto;
  }
}

@media (min-width: 1025px) {
  .md-course-services {
    padding: 0;
    margin: 0;
  }
  .md-course-services .md-course-services__header {
    width: 30%;
    font-size: 40px;
    line-height: 1.4;
    text-align: left;
  }
  .md-course-services__box {
    width: 33%;
    margin-top: 0;
  }
  .md-course-services__box .md-course-services__thumb-img img {
    height: 206px;
  }
  .md-course-services .md-course-services__note {
    font-size: 15px;
    line-height: normal;
  }
}

/*-------------------------
    md-course-fee
-------------------------*/
.md-course-fee {
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}
.md-course-fee__btn-wrap .md-course-fee__btn {
  padding: 25px 15px;
  font-size: clamp(2rem, 1.707rem + 0.78vw, 2.8rem);
  border-radius: 15px;
}
.md-course-fee .md-btn {
  padding-left: 20px;
  text-align: left;
  border-radius: 8px;
}
.md-course-fee .md-course-fee__btn.md-btn--light-blue.md-btn--left-arrow::before {
  width: 12px;
  height: 12px;
  border-top: 2px solid #224087;
  border-right: 2px solid #224087;
}

@media (min-width: 768px) {
  .md-course-fee {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .md-course-fee__btn-wrap .md-course-fee__btn {
    padding: 20px;
  }
}

@media (min-width: 1025px) {
  .md-course-fee__btn-wrap {
    display: flex;
    gap: 30px;
  }
  .md-course-fee__btn-wrap .md-course-fee__btn {
    margin-top: 0;
  }
}
