@charset "utf-8";

html {
  font-size: 62.5%;
  max-width: 1280px;
  margin: 0 auto;
  font-family: "Noto Sans JP", serif;
  font-weight: bold;
}

.sp {
  display: none;
}

header {
  background-color: #5371FB;
  padding: 2% 4%;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-logo {
  width: 20%;
}

#nav-button {
  width: 5%;
}

#nav-cancel {
  width: 4%;
  display: none;
}

#nav-menu {
  display: none;
  list-style: none;
  text-align: right;
  font-size: 2.5rem;
  color: #ffffff;
  margin-top: 1%;
  line-height: 1.8;
}

#main-view {
  background-image: url(../img/main-view.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4%;
  position: relative;
}

.main-view-font {
  width: 50%;
  margin-top: 8%;
}

.info-link {
  width: 30%;
  margin-top: 2%;
}

.support-link {
  width: 30%;
  margin: 2% 0 4% 0;
}

.main-bubble {
  width: 15%;
  position: absolute;
  bottom: 12%;
  left: 33%;
}

#service {
  text-align: center;
  padding: 4%;
}

.service-title {
  font-size: 3rem;
  margin: 5%
}

.service-picture {
  width: 50%;
}

.service-text {
  font-size: 2.2rem;
  margin: 5%;
  line-height: 1.8;
}

#QA {
  background-color: #F5FBFE;
  position: relative;
  padding: 6% 4%;
  z-index: -2;
}

.QA-title {
  font-size: 3.4rem;
  text-align: center;
  line-height: 1.5;
  margin-top: 4%;
}

.QA-picture {
  width: 25%;
  position: absolute;
  right: 12%;
  top: 0%;
  z-index: -1;
}

.QA-area {
  border: solid 2px #000000;
  border-radius: 20px;
  padding: 4%;
  width: 45%;
  background-color: #ffffff;
}

.QA-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 5% 0;
}

.QA-area {
  margin: 0 2%;
}

.question {
  font-size: 2.3rem;
  margin-bottom: 8%;
}

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

.yellow-line {
  border-bottom: solid 3px #fff000;
}

.dummy {
  border: none;
  background-color: #F5FBFE;
}

#solution {
  padding: 8% 4%;
  text-align: center;
}

.solution-title {
  font-size: 3rem;
  margin-bottom: 4%;
}

.arrow {
  width: 8%;
  margin-bottom: 4%;
}

.solution-photo {
  width: 40%;
  margin-bottom: 4%;
}

.solution-text {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 4%;
}

.solution-picture {
  width: 20%;
  margin-bottom: 4%;
}

.solution-info-link {
  width: 30%;
  margin-top: 2%;
}

#what {
  background-color: #f7f7f7;
  text-align: center;
  padding: 8% 6%;
}

.what-title {
  font-size: 3rem;
  margin-bottom: 2%;
}

.border {
  width: 250px;
  margin-bottom: 5%;
}

.what-photo {
  width: 50%;
  margin-bottom: 8%;
}

.what-text-area {
  width: 100%;
  margin: 0 auto;
}

.what-text {
  font-size: 2rem;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 4%;
}

.what-area {
  display: flex;
  justify-content: space-between;
}

.what-sub-title {
  font-size: 3rem;
  text-align: left;
  line-height: 1.5;
  align-self: flex-end;
}

.SAM-photo {
  width: 35%;
}

#contact {
  padding: 8% 6%;
  text-align: center;
}

.contact-area {
  background-color: #327FFB;
  color: #ffffff;
  border-radius: 50px;
  padding: 6%;
  margin-bottom: 4%;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3%;
}

.contact-title {
  font-size: 3rem;
  line-height: 1.5;
  text-align: left;
  align-self: center;
}

.contact-picture {
  width: 25%;
}

.contact-text {
  font-size: 2rem;
  line-height: 1.5;
  text-align: left;
}

.contact-sub-title {
  font-size: 3rem;
  margin-bottom: 4%;
}

.contact-link {
  width: 50%;
}

.contact-link-container {
  text-align: center;
}

.information-sp {
  display: none;
}

footer {
  background-color: #327FFB;
  text-align: center;
  font-size: 1.6rem;
  color: #ffffff;
  padding: 2% 0;
  font-family: "BIZ UDPGothic", sans-serif;
}

.company {
  border-bottom: solid 1px #ffffff;
  display: inline-block;
  line-height: 2;
  letter-spacing: 0.8px;
}

.footer-wrapper {
  display: inline-block;
}

