@charset 'UTF-8';

:root {
  --white: #fff;
  --yellow: #fbff00;
  --blue: #0072fb;
  --lightblue: #45ffff;
  --main-width: 100vw;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  position: relative;
  height: 100%;
}

body {

  /* is-nav-open クラスが付いたらスクロールを禁止する */
  &.is-nav-open {
    overflow: hidden;
  }
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: calc(var(--main-width) * (4.8 / 100));
  font-style: normal;
  font-weight: 700;
  font-feature-settings: "palt";
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--blue);
  letter-spacing: 0.04em;
}

body::before,
body::after {
  position: fixed;
  left: 0;
  display: block;
  width: 100vw;
  height: 50%;
  content: '';
}

body::before {
  top: -49.9999%;
  background: #ebffff;
}

body::after {
  bottom: -50%;
  background: var(--yellow);
}

h2 {
  margin-bottom: 2em;
}

p {
  margin: 1.5em 0;
}

a {
  color: var(--black);
  text-decoration: none;
}

.full {
  width: 100%;
  height: auto;
}

.benesse-logo {
  position: absolute;
  top: 2vw;
  left: 3vw;
  z-index: 999;
  width: calc(var(--main-width) * (20.267 / 100));
  aspect-ratio: 260 / 62;
}

main {
  overflow-x: hidden;
}

.sidebar-left,
.sidebar-right {
  display: none;
}

.page-header-container {
  position: absolute;
  z-index: 99;
  width: var(--main-width);
}

.page-header {
  display: grid;
  place-items: center center;
  padding: calc(var(--main-width) * (2 / 100)) 0;
  background: #fffd;
}

img[src*="/title.png"] {
  width: calc(var(--main-width) * (36.267 / 100));
  height: auto;
}

.kv-container {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  background-color: #45ffff;
}

.kv {
  height: 100%;
  margin-top: -4%;
  background: var(--lightblue);
}

.kv-buttons-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  position: fixed;
  width: var(--main-width);
  margin: auto;
  right: 0;
  z-index: 999;
}

.kv-marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.kv-marquee-inner {
  display: inline-block;
}

.kv-face {
  display: inline-block;
  height: auto;
  padding: 1rem 1.5rem;
}

.kv-face01 {
  width: calc(var(--main-width) * (64.8 / 100));
}

.kv-face02 {
  width: calc(var(--main-width) * (72.267 / 100));
}

.kv-face03 {
  width: calc(var(--main-width) * (64.8 / 100));
}

.kv-face04 {
  width: calc(var(--main-width) * (65.067 / 100));
}

.kv-face05 {
  width: calc(var(--main-width) * (64.8 / 100));
}

.kv-face06 {
  width: calc(var(--main-width) * (65.067 / 100));
}

.kv-face07 {
  width: calc(var(--main-width) * (72 / 100));
}

.kv-face08 {
  width: calc(var(--main-width) * (65.067 / 100));
}

.kv-buttons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2% 0;
  background: #fffd;
}

img[src*="campaign.png"] {
  width: calc(var(--main-width) * (46.13 / 100));
  height: auto;
}

img[src*="/instagram.png"] {
  width: calc(var(--main-width) * (45.33 / 100));
  height: auto;
}

.section-inner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

.section1 {
  position: relative;
}

.section1-inner {
  left: calc(50% - var(--main-width) / 2);
  width: var(--main-width);
  text-align: center;
  background: var(--yellow);
}

.section1-text1 {
  padding-top: calc(var(--main-width) * (20.266 / 100));
  padding-bottom: calc(var(--main-width) * (25.599 / 100));
}

.section1-text1 h2 {
  font-size: calc(var(--main-width) * (8 / 100));
  font-weight: 700;
}

.card-container {
  perspective: calc(var(--main-width) * (666.667 / 100));
}

.card {
  position: relative;
  margin: auto;
  transition: transform 0.2s;
  transform-style: preserve-3d;
}

