@charset "utf-8";

/*============================
#lead
============================*/

#lead {
  background-color: #1a2c4d;
  border-radius: 100px 100px 0 0;
  position: relative;
  z-index: 10;
  color: #fff;
}

#lead img {
  width: 300px;
}

#lead .flex {
  justify-content: center;
}

#lead .text {
  margin-left: 80px;
}

#lead h2::before {
  display: none;
}


@media only screen and (max-width: 1040px) {
  #lead {
    margin-top: 60px;
    border-radius: 30px 30px 0 0;
  }

  #lead .flex {
    display: block;
  }

  #lead img {
    width: 180px;
    margin: 0 auto;
  }


  #lead .text {
    margin-left: 0;
    margin-top: 40px;
  }

  #lead h2::before {
    display: none;
  }
}


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

#service .web {
  background-color: #f3f3f3;
  padding: 80px 0;
  position: relative;
}

#service .web::before {
  content: '';
  display: block;
  width: 80px;
  background-color: #f3f3f3;
  position: absolute;
  left: -80px;
  top: 0;
  bottom: 0;
  border-radius: 60px 0 0 60px;
  z-index: -1;
}

#service .web::after {
  content: '';
  display: block;
  width: 100%;
  background-color: #f3f3f3;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#service .web img,
#service .web .text {
  width: 48%;
}

#service h3 {
  font-size: 26px;
  font-weight: 700;
  border-bottom: 1px solid #39acd7;
  padding: 20px 0;
  margin-bottom: 20px;
}

#service .other-service {
  margin-top: 100px;
}

#service .other-service .each {
  width: 48%;
}

#service .other-service .each:nth-child(n+3) {
  margin-top: 80px;
}

#service .other-service .each img {
  width: 100%;
}


@media only screen and (max-width: 1040px) {
  #service .web {
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 20px;
  }

  #service .web::before {
    display: none;
  }

  #service .web::after {
    display: none;
  }

  #service .web img,
  #service .web .text {
    width: 100%;
  }

  #service h3 {
    font-size: 18px;
    padding: 10px 0;
    margin-bottom: 10px;
  }

  #service .other-service {
    margin-top: 30px;
  }

  #service .other-service .each {
    width: 100%;
  }

  #service .other-service .each:nth-child(n+3),
  #service .other-service .each {
    margin-top: 30px;
  }

  #service .other-service .each img {
    width: 100%;
  }

}
