@charset "utf-8";

h2 {
  margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
  h2 img {
    height: 22px;
  }
}

.about__box {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .about__box {
    margin-top: 50px;
  }
  
}

.about__feature {
  margin-top: 60px;
}

.about__title {
  color: #0057D9;
  font-size: 26px !important;
  letter-spacing: 0.01em;
}
@media screen and (max-width: 768px) {
  .about__title {
    font-size: 20px !important;
  }
  
}

.about__items {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
}

.about__item {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: 17px 5px 34px;
  box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
}

.card {
  background-color: #EFEFEF;
  border-radius: 44px;
}

.card__number {
  position: relative;
  color: #0057D9;
  font-size: 26px !important;
}

.card__number::after {
  display: block;
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 6px;
  background-color: #fff;
}

.card__text {
  margin-top: 12px;
  line-height: 1.57;
}

.card__text span {
  color: #FF1919;
  font-size: 24px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .signup-btn {
    width: 100%;
    max-width: 460px;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
  }
  #registration .signup-btn {
    padding-right: 0;
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  #course {
    padding-bottom: 50px;
  }
}

#course .content {
  max-width: 100%;
  padding: 0;
}

.course__table {
  margin-top: 50px;
  padding-top: 50px;
  padding-bottom: 60px;
  background-color: #D5E7EC;
}
@media screen and (max-width: 768px) {
  .course__table {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 40px;
  }
}

.course__inner {
  width: 100%;
  max-width: 1120px;
  margin-top: 50px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}
@media screen and (max-width: 768px) {
  .course__inner {
    max-width: 460px;
  }
}

.course__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid #6EB7CB;
}

@media screen and (max-width: 768px) {
  .course__items {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
    border: none;
  }
}

.course__item {
  display: grid;
  grid-row: span 8;
  grid-template-rows: subgrid;
  gap: 0;
}

.course__item:nth-child(1) p span {
  margin-top: 20px;
}

.course__item:nth-child(2) p span,
.course__item:nth-child(3) p span {
  margin-top: 6px;
}

.course__item:nth-child(n + 2) p:nth-child(n + 2) {
  border-left: 2px solid #6EB7CB;
}

.course__item:nth-child(n + 2) p:first-child {
  border-left: 2px solid #fff;
}

@media screen and (max-width: 768px) {
  .course__item {
    border: 2px solid #6EB7CB;
  }

  .course__item:nth-child(n + 2) p:nth-child(n + 2) {
    border-left: none;
  }

  .course__item:nth-child(n + 2) p:first-child {
    border-left: none;
  }
}

.course__item p {
  position: relative;
  font-size: 24px !important;
  font-weight: bold;
  line-height: 1.48;
  background-color: #fff;
}

.course__item.course__item--recommend p {
  background-color: #FFD9D9;
}

.course__item.course__item--recommend p .course__recommend {
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(72 / 1150  * 100vw);
  max-width: 72px;
}
@media screen and (max-width: 768px) {
  .course__item.course__item--recommend p .course__recommend {
    width: 72px;
  }
}

.course__item p:first-child {
  background-color: #6EB7CB;
  color: #fff;
  line-height: 1.8;
}

.course__item p:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 22px 12px 10px;
}

.course__item p:nth-child(3) {
  padding: 15px 12px 12px;
}

.course__item p:nth-child(n + 3) {
  border-top: 2px solid #6EB7CB;
}

.course__item p:nth-child(4) {
  padding: 10px 12px 8px;
}

.course__item p:nth-child(n + 5) {
  padding: 12px 12px 5px;
}

.course__item p img {
  width: 100%;
  max-width: 200px;
}

.course__item p .sm {
  display: block;
  margin-top: 0 !important;
  font-size: 0.66666667em;
}

.course__item p .md {
  display: block;
  margin-top: 0;
  font-size: 0.75em;
}

.course__item p .lg {
  font-size: 0.83333333em;
}

.course__item p .b-lg {
  display: block;
  margin-top: -5px;
}

.course__item p .u-price {
  margin-top: 0;
  margin-left: 6px;
  font-size: 1.25em;
  letter-spacing: 2px;
  line-height: 1;
}

.course__item p .emphasis {
  display: block;
  margin-top: 0 !important;
  color: #E60012;
  font-size: 0.83333333em;
}

.course__attention {
  display: flex;
  justify-content: center;
  margin-top: 45px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.course__wrap {
  display: flex;
  padding-left: calc(118 / 1090 * 100%);
}

@media screen and (max-width: 768px) {
  .course__wrap {
    flex-direction: column;
    padding-left: 0;
  }
}

.course__attention dt {
  width: 100px;
}

.course__attention dd {
  width: calc(100% - 100px);
  padding-left: 6px;
}

@media screen and (max-width: 768px) {
  .course__attention dt {
    width: 100%;
  }

  .course__attention dd {
    width: 100%;
  }
}

#registration.page-registration .content {
  max-width: 920px;
}


.step__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .step__items {
    width: 100%;
    max-width: 460px;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    margin-top: 40px;
  }
}

.step__item {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  gap: 0;
}

.p-step {}

.p-step__number {
  position: relative;
  z-index: 2;
  text-align: center;
}

.p-step__number img {
  display: inline-block;
  width: 100%;
  max-width: 74.5px;
}

.p-step__box {
  position: relative;
  margin-top: -10px;
  padding: 50px 25px 22px;
  background-color: #fff;
}

.step__item:not(:last-child) .p-step__box::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  right: -36px;
  transform: translateY(-50%);
  width: 14px;
  height: 27px;
  background: url(./images/registration-arrow.svg) no-repeat center center / contain;
}

@media screen and (max-width: 880px) {
  .p-step__box {
    padding: 25px 12.5px 11px;
  }
}

@media screen and (max-width: 768px) {
  .p-step__box {
    padding: 50px 25px 22px;
  }

  .step__item:not(:last-child) .p-step__box::after {
    top: initial;
    right: initial;
    left: 50%;
    transform: translate(-50%, 0) rotate(90deg);
    bottom: -42px;
  }
}

.p-step__img {
  text-align: center;
}

.p-step__img img {
  display: inline-block;
  width: 100%;
}

.step__item:nth-child(1) .p-step__img img {
  max-width: 109px;
  padding-bottom: 36px;
}

.step__item:nth-child(2) .p-step__img img {
  max-width: 79px;
  margin-top: -8px;
  padding-bottom: 26px;
}

.step__item:nth-child(3) .p-step__img img {
  max-width: 108px;
  padding-bottom: 14px;
}

@media screen and (max-width: 880px) {
  .step__item:nth-child(1) .p-step__img img {
    padding-bottom: 18px;
  }

  .step__item:nth-child(2) .p-step__img img {
    padding-bottom: 13px;
  }

  .step__item:nth-child(3) .p-step__img img {
    padding-bottom: 7px;
  }
}

.p-step__title {
  color: #FF8700;
  font-size: 19px;
  text-align: center;
}

@media screen and (max-width: 880px) {
  .p-step__title {
    font-size: 17px;
  }
}

.p-step__text {
  margin-top: -5px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}