@charset "UTF-8";

.p-index-kv {
  margin-left: calc((100vw - 100%)/ 2 * -1);
  margin-right: calc((100vw - 100%)/ 2 * -1);
  padding-left: calc((100vw - 100%)/ 2);
  padding-right: calc((100vw - 100%)/ 2);
  overflow: hidden;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 780px;
  position: relative;
  z-index: 3
}

.p-index-kv__video {
  width: 100%;
  height: 100%;
  background-color: #000;
  left: 0
}

.p-index-kv__video video {
  width: 100vw;
  -o-object-fit: cover;
  object-fit: cover;
  height:100%;
  object-position: right;
}

.p-index-kv__image {
  width: 105%;
  margin-left: -2.5%;
  margin-right: -2.5%
}

.p-index-kv__txt {
  position: relative;
  z-index: 2;
  color: #fff
}

.p-index-kv__title {
  font-weight: 900;
  line-height: 1.3;
  margin-left: -10px;
  font-size: 5.2rem
}

.p-index-kv__catch {
  font-weight: 200;
  margin-top: 40px;
  font-size: 1.8rem
}

.p-index-kv__btn__in {
  border: 1px solid #c00;
  background-color: #c00;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 80px;
  padding: 5px 8px;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

.p-index-kv__btn__in::before {
  content: "icons";
  font-family: icons;
  position: absolute;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  color: #c00;
  background-color: #fff;
  width: 63px;
  height: 63px;
  line-height: 63px;
  border-radius: 63px;
  text-align: center;
  left: 0;
  margin-right: 15px
}

.--product .p-index-kv__btn__in::before {
  content: "\ea18";
  font-size: 4.8rem
}

.--contact .p-index-kv__btn__in::before {
  content: "\ea19";
  font-size: 3.6rem
}

.p-index-kv__btn__txt {
  font-size: 2rem
}

.p-index-kv__btn-wrap {
  width: 100%
}

.p-index-kv-en .p-index-kv__container {
  min-height: 550px
}

.is-editor .p-index-kv__container {
  min-height: auto;
  height: auto
}

.mce-content-body .p-index-kv__container {
  min-height: auto;
  height: auto
}

@media screen and (min-width:374px) {
  .p-index-kv__catch {
    font-size: 2.2rem
  }
}

@media screen and (min-width:680px) {
  .p-index-kv__btn {
    width: 50%;
    padding: 0 12.5px
  }

  .p-index-kv__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -12.5px;
    margin-right: -12.5px;
    margin-top: 50px
  }
}

@media screen and (min-width:768px) {
  .p-index-kv__image {
    display: none
  }
}

@media screen and (min-width:980px) {
  .p-index-kv__video {
    line-height: 1;
    top: 0;
    z-index: -1;
    background-color: #000;
    left: 0;
    right: 0;
    position: absolute
  }

  .p-index-kv__video video {
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    width: 70vw;
    position: absolute;
    right: 0
  }

  .p-index-kv::before {
    content: "";
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, color-stop(72.29%, #000), to(rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(left, #000 72.29%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, #000 72.29%, rgba(0, 0, 0, 0) 100%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 55%
  }

  .p-index-kv__txt {
    width: 60%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 110px;
  }

  .p-index-kv__catch {
    padding-right: 50px;
    margin-bottom: 0;
  }

  .p-index-kv__btn__in:hover {
    background-color: #fff
  }

  .p-index-kv__btn__in:hover .p-index-kv__btn__txt {
    color: #c00
  }

  .p-index-kv__btn__in:hover::before {
    color: #fff;
    background-color: #c00
  }

  .p-index-kv__btns {
    margin-top: 80px
  }
  .p-index-kv__title{
    margin-top: 0;
    margin-bottom: 0;
  }
  .p-index-kv__txt__ranking{
    max-width: 354px;
    position: absolute;
    right: -384px;
    bottom: 0;
  }
}

@media screen and (min-width:1400px) {
  .p-index-kv__title {
    font-size: 8.8rem;
    width: 100%;
  }

  .p-index-kv__btn__txt {
    font-size: 2.4rem
  }
}


@media screen and (max-width:1399.8px) {

  .p-index-kv__txt {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
  }
  .p-index-kv {
    min-height: 690px;
  }
}

@media screen and (max-width:979.8px) {
  .p-index-kv {
    background-color: #000;
    height: auto;
    min-height: auto;
    padding: 0;
  }

  .p-index-kv__video {
    min-height: 415px;
    height: 40%;
    width: 105%;
    margin-left: -2.5%;
    margin-right: -2.5%
  }

  .p-index-kv__video video {
    height: calc(100dvh - 76px);
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .p-index-kv__txt {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0, 0.65);
    padding: 30px 24px;
    min-height: auto;
  }

  .p-index-kv__title {
    margin-left: 0;
    text-align: center;
  }

  .p-index-kv__title br {
    display: none
  }

  .p-index-kv__btns {
    margin-top: 30px
  }

  .p-index-kv-en .p-index-kv__container {
    height: auto
  }
 .p-index-kv__txt__ranking {
   position: absolute;
   top: -230px;
   height: 195px;
   width: 230px;
   left: 0;
 }
}

@media screen and (max-width:767.8px) {
  .p-index-kv {
    min-height: auto;
    padding: 0;
  }


  .p-index-kv__video {
    min-height: 210px;
  }
  

  .p-index-kv__txt {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0, 0.65);
    padding: 30px 24px;
  }

  .p-index-kv__title {
    font-size: 2.4rem
  }

  .p-index-kv__catch {
    font-size: 1.4rem;
    margin-top: 20px
  }

  .p-index-kv__btn__in::before {
    width: 43px;
    height: 43px;
    line-height: 43px;
    border-radius: 43px
  }

  .--product .p-index-kv__btn__in::before {
    font-size: 3rem
  }

  .--contact .p-index-kv__btn__in::before {
    font-size: 3rem
  }
}

@media screen and (max-width:679.8px) {
  .p-index-kv__btn+.p-index-kv__btn {
    margin-top: 15px
  }

  .p-index-kv__btns {
    margin-top: 20px;
    padding: 0 20px
  }

}
@media screen and (max-width:599.8px) {

  .p-index-kv__txt__ranking {
    top: -160px;
    height: 149px;
    width: 175px;

  }
}
