/***********************************************************************
preset
**********************************************************************/
/***************************************************************************************************************************
module
**************************************************************************************************************************/
.line-btn {
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}
.line-btn span {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 13px 47px 10px 0px;
  height: 39px;
  -webkit-transition: padding 1s cubic-bezier(0.55, 0.085, 0, 0.99), height 1s cubic-bezier(0.55, 0.085, 0, 0.99);
  transition: padding 1s cubic-bezier(0.55, 0.085, 0, 0.99), height 1s cubic-bezier(0.55, 0.085, 0, 0.99);
}
.line-btn span:hover:before {
  -webkit-animation: hover-anime01 1.8s cubic-bezier(0.19, 1, 0.22, 1);
          animation: hover-anime01 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.line-btn span:before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  -webkit-transform-origin: right top;
  transform-origin: right top;
}
.line-btn span:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}
.line-btn span:hover:after {
  -webkit-animation: hover-anime02 1.8s cubic-bezier(0.19, 1, 0.22, 1);
          animation: hover-anime02 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.line-btn:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 15px;
  background: url("../img/common/right-arrow-o.png") 0 0 no-repeat;
  background-size: contain;
  right: 0px;
  bottom: 16px;
}

.line-btn:hover:after {
  -webkit-animation: scrollarrow 2s cubic-bezier(0.19, 1, 0.22, 1) 0s infinite;
  animation: scrollarrow 2s cubic-bezier(0.19, 1, 0.22, 1) 0s infinite;
}

@-webkit-keyframes hover-anime01 {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  50% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}

@keyframes hover-anime01 {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  50% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
}
@-webkit-keyframes hover-anime02 {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  20% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
@keyframes hover-anime02 {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  20% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
.index__hero__arrow {
  background-image: url("../img/common/right-arrow-b2.png");
  background-position: 0;
  background-repeat: no-repeat;
  background-size: 28px 15px;
  display: block;
  height: 6px;
  width: 100px;
  z-index: 2;
}

.arrow-link:hover .index__hero__arrow {
  -webkit-animation: scrollarrow 2s cubic-bezier(0.19, 1, 0.22, 1) 0s infinite;
  animation: scrollarrow 2s cubic-bezier(0.19, 1, 0.22, 1) 0s infinite;
}

@-webkit-keyframes scrollarrow {
  0% {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
  25% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  75% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  to {
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
  }
}
@keyframes scrollarrow {
  0% {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
  25% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  75% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  to {
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
  }
}
.line-btn.contact {
  color: #FFF;
  position: relative;
  font-size: 22px;
}
.line-btn.contact span {
  padding-left: 37px;
  padding-right: 60px;
  height: 49px;
}

.line-btn.contact:before {
  content: "";
  position: absolute;
  left: 0px;
  top: -21px;
  width: 31px;
  height: 31px;
  display: block;
  background: url("../img/common/mail-f.png") 0 0 no-repeat;
  background-size: cover;
}

.line-btn.contact:after {
  content: "";
  position: absolute;
  width: 43px;
  height: 23px;
  background: url("../img/common/right-arrow-o.png") 0 0 no-repeat;
  background-size: contain;
  right: 0px;
  bottom: 21px;
}

/***********************************************************************
media query
**********************************************************************/
@media only screen and (max-width: 750px) {
  .mod-btn {
    border: 2px solid #DF1707;
    background: #DF1707;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    display: inline-block;
    margin: 0 auto;
  }
  .mod-btn a {
    display: block;
    padding: 5px 30px;
    font-size: 14px;
    color: #FFF;
  }
  .mod-btn:hover {
    background: #FFF;
    border: 2px solid #DF1707;
  }
  .mod-btn:hover a {
    color: #DF1707;
  }
}
.service-block {
  margin-bottom: 200px;
}
.service-block h2 {
  padding-left: 4.1%;
}
.service-block h3 {
  position: relative;
}
.service-block .left-img-box {
  display: table;
  margin-bottom: 67px;
}
.service-block .left-img-box h3:before {
  position: absolute;
  content: "";
  display: block;
  background: url("../img/top/left-tr.png") 0 0 no-repeat;
  width: 37px;
  height: 14px;
  top: -45px;
  background-size: contain;
}
.service-block .left-img-box .text-box {
  padding-left: 5.5%;
  padding-right: 5.5%;
}
.service-block .right-img-box {
  display: table;
  margin-bottom: 67px;
  z-index: -1;
  position: relative;
}
.service-block .right-img-box h3:before {
  position: absolute;
  content: "";
  display: block;
  background: url("../img/top/right-tr.png") 0 0 no-repeat;
  width: 37px;
  height: 14px;
  top: -45px;
  background-size: contain;
}
.service-block .right-img-box .text-box {
  padding-left: 5.5%;
  padding-right: 5.5%;
}
.service-block .img {
  display: table-cell;
  width: 45.9%;
  vertical-align: middle;
}
.service-block .img img {
  width: 100%;
  border: 1px solid #dddddd;
}
.service-block .text-box {
  display: table-cell;
  vertical-align: middle;
  width: 54.1%;
  padding-top: 35px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 14px;
}
.service-block .text-box h3 {
  padding-bottom: 30px;
}
.service-block .text-box h3 .en {
  color: #DF1707;
  display: block;
  letter-spacing: 0.1em;
  font-size: 12px;
  padding-bottom: 20px;
}
.service-block .text-box h3 .jp {
  font-size: 24px;
  font-weight: bold;
}
.service-block .text-box .text {
  line-height: 1.78em;
}

/***********************************************************************
media query
**********************************************************************/
@media only screen and (max-width: 750px) {
  .service-block .left-img-box .text-box, .service-block .right-img-box .text-box {
    padding: 0px;
  }
  .service-block {
    margin-bottom: 95px;
  }
  .service-block h2 {
    padding-left: 4.1%;
  }
  .service-block h3 {
    position: relative;
  }
  .service-block .left-img-box {
    display: block;
    margin-left: 0%;
    padding-right: 0%;
    margin-bottom: 60px;
    /*
    .text-box{
    	padding-left: 4%;
    	padding-right: 4%;
    }
    .img{
    	margin-left: -4%;
    }*/
  }
  .service-block .left-img-box h3:before {
    display: none;
  }
  .service-block .right-img-box {
    display: block;
    margin-right: 0%;
    margin-top: 0px;
    margin-bottom: 60px;
    z-index: -1;
    position: relative;
    /*
    .text-box{
    	padding-left: 8%;
    	padding-right: 4%;
    }
    */
  }
  .service-block .right-img-box h3:before {
    display: none;
  }
  .service-block .right-img-box .img {
    display: none;
    /*margin-right: -4%;*/
  }
  .service-block .right-img-box .sp {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    vertical-align: middle;
    /*margin-left: 8%;*/
  }
  .service-block .right-img-box .sp img {
    width: 100%;
    border: 1px solid #dddddd;
  }
  .service-block .img {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    vertical-align: middle;
  }
  .service-block .img img {
    width: 100%;
  }
  .service-block .text-box {
    display: block;
    vertical-align: middle;
    width: 100%;
    padding-top: 0px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    font-size: 14px;
  }
  .service-block .text-box h3 {
    padding-bottom: 23px;
  }
  .service-block .text-box h3 .en {
    color: #DF1707;
    display: block;
    letter-spacing: 0.1em;
    font-size: 12px;
    padding-bottom: 10px;
  }
  .service-block .text-box h3 .jp {
    font-size: 20px;
    font-weight: bold;
  }
  .service-block .text-box .text {
    line-height: 1.78em;
  }
}