@charset "UTF-8";
/* Main CSS File */

/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
:root {
    --color-bg: #111111;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --color-accent: #c9a063;
    /* Gold/Brass for premium feel */
    --color-accent-dark: #a67c41;
    --font-serif: "Shippori Mincho", serif;
    --spacing-sp: 80px;
    --spacing-pc: 120px;
}

/* Fallback Utility Classes for Server Reliability */
.bg-kouun-dark {
    background-color: #111111 !important;
}

.bg-kouun-gray {
    background-color: #1a1a1a !important;
}

.bg-kouun-gold {
    background-color: #c9a063 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.hover\:bg-kouun-gold:hover {
    background-color: #c9a063 !important;
}

.text-kouun-gold {
    color: #c9a063 !important;
}

.text-kouun-dark {
    color: #111111 !important;
}

.text-white {
    color: #ffffff !important;
}

.hover\:text-kouun-gold:hover {
    color: #c9a063 !important;
}

.hover\:text-white:hover {
    color: #ffffff !important;
}

.border-kouun-gold {
    border-color: #c9a063 !important;
}

.border-kouun-dark {
    border-color: #111111 !important;
}

.border-\[#c9a063\] {
    border-color: #c9a063 !important;
}

/* Tailwind fallback */

/* Common UI Fallbacks */
.rounded-2xl {
    border-radius: 1rem !important;
}

.rounded-xl {
    border-radius: 0.75rem !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3) !important;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:brightness-110:hover {
    filter: brightness(1.1);
}

.hover\:bg-transparent:hover {
    background-color: transparent !important;
}

html {
    scroll-behavior: smooth;
}

/* Base Styles */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-serif);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Scroll Animation revealed classes */
.rv-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rv-reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.rv-delay-100 {
    transition-delay: 0.1s;
}

.rv-delay-200 {
    transition-delay: 0.2s;
}

.rv-delay-300 {
    transition-delay: 0.3s;
}

.rv-delay-400 {
    transition-delay: 0.4s;
}

/* Title Specific Animation */
.section-title-container {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title-container.rv-reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.section-title-jp {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.section-title-line {
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    margin: 1.5rem auto 0;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

.section-title-container.rv-reveal-active .section-title-line {
    width: 60px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Add custom text-lg override */
.text-lg {
    font-size: 15px !important;
    line-height: 1.75rem !important;
}

/* Section Margins */
section {
    margin-bottom: var(--spacing-sp);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    background-color: transparent;
    transition: all 0.4s ease;
}

header.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Premium Section Boxes (About, Service, Menu, Notes, etc.) */
.bg-kouun-gray {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5) !important;
    border: 4px solid rgba(201, 160, 99, 0.25) !important;
    overflow: hidden;
}

.bg-kouun-gray:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(201, 160, 99, 0.15) !important;
    border-color: rgba(201, 160, 99, 0.4) !important;
}

/* Specific Shadow for Contact/Access Overlay */
.contact-container {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.6s ease;
}

.contact-container:hover {
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9) !important;
}

#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px;
    overflow-y: auto;
    opacity: 0;
    transition: all 0.4s ease;
}

#mobile-menu-overlay.open {
    display: flex;
    opacity: 1;
}

/* ==========================================================================
   FV & Swiper
   ========================================================================== */
.fv-section {
    margin-bottom: 0 !important;
}

.fv-swiper {
    width: 100%;
}

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

/* SV Banner */
.sv-section {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Section Headings */
.section-title-container {
    position: relative;
    text-align: center;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .section-title-container {
        margin-bottom: 100px;
    }
}

.section-title-en {
    color: var(--color-accent);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title-jp {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    font-weight: 700;
}

@media (min-width: 768px) {
    .section-title-jp {
        font-size: 2rem;
    }
}

.section-title-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 1.5rem auto 0;
}

/* CTA */
.cta-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

/* CTA & Button Animations */
.cta-border-y {
    border-top: 4px solid rgba(201, 160, 99, 0.25) !important;
    border-bottom: 4px solid rgba(201, 160, 99, 0.25) !important;
    border-left: none !important;
    border-right: none !important;
}

.cta-btn,
.bg-kouun-gold,
.border-kouun-gold,
.cta-tel {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.cta-btn:hover,
.bg-kouun-gold:hover,
header .bg-kouun-gold:hover,
.cta-tel:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(201, 160, 99, 0.3);
}

.cta-btn:active,
.bg-kouun-gold:active {
    transform: scale(0.95);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--color-accent);
}

/* Contact Section Border */
.contact-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

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

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

/* Following CTA for Mobile */
.sticky-cta-sp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    display: flex;
}

@media (min-width: 768px) {
    .sticky-cta-sp {
        display: none;
    }
}

/* Menu Specific Phone Override */
@media (max-width: 767px) {
    #menu .text-2xl {
        font-size: 1.4rem;
        line-height: 2rem;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-gold {
    color: var(--color-accent);
}

.bg-dark-accent {
    background-color: #151515;
}

.object-cover {
    object-fit: cover;
}

/* Premium Image Styling */
section img:not(.fv-swiper img) {
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(201, 160, 99, 0.1);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: sepia(20%) brightness(90%);
}

section img:not(.fv-swiper img):hover {
    transform: scale(1.03);
    filter: sepia(0%) brightness(105%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 15px rgba(201, 160, 99, 0.2);
    border-color: rgba(201, 160, 99, 0.4);
}

/* Specific adjustment for service images to ensure consistent aspect ratios */
.service-img-container img {
    aspect-ratio: 4/3;
    width: 100%;
}

/* Swiper & Gallery Enhancements */
.swiper-slide {
    transition: transform 0.5s ease;
}

.gallery-swiper .swiper-slide:hover {
    transform: scale(1.02);
}

.gallery-swiper img,
.voice-swiper .bg-kouun-gray {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* Gallery Marquee Effect */
.gallery-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.gallery-swiper .swiper-slide:hover {
    transform: none !important;
    /* Disable hover scale for smooth continuous movement */
}