body {
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #334155;
    background-color: #ffffff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.6s;
}
.loader-ring {
    width: 50px;
    height: 50px;
    border: 2px solid #F1F5F9;
    border-top-color: #C5A059;
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
}
@keyframes loaderSpin {
    100% { transform: rotate(360deg); }
}

/* Micro-interactions & Cards */
.tf-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}
.tf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
}

/* Buttons */
.tf-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.tf-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}
.tf-btn:hover::after {
    transform: translateY(0);
}
.tf-btn > * {
    position: relative;
    z-index: 2;
}

/* Swiper FV Animations */
.swiper-slide-active .fv-img {
    transform: scale(1.05);
}
.fv-img {
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* FV Catch Badge Design */
.fv-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    padding: 0 8%;
}

.fv-badge {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #C5A059;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    backdrop-blur: 8px;
    max-width: 100%;
}

.fv-badge {
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 40px -10px rgba(11, 25, 44, 0.15);
    border-radius: 4px;
    animation: fvFloat 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border-left: 4px solid #C5A059;
}

@keyframes fvFloat {
    0%, 100% { transform: translateY(0) rotate(0.01deg); }
    50% { transform: translateY(-12px) rotate(0.01deg); }
}

.fv-badge .diamond {
    color: #C5A059;
    font-size: 1.4rem;
    font-weight: 300;
}

.fv-badge-text {
    color: #0B192C;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.12em;
    font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 767px) {
    .fv-content {
        padding: 0 20px 80px;
        justify-content: flex-end;
        align-items: center;
    }
    .fv-badge {
        padding: 1rem 1.2rem;
        gap: 0.8rem;
    }
    .fv-badge-text {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
    }
    .fv-badge .diamond {
        font-size: 0.9rem;
    }
}

/* FV Rings Design */
.fv-rings {
    position: absolute;
    bottom: 60px;
    left: 8%;
    display: flex;
    gap: 1.5rem;
    z-index: 20;
    pointer-events: none;
}

.fv-ring {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.8);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    pointer-events: auto;
}

.fv-ring:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(197, 160, 89, 0.2);
    border-color: #C5A059;
    background: #fdfaf5;
}



.fv-ring span {
    color: #0B192C;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.15em;
    z-index: 2;
    display: block;
    max-width: 90%;
}

@media (max-width: 1366px) {
    .fv-rings {
        bottom: 40px;
        left: 5%;
        gap: 1rem;
    }
    .fv-ring {
        width: 180px;
        height: 180px;
        padding: 20px;
    }
    .fv-ring span {
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .fv-rings {
        bottom: 80px;
        left: 10px;
        gap: 0.4rem;
        width: 100%;
        justify-content: center;
        left: 0;
    }
    .fv-ring {
        width: 125px;
        height: 125px;
        padding: 15px;
    }
    .fv-ring span {
        font-size: 0.9rem;
        letter-spacing: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 20;
}
.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes scrollDown {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

/* Image Parallax Container */
.parallax-wrapper {
    overflow: hidden;
    position: relative;
}

/* Nav Links Smooth Underline */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #C5A059;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Section Image Focus Style */
.parallax-wrapper, 
.tf-card .overflow-hidden {
    border: 8px solid #ffffff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.parallax-wrapper img,
.tf-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tf-card .overflow-hidden:hover img {
    transform: scale(1.08);
}

/* Utility */
.bg-fixed-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
