body#course {
  background: #fdfdfd;
}

body#course .wrap {
  max-width: 850px;
  margin: 0 auto;
}

.color_txt {
  color: #a4251e;
}

/* =======================================================
* sub
* ======================================================= */
#sub {
  background: url(../images/main.jpg) no-repeat center left/cover;
  height: 100vh;
  position: relative;
}

#sub.sub_course .sub_ttl {
  font-family: 'kanata';
  font-size: 4.4rem;
  line-height: 1.4;
  color: #111;
  text-align: center;
  margin-right: 0;
  position: absolute;
  top: 140px;
  left: 60px;
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0 -1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}

#sub.sub_course .sub_ttl span {
  font-size: 2.8rem;
  display: block;
}

#sub.sub_course ul {
  position: absolute;
  top: 320px;
  left: 160px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 370px;
}

/* #freetrial */
#freetrial {
  position: absolute;
  bottom: 30px;
  right: 30px;

}

#freetrial a {
  background-color: #e6a55a;
  border: 2px solid #e6a55a;
  color: #fff;
  padding: 10px 60px;
  border-radius: 5px;
  font-size: 2.2rem;
  font-family: 'kanata';
  display: inline-block;
  text-align: center;
}

#freetrial a:hover {
  background-color: #fff;
  opacity: 1;
  color: #e6a55a;
}

#freetrial a span {
  font-size: 1.5rem;
}

@media screen and (max-width:768px) {
  #sub {
    background-position: center right 40%;
  }

  #sub.sub_course .sub_ttl {
    font-size: 2.7rem;
    line-height: 1.6;
    top: 40px;
    width: 100%;
    left: auto;
    right: auto;
    white-space: nowrap;
  }

  #sub.sub_course .sub_ttl span {
    font-size: 2rem;
  }

  #sub.sub_course ul {
    bottom: 130px;
    left: 50%;
    transform: translate(-50%);
    width: 80%;
    top: auto;
  }

  /* #freetrial */
  #freetrial {
    bottom: 10px;
    width: 90%;
    left: 50%;
    transform: translate(-50%);
  }

  #freetrial a {
    display: block;
    font-size: 2rem;
    padding: 10px 0;
  }
}

/* =======================================================
* introduction
* ======================================================= */
.introduction_txt {
  line-height: 2;
  font-size: 1.6rem;
}

.introduction_img {
  width: 200px;
  margin: 0 auto 25px;
}

#introduction ul.list {
  padding-left: 20px;
  margin-bottom: 10px;
}

#introduction ul.list li {
  list-style: circle;
}

@media screen and (max-width:768px) {
  .introduction_img {
    width: 160px;
    margin: 0 auto 15px;
  }

  .introduction_txt {
    line-height: 1.8;
    font-size: 1.5rem;
  }

  #introduction .w30 {
    width: 80%;
    margin: -10px auto 0px;
  }

  #introduction #trialBtn {
    margin: 0;
  }
}

/* =======================================================
* solution
* ======================================================= */
#solution {
  background: #f9f9f9;
  padding-top: 50px;
}

@media screen and (max-width:768px) {
  #solution .wrap {
    padding-left: 5px;
    padding-right: 5px;
  }
}


/* =======================================================
* choice
* ======================================================= */
#choice h2 {
  line-height: 1;
}

#choice h2 small {
  font-size: 2rem;
}

#choice .choice_img {
  position: absolute;
  top: 0;
  right: 0;
  width: 270px;
}

#choice ul {
  margin-top: 20px;
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr;
}

#choice ul li {
  border: 1px solid;
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

#choice ul li img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

#choice ul li div {
  font-size: 1.3rem;
}

@media screen and (max-width:768px) {
  #choice h2 {
    letter-spacing: -0.03em;
    text-align: center;
  }

  #choice h2 small {
    font-size: 1.8rem;
    letter-spacing: 0.07em;
  }

  #choice .choice_img {
    position: static;
    width: 180px;
    margin: 0px auto -10px;
  }

  #choice ul {
    grid-template-columns: 1fr;
  }

  #choice ul li {
    padding: 10px 20px;
  }

  #choice ul li img {
    width: auto;
  }
}

/* =======================================================
* merit
* ======================================================= */
#merit .flex {
  margin-bottom: 30px;
}

#merit .color_txt {
  font-family: 'kanata';
}

#merit h5 {
  border-bottom: 1px dotted;
  padding: 3px;
  margin-bottom: 10px;
  font-size: 1.7rem;
  font-weight: bold;
}



/* =======================================================
* trialBtn
* ======================================================= */
#trialBtn {
  text-align: center;
  margin: 70px 0 0px;
}

#trialBtn a {
  background-color: #e6a55a;
  border: 2px solid #e6a55a;
  color: #fff;
  border-radius: 10px;
  font-size: 2.8rem;
  font-family: 'kanata';
  width: 100%;
  padding: 25px 30px;
}

