body {
  font-size: clamp(16px, 10vw, 22px) !important;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400 !important;
  line-height: 2;
  font-feature-settings: "palt" !important;
  color: #0E1450;
}
body p {
  line-height: 2.2;
  font-weight: 350;
  text-align: justify;
}
@media screen and (max-width: 767px) {
  body p {
    line-height: 1.8;
    font-size: clamp(16px, 10vw, 22px);
  }
}
body main {
  max-width: none;
}
body main h1 {
  text-align: center;
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: clamp(20px, 20vw, 36px);
}
body main h2 {
  font-size: clamp(20px, 20vw, 36px);
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: 900;
  text-align: center;
}
@media screen and (max-width: 767px) {
  body main h2 {
    font-size: clamp(20px, 10vw, 28px);
  }
}
body main h3 {
  font-size: clamp(20px, 15vw, 32px);
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: 800;
}
@media screen and (max-width: 767px) {
  body main h3 {
    font-size: clamp(16px, 10vw, 22px);
  }
}

.flex {
  display: flex;
}
@media screen and (max-width: 767px) {
  .flex {
    flex-direction: column;
  }
}

img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nowrap {
  white-space: nowrap;
  display: inline-block;
}

.container {
  width: 70%;
  max-width: 960px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .container {
    width: 90%;
    max-width: none;
  }
}

.pc {
  display: block;
}
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
}

.sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp {
    display: block;
  }
}

.btn {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(45deg, #FBD34F 0%, #DA8F11 100%);
  width: 60%;
  padding: 2rem 0;
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: 900;
  font-size: clamp(16px, 10vw, 22px);
  border: none;
  border-radius: 1rem;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.6));
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
  color: #0E1450;
  text-align: center;
}
.btn::before {
  position: absolute;
  content: "";
  bottom: -50%;
  right: 0;
  width: 18vw;
  height: 100%;
  object-fit: contain;
  background: url("../img/instclass_2/pointer.png") no-repeat center/contain;
}

.intro {
  padding: 6rem;
  background: url("../img/instclass_2/bg-light.webp") no-repeat center/cover;
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: clamp(20px, 15vw, 32px);
}
.intro p {
  text-align: center;
  font-weight: 800;
  line-height: 1.8;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .intro {
    padding: 4rem 1rem;
    font-size: clamp(16px, 10vw, 22px);
  }
  .intro p {
    line-height: 1.7;
  }
}

section {
  padding: 4rem 0;
}
@media screen and (max-width: 767px) {
  section {
    padding: 2rem 0;
  }
}

.bg-dark {
  background: url("../img/instclass_2/bg-dark.webp") no-repeat center/cover;
}

#firstview {
  background-image: linear-gradient(45deg, #172397 0%, #181F5F 100%);
  padding: 0;
}
@media screen and (max-width: 767px) {
  #firstview {
    padding: 2rem 0;
  }
}

#about-2 span {
  display: inline-block;
  width: 100%;
  font-size: clamp(20px, 15vw, 32px);
  line-height: 1.6;
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-weight: 800;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #about-2 span {
    font-size: clamp(20px, 10vw, 28px);
  }
}

#book {
  border-top: 2px solid #172397;
  border-bottom: 2px solid #172397;
  margin-bottom: 4rem;
}
#book p {
  text-align: left;
}

#point {
  padding-left: 6vw;
  padding-right: 6vw;
}
#point .flex {
  gap: 2rem;
  padding: 2rem;
}
#point .flex .pointwrap {
  color: #EAEAEA;
  background: linear-gradient(45deg, #172397 0%, #181F5F 100%);
  padding: 1rem 2rem;
}
#point .flex .pointwrap h3 {
  font-weight: 800;
  border-bottom: 1px solid #EAEAEA;
  padding-bottom: 1rem;
  line-height: 1.5;
}
#point .flex .pointwrap p {
  line-height: 1.9;
}
#point .flex .pointnum {
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  background: linear-gradient(45deg, #FBD34F 0%, #704803 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  white-space: nowrap;
  margin-bottom: 0;
}
#point .flex .pointnum span {
  font-size: 200%;
}
@media screen and (max-width: 767px) {
  #point {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  #point .flex {
    gap: 1rem;
    padding: 0;
  }
  #point .flex .pointwrap {
    padding-top: 0;
  }
  #point .flex .pointwrap p {
    line-height: 1.6;
  }
  #point .pointnum {
    font-size: 80%;
    margin-top: 1rem;
  }
}
#point .pointsub {
  margin: auto;
  margin-top: 1rem;
  border: 1px solid #0E1450;
  padding: 1rem;
}
#point .pointsub p {
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
}
#point .pointsub ul {
  margin: auto;
  width: fit-content;
  list-style-type: disc;
  padding-left: 1.5rem;
}
@media screen and (max-width: 767px) {
  #point .pointsub {
    width: 100%;
  }
}

