body {
  overflow-x: hidden;
}

.inner {
  position: relative;
}

@media screen and (max-width: 767px) {
  .pc_display {
    display: none !important;
  }
}

.rowdies-light {
  font-family: 'Rowdies', sans-serif;
  font-weight: 300;
  font-style: normal;
}

.rowdies-regular {
  font-family: 'Rowdies', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.rowdies-bold {
  font-family: 'Rowdies', sans-serif;
  font-weight: 700;
  font-style: normal;
}

header#header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
}

.main-visual-wrapper {
  /*height: 49vw;*/
  height: 100vh;
  display: flex;
  background: black;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.main-visual {
  display: flex;
  width: 100%;
  height: 100%;
}

.left-visual {
  width: 53%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: #fff;
}

.left-visual img,
.left-visual video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
/* Safari */
_::-webkit-full-page-media,
_:future,
:root {
  .left-visual img,
  .left-visual video {
    transition: none;
  }
}
.left-visual video {
  cursor: pointer; /* クリック可能であることを示す */
}

.left-visual video.active {
  opacity: 1;
  z-index: 2;
}
.left-visual img.active {
  opacity: 1;
  z-index: 2;
}

.left-visual img.slide-in-left {
  animation: slideInLeft 0.3s ease forwards;
  z-index: 3;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.main-visual h1 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 53%;
  z-index: 2;
  aspect-ratio: 765/274;
  height: auto;
  background-image: url(../img/top/mv_title.png);
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
  &.initialized {
    opacity: 1;
  }
  &.video-active {
    &.slide-0 {
      background-image: url(../img/top/mv_title_video_little.png);
    }
    &.slide-1 {
      background-image: url(../img/top/mv_title_video_kids.png);
    }
    &.slide-2 {
      background-image: url(../img/top/mv_title_video_teens.png);
    }
    &.slide-3 {
      background-image: url(../img/top/mv_title_video_adults.png);
    }
  }
}

.top-buttons {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.2vw;
  z-index: 101;
  box-shadow: 0 0.3vw 0.3vw rgba(0, 0, 0, 0.1);
  padding: 0 0 0.2vw 0.2vw;
  border-radius: 0 0 0 1vw;
  .btn {
    display: flex;
    font-size: 0.8vw;
    background: #f4f4f4;
    color: #000;
    padding: 0 1.5em;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    height: 4em;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
    text-align: center;
    &:hover {
      opacity: 1;
      background-color: #d2d7d5;
    }
    &.schedule {
      border-radius: 0 0 0 1vw;
    }
    &.trial {
      background: #f15a24; /* お問い合わせ：オレンジ */
      color: #fff;
      padding-inline: 3.8em;
      &:hover {
        background-color: #843202;
      }
    }
  }
}

.top-nav {
  position: absolute;
  top: 4.5vw;
  right: 1vw;
  z-index: 100;
  .nav-list {
    display: flex;
    gap: 1.3vw;
    list-style: none;
    margin: 0;
    padding: 0;
    li {
      a {
        text-decoration: none;
        font-size: 0.9vw;
        color: #000;
        font-weight: bold;
        transition: opacity 0.3s;
        &:hover {
          color: #f15a24;
        }
      }
    }
  }
}

.main-visual .logo {
  position: absolute;
  right: 0;
  width: 47%;
  bottom: 2vw;
  text-align: center;
  z-index: 20;
  img {
    width: 50%;
    max-width: 300px;
  }
  p {
    font-size: 0.8vw;
    margin-top: 1em;
  }
}

.right-panel {
  width: 47%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: white;
  z-index: 2;
}

.main-visual .swiper {
  width: 100%;
  margin-left: -5vw;
  padding-left: 27vw;
  padding-right: 33vw;
  overflow: visible;
  overflow-y: visible;
  /*margin-top:10vw;*/
  margin-top: 20vh;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.main-visual .swiper.show {
  opacity: 1;
}

.main-visual .swiper-slide {
  width: 18vw;
  height: 30vw;
  background-size: 100%;
  background-position: center;
  border-radius: 1.5vw;
  flex-shrink: 0;
  transition: top 0.5s ease;
  top: 0;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 初回はコンテナごと不可視＆全アニメ停止 */
.prehide {
  opacity: 0 !important;
  visibility: hidden !important; /* レイアウトは維持 */
}
.no-gap-anim .swiper-slide,
.no-gap-anim .swiper-slide * {
  transition: none !important;
  animation: none !important;
}

/* 左端に来たスライドは非表示（幅は維持） */
.swiper-slide.is-left-gap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 以降のフェードが必要なら */
.gap-anim .swiper-slide.is-left-gap {
  transition: opacity 0.3s linear;
}
.swiper-fade {
  transition: opacity 0.4s ease;
}
.show-now {
  opacity: 1 !important;
  visibility: visible !important;
}

.main-visual .swiper-slide img {
  transition: top 0.3s, right 0.3s, height 0.3s;
  position: absolute;
  max-width: none;
  width: auto;
  height: 25.1vw;
  right: 13%;
  top: 5.6%;
}
.main-visual .swiper-slide-prev {
  top: -2vw;
  z-index: 1;
}
.main-visual .swiper-slide-prev img {
  height: 33.6vw;
  position: absolute;
  top: -3%;
  right: 6%;
  transition-delay: 1.2s;
}
.no-initial-delay .main-visual .pc_display .swiper-slide.swiper-slide-prev img {
  transition-delay: 0s !important;
}
.main-visual .swiper-slide02 img {
  top: 6.6%;
}
.main-visual .swiper-slide-prev img {
  &:where(.swiper-slide02 &) {
    top: -6%;
    right: 3%;
  }
}
.main-visual .swiper-slide-prev img {
  &:where(.swiper-slide03 &) {
    top: -5.6%;
    right: -4%;
  }
}
.main-visual .swiper-slide-prev img {
  &:where(.swiper-slide04 &) {
    top: -4%;
    right: -3%;
  }
}

.content {
  margin-top: 100vh;
  position: relative;
  z-index: 100;
  background-color: #fff;
}

.content .top {
  text-align: center;
  background-color: #e1dddb;
  padding: 7rem 0 15rem;
  h2 {
    font-size: 3rem;
    font-weight: bold;
    background: url(../img/top/fun_title_border.png) center bottom no-repeat;
    margin-bottom: 0.3em;
    padding-bottom: 0.3em;
    + p {
      font-size: 1.8rem;
      margin-top: 0.5em;
      margin-bottom: 1.5em;
    }
  }
  ul {
    display: flex;
    justify-content: center;
    li {
      a {
        padding: 1em 0;
        display: block;
        width: 11em;
        box-sizing: border-box;
        padding-left: 1em;
        background: url(../img/top/btn_arrow01.png) right center/1.75em no-repeat;
        background-color: #fff;
        border-radius: 0.5em;
        text-align: left;
        box-shadow: 0 0.3vw 0.3vw rgba(0, 0, 0, 0.1);
        margin: 0 0.5em;
        transition-duration: 0.3s;
        &:hover {
          opacity: 1;
          color: #fff;
          background: url(../img/top/btn_arrow01.png) right center/1.75em no-repeat;
          background-color: #ec9f01;
        }
      }
      &:nth-of-type(2) a {
        background: url(../img/top/btn_arrow02.png) right center/1.75em no-repeat;
        background-color: #fff;
        &:hover {
          background: url(../img/top/btn_arrow02.png) right center/1.75em no-repeat;
          background-color: #268360;
        }
      }
      &:nth-of-type(3) a {
        background: url(../img/top/btn_arrow03.png) right center/1.75em no-repeat;
        background-color: #fff;
        &:hover {
          background: url(../img/top/btn_arrow03.png) right center/1.75em no-repeat;
          background-color: #ec6039;
        }
      }
      &:nth-of-type(4) a {
        background: url(../img/top/btn_arrow04.png) right center/1.75em no-repeat;
        background-color: #fff;
        &:hover {
          background: url(../img/top/btn_arrow04.png) right center/1.75em no-repeat;
          background-color: #004fa8;
        }
      }
    }
  }
}

.banner_area {
  background-color: #efebe9;
  padding: 9rem 0;
  border-radius: 5vw 5vw 0 0;
  position: relative;
  top: -9rem;
  margin-bottom: -9rem;
}

main h3 {
  font-size: 2rem;
  text-align: left;
  span {
    font-family: 'Rowdies', sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 8rem;
    display: inline-block;
    margin-bottom: -0.5em;
    position: relative;
    color: #f06414;
    white-space: nowrap;
    &:before {
      content: '';
      position: absolute;
      right: 0;
      top: 0.1em;
      width: 0.4em;
      height: 0.1em;
      background-color: #fae500;
      border-radius: 3em;
    }
  }
}

#about {
  background: url(../img/top/about_bg.avif) center top no-repeat;
  background-color: #efebe9;
  height: 1168px;
  .inner {
    > div {
      padding-left: 52%;
      text-align: right;
      h3 {
        padding-top: 25rem;
        display: inline-block;
        margin-left: auto;
        color: #fff;
        span {
          color: #fff;
        }
      }
      h4 {
        margin-top: 5rem;
        text-align: left;
        + p {
          font-size: 2rem;
          color: #fff;
          line-height: 1.8;
          margin-top: 1em;
          margin-bottom: 1em;
          text-align: left;
        }
      }
    }
  }
}

main .common_btn {
  text-align: left;
  a {
    background-color: #3e3e3e;
    padding: 1em 0 1em 3em;
    display: block;
    border-radius: 3em;
    box-sizing: border-box;
    width: 17em;
    position: relative;
    overflow: hidden;
    &:hover {
      opacity: 1;
    }
    span {
      color: #fff;
      font-size: 1.8rem;
      position: relative;
      z-index: 2;
      width: 100%;
      display: block;
      &:before {
        content: '';
        position: absolute;
        width: 0.7em;
        height: 0.7em;
        top: 50%;
        left: -1.5em;
        border-radius: 50%;
        background-color: #fff;
        transform: translateY(-50%);
      }
      &:after {
        content: '';
        background: url(/wp-content/themes/pgfamily/asset/img/common/arrow_dot_white.svg) 0 0 / contain no-repeat;
        width: 1.333em;
        height: auto;
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
        aspect-ratio: 28/15;
      }
    }
    &:after {
      content: '';
      position: absolute;
      background-color: #eb610f;
      width: 100%;
      height: 100%;
      left: -100%;
      top: 0;
      transition-duration: 0.3s;
      z-index: 1;
    }
    &:hover:after {
      left: 0%;
    }
  }
}

.loop-banner {
  overflow: hidden;
  width: 100%;
  background-color: #fff;
  padding-top: 10rem;
  display: flex;
  flex-direction: column;
  row-gap: 2.6rem;
}

.loop-img {
  display: flex;
  width: max-content;
  animation: scrollLoop 56s linear infinite;
  column-gap: 1.2rem;
  &.reverse {
    animation: scrollLoopReverse 51s linear infinite;
    column-gap: 1.6rem;
  }
}

.loop-img img {
  height: auto;
  display: block;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes scrollLoopReverse {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

#feature {
  background: url(../img/top/feature_bg.avif) center 20rem /100% no-repeat;
  background-color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-bottom: 15rem;
  .inner {
    width: 1091px;
    overflow: visible;
  }
  h3 {
    background: url(../img/top/feature_title_bg.png) center top no-repeat;
    padding-top: 10rem;
    padding-bottom: 4rem;
    top: -23rem;
    position: relative;
    margin-bottom: -22rem;
    text-align: center;
    + ul {
      border: solid 1px #d9d9d9;
      margin-bottom: 5.4rem;
      border-radius: 0 0 2rem 2rem;
      box-shadow: 4rem 4rem 2rem rgba(0, 0, 0, 0.1);
      background-color: #fff;
      li {
        width: 33.33%;
        border-right: solid 1px #d9d9d9;
        padding: 6.3rem 0 6rem;
        position: relative;
        &:last-child {
          border-right: none;
        }
        .number {
          color: #f06414;
          font-family: 'Rowdies', sans-serif;
          font-weight: 300;
          font-style: normal;
          font-size: 3.5rem;
          position: absolute;
          top: 0.3em;
          left: 0.6em;
        }
        div {
          text-align: left;
          width: 75%;
          margin: 0 auto;
          p {
            font-size: 2rem;
            text-align: center;
            margin: 1.5em 0 1em;
            font-weight: bold;
            span {
              color: #f06414;
            }
          }
        }
      }
    }
  }
  .voice {
    background-color: #25815c;
    text-align: center;
    padding: 5rem 0;
    border-radius: 2rem;
    position: relative;
    &:before {
      content: '';
      width: 0;
      height: 0;
      border-left: 1.5rem solid transparent;
      border-right: 1.5rem solid transparent;
      border-bottom: 2rem solid #25815c;
      position: absolute;
      top: -2rem;
      left: 50%;
      margin-left: -1.5rem;
    }
    h4 {
      font-size: 3.2rem;
      color: #fff;
      display: inline-block;
      position: relative;
      margin-bottom: 1em;
      font-family: 'Rowdies', sans-serif;
    }
    .voice-slider {
      @media screen and (min-width: 768px) {
        overflow: visible;
      }
    }
    .swiper-wrapper {
      .swiper-slide {
        width: 33.33%;
        box-sizing: border-box;
        padding: 0 3.8%;
        border-right: 1px solid #fff;
        text-align: left;
        color: #fff;
        font-weight: 400;
        &:last-child {
          border-right: none;
        }
        p {
          color: #faee6e;
          font-size: 2rem;
          margin: 1em 0 0.8em;
          text-align: center;
          line-height: 1.5;
          font-weight: 500;
        }
        img {
          width: 100%;
          aspect-ratio: 11 / 7;
          object-fit: cover;
        }
      }
    }
    .common_btn {
      margin-top: 5rem;
      padding-inline: 3.75802016%;
      a {
        margin-left: auto;
        background-color: #fff;
        color: #3e3e3e;
        width: 20em;
        &:before {
          background-color: #3e3e3e;
        }
        span {
          color: #3e3e3e;
          &:before {
            background-color: #3e3e3e;
          }
          &::after {
            background-image: url(../img/common/arrow_dot_black.svg);
          }
          &:where(.common_btn a:hover &) {
            @media (hover: hover) {
              &::after {
                background-image: url(../img/common/arrow_dot_white.svg);
              }
            }
          }
        }
      }
    }
  }
}

main .youtube {
  text-align: center;
  background-color: #fff;
  padding: 9rem 0 13rem;
  > iframe {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    margin-inline: auto;
    display: block;
    max-width: 1000px;
  }
}

#studio {
  background-color: #fff;
  padding-bottom: 12rem;
  ul {
    gap: 1.1%;
    li {
      width: 32.6%;
      margin-top: 5rem;
      a {
        p {
          font-size: 1.8rem;
          margin-top: 0.8em;
        }
      }
    }
  }
  .common_btn {
    a {
      margin-left: auto;
      margin-top: -4em;
    }
  }
}

#lesson {
  background-color: #fff;
  .bg {
    background: url(../img/top/lesson_bg.png) 10% 0 no-repeat;
    background-color: #efebe9;
    padding: 11rem 0 8rem;
    border-radius: 0 8vw 0 8vw;
    h3 {
      + p {
        font-size: 2rem;
        margin: 1.5em 0 2em;
      }
    }
    h4 {
      text-align: center;
      margin-bottom: 4.8rem;
      background-image: url(../img/top/lesson_title2_bg.png);
      background-repeat: no-repeat;
      font-size: 2.6rem;
      font-weight: 700;
      color: var(--color-orange);
      width: fit-content;
      margin-inline: auto;
      background-position: bottom;
      padding-bottom: 0.5em;
      background-size: min(36.1rem, 100%);
    }
    .common_btn {
      a {
        margin-left: auto;
        margin-top: 2em;
      }
    }
  }
}

main .space {
  height: 16rem;
  background-color: #fff;
}

#price {
  background: url(../img/top/price_bg.avif) center top no-repeat;
  background-color: #fff;
  .inner {
    > div {
      padding-left: 51.7%;
      h3 {
        + p {
          font-size: 2rem;
          margin: 2em 0;
        }
      }
      h4 {
        color: #f06414;
        font-size: 2.6rem;
        font-weight: bold;
      }
      .price-list {
        border-bottom: 1px solid #ccc;
        .price-item {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 1em 0;
          border-bottom: 1px solid #ccc;
          .label {
            font-size: 1.8rem;
          }
          .price {
            font-size: 1.8rem;
            font-weight: bold;
            color: #f06414;
            .times {
              margin-right: 0.5em;
            }
          }
        }
      }
      .common_btn {
        a {
          margin-left: auto;
          margin-top: 1.5em;
        }
      }
      .flow {
        margin-top: 5rem;
      }
    }
  }
}

