@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700;900&display=swap');

/* --- Variable & Design System --- */
:root {
    --primary-gold: #D4AF37;
    --primary-brown: #4B3621;
    --bg-cream: #FDFBFA; /* Slightly warmer off-white */
    --text-main: #2D1E12; /* Darker brown for text */
    --white: #ffffff;
    
    --font-serif: "Noto Serif JP", serif;
    
    --section-padding: 70px;
    --container-width: 1200px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-serif);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--text-main);
    background-color: var(--bg-cream);
    /* Subtle paper texture overlay */
    background-image: url("https://www.transparenttextures.com/patterns/felt.png");
    overflow-x: hidden;
    user-select: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-radius: 0 !important; /* Force no rounded corners */
    box-shadow: none !important; /* Force no shadows */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* --- Layout Components --- */
.l-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 768px) {
    .l-container {
        padding: 0 10px;
    }
}

section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.section-spacing {
    margin-bottom: 0;
}

/* --- Section Title (Bilingual Editorial) --- */
.c-section-header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.c-section-header__en {
    display: block;
    color: var(--primary-gold);
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 700;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.c-section-header__jp {
    display: block;
    color: var(--primary-brown);
    font-size: clamp(26px, 5vw, 36px);
    font-weight: 900;
    line-height: 1.4;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.c-section-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--primary-gold);
}

/* --- Video Gallery Section --- */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 40px auto 0;
        gap: 30px;
    }
}

.video-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
    position: relative;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid rgba(75, 54, 33, 0.1);
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__nav {
    display: flex;
    gap: 40px;
}

.header__nav-item {
    font-weight: 700;
    font-size: 14px;
    position: relative;
    color: var(--primary-brown);
}

.header__nav-item::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--primary-gold);
    transition: 0.4s;
    transform: translateX(-50%);
}

.header__nav-item:hover::after {
    width: 100%;
}

.header__cta-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header__cta {
    display: inline-block;
    background-color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    color: var(--white);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: 0.3s;
    white-space: nowrap;
}

.header__cta--outline {
    background-color: transparent;
    color: var(--primary-gold);
}

.header__cta:hover {
    background-color: var(--primary-brown);
    border-color: var(--primary-brown);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hamburger SP */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--primary-brown);
    transition: 0.3s;
}

@media (max-width: 1100px) {
    .header__nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Full Screen Menu */
.sp-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sp-menu.is-active {
    right: 0;
}

.sp-menu__close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    color: var(--primary-brown);
}

.sp-menu__list {
    text-align: center;
}

.sp-menu__item {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-brown);
}

/* --- FV (First View) --- */
.fv {
    width: 100%;
    height: calc(100vh - 90px);
    margin-top: 90px;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.fv .swiper {
    width: 100%;
    height: 100%;
}

.fv .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll Down Decoration */
.fv-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--white);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.fv-scroll::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 1px;
    height: 50px;
    background-color: var(--white);
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- CTA Section --- */
.cta-area {
    background-color: var(--primary-brown);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-area__inner {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* 3-column card grid */
.cta-area__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.cta-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    background-color: var(--white);
    color: var(--primary-brown);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.1em;
    transition: 0.3s;
    gap: 12px;
}

.cta-card--gold {
    background-color: var(--primary-gold);
    color: var(--white);
}

.cta-card:hover {
    filter: brightness(0.9);
    transform: translateY(-3px);
}

.cta-card__icon {
    font-size: 20px;
    display: block;
    line-height: 1;
    flex-shrink: 0;
}

.cta-card__label {
    display: block;
    font-size: 14px;
    letter-spacing: 0.12em;
}

@media (max-width: 768px) {
    .cta-area__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 12px;
    }
    .cta-card {
        padding: 22px 20px;
    }
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    padding: 22px 40px;
    background-color: var(--white);
    color: var(--primary-brown);
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
}

.btn-cta--gold {
    background-color: var(--primary-gold);
    color: var(--white);
}

.btn-cta:hover {
    filter: brightness(0.9);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .btn-cta {
        width: 100%;
        min-width: 0;
    }
}

/* --- Functional Layouts --- */
.flex-asymmetry {
    display: flex;
    align-items: center;
    gap: 80px;
}

.flex-asymmetry__text {
    flex: 0 0 55%;
}

.flex-asymmetry__img {
    flex: 0 0 40%;
}

.flex-reverse {
    flex-direction: row-reverse;
}

@media (max-width: 1024px) {
    .flex-asymmetry {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .flex-asymmetry {
        flex-direction: column !important;
    }
    .flex-asymmetry__text,
    .flex-asymmetry__img {
        flex: 0 0 100%;
        width: 100%;
    }
}

.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 160px 0;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
        padding: 100px 0;
    }
}

.video-bg-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-bg-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Slight darkening for better text contrast if needed */
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
    z-index: -1;
}

/* --- Buttons --- */
.btn-more {
    display: inline-block;
    padding: 14px 50px;
    border: 1px solid var(--primary-brown);
    font-weight: 700;
    font-size: 14px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.btn-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-brown);
    transition: 0.4s;
    z-index: -1;
}

.btn-more:hover {
    color: var(--white);
}

.btn-more:hover::before {
    left: 0;
}

/* --- Gallery --- */
.gallery-swiper {
    padding-bottom: 60px;
}

.gallery-item {
    cursor: pointer;
    transition: 0.5s;
}

.gallery-item:hover {
    filter: brightness(0.8);
    transform: scale(1.02);
}

/* --- Voice --- */
.voice-card {
    background-color: var(--white);
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(75, 54, 33, 0.05); /* Very subtle border instead of shadow */
}

