@charset "utf-8";

/* ========================================================
	course.css => コース・学習スタイル
======================================================== */
/* course_main
============================================================================================================ */
.course_main {}

div.staff div.staff-txt p.s-name {
  color: #009ed3;
  font-size: 120%;
  font-weight: bold;
}

div.staff div.staff-txt p.s-gaku {
  color: #63c66d;
  font-size: 90%;
  font-weight: bold;
  text-align: left;
}

div.staff div.staff-txt p.s-com {
  font-size: 80%;
  text-align: left;
}

div.staff-photo {
  margin-bottom: 10px;
}

.inquiry {
  padding-top: 100px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.inquiry a {
  display: block;
  position: relative;
  margin: 50px auto 0;
  width: 100%;
  max-width: 600px;
  border: 2px solid #bbb;
  text-align: center;
  text-decoration: none;
  padding: 50px;
  /* border-radius: 100px; */
  -webkit-transition: all 400ms;
  -o-transition: all 400ms;
  transition: all 400ms;
  cursor: pointer;
  font-size: 2rem;
  letter-spacing: .05em;
}

.inquiry a .icon-mail {
  display: inline-block;
  width: 1em;
  height: .8em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  margin-right: .5em;
}

.inquiry a::after {
  content: '';
  display: block;
  height: 1.6rem;
  width: 1.6rem;
  border-top: 2px solid #bbb;
  border-right: 2px solid #bbb;
  position: absolute;
  right: 30px;
  top: 50%;
  -webkit-transform: translate(0px, -50%) rotate(45deg);
  -ms-transform: translate(0px, -50%) rotate(45deg);
  -o-transform: translate(0px, -50%) rotate(45deg);
  transform: translate(0px, -50%) rotate(45deg);
  -webkit-transition: all 400ms;
  -o-transition: all 400ms;
  transition: all 400ms;
}

.inquiry a:hover {
  color: #fff;
  border-color: #63C66C;
  background-color: #63C66C;
}

.inquiry a:hover::after {
  right: 40px;
  border-color: #fff;
}

@media screen and (min-width: 769px), print {
  .course_main .content {
    position: relative;
    padding-left: 43%;
    font-size: 2.4rem;
    line-height: 2;
  }

  .course_main .content .img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 40%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .course_main .content li+li {
    margin-top: 20px;
  }

  div.staff {
    width: 28%;
    float: left;
    margin-bottom: 50px;
  }

  div.mid {
    margin: 0px 40px 0px 40px;
  }

  div.staff-i {
    width: 1200px;
    display: inline-block;
  }

  .wide {
    width: 70%;
    margin: 0 auto;
  }

  main .faq-wrapper>p {
    font-size: 2rem;
  }

  main .faq-wrapper>h2 span::before {
    content: "Q";
    font-size: 3.4rem;
    line-height: 2.4rem;
  }

  main .faq-wrapper>h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.2rem .5rem;
    position: relative;
    background: #fff;
    border: 4px solid #bbb;
    z-index: 0;
  }
}

@media screen and (max-width: 768px) {
  .course_main .content .img {
    margin-bottom: 15px;
  }

  .course_main .content {
    font-size: 1.5rem;
    line-height: 2;
  }

  .course_main .content li+li {
    margin-top: 10px;
  }

  div.staff {
    margin-bottom: 50px;
  }

  div.staff div.staff-txt p.s-name {
    font-size: 150%;
  }

  main .faq-wrapper>p {
    font-size: 1.5rem;
  }

  main .faq-wrapper>h2 span::before {
    content: "Q";
    font-size: 2.4rem;
    line-height: 2.4rem;
  }

  main .faq-wrapper>h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.2rem .5rem;
    position: relative;
    background: #fff;
    border: 4px solid #bbb;
    z-index: 0;
  }
}

/*faq*/
@media screen and (min-width: 320px) and (max-width: 960px) {
  main .faq-wrapper>h2 span::before {
    margin-bottom: .75rem;
    display: block;
  }
}

@media screen and (max-width: 640px) {
  .inquiry {
    padding-top: 4rem;
  }
  .inquiry a {
    font-size: 1.4rem;
  }
}

main .faq-wrapper+.faq-wrapper {
  margin-top: 3rem;
}

main .faq-wrapper>h2::before {
  content: "";
  width: 0px;
  height: 0px;
  margin-left: -11px;
  position: absolute;
  bottom: -9px;
  left: 50%;
  border-style: solid;
  border-width: 11px 11px 0 11px;
  border-color: #fff transparent transparent transparent;
  z-index: 0;
}

main .faq-wrapper>h2::after {
  content: "";
  width: 0px;
  height: 0px;
  margin-left: -12px;
  position: absolute;
  bottom: -14px;
  left: 50%;
  border-style: solid;
  border-width: 12px 12px 0 12px;
  border-color: #bbb transparent transparent transparent;
  z-index: -1;
}

main .faq-wrapper>h2 span {
  background: linear-gradient(transparent 60%, #00ada9 60%);
  position: relative;
}
