@charset "utf-8";


#service > img {
  margin-bottom: 20px;
}

#service section:first-of-type dl {
  counter-reset: no;
}

#service section:first-of-type dl dt {
  padding: 0;
  display: block;
  position: relative;
  font-weight: bold;
  font-size: 18px;
  background-color: #E6F1FC;
}

#service section:first-of-type dl dt::before {
  display: inline-block;
  text-align: center;
  counter-increment: no;
  content: counter(no, decimal-leading-zero);
  font-size: 20px;
  line-height: 1.8;
  font-weight: bold;
  color: #fff;
  background-color: #17307e;
  padding: 0 8px;
  margin-right: 10px;
}

#service section:first-of-type dl dd {
  padding: 10px 0 30px;
}

#service section img {
  width: 280px;
}

#service section p {
  width: 360px;
}

#service section dl:nth-of-type(n+2) {
  margin-top: 20px;
}

#service section dl dt {
  display: inline-block;
  background-color: #E6F1FC;
  color: #111;
  font-weight: bold;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 10px;
}

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

  #service section:first-of-type dl dt {
    font-size: 16px;
  }

  #service section img,
  #service section p {
    width: 100%;
  }

  #service section img {
    margin-bottom: 10px;
  }

  #service section dl:nth-of-type(n+2) {
    margin-top: 20px;
  }
}
