:root {
    --primary-blue: #004aad;
    --accent-blue: #00c2ff;
    --text-dark: #333333;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-color: #fff;
    overflow-x: hidden;
    user-select: none; /* copy prevention */
    font-size: 16px;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .service-card-inner, .p-8 {
        padding: 40px 10px !important;
    }
    
    /* Menu Section SP Adjustments */
    .menu-item span:first-child {
        font-size: 0.95rem;
    }
    .menu-item .text-[#d4af37] {
        font-size: 1rem;
    }
    .menu-free-drink {
        padding: 40px 20px !important;
    }
    .menu-free-drink h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .swiper-menu {
        height: 250px;
    }
}

h1, h2, h3, h4 {
    line-height: 1.4;
}

/* Section Padding */
section, .section-cover {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Heading Style - Now Text Based */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading .en {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: bold;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-heading .jp {
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}
.section-heading .jp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

/* Swiper Custom */
.swiper-fv {
    width: 100%;
    height: calc(100vh - 80px); /* Adjust for header */
}
.swiper-fv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

/* Marquee Gallery */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 40px 0;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 50s linear infinite;
}
.marquee-item {
    flex-shrink: 0;
    width: 450px;
    height: 300px;
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease, border-color 0.5s ease;
}
.marquee-item:hover {
    transform: scale(1.05);
    border-color: #d4af37;
    z-index: 10;
}
.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Modern Dynamic FV Text Design */
.fv-glass {
    opacity: 0;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    background-size: 400% 400%;
    padding: 1.5rem 1.5rem 1rem 1rem;
    border-left: none;
    border-top: 2px solid rgba(212, 175, 55, 0.4);
    border-right: 2px solid rgba(212, 175, 55, 0.4);
    max-width: 85%;
    border-radius: 0 40px 0 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 10px -10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: 
        fadeInLeft 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        gradientMove 15s ease infinite,
        floatingCorner 8s ease-in-out infinite;
}

@keyframes floatingCorner {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -5px); }
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.fv-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: glassShine 5s infinite;
}

@keyframes glassShine {
    0% { transform: translateX(-100%); }
    20% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@media (min-width: 768px) {
    .fv-glass {
        padding: 2.5rem 5rem 1rem 1rem;
        border-radius: 0 60px 0 0;
    }
}

@media (min-width: 1024px) {
    .fv-glass {
        max-width: 45%;
    }
}

.fv-title-en {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    color: #d4af37;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fcf6ba, #aa771c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    opacity: 0;
    animation: 
        fadeInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards,
        softSway 10s ease-in-out infinite alternate;
}

@keyframes softSway {
    0% { transform: translateX(0); }
    100% { transform: translateX(5px); }
}

.fv-title-en::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #bf953f, #fcf6ba);
}

.fv-title-jp {
    display: block;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.4;
    background: linear-gradient(to bottom, #fcf6ba 0%, #bf953f 25%, #fcf6ba 50%, #aa771c 75%, #fcf6ba 100%);
    background-size: 100% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    opacity: 0;
    animation: 
        fadeInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards,
        goldReflect 8s linear infinite,
        softSwayJP 12s ease-in-out infinite alternate;
}

@keyframes softSwayJP {
    0% { transform: translate(0, 0); }
    100% { transform: translate(3px, 3px); }
}

@keyframes goldReflect {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 200%; }
}

@media (min-width: 768px) {
    .fv-title-en {
        font-size: 1.1rem;
    }
    .fv-title-jp {
        font-size: 2.25rem;
    }
}
@media (min-width: 1024px) {
    .fv-title-jp {
        font-size: 3.5rem;
    }
}

