:where(.ns-lp-jigyo) #child-service {
  background: linear-gradient(to right, #FFF 0, #FFF 25%, #dfeef0 50%, #dfeef0 100%);
  margin-bottom: 20px;
}

:where(.ns-lp-jigyo) #child-service .section-innner {
  max-width: 1100px;
  margin: -100px auto 30px;
  padding-top: 60px;
  padding-bottom: 70px;
  position: relative;
  background-color: #dfeef0;
  height: 100%;
}

:where(.ns-lp-jigyo) #child-service .tategaki-area {
  position: absolute;
  top: 50px;
  right: 0px;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

:where(.ns-lp-jigyo) #child-service .tategaki-area h2 {
  font-size: 60px;
  line-height: .8;
  margin-left: 20px;
}

:where(.ns-lp-jigyo) #child-service .tategaki-area h2 span {
  text-combine-upright: all;
}

:where(.ns-lp-jigyo) #child-service .tategaki-area h3 {
  margin-top: 50px;
  line-height: 1.7;
}

:where(.ns-lp-jigyo) #child-service .top_service {
  margin-bottom: 90px;
}

:where(.ns-lp-jigyo) #child-service .top_service .img-wrapper {
  margin: 100px 0 0 -70px;
  width: 100%;
  max-width: 805px;
  position: relative;
  z-index: 9;
}

:where(.ns-lp-jigyo) #child-service .top_service .img-wrapper::after {
  content: "01";
  position: absolute;
  top: 0px;
  left: 35px;
  font-size: 80px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0;
  color: #00257a;
  visibility: visible;
}

:where(.ns-lp-jigyo) #child-service .top_service .img-wrapper::before {
  content: "service";
  position: absolute;
  top: -100px;
  left: 45px;
  font-size: 50px;
  font-family: "Fasthand", cursive;
  color: #00257a;
  transform: rotate(-5deg);
  opacity: 0.3;
}

:where(.ns-lp-jigyo) #child-service .top_service .img-wrapper img {
  width: 100%;
}

:where(.ns-lp-jigyo) #child-service .top_service figure {
  -webkit-filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
  filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
}

:where(.ns-lp-jigyo) #child-service .top_service .p_text-area {
  letter-spacing: 0.05em;
  line-height: 1.8;
  max-width: 70%;
  margin: -50px 0 120px 50px;
  padding: 90px 55px 50px;
  background: #FFF;
  -webkit-filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
  filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
}

:where(.ns-lp-jigyo) #child-service .second_service {
  width: 100%;
  -webkit-filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
  filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
  position: relative;
  z-index: 9;
  margin-bottom: 70px;
}

:where(.ns-lp-jigyo) #child-service .second_service .img-wrapper {
  max-width: 45.21%;
  position: relative;
  z-index: 9;
}

:where(.ns-lp-jigyo) #child-service .second_service .img-wrapper img {
  width: 100%;
}

:where(.ns-lp-jigyo) #child-service .second_service figure {

}

:where(.ns-lp-jigyo) #child-service .second_service.img-left .img-wrapper {
  margin: 0 0 0 80px;
}

:where(.ns-lp-jigyo) #child-service .second_service.img-right .img-wrapper {
  margin: 0 30px 0 auto;
}

:where(.ns-lp-jigyo) #child-service .second_service .p_text-area {
  max-width: 60%;
  margin: -37px 0 120px 50px;
  padding: 90px 55px 50px;
  background: #FFF;
  -webkit-filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
  filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
}

:where(.ns-lp-jigyo) #child-service .second_service .p_text-area::before {
  content: "service";
  position: absolute;
  top: -100px;
  font-size: 50px;
  font-family: "Fasthand", cursive;
  color: #00257a;
  transform: rotate(-5deg);
  opacity: 0.3;
}

:where(.ns-lp-jigyo) #child-service .second_service.img-left .p_text-area::before {
  right: 20px;
}

:where(.ns-lp-jigyo) #child-service .second_service.img-right .p_text-area::before {
  left: 65px;
}

