@charset "utf-8";


.main-kasou {
  background-image: url(../img/service-main.png);
}


.service-gaiyou {
  background: #D8E2EB;
  padding: 50px 0;
}

.service-gaiyou-card {
  width: 90%;
  height: 500px;
  max-width: 650px;
  background-image: url(../img/service-gaiyou.svg);
  background-repeat: no-repeat;
  background-position:center;
  background-size: cover;
text-align: center;
margin: 0 auto;
}

.service-gaiyou-card img {
  width: 250px;
  margin-bottom: 30px;
  margin-top: 40px;
}

.service-gaiyou-card-text {
  width: 90%;
  max-width: 470px;
  margin: 0 auto;
  padding-top: 30px;
}


.service-ttl {
 font-size: 35px;
 color: #fff;
 text-align: center;
  font-weight: bold;
  padding: 40px 0;
  position: relative;
}

.service-ttl h2:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -25px;
  border: 25px solid transparent;
}

.hanbai .service-ttl {
  background: #5ABCF6;
}


.hanbai .service-ttl h2:after {
  border-top: 25px solid #5ABCF6;
}

.hanbai h3 {
  color: #1BB0EB; 
  margin-top: 20px;
  text-align: center;
}


.hanbai-text {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 30px;
}

.onayami {
  max-width: 600px;
  font-size: 22px;
  color: #E84103;
  text-align: center;
  font-weight: bold;
  position: relative;
  margin-top: 40px;
  margin: 0 auto;
}

.onayami-area {
  background: #E4F4FB;
  padding: 40px 0;
  margin-top: 50px;
}

.onayami-wrap {
  display: flex;
  justify-content: space-around;
  margin-top: 80px;
  max-width: 840px;
  margin: 0 auto;
  margin-top: 50px;
}

.onayami-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}


.onayami-box .num {
  background: #1BB0EB;
  text-align: center;
}

.onayami-box img {
  width: 250px;
}

.onayami-box h4 {
  color: #1BB0EB;
  font-weight: bold;
}


.onayami::before {
  content: url(../img/h-right.svg);
  position: absolute;
  left: 40px;
}

.onayami::after {
  content: url(../img/h-left.svg);
  position: absolute;
  top: 0;
  width: 18px;
}


.white-bg {
  max-width: 850px;
  margin: 0 auto;
  background-color: #fff;
padding: 5px 0 50px 0;
margin-top: 50px;
}

.white-bg .contact-btn-wrap{
width: 95%;
}


.syouhin-wrap {
  display: flex;
  text-align: center;
  justify-content: center;
  position: relative;
margin: 0 auto;
margin-top: 50px;
  max-width: 800px;
}

.syouhin-rei {
  margin: 0 10px;
  margin-top: 30px;
}

.syouhin-rei h4 {
  color: #1BB0EB;
  font-weight: bold;
}


.syouhin-rei img {
  width: 145px;
}


.hanbai .btn {
  background:#21BA72;
  box-shadow: 0px 5px 0 #008132;
}


.syouhin-comment {
  width: 150px;
  position: absolute;
  top: -50px;
  left: 15%;
}


.haisou-service {
  background: #F8F8F8;
  text-align: center;
  margin-top: 80px;
  padding-top: 70px;
  padding-bottom: 50px;
}

.haisou-img {
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  margin-top: 40px;
}

.haisou-text {
  font-size: 17px;
  margin-top: 10px;
}

.subscription .service-ttl {
  background: #FF9800;
  padding: 30px 0;
}

.subscription .service-ttl h2{
 font-size: 35px;
padding-left: 50px;
}


.sub {
  font-size: 15px;
  font-weight:500;
  padding-left: 70px;
}

.subscription .service-ttl h2:after {
  border-top: 25px solid #FF9800;
}



  .subscription-point {
    width: 170px;
    height: 170px;
    background: #E84103;
    border-radius: 100%;
    position: absolute;
    top: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
  }


  @media (min-width:768px) {
.subscription-point {
  left:15%;
}

}


.subscription h3 {
  color: #FF9800; 
  margin-top: 20px;
  text-align: center;
  line-height: 1.5;
}

.subscription h4 {
  display: table;
  margin: 0 auto;
  font-size: 28px;
  text-align: center;
  padding: 5px 40px;
  background: #FF5E23;
  color: #fff;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 20px;
  width: 90%;
  max-width: 558px;
}

.subsc-img {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 50px;
}

.subsc-img-02 {
  width: 90%;
  max-width: 400px;
}

.subscription .btn {
  background:#F9A53C;
  box-shadow: 0px 5px 0 #D6A260;
}

.mikanyuu {
  background: #FFFACD;
padding-top: 20px;
padding-bottom: 50px;
margin-top: 30px;
}


.mikanyuu-text {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 10px;
}

.mikanyuu-point-wrap {
  width: 90%;
max-width: 400px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 40px;
}

.mikanyuu-point {
  width: 120px;
  height: 120px;
  background: #E84103;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
}

.mikanyuu-point p {
  margin-top: 1rem;
}


.cyuuki {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 10px;
  line-height: 1.8;
}

.subscription-tokucho {
  margin-top: 60px;
  padding: 60px 0;
  background: #F8F8F8;
}

.tokucho-wrap {
  width: 90%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.tokucho-box {
  width: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tokucho-box h5 {
font-size: 20px;
font-weight: bold;
color: #FF9800;
text-align: center;
margin-bottom: 15px;
}

.tokucho-box img {
  height: 150px;
  margin: 20px auto;
}

.tokucho-text {
  width: 90%;
  margin: 0 auto;
}

.plan {
  padding-top: 50px;
}

.plan-hyou {
  display: flex;
  justify-content: center;
}

.plan-img {
  width: 320px;
  margin-top: 20px;
}



@media (max-width:768px) {
  .mainview-kasou {
margin-top: 150px;
  }

  .onayami-box  {
    margin-top: 80px;
  }


  .subscription-point {
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
  }

  .subscription .service-ttl {
    padding-top: 50px;
    margin-top: 200px;
  }
  
  .subscription .service-ttl h2 {
    padding-left: 0;
  }
  
  .sub {
    padding-left: 0;
  }


  }


@media (max-width:540px) {
  .onayami  {
    font-size: 20px;
  }

  .onayami::before {
    top: 20px;
    left: 10%;
  }

  .onayami::after {
    top: 20px;
    right: 20%;
  }

    .hanbai h3 {
      font-size: 25px;
     }

     .syouhin-wrap {
      flex-direction: column;
      margin-top: 80px;
     }

     .tokucho-wrap {
      flex-direction: column;
     }
     

     .tokucho-box {
      margin-top: 30px;
     }

     .plan-hyou {
   flex-direction: column;
   align-items: center;
    }

  }