.fv-line {
    display: none; /* Removed in this style */
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-content {
    transition: all 0.5s ease;
}

.about-image-wrap {
    position: relative;
    z-index: 5;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.animate-float-slow {
    animation: floatSlow 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
    .about-content {
        margin-right: 0 !important;
        margin-top: -50px;
    }
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    backdrop-filter: blur(5px);
}

.service-card:hover .service-card-inner {
    background: rgba(255, 255, 255, 0.07);
    border-color: #d4af37;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 29, 74, 0.8));
    opacity: 0.8;
}

.menu-item {
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateX(5px);
}

.menu-free-drink {
    transition: all 0.5s ease;
}

.menu-free-drink:hover {
    box-shadow: 0 30px 60px rgba(0, 41, 107, 0.1);
}

.swiper-menu {
    height: 320px;
}

.swiper-menu .swiper-button-next,
.swiper-menu .swiper-button-prev {
    background: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.swiper-menu .swiper-button-next:hover,
.swiper-menu .swiper-button-prev:hover {
    background: rgba(212, 175, 55, 0.8);
}

/* Ken Burns Effect for Slider */
.swiper-menu .swiper-slide img {
    transition: transform 8s linear;
    transform: scale(1);
}

.swiper-menu .swiper-slide-active img {
    transform: scale(1.15);
}

.message-bg, .voice-bg {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.message-bg { background-image: url('../img/img_gl1.jpg'); }
.voice-bg { background-image: url('../img/img_gl5.jpg'); }

/* Pulse Animation */
@keyframes pulseSlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.9; }
}
.animate-pulse-slow {
    animation: pulseSlow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Super Animations */
.fade-in, .fade-in-left, .fade-in-right, .zoom-in {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-in {
    transform: translateY(60px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
    transform: translateX(-80px) skewX(2deg);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
    transform: translateX(80px) skewX(-2deg);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-in {
    transform: scale(0.8) translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

.fade-in.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible,
.zoom-in.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) skewX(0);
}

/* Section Specific Image Styles */
.img-tv {
    position: relative;
    padding: 15px;
    perspective: 1000px;
}

.img-tv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border-top: 2px solid #d4af37;
    border-left: 2px solid #d4af37;
    z-index: -1;
    animation: borderFloat1 6s ease-in-out infinite;
}

.img-tv::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border-bottom: 2px solid #d4af37;
    border-right: 2px solid #d4af37;
    z-index: -1;
    animation: borderFloat2 6s ease-in-out infinite;
}

@keyframes borderFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes borderFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

.img-tv img {
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-tv img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.img-about img {
    border-left: 8px solid var(--primary-blue);
    border-bottom: 8px solid var(--primary-blue);
}

.img-service img {
    transition: 0.5s;
    object-fit: cover;
}
.img-service img:hover {
    transform: scale(1.05);
}

.img-message img {
    filter: sepia(20%);
    border-right: 8px solid #bfdbfe;
    border-top: 8px solid #bfdbfe;
}

/* CTA Section Padding Adjustment */
.cta-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* CTA Styles */
.btn-hover {
    transition: all 0.3s ease;
}
.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Scroll Animation indicator */
@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}
.animate-scroll {
    animation: scrollDown 2s infinite;
}

/* Luminous Centering Fix */
.lum-lightbox {
    z-index: 10000;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
}
.lum-lightbox-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}
.lum-img {
    max-width: 95vw !important;
    max-height: 92vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    border: 4px solid white;
    margin: auto !important;
}
.lum-close-button {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    opacity: 1 !important;
    background: rgba(0,0,0,0.5) !important;
    border-radius: 50% !important;
}
/* Fix double icon issue by hiding default pseudo-elements if necessary */
.lum-close-button::before, .lum-close-button::after {
    background-color: #fff !important;
}

/* Navigation Buttons */
.lum-previous-button, .lum-next-button {
    width: 60px !important;
    height: 60px !important;
    background: rgba(0,0,0,0.3) !important;
    border-radius: 50% !important;
    transition: background 0.3s !important;
}
.lum-previous-button:hover, .lum-next-button:hover {
    background: rgba(212, 175, 55, 0.8) !important;
}
.lum-previous-button { left: 20px !important; }
.lum-next-button { right: 20px !important; }

/* SP Menu Overlay */
#sp-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 29, 74, 0.98); /* Deep Navy Blue */
    z-index: 9999; /* Ensure it's above everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    overflow-y: auto;
    padding: 60px 20px;
}

#sp-menu.active {
    opacity: 1;
    visibility: visible;
}

#sp-menu nav {
    width: 100%;
    max-width: 300px;
}

#sp-menu a {
    display: block;
    padding: 15px 0;
    color: #ffffff;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

#sp-menu a.bg-white {
    color: #004aad !important;
}

#sp-menu a:hover, #sp-menu a:active {
    color: #d4af37;
    transform: translateX(10px);
}

#menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

/* Floating UI */
.cta-floating {
    display: none;
}
@media (max-width: 768px) {
    .cta-floating {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        transform: translateY(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
        opacity: 0;
        pointer-events: none;
    }
    .cta-floating.is-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}
