/* 服務頁面 */
.activity.about .event-section.space{
    padding-bottom: 0;
}
.space .category-nav{
    margin: 1rem 0 2rem;
}
.service-cards.service-page {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 0;
}
.service-page .service-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
}
.service-page .service-card-header {
    flex-direction: column;
    margin: 1.6rem 0 0;
}
.service-page .service-card-title {
    text-align: center;
    margin-bottom: 0.8rem;
    flex: unset;
}
.service-page .service-btn{
    margin-top: auto;
}
.service-page .service-card-content p {
    text-align: center;
    font-size: 2rem;
}
.service-page .service-btn .event-btn-text, .service-page .service-btn .event-btn-arrow{
    color: #FFF;
}

.service-card-icon img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.33,1,0.68,1);
}
.service-card:hover .service-card-icon img{
    transform: scale(1.05);
}
.intro-wrap-box{
    overflow: hidden;
    margin-bottom: 6rem;
}
.intro-wrap.service-page{
    padding: 6rem 0;
}
.intro-wrap.space:first-child{
    padding: 3rem 0 6rem;
}
.intro-header-box{
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}
.service-page .intro-header{
    justify-content: flex-start!important;
}
.service-page .intro-title{
    white-space: nowrap;
    padding-right: 2.4rem;
    margin-top: -1.6rem;
}
.service-page.space .intro-title{
    font-size: 4.2rem;
    margin-bottom: -3.2rem;
}
.service-page .intro-body {
    align-items: stretch;
}

.service-page .intro-content{
    height: 100%;
}
.service-page .intro-imgbox{
    object-fit: contain;
    min-height: unset;
    height: 100%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
}
.seroppo .intro-body{
    grid-template-columns: 1.4fr 2fr!important;
}
.seroppo .intro-imgbox{
    order: 2;
    margin-left: 6rem;
    margin-right: unset;
}


.intro-en.subcn{
    font-family: "source-han-sans-traditional", sans-serif;
    font-weight: 600;
    font-size: 3.6rem;
    color: var(--color1);
    white-space: unset;
}

.feature-list-box {
    margin-top: 6.4rem;
    padding: 4rem 3.2rem;
    background: #e6e6e67a;
    background-size: 0% 100%, 100% 100%;
    background-position: left top, left top;
    background-repeat: no-repeat;
    position: relative;
    border: none;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
    text-decoration: none;
    transition: background-size 0.5s cubic-bezier(0.33,1,0.68,1);
}

.feature-list-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: linear-gradient(to right, #FFD700, #FF69B4);
    z-index: 1;
}

.feature-list-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
    margin: 0 0 0.8rem 0;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-list li {
    font-size: 2.4rem;
    line-height: 1.8;
    font-weight: 400;
    font-family: "source-han-sans-traditional", sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
}

.feature-list li .intro-accent {
    flex-shrink: 0;
    width: 8px;
    height: auto;
    margin-top: 0.8rem;
}
.space .intro-body{
    margin-top: 0!important;
}

/* 空間圖標網格樣式 */
.space-icon-box{
    padding: 2.4rem 1rem;
    margin-top: 0!important;
}
.space-icon-box::before{
    display: none;
}
.space-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.space-icon-item {
    display: flex;
    align-items: center;
}
.space-icon-item.one-icon img{
    width: auto;
    height: auto;
    max-height: 80px;
}
.space-icon-item img {
    max-height: 80px;
    width: 100%;
    height: 100%;
    height: auto;
    object-fit: contain;
}
.space-icon-box .feature-list-title{
    padding-left: 2rem;
}

/* 空間排列按鈕樣式 */
.space-arrange-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.event-btn-group{
    display: flex;
    gap: 1.2rem;
}
.space .event-btn{
    position: static;
    width: auto;
    flex: 1;
    padding: 1.6rem;
}
.space .event-btn-arrow, .space .event-btn-text{
    color: var(--color1);
    font-size: 1.8rem;
}
.event-btn.onl .event-btn-text,
.event-btn.onl .event-btn-arrow{
    color: #FFF;
}

/* 圖片畫廊樣式 */
.image-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 10 / 6;
    overflow: hidden;
}
.service-page .intro-imgbox::before{
    display: none;
}
.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}
.gallery-image.active {
    opacity: 1;
    z-index: 1;
}

