/* Modern Elegant Design System */
:root {
    --brand-olive: #d4cfb4;
    --brand-gold: #c5a67c;
    --brand-dark: #333333;
    --brand-beige: #f9f7f2;
    --title-space-sp: 80px;
    --title-space-pc: 140px;
}

/* Brand Color Utilities */
.bg-brand-dark {
    background-color: var(--brand-dark) !important;
}

.bg-brand-gold {
    background-color: var(--brand-gold) !important;
}

.bg-brand-olive {
    background-color: var(--brand-olive) !important;
}

.bg-brand-beige {
    background-color: var(--brand-beige) !important;
}

.text-brand-dark {
    color: var(--brand-dark) !important;
}

.text-brand-gold {
    color: var(--brand-gold) !important;
}

.text-brand-olive {
    color: var(--brand-olive) !important;
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Shippori+Mincho:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
    line-height: 1.8;
    background-color: var(--brand-beige);
    color: var(--brand-dark);
    user-select: none;
    /* Disable text selection */
    -webkit-user-drag: none;
    /* Disable image/element dragging */
}

/* Allow text selection in specific areas if needed, but for now global */
img {
    pointer-events: none;
    /* Further prevent image interaction */
}

#gallery-modal img,
#modal-img {
    pointer-events: auto;
    /* Re-enable for modal if needed */
}


.font-serif {
    font-family: 'Playfair Display', 'Shippori Mincho', serif;
}

/* Background Patterns */
.bg-botanical {
    background-image: radial-gradient(circle at 2px 2px, rgba(212, 207, 180, 0.2) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Whitespace Logic */
.section-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 80px;
    /* SP Margin */
}

@media (min-width: 992px) {
    .section-container {
        padding-left: 2rem;
        padding-right: 2rem;
        margin-bottom: 120px;
        /* PC Margin */
        max-width: 1280px;
    }
}

/* Standard Section Layout */
.section-standard {
    padding-top: var(--title-space-sp);
    padding-bottom: var(--title-space-sp);
}

@media (min-width: 992px) {
    .section-standard {
        padding-top: var(--title-space-pc);
        padding-bottom: var(--title-space-pc);
    }
}

/* Section Header & Titles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    color: var(--brand-dark);
}

.section-subtitle {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--brand-gold);
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* Large Background Numbers (Watermarks) */
.watermark-num {
    position: absolute;
    font-size: 10rem;
    font-family: 'Playfair Display', serif;
    color: rgba(0, 0, 0, 0.03);
    top: -4rem;
    left: -2rem;
    z-index: -1;
}

/* Decorative Accents */
.accent-line {
    width: 40px;
    height: 1px;
    background: var(--brand-gold);
}

/* Button Styling (Classic Modern) */
.btn-primary {
    background: var(--brand-dark);
    color: white;
    padding: 1rem 2.5rem;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--brand-gold);
}

/* FV Design */
.fv,
.fv-swiper,
.fv-split {
    height: auto;
    display: flex;
}

.fv-img-box {
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.fv-content-box {
    width: 50%;
    background: #e8e4d8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

/* Dynamic Reveal Animations */
.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.0s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1.0s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1.0s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
}

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

/* Stagger Children */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}


/* Background Variations */
.bg-soft-blue {
    background-color: #f0f9ff;
}

.bg-soft-purple {
    background-color: #faf5ff;
}

.bg-soft-green {
    background-color: #f7fee7;
}

/* Voice Card Dynamic */
.voice-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-bottom: 4px solid var(--brand-green);
    margin: 1rem;
    transition: transform 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-10px);
}

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

/* Swiper Custom */
.swiper-pagination-bullet-active {
    background: var(--brand-gold) !important;
}

.swiper-pagination-voice .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #e5e7eb;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-voice .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: var(--brand-gold) !important;
}

/* Gallery Hover */
.gallery-item {
    transition: all 0.5s ease;
}

.gallery-item:hover {
    filter: brightness(0.8);
    transform: translateY(-5px);
}

/* Voice Card */
.voice-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-top: 4px solid var(--brand-green);
    margin: 1rem;
}

/* Mobile Link Animations */
.mobile-link {
    transition: all 0.3s;
    letter-spacing: 0.2em;
}

.mobile-link:hover {
    color: #d4e157;
    transform: scale(1.1);
}

/* Header Active Class */
header.active {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Back to Top Active */
#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#back-to-top:not(.show) {
    transform: translateY(20px);
}

/* Right Click Prevention Overlay (Optional Feedback) */
.copy-prevent-msg {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.8rem;
    z-index: 9999;
}

/* Service 1 Slider */
.service-swiper {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 4px;
    overflow: hidden;
}

.service-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: auto;
}

/* Service Additional Text Box */
.service-text-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-left: 3px solid var(--brand-gold);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .service-text-box {
        padding: 1.5rem;
    }
}