#news {
  background-color: #fff;
  .bg {
    background: url(../img/top/news_bg.png) 10% 0 no-repeat;
    background-color: #eb610f;
    padding: 11rem 0 0;
    border-radius: 0 8vw 0 0;
    h3 {
      margin-bottom: 5rem;
      color: #fff;
      span {
        color: #fff;
      }
    }
    ul.tab {
      border-bottom-color: #fff;
    }
    .news_list__item {
      border-bottom-color: #fff;
    }
    .news_list__item__content {
      color: #fff;
    }
    @media screen and (min-width: 768px) {
      .news_list__item {
        border-right-color: #fff;
        &:first-child,
        &:nth-child(2) {
          padding-top: 2rem !important;
        }
      }
    }
  }
}

#event {
  padding: 8rem 0 21rem;
  background-color: #e1dddb;
  box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.4);
  h3 {
    margin-bottom: 2rem;
    span {
      font-size: 4rem;
      &:before {
        display: none;
      }
    }
  }
}

#instructors {
  background-color: #e1dddb;
  position: relative;
  top: -10rem;
  margin-bottom: -10rem;
  .bg {
    h3 {
      margin-bottom: 7rem;
      color: #fff;
      span {
        color: #fff;
      }
    }
    padding: 10rem 0;
    background-color: #3e3e3e;
    border-radius: 7vw 7vw 0 0;
    .instructor-swiper {
      width: 100%;
      overflow: hidden;
      .swiper-slide {
        width: auto;
        height: auto;
        text-align: center;
        a {
          display: block;
          position: relative;
          p {
            background: rgba(0, 0, 0, 0.7);
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: #fff;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition-duration: 0.3s;
            span {
              font-size: 0.8em;
            }
          }
          img {
            aspect-ratio: 1/1;
            width: 100%;
            height: auto;
            object-fit: cover;
          }
          &:hover {
            @media (hover: hover) {
              opacity: 1;
              p {
                opacity: 1;
              }
            }
          }
        }
      }
    }
    .swiper-scrollbar {
      height: 1rem;
      bottom: 11rem;
      background-color: #323232;
      box-shadow: 0.1rem 0.1rem 0.1rem rgba(164, 164, 164, 1);
      .swiper-scrollbar-drag {
        background-color: #c6c3c2;
      }
    }
    .common_btn {
      margin-top: 13rem;
      a {
        margin-left: auto;
        background-color: #fff;
        color: #3e3e3e;
        &:before {
          background-color: #3e3e3e;
        }
        span {
          color: #3e3e3e;
          &:before {
            background-color: #3e3e3e;
          }
          &::after {
            background-image: url(../img/common/arrow_dot_black.svg);
          }
          &:where(.common_btn a:hover &) {
            @media (hover: hover) {
              &::after {
                background-image: url(../img/common/arrow_dot_white.svg);
              }
            }
          }
        }
      }
    }
  }
}

