@charset "utf-8";

/*============================
#service
============================*/

#service,
#service .intro {
  position: relative;
}

#service::before {
  position: absolute;
  display: block;
  content: '';
  background: url(../../images/common/circle.png)no-repeat center center;
  background-size: 100%;
  width: 700px;
  height: 700px;
  bottom: -225px;
  left: -170px;
  z-index: -1;
  animation: rotateAnimation 10s linear infinite;
}

#service img {
  width: 750px;
}

#service p.lead {
  padding: 45px 0;
  width: 620px;
  font-size: 34px;
  line-height: 52px;
  background-color: #fff;
  border-radius: 5px;
  text-align: center;
  position: absolute;
  right: 0;
  bottom: -80px;
}

#service .text {
  margin-top: 100px;
  padding: 50px 40px;
  background-color: #edf8ff;
  text-align: center;
  border-radius: 5px;
}

#service .text dl {
  text-align: left;
  padding: 25px 30px;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 3px;
}

#service .text dl dt {
  line-height: 1;
  font-weight: 600;
}

#service .text dl dt .min {
  display: inline-block;
  margin-left: 10px;
}

#service .text dl dd {
  margin-top: 15px;
}

#service .link {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {

  #service::before {
    width: 350px;
    height: 350px;
    bottom: -140px;
    left: -100px;
  }

  #service .intro img {
    padding-top: 52.2388%;
    display: block;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: url(../images/01_sp.png)no-repeat center center;
    background-size: 100%;
  }

  #service p.lead {
    margin-top: 20px;
    padding: 0;
    width: 100%;
    font-size: 22px;
    line-height: 36px;
    background-color: transparent;
    position: static;
    right: auto;
    bottom: auto;
  }

  #service .text {
    margin-top: 20px;
    padding: 20px 7%;
    text-align: left;
    font-size: 15px;
  }

  #service .text dl {
    padding: 15px 5%;
  }

  #service .text dl dt {
    line-height: 1.7;
  }

  #service .text dl dt .min {
    display: block;
    margin: 5px 0 0 0;
  }

  #service .text dl dd {
    margin-top: 10px;
  }

  #service .link {
    margin-top: 10px;
  }
}


/*.our-services*/
.our-services {
  padding-top: 100px;
}

.our-services .flex {
  align-items: flex-start;
}

.our-services .box {
  width: 500px;
}

.our-services .box:nth-of-type(n+3) {
  margin-top: 40px;
}

#service .our-services .box img {
  width: 100%;
  border-radius: 5px 5px 0 0;
}

.our-services .box dl {
  padding: 40px 30px;
  background-color: #f5f5f5;
  border-radius: 0 0 5px 5px;
  height: 280px;
}

.our-services .box dl dt {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {

  .our-services {
    padding-top: 40px;
  }

  .our-services .box {
    width: 100%;
  }

  .our-services .box:nth-of-type(n+2),
  .our-services .box:nth-of-type(n+3) {
    margin-top: 20px;
  }

  .our-services .box dl {
    padding: 30px 7%;
    height: auto;
  }

  .our-services .box dl dt {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 15px;
  }
}
