@charset "UTF-8";

/* --- 1. Base Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f0e;
    color: #e8e8e3;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- 2. Navigation & Glow Animation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 45px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(15, 15, 14, 0.9) 0%, rgba(15, 15, 14, 0.4) 60%, transparent 100%);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-scrolled {
    padding: 25px 60px;
    background: transparent !important;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-decoration: none;
    color: #e8e8e3;
    letter-spacing: 0.05rem;
}

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

.nav-links-pc a {
    color: #e8e8e3;
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0.3;
    transition: all 0.4s;
}

.nav-links-pc a.is-active {
    opacity: 1;
    animation: activeGlow 4s ease-in-out infinite alternate;
}

@keyframes activeGlow {
    0% {
        text-shadow: 0 0 5px rgba(232, 232, 227, 0.2);
        opacity: 0.7;
    }

    100% {
        text-shadow: 0 0 12px rgba(232, 232, 227, 0.6), 0 0 20px rgba(232, 232, 227, 0.2);
        opacity: 1;
    }
}

/* --- 3. Scroll Gimmicks --- */
.nav-hidden {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(-5px);
}

.nav-burger {
    position: absolute;
    right: 60px;
    width: 22px;
    height: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    background: none !important;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.nav-burger span {
    width: 100%;
    height: 1px;
    background-color: #e8e8e3;
}

.burger-visible {
    opacity: 1;
    pointer-events: auto;
}

/* --- 4. Home Layout --- */
.viewport-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-canvas {
    position: relative;
    width: 90vw;
    max-width: 1500px;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 15vw, 10rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.hero-footer {
    margin-top: 25px;
    width: 90vw;
    max-width: 1500px;
    display: flex;
    justify-content: space-between;
    font-size: 0.52rem;
    letter-spacing: 0.3rem;
    color: #70706b;
    text-transform: uppercase;
}

/* --- 6. Fade-in Animation --- */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- 7. Navigation Hover States (Page-specific nav) --- */
#main-nav:hover {
    background: rgba(15, 15, 14, 0.98);
}

#main-nav:hover .logo,
#main-nav:hover .nav-links-pc {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

#main-nav:hover .nav-burger {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- 8. Responsive Design (SP/PC) --- */
@media (max-width: 768px) {

    /* Navigation - SP */
    nav {
        padding: 20px 30px;
    }

    .nav-scrolled {
        padding: 20px 30px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links-pc {
        gap: 12px;
    }

    .nav-burger {
        right: 30px;
    }
}

/*
ヘッダー：「halucky」、infoのfs,ls調整
TOP：SP時の情報縦並び
*/
