@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Koulen&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: "Shippori Mincho", serif;
  background: #fafafa;
  color: #2D467A;
}


/* 共通 -------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}

main h2 {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #373C6E;
  letter-spacing: 10px;
  margin-bottom: 56px;
}

.btn {
  width: 70%;
  margin: 100px auto 0;
  display: flex;
  justify-content: space-between;
}

.resources-btn,
.contact-btn,
.contact-btn2 {
  display: block;
  width: 45%;
  padding: 2% 0;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  border-radius: 50px;
  letter-spacing: 5px;

}

.resources-btn {
  background: #373C6E;
  color: #fff;
}

.contact-btn {
  background: #86A4DB;
  color: #373C6E;
}

.contact-btn2 {
  background: #E7EFFF;
  color: #373C6E;
}

.top-btn {
  width: 4%;
  position: fixed;
  bottom: 2%;
  right: 2%;
  z-index: 999;
  animation: scroll-anim linear;
  animation-timeline: view();
}

@keyframes scroll-anim {

  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.contact-form ol {
  display: flex;
}

.contact-form ol a {
  color: #373C6E;
}

.contact-nav::before {
  content: "> ";
}



/* header -------------------------- */

header .sp {
  display: none;
}



/* consulting --------------------- */

#consulting {
  background: url(./img/consuitiog-bg-img.png) right/30% no-repeat #020018;
  position: relative;
}

.consulting-bg-img {
  width: 30%;
  position: absolute;
  top: 10%;
  right: 0;
}

#consulting .container {
  padding: 0 0 100px;
}

#consulting h2 {
  color: rgba(255, 255, 255, .2);
  margin-left: 2%;
  font-family: "Koulen", serif;
  font-size: 10vw;
  text-align: left;
  margin-bottom: 0;
}

#consulting article {
  display: flex;
}

#consulting .consulting-img {
  width: 40%;
}

.consulting-txt {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding-left: 10%;
  line-height: 2;
  z-index: 100;
}

.consulting-txt li {
  list-style: disc;
  font-size: min(6vw, 48px);
}




/* support ------------------ */


#support {
  background: #86A4DB;
}

#support ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

#support li {
  background: #F5F9FC;
  width: calc((100% - 32px) / 3);

}

#support h3 {
  text-align: center;
  padding: 24px 0;
  font-size: 24px;
  letter-spacing: 3px;
}

.support-img {
  width: 90%;
  margin: 0 auto;
}

#support p {
  padding: 5% 0;
  width: 80%;
  margin: 0 auto;
}


/* needs --------------------- */

#needs {
  background: #F5F9FC;
  position: relative;
}

#needs ul {
  width: 66%;
  margin: 0 auto;
}

#needs li {
  line-height: 2;
  font-size: min(2.5vw, 24px);
}

#needs li img {
  width: 3%;
  padding-bottom: 10px;
  margin-right: 1%;
}

.needs-bg-img1 {
  width: 10%;
  position: absolute;
  top: 56px;
  left: 0;
}

.needs-bg-img2 {
  width: 10%;
  position: absolute;
  bottom: 0;
  right: 0;
}


/* reason ------------------ */

#reason {
  background: url(./img/choice-bg.jpg) center/cover;
  text-align: center;
}

#reason h2 {
  color: #fff;
}

#reason ul {

  display: flex;
  justify-content: space-between;


}

#reason li {
  border: 4px solid #fff;
  border-radius: 16px;
  background: #86A4DB;
  padding: 16px 5%;
  font-size: min(2.5vw, 32px);
  font-weight: bold;
  color: #fff;
}



.reason-box1 {
  width: 80%;
  margin: 0 auto 56px;
}

.reason-box2 {
  width: 40%;
  margin: 0 auto 56px;
}

.reason-box3 {
  width: 57%;
  margin: 0 auto;
}



/* case --------------------------- */

#case {
  background: #2D467A;
  padding: 100px 0;
  position: relative;
}

.inner1 {
  background: url(./img/en3.png) top left/15% no-repeat;
}

.inner2 {
  background: url(./img/en4.png) bottom right/25% no-repeat;
  margin-top: 3%;
}

#case h2 {
  color: #F5F9FC;
}

#case dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: min(2vw, 24px);
}

#case dl+dl {
  margin-top: 2%;
}

#case dt {
  width: 20%;
  text-align: right;
  padding-right: 2%;
  box-sizing: border-box;
}

#case dd {
  width: 80%;
  padding-left: 2%;
  box-sizing: border-box;
}

.case-box {
  width: 70%;
  background: #F5F9FC;
  padding: 3% 0;
  margin: 0 auto;
  z-index: 1;
}

.case-box+.case-box {
  margin-top: 3%;
}

/* about ------------------------- */

#about {
  background: #F5F9FC;
  padding: 100px 0;
}

#about article {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}

.about-img {
  width: 40%;
  display: flex;
  align-items: center;
}

.about-txt {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-txt dl {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
  line-height: 2;
}

.about-txt dt {
  width: 20%;
  text-align-last: justify;
}

.about-txt dd {
  width: 80%;
}

#about iframe {
  width: 100%;
}

#about ul {
  display: flex;
  margin-top: 56px;
  max-width: 1200px;
  margin: 0 auto;
}

#about li {
  width: 50%;
}

#about li+li {
  padding-left: 3%;
}

#about .inner1 {
  background: url(./img/en3.png) top left/12% no-repeat;
  ;
}

