@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

:root {
  --lp-base-black: #2f2f2f;
  --lp-base-white: #ffffff;
  --lp-base-gray01: #d9d9d9;
  --lp-base-primary: #4b1b61;
  --lp-base-secondary: #a73190;
  --lp-base-gold: #b9a673;
  --lp-base-red: #c50b0b;

  --lp-font-en: "Oswald", sans-serif;
}

main {
  position: relative;
  box-sizing: border-box;
  overflow: clip;
  div {
    box-sizing: border-box;
  }
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .btn-wrapper {
    a {
      display: block;
      text-align: center;
      font-size: 1.1rem;
      font-weight: bold;
      background: var(--lp-base-gold);
      color: var(--lp-base-white);
      padding: 0.8rem 0;
      border: 2px solid var(--lp-base-gold);
      border-radius: 100vmax;
      box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
      transition: all 0.2s ease-in;
    }
    @media (any-hover: hover) {
      a:hover {
        background-color: var(--lp-base-white);
        color: var(--lp-base-red);
        border-color: var(--lp-base-red);
        box-shadow: none;
        transform: translateY(2px);
      }
    }
  }
  .fixed-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0);
    z-index: -1;
    &::before {
      content: "";
      background-image: url(../img/bg-dot.webp);
      width: 100%;
      height: 100%;
      clip-path: inset(0);
      position: fixed;
      left: 0;
      top: 0;
      z-index: 10;
    }
    img {
      aspect-ratio: 20/25;
      clip-path: inset(0);
      position: fixed;
      left: 0;
      top: 0;
      @media (768px <= width) {
        width: 100%;
      }
      @media (width < 768px) {
        height: 100vh;
      }
    }
  }
  section {
    box-sizing: border-box;
    @media (768px <= width) {
      padding: 8rem 4rem;
    }
    @media (width < 768px) {
      padding: 4rem 2rem;
    }
    .inner {
      margin-inline: auto;
      background-color: var(--lp-base-white);
      box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
      position: relative;
      z-index: 10;
      @media (768px <= width) {
        padding: 5.8rem 8.6rem;
        border-radius: 2.8rem;
        width: 80%;
        max-width: 72rem;
      }
      @media (width < 768px) {
        padding: 2rem 2.4rem;
        border-radius: 1.6rem;
      }
    }
    .section-title {
      text-align: center;
      margin-bottom: 2.4rem;
      h3 {
        color: var(--lp-base-black);
        font-family: var(--lp-font-en);
        font-weight: 500;
        font-size: 4.5rem;
        line-height: 100%;
        @media (width < 768px) {
          border: none;
          margin-bottom: 0;
        }
      }
      p {
        font-size: 1.1rem;
        font-weight: bold;
      }
    }
  }
  .mv-section {
    @media (768px <= width) {
      padding: 4rem 4rem 0;
    }
    @media (width < 768px) {
      padding: 1rem 1rem 0;
    }
    img {
      box-sizing: border-box;
      @media (768px <= width) {
        border: 1rem solid var(--lp-base-white);
      }
      @media (width < 768px) {
        border: 0.5rem solid var(--lp-base-white);
      }
    }
  }

  .about-section {
    @media (768px <= width) {
      padding: 8rem 4rem 0;
    }
    @media (width < 768px) {
      padding: 4rem 2rem 0;
    }
    .text-area {
      font-size: 1.2rem;
      letter-spacing: 0.05rem;
      line-height: 2rem;
      p:not(:last-child) {
        margin-bottom: 1rem;
      }
    }
  }

  .gallery-section {
    position: relative;
    @media (768px <= width) {
      padding: 10rem 0;
      margin-top: -4rem;
      margin-bottom: -4rem;
    }
    @media (width < 768px) {
      padding: 6rem 0;
      margin-top: -3.2rem;
      margin-bottom: -3.2rem;
    }
    &::before {
      content: "";
      width: 100%;
      height: 100%;
      background: rgba(114, 11, 103, 0.8);
      position: absolute;
      top: 0;
      left: 0;
    }
    .swiper-slide {
      padding: 0 0.5rem;
      figure {
        background-color: var(--lp-base-white);
        padding: 1rem;
        overflow: hidden;
        border-radius: 1.4rem;
        position: relative;
        .number {
          font-family: var(--lp-font-en);
          font-size: 2rem;
          color: var(--lp-base-primary);
          position: absolute;
          top: 0rem;
          left: 1rem;
        }
        .name {
          text-align: center;
          font-weight: bold;
          @media (768px <= width) {
            font-size: 1.1rem;
          }
          @media (width < 768px) {
            font-size: 4vw;
          }
        }
      }
    }
    .swiper-button-next,
    .swiper-button-prev {
      color: var(--lp-base-primary) !important;
    }
  }

  .lineup-section {
    @media (768px <= width) {
      padding: 0 4rem 8rem;
    }
    @media (width < 768px) {
      padding: 0 2rem 4rem;
    }

    h4 {
      font-family: var(--lp-font-en);
      font-size: 1.8rem;
    }
    .lineup-card-wrapper {
      display: flex;
      gap: 2.4rem;

      @media (768px <= width) {
        flex-direction: row;
      }
      @media (width < 768px) {
        flex-direction: column;
      }
    }
    .uniform-image {
      margin-top: -2rem;
      img {
        filter: drop-shadow(0 2px 8px rgba(135, 135, 135, 0.25));
      }
    }
    .uniform-image-wrapper {
      display: flex;
      flex-direction: row;
      div {
        padding: 3.2rem 0 0;
        &.front {
          z-index: 10;
          img {
            transform-origin: left bottom;
            transform: scale(120%);
            filter: drop-shadow(0 2px 8px rgba(135, 135, 135, 0.25));
          }
        }
        &.back {
          img {
            transform-origin: right bottom;
            transform: scale(120%) translateY(-2rem);
            filter: drop-shadow(0 2px 8px rgba(135, 135, 135, 0.25));
          }
        }
      }
    }
    .price-list {
      display: flex;
      gap: 1rem;
      margin: 1rem 0;
      @media (768px <= width) {
        flex-direction: row;
      }
      @media (width < 768px) {
        flex-direction: column;
      }
      div {
        width: 100%;
        &.member {
          dt {
            color: var(--lp-base-white);
            background-color: var(--lp-base-primary);
          }
          dd {
            color: var(--lp-base-primary);
          }
        }
        dt {
          background-color: var(--lp-base-gray01);
          text-align: center;
          padding: 0.25rem;
          font-weight: bold;
        }
        dd {
          text-align: center;
          font-size: 1.4rem;
          span {
            font-family: var(--lp-font-en);
            font-size: 2rem;
            line-height: 120%;
            &::before {
              content: "¥";
              font-family: var(--lp-font-en);
              font-size: 1.2rem;
              padding-right: 0.25rem;
            }
          }
        }
      }
    }
  }
  .notice-section {
    position: relative;
    &::before {
      content: "";
      width: 100%;
      height: 100%;
      background: rgba(93, 93, 93, 0.7);
      mix-blend-mode: multiply;
      position: absolute;
      top: 0;
      left: 0;
    }
    .inner {
      position: relative;
      z-index: 10;
    }
    h3 {
      color: var(--lp-base-white);
      text-align: center;
      background: var(--lp-base-red);
      font-size: 1.6rem;
      font-weight: bold;
      padding: 0.5rem;
      margin-bottom: 2.4rem;
    }
    div {
      color: var(--lp-base-red);
      li {
        padding-left: 1em;
        text-indent: -1em;
        &:not(:last-child) {
          margin-bottom: 0.5rem;
        }
        &::before {
          content: "※";
        }
      }
    }
  }
}