#dance {
  background-color: #efebe9;
  padding: 17rem 0 12rem;
  border-radius: 0 0 5vw 5vw;
  position: relative;
  z-index: 1;
  text-align: right;
  picture img {
    width: 100%;
  }
  h3 {
    text-align: right;
    margin-top: -11rem;
    margin-bottom: 5rem;
    display: inline-block;
    text-align: left;
    img {
      width: 55.5%;
    }
  }
}

#csr {
  background-color: #fff;
  padding: 16rem 0 11rem;
  margin-top: -6rem;
  border-bottom: 1px solid #a1a0a0;
  h3 {
    + p {
      text-align: center;
      font-size: 2.1rem;
      margin: 1em 0;
    }
  }
  ul {
    justify-content: flex-start;
    column-gap: 2%;
    li {
      width: 32%;
      p {
        text-align: center;
        margin-top: 0.8em;
      }
      .scaleUpImgHover {
        border-radius: 3rem;
      }
    }
  }
}

#bottom {
  background-color: #fff;
  padding: 3rem 0;
}

@media screen and (min-width: 768px) and (max-width: 1440px) {
  #feature {
    background: url(../img/top/feature_bg.avif) center 20rem no-repeat;
    background-color: #fff;
  }
}

@media screen and (max-width: 767px) {
  html {
    overflow-x: hidden;
  }
  .content {
    margin-top: 500vw;
  }
  header#header {
    position: fixed;
  }

  .main-visual-wrapper {
    height: 163vw;
    width: 100vw;
    position: relative;
    background-color: #fff;
    margin-top: 18.82133333vw;
    position: fixed;
  }
  .main-visual {
    display: block;
  }
  .top-buttons {
    display: none;
  }
  .top-nav {
    display: none;
  }
  .main-visual .logo {
    display: none;
  }
  .left-visual {
    width: 100%;
    height: 87.73333333vw;
    position: absolute;
    bottom: 0;
    overflow: visible;
    img {
      transition: opacity 0s;
    }
    &.active {
      top: 0;
      z-index: 10;
      height: 163vw;
      transition-duration: 0s;
      img {
        display: none;
      }
    }
  }
  .left-visual video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    /* スマホ版のみ動画コントロールを完全に非表示 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .left-visual video::-webkit-media-controls {
    display: none !important;
  }

  .left-visual video::-webkit-media-controls-panel {
    display: none !important;
  }

  .left-visual video::-webkit-media-controls-play-button {
    display: none !important;
  }

  .left-visual video::-webkit-media-controls-start-playback-button {
    display: none !important;
  }

  .left-visual video::-moz-media-controls {
    display: none !important;
  }
  .right-panel {
    order: 1;
    width: 100%;
    height: 78vw;
  }
  .main-visual .swiper-slide.swiper-slide-prev {
    top: 0;
  }
  .main-visual .swiper-slide.swiper-slide-active {
    top: -2vw;
  }
  .main-visual .swiper {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 5vw;
  }
  .main-visual .swiper-wrapper {
    margin-left: -10vw;
  }
  .main-visual .swiper-slide {
    width: 38.8vw;
    height: auto;
    border-radius: 0;
    transition: top 0.5s ease;
    top: 0;
    aspect-ratio: 689 / 1128;
  }
  .mySwiper .swiper-slide.is-left-gap {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .main-visual .swiper-slide.swiper-slide-active {
    top: 0;
  }
  .main-visual .swiper-slide.swiper-slide-next {
    top: -2vw;
    z-index: 1;
  }
  .main-visual .swiper-slide img,
  .main-visual .swiper-slide-prev img {
    height: 54vw;
    position: absolute;
    top: 4%;
    right: 14%;
    transition-delay: 1.2s;
  }
  .main-visual .swiper-slide.swiper-slide-next img {
    height: 71vw;
    top: -4%;
    right: -3%;
  }
  .no-initial-delay .main-visual .sp_display .swiper-slide.swiper-slide-next img {
    transition-delay: 0s !important;
  }
  .main-visual .swiper-slide.swiper-slide-next img {
    top: -4%;
    right: -3%;
  }
  .main-visual .swiper-slide02.swiper-slide-next img {
    top: -7%;
    right: 3%;
  }
  .main-visual .swiper-slide03.swiper-slide-next img {
    top: -5%;
    right: -5%;
  }
  .main-visual h1 {
    left: -3vw;
    bottom: -2vw;
    width: 100%;
    z-index: 20;
    &.video-active {
      left: 0;
      bottom: 0;
    }
  }
  .content .top {
    padding: 4rem 5% 2rem;
    h2 {
      font-size: 5.5vw;
      background-size: 100%;
      padding-bottom: 0.5em;
      + p {
        font-size: 1.4rem;
        margin-top: 1em;
      }
    }
    ul {
      flex-wrap: wrap;
      li {
        a {
          width: 9em;
          margin-bottom: 1em;
        }
      }
    }
  }

  .banner_area {
    padding: 5rem 0 3rem;
    border-radius: 0;
    top: 0rem;
    margin-bottom: 0rem;
    .inner {
      width: 100%;
      max-width: 100%;
    }
  }

  main h3 {
    font-size: 1.6rem;
    span {
      font-size: 5rem;
    }
  }

  #about {
    background: url(../img/top/about_bg_sp.avif) center top/100% no-repeat;
    background-color: #efebe9;
    height: 294.8vw;
    .inner {
      > div {
        padding-left: 21%;
        h3 {
          padding-top: 18rem;
          padding-left: 23vw;
          padding-right: 3vw;
          margin-bottom: 2rem;
        }
        h4 {
          margin-top: 0;
          padding-right: 19%;
          + p {
            font-size: 1.4rem;
          }
        }
      }
    }
  }

  main .common_btn {
    a {
      font-size: 1.4rem;
    }
  }

  #feature {
    background: url(../img/top/feature_bg_sp.avif) center 36rem / cover no-repeat;
    padding-bottom: 8rem;
    border-radius: 0 0 0 21vw;
    h3 {
      background: url(../img/top/feature_title_bg.png) center top / contain no-repeat;
      margin-left: -4vw;
      margin-right: -4vw;
      padding-top: 8rem;
      padding-bottom: 4rem;
      padding-left: 10vw;
      padding-right: 10vw;
      top: -6rem;
      position: relative;
      margin-bottom: -8rem;
      + ul {
        display: block;
        margin-bottom: 3.4rem;
        li {
          width: 100%;
          border-right: none;
          border-bottom: solid 1px #bfbfbf;
          padding: 6.3rem 0 4rem;
          &:last-child {
            border-bottom: none;
          }
          img {
            width: 76%;
          }
          div {
            width: 80%;
            font-size: 1.2rem;
            p {
              font-size: 1.6rem;
            }
          }
        }
      }
    }
    .voice {
      &:before {
        top: -1.8rem;
      }
      .voice-slider {
        overflow-y: visible;
        .swiper-wrapper {
          display: flex !important;
          flex-direction: row !important;
          .swiper-slide {
            border-right: none;
            font-size: 1.2rem;
            padding-bottom: 7vw;
            p {
              font-size: 1.6rem;
              text-align: left;
            }
          }
        }
      }
      h4 {
        font-size: 2.4rem;
        margin-bottom: 0.5em;
      }
      .swiper-scrollbar {
        bottom: 0;
        width: 90%;
        left: 5%;
        background-color: #1f6d4d;
        box-shadow: 0.1rem 0.1rem 0.1rem rgba(164, 164, 164, 1);
        .swiper-scrollbar-drag {
          background-color: #fff;
        }
      }
      .common_btn {
        a {
          margin-inline: auto;
        }
      }
    }
  }

  main .youtube {
    padding: 9rem 0 8rem;
    iframe {
      width: 100vw;
    }
  }

  .loop-banner {
    row-gap: 5vw;
  }

  .loop-img {
    display: flex;
    animation: scrollLoop 37s linear infinite;
    column-gap: 1.9vw;
    img {
      width: auto;
    }
    &.reverse {
      animation: scrollLoopReverse 34s linear infinite;
      column-gap: 2.5vw;
    }
    &:nth-child(1) {
      height: 30vw;
    }
    &:nth-child(2) {
      height: 44vw;
    }
    &:nth-child(3) {
      height: 30vw;
    }
  }

  #studio {
    .inner {
      max-width: 100%;
    }
    h3 {
      margin-left: 7vw;
      img {
        height: 21vw;
        width: auto;
        margin-left: 7vw;
      }
    }
    ul {
      li {
        width: 48.6%;
        margin-top: 3rem;
        a {
          p {
            text-align: center;
            font-size: 1.4rem;
            margin-top: 0.5em;
          }
        }
      }
    }
    .common_btn {
      a {
        margin: 3em auto 0;
      }
    }
  }

  #lesson {
    .bg {
      background: url(../img/top/lesson_bg.png) -120% 0/90% no-repeat;
      background-color: #efebe9;
      padding: 8rem 0 8rem;
      border-radius: 0;
      h3 {
        width: 90%;
        margin: 0 auto;
        img {
          height: 21vw;
          width: auto;
        }
        + p {
          font-size: 1.4rem;
          width: 90%;
          margin: 2em auto;
        }
      }
      h4 {
        font-size: 2rem;
        background-size: 100%;
        width: 100%;
        padding-bottom: 0.7em;
        margin-bottom: 1.2em;
      }
      ul {
        display: block;
        li {
          width: 100%;
          margin-bottom: 8vw;
          a {
            border-radius: 1.5rem;
          }
        }
      }
      .common_btn {
        a {
          margin: 3em auto 0;
        }
      }
    }
  }

  #price {
    background: url(../img/top/price_bg_sp.avif) center top/100% no-repeat;
    background-color: #fff;
    padding-top: 97vw;

    .inner {
      > div {
        padding-left: 0;
        h3 {
          + p {
            font-size: 1.4rem;
          }
        }
        h4 {
          font-size: 2rem;
        }
        .price-list {
          .price-item {
            .label {
              font-size: 1.6rem;
            }
            .price {
              font-size: 1.6rem;
            }
          }
        }
        .common_btn {
          a {
            margin: 1.5em auto 0;
          }
        }
      }
    }
  }

  main .space {
    height: 10rem;
  }

  #news {
    .bg {
      background: url(../img/top/news_bg.png) -180% 0 / 90% no-repeat;
      background-color: #eb610f;
      padding: 8rem 0 0;
      border-radius: 0;
      h3 {
        margin-bottom: 3rem;
        img {
          height: 21vw;
          width: auto;
        }
      }
    }
  }

  #event {
    padding: 7rem 0 12rem;
    background-color: #e1dddb;
    box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.4);
    h3 {
      max-width: 92%;
      margin-inline: auto;
      img {
        width: 55vw;
        margin-left: 5vw;
      }
    }
    .inner {
      max-width: 100%;
    }
  }

  #instructors {
    top: -3rem;
    margin-bottom: -3rem;
    .bg {
      padding: 8rem 0;
      .common_btn {
        a {
          margin: 0 auto;
        }
      }
    }
    .swiper-wrapper {
      height: calc(((92vw - 8px) / 3) * 2 + 4px);
    }
  }

  #dance {
    padding: 11rem 0 8rem;
    border-radius: 0;
    text-align: left;
    h3 {
      margin-top: 4rem;
      margin-bottom: 3rem;
      img {
        width: 100%;
      }
    }
  }

  #csr {
    padding: 7rem 0 9rem;
    margin-top: 0rem;
    h3 {
      img {
        height: 21vw;
        width: auto;
      }
      + p {
        text-align: left;
        font-size: 1.4rem;
        margin: 1.5em 0;
      }
    }
    ul {
      display: block;
      width: 80%;
      margin: 0 auto;
      li {
        width: 100%;
        p {
          font-size: 1.4rem;
          margin: 0.8em 0 2em;
        }
        .scaleUpImgHover {
          border-radius: 1.5rem;
        }
      }
    }
  }

  #bottom .inner {
    width: 100%;
    max-width: 100%;
  }
}
