
.gym-page .beauty-notice-title {
    color: #995964;
}

/* Service Detail Banner Styles */
.service-detail-banner {
    /* background: #f6f8fb; */
    background: linear-gradient(to bottom, #efe8e9, #fff);
}

.service-detail-text-section {
    padding: 4rem 1.5rem;
    text-align: center;
    /* background: #f6f8fb; */
}

.service-detail-title {
    color: #995964;
    font-size: 44px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-detail-subtitle {
    color: #393939;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

h2.service-detail-subtitle {
    font-size: 24.2px;
}

h3.service-detail-subtitle {
    font-size: 16px;
}

.service-detail-description {
    color: #393939;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-detail-image-section {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.service-detail-image {
    position: relative;
    width: 100%;
    max-width: 1410px;
    margin: 0 auto;
    aspect-ratio: 1410 / 489;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    animation: pageLoadZoom 1.5s ease;
}
@keyframes pageLoadZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* Animation */
.engin-detail-animate {
    opacity: 0;
    transform: translateY(45px);
    animation: enginDetailSlideUp 0.9s ease-out forwards;
    animation-delay: var(--engin-detail-delay, 0s);
}

@keyframes enginDetailSlideUp {
    0% {
        opacity: 0;
        transform: translateY(45px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .service-detail-text-section {
        padding: 2.6rem 0rem 0 0;
    }
    
    .service-detail-title {
        margin-bottom: 1rem;
        font-size: 38.7px;
    }
    
    .service-detail-subtitle {
        margin-bottom: 1.5rem;
        font-size: 21.2px;
    }
    .service-detail-image{
        height: 133px;
        max-width: 384px;
    }
    .mb-4,.mb-5{
        margin-bottom: 0rem !important;
    }
    .furniture-section .col-lg-6{
        margin-bottom: 0rem !important;
    }
    .furniture-title{
        padding-bottom: 1rem !important;
    }
    .service-icon-title{
        font-size: 30.9px !important;
    }
    .service-icon-item-title{
        font-size: 21.2px !important;
        margin-bottom: 0rem !important;
    }
}

.engin-cases-detail-page {
    padding: 2rem 1.5rem 5rem;
    text-align: center;
    background: #f6f8fb;
}

/* PC端固定尺寸 - Service Detail Page */
@media (min-width: 992px) {
    .furniture-categories .furniture-image-wrapper {
        width: 705px;
        height: 392px;
        max-width: 705px;
        flex-shrink: 0;
    }
    
    .furniture-categories .col-lg-6.aos-animate-text {
        width: 705px;
        height: 392px;
        max-width: 705px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.engin-cases-detail-page h2 {
    color: #995964;
    margin-bottom: 3rem;
    font-size: 44px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.case_detail_content{
    padding: 3rem !important;
}

.engin-cases-detail-page h3 {
    color: #995964;
    line-height: 1.5;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 30.8px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.engin-cases-detail-page h4,
.engin-cases-detail-page h5 {
    margin-bottom: 3rem;
    color: #393939;
    font-size: 16px;
}

.engin-cases-detail-page h5 {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    margin-top: 3rem;
}

/* Service Icon Content Section */
.service-icon-content {
    background: #efe8e9;
    padding: 4rem 1.5rem 6rem;
}

.service-icon-content .container {
    max-width: 1410px;
    margin: 0 auto;
}

.service-icon-header {
    text-align: center;
    margin-bottom: 4rem;
}

.service-icon-title {
    color: #995964;
    font-size: 35.2px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.3;

}

.service-icon-intro {
    color: #393939;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

.service-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.service-icon-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #6bb3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: transparent;
}

.service-icon-circle i {
    font-size: 2.5rem;
    color: #6bb3d3;
}

.service-icon-item-title {
    color: #995964;
    font-size: 24.2px;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-icon-item-desc {
    color: #393939;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .service-icon-content {
        padding: 3rem 0 3rem 0;
    }
    
    .service-icon-header {
        margin-bottom: 1rem;
    }
    
    .service-icon-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-icon-circle img {
        width: 96px;
        height: 96px;
    }
    
    .service-icon-circle i {
        font-size: 2rem;
    }
}

/* Service Other Content Section */
.service-othercontent {
    padding: 4rem 1.5rem;
}

.service-othercontent .container {
    max-width: 1410px;
    margin: 0 auto;
}

.service-othercontent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.service-othercontent-title {
    color: #995964;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    margin: 0;
}

.service-othercontent-nav {
    display: flex;
    gap: 0.5rem;
}

.service-othercontent-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(31, 51, 88, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: #393939;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-othercontent-nav-btn i {
    transform: scaleY(0.7);
    display: inline-block;
    position: relative;
    z-index: 2;
}

/**===============nav button===============**/

/* 背景色滑动效果 - 从左滑到右 */
.service-othercontent-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #e58393;
    transition: left 0.3s ease;
    z-index: 0;
}

/* 透明白色遮罩滑动效果 */
.service-othercontent-nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 1;
}

.service-othercontent-nav-btn i {
    position: relative;
    z-index: 2;
}

.service-othercontent-nav-btn:hover {
    color: #ffffff;
    text-decoration: none;
}

.service-othercontent-nav-btn:active i {
    color: #fff;
}

/* 悬停时：背景色从左滑到右 */
.service-othercontent-nav-btn:hover::before {
    left: 0;
}

/* 悬停时：透明白色遮罩从左滑到右 */
.service-othercontent-nav-btn:hover::after {
    left: 0;
}

/* 移开时：背景色从右向左滑出（回到左侧） */
.service-othercontent-nav-btn:not(:hover)::before {
    left: -100%;
    transition: left 0.1s ease;
}

/* 移开时：透明白色遮罩从右向左滑出（回到左侧） */
.service-othercontent-nav-btn:not(:hover)::after {
    left: -100%;
    transition: left 0.1s ease;
}
/**========================================**/



.service-othercontent-wrapper {
    position: relative;
    overflow: hidden;
}

.service-othercontent-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    cursor: grab;
    margin-left: 232px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    will-change: scroll-position;
}

/* 移动端移除左边距 */
@media (max-width: 768px) {
    .service-othercontent-track {
        margin-left: 0;
        padding: 0;
        gap: 0;
    }
}

.service-othercontent-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.service-othercontent-track:active,
.service-othercontent-track.is-dragging {
    cursor: grabbing;
}

.service-othercontent-card {
    flex: 0 0 auto;
    width: 750px;
    height: 450px;
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease;
    cursor: grab;
    /* box-shadow: 0 20px 36px rgba(9, 17, 35, 0.16); */
    border-radius: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

.service-othercontent-card:active,
.service-othercontent-card.is-dragging {
    cursor: grabbing;
}

.service-othercontent-card-image,
.service-othercontent-card-image img {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.service-othercontent-card-overlay {
    pointer-events: none;
}

.service-othercontent-card:hover {
    /* box-shadow: 0 28px 48px rgba(9, 17, 35, 0.22); */
    text-decoration: none;
}

.service-othercontent-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.service-othercontent-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.6s ease;
    
}

.service-othercontent-card:hover .service-othercontent-card-image img {
    transform: scale(1.1);
}

.service-othercontent-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.2rem 0rem 0px 2.2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: 2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.service-othercontent-card-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-othercontent-card-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    font-family: "Noto Sans Japanese", sans-serif;
}

/* Hide dots on desktop by default (mobile shows them in the media query below) */
.service-othercontent-dots {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .service-othercontent {
        padding: 2.6rem 0rem 3rem 0;
        width: 384px;
        margin: auto;
    }
    
    .service-othercontent-header {
        flex-direction: column;
        /* align-items: flex-start; */
        gap: 1.5rem;
    }
    
    .service-othercontent-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 227px;
        box-shadow: none;
    }
    
    .service-othercontent-nav {
        display: none;
    }

    .service-othercontent-wrapper {
        overflow: visible;
    }

    .service-othercontent-track {
        gap: 0;
        padding: 0;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        scroll-behavior: smooth;
        justify-content: flex-start;
    }

    .service-othercontent-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* Dots (mobile only) */
    .service-othercontent-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 14px auto 0;
        padding: 0;
    }

    .service-othercontent-dot {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        border: 0;
        background: rgba(57, 57, 57, 0.28);
        padding: 0;
        cursor: pointer;
        transition: width 0.25s ease, background 0.25s ease;
    }

    .service-othercontent-dot.active {
        width: 50px;
        background: rgb(8 8 8 / 70%);
    }

    /* Center overlay text on mobile */
    .service-othercontent-card-overlay {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .service-othercontent-card-meta,
    .service-othercontent-card-title {
        font-size: 27.2px;
        text-align: center !important;
    }
}

/* Service Draw Section (Package & Contact) */
.service-draw {
    padding:  0;
}


.service-draw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.service-draw-item {
    position: relative;
    overflow: hidden;
    height: 555px;
    cursor: pointer;
}

.service-draw-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-draw-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-draw-item:hover .service-draw-image img {
    transform: scale(1.1);
}

.service-draw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.service-draw-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    z-index: 3;
    text-align: center;
}

.service-draw-contact .service-draw-content {
    justify-content: space-between;
    align-items: center;
}

.service-draw-contact .service-draw-label {
    margin-bottom: 0;
    align-self: center;
}

.service-draw-contact .service-draw-title {
    margin: auto 0;
    align-self: center;
}

.service-draw-contact .service-draw-button {
    margin-bottom: 10px;
    align-self: center;
}

.service-draw-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.service-draw-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-draw-button {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background: #e58393;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-draw-button:hover,
.service-draw-button:focus {
    background: #e58393;
    color: #ffffff;
    text-decoration: none;
}

/* 鼠标悬停时的浅色遮罩滑动效果 */
.service-draw-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.service-draw-button:hover::before {
    left: 100%;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    /* .service-draw { padding: 3rem 1rem; } */
    
    .service-draw-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }
    .service-icon-circle{
        width: 96px;
        height: 96px;
    }
    .service-icon-circle img{
        width: 96px;
        height: 96px;
    }
    .service-draw-button{
        padding: 0.715rem 2.7rem;
    }

    /* Mobile: set both cards to 227px height */
    .service-draw-item {
        height: 241px;
    }

    .service-draw-image,
    .service-draw-overlay,
    .service-draw-content {
        height: 241px;
    }
    
    /* .service-draw-content {
        padding: 1.5rem;
    } */
    
    .service-draw-title {
        margin-bottom: 1.5rem;
    }
    .service-draw-overlay,
    .service-draw-image{
        max-height: 227px;
    }
}