:where(.ns-lp-jigyo) #child-service .second_service .p_text-area::after {
  position: absolute;
  top: 0;
  font-size: 80px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0;
  color: #00257a;
  visibility: visible;
}

:where(.ns-lp-jigyo) #child-service .second_service.img-left .p_text-area::after {
  right: 35px;
}

:where(.ns-lp-jigyo) #child-service .second_service.service-2 .p_text-area::after {
  content: "02";
}

:where(.ns-lp-jigyo) #child-service .second_service.service-3 .p_text-area::after {
  content: "03";
}

:where(.ns-lp-jigyo) #child-service .second_service.service-4 .p_text-area::after {
  content: "04";
}

:where(.ns-lp-jigyo) #child-service .second_service.service-5 .p_text-area::after {
  content: "05";
}

:where(.ns-lp-jigyo) #child-service .second_service.img-left .p_text-area {
  position: relative;
  max-width: 47.826%;
  margin: -200px 30px 0 auto;
  padding: 50px 55px 50px 80px;
}

:where(.ns-lp-jigyo) #child-service .second_service.img-right .p_text-area {
  position: relative;
  max-width: 47.826%;
  margin: -200px auto 0 80px;
  padding: 50px 80px 50px 55px;
}

:where(.ns-lp-jigyo) #child-service .p_text-area h3 {
  font-size: 36px;
}

:where(.ns-lp-jigyo) #child-service .p_text-area p {
  font-size: 15px;
}

:where(.ns-lp-jigyo) #child-traning {
  margin-bottom: 50px;
}

:where(.ns-lp-jigyo) #child-traning .section-innner {
  max-width: 1100px;
  margin: 0px auto 0px;
  position: relative;
}

:where(.ns-lp-jigyo) #child-traning h2 {
  text-align: center;
  margin-bottom: 70px;
}

:where(.ns-lp-jigyo) #child-traning .wp-block-media-text {
  margin-bottom: 50px;
}

:where(.ns-lp-jigyo) #child-insurance {
  margin-bottom: 80px !important;
}

:where(.ns-lp-jigyo) #child-insurance .section-innner {
  max-width: 1100px;
  margin: 0px auto 0px;
  position: relative;
}

:where(.ns-lp-jigyo) #child-insurance h2 {
  text-align: center;
  margin-bottom: 30px !important;
}

:where(.ns-lp-jigyo) #child-insurance p {
  text-align: center;
}

