@charset "utf-8";

/* =====================
mainvisual
===================== */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary-black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* fadeout */
#intro.fadeout {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.mainVisual {
  align-items: center;
}

.deco__img {
  display: block;
  width: 300px;
  height: auto;
  margin: 65px auto;
}

.wipe {
  width: 100%;
  display: block;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 0.8s ease-out, opacity 1.5s ease-out;
}

.wipe.show {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

@media screen and (min-width: 769px) {
  .mainVisual {
    width: 100%;
    height: auto;
  }

  .deco__img {
    width: 100%;
    max-width: 600px;
    margin: 200px auto;
  }
}

/* =====================
lead
===================== */
.topic--lead {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.topic--lead::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 257px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: url("../images/title1.jpg") center/cover no-repeat;
  opacity: 1;
  z-index: -1;
}

.lead__img {
  margin-top: 50px;
}

.section {
  font-family: var(--primary-deco);
  text-align: center;
}

.topic {
  font-size: 4.0rem;
}

.topic__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary-white);
  font-size: 2.8rem;
  transition: color 0.3s ease;
  margin-top: 50px;
}

/* ---- arrow animetion ---- */
.arrowIcon {
  transition: transform 0.3s ease;
}

.topic__link:hover .arrowIcon {
  transform: translateX(15px);
}

.arrowIcon {
  width: 67px;
  height: 17px;
}

.glitch {
  position: relative;
  display: inline-block;
}

@media screen and (min-width: 769px) {
  .topic {
    margin: auto 0;
    font-size: clamp(4rem, 5vw, 6rem);
  }

  .topic--lead::before {
    width: 500px;
    height: 40px;
  }

  .topic__link {
    font-size: clamp(3rem, 3vw, 5rem);
    margin-top: 63px;
    gap: 10px;
  }

  .arrowIcon {
    width: 134px;
    height: 36px;
  }
}

/* =====================
Discography
===================== */
.topic--disco {
  position: relative;
  display: inline-block;
  margin-top: 150px;
  color: var(--primary-black);
  text-shadow: 1px 3px 0 var(--primary-white);
}

.topic--disco::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 257px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: url("../images/title2.jpg") center/cover no-repeat;
  opacity: 1;
  z-index: -1;
}

.disco__slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 50px;
}

.disco__slider::after {
  width: 100%;
  height: 320px;
  z-index: -2;
  content: "";
  display: block;
  position: absolute;
  top: 45px;
  left: 0;
  background-color: #D9D9D9;
  background-image: url(../images/bg-noise.png);
}

.disco__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: none;
}

.disco__img {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

@media screen and (min-width: 769px) {
  .topic--disco {
    margin-top: 280px;
  }

  .topic--disco::before {
    width: 500px;
    height: 50px;
  }

  .disco__track {
    gap: 120px;
  }

  .disco__img {
    width: 300px;
    height: 300px;
  }
}

/* =====================
Movie
===================== */

.topic--movie {
  position: relative;
  display: inline-block;
  margin-top: 150px;
  z-index: 1;
}

.topic--movie::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 257px;
  height: 22px;
  transform: translate(-50%, -50%);
  background: url("../images/title3.jpg") center/cover no-repeat;
  opacity: 1;
  z-index: -1;
}

.movie__link {
  position: relative;
  display: block;
}

.overlay__svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.6;
  z-index: 2;
  /* pointer-events: none; */
  transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
}

.video {
  display: block;
  width: 100%;
  height: 133.33vw;
  object-fit: cover;
  object-position: center center;
  margin-top: 50px;
}

@media screen and (min-width: 769px) {
  .topic--movie {
    margin-top: 280px;
  }

  .topic--movie::before {
    width: 500px;
    height: 50px;
  }
  
  .overlay__svg {
    width: 250px;
    height: 250px;
  }
  
  .video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    margin-top: 40px;
  }
}

.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}