@charset "UTF-8";
/* CSS Document */

/*全体*/
html {
  scroll-behavior: smooth;
}

/*course*/

.section-courses {
  width: 100%;
  max-width: 1050px;
  margin: 200px auto 0;
}

/*course title*/
.section-courses__title p {
  text-align: left;
  width: 630px;
  margin: 40px auto 0
}

.courses-title {
  position: relative;
  width: 450px;
  margin: 200px auto 0;
}

.courses-sun {
  position: absolute;
  top: -80px;
  left: 40px;
}

.courses-palmtree {
  position: absolute;
  top: -115px;
  right: 70px;
}

/*各コース大枠*/
.section-courses__container {
  display: flex;
  width: 840px;
  margin: 100px auto 0;
}

.courses-img {
  width: 400px;
  /*1000px*/
  height: 264px;
  /*660px*/
  border-radius: 5px;
}

.section-courses__pre {
  margin-top: 100px;
}

.section-courses__title-container {
  text-align: center;
}

.course-name-en {
  color: #FDE57F;
  font-size: 4.0rem;
  font-weight: 600;
  text-shadow:
    1px 0 0 #0F2E26, 0 1px 0 #0F2E26, -1px 0 0 #0F2E26, 0 -1px 0 #0F2E26;
}

.course-name-ja {
  font-size: 2.5rem;
  font-weight: 600;
  vertical-align: middle;
  width: 150px;
  padding: 25px 20px;
  border-top: solid 2px #8CDCBB;
  border-bottom: solid 2px #8CDCBB;
  margin: 15px auto 0;
}

.course-siblings__link {
  background: linear-gradient(rgba(182, 237, 214, 0.1), rgba(182, 237, 214, 1.0));
  position: relative;
}

.course-siblings a:hover,
.section-courses__qalink:hover {
  transition: all 0.3s;
}

.course-siblings {
  font-weight: 600;
}

#sibling a {
  border-bottom: solid 1px #0F2E26;
}

#sibling a:hover {
  border-bottom: solid 1px #FDE57F;
  transition: all 0.3s;
}



.section-courses__description {
  display: flex;
  padding-left: 10px;
  align-items: center;
}

.course-description {
  width: 450px;
}