#trialBtn a:hover {
  background-color: #fff;
  opacity: 1;
  color: #e6a55a;
}

.version_left {
  width: 55%;
  border-right: 2px solid #fff;
}

.version_right {
  width: 45%;
}

@media screen and (max-width:768px) {
  #trialBtn {
    margin: 40px 0 0px;
  }

  #trialBtn a {
    padding: 10px 0px;
    font-size: 2.3rem;
    display: inline-block;
    width: 100%;
  }

  .version_left {
    width: 100%;
    border-right: none;
    font-size: 1.6rem;
  }

  .version_right {
    width: 100%;
  }
}

/* =======================================================
* teacher
* ======================================================= */
#teacher .teacher_txt {
  text-align: center;
  background: #f9f9f9;
  padding: 20px 50px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width:768px) {
  #teacher .teacher_txt {
    text-align: left;
    padding: 20px 20px;
    font-size: 1.4rem;
  }
}

/* =======================================================
* summary
* ======================================================= */
#summary .summary_img {
  width: 90%;
  margin: 30px auto 50px;
}

#summary .step img {
  width: 80%;
  margin: 0 auto 30px;
}

#summary ul li {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

#summary .price {
  background: #f9f9f9;
  padding: 10px 70px 40px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

@media screen and (max-width:768px) {
  #summary .step img {
    width: 100%;
    margin: -30px auto 20px;
  }

  #summary .price {
    padding: 10px 20px 20px;
  }

  #summary .price img {
    width: 80%;
    margin: 30px auto 0;
  }

}

/* =======================================================
* voice
* ======================================================= */
#voice {
  background-image: radial-gradient(#ebeaec 20%, transparent 10%);
  background-size: 8px 8px;
  padding-top: 50px;
}

.voice_img {
  width: 110px;
  margin: 0 10px;
}

.voice_txt {
  width: 75%;
  position: relative;
  padding: 20px 30px 5px;
  margin: 20px;
  background: #fff;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid;
  font-size: 1.4rem;
}

.voice_txt::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -27px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 14px solid #fff;
}

.fd-reverse .voice_txt::before {
  right: -14px;
  left: auto;
  border-right: none;
  border-left: 14px solid #fff;
}

@media screen and (max-width:768px) {
  .voice_img {
    width: 25%;
  }

  .voice_txt {
    width: 100%;
    margin: 10px 0 25px;
    padding: 15px 15px 5px;
  }

  .voice_txt::before {
    content: none;
  }
}


/* =======================================================
* question
* ======================================================= */
#question dl dt {
  margin-bottom: 7px;
  font-weight: 500;
  background: #f9f9f9;
  padding: 3px 10px;
  border-radius: 5px;
}

#question dl dt span {
  font-size: 2rem;
  padding-right: 5px;
  font-family: 'cormorant', serif;
}

#question dl dd {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-left: 30px;
  line-height: 1.8;
}

@media screen and (max-width:768px) {
  #question dl dd {
    padding-left: 10px;
  }
}

/* =======================================================
* overview
* ======================================================= */
#overview .wrap {
  border: 1px solid;
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  padding: 40px 60px;
}

#overview h2 {
  line-height: 1;
  margin-bottom: 50px;
}

#overview h2 small {
  font-size: 2rem;
}

#overview h2 span {
  font-size: 2.8rem;
}

#overview dl dt {
  width: 20%;
  font-weight: bold;
  border-bottom: 1px dotted;
  padding-bottom: 10px;
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.4rem;
}

#overview dl dd {
  width: 80%;
  border-bottom: 1px dotted;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

@media screen and (max-width:768px) {
  #overview {
    padding-right: 15px;
    padding-left: 15px;
  }

  #overview .wrap {
    padding: 20px 20px;
  }

  #overview h2 {
    margin-bottom: 30px;
  }

  #overview h2 small {
    font-size: 1.6rem;
  }

  #overview h2 span {
    font-size: 2.3rem;
  }

  #overview dl dt {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
    padding: 0 0 5px 5px;
  }

  #overview dl dd {
    width: 100%;
    border-bottom: none;
    margin-bottom: 8px;
  }
}

/* =======================================================
* profile
* ======================================================= */
#profile img {
  width: 80%;
  margin: 20px auto 0;
}

@media screen and (max-width:768px) {
  #profile img {
    width: 100%;
  }
}

/* =======================================================
* apply
* ======================================================= */
#apply {
  background-image: radial-gradient(#ebeaec 20%, transparent 10%);
  background-size: 8px 8px;
  padding-top: 70px;
}

#apply label small {
  font-size: 1.2rem;
}

#apply form textarea {
  height: 120px;
}

.copyRight {
  margin-top: 0;
  text-align: center;
  background: #f1f1f1;
  padding: 20px 0;
  font-size: 1.3rem;
  font-family: 'cormorant', serif;
}

@media screen and (max-width:768px) {
  #apply form textarea {
    height: 170px;
  }
}