.office-page {
    padding: 0;
    background: #f3f3f3;
}

/* Hero Section */
.office-hero {
    padding: 5rem 0 5rem;
    background: #f5f5f5;
}

.office-hero-content {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.office-hero-title {
    font-size: 44px;
    font-weight: 500;
    color: #995964;
    margin: 0 0 1.5rem;
    font-family: "Noto Sans Japanese", sans-serif;
    line-height: 1.3;
}

.office-hero-subtitle {
    font-size: 19.6px;
    font-weight: 500;
    color: #393939;
    margin: 0 0 2rem;
    font-family: "Noto Sans Japanese", sans-serif;
    line-height: 1.8;
}

.office-hero-description {
    font-size: 16px;
    color: #393939;
    line-height: 1.8;
    margin: 0 0 2.5rem;
    font-family: "Noto Sans Japanese", sans-serif;
    margin-left: auto;
    margin-right: auto;
}

.office-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.office-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.15rem;
    background: #995964;
    border-radius: 999px;
    font-size: 16px;
    color: #fff;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: 500;
    position: relative;
    transition: background 0.5s ease;
    padding-left: calc(1rem + 1.8rem + 4px);
}

.office-feature-tag::before {
    content: '';
    width: 1.8rem;
    height: 1.8rem;
    background: #fff;
    border-radius: 50%;
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.office-feature-tag::after {
    /* content: '✓';
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1f2a44;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center; */
    content: ''; /* 不需要字符，用CSS画 */
    position: absolute;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg); /* 旋转45度形成勾的角度 */
    width: 8px; /* 勾的“横臂”长度 */
    height: 14px; /* 勾的“竖臂”长度 */
    border-bottom: 2px solid #1f2a44; /* 勾的线条颜色+粗细 */
    border-right: 2px solid #1f2a44;
}

.office-feature-tag:hover {
    background: #E58393;
}

.office-feature-tag:hover::after {
    
     content: ''; /* 不需要字符，用CSS画 */
    position: absolute;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg); /* 旋转45度形成勾的角度 */
    width: 8px; /* 勾的“横臂”长度 */
    height: 14px; /* 勾的“竖臂”长度 */
    border-bottom: 2px solid #E58393; /* 勾的线条颜色+粗细 */
    border-right: 2px solid #E58393;
    color: #E58393;
}

/* Banner Image Section */
.office-banner-image {
    padding: 0;
    background: #f5f5f5;
    width: 100%;
    overflow: hidden;
}

.office-banner-wrapper {
    width: 100vw;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.office-banner-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Advantages Section */
.office-advantages {
    padding: 4rem 0;
    background: #efe8e9;
}

.office-advantages .container {
    max-width: 1410px;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.office-advantages-header {
    text-align: center;
    margin-bottom: 3rem;
}

.office-section-title {
    font-size: 30.8px;
    font-weight: 500;
    color: #995964;
    margin: 0 0 2rem;
    font-family: "Noto Sans Japanese", sans-serif;
}

.office-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.office-advantage-card {
    background: transparent;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.office-advantage-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.office-advantage-title {
    font-size: 20px;
    font-weight: 500;
    color: #995964;
    margin: 0 0 0.85rem;
    font-family: "Noto Sans Japanese", sans-serif;
}

.office-advantage-desc {
    font-size: 14px;
    color: #1f2a44;
    line-height: 1.6;
    margin: 0;
    font-family: "Noto Sans Japanese", sans-serif;
}

/* Gallery Carousel Section */
.office-gallery {
    padding: 5.4rem 0 0 0;
    background: #fff;
}

.office-gallery .container {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.office-packages-header-view {
    text-align: center;
}

.office-gallery-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.office-gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.office-gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}

.office-gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.office-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.office-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.office-gallery-slide.active .office-gallery-image img {
    transform: scale(1);
}

/* 指示器 */
.office-gallery-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.office-gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.office-gallery-dot.active {
    background: #fff;
    border-color: #fff;
    width: 32px;
    border-radius: 6px;
}

/* Packages Section */
.office-packages {
    padding: 1rem 0;
    background: #f3f3f3;
}

.office-packages .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.office-packages-header {
    text-align: center;
    margin-bottom: 3rem;
}

.office-section-subtitle {
    font-size: 19.2px;
    color: #393939;
    line-height: 1.8;
    font-family: "Noto Sans Japanese", sans-serif;
    margin-bottom:0;
    
}
.office-package-time{
    font-size: 19.2px;
    color: #393939;
    line-height: 1.8;
    font-family: "Noto Sans Japanese", sans-serif;
}

.office-package-note {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.15rem;
    background: #995964;
    border-radius: 999px;
    font-size: 16px;
    color: #fff;
    font-family: "Noto Sans Japanese", sans-serif;
    position: relative;
    transition: background 0.5s ease;
}
.office-package-note:hover{
    background: #E58393;
}

.office-packages-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.office-packages-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.office-packages-table thead {
    background: #995964;
    color: #fff;
}

.office-packages-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    font-family: "Noto Sans Japanese", sans-serif;
}

.office-packages-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #333;
    font-family: "Noto Sans Japanese", sans-serif;
}

.office-packages-table tbody tr:last-child td {
    border-bottom: none;
}

.office-packages-table tbody tr:hover {
    background: #f8f9fa;
}

/* Package Details Section */
.office-package-details {
    padding: 4rem 0;
    background: #f8f9fa;
}

.office-package-details .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.office-package-details-header {
    text-align: center;
    margin-bottom: 3rem;
}

.office-package-details-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.office-package-details-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    border: 1px solid #e0e0e0;
    background: #fafafb;
}