.voice-card__stars {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 20px;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }
}

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

/* --- Footer --- */
.footer {
    background-color: var(--bg-cream); /* Light theme to match logo */
    color: var(--primary-brown);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(75, 54, 33, 0.1);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 60px;
    }
}

.footer__copy {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 11px;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* TOP Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 54px;
    height: 54px;
    background-color: var(--primary-gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@media (max-width: 1023px) {
    .back-to-top {
        bottom: 100px;
        right: 20px;
        z-index: 2000;
    }
}

/* SP Bottom CTA */
.sp-fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    background-color: var(--white);
    padding-bottom: env(safe-area-inset-bottom); /* Fix for modern smartphones */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

@media (max-width: 1023px) {
    .sp-fixed-cta {
        display: flex;
    }
}

.sp-fixed-cta__btn {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    letter-spacing: 0.1em;
}

.sp-fixed-cta__btn--tel {
    background-color: var(--primary-brown);
}

.sp-fixed-cta__btn--web {
    background-color: var(--primary-gold);
}



/* --- Animations & Effects --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section BG Colors */
.bg-about { background-color: #FDFBFA; }
.bg-service { background-color: rgba(75, 54, 33, 0.03); }
.bg-menu { background-color: transparent; } /* Parallax */
.bg-gallery { background-color: #fcfcfc; }
.bg-voice { background-color: rgba(212, 175, 55, 0.05); }
.bg-message { background-color: var(--primary-brown); color: var(--white); }
.bg-message .c-section-header__jp { color: #fff; }
.bg-contact { background-color: #F2EDE8; }

/* Removing legacy absolute positioning for headers to fix overlapping and maintain bilingual design */

/* Seamless Marquee */
.gallery-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
    padding: 20px 0;
}

.gallery-marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    min-width: 100%;
    animation: marquee-scroll 25s linear infinite; /* Slightly faster for better movement perception */
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 20px)); }
}

.gallery-marquee__item {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.gallery-marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-marquee__item:hover img {
    filter: brightness(0.7);
}

/* Luminous Custom (Centered/Navigation) */
.lum-lightbox {
    z-index: 3000;
    background: rgba(0, 0, 0, 0.95); /* Immersive full screen feel */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.lum-lightbox-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}

.lum-img {
    max-height: 90vh !important;
    max-width: 90vw !important;
    object-fit: contain !important;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    position: relative !important; /* Changed from static to relative for better browser compatibility */
    top: auto !important;
    left: auto !important;
    margin: auto !important; /* The secret to perfect centering in flex containers */
    display: block !important;
}

/* Navigation Buttons */
.lum-previous, .lum-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border: none;
    z-index: 3100;
}

.lum-previous { left: 20px; }
.lum-next { right: 20px; }

.lum-close {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    font-size: 30px;
}

.lum-close::after {
    content: "\00d7";
    color: white;
    font-size: 40px;
}

/* Hide extra plus icon if any */
.lum-lightbox .lum-gallery-icon {
    display: none !important;
}

/* Fix Hamburger Fix */
@media (max-width: 1100px) {
    .header {
        height: 70px;
    }
    .fv {
        margin-top: 70px;
        height: calc(100vh - 70px);
    }
    .hamburger {
        display: flex;
        position: relative;
        z-index: 3000; /* Above overlay but below popup */
    }
    .sp-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        z-index: 2000;
        transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .sp-menu.is-active {
        right: 0;
    }
}



/* Unique Image Styles for each section */
#about .flex-asymmetry__img img {
    border-left: 10px solid var(--primary-gold);
}

#service .flex-asymmetry__img img {
    clip-path: polygon(0 0, 100% 2%, 98% 100%, 0 98%);
}

#menu .flex-asymmetry__img img {
    filter: sepia(0.1) contrast(1.05);
}

.bg-message .flex-asymmetry__img img {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px;
}





/* Final Mobile Padding Adjustments */
@media (max-width: 768px) {
    .l-container, 
    .cta-area__inner, 
    .footer__grid, 
    .contact-grid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}



/* First View Text Styling */
.fv-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.fv-content__sub {
    color: var(--primary-brown);
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.2em;
    text-shadow: 
        1px 1px 0 #fff, -1px -1px 0 #fff, 
        1px -1px 0 #fff, -1px 1px 0 #fff,
        0 0 15px #fff, 0 0 10px #fff;
    opacity: 0;
    animation: fv-text-in 1s ease-out forwards 0.5s;
}

.fv-content__main {
    color: var(--primary-brown);
    font-size: clamp(42px, 10vw, 96px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    /* Multi-layered white glow for legibility */
    text-shadow: 
        2px 2px 0 #fff, -2px -2px 0 #fff, 
        2px -2px 0 #fff, -2px 2px 0 #fff,
        0 0 25px rgba(255, 255, 255, 1),
        0 0 15px rgba(255, 255, 255, 1),
        0 0 5px rgba(255, 255, 255, 1);
    opacity: 0;
    animation: fv-text-in 1.2s ease-out forwards 0.8s;
}

.fv-content__desc {
    color: #fff;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    line-height: 2.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
    opacity: 0;
    animation: fv-text-in 1.5s ease-out forwards 1.2s;
}

@keyframes fv-text-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .fv-content__desc br.sp-only {
        display: block;
    }
}



/* Full Width Marquee Refinement */
.gallery-marquee--full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fcfcfc;
}

.gallery-marquee__item {
    width: clamp(300px, 40vw, 450px) !important;
    height: clamp(300px, 40vw, 450px) !important;
}

@media (max-width: 768px) {
    .p-10 {
        padding: 40px 10px !important;
    }
}