.card-front,
.card-back {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card-back {
  transform: rotateY(180deg)
}

.card-image {
  width: 100%;
  height: 100%;
}

.card01 {
  transform: rotate(5deg);
}

.card01 .card {
  width: calc(var(--main-width) * (73.333 / 100));
  aspect-ratio: 550 / 636;
}

.card02 {
  margin-top: calc(var(--main-width) * (13 / 100));
  transform: rotate(9deg);
}

.card02 .card {
  width: calc(var(--main-width) * (68 / 100));
  aspect-ratio: 510 / 636;
}

.card03 {
  margin-top: calc(var(--main-width) * (13 / 100));
  transform: rotate(0deg);
}

.card03 .card {
  width: calc(var(--main-width) * (74.667 / 100));
  aspect-ratio: 560 / 686;
}

.card04 {
  margin-top: calc(var(--main-width) * (13 / 100));
  transform: rotate(-5deg);
}

.card04 .card {
  width: calc(var(--main-width) * (81.333 / 100));
  aspect-ratio: 610 / 608;
}

.card05 {
  margin-top: calc(var(--main-width) * (10 / 100));
  transform: rotate(5deg);
}

.card05 .card {
  width: calc(var(--main-width) * (78.4 / 100));
  aspect-ratio: 588 / 638;
}

.card06 {
  margin-top: calc(var(--main-width) * (13 / 100));
  transform: rotate(0deg);
}

.card06 .card {
  width: calc(var(--main-width) * (79.467 / 100));
  aspect-ratio: 596 / 630;
}

.card07 {
  margin-top: 0;
  margin-left: calc(var(--main-width) * (10 / 100));
  transform: rotate(28deg);
}

.card07 .card {
  width: calc(var(--main-width) * (89.067 / 100));
  aspect-ratio: 668 / 726;
}

.card08 {
  margin-top: calc(var(--main-width) * (18 / 100));
  transform: rotate(-5deg);
}

.card08 .card {
  width: calc(var(--main-width) * (81.067 / 100));
  aspect-ratio: 608 / 690;
}

.scrollarrow-container {
  position: relative;
  padding-bottom: calc(var(--main-width) * (20 / 100));
  margin-top: calc(var(--main-width) * (14 / 100));
}

img[src*="/scrollarrow.svg"] {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(var(--main-width) * (3.733 / 100));
  height: auto;
  transform: translate(-50%, 0);
  animation: slide-bottom-alternate 1s ease-in 0s infinite alternate none;
}

img[src*="/scrolltext.svg"] {
  position: absolute;
  top: 0;
  left: calc(50% + var(--main-width) * (5.333 / 100));
  width: calc(var(--main-width) * (1.892 / 100));
  height: auto;
  transform: translate(-50%, 60%);
}

.section2 {
  position: relative;
}

.section2.scrolllock::before {
  position: absolute;
  top: -100dvh;
  left: 0;
  z-index: 100;
  display: block;
  width: 100%;
  height: 100dvh;
  content: '';
}

.section2-inner {
  padding-top: calc(var(--main-width) * (63.467 / 100));
  background: var(--white) top center / var(--main-width) auto url('../asobo-bg01.svg') no-repeat;
}

.section2-content01 {
  text-align: center;
}

img[src*="/asobo-img01.png"] {
  position: relative;
  z-index: 40;
  width: calc(var(--main-width) * (91.733 / 100));
  height: auto;
}

.section2-content01-text {
  position: relative;
  margin-top: calc(var(--main-width) * (-7 / 100));
}

.section2-content01-text p {
  position: relative;
  z-index: 30;
}

.section2-content01-text-bg {
  position: absolute;
  top: calc(var(--main-width) * (-14 / 100));
  left: 0;
  z-index: 20;
  width: var(--main-width);
  aspect-ratio: 1;
  background: var(--lightblue);
  border-radius: 50%;
}

.section2-content02 {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--main-width) * (60 / 100));
  margin-top: calc(var(--main-width) * (-50 / 100));
  text-align: center;
  background: top center / var(--main-width) auto url('../asobo-bg02.png');
}

.op0 {
  opacity: 0;
}

.zoom-forward {
  animation: zoom 500ms linear forwards;
}

.zoom-reverse {
  animation: zoom 400ms linear reverse forwards;
}

.zoom2-forward {
  animation: zoom2 800ms linear forwards;
}

.zoom2-reverse {
  animation: zoom2 400ms linear reverse forwards;
}

.shake {
  animation: shake-animation 3s ease-in-out infinite;
}

.pop-up-forward {
  animation: pop-up-forward-animation 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.pop-up-reverse {
  animation: pop-up-reverse-animation 0.4s ease-out forwards;
}

.from-left {
  --direction-x: -100px;
  /* 横移動の向き（マイナスが左） */
  --direction-rotate: -15deg;
  /* 回転の向き */
}

.from-right {
  --direction-x: 100px;
  /* 横移動の向き（プラスが右） */
  --direction-rotate: 15deg;
  /* 回転の向き */
}

/* "fly-in-forward"クラスが付与された時のアニメーション */
.fly-in-forward {
  animation: fly-in-forward-animation 0.8s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

/* "fly-in-reverse"クラスが付与された時のアニメーション */
.fly-in-reverse {
  animation: fly-in-reverse-animation 0.5s ease-out forwards;
}

img[src*="/kouza.png"] {
  display: block;
  width: calc(var(--main-width) * (84.533 / 100));
  height: auto;
  margin: calc(var(--main-width) * (30.67 / 100)) auto 0;
  position: relative;
  z-index: 2;
}

.trial {
  width: 100%;
  height: calc(var(--main-width) * (35 / 100) / 2);
}

img[src*="/asobo-txt01.png"] {
  width: calc(var(--main-width) * (68.8 / 100));
  height: auto;
}

/*
.rainbow-container {
  position: relative;
  width: calc(var(--main-width) * (90.133 / 100));
  aspect-ratio: 338 / 551;
  margin: calc(var(--main-width) * (68.267 / 100)) auto 0;
}

.rainbow-frame {
  width: 100%;
  height: 100%;
  padding: calc(var(--main-width) * (8 / 100)) calc(var(--main-width) * (5.067 / 100));
  background: center / 100% auto url('../asobo-frm01.svg') no-repeat;
}
*/

.rainbow-container {
  position: relative;
  width: calc(var(--main-width) * (86.67 / 100));
  aspect-ratio: 65 / 107;
  margin: calc(var(--main-width) * (16 / 100)) auto 0;
}

.rainbow-frame {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.rainbow-frame-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  pointer-events: none;
}

.rainbow-text {
  position: absolute;
  top: calc(var(--main-width) * (-23 / 100));
  right: 0;
  width: calc(var(--main-width) * (64 / 100));
  aspect-ratio: 480 / 166;
}

.tags-container {
  margin-top: calc(var(--main-width) * (6.667 / 100));
}

.puppet-container+.tags-container {
  margin-top: calc(var(--main-width) * (24 / 100));
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--main-width) * (2 / 100));
  justify-content: center;
}

.tag {
  padding: calc(var(--main-width) * (0.533 / 100)) calc(var(--main-width) * (3.2 / 100));
  font-size: calc(var(--main-width) * (4.2 / 100));
  color: var(--white);
  background: #833513;
  border-radius: 5vw;
}

.taparea-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 64 / 107;
}

.rainbow-balloon-text {
  position: absolute;
  bottom: calc(var(--main-width) * (40 / 100));
  z-index: 2;
  width: calc(var(--main-width) * (78.67 / 100));
  left: calc(var(--main-width) * (4.8 / 100));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s; /* ふわっと表示させるためのアニメーション */
}

