/* スプラッシュアニメーション */
@keyframes splashFadeOutAnimation {
  to {
    transform: translate(-100%, -100%);
  }
}
.splash-fade-out {
  animation: splashFadeOutAnimation 1.5s ease-in forwards;
}
@keyframes splashLogoFadeOutAnimation {
  to {
    opacity: 0;
  }
}
.splash-logo-fade-out {
  animation: splashLogoFadeOutAnimation 1s ease-in forwards;
}

/* ぐるぐる */
@keyframes loop {
  0% {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(-200%);
  }
  to {
    transform: translateX(0);
  }
}

/* page bg loop */
@keyframes slideAndHold {
  0%, 70% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(0);
  }
}

 /* くるくる */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.rotate {
  animation-name: rotate;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* ぷるんぷるん */
@keyframes purun {
  0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
  15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
  30%  { transform: scale(1.5, 1.0) translate(0%, 0%); }
  50%  { transform: scale(0.8, 1.3) translate(0%, -10%); }
  70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

/* ぽよん */
@keyframes poyon {
  0%   { 
    transform: scale(1.0, 1.0) translate(0%, 0%); 
    opacity: 0;
  }
  15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
  30%  { transform: scale(1.3, 0.8) translate(0%, 10%); }
  50%  {
    transform: scale(0.8, 1.3) translate(0%, -10%);
    opacity: 1;
  }
  70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}
.poyon {
  animation-fill-mode: backwards;
  animation-name: poyon;
}

/* かくかく */
@keyframes kakukaku {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(10deg) translateX(-50px); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.kakukaku {
  @media (min-width: 992px) {
    animation: kakukaku 4s infinite;
  }
}

/* かくかく2 */
@keyframes kakukaku2 {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-10deg) translateX(0); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.kakukaku2 {
  @media (min-width: 992px) {
    animation: kakukaku2 4s infinite;
  }
}



.anime-container {
  overflow: hidden;
}
.slide-yoko-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  font-size: 0;
  overflow: hidden;
}
.slide-tate-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  font-size: 0;
  overflow: hidden;
}
.anime {
  visibility: hidden;
  animation-play-state: paused;
  &.animated {
    visibility: visible;
    animation-play-state: running;
  }
}
/* 左から右にスライドイン */
@keyframes slideInFromLeft {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(0);
  }
}
.slideInFromLeft {
  animation-fill-mode: backwards;
  animation-name: slideInFromLeft;
}
/* 左から右にスライドアウト */
@keyframes slideOutFromLeft {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(100%);
  }
}
.slideOutFromLeft {
  animation-fill-mode: backwards;
  animation-name: slideOutFromLeft;
}
/* 右から左にスライドイン */
@keyframes slideInFromRight {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(0);
  }
}
.slideInFromRight {
  animation-fill-mode: backwards;
  animation-name: slideInFromRight;
}
/* 下から上にスライドイン */
@keyframes slideInFromBottom {
  0% {
      transform: translateY(100%);
  }
  100% {
      transform: translateY(0);
  }
}
.slideInFromBottom {
  animation-fill-mode: backwards;
  animation-name: slideInFromBottom;
}
/* 上から下にスライドイン */
@keyframes slideInFromTop {
  0% {
      transform: translateY(-100%);
  }
  100% {
      transform: translateY(0);
  }
}
.slideInFromTop {
  animation-fill-mode: backwards;
  animation-name: slideInFromTop;
}

/* フェードイン */
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
.fadeIn {
  animation-fill-mode: backwards;
  animation-name: fadeIn;
}
/* 下から上にフェードイン */
.fadeInFromBottom {
  animation-fill-mode: backwards;
  animation-name: fadeInFromBottom;
}

@keyframes fadeInFromBottom {
  0% {
      transform: translateY(40px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}
/* 下から上にフェードアウト */
@keyframes fadeOutFromBottom {
  0% {
      transform: translateY(0);
      opacity: 1;
  }
  100% {
      transform: translateY(-40px);
      opacity: 0;
  }
}
/* 上から下にフェードイン */
@keyframes fadeInFromTop {
  0% {
      transform: translateY(-40px);
      opacity: 0;
  }
  100% {
      transform: translateY(0);
      opacity: 1;
  }
}
.fadeInFromTop {
  animation-fill-mode: backwards;
  animation-name: fadeInFromTop;
}
/* 左から右にフェードイン */
@keyframes fadeInFromLeft {
  0% {
      transform: translateX(-40px);
      opacity: 0;
  }
  100% {
      transform: translateX(0);
      opacity: 1;
  }
}
.fadeInFromLeft {
  animation-fill-mode: backwards;
  animation-name: fadeInFromLeft;
}
/* 右から左にフェードイン */
@keyframes fadeInFromRight {
  0% {
      transform: translateX(40px);
      opacity: 0;
  }
  100% {
      transform: translateX(0);
      opacity: 1;
  }
}
.fadeInFromRight {
  animation-fill-mode: backwards;
  animation-name: fadeInFromRight;
}

/* 現れる系共通クラスう */
.slide-in {
  display: inline-block;
  overflow: hidden;
  span {
    display: block;
  }
}
/* 左から右に現れる */
@keyframes appearFromLeft {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(0);
  }
}
.appearFromLeft {
  animation-fill-mode: backwards;
  animation-name: appearFromLeft;
  @media (max-width: 767.98px) {
    width: 100%;
  }
}
/* 右から左に現れる */
@keyframes appearFromRight {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(0);
  }
}
.appearFromRight {
  animation-fill-mode: backwards;
  animation-name: appearFromRight;
  @media (max-width: 767.98px) {
    width: 100%;
  }
}
/* 上から下に現れる */
@keyframes appearFromTop {
  0% {
      transform: translateY(-100%);
  }
  100% {
      transform: translateY(0);
  }
}
.appearFromTop {
  animation-fill-mode: backwards;
  animation-name: appearFromTop;
}
/* 下から上に現れる */
@keyframes appearFromBottom {
  0% {
      transform: translateY(100%);
  }
  100% {
      transform: translateY(0);
  }
}
.appearFromBottom {
  animation-fill-mode: backwards;
  animation-name: appearFromBottom;
}


/* temp */
@keyframes open {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}
@keyframes close {
  from{
    opacity: 1;
  }
  to{
    opacity: 0;
  }
}

@keyframes slideopen {
  from{
    left: -100%;
  }
  to{
    left: 0;
  }
}
@keyframes close {
  from{
    width: 100%;
  }
  to{
    width: 0;
  }
}
@keyframes external-link {
  from{
    transform: translateX(100%);
  }
  to{
    transform: translateX(0);
  }
}
@keyframes move-y {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}
@keyframes move-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}


@for $time from 0 through 100 {
  .anime-tsdu-#{$time} { animation-duration: #{$time * 0.1}s; }
}
@for $time from 0 through 100 {
  .anime-tsde-#{$time} { animation-delay: #{$time * 0.1}s; }
}
.anime-tsdu-6 { animation-duration: 0.6s; }
.anime-tsde-3 { animation-delay: 0.3s; }