@charset "utf-8";

.cont_img #text_scroll {
  background-image: url(../images/cont_service.svg);
}

article h2 {
  background-color: #142c4d;
  font-size: 32px;
  letter-spacing: 0.1em;
  padding: 4px 30px;
  color: #fff;
}

#service01 > .inner img,
#service01 > .inner .text,
#service02 > .inner img,
#service02 > .inner .text {
  width: 500px;
}

#service01 {
  padding: 100px 0 0;
}

@media only screen and (max-width: 768px) {
  article h2 {
    font-size: 20px;
    padding: 4px 14px;
  }

  #service01 > .inner img,
  #service01 > .inner .text,
  #service02 > .inner img,
  #service02 > .inner .text {
    width: 100%;
  }

  #service01 > .inner .text,
  #service02 > .inner .text {
    margin-top: 20px;
  }

  #service01 {
    padding: 60px 0 0;
  }
}

/*
強み
============================*/

#service01 > section {
  margin-top: 40px;
  background-color: #eee;
  padding: 80px 0;
}

#service01 > section h3 {
  text-align: center;
  position: relative;
  color: #142c4d;
  font-size: 28px;
}

#service01 > section h3::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #142c4d;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

#service01 > section h3 span {
  background-color: #eee;
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

#service01 > section div.flex {
  align-items: stretch;
  margin-top: 80px;
  counter-reset: no;
}

#service01 > section div.flex dl {
  background-color: #fff;
  width: 320px;
  border-radius: 10px;
  padding: 60px 30px 30px;
  position: relative;
}

#service01 > section div.flex dl::after {
  counter-increment: no;
  content: counter(no, decimal-leading-zero);
  background-color: #a7eb14;
  border-radius: 50%;
  font-size: 36px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

#service01 > section div.flex dl dt {
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #142c4d;
  font-weight: 700;
  text-align: center;
}

#service01 > section div.flex dl dd {
  margin-top: 10px;
  letter-spacing: 0.02em;
}

@media only screen and (max-width: 768px) {
  #service01 > section {
    padding: 40px 0;
  }

  #service01 > section h3 {
    font-size: 20px;
  }

  #service01 > section h3::after {
    height: 1px;
  }

  #service01 > section h3 span {
    padding: 0 10px;
  }

  #service01 > section div.flex {
    margin-top: 40px;
  }

  #service01 > section div.flex dl {
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    padding: 40px 20px 20px;
    position: relative;
  }

  #service01 > section div.flex dl:not(:first-child) {
    margin-top: 30px;
  }

  #service01 > section div.flex dl::after {
    font-size: 24px;
    width: 50px;
    height: 50px;
    line-height: 53px;
    position: absolute;
    top: -15px;
  }

  #service01 > section div.flex dl dt {
    font-size: 18px;
  }

  #service01 > section div.flex dl dd {
    margin-top: 10px;
    letter-spacing: 0.02em;
  }
}

/*point*/

#service01 > section dl.flex {
  justify-content: flex-start;
  align-items: center;
  margin-top: 30px;
}

#service01 > section dl.flex dt {
  background-color: #142c4d;
  width: 130px;
  height: 60px;
  line-height: 60px;
  color: #fff;
  text-align: right;
  padding-right: 10px;
  font-size: 28px;
  position: relative;
}

#service01 > section dl.flex dt::after {
  position: absolute;
  right: -30px;
  content: '';
  width: 0;
  height: 0;
  border-left: 30px solid #142c4d;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
}

#service01 > section dl.flex dd {
  margin-left: 60px;
  font-size: 18px;
}

@media only screen and (max-width: 768px) {
  #service01 > section dl.flex {
    background-color: #f8f8f8;
  }

  #service01 > section dl.flex dt {
    width: 90px;
    height: 40px;
    line-height: 40px;
    padding-right: 10px;
    font-size: 20px;
    position: relative;
  }

  #service01 > section dl.flex dt::after {
    position: absolute;
    right: -19.5px;
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #142c4d;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
  }

  #service01 > section dl.flex dd {
    margin-left: 0;
    font-size: 15px;
    padding: 10px 20px 30px;
  }

  #service01 > section dl.flex dd br {
    display: none;
  }
}
