@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Alata&display=swap');

/*############## pageJump ##############*/
#about .pageJump {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5%;
}

#about .pageJump li a {
  color: #fff;
  text-align: center;
  position: relative;
}

#about .pageJump li a:after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 800;
  content: "\f107";
  top: 0;
  right: 13px;
}

#about .pageJump li {
  width: 19%;
  height: 48px;
  line-height: 48px;
  border-radius: 25px;
  font-size: 1.4rem; 
  font-weight: 600;
}

#about .pageJump li:nth-child(1) {
  background-color: #dd7373;
}

#about .pageJump li:nth-child(2) {
  background-color: #ecb346;
}

#about .pageJump li:nth-child(3) {
  background-color: #87c699;
}

#about .pageJump li:nth-child(4) {
  background-color: #9CBAD1;
}

#about .pageJump li:nth-child(5) {
  background-color: #D19CCF;
}

#about .pageJump li:nth-child(5) a {
  line-height: 1.2;
  padding-top: 8px;
}

#about .pageJump li:nth-child(5) a:after {
  top: 17px;
}

#about .pageJump li:hover {
  opacity: 0.8;
  transition: all 0.3s;
}
/*############## about ##############*/
.aboutContents {
  height: 450px;
}

.aboutContents .txtBox {
  width: 60%;
  background-color: #fff;
  padding: 40px 40px 30px 40px;
  border-radius: 25px;
  box-shadow:-1px 0px 5px 0px rgba(51,51,51,0.15);
  position: relative;
  bottom: -60px;
  box-sizing: border-box;
}

.aboutContents h3 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.aboutContents h3 + p {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
}

#about .bgImg {
  width: 50%;
  height: 400px;
  position: absolute;
}

#petsitter .bgImg {
  background: url("../img/work01_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  right: 0;
}

#petcare .bgImg {
  background: url("../img/work02_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0;
}

#agency .bgImg {
  background: url("../img/work03_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  right: 0;
}

#angelcare .bgImg {
  background: url("../img/work04_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  left: 0;
}

#griefcare .bgImg {
  background: url("../img/work05_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  right: 0;
}

/*############## service ##############*/
#about h4 {
  position: relative;
  font-size: 2.2rem;
  font-weight: 600;
  padding: 0 0 7px 15px;
  margin-bottom: 2%;
  margin-top: 70px;
}

#about h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(
    -45deg,
    #fff 25%, #be9a5c 25%,
    #be9a5c 50%, #fff 50%,
    #fff 75%, #be9a5c 75%,
    #be9a5c
  );
  width: 100%;
  height: 5px;
  background-size: 8px 8px;
}

.service {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.service dl {
  width: calc(100% / 4 - 2%);
  margin-bottom: 3%;
  margin-right: 2.66%;
}

.service dl:nth-of-type(4n) {
  margin-right: 0;
}

.service dt h5 {
  position: relative;
  padding-left: 27px;
  padding-bottom: 10px;
  border-bottom: solid 1px #c9c9c9;
  margin-bottom: 10px;
  font-weight: 600;
}

.service dt h5:before {
  position: absolute;
  top: 8px;
  left: 10px;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #be9a5c;
  display: inline-block;
}

.service dl dd {
  padding: 0 7px;
}

#about .note {
  position: relative;
  padding-left: 27px;
  margin: 10px 0;
}

#about .note:before {
  position: absolute;
  top: 8px;
  left: 10px;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dd7373;
  display: inline-block;
}

/*############## h3 + p(color) ##############*/
#petsitter h3 + p {
  color: #dd7373;
}

#petcare h3 + p {
  color: #ecb346;
}

#agency h3 + p {
  color: #87c699;
}

#angelcare h3 + p {
  color: #9cbad1;
}

#griefcare h3 + p {
  color: #d19ccf;
}

/*############## btn ##############*/
#about .btn a {
  height: 38px;
  line-height: 38px;
  width: 45%;
  margin-top: 15px;
  margin-left: auto;
}

/*############## 896px以下 ##############*/
@media screen and (max-width:896px) {
  /* pageJum */
  #about .pageJump {
    flex-wrap: wrap;
    justify-content: space-evenly;
}

  #about .pageJump li {
    width: 30%;
    margin-bottom: 2%;
  }

  .aboutContents {
    height: auto;
  }

  .aboutContents .txtBox {
    width: 90%;
    bottom: 40px;
    margin: 0 auto;
  }

  #about .bgImg {
    width: 100%;
    position: static;
    height: 300px;
  }

  #about h4 {
    margin-top: 0;
    margin-bottom: 3%;
  }

  .service dl {
    width: 30%;
    margin-right: 5%;
  }

  .service dl:nth-of-type(4n) {
    margin-right: 5%;
  }

  .service dl:nth-of-type(3n) {
    margin-right: 0;
}

}
/*############## 560px以下 ##############*/
@media screen and (max-width:560px) {
  #about section {
    margin-bottom: 10%;
  }
  
  #about .pageJump li {
    width: 100%;
    height: 38px;
    line-height: 38px;
  }
  
  #about .pageJump li:nth-child(5) a {
    padding-top: 4px;
  }
  
  #about .bgImg {
    height: 200px;
  }
  
  .aboutContents .txtBox {
    padding: 30px;
  }
  
  #about .btn a {
    width: 100%;
  }
  
  .service dl {
    width: 100%;
    margin-right: 0%;
  }
  
  .service dl:nth-of-type(4n) {
    margin-right: 0%;
  }
  
  #about h4 {
    margin-bottom: 5%;
  }
  
}

