@charset "UTF-8";

/* iphone 対応 */
@media print,
(prefers-reduced-motion: reduce) {
  .animate__animated {
    -webkit-animation-duration: 1ms !important;
    animation-duration: 1ms !important;
    -webkit-transition-duration: 1ms !important;
    transition-duration: 1ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
  }

  .animate__animated[class*='Out'] {
    opacity: 0;
  }
}


/* menu 潜水艦 位置と動き */
.move-page-top {
  position: fixed;
  right: 5%;
  z-index: 100;
  animation: progress linear;
  animation-timeline: scroll();
  transition: bottom .5s ease;
}

@keyframes progress {
  0% {
    bottom: -80px;
  }

  2% {
    bottom: 40px;
  }

  100% {
    bottom: 40px;
  }
}

/* ふわふわ メニュー */
.fuwafuwa_1 {

  animation: floating-f1 2s ease-in-out infinite alternate-reverse;
}

@keyframes floating-f1 {
  0% {
    transform: translateY(-5%);
  }

  100% {
    transform: translateY(5%);
  }
}

/* ふわふわ メニュー */
.fuwafuwa_2 {

  animation: floating-f2 1.5s ease-in-out infinite alternate-reverse;
}

@keyframes floating-f2 {
  0% {
    transform: translateY(-4%);
  }

  100% {
    transform: translateY(4%);
  }
}

/* ふわふわ キャラクター */
.fuwafuwa_3 {
  animation: floating-f3 2s ease-in-out infinite alternate-reverse;
}

@keyframes floating-f3 {
  0% {
    transform: translateY(0%);
  }

  100% {
    transform: translateY(8%);
  }
}


/* ふわふわ 潜水艦 */
.fuwafuwa_s {

  animation: floating-fs 1s ease-in-out infinite alternate-reverse;
}

@keyframes floating-fs {
  0% {
    transform: translateY(-10%);
  }

  100% {
    transform: translateY(10%);
  }
}

/* ふわふわ 大揺れ */
.fuwafuwa_b {

  animation: floating-fb 2s ease-in-out infinite alternate-reverse;
}

@keyframes floating-fb {
  0% {
    transform: translateY(-40%);
  }

  100% {
    transform: translateY(0%);
  }
}

/* ゆらゆら */
.yurayura_1 {

  animation: floating-y1 1.5s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y1 {
  0% {
    transform: translatex(-4%);
  }

  100% {
    transform: translatex(4%);
  }
}


/* バウンス */
.bounce-in-top {
  position: relative;
  height: 100%;
  width: 100%;
  animation: bounce-in-top 3s ease-in-out both;
}

@keyframes bounce-in-top {
  0% {
    transform: translateY(-500px);
    animation-timing-function: ease-in;
    opacity: 0
  }

  38% {
    transform: translateY(0);
    animation-timing-function: ease-out;
    opacity: 1
  }

  55% {
    transform: translateY(-200px);
    animation-timing-function: ease-in
  }

  72% {
    transform: translateY(0);
    animation-timing-function: ease-out
  }

  81% {
    transform: translateY(-100px);
    animation-timing-function: ease-in
  }

  90% {
    transform: translateY(0);
    animation-timing-function: ease-out
  }

  95% {
    transform: translateY(-50px);
    animation-timing-function: ease-in
  }

  100% {
    transform: translateY(0);
    animation-timing-function: ease-out
  }
}


/* 波 */

.loop_waves-wrap1 {
  display: flex;
  overflow: hidden;
  padding-top: 20px;
}

.loop_waves-wrap2 {
  display: flex;
  overflow: visible;
  margin-top: 0px;
}


.loop_waves {
  animation: loop_animation_right 20s infinite linear 0s both;
  display: flex;
  margin: 0;
}

.wave_1 {
  width: calc(100vw / 3);
}

@media screen and (max-width: 768px) {

  .wave_1 {
    width: calc(100vw / 2);
  }
}

@media screen and (max-width: 576px) {

  .wave_1 {
    width: calc(100vw / 1);
  }
}

.wave_1 img {
  display: block;
  width: 100%;
  margin: -15px -1px -5px;
}

@keyframes loop_animation_right {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(0)
  }
}



/* サポートされていない場合のフォールバック */
@supports not (animation-timeline: view()) {
  .move-page-top {
    opacity: 1;
    z-index: 100;
    bottom: 10px;
  }
}

/* 雪 */

.snow-container {
  position: relative;
  z-index: 0;
}

.snow {
  position: absolute;
  pointer-events: none;
  color: snow;
  font-size: 9px;
  top: -20%;
  left: -5%;
  z-index: 0;

  text-shadow:
    5vw -100px 2px,
    10vw -400px 3px,
    20vw -500px 4px,
    30vw -580px 1px,
    39vw -250px 2px,
    42vw -340px 5px,
    56vw -150px 2px,
    63vw -180px 0,
    78vw -220px 4px,
    86vw -320px 9px,
    94vw -170px 7px;
  /*雪アニメーション1*/
  animation: roll 12s linear infinite;
}

/*2つめの雪アニメーション*/
.snow2nd {
  animation: anim 23s linear infinite;
}

@keyframes roll {
  0% {
    transform: rotate(0deg);
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: rotate(20deg);
    top: 100%;
    opacity: 0;
  }
}

