html {
  scroll-behavior: smooth;
}

body {
  overflow: auto;
  line-height: 1.8em;
}

body.no-scroll {
  overflow: hidden;
}

.nav-account {
  position: fixed;
  align-items: center;
  display: flex;
  justify-content: center;
  z-index: 999;
  top: 40px;
  right: 160px;
  height: 80px;

  @media (min-width: 769px) and (max-width: 1120px) {
    top: 30px;
    right: 130px;
  }

  @media (max-width: 768px) {
    top: 0;
    right: 50px;
    justify-content: flex-end;
  }

  @media (max-width: 550px) {
    top: 50px;
    right: -6px;
    justify-content: flex-end;
  }
}

.menu-btn {
  position: fixed;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  top: 40px;
  right: 40px;
  border-radius: 40px;
  width: 80px;
  height: 80px;
  background-color: #f392b6;
  border-radius: 40px;
  z-index: 999;

  @media (min-width: 769px) and (max-width: 1120px) {
    width: 60px;
    height: 60px;
  }

  @media (max-width: 768px) {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    gap: 6px;
  }

  span {
    display: block;
    height: 1px;
    background-color: #fff;
    width: 40px;

    @media (min-width: 769px) and (max-width: 1120px) {
      width: 30px;
    }

    @media (max-width: 768px) {
      width: 24px;
    }
  }
}

.menu-btn.active {
  gap: 0;
}

.menu-btn.active .first-line {
  transform: rotate(45deg);
}

.menu-btn.active .second-line {
  transform: rotate(-45deg);
}

.full-menu {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  background-color: #f392b6;
  /* transform: scale(0); */
  transform-origin: calc(100% - 80px) 80px;
  transition: all 0.3s ease-in-out;
  z-index: 998;

  @media (min-width: 769px) and (max-width: 1120px) {
    width: 60px;
    height: 60px;
  }

  @media (max-width: 768px) {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    transform-origin: calc(100% - 40px) 40px;
  }

  .menu-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-weight: 900;
    color: #fff;
    background-color: #f392b6;
    transform: scale(0);

    li {
      font-size: 2rem;
    }

    li:nth-child(1) {
      margin-left: 20px;
      opacity: 0;
      transition: all 0.5s ease-in-out;
      transition-delay: 0.3s;
    }

    li:nth-child(2) {
      margin-left: 20px;
      opacity: 0;
      transition: all 0.5s ease-in-out;
      transition-delay: 0.5s;
    }

    li:nth-child(3) {
      margin-left: 20px;
      opacity: 0;
      transition: all 0.5s ease-in-out;
      transition-delay: 0.7s;
    }

    li:nth-child(4) {
      margin-left: 20px;
      opacity: 0;
      transition: all 0.5s ease-in-out;
      transition-delay: 0.9s;
    }
  }
}

.full-menu.active {
  width: 100%;
  height: 100vh;
  top: 0;
  right: 0;
  transform: scale(1);
  border-radius: 0;

  .menu-list {
    height: 100%;
    transform: scale(1);

    li:nth-child(1) {
      margin-left: 0;
      opacity: 1;
    }

    li:nth-child(2) {
      margin-left: 0;
      opacity: 1;
    }

    li:nth-child(3) {
      margin-left: 0;
      opacity: 1;
    }

    li:nth-child(4) {
      margin-left: 0;
      opacity: 1;
    }
  }
}

.section a {
  color: #f392b6;
}

.section a:hover {
  text-decoration: underline;
}

