@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol:wght@400;500;700&family=Murecho:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
}

body {
  font-family: sans-serif;
  background: #fafafa;
  font-family: "Murecho", sans-serif;
}

.container {
  padding: 5% 0 8%;
  max-width: 1000px;
  margin: 0 auto;
}

#wdc-img {
  background: #F6C1CA;
  padding: 5% 0;
}

.wdc-img {
  max-width: 1000px;
  margin: 0 auto;
}

main h2 {
  text-align: center;
  font-family: "Murecho", sans-serif;
  font-size: min(5vw, 40px);
  font-weight: 400;
  color: #820002;
  margin-bottom: 5%;
}

.main-h::before {
  content: "〜 ";
}

.main-h::after {
  content: " 〜";
}

.video-box {
  width: 70%;
  margin: 5% auto 0;
}


/* header -------------- */

header {
  position: relative;
}

header h1 {
  width: 20%;
  position: absolute;
  top: 2%;
  right: 2%;
}

.sp {
  display: none;
}


/* nav ------------------------------------ */

#menubar {
  font-family: "Poiret One", sans-serif;
  font-weight: bold;
  letter-spacing: .2em;
  background: rgba(255, 255, 255, .8);
}

.menu-box {
  display: flex;
  margin: 0 auto;
  text-align: center;
  height: 100px;
}

.menu-box li {
  width: calc(100% / 7);
}

.menu-box a {
  box-sizing: border-box;
  display: block;
  color: #820002;
  font-size: min(1.6vw, 24px);
  transition: all .5s;
  line-height: 100px;
}

.menu-box a:hover {
  background: #820002;
  color: #fff;
}

.menubar {
  display: none;
}

.free-btn {
  height: 100px;
  padding: 8px;
  box-sizing: border-box;
}

.free-btn a {
  line-height: 68px;
  background: #820002;
  border-radius: 32px;
  color: #fff;
  border: 8px solid #820002;
  box-sizing: border-box;
}

.free-btn a:hover {
  background: rgba(255, 255, 255, 0);
  color: #820002;
}


/* 固定メニュー --------------------------- */

.nav-fix {
  position: sticky;
  top: 0px;
  z-index: 100;
}


/* worries ---------------------------------------- */

#worries {
  background: url(./images/style-img2.png) center/contain no-repeat;
  padding: 1.8%;
  margin-top: 5%;
}



#worries h2 {
  width: 12em;
  margin: 2% auto 0 ;
  color: #fff;
  font-size: min(4vw, 40px);
  border-top: 8px double #fff;
  border-bottom: 8px double #fff;
  font-family: ab-chalk, sans-serif;
  line-height: 1.5;

}

#worries ul {
  width: 60%;
  margin: 2% auto 6%;
  padding-left: 8%;
}

#worries li {
  padding-left: 2em;
  font-size: min(4vw, 32px);
  position: relative;
  color: #fff;
  font-family: ab-chalk, sans-serif;
  line-height: 1.6;
}

#worries li::before {
  content: "";
  background: url(images/checkbox.png) center/cover no-repeat;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 20%;
  left: 0;
}

svg {
  width: 100%;
  height: 100px;
}


.bb-sp {
  display: none;
}


/* solution -------------------------------- */

#solution {
  background: #820002;
}

#solution h2 {
  color: #FFF;
  padding-top: 2%;
  margin-bottom: 0;
}

#bigTriangleColor {
  pointer-events: none;
}

#bigTriangleColor path {
  fill: #820002;
  stroke: #820002;
  stroke-width: 2;
}


/* learning -------------- */

#learning {
  background: #fafafa;
}

#learning article+article {
  margin-top: 10%;
}

.learning-article-box {
  display: flex;
}

.learning-article-img {
  width: 40%;
}