.rainbow-balloon-text.is-active {
  opacity: 1;
  visibility: visible;
}

.taparea {
  position: absolute;
  cursor: pointer;
  z-index: 5;
}

.rainbow-main {
  position: absolute;
  top: calc(var(--main-width) * (9 / 100));
  left: calc(var(--main-width) * (12 / 100));
  width: calc(var(--main-width) * (72 / 100));
}

.taparea-icon {
  position: absolute;
  cursor: pointer;
  animation: continuous-pyonpyon 8s ease-in-out infinite;
  transition: transform 0.2s ease;
  ;
}

.taparea-icon.taparea-icon1 {
  width: calc(var(--main-width) * (12 / 100));
  left: auto;
  right: calc(var(--main-width) * (12 / 100));
  height: auto;
  top: calc(var(--main-width) * (21 / 100));
  animation-delay: 0s;
}

.taparea-icon.taparea-icon2 {
  width: calc(var(--main-width) * (12 / 100));
  left: auto;
  right: calc(var(--main-width) * (32 / 100));
  height: auto;
  top: calc(var(--main-width) * (32 / 100));
  animation-delay: -1.5s;
}

.taparea-icon.taparea-icon3 {
  width: calc(var(--main-width) * (9 / 100));
  left: auto;
  right: calc(var(--main-width) * (8 / 100));
  height: auto;
  top: calc(var(--main-width) * (45 / 100));
  animation-delay: -3s;
}

.taparea-icon.taparea-icon4 {
  width: calc(var(--main-width) * (10 / 100));
  left: auto;
  right: calc(var(--main-width) * (35 / 100));
  height: auto;
  top: calc(var(--main-width) * (69 / 100));
  animation-delay: -4.5s;
}

.taparea-icon.taparea-icon5 {
  width: calc(var(--main-width) * (11 / 100));
  left: auto;
  left: calc(var(--main-width) * (24 / 100));
  height: auto;
  top: calc(var(--main-width) * (56 / 100));
  animation-delay: -6s;
  z-index: 1;
}

.taparea.taparea1 {
  width: calc(var(--main-width) * (12 / 100));
  height: calc(var(--main-width) * (12 / 100));
  left: auto;
  right: calc(var(--main-width) * (12 / 100));
  top: calc(var(--main-width) * (21 / 100));
}

.taparea.taparea2 {
  width: calc(var(--main-width) * (12 / 100));
  height: calc(var(--main-width) * (12 / 100));
  left: auto;
  right: calc(var(--main-width) * (32 / 100));
  top: calc(var(--main-width) * (32 / 100));
}

.taparea.taparea3 {
  width: calc(var(--main-width) * (9 / 100));
  height: calc(var(--main-width) * (12 / 100));
  left: auto;
  right: calc(var(--main-width) * (8 / 100));
  top: calc(var(--main-width) * (45 / 100));
}

.taparea.taparea4 {
  width: calc(var(--main-width) * (10 / 100));
  height: calc(var(--main-width) * (13 / 100));
  left: auto;
  right: calc(var(--main-width) * (35 / 100));
  top: calc(var(--main-width) * (69 / 100));
}

.taparea.taparea5 {
  width: calc(var(--main-width) * (11 / 100));
  height: calc(var(--main-width) * (11 / 100));
  left: auto;
  left: calc(var(--main-width) * (24 / 100));
  top: calc(var(--main-width) * (56 / 100));
}

.textarea-icon {
  position: absolute;
}

.textarea-icon.textarea-icon1 {
  width: calc(var(--main-width) * (21.33 / 100));
  top: calc(var(--main-width) * (12 / 100));
  right: calc(var(--main-width) * (10.67 / 100));
}

.textarea-icon.textarea-icon2 {
  width: calc(var(--main-width) * (10.67 / 100));
  top: calc(var(--main-width) * (38.67 / 100));
  left: calc(var(--main-width) * (36 / 100));
}

.textarea-icon.textarea-icon3 {
  width: calc(var(--main-width) * (9.33 / 100));
  right: calc(var(--main-width) * (4 / 100));
  top: calc(var(--main-width) * (26.67 / 100));
}

.textarea-icon.textarea-icon4 {
  width: calc(var(--main-width) * (8 / 100));
  top: calc(var(--main-width) * (60.27 / 100));
  left: calc(var(--main-width) * (17.33 / 100));
}

.textarea-icon.textarea-icon5 {
  width: calc(var(--main-width) * (14.67 / 100));
  top: calc(var(--main-width) * (60 / 100));
  right: calc(var(--main-width) * (22.67 / 100));
}

.rainbow-balloon {
  width: calc(var(--main-width) * (82 / 100));
  aspect-ratio: 44 / 27;
  margin: 0 auto;
  background: center / 100% auto url('../251014_asobo-txt17.png') no-repeat;
  position: absolute;
  bottom: calc(var(--main-width) * (8 / 100));
  left: 0;
  right: 0;
  overflow: hidden;
  border-radius: calc(var(--main-width) * (2.67 / 100));
}

.rainbow-balloon--bg {
  position: relative;
  overflow: hidden;
}

#rainbow-balloon-img-container {
  width: 119%;
  height: auto;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--main-width) * (-6.67 / 100));
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s, visibility 0.8s;
  background-color: #fff;
}

#rainbow-balloon-img-container.is-active {
  opacity: 1;
  visibility: visible;
}

#rainbow-balloon-img-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 動画のアスペクト比を保ちつつコンテナに収める */
}

.rainbow-balloon-img-container {
  display: grid;
  place-items: center center;
  width: 100%;
  height: 100%;
  /* padding: calc(var(--main-width) * (8 / 100)) calc(var(--main-width) * (3 / 100)) calc(var(--main-width) * (3 / 100)); */
  /* background: center calc(var(--main-width) * (21 / 100)) / calc(var(--main-width) * (35.2 / 100)) auto url('../asobo-txt03.png') no-repeat; */
}

