@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  /* background-color: #1E88E5; */
  background: linear-gradient(#1E88E5, rgb(30, 30, 177));
  overflow-x: hidden;
}

body.scroll-block {
  overflow-y: hidden;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

p {
  margin: 0;
}

p+p {
  margin-top: 1em;
}

figure {
  margin: 0;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

video {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

form {
  margin: 0;
  padding: 0;
}

/*==============
  セクション
 ===============*/
section>h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* セクションタイトル: 英字部分 */
section>h2 span:nth-child(1) {
  display: block;
  font-size: 3rem;
}

/* セクションタイトル: 日本語部分 */
section>h2 span:nth-child(2) {
  font-size: 1.5rem;
}

section>h2 span {
  position: relative;
  font-size: 5rem;
  font-weight: 900;
  color: var(--main-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  user-select: none;
  animation: wave-flow 4s infinite ease-in-out;
}

/* 揺れる背景文字1 薄い方 */
section>h2 span::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #00b3ff;
  z-index: -2;

  filter: blur(1px);
  opacity: 0.6;

  animation: sway 3s ease-in-out infinite reverse;

}

/* 揺れる背景文字2 濃い方 */
section>h2 span::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #0040ff;
  z-index: -1;

  filter: blur(1px);
  opacity: 0.6;

  animation: sway 5s ease-in-out infinite;
}



/* ゆらゆら動くアニメーション */
@keyframes sway {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(4.5px, 4.5px) scale(1.02);
  }

  50% {
    transform: translate(-4.5px, 4.5px) scale(0.98);
  }

  75% {
    transform: translate(-4.5px, -4.5px) scale(1.02);
  }
}