.learning-article-txt {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.learning-article-txtbox {
  width: 76%;
}

.learning-article-txtbox h3 {
  font-size: min(2.6vw, 24px);
  text-align: center;
  margin-bottom: 2%;
  color: #820002;
}

.rev {
  flex-direction: row-reverse;
}

.learning-span {
  font-size: 12px;
}


/* reason --------------------------------- */

#reason {
  background: url(./images/reason-bg.jpg) center/cover;
}

#reason .container {
  padding: 6% 0;
}

#reason h3 {
  color: #820002;
  text-align: center;
  margin-bottom: 5%;
}

#reason ul {
  display: flex;
  justify-content: space-between;
  margin-top: 30%;
}

#reason li {
  width: calc((100% - 4%) / 3);
  background: rgba(255, 255, 255, .8);
  border-radius: 16px;
  margin: 0 2%;
  padding: 2% 3%;
}

#reason p {
  color: #fff;
  text-align: center;
}


/* course -------------------------------------*/


#course {
  background: #820002;
  padding: 5% 0 8%;
  overflow: hidden;
}

#course h2 {
  color: #fff;
}

.loop-wrap {
  display: flex;
  width: 200vw;

}

.loop-wrap img:first-child {
  animation: loop 50s -25s linear infinite;
}

.loop-wrap img:last-child {
  animation: loop2 50s linear infinite;
}


@keyframes loop {
  0% {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }

  to {
    transform: translateX(-200%);
  }
}

.course-box {
  display: flex;
  justify-content: space-between;
}

#course a {
  display: block;
  width: 16em;
  color: #fff;
  background: #820002;
  border: 4px solid #fff;
  border-radius: 16px;
  text-align: center;
  font-family: "Murecho", sans-serif;
  font-size: 24px;
  font-weight: 500;
  padding: 2% 0;
  margin: 6% auto 0;
  transition: all .5s;
}

#course a:hover {
  background: #fff;
  border: 4px solid #fff;
  color: #820002;

}



/* voice -------------------------------------------- */

.slide-container {
  width: 100%;
  display: flex;
  align-items: center;
  height: 563px;
  overflow: hidden;
  flex-direction: column;
  margin: 0 auto;
}

.slide-wrapper {
  display: flex;
  flex-direction: column;
  animation: slide-flow 40s infinite linear;
}

.slide {
  object-fit: cover;
  border: 1px solid #820002;
  box-sizing: border-box;
}

@keyframes slide-flow {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

.slide-wrapper a {
  margin-top: 2%;
}




/* qa ----------------------------------- */

#qa {
  background: #F6C1CA;
}

.accordion {
  width: 70%;
  margin: 100px auto;
}

.accordion-box {
  border: 1px solid #d3d3d3;
}

.accordion-box:not(:last-child) {
  margin-bottom: 1%;
}

.question {
  display: block;
  background: #820002;
  color: #fff;
  padding: 1em;
  position: relative;
  font-size: min(2.2vw, 24px);
}

.question::before,
.question::after {
  content: "";
  width: 2px;
  height: 15px;
  position: absolute;
  top: 40%;
  right: 1em;
  background: #fff;
  transition: all .5s;
}

.question::after {
  transform: rotate(90deg);
}

.toggle:checked~.question::before {
  transform: rotate(90deg);
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: all .7s;
  position: relative;
  background: #fff;
}

.content::before {
  content: "A :";
  position: absolute;
  top: 1em;
  left: 1em;
}

.content p {
  margin-left: 2em;
  padding: 1em;
}

.toggle:checked+.question+.content {
  max-height: 300px;
  transition: all 1.5s;
}

.toggle {
  display: none;
}


/* counseling-btn ------------------------- */

.counseling-btn {
  width: 60%;
  margin: 0 auto;
}

.counseling-btn a:hover {
  opacity: .7;
}


/* footer ---------------------------- */

footer {
  background: #fafafa;
  padding: 5%;
  position: relative;
}