img[src*="/asobo-txt03.png"] {
  width: calc(var(--main-width) * (35.2 / 100));
  height: auto;
}

.puppet-container {
  position: relative;
  width: calc(var(--main-width) * (86.67 / 100));
  aspect-ratio: 65 / 89;
  margin: calc(var(--main-width) * (14.67 / 100)) auto 0;
}

.puppet-text1 {
  position: absolute;
  top: calc(var(--main-width) * (-20 / 100));
  left: calc(var(--main-width) * (-1 / 100));
  width: calc(var(--main-width) * (62.4 / 100));
  height: auto;
}

.puppet-frame1 {
  width: 100%;
  height: 100%;
  background: center / 100% auto url('../251014_asobo-img04.png') no-repeat;
}

.puppet-frame2 {
  position: absolute;
  bottom: calc(var(--main-width) * (-16 / 100));
  left: 0;
  right: 0;
  width: calc(var(--main-width) * (50.67 / 100));
  height: calc(var(--main-width) * (50.67 / 100));
  background: var(--white);
  border: calc(var(--main-width) * (2.13 / 100)) solid #fb019e;
  border-radius: 50%;
  margin: auto;
}

.puppet-text2 {
  position: absolute;
  z-index: 10;
  width: calc(var(--main-width) * (26.67 / 100));
  height: auto;
  bottom: calc(var(--main-width) * (14.67 / 100));
  top: auto;
  left: calc(var(--main-width) * (4 / 100));
}

.puppet-text3 {
  position: absolute;
  z-index: 10;
  height: auto;
  width: calc(var(--main-width) * (26.67 / 100));
  bottom: calc(var(--main-width) * (10.67 / 100));
  top: auto;
  right: calc(var(--main-width) * (4 / 100));
}

.puppet-animation1-wrap {
  position: relative;
  top: calc(var(--main-width) * (1.3 / 100));
  width: 104%;
  height: 100%;
}

.puppet-animation1 {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.puppet-animation1-mask {
  transform: scale(0.00297, 0.00199);
  /* stylelint-disable-line number-max-precision */
}

.puppet-animation2-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: circle(50%);
}

.puppet-animation2 {
  position: absolute;
  top: calc(var(--main-width) * (5 / 100));
  left: calc(var(--main-width) * (-8 / 100));
  right: 0;
  width: 135%;
  height: auto;
}

.touroku-btn {
  position: relative;
  width: calc(var(--main-width) * (81.6 / 100));
  height: auto;
  margin: calc(var(--main-width) * (44 / 100)) auto 0;
}

.touroku-btn__icon {
  width: calc(var(--main-width) * (26.67 / 100));
  ;
  display: block;
  position: absolute;
  top: calc(var(--main-width) * (-13 / 100));
  left: calc(var(--main-width) * (16 / 100));
}

.startset-container {
  position: relative;
  width: calc(var(--main-width) * (81.6 / 100));
  height: auto;
  margin: calc(var(--main-width) * (13.33 / 100)) auto 0;
}

.startset-container__btnicon {
  width: 26.67vw;
  display: block;
  position: absolute;
  top: -13vw;
  left: 16vw;
}

img[src*="/asobo-banner-arrow.svg"] {
  position: absolute;
  top: calc(var(--main-width) * (40 / 100));
  left: calc(var(--main-width) * (32 / 100));
  width: calc(var(--main-width) * (9.6 / 100));
  height: calc(var(--main-width) * (10.667 / 100));
  animation: asobo-banner-arrow 600ms ease-in infinite;
}

.section2-end {
  height: calc(var(--main-width) * (31.733 / 100));
  background: center bottom / calc(var(--main-width) * (27.2 / 100)) auto url('../251014_yellow-border02.png') repeat-x;
}

.shape-container {
  position: absolute;
}

.shape {
  animation: shape 2000ms ease-in-out alternate infinite;
}

.shape01 {
  top: calc(var(--main-width) * (50 / 100));
  left: calc(var(--main-width) * (-14 / 100));
  width: calc(var(--main-width) * (44.533 / 100));
  aspect-ratio: 334 / 288;
}

.shape02 {
  top: calc(var(--main-width) * (320 / 100));
  left: calc(var(--main-width) * (-14 / 100));
  width: calc(var(--main-width) * (49.333 / 100));
  aspect-ratio: 370 / 342;
}

.shape02 .shape {
  animation-duration: 2500ms;
}

.shape03 {
  top: calc(var(--main-width) * (148 / 100));
  right: calc(var(--main-width) * (-13 / 100));
  width: calc(var(--main-width) * (49.333 / 100));
  aspect-ratio: 370 / 342;
}

.shape03 .shape {
  animation-duration: 1800ms;
}

.shape04 {
  /* top: calc(var(--main-width) * (428 / 100)); */
  top: calc(var(--main-width) * (300 / 100));
  right: calc(var(--main-width) * (-19 / 100));
  width: calc(var(--main-width) * (50.667 / 100));
  aspect-ratio: 380 / 310;
}

.shape05 {
  /* top: calc(var(--main-width) * (475 / 100)); */
  top: calc(var(--main-width) * (200 / 100));
  left: calc(var(--main-width) * (-20 / 100));
  width: calc(var(--main-width) * (51.467 / 100));
  aspect-ratio: 386 / 266;
}

.shape05 .shape {
  animation-duration: 1300ms;
}

.shape06 {
  /* top: calc(var(--main-width) * (580 / 100)); */
  top: calc(var(--main-width) * (570 / 100));
  right: calc(var(--main-width) * (-35 / 100));
  width: calc(var(--main-width) * (59.2 / 100));
  aspect-ratio: 444 / 444;
}

