/* ---------------sub-visual START--------------- */
.sub-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 50vw;
  max-height: calc(100vh - 100px);
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.sub-visual .bg {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -o-object-fit: cover;
     object-fit: cover;
  background-repeat: no-repeat;
  transition: transform 25s;
  transition-timing-function: linear;
}
.sub-visual .bg-dummy {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.sub-visual .text-box {
  z-index: 2;
  position: relative;
}
.sub-visual .text-box .sub-title span {
  display: inline-block;
  opacity: 0;
  transition: opacity 2s;
}
.sub-visual .text-box .sub-title span:nth-of-type(1) {
  transition-delay: 0.3s;
}
.sub-visual .text-box .sub-title span:nth-of-type(2) {
  transition-delay: 0.8s;
}
.sub-visual .btn-scroll {
  opacity: 0;
  transition: opacity 0.5s;
  transition-delay: 1.3s;
}
.sub-visual.active .bg {
  transform: scale(1.15);
}
.sub-visual.active .text-box .sub-title span {
  opacity: 1;
}
.sub-visual.active .btn-scroll {
  opacity: 1;
}

/* ---------------sub-visual END--------------- */
/* 

*/
/* ---------------media query START--------------- */
@media screen and (max-width: 1600px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: 47.5vw;
    max-height: calc(100vh - 95px);
  }
  /* ---------------sub-visual END--------------- */
}
@media screen and (max-width: 1350px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: calc(40vw + 90px);
    max-height: calc(100vh - 90px);
  }
  /* ---------------sub-visual END--------------- */
}
@media screen and (max-width: 1150px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: calc(40vw + 85px);
    max-height: calc(100vh - 85px);
  }
  /* ---------------sub-visual END--------------- */
}
@media screen and (max-width: 991px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: calc(56.25vw + 80px);
  }
  /* ---------------sub-visual END--------------- */
}
@media screen and (max-width: 600px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: calc(70vw + 70px);
  }
  /* ---------------sub-visual END--------------- */
}
@media screen and (max-width: 450px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: calc(70vw + 60px);
  }
  /* ---------------sub-visual END--------------- */
}
@media screen and (max-width: 350px) {
  /* ---------------sub-visual START--------------- */
  .sub-visual {
    height: calc(70vw + 55px);
  }
  /* ---------------sub-visual END--------------- */
}
/* ---------------media query END--------------- */