/** ===========================
Common
=========================== **/

#page_body.page-service{
  margin-left: 0;
}
.page-service .page-inner{
  padding-left: 0;
}

.border-red {
  border-bottom: 2px solid #ff0000;
}

.border-pink{
  border-bottom: 2px solid #ff58b1;
}

.marker-yellow{
  background:linear-gradient(transparent 75%, #fffb65 75%);
  padding-right: 5px;
  padding-left: 5px;
}

/** ===========================
Main
=========================== **/
.service-main{
  background: url(../img/service/bg_main.png) center bottom no-repeat;
  background-size: 100%;
  padding-bottom: 40px;
  margin-bottom: 100px;
}
.service-main__inner {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding-top: 80px;
  display: flex;
}

.service-main__txt {
  margin-right: -40px;
}

.service-main__txt__img {
  margin-bottom: 45px;
}

.service-main__txt__ttl {
  font-weight: normal;
  font-size: 19px;
  line-height: 2;
  margin-bottom: 50px;
}

.service-main__txt__ttl span {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #fff799 60%);
}

.service-main__img{
  margin-bottom: 0;
}

/** ===========================
Style
=========================== **/
.service-style{
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 80px;
  background-image: url(../img/service/bg_illust1.png), url(../img/service/bg_illust2.png),url(../img/service/bg_illust3.png);
  background-size: 336px 100px, 403px 120px, 235px 88px;
  background-repeat: no-repeat;
  background-position: right 40px top 280px, left center, right bottom 80px;
}
.service-style__inner {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.service__ttl {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 94px 30px 25px;
}
.service__ttl::before{
  content: '';
  background: url(../img/service/icon_ttl.png) center no-repeat;
  background-size: 55px 76px;
  height: 76px;
  width: 55px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.ttl-style::after{
  content: '';
  background: url(../img/service/icon_ttl_txt_style.png) left center no-repeat;
  background-size: 249px 134px;
  height: 134px;
  width: 249px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.ttl-footer::after{
  content: '';
  background: url(../img/service/icon_ttl_txt_footer.png) left center no-repeat;
  background-size: 349px 76px;
  height: 76px;
  width: 340px;
  position: absolute;
  left: 0;
  top: 40px;
  right: 100px;
  margin: 0 auto;
}

.service__ttl > h2 {
  font-size: 21px;
  margin-bottom: 0;
  font-weight: 500;
}

.service__ttl > h2 > .ttl-bg{
  background: url(../img/service/bg_ttl_line.png) center bottom 5px no-repeat;
  background-size: 100%;
  display: inline-block;
  padding: 0 20px 15px;
}

.ttl-footer > h2 > .ttl-bg {
  background-size: 380px 20px;
  padding: 0 0 15px;
}

.service__ttl > h2 span.ttl-blue {
  color: #24B5D8;
  border-bottom: 2px solid #24B5D8;
}

.service__ttl > h2 span.border-pink{
  padding-bottom: 0;
}

.service-style_catchcopy {
  font-weight: normal;
  text-align: center;
  line-height: 2;
  font-size: 18px;
}

.service-style__txt {
  margin-bottom: 50px;
}

.service-style__txt p {
  margin-bottom: 0;
  text-align: center;
  font-weight: normal;
  font-size: 18px;
  line-height: 3;
}

.service-comparison {
  margin-top: 40px;
}

.service-comparison__tb {
  width: 100%;
  border: 1px solid #3ED4FF;
}

.service-comparison__tb th,
.service-comparison__tb td{
  text-align: center;
  padding: 40px 10px;
}

.service-comparison__tb th {
  width: 50%;
  padding: 60px 10px;
}

.service-comparison__tb th:nth-child(1),
.service-comparison__tb td:nth-child(1):not(.service-comparison__tb__ttl){
  background: rgba(255, 253, 233, .8);
  border-right: 1px solid #3ED4FF;
}


.service-comparison__tb th:nth-child(2),
.service-comparison__tb td:nth-child(2):not(.service-comparison__tb__ttl){
  background: rgba(255, 233, 255, .8);
}

.service-comparison__tb td > p:last-child{
  margin-bottom: 0;
}


.service-comparison__img {
  margin-bottom: 0;
}

.service-comparison__img img {
  display: block;
  margin: 0 auto 20px;
}

.service-comparison__img figcaption {
  font-size: 18px;
  font-weight: normal;
}

.service-comparison__tb .service-comparison__tb__ttl {
  padding: 13px;
  background: #54c2db;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  position: relative;
}
.service-comparison__tb .service-comparison__tb__ttl::before{
  content: 'はぴこ';
  left: 10px;
  color: #ff290b;
  background: #fff;
}
.service-comparison__tb .service-comparison__tb__ttl::after{
  content: 'しまコ';
  right: 10px;
  background: #d5007f;
}
.service-comparison__tb .service-comparison__tb__ttl::before,
.service-comparison__tb .service-comparison__tb__ttl::after{
  position: absolute;
  top: 50%;
  margin-top: -18px;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 10px;
}
.service-comparison__tb__point {
  margin-bottom: 0;
  margin-left: 90px;
}

.icon_check {
  display: inline-block;
  vertical-align: middle;
  margin-top: -10px;
  margin-left: 10px;
}

.service-comparison__tb td:not(.service-comparison__tb__ttl) {
  font-size: 22px;
  font-weight: normal;
}

.txt-small {
  font-size: 16px;
}

/** ===========================
Service Menu
=========================== **/
.service-menu {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.service__ttl.ttl-footer {
  margin-bottom: 25px;
}

.service-menu__item {
  width: 50%;
  padding: 50px 20px;
  text-align: center;
}

.service-menu__hapico{
  background: url(../img/service/bg_service_hapico.jpg) center no-repeat;
  background-size: cover;
}

.service-menu__shimaco{
  background: url(../img/service/bg_service_shimaco.jpg) center no-repeat;
  background-size: cover;
}

.service-menu__item__txt {
  margin-bottom: 35px;
  font-weight: bold;
  color: #fff;
  font-size: 21px;
}

.service__ttl.ttl-footer {
  margin-bottom: 25px;
}

.service-menu__hapico .service-menu__item__txt {
  text-shadow: 0 0 20px #ff290b;
}

.service-menu__shimaco .service-menu__item__txt {
  text-shadow: 0 0 20px #D51E7F;
  margin-bottom: 16px;
}

.service-menu__item__img {
  margin-bottom: 35px;
}

.service-menu__shimaco .service-menu__item__img {
  margin-bottom: 20px;
}

.service-menu__link {
  display: block;
  max-width: 390px;
  margin: 0 auto;
  font-size: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  color: #D51E7F;
  position: relative;
  border: 1px solid transparent;
  transition: all .5s;
}

.service-menu__link::after{
  content: '';
  background: url(../img/service/icon_link_arow.png) right center no-repeat;
  background-size: 14px;
  height: 14px;
  width: 14px;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -7px;
}

.service-menu__link:hover{
  text-decoration: none;
  color: #fff;
  background: #D51E7F;
  transition: all .5s;
  opacity: 1;
}

.service-menu__hapico .service-menu__link{
  color: #ff290b;
}
.service-menu__hapico .service-menu__link::after{
  content: '';
  background: url(../img/service/icon_link_arow2.png) right center no-repeat;
  background-size: 14px;
  height: 14px;
  width: 14px;
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -7px;
}
.service-menu__hapico .service-menu__link:hover{
  background: #ff290b;
  color: #fff;
}

/** フェードイン **/
.fadein,
.vew_fadein {
  opacity: 0.1;
  transform: translate(0, 50px);
  transition: all 1.5s;
}

.fadein.scrollin,
.fadeUp {
  opacity: 1;
  transform: translate(0, 0);
}
.delay-time02{
  -moz-transition-delay: 400ms;
  -webkit-transition-delay: 400ms;
  -o-transition-delay: 400ms;
  -ms-transition-delay: 400ms;
}
.delay-time03{
  -moz-transition-delay: 600ms;
  -webkit-transition-delay: 600ms;
  -o-transition-delay: 600ms;
  -ms-transition-delay: 600ms;
}
.delay-time04{
  -moz-transition-delay: 800ms;
  -webkit-transition-delay: 800ms;
  -o-transition-delay: 800ms;
  -ms-transition-delay: 800ms;
}

/** ===========================
Responsive
=========================== **/
@media screen and (max-width: 1000px) {
  .service-main__txt {
    margin-right: 0;
  }
  .service-style{
    background-image: none;
  }
}
@media screen and (max-width: 600px) {
  .service-main__inner {
    padding-top: 40px;
    flex-wrap: wrap;
  }
  .service-main__txt {
    width: 100%;
    margin-bottom: 40px;
  }
  .service-main__txt__img {
    margin-bottom: 20px;
    text-align: center;
  }
  .service-main__txt__ttl {
    margin-bottom: 30px;
    text-align: center;
    font-size: 20px;
  }
  .service-main__txt__logo {
    margin-bottom: 0;
    text-align: center;
  }
  .service-main__img {
    max-width: 350px;
    margin: 0 auto;
  }
  .service-main {
    margin-bottom: 60px;
  }
  .service-comparison__tb th, .service-comparison__tb td{
    padding: 30px 10px
  }
  .service-comparison__tb th {
    padding: 30px 10px;
  }
  .service-style {
    margin-bottom: 60px;
  }
  .service-menu {
    flex-wrap: wrap;
  }
  .service-menu__item {
    width: 100%;
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .service-comparison__tb__point{
    margin-left: 85px;
  }
  .icon_check {
    width: 75px;
  }
  .service-comparison__img figcaption {
    font-size: 16px;
  }
  .service-comparison__tb .service-comparison__tb__ttl,.service-comparison__tb td:not(.service-comparison__tb__ttl){
    font-size: 20px;
  }
}