.shape06 .shape {
  animation-duration: 2200ms;
}

.section3 {
  position: relative;
}

.section3-inner {
  padding-top: calc(var(--main-width) * (38.67 / 100));
  padding-bottom: calc(var(--main-width) * (13.333 / 100));
  text-align: center;
  background: var(--yellow);
}

main img[src*="banner-campaign.png"] {
  width: calc(var(--main-width) * (93.733 / 100));
  height: auto;
}

img[src*="banner-campaign-arrow.png"] {
  width: calc(var(--main-width) * (81.6 / 100));
}

main img[src*="/banner-news.png"] {
  width: calc(var(--main-width) * (77.6 / 100));
  height: auto;
  margin-top: calc(var(--main-width) * (7.467 / 100));
}

main img[src*="/banner-instagram.png"] {
  width: calc(var(--main-width) * (84.8 / 100));
  height: auto;
  margin-top: calc(var(--main-width) * (10.667 / 100));
}

.banner1,
.banner1 img,
.banner2,
.banner2 img {
  position: relative;
  display: inline-block;
}

.banner1:hover {
  animation: banner3 600ms ease 0s forwards;
}

.banner2:hover {
  animation: banner2 600ms ease 0s forwards;
}

.section4 {
  position: relative;
}

.section4-inner {
  padding-top: calc(var(--main-width) * (18.67 / 100));
  text-align: center;
  background: var(--yellow);
}

.section4-end {
  height: calc(var(--main-width) * (31.733 / 100));
  background: center bottom / calc(var(--main-width) * (27.2 / 100)) auto url('../251014_lightblue-border.png') repeat-x;
}

.section5 {
  position: relative;
}

.section5-inner {
  padding-top: calc(var(--main-width) * (18.67 / 100));
  text-align: center;
  background: #45ffff;
}

.section5-end {
  height: calc(var(--main-width) * (31.733 / 100));
  background: center bottom / calc(var(--main-width) * (27.2 / 100)) auto url('../251014_pink-border.png') repeat-x;
}

.section6 {
  position: relative;
}

.section6-inner {
  padding-top: calc(var(--main-width) * (18.67 / 100));
  text-align: center;
  background: #FF3BBA;
}

.section6-end {
  height: calc(var(--main-width) * (31.733 / 100));
  background: center bottom / calc(var(--main-width) * (27.2 / 100)) auto url('../yellow-border.svg') repeat-x;
}

img[src*="asobo-txt07.png"] {
  width: calc(var(--main-width) * (73.33 / 100));
}

img[src*="asobo-txt06.png"] {
  width: calc(var(--main-width) * (69.33 / 100));
  margin-bottom: calc(var(--main-width) * (5.87 / 100));
}

.section4-content01 {
  margin-bottom: calc(var(--main-width) * (14.67 / 100));
}

img[src*="asobo-txt08.png"] {
  width: calc(var(--main-width) * (65.33 / 100));
  margin-bottom: calc(var(--main-width) * (5.33 / 100));
}

img[src*="asobo-txt09.png"] {
  width: calc(var(--main-width) * (69.33 / 100));
}

.section4-content04 {
  margin-top: calc(var(--main-width) * (32 / 100));
  /* width: 88vw; */
}

.accordion {
  width: calc(var(--main-width) * (88 / 100));
  margin: 0 auto;
}

.accordion__head {
  margin-bottom: calc(var(--main-width) * (1.33 / 100));
  cursor: pointer;
}

.accordion__head *:nth-child(2) {
  display: none;
}

.accordion__head *:nth-child(1) {
  display: block;
}

.accordion__head.is-open *:nth-child(1) {
  display: none;
}

.accordion__head.is-open *:nth-child(2) {
  display: block;
}

.accordion__body {}

.accordion__body-inner {
  border: calc(var(--main-width) * (1.067 / 100)) solid #fb019e;
  background-color: #ffff;
  padding: calc(var(--main-width) * (8 / 100)) calc(var(--main-width) * (5.33 / 100));
}

.accordion__cal-item-inner {
  display: flex;
  flex-direction: column;
  gap: calc(var(--main-width) * (8 / 100));
}

.accordion__cal-img {
  background-color: #ebebeb;
  border-radius: calc(var(--main-width) * (4 / 100));
}

.accordion__cal-ttl {
  margin: 0 auto;
  width: auto;
  height: calc(var(--main-width) * (9.07 / 100));
}

.accordion__cal-ttl img {
  height: 100%;
  width: auto;
}

.accordion__cal-text {
  margin: 0;
}

.accordion.accordion--pink {}

.accordion.accordion--pink .accordion__body-inner {
  border-color: #fb019e;
}

.accordion.accordion--blue .accordion__body-inner {
  border-color: #4646FF;
}

.accordion.accordion--green .accordion__body-inner {
  border-color: #42ef5e;
}

img[src*="asobo-txt12.png"] {
  width: calc(var(--main-width) * (64 / 100));
  margin-bottom: calc(var(--main-width) * (6.67 / 100));
}

img[src*="asobo-txt13.png"] {
  width: calc(var(--main-width) * (74.67 / 100));
}

.startset-animation1,
.startset-animation2,
.startset-animation3,
.startset-animation4 {
  /* 最初は透明で非表示にしておく */
  opacity: 0;
  visibility: hidden;
}

.startset-icon.startset-book {
  position: absolute;
  width: calc(var(--main-width) * (29.33 / 100));
  top: calc(var(--main-width) * (13.33 / 100));
  left: calc(var(--main-width) * (24 / 100));
}

.startset-icon.startset-puppet {
  position: absolute;
  width: calc(var(--main-width) * (40 / 100));
  top: calc(var(--main-width) * (13.33 / 100));
  right: calc(var(--main-width) * (4 / 100));
}