.section.hero {
  .hero-container {
    background-image: url(../images/pages/fanmeeting/hero_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 100vh;

    @media (max-width: 768px) {
      background-image: url(../images/pages/fanmeeting/hero_sp.jpg);
      height: calc(100vw * 1.5);
    }

    .logo-container {
      position: absolute;
      top: 40px;
      left: 40px;
      width: 400px;

      @media (min-width: 769px) and (max-width: 1120px) {
        width: 260px;
      }

      @media (max-width: 768px) {
        top: 20px;
        left: 20px;
        width: 200px;
      }
    }
  }
}

.section.fanmeeting {
  font-size: 1.2rem;
  .section-title {
    padding-block: 40px;
    font-size: 2rem;
    font-weight: 900;
    border-block: 1px solid #231f1f;
    text-align: center;

    @media (max-width: 768px) {
      font-size: 1rem;
      padding: 30px 10px;
    }

    .fanmeeting-logo {
      width: 30rem;
      margin: 16px auto 0;

      @media (max-width: 768px) {
        width: 14rem;
      }
    }
  }

  .fanmeeting-main,
  .fanmeeting-schedule {
    max-width: 1200px;
    margin: 0 auto;

    @media (max-width: 768px) {
      max-width: 100%;
      width: 100%;
    }
  }

  .fanmeeting-schedule {
    padding-bottom: 60px;
    @media (max-width: 768px) {
      padding: 0 24px 30px;
    }
  }

  .grid-info {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;

    @media (max-width: 768px) {
      padding: 30px 24px;
      grid-template-columns: 1fr;
      gap: 12px 0;

      div:nth-child(even) {
        margin-bottom: 30px;
      }
    }

    .info-title {
      font-weight: 900;
      @media (max-width: 768px) {
        font-size: 18px;
      }
    }

    .info-detail {
      @media (max-width: 768px) {
        font-size: 16px;
      }
    }

    .info-detail:last-child {
      margin-bottom: 0;
    }
  }

  .schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #231f1f;
    padding: 20px 0;

    @media (max-width: 768px) {
      padding: 10px 0;
    }

    .schedule-title {
      display: flex;
      align-items: center;
      flex-wrap: wrap;

      @media (max-width: 768px) {
        h3 {
          font-size: 18px;
        }
      }

      span {
        font-size: 0.8rem;
        background-color: #f392b6;
        color: #fff;
        display: inline-block;
        padding: 1px 12px;
        margin-left: 12px;
        margin-top: -2px;
      }
    }
    .accordion-btn {
      position: relative;
      width: 30px;
      height: 30px;

      span {
        position: absolute;
        width: 30px;
        height: 1px;
        background-color: #231f1f;
        transition: width 0.3s ease;

        @media (max-width: 768px) {
          width: 20px;
        }
      }

      .first-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
      }

      .second-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }

  .schedule-header.active {
    .first-line {
      width: 0;
    }
  }

  .schedule-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    height: 0;
    overflow-y: hidden;
    transition: height 0.3s ease-in-out;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }

    .schedule-detail {
      grid-column: 2;
      padding: 40px 0;

      @media (max-width: 768px) {
        grid-column: unset;
        font-size: 16px;
      }
    }
  }
}

.section.goods {
  font-size: 1.2rem;

  @media (max-width: 768px) {
    font-size: 1.2rem;
    padding: 30px 0;
  }

  .section-title {
    padding-block: 40px;
    font-size: 2rem;
    font-weight: 900;
    border-block: 1px solid #231f1f;
    text-align: center;

    @media (max-width: 768px) {
      font-size: 1rem;
      padding: 30px 10px;
    }
  }

  .info-detail,
  .comment-detail {
    font-size: 1rem;
  }

  .goods-main,
  .goods-comment {
    max-width: 1200px;
    margin: 0 auto;
  }

  .catalog-message {
    padding: 60px 30px;

    @media (max-width: 768px) {
      padding: 30px 24px;
      font-size: 16px;
    }
  }

  .catalog-image {
    max-width: 1000px;
    margin: 0 auto;

    @media (max-width: 768px) {
      width: 100%;
      padding: 0 24px;
    }
  }

  .goods-comment {
    padding-bottom: 60px;

    @media (max-width: 768px) {
      padding: 0 24px 30px;
    }
  }

  .grid-info {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;

    @media (max-width: 768px) {
      padding: 30px 24px;
      grid-template-columns: 1fr;
      gap: 12px 0;

      div:nth-child(even) {
        margin-bottom: 30px;
      }
    }

    .info-title {
      font-weight: 900;

      @media (max-width: 768px) {
        font-size: 18px;
      }
    }

    .info-detail {
      @media (max-width: 768px) {
        font-size: 16px;
      }
    }

    .info-detail:last-child {
      margin-bottom: 0;
    }
  }

  .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #231f1f;
    padding: 20px 0;

    @media (max-width: 768px) {
      padding: 10px 0;
    }

    .comment-title {
      display: flex;
      align-items: center;
      flex-wrap: wrap;

      @media (max-width: 768px) {
        h3 {
          font-size: 18px;
        }
      }

      span {
        font-size: 0.8rem;
        background-color: #dc3d5f;
        color: #fff;
        display: inline-block;
        padding: 1px 12px;
        margin-left: 12px;
        margin-top: -2px;
      }
    }
    .accordion-btn {
      position: relative;
      width: 30px;
      height: 30px;

      span {
        position: absolute;
        width: 30px;
        height: 1px;
        background-color: #231f1f;
        transition: width 0.3s ease;

        @media (max-width: 768px) {
          width: 20px;
        }
      }

      .first-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
      }

      .second-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }

  .comment-header.active {
    .first-line {
      width: 0;
    }
  }

  .comment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    height: 0;
    overflow-y: hidden;
    transition: height 0.3s ease-in-out;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }

    .comment-detail {
      grid-column: 2;
      padding: 40px 0;

      @media (max-width: 768px) {
        grid-column: unset;
      }
    }
  }

  .coming {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    padding: 80px 20px;
    color: #959595;
  }
}