.office-package-details-table thead {
    background: #fff;
    color: #393939;
}

.office-package-details-table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    font-family: "Noto Sans Japanese", sans-serif;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: none;
    border-right: none;
}

.office-package-details-table th:first-child {
    border-left: 1px solid #e0e0e0;
}

.office-package-details-table th:last-child {
    border-right: 1px solid #e0e0e0;
}

.office-package-details-table td {
    padding: 0.7rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: none;
    border-right: none;
    font-size: 16px;
    color: #333;
    font-family: "Noto Sans Japanese", sans-serif;
    vertical-align: top;
}

.office-package-details-table td:first-child {
    border-left: 1px solid #e0e0e0;
}

.office-package-details-table td:last-child {
    border-right: 1px solid #e0e0e0;
}

.office-package-details-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}



.office-package-details-table tbody tr:last-child td {
    border-bottom: 1px solid #e0e0e0;
}

.office-package-notes {
    margin-top: 1rem;
    padding: 2rem 0 4rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.office-notes-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2a44;
    margin: 0 0 1rem;
    font-family: "Noto Sans Japanese", sans-serif;
}

.office-notes-text {
    font-size: 16px;
    color: #393939;
    line-height: 1.8;
    margin: 0 0 2rem;
    font-family: "Noto Sans Japanese", sans-serif;
    text-align: left;
}

.office-quote-btn {
    display: inline-block;
    padding: 0.75rem 2.35rem;
    background-color: #E58393;
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 16px;
    font-family: "Noto Sans Japanese", sans-serif;
    z-index: 1;
}

.office-quote-btn:hover,
.office-quote-btn:focus {
    background-color: #E58393 !important;
    color: white !important;
}

/* 鼠标悬停时的浅色遮罩滑动效果 */
.office-quote-btn::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;
}

.office-quote-btn:hover::before {
    left: 100%;
    transform: translateX(0);
}

.office-package-hr {
    width: 100%;
    margin: 0;
    border: none;
    border-top: 2px solid #9f9d9d;
    display: block;
    margin-bottom: 3rem;
    
}