#content .center,
#bonus .center {
  text-align: center;
}
#content .inner,
#bonus .inner {
  border: 1px solid #0E1450;
  background-color: white;
}
#content .inner h3,
#bonus .inner h3 {
  background-image: linear-gradient(45deg, #172397 0%, #181F5F 100%);
  color: white;
  text-align: center;
  padding: 1rem 0;
}
#content .inner h4,
#bonus .inner h4 {
  text-align: center;
}
#content .inner b,
#bonus .inner b {
  display: inline-block;
  line-height: 1.2;
}
#content .inner section,
#bonus .inner section {
  padding: 1rem;
  margin: 1rem;
}
#content .inner section ul,
#bonus .inner section ul {
  list-style-type: disc;
}
#content .inner .bgcolor,
#bonus .inner .bgcolor {
  background-color: #EAEAEA;
}
#content .inner + .inner,
#bonus .inner + .inner {
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  #content .inner h3,
  #bonus .inner h3 {
    font-size: clamp(16px, 10vw, 22px);
    padding: 1rem 0;
    line-height: 1.2;
    margin-bottom: 0;
  }
  #content .inner section,
  #bonus .inner section {
    padding: 0.5rem;
    margin: 0.5rem;
  }
  #content .inner p,
  #bonus .inner p {
    line-height: 1.7;
    margin-bottom: 0;
  }
}

#content .materials h3 {
  text-align: center;
}

#bonus h2 img {
  width: 350px;
}
@media screen and (max-width: 767px) {
  #bonus h2 img {
    width: 200px;
  }
}
#bonus .inner section {
  border: 1px solid #0E1450;
  padding: 0;
}
#bonus .inner section .flex p {
  text-align: left;
}
#bonus .inner section .flex img {
  width: 40%;
}
#bonus .inner p {
  padding: 1rem;
  text-align: center;
  line-height: 1.8;
}
#bonus .inner .color {
  background: linear-gradient(45deg, #ffc815 0%, #ea9707 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#bonus p.bonus-discount {
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: clamp(20px, 15vw, 32px);
  text-align: center;
  font-weight: 800;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  #bonus p.bonus-discount {
    font-size: clamp(16px, 10vw, 22px);
    padding-top: 0;
  }
  #bonus .inner section .flex {
    align-items: center;
    margin-top: 1rem;
  }
  #bonus .inner section .flex img {
    width: 80%;
  }
}

#voice h2 {
  color: white;
}
#voice .inner {
  background-color: #EAEAEA;
  padding: 4rem;
}
#voice .inner .flex {
  gap: 3rem;
}
#voice .inner .flex .img {
  width: 100px;
  height: 100px;
  background-color: gray;
  border-radius: 50%;
}
#voice .inner .flex p {
  width: 100%;
  line-height: 1.8;
}
#voice .inner .flex + .flex {
  margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  #voice .inner {
    padding: 1rem 2rem;
  }
}
#voice a {
  display: block;
  width: fit-content;
  border-radius: 20px;
  background-color: #172397;
  color: white;
  text-align: center;
  line-height: 1.4;
  padding: 1rem 2rem;
  margin: auto;
}