footer ul {
  width: 30%;
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.footer-img {
  width: 30%;
  margin: 0 auto 5%;
}

footer a {
  text-align: center;
  color: #820002;
}

footer li+li {
  padding-left: 2%;
  margin-left: 2%;
  border-left: 1px solid #820002;
}

small {
  display: block;
  text-align: center;
  color: #820002;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}


/* course-page ------------------------- */



.course-sec1 {
  display: flex;
  margin-top: 15%;
}

.course-sec1-img {
  width: 40%;
}

.course-sec1-txt {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.course-sec1-txtbox {
  width: 90%;
}

.course-sec1-txtbox h3 {
  font-size: 24px;
  margin-bottom: 3%;
  color: #820002;
}

.course-ttl {
  font-weight: bold;
  font-size: 18px;
}

.small {
  font-size: 14px;
}

.course-sec1-pay {
  width: 14em;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  margin: 2% auto 0;
  padding-left: 5%;
  color: #820002;
  border-bottom: 4px double #820002;
}

.medium {
  font-size: 16px;
}

.mt15 {
  margin-top: 15%;
}




/* voice-page ---------------------------------------- */



#voice h3 {
  color: #820002;
  text-align: center;
  font-size: 24px;
}

#voice p {
  text-align: center;
}

#voice-box01,
#voice-box02,
#voice-box03 {
  margin-top: 15%;
}


/* row ---------------- */


#row {
  padding: 6% 0 8%;
  max-width: 1200px;
  margin: 0 auto;
}

#row dl {
  display: flex;
  font-size: 20px;
  border: 2px solid #820002;
}

#row dt {
  width: 30%;
  padding: 3% 0;
  box-sizing: border-box;
  border-right: 2px solid #820002;
  background: #FFe8e8;
  color: #820002;
  display: flex;
  align-items: center;
  justify-content: center;
}

#row a {
  color: #0000ff;
  text-decoration: underline;
}

#row ul li {
  list-style: disc;
  margin-left: 4%;
}

#row ol li {
  list-style-type: decimal;
  margin-left: 4%;
}


#row dd {
  width: 70%;
  padding: 3%;
  box-sizing: border-box;
}

#row dl + dl {
  border-top: none;
}


/* policy --------------------------- */

#policy {
  max-width: 1200px;
  margin: 0 auto;
}

#policy h2 {
  margin-top: 6%;
}

#policy h3 {
  text-align: left;
  margin-top: 5%;
  color: #820002;
}

#policy h4 {
  margin-top: 2%;
}

#policy p {
  margin-bottom: 1%;
}


/* greeting ------------------------------ */

#greeting {
  max-width: 1200px;
  width: 98%;
  margin: 0 auto;
  padding: 6% 0;
}

#greeting h3 {
  margin-bottom: 2%;
  text-align: center;
}

#greeting p {
  line-height: 2;
  margin-bottom: 2%;
}

.greeting-img {
  width: 40%;
  margin-left: auto;
}



@media (max-width: 1030px) {
  #worries {
    padding: 1%;
    margin-top: 0%;
  }
  
  #worries h2 {
    width: 12em;
    margin: 1% auto 2%;
    font-size: min(3vw, 40px);
  }
  
  #worries ul {
    width: 90%;
    margin: 2% auto 6%;
    padding-left: 8%;
  }
  
  #worries li {
    padding-left: 2em;
    font-size: min(2.4vw, 32px);
    line-height: 1.6;
  }
  
  #worries li::before {
    width: 36px;
    height: 36px;
  }

  #learning article+article {
    margin-top: 0%;
  }

  .accordion {
    width: 80%;
  }

  footer ul {
    width: 70%;
  }

}




