.features-contact {
  z-index: 9;
  position: absolute;
  top: -18vw;
  right: 9.3%;
  width: 26.8%;
  overflow: hidden;
}

.features-contact a:hover {
  opacity: 1;
}

.features-contact img {
  transition: transform .3s ease;
}

.features-contact a img:hover {
  transform: scale(1.05);
  opacity: 1;
  transition: transform .3s ease;
}

#features {
  margin-top: -10.5%;
  padding-top: 190px;
}

.features-container {
  width: 1120px;
  margin: 0 auto 0 auto;
}

.features-title {
  width: 397px;
  margin: 0 auto 0 auto;

  img {
    width: 100%;
  }
}

.features-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 70px;
}

.features-left {
  width: 38%;
  position: sticky;
  top: 0;
}

.features-right {
  width: 61.5%;
  margin-bottom: 22px;
}

.features-right-box {
  padding: 29px 0 0 54px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.features-right-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.features-right-box1 {
  background: url(../../images/features_right_box1.png) no-repeat top left;
  background-size: auto;
}

.features-right-box2 {
  background: url(../../images/features_right_box2.png) no-repeat top left;
  background-size: auto;
  margin-top: 71px;
}

.features-right-box3 {
  background: url(../../images/features_right_box3.png) no-repeat top left;
  background-size: auto;
  margin-top: 71px;
}

.features-right-h2 {
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 44px;
}

.features-right-p {
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 32px;
  margin-top: 14px;
  padding-top: 14px;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.features-bottom {
  margin: 0 auto 0 auto;
  width: 960px;
}

/* 横無限スクロール */
.features-infinite {
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.scrolling-wrapper {
  will-change: transform;
  display: flex;
  width: max-content;
  animation: scroll-left 50s linear infinite;
}

.scrolling-text {
  display: inline-block;
  font-size: 160px;
  letter-spacing: 0.02em;
  opacity: 0.5;
  font-family: "din-condensed", sans-serif !important;
  white-space: nowrap;
  padding-right: 4rem;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@media screen and (max-width: 1200px) {
  .features-container {
    width: 80%;
  }
} 


/* タブレット */
@media screen and (max-width: 1024px) {
  .features-container {
    width: 90%;
  }

  .features-bottom {
    width: 75%;
  }
}  


/* SP */
@media screen and (max-width: 768px) {
  .features-contact {
    top: -200px;
    right: -9.7%;
    width: 335px;
  }

  #features {
    margin-top: -28.5%;
    padding-top: 120px;
  }

  .features-container {
    width: 93.6%;
  }

  .features-title {
    width: 84.9%;
    margin: 0 auto 0 auto;
  }

  .features-box {
    display: block;
    margin-top: 20px;
  }

  .features-left {
    position: relative;
    width: 100%;

    img {
      width: 100%;
    }
  }

  .features-right {
    width: 93.1%;
    margin: 0 auto 0 auto;
  }

  .features-right-box {
    padding: 28px 0 0 0;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .features-right-box2 {
    margin-top: 54px;
  }

  .features-right-box3 {
    margin-top: 54px;
  }

  .features-right-h2 {
    font-size: 19px;
    letter-spacing: 0.02em;
    line-height: 30px;
  }

  .features-right-p {
    font-size: 13px;
    letter-spacing: 0.02em;
    line-height: 22px;
    margin-top: 10px;
    padding-top: 10px;
  }

  .features-bottom {
    margin: 22px auto 0 auto;
    width: 100%;
  }

  .scrolling-text {
    font-size: 92px;
  }
}

@media screen and (max-width: 390px) {
  .features-contact {
    top: -46vw;
    right: -16.7%;
  }
}  