.section.special {
  font-size: 1.2rem;
  .section-title {
    padding-block: 40px;
    font-size: 2rem;
    font-weight: 900;
    border-block: 1px solid #231f1f;
    text-align: center;

    @media (max-width: 768px) {
      font-size: 1rem;
      padding: 30px 10px;
    }
  }

  .fanmeeting-main,
  .fanmeeting-schedule {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;

    @media (max-width: 768px) {
      max-width: 100%;
      width: 100%;
    }
  }

  .fanmeeting-schedule {
    padding-bottom: 60px;
    @media (max-width: 768px) {
      padding: 0 24px 30px;
    }
  }

  .schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #231f1f;
    padding: 20px 0;

    @media (max-width: 768px) {
      padding: 10px 0;
    }

    .schedule-title {
      display: flex;
      align-items: center;
      flex-wrap: wrap;

      @media (max-width: 768px) {
        h3 {
          font-size: 18px;
        }
      }

      span {
        font-size: 0.8rem;
        background-color: #f392b6;
        color: #fff;
        display: inline-block;
        padding: 1px 12px;
        margin-left: 12px;
        margin-top: -2px;
      }
    }
    .accordion-btn {
      position: relative;
      width: 30px;
      height: 30px;

      span {
        position: absolute;
        width: 30px;
        height: 1px;
        background-color: #231f1f;
        transition: width 0.3s ease;

        @media (max-width: 768px) {
          width: 20px;
        }
      }

      .first-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
      }

      .second-line {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }

  .schedule-header.active {
    .first-line {
      width: 0;
    }
  }

  .schedule-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
    height: 0;
    overflow-y: hidden;
    transition: height 0.3s ease-in-out;

    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }

    .schedule-detail {
      grid-column: 2;
      padding: 40px 0;

      @media (max-width: 768px) {
        grid-column: unset;
        font-size: 16px;
      }
    }
  }
}

.section.footer {
  padding: 80px 0;
  img {
    width: 120px;
    margin: 0 auto;
  }
}

.download-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }

  .btn-download {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    background-color: #f392b6;
    color: #fff !important;
    border-radius: 0;
    padding: 12px 20px;
    font-weight: 600;
    width: calc(calc(100% - 20px) / 2);
    margin: 8px auto;
    text-align: center;

    span:first-child,
    span:last-child {
      width: 40px;
    }

    span:last-child {
      margin-top: -5px;
    }

    @media screen and (max-width: 768px) {
      width: 100%;
      padding: 6px 24px;
      font-size: 16px;
    }
  }
}

.btn-download:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

.wallpaper-preview {
  width: 50%;
  margin: 0 auto;
}

.section.youtube {
  font-size: 1.2rem;

  @media (max-width: 768px) {
    font-size: 1.2rem;
    padding: 30px 0;
  }

  .section-title {
    padding-block: 40px;
    font-size: 2rem;
    font-weight: 900;
    border-block: 1px solid #231f1f;
    text-align: center;

    @media (max-width: 768px) {
      font-size: 1rem;
      padding: 30px 10px;
    }
  }

  .info-detail,
  .comment-detail {
    font-size: 1rem;
  }

  .section-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;

    @media (max-width: 768px) {
      padding: 30px 0;
    }
  }

  .youtue-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .youtue-container iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}