/* Responsive */
@media (max-width: 768px) {
    .office-hero {
        padding: 3rem 0 2.5rem;
    }

    .office-hero-title {
        font-size: 28px;
        margin-bottom: 1rem;
    }

    .office-hero-subtitle {
        font-size: 13px;
        margin-bottom: 1.5rem;
    }

    .office-hero-description {
        font-size: 13px;
        margin-bottom: 2rem;
    }

    .office-hero-features {
        gap: 0.75rem;
        margin-top: 2rem;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .office-feature-tag {
        padding: 0.6rem 1rem;
        padding-left: 2.5rem;
        font-size: 12px;
        flex: 0 0 auto;
        max-width: 100%;
        word-break: break-word;
    }

    .office-feature-tag::before {
        width: 14px;
        height: 14px;
        left: 0.75rem;
    }

    .office-feature-tag::after {
        width: 6px;
        height: 10px;
        left: 1.1rem;
        border-bottom-width: 1.5px;
        border-right-width: 1.5px;
    }

    .office-section-title {
        font-size: 30.9px;
    }
    .office-advantage-title{
        font-size: 21.2px;
    }

    .office-advantage-desc{
        font-size: 16px;
    }
    .office-advantages-grid {
        grid-template-columns: 1fr;
    }
    .office-packages{
        max-width: 360px;
        margin: auto;
    
    }

    .office-packages-table,
    .office-package-details-table {
        font-size: 16px;
    }
    .office-package-details-table{
        min-width: 0;
    }

    .office-packages-table th,
    .office-packages-table td,
    .office-package-details-table th,
    .office-package-details-table td {
        padding:  1rem;
        width: 33%;
        text-align: center;
    }

    /* Mobile: fixed 360px table wrapper, centered */
    .office-packages-table-wrapper {
        width: 384px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}


.contact-gallery {
    background: #fff;
    padding-top: 0% !important;
}

.contact-slider {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 1rem  0;
}

.contact-slider::before,
.contact-slider::after {
    display: none;
}

.contact-slider .slider-item {
    flex: 0 0 373px;
    max-width: 373px;
    width: 373px;
    overflow: hidden;
    transition: transform 0.45s ease;
}

.contact-slider .slider-item img {
    display: block;
    width: 373px;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.contact-slider-track {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 16px);
    animation: contactSliderScroll 40s linear infinite;
    padding: 0 clamp(12px, 2vw, 32px);
    box-sizing: border-box;
}

.contact-slider-track:hover {
    animation-play-state: paused;
}

.contact-slider .slider-item:hover {
    transform: none;
}

.contact-slider .slider-item:hover img {
    transform: scale(1.05);
}

@keyframes contactSliderScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .contact-hero {
        min-height: 55vh;
        padding: 4rem 0 3rem;
    }

    .contact-hero-items {
        gap: 0.75rem;
    }

    .contact-form-section {
        padding: 2.5rem 2rem;
    }

    .contact-slider-track {
        gap: clamp(10px, 2.8vw, 18px);
        padding: 0 clamp(12px, 3.5vw, 28px);
    }

    .contact-slider .slider-item {
        flex: 0 0 373px;
        max-width: 373px;
        width: 373px;
    }

    .contact-slider .slider-item img {
        width: 373px;
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .office-hero {
        padding: 2.5rem 0 2rem;
    }

    .office-hero-content {
        padding: 0 1rem;
    }

    .office-hero-title {
        font-size: 38.7px;
        margin-bottom: 0.75rem;
    }

    .office-hero-subtitle {
        font-size: 19.3px;
        margin-bottom: 1rem;
    }

    .office-hero-description {
        font-size: 16px;
        margin-bottom: 1.5rem;
    }

    .office-hero-features {
        gap: 0.5rem;
        margin-top: 1.5rem;
        justify-content: center;
        padding: 0;
    }

    .office-feature-tag {
        padding: 0.8rem 0.95rem;
        padding-left: 2.65rem;
        font-size: 16px;
        flex: 0 0 auto;
        min-width: 0;
    }
    .office-section-title{
        margin:  0 0 1rem ;
    }
    .office-advantage-icon{
        margin: 0;
    }
    .office-advantages-grid{
        gap: 0.8rem;
    }
    .office-advantages-header{
        margin-bottom: 0rem;
    }
    .office-advantage-icon img{
        width: 96px;
        height: 96px;
    }

    .office-feature-tag::before {
        width: 28px;
        height: 28px;
        left: 0.65rem;
    }

    .office-feature-tag::after {
        width: 8px;
        height: 13px;
        left: 1.2rem;
        border-bottom-width: 2.5px;
        border-right-width: 2.5px;
    }
    .office-gallery .container{
        padding: 0 0.87rem;
    }

    .office-feature-tag:hover::after {
        content: '';
        position: absolute;
        left: 1.2rem;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        width: 9px;
        height: 16px;
        border-bottom: 2px solid #E58393;
        border-right: 2px solid #E58393;
        color: #E58393;
    }

    .contact-page {
        padding-top: 5rem;
    }

    .contact-hero-title {
        letter-spacing: 0.04em;
    }

    .office-banner-wrapper{
        height: 300px;
    }
    .office-advantages .container{
        margin-top: 0;
        margin-bottom: 0;
    }
    .office-section-subtitle{
        font-size: 16px;
    }
    .furniture-section{
        margin-bottom: 0rem;
    }
    .office-package-notes{
        padding: 2rem 0 0 0;
        max-width: 360px;
        margin: auto;
    }
    .office-packages{
        padding: 2rem 0 0 0;
        max-width: 384px;
    }
    .office-package-hr{
        margin-bottom: 1rem;
        margin-top: 3rem;
    }
    .office-packages-table th, .office-packages-table td, .office-package-details-table th, .office-package-details-table td{
        padding: 0.6rem;
    }

    .office-packages-table-wrapper{
         max-width: 360px;
    }
    .office-packages .container{
        padding: 0;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    .contact-slider{
        padding:1rem 0 1rem 0;
    }

    .contact-hero-item {
        font-size: 0.9rem;
        width: 100%;
    }
    .office-gallery{
        padding: 3rem 0 0;
    }

    .contact-slider-track {
        gap: clamp(8px, 4vw, 16px);
        padding: 0 clamp(10px, 4.5vw, 22px);
        animation-duration: 15s; /* mobile: faster */
    }
    .py-5{
        padding-bottom: 0 !important;
    }

    .contact-slider .slider-item {
        flex: 0 0 160px;
        max-width: 160px;
        width: 160px;
    }

    .contact-slider .slider-item img {
        width: 160px;
        height: 120px;
        object-fit: cover;
        object-position: center;
    }
}

.contact-form-message {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in;
}

.contact-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 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;
    }
}