@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --color-brown: #2A1A10; /* Deep Ebony Brown for high contrast */
    --color-rose: #B37A74;  /* Deep Rose for subtitles */
    --color-pink: #FDF2F4;  /* Soft light background */
    --color-white: #FFFFFF;
    --color-gold: #D4AF37;  /* Premium Gold */
    --color-zen-green: #2D3227; /* Deep Zen Green */
    --font-main: 'Noto Sans JP', sans-serif;
    --spacing-pc: 100px;
    --spacing-sp: 60px;
}

/* Spacing Adjustment */
.section- {
    padding-top: 70px;
    padding-bottom: 70px;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .container-wide {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--color-brown);
    background-color: var(--color-white);
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.5;
}

main {
    max-width: 100%;
}

/* Custom Spacing */
.section-margin {
    margin-bottom: var(--spacing-sp);
}

@media (min-width: 1024px) {
    .section-margin {
        margin-bottom: var(--spacing-pc);
    }
}

/* Layout Utilities */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.asymmetric-layout {
    display: flex;
    flex-direction: column;
}

.asymmetric-layout .text-box {
    padding: 40px 20px;
}

@media (min-width: 1024px) {
    .asymmetric-layout.img-left {
        flex-direction: row;
    }
    .asymmetric-layout.img-right {
        flex-direction: row-reverse;
    }
    .asymmetric-layout .img-box {
        width: 40%;
    }
    .asymmetric-layout .text-box {
        width: 60%;
        padding: 60px;
    }
}

/* Components */
.btn-primary {
    display: inline-block;
    background-color: var(--color-rose);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--color-brown);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Color Utilities */
.text-gold { color: var(--color-gold); }
.bg-gold { background-color: var(--color-gold); }
.border-gold { border-color: var(--color-gold); }
.bg-zen-green { background-color: var(--color-zen-green); }
.text-zen-green { color: var(--color-zen-green); }

/* Section Titles (Text Only) */
.section-header {
    width: 100%;
    max-width: 50% !important;
    margin: 0 auto 40px;
    padding-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid var(--color-pink);
    aspect-ratio: auto;
}

.section-header img {
    display: none; /* Removed as requested */
}

.section-header .title-overlay {
    position: relative;
    color: var(--color-brown);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    text-shadow: none;
}

.section-header .subtitle {
    font-size: 0.75rem;
    color: var(--color-rose);
    letter-spacing: 0.2em;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .section-header {
        max-width: 80% !important;
        margin-bottom: 30px;
    }
}

/* First View Split Layout */
#fv {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.fv-split-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

@media (min-width: 1024px) {
    .fv-split-container {
        flex-direction: row;
    }
}

.fv-slider-part {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* .fv-slider-part::after removed to clear the background filter */
.fv-slider-part::after {
    display: none;
}


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

/* FV Content Overlay Design */
.fv-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass to slider */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    padding: 20px;
}

.fv-banner {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    color: var(--color-white);
    text-align: center;
    box-shadow: none;
    max-width: 95%;
}

@media (min-width: 1024px) {
    .fv-banner {
        padding: 60px 80px;
        text-align: center;
    }
}

.fv-catchphrase {
    font-size: 1rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    color: #fff; /* High contrast white */
    font-weight: 700;
    text-shadow: 2px 2px 15px rgba(0,0,0,1);
}

.fv-main {
    margin-bottom: 30px;
}

.fv-title {
    color: #e6b422; /* Premium Japanese Gold */
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 
        2px 2px 2px rgba(0,0,0,0.8),
        0 0 20px rgba(0,0,0,0.5),
        2px 4px 15px rgba(0,0,0,0.9);
}

@media (min-width: 1024px) {
    .fv-title {
        font-size: 7rem;
    }
}

.fv-days {
    display: inline-block;
    padding: 6px 16px;
    background: transparent;
    color: #e6b422; /* Use the same gold as title */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    /* border and shadow removed for clean look */
    border: none;
    box-shadow: none;
}

.fv-info {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.fv-brand {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 0.2em;
}

.fv-hours {
    display: inline-block;
    background: transparent;
    padding: 10px 20px;
    box-shadow: none;
}

.fv-hours .label {
    font-size: 0.7rem;
    color: #fff;
    margin-right: 10px;
    font-weight: bold;
    opacity: 0.8;
}

.fv-hours .time {
    font-weight: 900;
    font-size: 1.2rem;
}

.fv-hours .close-note {
    font-size: 0.7rem;
    margin-top: 5px;
    opacity: 0.7;
}

/* Animation entry */
.animate-up {
    animation: fadeInUp 1.5s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal Animations (Scroll Triggered) */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.is-visible, 
.reveal-left.is-visible, 
.reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay Utilities (Inline style can also be used) */
.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; }

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
}

.marquee-item {
    padding: 0 15px;
    flex-shrink: 0;
}

.marquee-item img {
    height: 450px;
    width: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.marquee-item:hover img {
    transform: scale(1.02);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .marquee-item img {
        height: 280px;
        width: 200px;
    }
}

/* Floating Elements (Broken Grid) */
.floating-title {
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .floating-title {
        margin-top: -40px;
        margin-left: -20px;
    }
}

/* CTA */
#cta-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    background-color: var(--color-white);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

@media (min-width: 1024px) {
    #cta-sticky {
        display: none;
    }
}

#cta-sticky a {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

#cta-sticky .tel {
    background-color: var(--color-white);
    color: var(--color-brown);
}

#cta-sticky .web {
    background-color: var(--color-rose);
    color: var(--color-white);
}

