@charset "UTF-8";

/*---------------------------------------------------------
ヒントボックス
---------------------------------------------------------*/
.scroll-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  animation: scroll-container .5s linear;
}

@keyframes scroll-container {
  0% {
    opacity: 0;
  }
  
  100% {
    opacity: 1;
  }
}

  .scroll-container .scroll-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0;
    /*矢印*/
    /*テキスト*/ }


    .scroll-container .scroll-hint::before {
      content: "";
      width: 34px;
      height: 14px;
      margin-bottom: 5px;
      display: block;
      background-repeat: no-repeat;
      background-image: url("../scroll_hint/scroll-hint_arrow.svg");
      opacity: 1;
      transition-delay: 2.4s; }

    .scroll-container .scroll-hint::after {
      font-size: 10px;
      line-height: 10px;
      content: "Scroll"; }

    .scroll-container .scroll-hint div {
      width: 100%;
      text-align: center;
      /*指のポインター*/ }

      .scroll-container .scroll-hint div::after,
.scroll-container .scroll-hint div::before {
        display: block; }

      .scroll-container .scroll-hint div::after {
        width: 40px;
        height: 40px;
        margin: 0 auto 5px auto;
        content: "";
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url("../scroll_hint/scroll-hint_finger_pointer.svg");
        animation: scroll-hint-finger_pointer 1.2s linear;
        animation-iteration-count: 2; }

@keyframes scroll-hint-finger_pointer {
  0% {
    transform: translateX(40px);
    opacity: 0;
  }
  
  10% {
    opacity: 1;
  }
  
  50%,100% {
    transform: translateX(-40px);
    opacity: 0;
  }
}