@media (max-width: 800px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .free-btn {
    display: none;
  }

  #menubar {
    display: none;
  }

  .menubar {
    display: block;
  }

  .menu-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(130, 0, 2, .8);
  border: 1px solid #820002;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  }

  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: "";
    background: #fff;
    width: 25px;
    height: 3px;
    position: absolute;
    transition: all .5s;
  }

  .menu-btn span::before {
    bottom: 8px;
  }

  .menu-btn span::after {
    top: 8px;
  }

  header h1 {
    width: 30%;
    left: 5%;
  }

  #worries li::before {
    width: 24px;
    height: 24px;
  }

  .loop-wrap {
    width: 250vw;
  }

  .free-btn a {
    line-height: 52px;
  }

  #toggle-swich:checked+.menu-btn span {
    background: rgba(255, 255, 255, 0);
  }

  #toggle-swich:checked+.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #toggle-swich:checked+.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #toggle-swich {
    display: none;
  }

  .sp-menu-box {
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, .9);
    position: fixed;
    top: 0;
    left: 100%;
    padding: 100px 10px 0;
    box-sizing: border-box;
    z-index: 50;
    transition: all .5s;
  }

  .sp-menu-box a {
    display: block;
    color: #820002;
    text-align: center;
    padding: 10px 15px;
    font-size: 24px;
    border-bottom: 1px solid #820002;
  }

  .sp-menu-box span {
    display: block;
    text-shadow: none;
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0.6;
  }

  #toggle-swich:checked~.sp-menu-box {
    left: 0;
  }

  .accordion {
    width: 90%;
  }

  .menu-box {
    height: 80px;
  }
  
  .menu-box a {
    line-height: 80px;
  }

  .course-box {
    display: block;
  }

  .course-box li {
    width: 60%;
    margin: 0 auto;
  }

  footer {
    padding: 10% 0;
  }

}



@media (max-width: 600px) {

  header h1 {
    width: 50%;
    top: 5%;
    right: 35%;
  }

  .worries-box {
    display: block;
    width: 98%;
  }

  #worries ul {
    width: 100%;
    margin-top: 5%;
    padding-bottom: 5%;
    box-sizing: border-box;
  }

  #worries h2 {
    font-size: min(5vw, 40px);
    padding: 2%;
  }

  .worries-img {
    display: none;
  }

  svg {
    height: 30px;
  }

  .bb-pc {
    display: none;
  }

  .bb-sp {
    display: block;
  }

  .learning-article-box {
    display: block;
  }

  .learning-article-img {
    width: 90%;
    margin: 0 auto;
  }

  .learning-article-txt {
    width: 100%;
  }

  .learning-article-txtbox {
    width: 95%;
  }



  .learning-article-txtbox h3 {
    font-size: min(5.6vw, 24px);
  }

  #learning article+article {
    margin-top: 15%;
  }

  .features-article-box {
    display: block;
  }

  .features-article-img {
    width: 70%;
    margin: 0 auto;
  }

  .features-article-txt {
    width: 100%;
  }

  .features-article-txtbox {
    width: 94%;
  }

  .features-article-txtbox h3 {
    font-size: min(5.6vw, 24px);
    margin: 2%;
  }

  #reason {
    /* background: url(./images/reason-bg.jpg) center/cover; */
    background: #F6C1CA;
  }

  #reason ul {
    display: block;
    margin-top: 0%;
  }

  #reason li {
    width: 70%;
    margin: 0 auto 10%;
  }

  .loop-wrap {
    width: 400vw;
  }

  .accordion {
    width: 90%;
    margin: 0px auto 15%;
  }

  .slide-container {
    height: 250px;
  }

  .question {
    font-size: min(3.5vw, 24px);
  }

  .counseling-btn {
    width: 80%;
  }

  footer {
    height: 160px;
  }

  .footer-img {
    width: 70%;
  }

  footer ul {
    width: 100%;
    font-size: 14px;
  }

  .course-sec1 {
    display: block;
    margin-top: 5%;
  }

  .course-sec1-img {
    width: 70%;
    margin: 0 auto;
  }

  .course-sec1-txt {
    width: 100%;
  }

  .course-sec1-txtbox h3 {
    text-align: center;
    margin-top: 3%;
  }

  .course-sec1-txtbox {
    width: 90%;
  }

  .video-box {
    width: 90%;
    margin: 5% auto 15%;
  }

  .greeting-img {
    width: 80%;
    margin: 0 auto;
  }

}