@charset "utf-8";

.p-top__mv {
  --pt: 190;
  --pb: 0;
  position: relative;
  z-index: 1;
  padding: calc(var(--pt) * 1em/16) 0 calc(var(--pb) * 1em/16);
  background: linear-gradient(to bottom, var(--grad-color01-01), var(--grad-color01-02));
  overflow: hidden;
  @media screen and (max-width: 880px) {
    --pt: 113;
  }
  @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
    padding: calc(var(--pt)/650*90svh) 0 calc(var(--pb)/650*90svh);
  }
}
.p-top__mv-inner {
  --pb: 92;
  position: relative;
  z-index: 1;
  padding-bottom: calc(var(--pb) * 1em/16);
  @media screen and (max-height: 690px) and (min-width: 1025px) {
    font-size: .9em;
  }
  @media screen and (max-height: 630px) and (min-width: 1025px) {
    font-size: .8em;
  }
  @media screen and (max-width: 880px) {
    --pb: 0;
  }
}
.p-top__mvHead {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  @media screen and (max-height: 750px) and (min-width: 1025px) {
    font-size: .9em;
  }
}
.p-top__mvHeadTitle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: min(1em, calc(16/1200*90vw));
  @media screen and (max-width: 880px) {
    font-size: 1em;
  }
  & .sub {
    width: calc(888em/16);
    opacity: 0;
    overflow: hidden;
    @media screen and (max-width: 880px) {
      width: calc(261em/16);
    }
    @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
      width: calc(261/650*90svh);
    }
    & img {
      transform: translate(0, 100%);
      transform-origin: center bottom;
    }
  }
  & .main {
    position: relative;
    z-index: 1;
    margin: calc(-30em/16) calc(11em/16) 0 0;
    width: calc(587em/16);
    transform: scale(0, 0);
    @media screen and (max-width: 880px) {
      margin: calc(-14em/16) auto 0;
      width: calc(327em/16);
    }
    @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
      margin: calc(-14/650*90svh) auto 0;
      width: calc(327/650*90svh);
    }
  }
}
.p-top__mvHeadWave {
  --wave-w: 2338;
  --wave-h: 354;
  --wave-opacity-top: 32;
  --wave-opacity-w: 1879;
  --wave-opacity-h: 320;
  --wave-white-top: 0;
  --wave-white-w: 2013;
  --wave-white-h: 330;
  margin-top: calc(80em/16);
  &::before {
    background-image: url('/image/feature/fx/beginner/top/mv-wave-opacity-2x.png');
  }
  &::after {
    background-image: url('/image/feature/fx/beginner/top/mv-wave-white-2x.png');
  }
  @media screen and (max-width: 880px) {
    --wave-opacity-top: 0;
    --wave-white-top: 34;
    margin-top: calc(246em/16);
  }
}
.p-top__mvBtn {
  margin-top: calc(28em/16);
  overflow: hidden;
  @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
    margin-top: calc(28/650*90svh);
  }
}
.p-top__mvBtnTarget {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: calc(10em/16);
  margin-inline: auto;
  width: min(calc(490em/16), calc(490/1200*90vw));
  height: calc(70em/16);
  color: #fff;
  background: linear-gradient(to bottom, var(--grad-color02-01), var(--grad-color02-02));
  border: calc(5em/16) solid #fff;
  border-radius: 100vmax;
  overflow: hidden;
  transform: translate(0, 100%);
  &::before {
    content: '';
    position: absolute;
    top: calc(5em/16);
    left: calc(15em/16);
    right: calc(15em/16);
    height: calc(30em/16);
    background: linear-gradient(to bottom, rgb(255 255 255/.7), rgb(255 255 255/0));
    border-radius: 100vmax;
  }
  @media screen and (max-width: 880px) {
    width: calc(285em/16);
    height: calc(60em/16);
    border: calc(3em/16) solid #fff;
    &::before {
      height: calc(15em/16);
    }
  }
  & .txt {
    position: relative;
    z-index: 2;
    font-size: calc(30em/16);
    text-transform: uppercase;
    text-shadow:
      2px 2px 0 var(--main-color), -2px -2px 0 var(--main-color),
      -2px 2px 0 var(--main-color), 2px -2px 0 var(--main-color),
      0px 2px 0 var(--main-color),  0 -2px 0 var(--main-color),
      -2px 0 0 var(--main-color), 2px 0 0 var(--main-color);
      letter-spacing: 0.1em;
      filter: drop-shadow(calc(2em/30) calc(2em/30) 0 #ad2c00);
      @media screen and (max-width: 880px) {
        font-size: calc(25em/16);
        filter: drop-shadow(calc(1em/25) calc(1em/25) 0 #ad2c00);
      }
      @media screen and (max-width: 540px) {
      text-shadow:
        1px 1px 0 var(--main-color), -1px -1px 0 var(--main-color),
        -1px 1px 0 var(--main-color), 1px -1px 0 var(--main-color),
        0px 1px 0 var(--main-color),  0 -1px 0 var(--main-color),
        -1px 0 0 var(--main-color), 1px 0 0 var(--main-color);
    }
  }
  & .arrow {
    position: relative;
    z-index: 2;
    width: calc(24em/16);
    filter: drop-shadow(calc(2em/16) calc(2em/16) 0 #ad2c00);
    animation: 2s var(--ease-out-back) infinite both arrowtranslate;
    @media screen and (max-width: 880px) {
      width: calc(18em/16);
      filter: drop-shadow(calc(1em/16) calc(1em/16) 0 #ad2c00);
    }
  }
}
@keyframes arrowtranslate {
   0%, 20%, 45%, 80%, 100% {translate: 0px 0px;}
    40% {translate: 0 -.4em;}
    60% {translate: 0 -.4em;}
}
@media (any-hover: hover) {
  .p-top__mvBtnTarget {
    &::before {
      transition: opacity var(--transition);
    }
    &:is(:hover, :focus-visible) {
      &::before {
        opacity: 0;
      }
    }
  }
  & .txt,
  & .arrow {
    transition: filter var(--transition);
    .p-top__mvBtnTarget:is(:hover, :focus-visible) & {
      filter: drop-shadow(calc(0em/30) calc(0em/30) 0 transparent);
    }
  }
}
.p-top__mvRightimg {
  position: relative;
  z-index: 2;
  transform-origin: right bottom;
  @media screen and (max-width: 1200px) {
    font-size: calc(16/1200*90vw);
  }
  @media screen and (max-width: 880px) {
    margin: calc(-9em/16) 0 calc(-6em/16) auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    font-size: 1em;
  }
}
.p-top__mvLeftimg {
  position: relative;
  transform-origin: left bottom;
  @media screen and (max-width: 1200px) {
    font-size: calc(16/1200*90vw);
  }
  @media screen and (max-width: 880px) {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    font-size: 1em;
  }
  @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
    bottom: calc(2em/16);
  }
}
.p-top__mvRightimgBody {
  position: absolute;
  z-index: 1;
  &:where(.is-kokky) {
    z-index: 2;
    bottom: calc(-1em/16);
    right: calc(-80em/16);
    width: calc(346em/16);
  }
  &:where(.is-fun) {
    bottom: calc(-11em/16);
    right: calc(94em/16);
    width: calc(225em/16);
  }
  @media screen and (min-width: 1680px) {
    right: auto;
    &:where(.is-kokky) {
      right: auto;
      left: 0;
      margin-left: calc(938/var(--section-width)*100%);
    }
    &:where(.is-fun) {
      right: auto;
      left: 0;
      margin-left: calc(886/var(--section-width)*100%);
    }
  }
  @media screen and (max-width: 880px) {
    position: relative;
    right: 0;
    font-size: .5em;
    &:where(.is-kokky) {
      margin-right: calc(6em/16);
    }
    &:where(.is-fun) {
      margin-right: calc(-152em/16);
    }
  }
  @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
    &:where(.is-kokky) {
      margin-right: calc(-16em/16);
    }
    &:where(.is-fun) {
      font-size: .575em;
      margin-right: calc(-172em/16);
    }
  }
}
.p-top__mvLeftimgBody {
  position: absolute;
  z-index: 1;
  &:where(.is-hope) {
    bottom: calc(-7em/16);
    left: calc(-100em/16);
    width: calc(140em/16);
  }
  &:where(.is-worry) {
    z-index: 2;
    bottom: calc(-27em/16);
    left: 0;
    width: calc(103em/16);
  }
  &:where(.is-hajime) {
    z-index: 3;
    bottom: calc(-8em/16);
    left: calc(63em/16);
    width: calc(132em/16);
  }
  &:where(.is-happy) {
    z-index: 2;
    bottom: calc(-32em/16);
    left: calc(154em/16);
    width: calc(115em/16);
  }
  &:where(.is-sad) {
    bottom: calc(-30em/16);
    left: calc(238em/16);
    width: calc(91em/16);
  }
  @media screen and (min-width: 1680px) {
    left: auto;
    right: 0;
    &:where(.is-hope) {
      margin-right: calc(1120/var(--section-width)*100%)
    }
    &:where(.is-worry) {
      margin-right: calc(1068/var(--section-width)*100%)
    }
    &:where(.is-hajime) {
      margin-right: calc(990/var(--section-width)*100%)
    }
    &:where(.is-happy) {
      margin-right: calc(924/var(--section-width)*100%)
    }
    &:where(.is-sad) {
      margin-right: calc(872/var(--section-width)*100%)
    }
  }
  @media screen and (max-width: 880px) {
    position: relative;
    left: 0;
    font-size: .5em;
    &:where(.is-hope) {
      margin-left: calc(-10em/16);
    }
    &:where(.is-worry) {
      margin-left: calc(-48em/16);
    }
    &:where(.is-hajime) {
      margin-left: calc(-40em/16);
    }
    &:where(.is-happy) {
      margin-left: calc(-42em/16);
    }
    &:where(.is-sad) {
      margin-left: calc(-28em/16);
    }
  }
  @media screen and (max-width: 540px) and (max-height: calc(700/400*100vw)) {
    font-size: .575em;
    &:where(.is-hope) {
      margin-left: calc(-36em/16);
    }
  }
}