@charset "utf-8";
/* CSS Document */

/*=================================================================
   service
=================================================================*/
.page_service .content{
   padding: 0!important;
}
.service{
   padding: 80px 0;
   background: #e9eef4;
}
.service-title{
   color: var(--color-blue);
   text-align: center;
   font-size: 3.2rem;
   padding: 6rem 0 4rem;
}
.service__cate{
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   list-style: none;
   margin: 0 0 30px;
   padding: 0;
}
.service__cate-item{
   text-align: center;
   line-height: 1.3;
   font-weight: 700;
   max-width: 190px;
   width: 100%;
   margin: 5px 10px;
   border-radius: 50px;
   cursor: pointer;
   background: #fff;
   overflow: hidden;
}
.service__cate-link{
   color: var(--color-blue);
   text-decoration: none;
   padding: 7px 15px;
   min-height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.service__cate-link:hover{
   color: #fff;
   background: var(--color-blue);
}
.service__list{
   display: flex;
   flex-wrap: wrap;
}
.service__item{
   position: relative;
   text-align: center;
   width: 32%;
   margin-bottom: 2%;
}
.service__item .badge{
   position: absolute;
   z-index: 1;
   top: -.5em;
   right: 1.5em;
   color: #fff;
   font-size: .85em;
   line-height: 1;
   border-radius: 6px;
   padding: 5px 10px;
   background: var(--color-orange);
}
@media print, screen and (min-width: 768px) {
   .service__item:nth-child(3n-1){
      margin-left: 2%;
      margin-right: 2%;
   }
}
.service__item-link{
   position: relative;
   display: block;
   height: 100%;
   width: 100%;
   border-radius: 16px;
   background: #fff;
   overflow: hidden;
   text-decoration: none;
   padding: 32px;
   box-shadow: 0px 7px 16px 3px rgb(var(--color-blue-rgb), 0.15);
}
.service__item-link::before,
.service__item-link::after{
   position: absolute;
   content: "";
   display: block;
   pointer-events: none;
}
.service__item-link::before{
   z-index: 1;
   right: 10px;
   bottom: 10px;
   width: 14px;
   height: 14px;
   background: url("../img/common/icon_arrows_w.png");
   background-size: cover;
}
.service__item-link::after{
   right: 0;
   bottom: 0;
   width: 0;
   height: 0;
   border-style: solid;
   border-width: 0 0 54px 54px;
   border-color: transparent transparent var(--color-blue) transparent;
   transition: .5s;
}
@media (hover: hover) {
   .service__item-link:hover{
      box-shadow: none;
   }
   .service__item-link:hover::after{
      border-color: transparent transparent var(--color-aqua) transparent;
   }
   .service__item-link:hover .service__item-title{
      color: var(--color-aqua);
   }
}
.service__item-title{
   margin: 25px 0 10px;
}
.service__item-description{
   color: var(--color-base);
   text-align: left;
   font-size: 1.6rem;
   font-weight: 500;
   margin: 0;
}

@media screen and (max-width: 767px) {
   .service {
      padding: 50px 20px;
   }
   .service-title{
      font-size: 2.2rem;
      padding: 3rem 0 2rem;
   }
   .service__cate{
      margin: 0 0 10px;
      flex-wrap: wrap;
      justify-content: space-between;
   }
   .service__cate-item{
      width: 49%;
      margin: 0;
   }
   .service__cate-link{
      padding: 15px 10px;
      min-height: inherit;
   }
   .service__item{
      width: 100%;
      margin-bottom: 15px;
   }
   .service__item-link{
      display: flex;
      align-items: center;
      padding: 24px 12px 24px 20px;
      border-radius: 10px;
   }
   .service__item-img{
      width: 40%;
      order: 2;
      margin-left: 12px;
   }
   .service__item-title{
      margin: 0 0 10px;
      text-align: left;
   }
   .service__item-description{
      font-size: 1.3rem;
   }
   .service__item-link::before{
      width: 12px;
      height: 12px;
      bottom: 8px;
   }
   .service__item-link::after{
      border-width: 0 0 45px 45px;
   }
}
