@font-face {
  font-family: "Marlide Display";
  src: url("./assets/font/MarlideDisplay_Light.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  font-family: "Instrument Serif", serif;
  background-color: #FDFFEF;
}

/* Intro / first-page container */
.intro-container {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2a2a2a;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1000;
}

.intro-container.slide-out {
  transform: translateY(-100%);
}

.cinema-text {
  font-size: 34px;
  font-weight: 400;
  color: #f2f2f2;
  letter-spacing: 0.045em;
  text-rendering: optimizeLegibility;
  text-align: center;
  font-family: "Marlide Display", serif;
}

.cinema-text span {
  display: inline-block;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(14px);
  letter-spacing: 0.02em;

  animation: marlideReveal 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes marlideReveal {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translateY(14px);
    letter-spacing: 0.02em;
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    letter-spacing: 0.045em;
  }
}

/* Main page container */
.main-container {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.9s ease;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: hidden;
}

.main-container.is-active {
  opacity: 1;
}

.main-container h1 {
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.female-movie {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.first-movie {
  padding-top: 150px;
  padding-bottom: 300px;
  background-color: #FDFFEF;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.movie-image {
  position: relative;
  width: 100%;
  object-fit: cover;
  height: 700px;
  z-index: 2;
}

.movie-sp {
  display: none;
}

.first-movie img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.text-top-float {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  rotate: -10deg;
  height: 100%;
  font-size: 250px;
  color: #090909;
}


/* rotated marquee */
.marquee {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  transform: rotate(-8deg);
  transform-origin: left center;
}

/* bottom placement */
.marquee.top {
  top: 150px;
  left: -50vw;
  z-index: 1;
}

.marquee.bottom {
  top: 150px;
  left: -50vw;
}

.marquee.top.second {
  bottom: 350px;
  top: auto;
  left: -50vw;
}

.marquee.bottom.second {
  bottom: 350px;
  top: auto;
  left: -50vw;
}

/* moving track */
.track {
  display: flex;
  width: max-content;
  animation: flow 28s linear infinite;
}

/* one text block */
.item {
  position: relative;
  white-space: nowrap;
  padding-right: 6rem;
  /* spacing between loops */
}

/* shared text style */
.text {
  font-family: "Marlide Display", serif;
  font-size: 300px;
  letter-spacing: 0.08em;
  transition: all .3s ease;
}

/* filled */
.fill {
  color: #090909;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2px #111;
  text-stroke: 2px #111;
}

/* seamless loop */
@keyframes flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-60%);
  }
}

