@charset "utf-8";

.cont_img h1 {
  background-image: url(../images/page_title.png);
}

.cont h3 {
  margin-top: 80px;
}

.cont h4 {
  float: none;
  padding-bottom: 30px;
}

.cont p:nth-of-type(n+3) {
  padding-top: 20px;
}

.lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 30px;
}

/*#point*/

#point h2 ::after {
  left: 75px;
}

#point .flexbox {
  align-items: center;
}

#point .text {
  width: 350px;
}

#point ul.point li {
  padding-left: 30px;
  font-size: 18px;
  font-weight: 700;
  position: relative;
}

#point ul.point li::before {
  position: absolute;
  content: '\f14a';
  display: block;
  font-weight: 900;
  font-size: 18px;
  font-family: 'Font Awesome 5 Free';
  top: 0;
  left: 0;
  color: #41c9b4;
}

#point ul.link {
  padding-top: 40px;
  justify-content: flex-start;
}

#point ul.link li {
  width: 320px;
  margin: 0;
}

#point img {
  width: 530px;
}


@media only screen and (max-width: 768px) {
  .cont_img h1 {
    background-image: url(../images/page_title_sp.png);
  }

  .cont h3 {
    margin-top: 40px;
  }

  .cont h4 {
    padding-bottom: 15px;
  }

  .cont p:nth-of-type(n+3) {
    padding-top: 15px;
  }

  .lead {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /*#point*/

  #point .flexbox {
    align-items: flex-start;
  }

  #point .text {
    width: 100%;
  }

  #point ul.point li {
    padding-left: 25px;
    font-size: 16px;
  }

  #point ul.point li::before {
    font-size: 16px;
  }

  #point ul.link {
    padding-top: 40px;
    justify-content: center;
  }

  #point ul.link li {
    width: 80%;
    margin: auto;
  }

  #point img {
    width: 100%;
  }
}

/*#reform*/

#reform h2 ::after {
  left: 210px;
}

#reform .flexbox {
  align-items: center;
}

#reform img {
  width: 530px;
}

#reform .text {
  width: 417px;
}

#reform dl {
  width: 460px;
}

#reform dl:nth-of-type(n+3) {
  margin-top: 30px;
}

#reform dl dt {
  display: block;
  font-weight: bold;
  color: #fff;
  background: #0cb59b;
  padding: 23px;
  margin-top: 3px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

#reform dl dd img {
  margin: 3px 0 20px;
  width: 100%;
}

#reform dl dd:nth-of-type(3) ul {
  margin-top: 20px;
  padding: 20px 30px;
  background-color: #f7f7f7;
}

#reform dl dd:nth-of-type(3) ul li {
  padding-left: 15px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
}

#reform dl dd:nth-of-type(3) ul li::before {
  position: absolute;
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background-color: #41c9b4;
  top: 45%;
  left: 0;
  border-radius: 50px;
}

#tel_cont p.tel {
  padding-top: 30px;
}


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

  /*#reform*/
  #reform h2 ::after {
    width: 65px;
    left: 220px;
  }

  #reform .flexbox {
    align-items: flex-start;
  }

  #reform img,
  #reform .text,
  #reform dl {
    width: 100%;
  }

  #reform img {
    margin-bottom: 20px;
  }

  #reform dl:nth-of-type(n+2),
  #reform dl:nth-of-type(n+3) {
    margin-top: 20px;
  }

  #reform dl dt {
    padding: 18px;
  }

  #reform dl dd img {
    margin: 3px 0 15px;
    width: 100%;
  }

  #reform dl dd:nth-of-type(3) ul {
    margin-top: 10px;
    padding: 15px;
  }

  #tel_cont p.tel {
    padding-top: 20px;
  }
}
