/* Healthy Heart - Luxury Salon Styles */

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #FDFCFB;
    color: #3D3D3D;
    overflow-x: hidden;
    letter-spacing: 0.03em;
    line-height: 1.8;
}

h1, h2, h3, .serif-font {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 400;
}

/* Elegant Selection */
::selection {
    background-color: #E8D4D4;
    color: #3D3D3D;
}

/* Subtle Fade In Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered Fade In for Children */
.stagger-fade > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.stagger-fade.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-fade.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-fade.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-fade.is-visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-fade.is-visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-fade.is-visible > * {
    opacity: 1;
    transform: none;
}

/* Elegant Image Reveal */
.image-reveal {
    overflow: hidden;
    position: relative;
}
.image-reveal img {
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.image-reveal.is-visible img {
    transform: scale(1);
}

/* Soft Float Animation */
@keyframes softFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-animation {
    animation: softFloat 6s ease-in-out infinite;
}

/* Gentle Pulse Glow */
@keyframes gentlePulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}
.pulse-glow {
    animation: gentlePulse 4s ease-in-out infinite;
}

/* Elegant Line Grow */
.line-grow {
    width: 0;
    transition: width 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}
.is-visible .line-grow,
.fade-in-section.is-visible .line-grow {
    width: 48px;
}

/* Smooth Button Hover */
.btn-elegant {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}
.btn-elegant:hover::before {
    left: 100%;
}

/* Card Lift Effect */
.card-lift {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.card-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}

/* Text Fade Up */
.text-fade-up {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.is-visible .text-fade-up,
.fade-in-section.is-visible .text-fade-up {
    opacity: 1;
    transform: none;
}
.text-fade-up:nth-child(1) { transition-delay: 0.1s; }
.text-fade-up:nth-child(2) { transition-delay: 0.2s; }
.text-fade-up:nth-child(3) { transition-delay: 0.3s; }

/* Decorative Circle Animation */
@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -10px) scale(1.02); }
    66% { transform: translate(-5px, 5px) scale(0.98); }
}
.float-circle {
    animation: floatCircle 8s ease-in-out infinite;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #B39B7D, #E8D4D4);
    z-index: 100;
    transform-origin: left;
    transform: scaleX(0);
}

/* Soft Gradient Backgrounds */
.aurora-bg {
    background: radial-gradient(ellipse at 30% 20%, rgba(232, 228, 237, 0.4) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(232, 212, 212, 0.3) 0%, transparent 50%);
}

.gradient-lavender {
    background: linear-gradient(135deg, rgba(232, 228, 237, 0.5) 0%, rgba(253, 252, 251, 0) 60%);
}

.gradient-blush {
    background: linear-gradient(135deg, rgba(232, 212, 212, 0.4) 0%, rgba(253, 252, 251, 0) 60%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #FDFCFB;
}
::-webkit-scrollbar-thumb {
    background: #C9BAA8;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B39B7D;
}

/* Navigation Link Hover */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #B39B7D;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after {
    width: 100%;
}

/* Elegant Divider */
.elegant-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #B39B7D, transparent);
}

/* Soft Card Style */
.soft-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 30px -5px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.soft-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Chart Container */
.chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Swiper Custom Styles */
.caseSwiper {
    padding-bottom: 50px;
}
.caseSwiper .swiper-button-next,
.caseSwiper .swiper-button-prev {
    color: #BFA27E;
    width: 40px;
    height: 40px;
}
.caseSwiper .swiper-button-next::after,
.caseSwiper .swiper-button-prev::after {
    font-size: 20px;
}
.caseSwiper .swiper-pagination-bullet {
    background: #D4C4B7;
    opacity: 0.5;
}
.caseSwiper .swiper-pagination-bullet-active {
    background: #BFA27E;
    opacity: 1;
}