.startset-icon.startset-video {
  position: absolute;
  width: calc(var(--main-width) * (26.67 / 100));
  top: calc(var(--main-width) * (17.33 / 100));
  left: calc(var(--main-width) * (14.67 / 100));
}

.startset-icon.startset-guide {
  position: absolute;
  width: calc(var(--main-width) * (29.33 / 100));
  top: calc(var(--main-width) * (16.8 / 100));
  left: calc(var(--main-width) * (5.33 / 100));
}

.startset-icon.startset-guide img {
  transform: rotate(-15deg);
}

.startset-animation1-mask {
  position: absolute;
  bottom: calc(var(--main-width) * (43.2 / 100));
  left: calc(var(--main-width) * (3.47 / 100));
  width: calc(var(--main-width) * (66.67 / 100));
  z-index: 10;
}

.section5-content04 {
  margin-top: calc(var(--main-width) * (16 / 100));
}

/* .accordion.accordion--blue .accordion__cal-img {
  padding: calc(var(--main-width) * (8 / 100));
} */

img[src*="asobo-txt14.png"] {
  width: calc(var(--main-width) * (64 / 100));
  margin-bottom: calc(var(--main-width) * (5.33 / 100));
}

img[src*="asobo-txt15.png"] {
  width: calc(var(--main-width) * (73.33 / 100));
}

.section6-content04 {
  margin-top: calc(var(--main-width) * (16 / 100));
}

.accordion__text {
  margin: 0 0 calc(var(--main-width) * (8 / 100));
}

.section2-content01__top-balloon {
  width: calc(var(--main-width) * (22.67 / 100));
  margin: 0 auto calc(var(--main-width) * (2.13 / 100));
}

.section2-content01__top-ttl {
  width: calc(var(--main-width) * (85.33 / 100));
  margin: 0 auto;
}

.section2-content01__top-icon {
  width: calc(var(--main-width) * (90.67 / 100));
  margin: calc(var(--main-width) * (-5.33 / 100)) auto 0;
}

.section2-content01__top {
  position: relative;
  z-index: 41;
}

.movie-area {
  width: calc(var(--main-width) * (86.4 / 100));
  margin: calc(var(--main-width) * (-9.33 / 100)) auto 0;
  aspect-ratio: 325 / 576;
  position: relative;
  z-index: 1;
}

.accordion__body {
  /* 初期状態ではアコーディオンの中身を非表示にする */
  display: none;
  border-top: none;
}

/* カスタム矢印の基本スタイル */
.slick-prev-custom,
.slick-next-custom {
  width: calc(var(--main-width) * (12 / 100));
  height: calc(var(--main-width) * (9.33 / 100));
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
  background-color: transparent;
  text-indent: -9999px;
  cursor: pointer;
}

.accordion__cal.accordion__cal--blue .slick-prev-custom,
.accordion__cal.accordion__cal--blue .slick-next-custom {
  top: 40%;
}

.slick-prev-custom {
  left: calc(var(--main-width) * (-4 / 100));
  /* 位置は適宜調整してください */
}

.slick-next-custom {
  right: calc(var(--main-width) * (-4 / 100));
  /* 位置は適宜調整してください */
}

/* 親クラスに応じた矢印画像の切り替え */
.accordion__cal--pink .slick-prev-custom {
  background-image: url('../251014_asobi-frm01-arrow-left.png');
}

.accordion__cal--pink .slick-next-custom {
  background-image: url('../251014_asobi-frm01-arrow-right.png');
}

/* 2種類目の例 */
.accordion__cal--blue .slick-prev-custom {
  background-image: url('../251014_asobi-frm02-arrow-left.png');
}

.accordion__cal--blue .slick-next-custom {
  background-image: url('../251014_asobi-frm02-arrow-right.png');
}

/* 3種類目の例 */
.accordion__cal--green .slick-prev-custom {
  background-image: url('../251014_asobi-frm03-arrow-left.png');
}

.accordion__cal--green .slick-next-custom {
  background-image: url('../251014_asobi-frm03-arrow-right.png');
}

.topscroll {
  margin: calc(var(--main-width) * (5.33 / 100)) calc(var(--main-width) * (4 / 100)) 0 auto;
  width: calc(var(--main-width) * (21.33 / 100));
  display: block;
  background-color: transparent;
  border: none;
}

.topscroll img {
  width: 100%;
}

.section6-content02 .tags-container {
  margin: calc(var(--main-width) * (6.667 / 100)) auto 0;
  width: 87%;
}

.maincontents-scroll {
  width: calc(var(--main-width) * (10.67 / 100));
  display: block;
  position: absolute;
  right: calc(var(--main-width) * (4 / 100));
  top: calc(var(--main-width) * (40 / 100));
}

main {
  padding-bottom: calc(var(--main-width) * (19.47 / 100));
}

.sp-nav {
  position: absolute;
  z-index: 1000;
  width: 100%;
}

.sp-nav__btn {
  position: absolute;
  width: calc(var(--main-width) * (8 / 100));
  right: calc(var(--main-width) * (2.67 / 100));
  top: calc(var(--main-width) * (4 / 100));
}

body.is-nav-open .sp-nav__body {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  width: 100vw;
  height: 100dvh;
}

.sp-nav__body {
  width: 0;
  height: 0;
  background-color: #fff;
  z-index: 1000;
  position: relative;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition: transform 0.4s ease, visibility 0.4s, opacity 0.4s;
}

