* {
  color: #252525;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Lexend Giga", "Noto Serif JP", serif, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  background: linear-gradient(110deg, #84d9d9, #befd84, #84d9d9, #ffb8d2) fixed;
  background-size: 800% 800%;
  animation: GradietionAnimation 20s ease infinite;
}
@keyframes GradietionAnimation {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.sp-only {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
}

/* ==========
loading
==========*/
body.loading-lock {
  height: 100vh;
  overflow: hidden;

  touch-action: none;
}
.loading {
  opacity: 1;
  position: fixed;
  z-index: 999999;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  background: linear-gradient(110deg, #84d9d9, #befd84, #84d9d9, #ffb8d2) fixed;
  background-size: 800% 800%;
  background-size: 800% 800%;
  transition: opacity 1s ease;
}
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3em;

  aspect-ratio: 1/2;
  filter: url(#goo);
}
.loader:nth-child(2) {
  left: 40%;
  transform: translate(0, -50%);
}
.loader:nth-child(3) {
  right: 40%;
  left: auto;
  transform: translate(0, -50%);
}

#goo {
  display: none;
}

.loader:before, .loader:after {
  position: absolute;
  width: 100%;
  margin: auto;
  border-radius: 50%;
  content: "";
  animation: 1.5s ease-out infinite loader;

  aspect-ratio: 1/1;
  inset: 0;
}

.loader:before {
  background: #ffffff;
}

.loader:after {
  background: #ffffff;
  animation-delay: .75s;
}

@keyframes loader {
  0%, 50%, 100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(70%);
  }

  75% {
    transform: translateY(-70%);
  }
}

@media screen and (max-width: 768px) {
  .loader {
    width: 2em;
  }
  .loader:nth-child(2) {
    left: 50px;
  }
  .loader:nth-child(3) {
    right: 50px;
  }
}

/* ==========
header
==========*/
.hamburger {
  opacity: 0;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 99999;
  width: 70px;
  height: 45px;
  cursor: pointer;
  transition: opacity 1s ease;

  pointer-events: none;
}
.hamburger.is-visible {
  opacity: 1;

  pointer-events: auto;
}
.hamburger-menu {
  color: #ffffff;
  font-weight: bold;
  text-align: center;
}

.header-nav {
  display: none;
}
.header-nav {
  position: fixed;
  right: 0;
  z-index: 99998;
  width: 70%;
  height: 100vh;
  background-color: #db2f6ee3;
}
.header-nav__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  gap: 20px;
}
.header-nav__list a {
  color: #ffffff;
  font-size: 24px;
}

/* ==========
text
==========*/
.sec__text--marker-black {
  padding: 5px 8px;
  background-color: #313131;
  color: #ffffff;
  font-weight: bold;
}
.sec__text--marker-white {
  padding: 5px 8px;
  background-color: #ffffff;
  color: #313131;
  font-weight: bold;
}
.sec__text--big {
  font-weight: bold;
  font-size: 44px;
}

/* スライドで入るテキスト */
.slide-in {
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}
.slide-in.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* グリッチアニメーション */
.glitch {
  position: relative;
  margin: 0 auto;
  font-size: 100px;
}

.glitch:after {
  position: absolute;
  top: 0;
  left: 2px;
  overflow: hidden;
  text-shadow: -2px 0 #db2f6e;
  content: attr(data-text);
  animation: noise-anim 2s infinite linear alternate-reverse;

  clip: rect(0, 900px, 0, 0);
}
.glitch:before {
  position: absolute;
  top: 0;
  left: -2px;
  overflow: hidden;
  text-shadow: 3px 0 #84d9d9;
  content: attr(data-text);
  animation: noise-anim-2 3s infinite linear alternate-reverse;

  clip: rect(0, 900px, 0, 0);
}
@keyframes noise-anim {
  0% {
    clip: rect(12px, 9999px, 85px, 0);
  }
  5% {
    clip: rect(65px, 9999px, 29px, 0);
  }
  10% {
    clip: rect(54px, 9999px, 78px, 0);
  }
  15% {
    clip: rect(18px, 9999px, 39px, 0);
  }
  20% {
    clip: rect(32px, 9999px, 90px, 0);
  }
  25% {
    clip: rect(13px, 9999px, 51px, 0);
  }
  30% {
    clip: rect(79px, 9999px, 95px, 0);
  }
  35% {
    clip: rect(42px, 9999px, 60px, 0);
  }
  40% {
    clip: rect(22px, 9999px, 70px, 0);
  }
  45% {
    clip: rect(31px, 9999px, 91px, 0);
  }
  50% {
    clip: rect(45px, 9999px, 76px, 0);
  }
  55% {
    clip: rect(38px, 9999px, 88px, 0);
  }
  60% {
    clip: rect(69px, 9999px, 100px, 0);
  }
  65% {
    clip: rect(24px, 9999px, 53px, 0);
  }
  70% {
    clip: rect(30px, 9999px, 92px, 0);
  }
  75% {
    clip: rect(11px, 9999px, 62px, 0);
  }
  80% {
    clip: rect(40px, 9999px, 83px, 0);
  }
  85% {
    clip: rect(17px, 9999px, 57px, 0);
  }
  90% {
    clip: rect(56px, 9999px, 99px, 0);
  }
  95% {
    clip: rect(27px, 9999px, 67px, 0);
  }
  100% {
    clip: rect(36px, 9999px, 74px, 0);
  }
}

