@charset "utf-8";

#service > p:first-of-type {
  font-size: 18px;
  font-weight: 700;
}

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

#service dl {
  counter-reset: no;
}

#service dl dt {
  position: relative;
  font-weight: bold;
  font-size: 18px;
  background-color: #fffdf0;
}

#service 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: #c79b34;
  padding: 0 8px;
  margin-right: 10px;
}

#service dl dd {
  padding: 10px 0 30px;
}

#service section:nth-of-type(2) img {
  width: 270px;
}

#service section:nth-of-type(2) .text {
  width: 390px;
}

#service section:nth-of-type(2) .flex:nth-of-type(n+2) {
  margin-top: 30px;
}

#service section:nth-of-type(2) h4 {
  display: inline-block;
  background-color: #c79b34;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 5px 14px;
  border-radius: 3px;
}

#service section:nth-of-type(2) h4:not(:first-of-type) {
  margin-top: 30px;
}

#service section:nth-of-type(2) p{
  margin-top: 10px;
}

#contractor h3:first-of-type {
  margin-top: 0;
}

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

  #service dl dt {
    font-size: 16px;
  }
  
  #service section:nth-of-type(2) img {
  width: 100%;
    margin-bottom: 20px;
}


}