.sp-nav__icon {
  width: auto;
  text-align: center;
  height: 24vh;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.sp-nav__icon img {
  height: 100%;
  width: auto;
}

.sp-nav__top {
  width: 100%;
}

.sp-nav__menu {
  /* margin-top: calc(var(--main-width) * (13.33 / 100)); */
  margin-top: 7.5vh;
}

.sp-nav__menu li {
  font-size: calc(var(--main-width) * (4.8 / 100));
  text-align: center;
}

.sp-nav__menu li+li {
  /* margin-top: calc(var(--main-width) * (8 / 100)); */
  margin-top: 4.5vh;
}

.main-mask {
  pointer-events: none;
}
@media screen and (width >=650px) {
  body {
    background: var(--yellow) center top / 100px auto url('../body-bg.svg') repeat-x fixed;
    border-top: 1px solid var(--white);
  }

  body::before {
    top: calc(-49.9999% + 60px);
    background: var(--white);
  }

  .benesse-logo {
    position: fixed;
    top: 15px;
    left: 20px;
    width: calc(var(--main-width) * (34.667 / 100));
  }

  .layout {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
  }

  .main-top {
    position: fixed;
    top: 60px;
    left: 50%;
    z-index: 99999;
    box-sizing: content-box;
    width: 375px;
    height: 60px;
    border: 4px solid #002cc1;
    border-bottom: none;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .main-mask {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 99999;
    width: 385px;
    height: 100px;
    background: center top / 100% auto url("../main-mask650.svg") no-repeat;
    transform: translateX(-50%);
  }

  main {
    box-sizing: content-box;
    width: 375px;
    padding-top: 60px;
    margin: auto;
    overflow: hidden;
    background: var(--yellow);
    border-right: 4px solid #002cc1;
    border-left: 4px solid #002cc1;
  }

  .page-header-container {
    top: 60px;
  }

  .sp-nav {
    width: var(--main-width);
  }

  body.is-nav-open .sp-nav__body {
    width: var(--main-width);
    height: 100dvh;
  }

  .kv-container {
    height: calc(100dvh - 60px);
  }
}

@media screen and (width >=1100px) {
  .page-header-container {
    display: none;
  }

  .sp-nav {
    display: none;
  }

  .sidebar-left,
  .sidebar-right {
    position: fixed;
    top: 60px;
    display: block;
    width: calc((100vw - 383px) / 2);
    min-width: 300px;
    height: calc(100% - 60px);
  }

  .sidebar-pos {
    position: relative;
    display: inline-block;
  }

  .sidebar-left {
    left: 0;
    padding-right: 40px;
    text-align: right;
  }

  .sidebar-right {
    top: 160px;
    right: 0;
    padding-left: 40px;
  }

  .sidebar-right .sidebar-pos {
    position: relative;
    display: inline-block;
    max-width: 230px;
    width: 100%;
  }

  .sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-height: calc(100% - 20px);
  }

  .sidebar-right .sidebar-inner {
    gap: 70px;
    justify-content: center;
  }

  .sidebar-inner img.full {
    width: auto;
    max-height: 190px;
  }

  .sidebar-inner img[src*="/title-big.png"].full {
    width: auto;
    max-height: 160px;
  }

  .sidebar-menu {
    font-size: 14px;
    font-weight: 400;
    list-style: decimal-leading-zero;
  }

  .sidebar-menu li:not(:first-child) {
    margin-top: 1.5em;
  }

  .sidebar-menu a {
    font-size: 18px;
    font-weight: 700;
  }

  .sidebar-right img[src*="/banner-news.png"].full {
    width: 233px;
    height: auto;
  }

  .section6-end {
    height: calc(var(--main-width) * (10 / 100));
    background: none;
  }

  .section3 {
    display: none;
  }
}

@media screen and (width >=650px) and (height >=750px) {
  .main-top {
    top: 80px;
  }

  .main-mask {
    height: 120px;
    background-image: url("../main-mask750.svg");
  }

  main {
    padding-top: 80px;
  }

  .page-header-container {
    top: 80px;
  }

  .kv-container {
    height: calc(100dvh - 80px);
  }

  .sidebar-left,
  .sidebar-right {
    top: 80px;
    height: calc(100% - 80px);
  }

  .sidebar-right {
    top: 200px
  }

  .sidebar-inner img.full {
    width: auto;
    max-height: 210px;
  }

  .sidebar-inner img[src*="/title-big.png"].full {
    width: auto;
    max-height: 180px;
  }
}

@media screen and (width >=650px) and (height >=850px) {
  .main-top {
    top: 100px;
  }

  .main-mask {
    height: 140px;
    background-image: url("../main-mask850.svg");
  }

  main {
    padding-top: 100px;
  }

  .page-header-container {
    top: 100px;
  }

  .kv-container {
    height: calc(100dvh - 100px);
  }

  .sidebar-left,
  .sidebar-right {
    top: 100px;
    height: calc(100% - 100px);
  }

  .sidebar-right {
    top: 250px;
  }


  .sidebar-inner img.full {
    width: auto;
    max-height: 230px;
  }

  .sidebar-inner img[src*="/title-big.png"].full {
    width: auto;
    max-height: 200px;
  }
}

@media screen and (width >=650px) and (height >=950px) {
  .main-top {
    top: 120px;
  }

  .main-mask {
    height: 160px;
    background-image: url("../main-mask950.svg");
  }

  main {
    padding-top: 120px;
  }

  .page-header-container {
    top: 120px;
  }

  .kv-container {
    height: calc(100dvh - 120px);
  }

  .sidebar-left,
  .sidebar-right {
    top: 120px;
    height: calc(100% - 120px);
  }

  .sidebar-inner img.full {
    width: auto;
    max-height: 250px;
  }
}

@media screen and (width >=650px) and (height >=1050px) {
  .main-top {
    top: 140px;
  }

  .main-mask {
    height: 180px;
    background-image: url("../main-mask1050.svg");
  }

  main {
    padding-top: 140px;
  }

  .page-header-container {
    top: 140px;
  }

  .kv-container {
    height: calc(100dvh - 140px);
  }

  .sidebar-left,
  .sidebar-right {
    top: 140px;
    height: calc(100% - 140px);
  }
}

@keyframes slide-bottom-alternate {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(calc(var(--main-width) * (6 / 100)));
  }
}