/* Top Button */
#scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-brown);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive Navigation Overlay */
#sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-pink);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sp-nav.active {
    transform: translateX(0);
}

#close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

/* Parallax */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

@media (max-width: 1024px) {
    .parallax-section {
        background-attachment: scroll; /* Disable parallax on touch devices for better performance */
    }
}

/* Swiper Gallery Customization */
.gallery-swiper .swiper-slide img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

/* Voice Swiper Consistency */
.voice-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.voice-swiper .swiper-slide > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .gallery-swiper .swiper-slide {
        max-width: 400px;
    }
}

/* OGP Design fix */
img {
    max-width: 100%;
}

/* Section-Specific Image Styles */
#intro .img-box {
    aspect-ratio: 1 / 1;
    border-radius: 0;
    box-shadow: 20px 20px 0 var(--color-pink);
}

@media (min-width: 1024px) {
    #intro .asymmetric-layout .img-box {
        width: 50%;
    }
    #intro .asymmetric-layout .text-box {
        width: 50%;
    }
}

#about .img-box {
    filter: drop-shadow(0 20px 50px rgba(211, 162, 157, 0.4));
}

#service .img-box {
    border-left: 10px solid var(--color-pink);
    border-bottom: 10px solid var(--color-pink);
}

#message .img-box {
    position: relative;
}

#message .img-box::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-rose);
    z-index: -1;
}

#staff .rounded-full {
    border: 5px solid var(--color-white);
    outline: 2px solid var(--color-rose);
}

/* Editorial About Section Style */
.editorial-layout {
    position: relative;
    padding: 40px 0;
}

.abs-vertical-label {
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    color: var(--color-rose);
    opacity: 0.5;
    white-space: nowrap;
    display: none;
}

@media (min-width: 1200px) {
    .abs-vertical-label {
        display: block;
    }
}

.editorial-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .editorial-grid {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
}

.editorial-img-box {
    width: 100%;
    z-index: 10;
}

@media (min-width: 1024px) {
    .editorial-img-box {
        width: 55%;
        padding-right: 5%;
    }
}

.editorial-img-box img {
    box-shadow: 30px 30px 0 rgba(179, 122, 116, 0.1);
    border-radius: 4px;
}

.editorial-text-box {
    width: 100%;
    padding: 40px;
    background: var(--color-white);
    z-index: 20;
}

@media (min-width: 1024px) {
    .editorial-text-box {
        width: 50%;
        margin-left: -5%;
        padding: 80px 60px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    }
}

.story-content {
    position: relative;
}

.story-content::before {
    content: '“';
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 8rem;
    color: var(--color-rose);
    opacity: 0.1;
    font-family: serif;
}

/* Service Section - Modern Minimalist Split */
.commitment-wrap {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (min-width: 1024px) {
    .commitment-wrap {
        gap: 160px;
    }
}

.commitment-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .commitment-split {
        flex-direction: row;
        gap: 0;
    }
}

.split-image-box {
    width: 100%;
}

@media (min-width: 1024px) {
    .split-image-box {
        width: 50%;
    }
}

.split-image-box img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.split-text-box {
    width: 100%;
}

@media (min-width: 1024px) {
    .split-text-box {
        width: 50%;
    }
}

.split-number {
    display: block;
    font-size: 3rem;
    color: var(--color-rose);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    .split-number {
        font-size: 4rem;
    }
}

/* Custom utility override */
.bg-brown\/60 {
    background-color: rgb(42 26 16 / 0.6) !important;
    border-color: #9a5e58 !important;
    border-width: 2px !important;
    border-style: solid;
}

/* Side Menu (Gourmet Split) Refinements */
#side-menu .lg\:w-1\/2 {
    transition: background-color 0.5s ease;
}

#side-menu .side-menu-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#side-menu .side-menu-swiper img {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#side-menu .lg\:w-1\/2:hover .side-menu-swiper img {
    transform: scale(1.05);
}

#side-menu .space-y-10 > div {
    transition: all 0.3s ease;
    cursor: pointer;
}

#side-menu .space-y-10 > div:hover {
    padding-left: 10px;
    border-color: var(--color-rose);
}

#side-menu .space-y-10 > div:hover h3 {
    color: var(--color-rose);
}

/* Mobile Standardization Overrides */
@media (max-width: 1023px) {
    .asymmetric-layout .text-box,
    .editorial-text-box,
    .p-8,
    .p-6,
    .p-10 {
        padding: 40px 10px !important;
    }
}
/* Large title refinement for Desktop */
@media (min-width: 1024px) {
    .lg\:text-5xl {
        font-size: 36px !important;
        line-height: 1.5 !important;
        font-weight: bold !important;
    }
}

/* Mobile Title Refinement (SP) */
@media (max-width: 1023px) {
    .text-3xl {
        font-size: 36px !important;
        line-height: 1.5 !important;
        font-weight: bold !important;
    }
}

/* Service Section Title Refinement (h3) */
#service h3 {
    font-size: 36px !important;
    line-height: 1.5 !important;
    font-weight: bold !important;
    color: var(--color-rose) !important;
    font-family: var(--font-serif) !important;
}

/* Mobile font size correction */
@media (max-width: 1023px) {
    .text-3xl, #service h3 {
        font-size: 24px !important;
    }
}

/* Header Navbar Padding Fix (Restoring to 20px for SP) */
@media (max-width: 768px) {
    header .container-wide {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Specific Navbar Padding Override for SP */
@media (max-width: 768px) {
    header .container-wide {
        padding-left: 40px !important;
        padding-right: 60px !important;
    }
}

/* Scroll Top Button Position Adjustment */
#scroll-top-btn {
    right: 50px !important;
}
