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

* {
    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;
    visibility: hidden;
}

.cinema-text.is-ready {
    visibility: visible;
}

.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: visible;
    background-color: #FDFFEF;
}

.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: 200px;
    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: 130px;
    left: -50vw;
    z-index: 1;
}

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

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

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

.marquee.second {
    bottom: -180px;
    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%);
    }
}

/* reverse flow for second marquee (left to right) */
.marquee.second .track {
    animation: flow-reverse 28s linear infinite;
}

@keyframes flow-reverse {
    from {
        transform: translateX(-60%);
    }

    to {
        transform: translateX(0);
    }
}

.logo img {
    width: 200px;
}

/* ??????? */
.site-header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 50px 100px;
}

.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
}

/* ????????site-header???????? */
.nav-links-static {
    display: flex;
}

.nav-links-static .nav-links li {
    color: #090909;
}

.site-header.is-sticky .nav-links-static {
    display: none;
}

/* ????????????mix-blend-mode???is-sticky?????? */
.nav-links-fixed {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 50px 100px;
    display: none;
    align-items: center;
    height: auto;
    mix-blend-mode: difference;
    pointer-events: none;
}

.nav-links-fixed.is-sticky {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
}

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

.nav-links li {
    list-style-type: none;
    font-family: "Avenir Next World";
    color: #FFFFFF;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

.header-placeholder {
    display: none;
}

.header-placeholder.is-active {
    display: block;
}

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

.horizontal-section {
    position: relative;
    height: 100vh;
    /* ScrollTrigger pin will handle 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: 40%;
}

/* 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;
}

.stellar-hollywood .brand-txt,
.stellar-hollywood .brand-txt-outline {
    width: 85%;
    left: 50%;
    transform: translateX(-50%);
}

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

.action ul {
    display: flex;
    gap: 100px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.action ul li {
    color: #090909;
    font-size: 16px;
    line-height: 120%;
    list-style: none;
    font-family: avenir-next, sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.action ul a {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.action button {
    border-radius: 999px;
    border: solid 1px #090909;
    width: 250px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FDFFEF;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

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

.action button img {
    width: 100px;
    transition: opacity 0.3s ease;
}

/* PC???????? */
@media (min-width: 641px) {
    .action ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
    }

    .action button:hover {
        background-color: #090909;
    }

    .action button:hover img {
        opacity: 0;
    }

    .action button::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 100px;
        background-image: url('../img/arrow-white.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .action button:hover::after {
        opacity: 1;
    }
}

.the-b {
    width: 25%;
    position: absolute;
    top: 20%;
    left: 5%;
}

.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: arrow-stretch 1.6s ease-out infinite;
    clip-path: inset(0 0 0 0);
}

@keyframes arrow-stretch {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

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

.joinus-txt-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: absolute;
    right: 250px;
    bottom: 250px;
}

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

.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-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #36362F !important;
}

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

.swiper-pagination {
    margin-top: 100px;
    bottom: -5px !important;
}

.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;
}

.com-info p {
    font-family: ten-mincho-text, serif !important;
}

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

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

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

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

/* PC???: padding-bottom: 180px ???????????? */
@media (min-width: 641px) {
    .brand-image {
        top: 10%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: auto 0;
        height: auto;
    }

    .brand-image-dish {
        top: 20%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: auto 0;
        height: auto;
    }
}

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

    .joinus-txt-link {
        right: 150px;
        bottom: 200px;
    }

    .joinus-txt {
        font-size: 280px;
    }

    .action {
        display: flex;
        padding-left: 10%;
    }

    .action ul {
        gap: 60px;
        flex-wrap: nowrap;
    }

    .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;
    }

    .nav-links-wrapper {
        padding-inline: 50px;
    }

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

    .joinus-txt-link {
        right: 150px;
    }

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

    .brand-image,
    .brand-image-dish {
        width: 50%;
    }
}

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

    .nav-links-wrapper {
        padding-inline: 20px;
    }

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

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

    .brand-image,
    .brand-image-dish {
        width: 50%;
    }

    .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;
    }

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

    .horizontal-section {
        position: relative;
        height: 100vh;
        /* ScrollTrigger pin will handle 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;
        padding-right: 0;
    }

    .nav-links-wrapper {
        padding: 0 25px;
    }

    .nav-links-fixed.is-sticky {
        padding-top: 25px;
    }

    .brand {
        position: relative;
    }

    .brands {
        height: 100vh;
        padding: 0;
    }

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

    .brand-image {
        z-index: 1;
        top: 20%;
    }

    .brand-image-dish {
        top: 20%;
    }

    .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;
    }

    .stellar-hollywood .action ul {
        display: flex;
        align-items: flex-end;
    }

    .the-b-section .action ul {
        display: flex;
        align-items: flex-start;
    }

    .action button {
        position: relative;
    }


    .stellar-hollywood .brand-txt,
    .stellar-hollywood .brand-txt-outline {
        left: -50% !important;
        transform: unset !important;
        width: 115%;

    }

    .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-link {
        right: 80px;
        bottom: 150px;
    }

    .joinus-txt {
        font-size: 120px;
    }

    .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: 13%;
        left: unset;
        right: 5%;
        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: 12px;
    }

    .brand {
        height: 70vh;
    }

    .com-info {
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .horizontal-section {
        position: relative;
        height: 100vh;
    }

    .brand-image,
    .brand-image-dish {
        width: 80%;
    }

    .brands {
        height: 80vh;
    }

    .brands.stellar-hollywood {
        margin-bottom: 0;
    }

    .brand {
        height: 60vh;
    }

    .the-b-section .brand {
        height: 55vh;
    }

    .joinus {
        padding-block: 100px;
    }

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

    .joinus-txt-link {
        right: 50px;
        bottom: 100px;
    }

    .joinus-txt {
        font-size: 80px;
    }

    footer p {
        font-size: 10px;
    }

    footer {
        padding: 20px;
    }

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