@keyframes zoom {
  0% {
    opacity: 0;
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  3.1% {
    transform: matrix3d(.3, 0, 0, 0, 0, .3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  63.26% {
    opacity: 1;
    transform: matrix3d(1.1, 0, 0, 0, 0, 1.1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  100% {
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

@keyframes zoom2 {
  0% {
    opacity: 0;
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  3.1% {
    opacity: 1;
    transform: matrix3d(.382, 0, 0, 0, 0, .241, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  4.7% {
    transform: matrix3d(.593, 0, 0, 0, 0, .411, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  6.21% {
    transform: matrix3d(.773, 0, 0, 0, 0, .579, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  9.31% {
    transform: matrix3d(1.044, 0, 0, 0, 0, .898, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  9.41% {
    transform: matrix3d(1.05, 0, 0, 0, 0, .907, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  12.41% {
    transform: matrix3d(1.16, 0, 0, 0, 0, 1.115, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  14.11% {
    transform: matrix3d(1.173, 0, 0, 0, 0, 1.184, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  18.72% {
    transform: matrix3d(1.119, 0, 0, 0, 0, 1.231, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  20.12% {
    transform: matrix3d(1.095, 0, 0, 0, 0, 1.218, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  24.32% {
    transform: matrix3d(1.037, 0, 0, 0, 0, 1.148, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  27.73% {
    transform: matrix3d(1.011, 0, 0, 0, 0, 1.082, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  29.93% {
    transform: matrix3d(1.001, 0, 0, 0, 0, 1.044, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  35.54% {
    transform: matrix3d(.991, 0, 0, 0, 0, .978, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  41.04% {
    transform: matrix3d(.99, 0, 0, 0, 0, .961, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  43.14% {
    transform: matrix3d(.99, 0, 0, 0, 0, .963, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  52.15% {
    transform: matrix3d(.998, 0, 0, 0, 0, .991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  58.56% {
    transform: matrix3d(1.001, 0, 0, 0, 0, 1.005, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  63.26% {
    transform: matrix3d(1.002, 0, 0, 0, 0, 1.007, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  73.97% {
    transform: matrix3d(1.001, 0, 0, 0, 0, 1.002, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  85.49% {
    transform: matrix3d(1, 0, 0, 0, 0, .999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  89.39% {
    transform: matrix3d(1, 0, 0, 0, 0, .999, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }

  100% {
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

@keyframes asobo-banner-arrow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(var(--main-width) * (3 / 100)));
  }
}

@keyframes shape {
  0% {
    transform: rotateZ(0);
  }

  100% {
    transform: rotateZ(20deg);
  }
}

@keyframes banner1 {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    transform: translateX(calc(var(--main-width) * (-1.5 / 100)));
  }

  20%,
  40%,
  60% {
    transform: translateX(calc(var(--main-width) * (1.5 / 100)));
  }

  80% {
    transform: translateX(calc(var(--main-width) * (0.5 / 100)));
  }

  90% {
    transform: translateX(calc(var(--main-width) * (-0.5 / 100)));
  }
}

@keyframes banner2 {

  0%,
  100% {
    transform: translateY(0);
  }

  70% {
    transform: translateY(calc(var(--main-width) * (-1.5 / 100)));
  }

  20% {
    transform: translateY(calc(var(--main-width) * (1.5 / 100)));
  }

  80% {
    transform: translateY(calc(var(--main-width) * (0.5 / 100)));
  }

  90% {
    transform: translateY(calc(var(--main-width) * (-0.5 / 100)));
  }
}

@keyframes banner3 {

  0%,
  37.5%,
  75%,
  100% {
    transform: translateX(0);
  }

  18.75% {
    transform: translateX(calc(var(--main-width) * (-4 / 100)));
  }

  30% {
    transform: translateX(calc(var(--main-width) * (1 / 100)));
  }

  56.25% {
    transform: translateX(calc(var(--main-width) * (-4 / 100)));
  }

  67.5% {
    transform: translateX(calc(var(--main-width) * (1 / 100)));
  }
}

@keyframes shake-animation {
  0% {
    transform: rotate(0deg);
  }

  4% {
    transform: rotate(4deg);
  }

  8% {
    transform: rotate(-4deg);
  }

  12% {
    transform: rotate(4deg);
  }

  15% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes pop-up-forward-animation {
  from {
    opacity: 0;
    transform: scale(0.5) translateY(60px);
    /* より小さく、より下から開始 */
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes pop-up-reverse-animation {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(0.5) translateY(60px);
  }
}

@keyframes fly-in-forward-animation {
  0% {
    opacity: 0;
    /* CSS変数を読み込んで、横移動と回転の向きを動的に変更 */
    transform: translateX(var(--direction-x)) translateY(100px) scale(0.3) rotate(var(--direction-rotate));
  }

  50% {
    transform: translateX(0) translateY(-20px) scale(1.1) rotate(calc(var(--direction-rotate) * -0.3));
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1) rotate(0);
  }
}

/* 元に戻る動き（reverse）のキーフレーム */
@keyframes fly-in-reverse-animation {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* ぴょこぴょこ動くアニメーション本体の定義 */
@keyframes continuous-pyonpyon {

  /* 静止しているタイミング */
  0%,
  3%,
  8%,
  100% {
    transform: translateY(0);
  }

  /* 1回目のジャンプの頂点 */
  1.5% {
    transform: translateY(-5px);
  }

  /* 2回目のジャンプの頂点 */
  6.5% {
    transform: translateY(-5px);
  }
}