:root {
    --color-bg: #111111;
    --color-accent: #FFB347;
    --color-text: #FFFFFF;
    --color-text-dim: #BBBBBB;
    --font-en: 'Poppins', 'Nunito', sans-serif;
    --font-jp: 'Noto Serif JP', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: hidden;
}

.pc-only {
    display: block;
}

@media (max-width: 767px) {
    .pc-only {
        display: none;
    }
}

/* --- Opening --- */
.opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shutter {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-bg);
}

.shutter-top { top: 0; border-bottom: 1px solid var(--color-accent); }
.shutter-bottom { bottom: 0; border-top: 1px solid var(--color-accent); }

.opening-content {
    position: relative;
    z-index: 10;
}

.opening-text {
    font-family: var(--font-en);
    color: var(--color-accent);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    opacity: 0;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(17,17,17,0.8), transparent);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: filter 2s, opacity 2s;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.25rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-en);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--color-accent);
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99;
    transition: right 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav.active { right: 0; }

.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin-bottom: 2rem; }
.mobile-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

/* --- FV --- */
.fv {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fv-bg {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 60%;
    height: 80%;
    border-radius: 40px;
    overflow: hidden;
    z-index: 1;
}

.fv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.fv-content {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    width: 60%; /* Broaden the container */
    max-width: none; /* Remove previous restriction */
}

.fv-title {
    font-size: 8rem; /* Slightly larger as requested by visual */
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-family: var(--font-en);
    position: relative;
    left: -2%; /* Subtle shift to the left if needed, or keeping it for alignment */
}

.fv-title span {
    opacity: 0;
    transform: translateY(30px);
    white-space: nowrap; /* Prevent individual line wrapping */
}

.fv-title .line-1, .fv-title .line-2 { color: var(--color-text); }
.fv-title .line-3 { color: var(--color-accent); }

.fv-sub-copy {
    font-size: 1.2rem;
    color: var(--color-text-dim);
}

@media (max-width: 767px) {
    .fv-bg {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        border-radius: 0;
    }
    .fv-title { font-size: 4.5rem; }
    .fv-content { padding-left: 10%; padding-right: 10%; width: 100%; }
    .hamburger { display: flex; }
    .pc-only { display: none !important; }
}

/* --- Concept --- */
.section-padding { padding: 8rem 0; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; text-align: center; }

.concept-text {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    line-height: 2.2;
}

/* --- Menu --- */
.section-tagline { color: var(--color-accent); font-family: var(--font-jp); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-en); font-size: 3rem; margin-bottom: 4rem; position: relative; display: inline-block; }
.section-title::after { content: ''; display: block; width: 40px; height: 2px; background: var(--color-accent); margin: 10px auto; }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

.menu-card {
    text-align: center;
}

.menu-img {
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.menu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.menu-card:hover .menu-img img { transform: scale(1.05); }

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-name { font-size: 1.1rem; margin-bottom: 0.5rem; }
.menu-desc { font-size: 0.9rem; color: var(--color-text-dim); }

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

/* --- Space --- */
.space { height: 80vh; position: relative; overflow: hidden; }
.space-parallax-container { height: 100%; width: 100%; position: relative; }
.space-bg { position: absolute; top: 0; left: 0; width: 100%; height: 120%; }
.space-bg img { width: 100%; height: 100%; object-fit: cover; }
.space-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.space-content { position: relative; z-index: 2; height: 100%; display: flex; justify-content: center; align-items: center; }
.space-copy { font-size: 2.5rem; letter-spacing: 0.3em; font-family: var(--font-jp); }

/* --- Voice --- */
.voice { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }

.lanterns-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.lantern {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 60px;
    opacity: 0;
    filter: blur(1px);
}

.voice-orgel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    pointer-events: none;
}
.voice-orgel img { width: 300px; height: 300px; }

.voice-content {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.voice-item {
    font-size: 1.5rem;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .voice-item {
        font-size: 1.1rem;
        white-space: normal;
        padding: 0 1rem;
    }
}

/* --- Ending --- */
.ending { height: 100vh; position: relative; display: flex; justify-content: center; align-items: center; text-align: center; }
.ending-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: black; opacity: 0; z-index: 10; pointer-events: none; }
.ending-text-1, .ending-text-2, .ending-text-3 { font-size: 1.5rem; opacity: 0; margin-bottom: 1rem; }
.ending-sns { opacity: 0; margin-top: 2rem; display: flex; justify-content: center; gap: 2rem; }
.sns-link {
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-en);
    border: 1px solid var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}
.sns-link.glow {
    animation: sns-glow 2s infinite alternate;
}
@keyframes sns-glow {
    from {
        box-shadow: 0 0 5px var(--color-accent);
        background: rgba(255, 179, 71, 0.1);
    }
    to {
        box-shadow: 0 0 20px var(--color-accent);
        background: rgba(255, 179, 71, 0.4);
    }
}
.sns-link:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 179, 71, 0.2);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.7rem;
    font-family: var(--font-en);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* --- Footer --- */
.footer { padding: 2rem; text-align: center; font-family: var(--font-en); font-size: 0.8rem; color: var(--color-text-dim); border-top: 1px solid #222; }