.logo img {
  width: 200px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links li {
  list-style-type: none;
  font-family: "Avenir Next World";
  color: #ffffff;
  mix-blend-mode: difference;
}

.nav-links a {
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 50px 100px;
  mix-blend-mode: difference;
  /* your color inversion */
}


.horizontal-section {
  position: relative;
  height: 350vw;
  /* scroll distance */
  overflow: hidden;
  width: 100vw;
}

.horizontal-wrapper {
  display: flex;
  height: 100vh;
  width: max-content;
  background-color: #090909;
}

.panel1 {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  font-weight: lighter;
  color: #fff;
  text-align: center;
  font-family: "Yuji Syuku", sans-serif;
  background-color: #0E100F !important;
}

.marlide {
  font-family: "Marlide Display", serif;
  font-size: 60px;
  color: #FDFFEF;
}

.frame-second {
  font-size: 32px;
  line-height: 160%;
  letter-spacing: 10%;
}

.frame-third {
  font-size: 22px;
  line-height: 300%;
  letter-spacing: 10%;
}

.brands {
  background-color: #FDFFEF;
  position: relative;
  height: 120vh;
  /* scroll area */
  width: 100%;
}

.brand {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-bottom: 180px;
  overflow: hidden;
}

/* Wrapper controls position + appearance */
.brand-swing {
  position: absolute;
  top: 50%;
  right: -20%;
  /* start outside */
  transform: translateY(-50%);
  opacity: 0;
  z-index: 2;
}

/* Image rotates as a rigid body */
.brand-image,
.brand-image-dish {
  display: block;
  transform-origin: 100% 0%;
  /* pendulum pivot */
  width: 700px;
  height: 720px;
}

/* Text layers */
.brand-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.brand-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.brand-txt-fill {
  width: 100%;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.brand-txt-outline {
  position: absolute;
  bottom: 0;
}

.brand-txt,
.brand-txt-outline {
  width: 100%;
}

.action {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 100px;
}

.action ul {
  display: flex;
  gap: 100px;
}

.action ul li {
  color: #090909;
  font-size: 16px;
  line-height: 120%;
  list-style: none;
}

.action button {
  border-radius: 999px;
  border: solid 1px #090909;
  width: 250px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FDFFEF;
  position: absolute;
  right: 300px;
}

.action button:hover {
  border: solid 1px #090909;
}

.action button img {
  width: 100px;
}

.the-b {
  width: 30%;
  position: absolute;
  top: 0;
}

.joinus {
  padding-block: 200px;
  width: 100%;
  background-color: #FDFFEF;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ellipse {
  width: 90%;
}

.long-arrow {
  position: absolute;
  left: 300px;
  top: 300px;
  animation: move 1.5s ease-in-out infinite;
}

@keyframes move {
  0% {
    transform: translateX(0);
    transform: translateY(0px);
  }

  50% {
    transform: translateY(10px);
    transform: translateX(100px);
  }

  100% {
    transform: translateX(0);
    transform: translateY(0px);
  }
}

.gallery {
  width: 100%;
  padding-bottom: 200px;
  background-color: #FDFFEF;
}

.joinus-txt {
  font-size: 280px;
  rotate: -5deg;
  color: #090909;
  position: absolute;
  right: 250px;
  bottom: 250px;
  font-family: "Marlide Display", serif;
  transition: all .3s ease;
}

.swiper {
  width: 100%;
  height: 300px;
  background-color: #FDFFEF;
}

.swiper-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: #ddd;
  border-radius: 10px;
  background-color: transparent;
  margin-right: 0;
}

.swiper-wrapper img {
  width: 95%;
  height: 230px;
  object-fit: cover;
}

.swiper-pagination {
  margin-top: 100px;
}

.mySwiper {
  width: 80%;
}

.top-up {
  background-color: #FDFFEF;
  width: 100%;
  text-align: right;
  padding-inline: 60px;
  font-size: 25px;
  color: #090909;
  padding-block: 20px;
  z-index: 99999;
}

.top-up:hover {
  cursor: pointer;
}

footer {
  background-color: #36362F;
  padding: 30px;
}

footer p {
  color: #FDFFEF;
  font-family: "Yuji Syuku", sans-serif;
}

.com-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo {
  padding-top: 180px;
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
}

.footer-logo img {
  width: 600px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.brand-image,
.brand-image-dish {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1440px) {
  .text {
    font-size: 200px;
  }

  .joinus-txt {
    font-size: 280px;
    right: 150px;
    bottom: 200px;
  }

  .action button {
    position: auto;
    right: 0px;
  }

  .action {
    display: flex;
  }

  .long-arrow {
    left: 50px;
  }

  .mySwiper {
    width: 100%;
  }

  .gallery {
    padding-inline: 50px;
  }
}

/* default (PC) */
.movie-sp {
  display: none;
}

@media(max-width: 1024px) {
  .site-header {
    padding-inline: 50px;
  }

  .long-arrow {
    width: 60%;
    top: 250px;
  }

  .joinus-txt {
    font-size: 150px;
    right: 150px;
  }
}

@media(max-width: 875px) {
  .site-header {
    padding-inline: 20px;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
  }

  .nav-links li {
    font-size: 12px;
    font-weight: lighter;
  }

  .brand-image,
  .brand-image-dish {
    width: 500px;
    height: 520px;
  }

  .action button {
    position: relative;
  }

  .action {
    gap: 20px;
  }

}

@media(max-width: 640px) {
  .text {
    font-size: 150px;
  }

  .movie-image {
    display: none;
  }

  .first-movie {
    padding-top: 100px;
  }

  .movie-sp {
    display: block;
    position: relative;
    width: 100%;
    height: 700px;
    object-fit: cover;
    z-index: 2;
  }

  .marquee.top {
    top: 50px;
    left: -50vw;
    z-index: 1;
  }

  .marquee.bottom {
    top: 50px;
    left: -50vw;
  }

  .marquee.top.second {
    bottom: 250px;
    top: auto;
    left: -50vw;
  }

  .marquee.bottom.second {
    bottom: 250px;
    top: auto;
    left: -50vw;
  }

  .horizontal-section {
    position: relative;
    height: 400vw;
    /* scroll distance */
    overflow: hidden;
    width: 100vw;
  }

  .marlide {
    font-size: 28px;
  }

  .frame-second {
    font-size: 16px;
  }

  .frame-third {
    font-size: 12px;
  }

  .site-header {
    padding-block: 25px;
  }

  .brand {
    position: relative;
  }

  .brands {
    height: 100vh
  }

  .brand-txt,
  .brand-txt-fill,
  .brand-txt-outline {
    rotate: 90deg !important;
    top: 50%;
    left: -43%;
    transform: translateY(-50%);
  }

  .brand-image {
    z-index: 1;
  }

  .brand-txt-fill {
    z-index: 0;
    scale: 1 !important;
  }

  .brand-txt-outline {
    z-index: 2;
    scale: 1 !important;
  }

  .brand {
    height: 75vh;
  }

  .action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-inline: 30px;
    gap: 30px;
    padding-block: 0;
  }

  .action ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .action button {
    position: relative;
  }

  .brand-image,
  .brand-image-dish {
    width: 400px;
    height: 420px;
  }

  .action button {
    width: 150px;
    height: 40px;
  }

  .action button img {
    width: 40px;
  }

  .align-first {
    align-items: flex-start;
  }

  .long-arrow {
    width: 60%;
    top: 250px;
  }

  .joinus-txt {
    font-size: 120px;
    right: 80px;
    bottom: 150px;
  }

  .gallery {
    padding-inline: 20px;
    padding-bottom: 50px;
  }

  .top-up {
    font-size: 14px;
    padding-inline: 20px;
  }

  .footer-logo {
    padding-top: 100px;
  }

  .footer-logo img {
    width: 150px;
  }

  .cinema-text {
    font-size: 18px;
  }
  .the-b {
    top: 5%;
    left: 68%;
    rotate: unset !important
  }
  .brand-image-dish {
    z-index: 1;
  }
  .action ul li {
    font-size: 12px;
  }
}

/* mobile */
@media (max-width: 600px) {
  .movie-image {
    display: none;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .brand {
    height: 70vh;
  }
}

@media (max-width: 440px) {
  .horizontal-section {
    position: relative;
    height: 450vw;
  }

  .brand-image,
  .brand-image-dish {
    width: 300px;
    height: 320px;
  }

  .brands {
    height: 80vh;
  }

  .brand {
    height: 60vh;
  }

  .joinus {
    padding-block: 100px;
  }

  .long-arrow {
    width: 50%;
    top: 140px;
  }

  .joinus-txt {
    font-size: 80px;
    right: 50px;
    bottom: 100px;
  }

  footer p {
    font-size: 10px;
  }

  footer {
    padding: 20px;
  }

  .footer-logo {
    padding-top: 50px;
  }
}