@charset "utf-8";

/*//////////////////////////////

アニメーションスタイル

//////////////////////////////*/

.animation-fade,
.animation-blur,
.animation-left,
.animation-right,
.animation-top,
.animation-bottom,
.animation-bar,
.animation-bar-wh,
.animation-scale,
.animation-slant {
  visibility: hidden;
}

/* ふわふわするアニメーション */
.anime-float {
  animation: 4s float-anime infinite;
  will-change: transform; /* パフォーマンス向上のため追加 */
}

@keyframes float-anime {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-100px);
  }
}

.fadeIn {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  visibility: visible !important;
  opacity: 0;
  will-change: opacity; /* パフォーマンス向上のため追加 */
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fadeInBlur {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fadeInBlur;
  animation-name: fadeInBlur;
  visibility: visible !important;
  filter: blur(10px);
  opacity: 0;
  will-change: opacity, filter; /* パフォーマンス向上のため追加 */
}
@-webkit-keyframes fadeInBlur {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
  }
}
@keyframes fadeInBlur {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
  }
}

.fadeInRight {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
  visibility: visible !important;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInLeft {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  -o-animation-timing-function: ease;
  -ms-animation-timing-function: ease;
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
  visibility: visible !important;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}
@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-40px);
    -ms-transform: translateX(-40px);
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.fadeInTop {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  -o-animation-timing-function: ease;
  -ms-animation-timing-function: ease;
  -webkit-animation-name: fadeInTop;
  animation-name: fadeInTop;
  visibility: visible !important;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}
@-webkit-keyframes fadeInTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}
@keyframes fadeInTop {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInBottom {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  -o-animation-timing-function: ease;
  -ms-animation-timing-function: ease;
  -webkit-animation-name: fadeInBottom;
  animation-name: fadeInBottom;
  visibility: visible !important;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}
@-webkit-keyframes fadeInBottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}
@keyframes fadeInBottom {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInBottomScale {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  -o-animation-timing-function: ease;
  -ms-animation-timing-function: ease;
  -webkit-animation-name: fadeInBottomScale;
  animation-name: fadeInBottomScale;
  visibility: visible !important;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}

@-webkit-keyframes fadeInBottomScale {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0) scale(1);
  }
}
@keyframes fadeInBottomScale {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px) scale(0.9);
    -ms-transform: translateY(30px) scale(0.9);
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0) scale(1);
    -ms-transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
  }
}

.animationBar {
  display: inline-block;
  position: relative;
  overflow: hidden;
  will-change: opacity; /* パフォーマンス向上のため追加 */
}
.animationBar span {
  animation: 0s fadeIn 0.5s ease forwards;
  opacity: 0;
  visibility: visible !important;
}

.animationBar:before {
  content: "";
  width: 0%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 1);
  visibility: visible !important;
  animation: 2s animationBar 0s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

@keyframes animationBar {
  0% {
    width: 0%;
  }
  40% {
    width: 100%;
  }
  60% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.animationBar-wh {
  display: inline-block;
  position: relative;
  overflow: hidden;
  will-change: opacity; /* パフォーマンス向上のため追加 */
}
.animationBar-wh span {
  animation: 0s fadeIn 0.5s ease forwards;
  opacity: 0;
  visibility: visible !important;
}

.animationBar-wh:before {
  content: "";
  width: 0%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(255, 255, 255, 1);
  visibility: visible !important;
  animation: 2s animationBar-wh 0s cubic-bezier(0.83, 0, 0.17, 1) forwards;
}

@keyframes animationBar-wh {
  0% {
    width: 0%;
  }
  40% {
    width: 100%;
  }
  60% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.fadeInScale {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 2s;
  -ms-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-name: fadeInScale;
  animation-name: fadeInScale;
  visibility: visible !important;
  z-index: 1;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animation-grad-left {
  overflow: hidden;
  position: relative;
  visibility: visible !important;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}
.animation-grad-left:before {
  background: #000;
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  opacity: 0.9;
}
.fadeInGradLeft:before {
  animation: fadeInGradLeft 0.8s cubic-bezier(0.87, 0, 0.13, 1) forwards;
}

@keyframes fadeInGradLeft {
  0% {
  }
  100% {
    transform: translateX(100%);
  }
}

.animation-grad-right {
  overflow: hidden;
  position: relative;
  visibility: visible !important;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}

.animation-grad-right:before {
  background: #000;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  opacity: 0.9;
}
.fadeInGradRight:before {
  animation: fadeInGradRight 0.8s cubic-bezier(0.87, 0, 0.13, 1) forwards;
}

@keyframes fadeInGradRight {
  0% {
  }
  100% {
    transform: translateX(-100%);
  }
}

.fadeInSlant {
  animation-name: fadeInSlant;
  animation-fill-mode: both;
  animation-timing-function: ease;
  animation-duration: 2s;
  animation-delay: 0.3s;
  transform-origin: 50% 0% 0px;
  transform: matrix3d(
    0.996195,
    0,
    0.0871557,
    -0.000217889,
    0.00759612,
    0.996195,
    -0.0868241,
    0.00021706,
    -0.0868241,
    0.0871557,
    0.992404,
    -0.00248101,
    0,
    90,
    0,
    1
  );
  visibility: visible !important;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}

@-webkit-keyframes fadeInSlant {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}
@keyframes fadeInSlant {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

.fadeInLeftTop {
  animation-fill-mode: both;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-name: fadeInLeftTop;
  visibility: visible !important;
  transform-origin: top right;
  opacity: 0;
  will-change: opacity, transform; /* パフォーマンス向上のため追加 */
}

@keyframes fadeInLeftTop {
  0% {
    opacity: 0;
    transform: skewY(-0deg) scale(1.2) translateY(-40px) translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: skewY(-0deg) scale(1) translateY(0px) translateX(0px);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}

@media screen and (max-width: 768px) {
  .delay-sp-0 {
    animation-delay: 0s;
  }
  .delay-sp-1 {
    animation-delay: 0.1s;
  }
  .delay-sp-2 {
    animation-delay: 0.2s;
  }
  .delay-sp-3 {
    animation-delay: 0.3s;
  }
  .delay-sp-4 {
    animation-delay: 0.4s;
  }
  .delay-sp-5 {
    animation-delay: 0.5s;
  }
}