@media screen and (max-width:599px) {
  :where(.ns-lp-jigyo) #child-service {
    background: linear-gradient(to right, #FFF 0, #FFF 25%, #dfeef0 50%, #dfeef0 100%);
    margin-bottom: 20px;
  }
  
  :where(.ns-lp-jigyo) #child-service .section-innner {
    max-width: 95%;
    margin: -100px auto 30px;
     padding-top: 30px;
    padding-bottom: 70px;
    position: relative;
    background-color: #dfeef0;
    height: 100%;
  }
  
  :where(.ns-lp-jigyo) #child-service .tategaki-area {
    position: static;
    margin: 0 10% 50px 35%;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  
  :where(.ns-lp-jigyo) #child-service .tategaki-area h2 {
    font-size: 50px;
    line-height: .8;
  }
  
  :where(.ns-lp-jigyo) #child-service .tategaki-area h2 .mininote {
    font-size: 20px !important;
  }
  
  :where(.ns-lp-jigyo) #child-service .tategaki-area h2 span {
    text-combine-upright: all;
  }
  
  :where(.ns-lp-jigyo) #child-service .top_service {
    margin-bottom: 90px;
  }
  
  :where(.ns-lp-jigyo) #child-service .top_service .img-wrapper {
    margin: 10px 0 0 0px !important;
    max-width: 100%;
    position: relative;
    z-index: 9;
  }
  
  :where(.ns-lp-jigyo) #child-service .top_service .img-wrapper::after {
    content: "01";
    position: absolute;
    top: 0px;
    left: 35px;
    font-size: 65px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0;
    color: #00257a;
    visibility: visible;
  }
  
  :where(.ns-lp-jigyo) #child-service .top_service .img-wrapper::before {
    content: "service";
    position: absolute;
    top: -90px;
    left: 35px;
    font-size: 50px;
    font-family: "Fasthand", cursive;
    color: #00257a;
    transform: rotate(-5deg);
    opacity: 0.3;
  }
  
  :where(.ns-lp-jigyo) #child-service .top_service figure {
    -webkit-filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
    filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
  }
  
  :where(.ns-lp-jigyo) #child-service .top_service .p_text-area {
    letter-spacing: 0.05em;
    line-height: 1.8;
    max-width: 100%;
    margin: -50px 0 120px 0px;
    padding: 70px 20px 30px;
    background: #FFF;
    -webkit-filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
    filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service {
    max-width: 100%;
    -webkit-filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
    filter: drop-shadow(2px 2px 10px rgba(6, 0, 1, 0.05));
    position: relative;
    z-index: 9;
    margin-bottom: 90px;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service .img-wrapper {
    max-width: 100%;
    position: relative;
    z-index: 0;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service figure {
  
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-left .img-wrapper {
    margin: 0 0 0 0px;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-right .img-wrapper {
    margin: 0 0px 0 0;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service .p_text-area {
    max-width: 100%;
    margin: -37px 0 120px 0px;
    padding: 90px 55px 50px;
    background: #FFF;
    -webkit-filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
    filter: drop-shadow(2px 2px 10px rgba(31, 31, 31, 0.1));
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service .p_text-area::before {
    content: "service";
    position: absolute;
    top: -270px;
    font-size: 50px;
    font-family: "Fasthand", cursive;
    color: #00257a;
    transform: rotate(-5deg);
    opacity: 0.3;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-left .p_text-area::before {
    right: 10px;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-right .p_text-area::before {
    left: 30px;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service .p_text-area::after {
    position: absolute;
    top: -180px;
    font-size: 65px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0;
    color: #00257a;
    visibility: visible;
    z-index: 20;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-left .p_text-area::after {
    right: 35px;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.service-2 .p_text-area::after {
    content: "02";
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.service-3 .p_text-area::after {
    content: "03";
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.service-4 .p_text-area::after {
    content: "04";
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.service-5 .p_text-area::after {
    content: "05";
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-left .p_text-area {
    position: relative;
    max-width: 100%;
    margin: 0px 0px 0 0;
    padding: 30px 20px 30px 20px;
  }
  
  :where(.ns-lp-jigyo) #child-service .second_service.img-right .p_text-area {
    position: relative;
    max-width: 100%;
    margin: -00px 0 0 0px;
    padding: 30px 20px 30px 20px;
  }
  
  :where(.ns-lp-jigyo) #child-service .p_text-area h3 {
    font-size: 7.7vw;
    margin-bottom: 20px;
  }
  
  :where(.ns-lp-jigyo) #child-service .p_text-area p {
    font-size: 3.5vw;
  }
  
  :where(.ns-lp-jigyo) #child-traning {
  
  }
  
  :where(.ns-lp-jigyo) #child-traning .section-innner {
    max-width: 1100px;
    margin: 0px auto 0px;
    position: relative;
  }
  
  :where(.ns-lp-jigyo) #child-traning h2 {
    text-align: center;
    margin-bottom: 50px;
  }
  
  :where(.ns-lp-jigyo) #child-traning .wp-block-media-text {
    margin-bottom: 50px;
  }
  
  :where(.ns-lp-jigyo) #child-insurance {
    margin-bottom: 80px !important;
  }
  
  :where(.ns-lp-jigyo) #child-insurance .section-innner {
    max-width: 1100px;
    margin: 0px auto 0px;
    position: relative;
  }
  
  :where(.ns-lp-jigyo) #child-insurance h2 {
    text-align: center;
    margin-bottom: 70px;
  }
  
  :where(.ns-lp-jigyo) #child-insurance p {
    text-align: center;
  }
}