.course-grade {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.section-courses__details {
  margin-top: 5px;
}

.section-courses__details span {
  font-weight: 600;
}

.section-courses__details-material {
  margin: 10px;
}

.coursesimg-container {
  position: relative
}

.coursesimg-container-reverse {
  position: relative;
}

.stripe-pattern {
  position: absolute;
  top: 0;
  left: -5px;
  background: repeating-linear-gradient(-45deg, rgba(253, 229, 127, .6), rgba(253, 229, 127, .6) 10px, #fff 0, #fff 20px);
  padding: 1em;
  color: #65513f;
  width: 130px;
  height: 30px;
  transform: rotate(-40deg);
  z-index: 10;
}

.stripe-pattern-reverse {
  position: absolute;
  top: 10px;
  right: -30px;
  background: repeating-linear-gradient(45deg, rgba(253, 229, 127, .6), rgba(253, 229, 127, .6) 10px, #fff 0, #fff 20px);
  padding: 1em;
  color: #65513f;
  width: 130px;
  height: 30px;
  transform: rotate(40deg);
  z-index: 10;
}

.section-courses__qalink {
  border-bottom: solid 2px #8CDCBB;
}

.section-courses__adult {
  opacity: .4;
}

.section-courses__pre img,
.section-courses__jrhigh img,
.section-courses__elea img,
.section-courses__eleb img,
.section-courses__adult img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  margin: 0 0 0 30px;
}

.section-courses__details-material {
  margin: 10px 0
}

.section-courses__details-material span {
  font-weight: 600;
}

.trial-lesson {
  width: 360px;
  margin: 100px auto 0;
}

/*course table*/
table {
  margin: 30px 0 50px;
}

th {
  padding: 10px 10px 0;
  border-bottom: solid 1px #8CDCBB;
  vertical-align: bottom;
}

td {
  padding: 20px 0 0 10px;
  border-bottom: solid 1px #5E716C;
}

td span {
  color: #8CDCBB;
}

.course__qalink-box {
  width: 95%;
  text-align: right;
}


/*QandA*/
.section-qanda {
  width: 100%;
  max-width: 1050px;
  margin: 200px auto 150px;
}

.section-qanda__title p {
  text-align: left;
  width: 630px;
  margin: 40px auto 0
}

.qnda-title {
  position: relative;
  width: 450px;
  margin: 250px auto 0;
}

.qa-sun {
  position: absolute;
  top: -80px;
  left: 70px;
}

.qa-palmtree {
  position: absolute;
  top: -115px;
  right: 100px;
}

.accordion-area {
  list-style: none;
  width: 70%;
  max-width: 600px;
  margin: 0 auto;
}

.accordion-area li {
  margin: 10px 0;
}

.accordion-area {
  margin-top: 60px;
  padding-bottom: 60px;
}

.accordion-title {
  position: relative;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: normal;
  padding: 3% 3% 3% 80px;
  transition: all .5s ease;
  background-color: #8CDCBB;
  border-radius: 40px;
}

.accordion-title::before,
.accordion-title::after {
  position: absolute;
  content: '';
  width: 15px;
  height: 2px;
  background-color: #333;
}

.accordion-title::before {
  top: 48%;
  left: 50px;
  transform: rotate(0deg);
}

.accordion-title::after {
  top: 48%;
  left: 50px;
  transform: rotate(90deg);
}

.accordion-title.close::before {
  transform: rotate(45deg);
}

.accordion-title.close::after {
  transform: rotate(-45deg);
}

.box {
  display: none;
  margin: 0 3% 3% 3%;
  padding: 3%;
}

/*レスポンシブ　スマホ版*/
@media(max-width:899px) {
  .section-courses {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .section-courses__container {
    width: 90%;
  }

  .courses-title {
    margin: 140px auto 0;
    width: 130px;
  }

  .courses-sun {
    position: absolute;
    top: -25px;
    left: -30px;
  }

  .courses-palmtree {
    position: absolute;
    top: -36px;
    right: -20px;
  }

  .section-courses__title p {
    text-align: left;
    width: 85%;
    max-width: 300px;
    margin: 40px auto 0;
  }

  .course-name-en {
    font-size: 3.5rem;
  }

  .course-name-ja {
    font-size: 2.0rem;
    padding: 20px;
  }

  .section-courses__description {
    display: flex;
    flex-direction: column-reverse;
  }

  .section-courses__pre {
    width: 90%;
    max-width: 450px;
    margin: 60px auto 0;
  }

  .courses-img {
    width: 270px;
    height: 180px;
    margin: 0 auto;
  }

  .coursesimg-container {
    position: relative;
    margin: 0 auto;
    width: 95%;
    max-width: 450px;
  }

  .coursesimg-container img {
    width: 100%;
    object-fit: cover;
    height: 200px;
  }

  .coursesimg-container-reverse {
    position: relative;
    margin: 0 auto;
    width: 95%;
    max-width: 450px;
  }

  .coursesimg-container-reverse img {
    width: 100%;
    object-fit: cover;
    height: 200px;
  }

  .stripe-pattern {
    position: absolute;
    top: 30px;
    left: -25px;
    background: repeating-linear-gradient(-45deg, rgba(253, 229, 127, .6), rgba(253, 229, 127, .6) 10px, #fff 0, #fff 20px);
    padding: 1em;
    color: #65513f;
    width: 100px;
    height: 20px;
    transform: rotate(-40deg);
    z-index: 10;
  }

  .stripe-pattern-reverse {
    position: absolute;
    top: 30px;
    right: -15px;
    background: repeating-linear-gradient(45deg, rgba(253, 229, 127, .6), rgba(253, 229, 127, .6) 10px, #fff 0, #fff 20px);
    padding: 1em;
    color: #65513f;
    width: 100px;
    height: 20px;
    transform: rotate(40deg);
    z-index: 10;
  }

  .section-courses__pre img,
  .section-courses__elea img,
  .section-courses__eleb img,
  .section-courses__jrhigh img,
  .section-courses__adult img {
    margin: 20px auto 0;
  }

  .course-grade {
    margin: 20px 0;
  }

  .section-courses__descriptionsp {
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
  }

  .course-description {
    width: 100%;
    max-width: 450px;
    margin-bottom: 20px;
  }

  /*course table*/
  table {
    margin-bottom: 20px;
  }

  tr {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }

  th {
    background-color: #8cdcbb;
    width: 150px;
    border: none;
    padding: 3px 0 3px 10px;
    text-align: left;
  }

  td {
    padding: 5px 0 0 10px;
    border: none;
  }

  .section-courses__details-material {
    margin: 5px 0 20px;
  }

  .trial-lesson {
    width: 240px;
    margin: 40px auto 0;
  }

  .trial-btn {
    width: 240px;
  }

  .qnda-title {
    width: 120px;
    margin: 150px auto 0;
  }

  .qa-sun {
    position: absolute;
    top: -25px;
    left: -15px;
  }

  .qa-palmtree {
    position: absolute;
    top: -36px;
    right: -5px;
  }

  .section-qanda {
    width: 100%;
    max-width: 500px;
    margin: 150px auto 0;
  }

  .accordion-area {
    margin-top: 60px;
    width: 90%;
    max-width: 400px;
  }

  .accordion-title::before {
    top: 48%;
    left: 12px;
  }

  .accordion-title::after {
    top: 48%;
    left: 12px;
  }

  .accordion-title {
    /* height: 65px; */
    font-size: 1.4rem;
    padding: 3% 3% 3% 11%;
    border-radius: 20px;
  }

  .box p {
    margin-bottom: 15px;
  }

  /* .accordion-title2 {
    height: 65px;
  }
  .accordion-title2 {
    height: 65px;
    padding: 20px 31px;
  } */
}