#price {
  padding-left: 6vw;
  padding-right: 6vw;
}
#price .flex {
  margin-top: 3rem;
  padding: 2rem;
  gap: 1rem;
  justify-content: space-between;
}
#price .flex .wrap {
  width: 100%;
  border: 1px solid #0E1450;
}
#price .flex .wrap .title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: linear-gradient(45deg, #172397 0%, #181F5F 100%);
  min-height: 15rem;
}
#price .flex .wrap .title-wrap h3 {
  color: #EAEAEA;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  padding: 1rem 2rem;
}
#price .flex .wrap .text-wrap {
  background-color: white;
  padding: 1rem;
}
#price .flex .wrap .text-wrap .text-price {
  font-family: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 2.5rem;
  font-weight: 900;
}
#price .flex .wrap .text-wrap p {
  margin: 0;
  line-height: 1.5;
  text-align: center;
}
#price .flex .wrap .text-wrap .text-small {
  font-size: 1rem;
  margin-top: 1rem;
  text-align: right;
}
#price .flex .price1 {
  position: relative;
}
#price .flex .price1::before {
  position: absolute;
  content: "";
  top: -10%;
  left: 2%;
  width: 96%;
  height: 30%;
  background: url("../img/instclass_2/price1.png") no-repeat top/contain;
}
#price .flex .price2 {
  position: relative;
}
#price .flex .price2::before {
  position: absolute;
  content: "";
  top: -10%;
  left: 2%;
  width: 96%;
  height: 30%;
  background: url("../img/instclass_2/price2.png") no-repeat top/contain;
}
#price .flex .price3 .text-wrap {
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  #price .flex {
    margin-top: 3rem;
    padding: 0;
    justify-content: space-between;
  }
  #price .flex .wrap .title-wrap {
    min-height: 10rem;
  }
  #price .flex .wrap .title-wrap h3 {
    padding-bottom: 0;
  }
  #price .flex .price2 {
    margin-top: 2rem;
  }
  #price .flex .price3 .title-wrap {
    min-height: 8rem;
  }
  #price .flex .price3 .text-wrap {
    margin-top: 0;
  }
}

#message .text {
  text-align: right;
}
#message .signimg {
  display: block;
  width: 200px;
  margin-left: auto;
  margin-right: 0;
}

.request {
  margin-top: 4rem;
  text-align: center;
  background-color: #EAEAEA;
  padding: 6rem 0;
}
.request .wrap {
  width: 60%;
  margin: 4rem auto 0;
}
.request .wrap .soon {
  background-color: #172397;
  color: white;
  text-align: center;
}
.request .wrap .training_title {
  margin: 0;
  font-size: 90%;
}
@media screen and (max-width: 767px) {
  .request .wrap {
    width: 80%;
  }
  .request .wrap .training_title {
    font-size: 90%;
    line-height: 1.4;
  }
  .request .wrap .training_title + .training_title {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: #172397 1px solid;
  }
}

#qanda h2 {
  color: white;
}
#qanda .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#qanda .question-wrap {
  position: relative;
  background-color: #EAEAEA;
  cursor: pointer;
}
#qanda .question-wrap p {
  width: calc(100% - 7vw);
  margin-bottom: 0;
  padding: 1rem;
  padding-left: 5%;
}
#qanda .question-wrap::before {
  position: absolute;
  content: "";
  top: 40%;
  right: 2vw;
  width: 2vw;
  height: 2vw;
  border-left: 5px solid #172397;
  border-bottom: 5px solid #172397;
  transform: translateY(-40%) rotate(-45deg);
  transition: transform 0.2s;
}
#qanda .question-wrap.active::before {
  transform: translateY(-20%) rotate(135deg);
}
#qanda .answer-wrap {
  display: none;
  padding: 2rem;
  background-color: white;
}
#qanda .answer-wrap p {
  margin-bottom: 0;
}

#form .form-container {
  margin: auto;
  width: 600px;
  line-height: 1.8rem;
}
#form .form-container .red {
  color: red;
}
#form .form-container h3 {
  width: 100%;
  background-color: #172397;
  text-align: center;
  color: white;
  margin-top: 4rem;
}
#form .form-container .band {
  background-color: #EAEAEA;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  line-height: 2rem;
  margin-top: 2rem;
}
#form .form-container input,
#form .form-container select {
  width: 100%;
  font-size: 1em;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid black;
}
#form .form-container input.ad-text,
#form .form-container select.ad-text {
  width: fit-content;
}
#form .form-container input[type=radio],
#form .form-container input[type=checkbox] {
  width: auto;
  min-width: 2rem;
  margin: 0;
  padding: 0;
}
#form .form-container textarea {
  width: 100%;
  resize: none;
  margin-top: 0.5rem;
  font-size: clamp(16px, 10vw, 22px);
}
#form .form-container #radiodiv .wrap {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
#form .form-container #radiodiv .wrap input[type=radio] {
  margin-top: 0.5rem;
}
#form .form-container #radiodiv .wrap + .wrap {
  margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  #form .form-container {
    width: 100%;
    padding: 0 0.5rem;
  }
}