@keyframes anim {
  100% {
    color: transparent;
    top: 150%;
  }
}


/* 泡 */

.bbl-container {
  position: relative;
  z-index: 0;
}

.bbl {
  position: absolute;
  pointer-events: none;
  color: #ffffff;
  height: 30px;
  font-size: 30px;
  top: 0;
  left: 0px;
  z-index: 0;

  text-shadow:
    5vw -100px 2px,
    20vw -500px 4px,
    30vw -580px 1px,
    42vw -340px 5px,
    56vw -150px 2px,
    63vw -180px 0,
    78vw -220px 4px,
    86vw -320px 7px,
    94vw -170px 2px;

  /*泡アニメーション1*/
  animation: awa 17s linear infinite;
}

/*2つめの泡アニメーション*/
.bbl2nd {
  font-size: 20px;
  animation: awa2 23s linear infinite;
}

@keyframes awa {
  0% {
    transform: rotate(0deg);
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: rotate(20deg);
    top: -200%;
    opacity: 0;
  }
}

@keyframes awa2 {
  100% {
    color: transparent;
    top: -200%;
  }
}


/* はじける */
.scale-up-center-rep1 {
  animation: scale-up-center-rep 5s cubic-bezier(.25, .46, .45, .94) 1.5s infinite both
}

.scale-up-center-rep2 {
  animation: scale-up-center-rep 7s cubic-bezier(.25, .46, .45, .94) 2s infinite both
}

.scale-up-center-rep3 {
  animation: scale-up-center-rep 9s cubic-bezier(.25, .46, .45, .94) 2.5s infinite both
}

@keyframes scale-up-center-rep {
  0% {
    transform: scale(0)
  }

  8% {
    transform: scale(1)
  }

  100% {
    transform: scale(1)
  }
}


/* メニューホバー時のメニューの動き */

.g_menu1:hover {
  animation: puff-out-center 0.3s cubic-bezier(.165, .84, .44, 1.000) both
}

.g_menu1:not(:hover) {
  animation: none;
  transform: scale(1);
  opacity: 1;
}


@keyframes puff-out-center {
  0% {
    transform: scale(1);
    filter: blur(0);
    opacity: 1
  }

  98% {
    transform: scale(1.5);
    filter: blur(2px);
    opacity: 0
  }

  100% {
    transform: scale(1);
    filter: blur(0);
    opacity: 1
  }
}

/* 魚 */

.slide-in-left1 {
  -webkit-animation: slide-in-left1 28s linear infinite forwards;
  animation: slide-in-left1 28s linear infinite forwards;
}

@keyframes slide-in-left1 {
  0% {
    transform: translateX(-120%)
  }

  95% {
    transform: translateX(1500%)
  }

  100% {
    transform: translateX(1800%)
  }
}

.slide-in-left2 {
  -webkit-animation: slide-in-left2 15s linear infinite forwards;
  animation: slide-in-left2 15s linear infinite forwards;
}

@keyframes slide-in-left2 {
  0% {
    transform: translateX(-120%)
  }

  90% {
    transform: translateX(1500%)
  }

  100% {
    transform: translateX(1800%)
  }
}

.slide-in-left3 {
  -webkit-animation: slide-in-left3 12s linear infinite forwards;
  animation: slide-in-left3 12s linear infinite forwards;
}

@keyframes slide-in-left3 {
  0% {
    transform: translateX(-120%)
  }

  70% {
    transform: translateX(800%)
  }

  100% {
    transform: translateX(1000%)
  }
}

/* リュウグウノツカイ */

.slide-in-right {
  -webkit-animation: slide-in-right 30s linear infinite forwards;
  animation: slide-in-right 30s linear infinite forwards;
}

@keyframes slide-in-right {
  0% {
    transform: translateX(500%)
  }

  95% {
    transform: translateX(-300%)
  }

  100% {
    transform: translateX(-500%)
  }
}



/* メンダコ */
.sway-x {
  display: inline-block;
  overflow: visible;
  z-index: 2;
  animation: swayX 8.1s ease-in-out infinite alternate;
}

.sway-y {
  overflow: visible;
  animation: swayY 6.3s ease-in-out infinite alternate;
}

@keyframes swayX {
  from {
    transform: translateX(-40px);
  }

  to {
    transform: translateX(360px);
  }
}

@keyframes swayY {
  from {
    transform: translateY(-60px);
  }

  to {
    transform: translateY(150px);
  }
}


/* イルカ */

.dolphin {
  display: inline-block;
  animation: swim 15s infinite ease-in-out;
}

@keyframes swim {
  0% {
    transform: translatex(-100%) translateY(200px) rotate(-20deg);
  }

  10% {
    transform: translatex(300%) translateY(0px) rotate(-10deg);
  }

  30% {
    transform: translatex(500%)translateY(60px) rotate(10deg);
  }
  40% {
    transform: translatex(700%)translateY(0px) rotate(-15deg);
  }
  50% {
    transform: translatex(900%) translateY(100px) rotate(0deg);
  }
  60% {
    transform: translatex(1200%) translateY(200px) rotate(0deg);
  }
  100% {
    transform: translatex(1500%) translateY(200px) rotate(0deg);
  }
}