/* 圖片切換控件樣式 */
.image-gallery-controls {
    margin-top: 2.4rem;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.seroppo .image-gallery-controls{
    justify-content: flex-start;
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 0.4rem;
    position: relative;
    z-index: 1;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    border: 1px solid var(--color4);
    background-color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.33,1,0.68,1);
    color: var(--color1);
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.gallery-btn i {
    font-size: 2.4rem;
}

.gallery-btn:hover:not(.disabled) {
    background-color: var(--color3);
    border-color: var(--color3);
    color: #FFFFFF;
}

.gallery-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.gallery-counter {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.6rem;
    font-family: "source-han-sans-traditional", sans-serif;
    color: var(--color1);
    padding: 0 1.2rem;
    min-width: 6rem;
    justify-content: center;
}

.gallery-counter .current-image {
    font-weight: 600;
    color: var(--color3);
}

.gallery-counter .separator {
    color: var(--color4);
}

.gallery-counter .total-images {
    color: var(--color2);
}
@media (max-width: 1500.98px) {
    .service-page .intro-imgbox{
        height: 150%;
    }
    .service-page .intro-content{
        width: 500px;
    }
    .feature-list-box{
        margin-top: 1.6rem;
    }
    .space-icon-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1240.98px) {
    .intro-wrap.service-page,.intro-wrap.space:first-child{
        padding: 0 0 10rem ;
    }
    .service-page .intro-body{  
        grid-template-columns: 1fr!important;
        gap: 4rem;
    }
    .image-gallery-controls {
        margin-top: 4rem;
        position: relative;
        z-index: 10;
    }
    .service-page .intro-content{
        order: 2!important;
        gap: 0.8rem;
        width: unset;
        margin-top: -7.6rem;
    }
    .service-cards.service-page {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }    
    .service-page .intro-imgbox{
        margin: 0;
        height: 100%;
    }
    .service-page .intro-line{
        width: calc(100% - 35rem);
    }
    .feature-list-box{
        margin-top: 3.6rem;
    }
    .seroppo .image-gallery-controls{
        justify-content: flex-end;
        margin-top: 3.2rem;
        position: relative;
        z-index: 10;
    }
    .gallery-controls {
        gap: 0.6rem;
    }

    .gallery-btn {
        width: 3.6rem;
        height: 3.6rem;
    }

    .gallery-btn i {
        font-size: 2rem;
    }

    .gallery-counter {
        font-size: 1.4rem;
        padding: 0 1rem;
        min-width: 5rem;
    }
    .space .intro-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .service-page .space-line{
        width: 100%;
    }
    .space-page .intro-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .intro-header-box{
        gap: 3rem;
    }
    .subcn.price{
        margin-top: -2rem;
    }
    .space-icon-box{
        margin: 2rem 0!important;
    }
    .space-icon-grid{
        grid-template-columns: repeat(3, 1fr);
    }
    .space-icon-item img{
        max-height: unset;
        width: 80%;
    }
    .service-page.space .intro-title{
        margin-bottom: 0;
    }
    .event-btn-group{
        margin-top: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .image-gallery-controls {
        margin-top: 2rem;
        position: relative;
        z-index: 10;
    }
    .service-cards.service-page {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-page .service-card{
        padding: 0 1.6rem 1.6rem 1.6rem;
    }
    .service-card-icon img {
        width: 170px;
        height: 170px;
    }
    .intro-header-box{
        gap: 0.4rem;
    }

    .service-page .intro-header{
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .service-page .intro-line{
        width: 100%;
    }
    .service-page .service-card-content p{
        font-size: 1.8rem;
    }
    .intro-en.subcn{
        font-size: 2.4rem;
    }
    .feature-list-box{
        margin-top: 2rem;
        padding: 3rem 2.4rem;
    }
    .service-page .intro-content{
        margin-top: -6.6rem;
        gap: 0;
    }
    .gallery-btn{
        width: 3rem;
        height: 3rem;
    }
    .space .image-gallery-controls{
        margin-top: 2rem;
    }
    .service-page .space-line{
        margin-top: 0;
    }
    .subcn.price{
        margin-top: 0;
        font-size: 2rem!important;
        font-weight: 500;
    }
    .service-page.space .intro-content {
        margin-top: -6.1rem;
    }
    .space-icon-grid {
        gap: 0.8rem 0;
        margin-top: 0.8rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .space-icon-box .feature-list-title {
        padding-left: 0;
        padding-left: 1rem;
    }
    .space-icon-box {
        padding: 2rem 1rem;
    }
    .space-icon-item img {
        width: 100%;
        max-height: unset;
    }
    .service-page.space .intro-title{
        font-size: 2.4rem;
    }
    .intro-title span{
        font-size: 1.8rem;
        display: block;
    }
}

@media (max-width: 380.98px) {
    .service-cards.service-page {
        grid-template-columns: repeat(1, 1fr);
    }
    .space-icon-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .space-icon-item img {
        width: 70%;
        max-height: unset;
    }
}
.subcn.price{
    font-size: 2.4rem;
}
.price-row{
    display: flex;
    align-items: baseline;
    gap: 0rem 3.2rem;
    flex-wrap: wrap;
}

.arrange-btn {
    padding: 1rem 2rem;
    background-color: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.6rem;
    font-family: "source-han-sans-traditional", sans-serif;
    color: var(--color1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.arrange-btn:hover {
    background-color: #f3f3f3;
}

/* 排列形式彈窗樣式 */
.arrange-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.33,1,0.68,1), visibility 0.3s cubic-bezier(0.33,1,0.68,1);
    padding: 2rem;
}

.arrange-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.arrange-modal {
    background-color: #FFFFFF;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.33,1,0.68,1);
}

.arrange-modal-overlay.active .arrange-modal {
    opacity: 1;
}

.arrange-modal-close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--color1);
    z-index: 10;
    border-radius: 50%;
}

.arrange-modal-close i {
    font-size: 3rem;
    color: #ffffffae;
    transition: color 0.3s ease;
}

.arrange-modal-close:hover i{
    color: #FFFFFF;
}

.arrange-modal-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.arrange-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.arrange-modal-image-controls {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1rem;
}

.arrange-modal-prev,
.arrange-modal-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: var(--color1);
    transition: color 0.3s ease;
}

.arrange-modal-prev:hover:not(.disabled),
.arrange-modal-next:hover:not(.disabled) {
    color: var(--color3);
}

.arrange-modal-prev.disabled,
.arrange-modal-next.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.arrange-modal-prev i,
.arrange-modal-next i {
    font-size: 2.4rem;
}

.arrange-modal-counter {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-family: "source-han-sans-traditional", sans-serif;
    color: var(--color1);
    min-width: 4rem;
    justify-content: center;
}

.arrange-current-image {
    font-weight: 600;
    color: var(--color3);
}

.arrange-separator {
    color: var(--color4);
}

.arrange-total-images {
    color: var(--color2);
}

.arrange-modal-content {
    padding: 3.2rem;
}

.arrange-modal-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
    margin: 0 0 1.6rem 0;
    line-height: 1.4;
}

.arrange-modal-text {
    font-size: 1.8rem;
    color: var(--color4);
    font-family: "source-han-sans-traditional", sans-serif;
    line-height: 1.8;
    margin: 0;
}
@media (max-width: 1240.98px) {
    .space-arrange-buttons{
        margin: 2rem 0;
    }
}
@media (max-width: 767.98px) {
    .arrange-modal-title{
        font-size: 2.4rem;
    }
    .arrange-modal-image-controls{
        bottom: 0.8rem;
        padding: 0.2rem 0.6rem;   
        background-color: fff8;
    }
    .arrange-modal-counter{
        font-size: 1.2rem;
    }
    .arrange-modal-prev, .arrange-modal-next{
        display: none;
    }
}

.meeting-room-section {
    padding: 5rem 0;
    width: 100%;
}

.meeting-room-container {
    display: flex;
    flex-direction: column;
    gap: 3.6rem;
}

.meeting-room-map {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.meeting-room-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: linear-gradient(to right, #FFD700, #FF69B4);
    z-index: 1;
}

.meeting-room-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 價目表改為地圖圖片顯示 */
.space-map-container{
    width: 100%;
    margin-top: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}
.space-map-container img{
    width: 100%;
    height: auto;
    display: block;
}

/* rental.html：提供設備改為單張圖 */
.space-icon-image{
    width: 640px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 線上參觀彈窗內的地圖高度（避免超出視窗） */
.tour-modal .meeting-room-map{
    height: min(700px, 60vh);
}
.tour-modal{
    max-width: 900px;
}

.meeting-room-info {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.meeting-room-header {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.meeting-room-header-top{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.6rem;
}
.meeting-room-header-top .meeting-room-title{
    padding-right: 0;
}
.map-download-group{
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.map-download-btn{
    margin-top: 0;
    transform: translateY(2.2rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.4rem;
    border: 1px solid var(--color1);
    background-color: #ffffff;
    color: var(--color1);
    font-size: 1.6rem;
    font-weight: 600;
    font-family: "source-han-sans-traditional", sans-serif;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.map-download-btn:hover{
    background-color: var(--color1);
    color: #ffffff;
}

.meeting-room-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--color1);
    margin-bottom: -3.2rem;
    font-family: "source-han-sans-traditional", sans-serif;
    white-space: nowrap;
    padding-right: 2.4rem;
    margin-top: -1.6rem;
}

.meeting-room-line {
    width: 100%;
    height: 0.1rem;
    border-bottom: 0.1rem dashed var(--color4);
    margin-top: 4.6rem;
}

.meeting-room-description {
    font-size: 2.4rem;
    line-height: 1.8;
    font-weight: 200;
    color: var(--color2);
    font-family: "source-han-sans-traditional", sans-serif;
    margin: 0;
}

/* 響應式設計 */
@media (max-width: 1240.98px) {
    .meeting-room-section {
        padding: 3rem 0;
    }
    
    .meeting-room-container {
        margin-top: 3.2rem;
        gap: 1.6rem;
    }
    
    .meeting-room-title {
        font-size: 4.32rem;
        margin-bottom: -3.2rem;
    }
    
    .meeting-room-description {
        font-size: 1.8rem;
    }
    .meeting-room-line {
        margin-top: 3.6rem;
    }
}

@media (max-width: 767.98px) {
    .meeting-room-container {
        margin-top: 2.4rem;
        gap: 1.6rem;
    }
    .meeting-room-info{
        gap: 1.2rem;
    }
    .meeting-room-map {
        height: 400px;
    }
    
    .meeting-room-title {
        font-size: 3.24rem;
        margin-bottom: 0;
    }
    .meeting-room-line {
        margin-top: 0.8rem;
    }
    .meeting-room-description {
        font-size: 1.6rem;
    }
}


.price-table-wrapper {
    width: 100%;
    overflow-x: auto;
    position: relative;
    padding-top: 1rem;
    margin: 3rem 0 7rem;
}

.price-table-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: linear-gradient(to right, #FFD700, #FF69B4);
    z-index: 1;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "source-han-sans-traditional", sans-serif;
    background-color: transparent;
    min-width: 1200px;
}

.price-table thead {
    background-color: #4D4D4D;
    color: #FFFFFF;
}

.price-table th {
    padding: 1.6rem 1.2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    border: 0.1rem solid #666666;
    vertical-align: middle;
    line-height: 1.6;
}

.price-table thead tr:first-child th {
    text-align: center;
}

.price-table thead tr:first-child th[colspan="2"] {
    border-bottom: none;
}

.price-table .sub-header th {
    background-color: #666666;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 1.2rem 1.2rem;
    text-align: center;
}

.price-table .sub-header th:empty {
    border: none;
    background-color: transparent;
    padding: 0;
}

.price-table .sub-header th:not(:empty) {
    border-bottom: none;
    border-right: 0.1rem solid #4d4d4d;
}

.price-table .sub-header th:not(:empty):first-of-type {
    border-left: 0.1rem solid #4d4d4d;
}

.price-table .sub-header th:not(:empty):last-of-type {
    border-right: 0.1rem solid #4d4d4d;
}

.price-table tbody tr {
    background-color: #FFFFFF;
    transition: background-color 0.3s cubic-bezier(0.33,1,0.68,1);
}

.price-table tbody tr:nth-child(even) {
    background-color: #F5F5F5;
}

.price-table tbody tr:hover {
    background-color: #EAEAEA;
}

.price-table td {
    padding: 1.6rem 1.2rem;
    font-size: 1.6rem;
    color: var(--color1);
    border: 0.1rem solid #CCCCCC;
    vertical-align: top;
    line-height: 1.8;
}

.price-table td:first-child {
    font-weight: 600;
    color: var(--color2);
}

.price-table td:empty {
    border-left: none;
    border-right: none;
}
/* 響應式設計 */
@media (max-width: 1240.98px) {
    .price-table-wrapper {
        margin-top: 3.2rem;
    }
    
    .price-table th {
        font-size: 1.6rem;
        padding: 1.2rem 0.8rem;
    }
    
    .price-table .sub-header th {
        font-size: 1.4rem;
        padding: 1rem 0.8rem;
    }
    
    .price-table td {
        font-size: 1.4rem;
        padding: 1.2rem 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .price-table-wrapper {
        margin-top: 2.4rem;
    }
    
    .price-table {
        min-width: 1000px;
    }
    
    .price-table th {
        font-size: 1.4rem;
        padding: 1rem 0.6rem;
    }
    
    .price-table .sub-header th {
        font-size: 1.2rem;
        padding: 0.8rem 0.6rem;
    }
    
    .price-table td {
        font-size: 1.2rem;
        padding: 1rem 0.6rem;
        line-height: 1.6;
    }
}

/* 備註說明與聯絡資訊樣式 */
.notes-section,
.contact-section {
    margin: 3.2rem 0 6rem;
    padding: 0;
}

.notes-title,
.contact-title {
    margin-bottom: 1.2rem;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
}

.notes-list {
    font-size: 2rem;
    line-height: 1.8;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 2.4rem;
}

.notes-list li {
    margin-bottom: 1rem;
}


.privacy-intro,
.privacy-paragraph {
    font-size: 2rem;
    line-height: 1.8;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
    margin-bottom: 0;
}

.notes-list ol {
    list-style-type: decimal;
    margin-left: 2.4rem;
    margin-top: 0.8rem;
    margin-bottom: 0;
    padding-left: 0;
}

.notes-list ol li {
    margin-bottom: 0.8rem;
}

@media (max-width: 1240.98px) {
    .privacy-intro,
    .privacy-paragraph {
        font-size: 1.8rem;
    }
    
    .notes-list ol {
        margin-left: 2rem;
    }
}

@media (max-width: 767.98px) {
    .privacy-intro,
    .privacy-paragraph {
        font-size: 1.6rem;
    }
    
    .notes-list ol {
        margin-left: 1.6rem;
    }
}

.contact-unit,
.contact-phone-title,
.contact-fax {
    font-size: 2rem;
    line-height: 1.8;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
}

.contact-list {
    font-size: 2rem;
    line-height: 1.8;
    color: var(--color1);
    font-family: "source-han-sans-traditional", sans-serif;
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.contact-list li {
    margin-bottom: 0.6rem;
}

@media (max-width: 1240.98px) {
    .notes-section,
    .contact-section {
        margin: 2rem 0 3rem;
        padding: 0;
    }
    
    .notes-title,
    .contact-title {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .notes-list {
        padding-left: 2rem;
    }
    
    .notes-list,
    .contact-unit,
    .contact-phone-title,
    .contact-fax,
    .contact-list {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .notes-section,
    .contact-section {
        padding: 0;
    }
    
    .notes-title,
    .contact-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .notes-list {
        padding-left: 1.6rem;
    }
    
    .notes-list,
    .contact-unit,
    .contact-phone-title,
    .contact-fax,
    .contact-list {
        font-size: 1.6rem;
    }
}

/* 聯絡表單樣式 */
.contact-form-container {
    max-width: 800px;
    margin: 4rem auto 6rem;
    padding: 0 var(--page-padding);
}

.contact-form {
    background-color: #e6e6e67a;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background: linear-gradient(to right, #FFD700, #FF69B4);
    z-index: 1;
}

.form-textarea {
    width: 100%;
    padding: 1.6rem;
    font-size: 1.8rem;
    font-family: "source-han-sans-traditional", sans-serif;
    color: var(--color2);
    border: 1px solid #cfcfcf;
    background-color: #FFFFFF;
    transition: border-color 0.3s cubic-bezier(0.33,1,0.68,1), box-shadow 0.3s cubic-bezier(0.33,1,0.68,1);
    outline: none;
    resize: vertical;
    min-height: 12rem;
    line-height: 1.6;
}

.form-textarea::placeholder {
    color: var(--color5);
}

.form-textarea:focus {
    border-color: var(--color3);
    box-shadow: 0 0 0 3px rgba(221, 34, 37, 0.1);
}

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--color1);
    border: 1px solid #cfcfcf;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #DD2225 0%, #EA787A 100%);
    transition: width 0.3s cubic-bezier(0.33,1,0.68,1);
    z-index: -1;
}

.btn-secondary:hover {
    border-color: var(--color3);
    color: #FFFFFF;
}

.btn-secondary:hover::before {
    width: 100%;
}

@media (max-width: 1240.98px) {
    .contact-form-container {
        padding: 0 var(--page-padding);
    }
    
    .contact-form {
        padding: 3rem 2.4rem;
        gap: 2rem;
    }
    
    .form-textarea {
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .contact-form-container {
        margin: 3rem auto 4rem;
    }
    
    .contact-form {
        padding: 2.4rem 1.6rem;
        gap: 1.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-textarea {
        font-size: 1.4rem;
        min-height: 10rem;
    }
}

/* 歷史沿革全屏輪播區塊 */
.history-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 132px);
    overflow: hidden;
    margin-top: 0;
}

/* 叠加在轮播区块上的内容 */
.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
}

.history-overlay * {
    pointer-events: auto;
}

.history-container .breadcrumb-container {
    position: absolute !important;
    bottom: auto !important;
    left: auto !important;
    top: var(--page-padding) !important;
    right: var(--page-padding) !important;
    width: auto !important;
    padding: 0;
    background: transparent;
    margin-top: 0;
}

.history-container .breadcrumb-item {
    color: #ffffffc4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.history-container .breadcrumb-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.history-container .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.history-container .breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
}

.history-container .intro-header-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 0;
    margin-top: 0;
}

.history-container .intro-title {
    z-index: 20;
    margin-top: 20px;
    margin-left: var(--page-padding);
    color: #FFF8;
} 
.history-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-carousel-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.history-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.history-bg-slide.active {
    opacity: 1;
    z-index: 2;
}

.history-bg-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.history-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.history-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 0;
}

.timeline-line {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-years {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    z-index: 2;
    transition: transform 0.3s ease-in-out;
    padding: 50vh 0;
}

.timeline-year {
    position: relative;
    font-size: 2.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: "source-han-sans-traditional", sans-serif;
    padding: 2rem 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 3rem;
    min-height: 350px;
}

.timeline-year::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translate(0, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(150, 150, 150);
    transition: all 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 1;
}

.timeline-year.active {
    padding-right: 6rem;
    color: #FFFFFF;
    font-size: 4.8rem;
    font-weight: 900;
}
.timeline-year.active::before {
    right: -10px;
    width: 24px;
    height: 24px;
    background: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.timeline-year:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
}

.timeline-year:hover:not(.active)::before {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.history-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 0rem;
    max-width: 800px;
    gap: 4rem;
}
.history-title-item {
    position: relative;
    min-height: 400px;
}
.history-title-item:nth-child(2) {
    min-height: 200px;
}
.history-type-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.6rem;
}

.history-type {
    position: relative;
    font-size: 2rem;
    font-weight: 400;
    color: #FFFFFF;
    font-family: "source-han-sans-traditional", sans-serif;
    margin: 0;
    padding-left: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.history-type-wrapper .event-accent {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.history-title {
    font-size: 6.4rem;
    font-weight: 900;
    color: #FFFFFF;
    font-family: "source-han-sans-traditional", sans-serif;
    margin: 0 0 1.6rem 0;
    line-height: 1.2;
    transition: opacity 0.4s ease-in-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.history-subtitle {
    font-size: 2.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    
    margin: 0;
    transition: opacity 0.2s ease-in-out;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.history-event-image {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.history-event-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.topmar{
    margin-top: 3rem;
}
/* 響應式設計 */
@media (max-width: 1240.98px) {
    .history-container{
        height: calc(100vh - 60px);
    }
    .history-title-wrapper {
        padding-left: 4rem;
        max-width: 100%;
        margin-top: -4rem;
    }

    .history-title {
        font-size: 4.8rem;
    }

    .history-subtitle {
        font-size: 2rem;
    }
    .timeline-year {
        padding-right: 8rem;
    }
    .history-container .intro-title{
        font-size: 3rem;
    }

    .history-title-item {
        min-height: 300px;
    }
    .history-title-item:nth-child(2) {
        min-height: 100px;
    }
}

@media (max-width: 767.98px) {
    .topmar{
        margin-top: 0rem;
    }
    .history-title-wrapper{
        padding-left: 3rem;
    }
    .history-title {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }

    .history-subtitle {
        font-size: 1.6rem;
    }
    .timeline-year{
        padding-right: 4rem;
    }
    .timeline-year.active{
        font-size: 3rem;
        padding-right: 3rem;
    }
    .timeline-year.active::before{
        width: 18px;
        height: 18px;
        right: -7px;
    }
    .timeline-year::before{
        width: 16px;
        height: 16px;
        right: -6px;
    }
    .history-container .intro-title{
        font-size: 2rem;
    }
    .history-type{
        font-size: 1.4rem;
    }

    .history-title-item {
        min-height: 200px;
    }
    .history-title-item:nth-child(2) {
        min-height: 80px;
    }
    .history-event-image {
        top: 180px;
        transform: translateY(-50%);
    }
}
