#container img {
  max-width: 100%;
  height: auto;
}

.page-title {
  text-align: center;
  font-size: 20px;
}

.main-img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.course-name {
  text-align: center;
  margin: 30px 0 10px;
}
.course-name .target {
  display: inline-block;
  background: #1b4f8f;
  color: #fff;
  font-weight: bold;
  padding: 2px 14px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.course-name h2 {
  font-size: 32px;
  color: #1b4f8f;
  margin: 0;
}
.course-name h2 em {
  font-style: normal;
  color: #e60033;
}
.course-name p {
  font-size: 18px;
  font-weight: bold;
  color: #1b4f8f;
  margin: 0;
}

.box-blue {
  background-color: #EEF5FC;
  padding: 40px;
  margin: 40px 0;
}
.box-pink {
  background-color: #FFF5F7;
  padding: 40px;
  margin: 40px 0;
}

h3.ttl {
  text-align: center;
  font-size: 25px;
  color: #1b4f8f;
  margin: 0 0 25px;
}

h3.ttl.big {
  font-size: 34px;
  margin-bottom: 15px;
}

.sub-lead {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #1b4f8f;
  line-height: 1.6;
  margin: 0 0 25px;
}
.sub-lead strong {
  color: #e60033;
  background: linear-gradient(transparent 60%, #ffe94d 60%);
  padding: 0 4px;
}
.sp-only {
  display: none;
}

.step-photo {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.step-photo div {
  flex: 1;
  text-align: center;
}
#container .step-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  box-sizing: border-box;
  object-fit: cover;
  border: 1px solid #ccc;
  background: #fff;
}
.step-photo div.wide {
  flex: 2 1 10px;
}
.step-photo .pair {
  display: flex;
  gap: 10px;
}
.step-photo .pair img {
  flex: 1;
  min-width: 0;
}
.step-photo p {
  font-size: 14px;
  font-weight: bold;
  color: #1565c0;
  line-height: 1.5;
  margin: 6px 0 0;
}

.price-table {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
}
.price-table th {
  background: #1b4f8f;
  color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  width: 20%;
  text-align: center;
}
.price-table td {
  border: 1px solid #ccc;
  padding: 10px 15px;
}
.price {
  font-size: 36px;
  font-weight: bold;
  color: #e60033;
}
.price small {
  font-size: 16px;
}
.price-label {
  display: inline-block;
  background: #ffe94d;
  font-weight: bold;
  padding: 2px 10px;
  margin-right: 10px;
  vertical-align: middle;
}

.flow-list {
  background: #fff;
  border: 3px solid #f5c400;
  border-radius: 20px;
  padding: 25px 25px 25px 55px;
  margin: 0;
}
.flow-list li {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.flow-list li span {
  display: block;
  font-size: 14px;
  color: #555;
}
.flow-note {
  font-size: 14px;
  margin-top: 10px;
}

.apply-point {
  background: #fff7f9;
  border: 4px solid #f0336b;
  border-radius: 20px;
  padding: 25px 30px;
}
.apply-point .lead {
  display: table;
  background: #f0336b;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  padding: 6px 40px;
  margin: 0 auto 20px;
}
.apply-point .lead span {
  color: #ffe94d;
}
.apply-point ol {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.apply-point ol li {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
}
.apply-point ol li .num {
  display: block;
  width: 46px;
  height: 46px;
  line-height: 46px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f0336b;
  color: #fff;
  font-size: 26px;
}
.apply-point ol li .name {
  background: linear-gradient(transparent 60%, #fff0a0 60%);
  padding: 0 4px;
}
.apply-point ol li small {
  display: block;
  font-size: 15px;
  margin-top: 4px;
}
.apply-point .note {
  position: relative;
  background: #fdf3c8;
  border-radius: 12px;
  padding: 12px 20px;
  margin: 0;
  text-align: center;
  font-weight: bold;
}
.apply-point .note:before {
  content: "";
  position: absolute;
  left: 30px;
  top: -12px;
  border: 8px solid transparent;
  border-bottom: 6px solid #fdf3c8;
  border-left: 0;
}

.btn-apply {
  display: block;
  width: 400px;
  max-width: 90%;
  background-color: #e60033;
  color: #fff;
  font-weight: bold;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.5em;
  text-align: center;
  box-sizing: border-box;
  transition: background-color 0.2s;
  margin: 30px auto 10px;
}
.btn-apply:hover {
  color: #fff;
  background-color: #f2667f;
}
.btn-school {
  display: block;
  width: 400px;
  max-width: 90%;
  background-color: #3585ed;
  color: #fff;
  font-weight: bold;
  padding: 12px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
  transition: background-color 0.2s;
  margin: 10px auto 0;
}
.btn-school:hover {
  color: #fff;
  background-color: #97c1f6;
}

@media screen and (max-width: 767px) {
  .course-name h2 {
    font-size: 22px;
  }
  .course-name p {
    font-size: 15px;
  }
  .box-blue, .box-pink {
    padding: 25px 15px;
  }
  h3.ttl {
    font-size: 20px;
  }
  h3.ttl.big {
    font-size: 26px;
  }
  .sub-lead {
    font-size: 17px;
  }
  .sp-only {
    display: inline;
  }
  .step-photo, .step-photo .pair {
    flex-direction: column;
  }
  .step-photo div, .step-photo div.wide {
    flex: none;
  }
  .step-photo p {
    margin-bottom: 15px;
  }
  .price-table th, .price-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .price {
    font-size: 30px;
  }
  .flow-list {
    padding: 20px 15px 20px 40px;
  }
  .flow-list li {
    font-size: 15px;
  }
  .apply-point {
    padding: 20px 12px;
  }
  .apply-point .lead {
    display: block;
    font-size: 17px;
    padding: 6px 20px;
    text-align: center;
  }
  .apply-point ol {
    flex-direction: column;
    gap: 15px;
  }
  .apply-point ol li {
    font-size: 18px;
  }
  .apply-point ol li .num {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 19px;
  }
  .apply-point ol li small {
    font-size: 12px;
  }
  .apply-point .note {
    font-size: 14px;
    padding: 10px 12px;
  }
  .btn-apply, .btn-school {
    width: 100%;
    max-width: 100%;
    padding: 15px 20px;
  }
  .btn-apply {
    font-size: 1.2em;
  }
}
