@charset "UTF-8";
/* 標準アニメーション準備 */
.ani {
  transition: 1s all;
}
.ani.ani_fade {
  opacity: 0;
}
.ani.ani_fade.move {
  opacity: 1;
}
.ani.ani_fadeup {
  opacity: 0;
  position: relative;
  top: 100px;
}
.ani.ani_fadeup.move {
  opacity: 1;
  top: 0;
}
.ani.ani_rightleft {
  opacity: 0;
  position: relative;
  right: -100px;
}
.ani.ani_rightleft.move {
  opacity: 1;
  right: 0;
}
.ani.ani_leftright {
  opacity: 0;
  position: relative;
  left: -100px;
}
.ani.ani_leftright.move {
  opacity: 1;
  left: 0;
}
.ani.ani_popup1 {
  opacity: 0;
  transform: scale(0.6) rotate(0deg);
}
.ani.ani_popup1.move {
  animation: popup1 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}
.ani.ani_popup2 {
  opacity: 0;
  transform: scale(0.3);
}
.ani.ani_popup2.move {
  opacity: 1;
  animation: popup2 0.7s cubic-bezier(0.17, 0.67, 0.14, 1.4) forwards;
}
.ani.ani_popup3 {
  opacity: 0;
  transform: scale(0.8);
}
.ani.ani_popup3.move {
  animation: popup3 0.5s ease forwards;
}
.ani.ani_popup3.move.ani_delay1 {
  animation-delay: 0.1s;
}
.ani.ani_popup3.move.ani_delay2 {
  animation-delay: 0.2s;
}

@keyframes popup1 {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.07) rotate(-1.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes popup2 {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  75% {
    opacity: 1;
    transform: scale(1.25);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes popup3 {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  80% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.img_wipe {
  position: relative;
  top: 0;
  left: 0;
}
.img_wipe::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #c7b6aa;
  content: "";
  transition: all 0.3s ease-out;
}
.img_wipe.wipe_open::before {
  width: 0;
}

.ani_wipe {
  position: relative;
  top: 0;
  left: 0;
}
.ani_wipe::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #c7b6aa;
  content: "";
  transition: all 0.3s ease-out;
}
.ani_wipe.move::before {
  width: 0;
}

.ani_rotateopen {
  text-align: center;
}
.ani_rotateopen img {
  width: 0;
  height: 100%;
  transition: all 0.3s ease-out;
}
.ani_rotateopen.move img {
  width: 100%;
}

.ani_float {
  position: relative;
  top: 30px;
  left: 0;
  opacity: 0;
  transition: all 0.5s ease-out;
  transition-delay: 0.2s;
}
.ani_float.move {
  top: 0px;
  opacity: 1;
}

/*
reveal effect のＣＳＳ設定
*/
/* revealContentを最初は消しておく */
.revealContent {
  opacity: 0;
}

/* revealActiveクラスが追加されて.3s後に表示する */
.move .revealContent {
  -webkit-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
  opacity: 1;
}

.revealItem {
  display: block;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.revealItem.move {
  background: #DFF2FC;
}

/* before擬似要素の黒いblockにanimationをつけておく */
.revealItem.move::before {
  -webkit-animation: hideFromLeft 0.3s forwards, showFromLeft 0.3s forwards 0.3s;
  animation: hideFromLeft 0.3s forwards, showFromLeft 0.3s forwards 0.3s;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #023894;
  margin: 1px;
}

/* before擬似要素を左から右にスライドイン */
@-webkit-keyframes hideFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes hideFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
/* before擬似要素を左から右にスライドアウト */
@-webkit-keyframes showFromLeft {
  0% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}
@keyframes showFromLeft {
  0% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}
/* 画像を使うときはvertical-align bottomをしないと下に余白ができてしまうので注意！！ */
.revealImg {
  width: 300px;
  height: 200px;
  -o-object-fit: cover;
  object-fit: cover;
  vertical-align: bottom;
}