.address-area, .tel-area, .mail-area {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.map-icon, .tel-icon, .mail-icon {
  width: 1.6rem;
  margin-right: 5px;
}

.copy-right {
  margin-top: 20px;
}


@media screen and (max-width:960px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  header {
    position: relative;
  }
  
  .header-wrapper {
    justify-content: center;
  }
  
  .top-logo {
    width: 40%;
  }
  
  #nav-button {
    width: 8%;
    position: absolute;
    right: 5%;
  }
  
  #nav-cancel {
    width: 7%;
    position: absolute;
    right: 5%;
  }

  #nav-menu {
    font-size: clamp(15px,4vw,30px);
  }

  #main-view {
    background-image: url(../img/main-view-sp.png);
  }
  
  .main-view-font {
    width: 75%;
    margin-top: 15%;
  }
  
  .info-link {
    width: 60%;
    margin-top: 15%;
  }
  
  .support-link {
    width: 60%;
    margin: 4% 0 25% 0;
  }
  
  .main-bubble {
    width: 25%;
    position: absolute;
    bottom: 22%;
    left: 62%;
  }

  .service-title {
    font-size: clamp(15px,5vw,30px);
    margin: 5%
  }
  
  .service-picture {
    width: 80%;
  }
  
  .service-text {
    font-size: clamp(10px,3.5vw,22px);
    margin: 5%;
    line-height: 1.8;
    text-align: left;
  }
  
  .QA-title {
    font-size: clamp(15px,5vw,30px);
    text-align: left;
    width: 80%;
    margin: 2% auto;
  }
  
  .QA-picture {
    width: 30%;
    position: absolute;
    right: 10%;
    top: 0%;
    z-index: -1;
  }
  
  .QA-area {
    border: solid 2px #000000;
    border-radius: 20px;
    padding: 4%;
    width: 80%;
    background-color: #ffffff;
  }
  
  .QA-container {
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0;
  }
  
  .QA-area {
    margin: 4% auto;
  }
  
  .question {
    font-size: clamp(15px,4vw,30px);
  }
  
  .answer {
    font-size: clamp(10px,3vw,30px);
  }
  
  .dummy {
    display: none;
  }
  
  .solution-title {
    font-size: clamp(15px,5vw,30px);
  }
  
  .arrow {
    width: 25%;
    margin-bottom: 4%;
  }
  
  .solution-photo {
    width: 90%;
    margin-bottom: 4%;
  }
  
  .solution-text {
    font-size: clamp(10px,3vw,30px);
    line-height: 1.5;
    margin-bottom: 4%;
  }
  
  .solution-picture {
    width: 50%;
    margin-bottom: 4%;
  }

  .solution-info-link {
    width: 85%;
  }  
  
  .what-title {
    font-size: clamp(15px,5vw,30px);
  }
  
  .border {
    width: clamp(100px,45vw,250px);
  }
  
  .what-photo {
    width: 70%;
    margin-bottom: 8%;
  }

  .what-text-area {
    width: 90%;
    margin: 0 auto;
  }
  
  .what-text {
    font-size: clamp(10px,3vw,30px);
  }
  
  .what-area {
    flex-direction: column-reverse;
  }
  
  .what-sub-title {
    font-size: clamp(14px,4vw,30px);
    text-align: center;
    line-height: 1.5;
    align-self: center;
  }
  
  .SAM-photo {
    width: 70%;
    margin: 4% auto;
  }
  
  #contact {
    padding: 8% 3%;
  }

  .contact-area {
    border-radius: 30px;
    padding: 8% 5%;
    width: 90%;
    margin: 0 auto 8% auto;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-title {
    font-size: clamp(15px,5vw,30px);
    line-height: 1.5;
    text-align: center;
  }
  
  .contact-picture {
    width: 80%;
    margin: 2% auto;
  }
  
  .contact-text {
    font-size: clamp(10px,3vw,30px);
    line-height: 1.5;
    text-align: left;
  }
  
  .contact-sub-title {
    font-size: clamp(15px,4vw,30px);
    margin-bottom: 4%;
  }
  
  .contact-link {
    width: 90%;
  }
  
  .contact-link-container {
    text-align: center;
  }

  .information-sp {
    display: block;
    background-color: #EAEDF3;
    border-radius: 20px;
    width: 90%;
    margin: 5% auto;
    padding: 4% 6%;
    font-size: clamp(10px,3.2vw,30px);
    font-family: "BIZ UDPGothic", sans-serif;
  }

  .information-pc {
    display: none;
  }

  .company {
    border-bottom: solid 1px #000000;
    margin-bottom: 2%;
    letter-spacing: 0.8px;
  }

  .map-icon, .tel-icon, .mail-icon {
    width: 5%;
    margin-right: 3%;
  }

  footer {
    padding: 5%;
  }

  .copy-right {
    font-size: clamp(8px,2vw,20px);
    margin-top: 0;
  }
}