/*■■■■■■■■■■■■ PC用 ■■■■■■■■■■■■*/

/*PC,SP出し分け*/
.pc- {
  display: block !important;
}
.pc-inline{
  display: inline-block !important;
}
.sp- {
  display: none !important;
}

/*カラー*/
:root {
  --mainColor:#1810af;
  --subColor:#d0e2f0;
  --white:#fff;
  --black:#000;
  --gray:#e9e9e9;
}

/*マージン*/
.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 24px;
}
.mb-4 {
  margin-bottom: 32px;
}
.mb-5 {
  margin-bottom: 40px;
}
.mb-6 {
  margin-bottom: 64px;
}
.mb-7 {
  margin-bottom: 80px;
}

/*cp-wrap*/
.cp-wrap img {
  width: 100%;
}

/*cp-content*/
.cp-content {
  text-align: center;
}
.cp-content__head {
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
  color: var(--white);
  background: var(--mainColor);
}
.cp-content__text {
  font-size: 16px;
  line-height: 2;
}

.course-btn {
  display: block;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
  text-align: center;
  color: var(--white);
  font-size: 18px;
  background: var(--mainColor);
  border-radius: 20px;
  transition: .5s;
}
.course-btn:hover {
  opacity: .7;
}
.course-btn__lead {
  display: block;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white);
}

.bottom-link {
  display: block;
  color: inherit;
  text-decoration: underline;
  text-align: center;
  font-size: 16px;
}

/*cp-course*/
.cp-course {
  margin-top: -150px;
  padding-top: 150px;
}
.cp-course__head {
  background: var(--mainColor);
  color: var(--white);
  font-weight: bold;
  text-align: center;
  padding: 32px 0;
  font-size: 18px;
}
.cp-course__body {
  background: var(--subColor);
  padding: 32px 24px 80px;
}
.cp-course__lead {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 64px;
}
.cp-course__img {
  max-width: 825px;
  margin-left: auto;
  margin-right: auto;
}

.drop-down {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.drop-down__btn {
  background: var(--mainColor);
  color: var(--white);
  text-align: center;
  padding: 32px 0;
  font-size: 18px;
  position: relative;
  transition: .5s;
}
.drop-down__btn::after {
  display: block;
  content: "+";
  font-size: 20px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.drop-down__btn:hover {
  opacity: .7;
  cursor: pointer;
}
.drop-down__body {
  display: none;
  padding: 32px;
  margin-top: 24px;
  background: var(--white);
}
.drop-down__body.open {
  display: block;
}
.drop-down__text {
  font-size: 14px;
  line-height: 1.5;
}
.drop-down__list-item {
  list-style-type: disc;
  font-size: 14px;
  line-height: 1.5;
  margin-left: 20px;
}

/*course-items*/
.course-items {
  margin-top: 80px;
}
.course-items__head {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.course-cards {
  background: var(--white);
  display: flex;
  justify-content: center;
  flex-flow: wrap;
  gap: 40px;
  padding: 40px 40px 80px;
}
.course-card {
  max-width: 280px;
  display: flex;
  flex-direction: column;
}
.course-card__img {
  transition: .5s;
}
.course-card__img:hover {
  opacity: .7;
}
.course-card__text {
  font-size: 14px;
}
.course-card__price {
  display: block;
  margin-top: 16px;
}
.course-card__btn {
  display: block;
  text-align: center;
  padding: 16px 0;
  font-size: 14px;
}
.course-card__btn--active {
  background: var(--black);
  color:var(--white);
  border: 1px solid var(--black);
  transition: .5s;
}
.course-card__btn--active:hover {
  background: var(--white);
  color:var(--black);
}
.course-card__btn--disabled {
  background: var(--gray);
  color:var(--black);
  cursor:auto;
}



/*■■■■■■■■■■■■ SP用 ■■■■■■■■■■■■*/

@media screen and (max-width: 759px) {
  /*PC,SP出し分け*/
  .pc- , .pc-inline {
    display: none !important;
  }
  .sp- {
    display: block !important;
  }

  /*cp-content*/
  .course-btn {
    padding: 16px;
    font-size: 16px;
  }
  .cp-content__head {
    padding: 16px;
    font-size: 16px;
  }

  /*cp-course*/
  .cp-course {
    margin-top: -100px;
    padding-top: 100px;
  }
  .cp-course__head {
    padding: 16px 0;
    font-size: 16px;
  }
  .cp-course__lead {
    margin-bottom: 24px;
  }
	.course-btn {
    width: 80%;
  }
	.course-btn__lead {
    padding-bottom: 8px;
  }

  .drop-down__btn {
    font-size: 16px;
    padding: 16px 0;
  }

  .drop-down__body {
    padding: 24px 16px;
  }

  /*course-items*/
  .course-cards {
    padding: 24px;
  }

}