/* アニメーション用 */
[data-animation="mv"] {
  opacity: 0;
  transform: translateY(10rem);
  transition:
    opacity 0.6s 0.6s ease,
    transform 0.6s 0.6s ease;
  &.isAnimated {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animation="slide-up"] {
  .inner {
    opacity: 0;
    transform: translateY(10rem);
    transition:
      opacity 0.6s 0.2s ease,
      transform 0.6s 0.2s ease;
  }
  hgroup,
  .notice-title {
    opacity: 0;
    transform: translateY(4rem);
    transition:
      opacity 0.6s 0.8s ease,
      transform 0.6s 0.8s ease;
  }
  .second-item {
    opacity: 0;
    transform: translateY(4rem);
    transition:
      opacity 0.6s 1s ease,
      transform 0.6s 1s ease;
  }
  &::before {
    opacity: 0;
    transform: scaleX(0);
    transition:
      opacity 0.5s 0.8s ease,
      transform 0.8s 0.8s ease;
  }
  &.isAnimated {
    .inner,
    hgroup,
    .notice-title,
    .second-item {
      opacity: 1;
      transform: translateY(0);
    }
    &::before {
      opacity: 1;
      transform: scaleX(100%);
    }
  }
}

[data-animation="gallery"] {
  .swiper {
    opacity: 0;
    transform: translateY(10rem);
    transition:
      opacity 0.6s 0.8s ease,
      transform 0.6s 0.8s ease;
  }
  &::before {
    opacity: 0;
    transform: scaleX(0);
    transition:
      opacity 0.5s 1s ease,
      transform 0.8s 1s ease;
  }
  &.isAnimated {
    .swiper {
      opacity: 1;
      transform: translateY(0);
    }
    &::before {
      opacity: 1;
      transform: scaleX(100%);
    }
  }
}
