// Sass Document

.text {
  // 竭。-1. 縲�.is-show縲阪け繝ゥ繧ケ縺御サ倅ク弱&繧後k蜑�
  overflow-y: hidden;
  span {
    display: inline-block;
    transform: translateY(100%);
  }
  &.is-show {
    // 竭。-1. 縲�.is-show縲阪け繝ゥ繧ケ縺御サ倅ク弱&繧後◆蠕�
    span {
      animation: pop 0.4s ease-out forwards;
      // 竭。-2. 荳€譁�ュ励★縺、繧「繝九Γ繝シ繧キ繝ァ繝ウ縺ョ螳溯。後r驕�サカ縺吶k
      @for $i from 1 through 6 {
        &:nth-child(#{$i}) {
          $delay: $i * 0.5 + s;
          animation-delay: $delay;
        }
      };
    }
  }
}

@keyframes pop {
  0% {
    transform: translateY(100%);
  }
  90% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(0);
  }
}