@keyframes noise-anim-2 {
  0% {
    clip: rect(21px, 9999px, 87px, 0);
  }
  5% {
    clip: rect(38px, 9999px, 49px, 0);
  }
  10% {
    clip: rect(11px, 9999px, 91px, 0);
  }
  15% {
    clip: rect(58px, 9999px, 43px, 0);
  }
  20% {
    clip: rect(40px, 9999px, 96px, 0);
  }
  25% {
    clip: rect(13px, 9999px, 63px, 0);
  }
  30% {
    clip: rect(71px, 9999px, 79px, 0);
  }
  35% {
    clip: rect(28px, 9999px, 58px, 0);
  }
  40% {
    clip: rect(18px, 9999px, 82px, 0);
  }
  45% {
    clip: rect(30px, 9999px, 65px, 0);
  }
  50% {
    clip: rect(47px, 9999px, 88px, 0);
  }
  55% {
    clip: rect(34px, 9999px, 92px, 0);
  }
  60% {
    clip: rect(60px, 9999px, 97px, 0);
  }
  65% {
    clip: rect(23px, 9999px, 55px, 0);
  }
  70% {
    clip: rect(26px, 9999px, 94px, 0);
  }
  75% {
    clip: rect(19px, 9999px, 66px, 0);
  }
  80% {
    clip: rect(37px, 9999px, 84px, 0);
  }
  85% {
    clip: rect(15px, 9999px, 61px, 0);
  }
  90% {
    clip: rect(52px, 9999px, 98px, 0);
  }
  95% {
    clip: rect(29px, 9999px, 69px, 0);
  }
  100% {
    clip: rect(41px, 9999px, 73px, 0);
  }
}

/* ==========
section共通
==========*/
.sec__inner {
  max-width: 1100px;
  margin: 0 auto 200px;
  padding: 0 20px;
}

/* ==========
スクロールダウン
==========*/
.scroll-down {
  position: absolute;
  right: 50%;
  bottom: 0;
  animation: arrowmove 1s ease-in-out infinite;
}

.scroll-down a {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 84px;
  color: #313131;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-down__text {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 70px;
  color: #313131;
  font-size: 12px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.arrow {
  opacity: 0;
  position: absolute;
  transform: scale3d(.5, .5, .5);
  width: 28px;
  height: 5px;
  animation: move 3s ease-out infinite;
}

.arrow:first-child {
  animation: move 3s ease-out 1s infinite;
}

.arrow:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.arrow:before, .arrow:after {
  position: absolute;
  top: 0;
  width: 51%;
  height: 100%;
  background: #313131;
  content: " ";
}

.arrow:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.arrow:after {
  right: 0;
  transform: skew(0deg, -30deg);
  width: 50%;
}

@keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(.5, .5, .5);
  }
}

/* ==========
見出し
==========*/
.heading__h2 {
  position: relative;
  margin-bottom: 32px;
  font-weight: bold;
  font-size: 40px;
}
.heading__h2::before {
  position: absolute;
  top: 50%;
  left: -170px;
  transform: translateY(-50%);
  width: 150px;
  height: 5px;
  background-color: #252525;
  content: "";
}
.heading__h3 {
  font-weight: bold;
  font-size: 32px;
}

/* ==========
ボタン
==========*/
.sec__btn {
  position: relative;
  width: 220px;
  height: 30px;
  margin-left: auto;
  overflow: hidden;
  transition: .3s;
}
.sec__btn::before {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 70px;
  height: 3px;
  background-color: #252525;
  content: "";
}
.sec__btn a {
  display: block;
  position: relative;
  width: 100%;
  font-size: 20px;
  transition: .3s;
}

.sec__btn--pink::after {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #db2f6e;
  content: "";
  transition: .3s;
}
.sec__btn--pink:hover::after {
  right: 5px;
}
.sec__btn--blue::after {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #71c9c9;
  content: "";
  transition: .3s;
}
.sec__btn--blue:hover::after {
  right: 5px;
}