#about .inner2 {
  background: url(./img/en4.png) bottom right/10% no-repeat;
}



/* qa -------------------- */

#qa {
  background: #86A4DB;
}

.accordion {
  width: 80%;
  margin: 100px auto 0;
}

.accordion-box {
  border: 2px solid #2D467A;
}

.accordion-box:not(:last-child) {
  margin-bottom: 1%;
}

.question {
  display: block;
  background: #2D467A;
  color: #fff;
  padding: 1em;
  position: relative;
  font-size: 24px;
}

.question::before,
.question::after {
  content: "";
  width: 2px;
  height: 15px;
  position: absolute;
  top: 36px;
  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: #F5F9FC;
}

.content::before {
  content: "A :";
  position: absolute;
  top: 1em;
  left: 1em;
  font-size: 24px;
}

.content p {
  margin-left: 2em;
  padding: 1em .5em;
  font-size: 24px;
}

.toggle:checked+.question+.content {
  max-height: 200px;
  transition: all 1.5s;
}

.toggle {
  display: none;
}


/* footer -------------------- */

footer {
  height: 500px;
  background: #020018;
  position: relative;
}

footer h2 {
  width: 12%;
  margin: 0 auto;
  line-height: 300px;
}

small {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}


/* contact ---------------------- */

.contact {
  background: url(./img/contact-fv.jpg) center/cover;
  height: 500px;
}

.contact h1 {
  text-align: center;
  line-height: 500px;
  color: #fff;
}



@media (max-width: 1030px) {

  .case-box {
    width: 90%;
  }

  #consulting {
    background: url(./img/consuitiog-bg-img.png) right/40% no-repeat #020018;
  }

  #needs ul {
    width: 80%;
  }

  #about article {
    max-width: 100%;
  }

  footer h2 {
    width: 20%;
  }

  .top-btn {
    width: 6%;
  }

}



@media (max-width: 800px) {

  .accordion {
    width: 95%;
  }

  #consulting {
    background: url(./img/consuitiog-bg-img.png) right/50% no-repeat #020018;
  }

}


@media (max-width: 500px) {

  .container {
    padding: 40px 0;
  }

  main h2 {
    font-size: min(6vw, 48px);
    margin-bottom: 24px;
  }

  header .pc {
    display: none;
  }

  header .sp {
    display: block;
  }

  #consulting h2 {
    text-align: center;
  }

  #consulting article {
    display: block;
  }

  .consuitiog-img {
    width: 70%;
    margin: 0 auto;
  }

  #consulting {
    background: url(./img/consuitiog-bg-img.png) right/90% no-repeat #020018;
  }

  .consulting-txt {
    width: 70%;
    margin: 40px auto 0;
  }

  .btn {
    width: 90%;
    margin: 36px auto 0;
    display: block;
  }

  .resources-btn,
  .contact-btn,
  .contact-btn2 {
    display: block;
    width: 90%;
    margin: 16px auto;
  }

  #consulting .container {
    padding: 0 0 48px;
  }

  #support ul {
    display: block;
  }

  #support li {
    width: 90%;
    margin: 0 auto;
  }

  #support li+li {
    margin-top: 24px;
  }

  #needs ul {
    width: 96%;
  }

  .needs-bg-img1 {
    display: none;
  }

  #needs li {
    font-size: min(3vw, 24px);
  }

  #reason ul {
    display: block;
  }

  #reason li {
    font-size: min(5vw, 32px);
  }

  .reason-box1 {
    margin: 0 auto 16px;
  }

  .reason-box1 li+li {
    margin-top: 16px;
  }

  .reason-box2 {
    width: 68%;
    margin: 0 auto 16px;
  }

  .reason-box3 {
    width: 80%;
  }

  .reason-box3 li+li {
    margin-top: 16px;
  }

  #case dt {
    width: 6%;
    margin-bottom: 16px;
    padding-left: 1%;
  }

  .content p {
    font-size: 16px;
  }

  .content::before {
    font-size: 16px;
  }

  #case dd {
    width: 94%;
  }

  #case dl {
    font-size: min(2.6vw, 24px);
  }

  #about article {
    display: block;
  }

  .about-img {
    width: 80%;
    margin: 0 auto 6px;
  }

  .about-txt {
    width: 100%;
  }

  .about-txt dl {
    width: 90%;
    font-size: min(3.6vw, 32px);
  }

  .about-txt dt {
    width: 23%;
  }

  .about-txt dd {
    width: 77%;
  }

  #about ul {
    display: block;
  }

  #about li {
    width: 70%;
    margin: 0 auto;
  }

  #about li+li {
    padding-left: 0;
    margin-top: 5%;
  }

  .accordion {
    margin: 24px auto 0;
  }

  .question {
    font-size: min(3.2vw, 24px);
  }

  .question::before,
  .question::after {
    top: 16px;
  }

  footer {
    height: 300px;
  }

  footer h2 {
    width: 26%;
    line-height: 180px;
  }

  .top-btn {
    width: 10%;
  }

  .contact {
    background: url(./img/contact-fv-sp.jpg) center/cover;
    height: 300px;
  }

  .contact h1 {
    line-height: 300px;
  }

  form#mail_form dl dt span.required,
  form#mail_form dl dt span.optional{
    margin-right: 8em;
    margin-bottom : 1em;
  }
  
  .contact-form ol a {
    margin-left: 1em;
  }

}