body {
    letter-spacing: 0.15rem;
    background-color: #F7F7F7;
    color: #5A5858;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 首頁隱藏h1文字 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 襯線字體 */
.font_serif {
    font-family: "Noto Serif TC", serif;
    font-weight: bold;
}

/* 無襯線字體 */
.font_sans {
    font-family: "Inter", "Roboto", "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", sans-serif;
}

.color_BrandPrimary {
    color: #627E71;
}

.color_595757 {
    color: #595757;
}

.color_A6ADB4 {
    color: #A6ADB4;
}

.color_TextContent {
    color: #5A5858;
}

.color_TextContentBtn {
    display: inline-block;
    width: 100%;
    color: #5A5858;
    text-decoration: none;
    transition: all 0.3s ease;
}

.color_TextContentBtn:hover {
    color: #627E71;
}

.color_707070 {
    color: #707070;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: bold;
}

.h1 {
    font-size: 3rem;
    /* 48px */
}

.h2 {
    font-size: 2.125rem;
    /* 34px */
}

.h3 {
    font-size: 1.75rem;
    /* 28px */
}

.h4 {
    font-size: 1.5rem;
    /* 24px */
}

.h5 {
    font-size: 1.25rem;
    /* 20px */
}

.h6 {
    font-size: 1.125rem;
    /* 18px */
}

.fz_14 {
    font-size: 0.875rem;
    /* 14px */
}

.fz_12 {
    font-size: 0.75rem;
    /* 12px */
}

.fz_22 {
    font-size: 1.375rem;
    /* 22px */
}

.fz_24 {
    font-size: 1.5rem;
    /* 24px */
}

@media (max-width: 991.98px) {
    .h1 {
        font-size: 2.25rem;
        /* 36px */
    }

    .h2 {
        font-size: 1.75rem;
        /* 28px */
    }

    .h3 {
        font-size: 1.5rem;
        /* 24px */
    }

    .h4 {
        font-size: 1.25rem;
        /* 20px */
    }

    .h5 {
        font-size: 1.125rem;
        /* 18px */
    }

    .h6 {
        font-size: 1rem;
        /* 16px */
    }
}

/* 輪播大圖樣式 */
.hero-img {
    width: 100%;
    height: 100vh;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .hero-img {
        height: 100vh;
    }
}

/* 輪播箭頭樣式 */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* 避免擋住圖 */
    margin-top: 0 !important;
    z-index: 10;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    pointer-events: auto;
    background-color: transparent !important;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 20px !important;
    transition: all 0.3s ease;
    border: none !important;
    opacity: 1;
    /* 取代 color 的 hover 控制 */
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    opacity: 0.6;
}

/* 使用 CSS 繪製細線箭頭 */
.hero-slider .owl-nav button.owl-prev::after,
.hero-slider .owl-nav button.owl-next::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.hero-slider .owl-nav button.owl-prev::after {
    transform: rotate(-135deg);
    margin-left: 10px;
    /* 微調視覺中心 */
}

.hero-slider .owl-nav button.owl-next::after {
    transform: rotate(45deg);
    margin-right: 10px;
    /* 微調視覺中心 */
}

@media (max-width: 991.98px) {

    .hero-slider .owl-nav button.owl-prev,
    .hero-slider .owl-nav button.owl-next {
        display: none !important;
        margin: 0 1rem !important;
        /* 手機版距離邊界 1rem */
        width: 40px;
        height: 40px;
    }

    .hero-slider .owl-nav button.owl-prev::after,
    .hero-slider .owl-nav button.owl-next::after {
        width: 16px;
        height: 16px;
    }

    .hero-slider .owl-nav button.owl-prev::after {
        margin-left: -6px;
    }

    .hero-slider .owl-nav button.owl-next::after {
        margin-right: -6px;
    }
}

.header {
    position: relative;
}

.TopNav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 360px;
    z-index: 99;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.TopNavIn {
    height: 125px;
    padding: 0 100px;
}

.Inward {
    padding: 5rem 100px;
}

.BreadcrumbsBox {
    padding: 1rem 100px;
}

.BreadcrumbsBox a {
    text-decoration: none;
    color: #5A5858;
}

.BreadcrumbsBox a:hover {
    color: #5A5858;
}

.menu ul li a {
    display: inline-block;
    color: #627E71;
    text-decoration: none;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.menu ul li a:hover {
    color: #504E4E;
}

.menu ul li a.ContactUsBtn {
    display: inline-block;
    background-color: #627E71;
    color: #E0CDAA;
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.menu ul li a.ContactUsBtn:hover {
    background-color: #504E4E;
}

.MbMenu {
    display: none;
}

.GapFilling {
    height: 120px;
}

@media (max-width: 991.98px) {
    .GapFilling {
        height: 156px;
    }

    .TopNav {
        width: 100%;
        height: 70px;
        background: #fff;
    }

    .Inward {
        padding: 4rem 1rem;
    }

    .BreadcrumbsBox {
        padding: 1rem 1rem;
    }

    .TopNavIn {
        height: 70px;
        padding: 0 1rem;
    }

    .logo img {
        width: 140px;
        height: auto;
    }

    .ContactUsMbBtn {
        text-decoration: none;
        display: inline-block;
        background-color: #627E71;
        color: #E0CDAA;
        padding: 0.4rem 1.2rem;
        margin-left: 0;
        margin-right: 1rem;
    }

    .ContactUsMbBtn:hover {
        color: #E0CDAA;
        background-color: #504E4E;
    }

    .menu_icon_btn {
        background-color: transparent;
        border: none;
        padding: 0;
    }

    .menu ul li a.ContactUsBtn {
        display: none;
    }

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 99;
        padding: 1rem 0 2rem 0;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    }

    .menu ul li a {
        padding: 0.5rem 0;
    }

    .MbMenu {
        display: flex;
    }

    .menu_icon_close {
        display: none;
    }

    .header.menu-open .menu_icon_open {
        display: none;
    }

    .header.menu-open .menu_icon_close {
        display: inline-block;
    }
}

.IndexNewTitle {
    flex: 0 0 auto;
}

.IndexNewBox {
    position: absolute;
    bottom: -100px;
    right: 0;
    width: 80%;
    z-index: 99;
    background-color: #fff;
    padding: 2rem 5%;
}

.IndexNewsBtn {
    display: inline-block;
    text-decoration: none;
    border: 1px solid #E0CDAA;
    background-color: #E0CDAA;
    color: #627E71;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
}

.IndexNewsBtn:hover {
    border: 1px solid #627E71;
    background-color: #fff;
    color: #627E71;
}

.IndexNewList {
    border-left: 1px solid #E0CDAA;
    padding-left: 2rem;
    margin-left: 4rem;
}

.IndexNewListIn {
    width: 100%;
}

@media (max-width: 991.98px) {
    .IndexNewBox {
        position: absolute;
        bottom: -160px;
        right: 1rem;
        width: calc(100% - 2rem);
        padding: 2rem 5%;
    }

    .IndexNewList {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}

/* .ImgBox {
    width: auto;
    height: 900px;
} */

.ImgBox img {
    width: 100%;
    height: auto;
}

.lh26 {
    line-height: 26px;
}

.ViewMoreBtn {
    display: inline-block;
    text-decoration: none;
    color: #627E71;
    padding: 0.7rem 2rem;
    border: 1px solid #627E71;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ViewMoreBtn:hover {
    border: 1px solid #E0CDAA;
    background-color: #E0CDAA;
    color: #627E71;
}

.AboutText {
    margin-left: 6rem;
}

@media (max-width: 1155px) {
    .AboutText {
        margin-left: 2rem;
    }
}

@media (max-width: 1029px) {
    .AboutText {
        margin-left: 0;
    }
}

.SectionBox {
    position: relative;
    width: 100%;
    /* desired width */
}

.SectionBox:before {
    content: "";
    display: block;
    padding-top: 18.5%;
    /* initial ratio of 1:1*/
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.SectionBox img {
    width: 100%;
    height: auto;
}

.InwardWorks {
    padding: 0;
}

.worksBg {
    background-color: #fff;
    padding-bottom: 5rem;
}

@media (max-width: 991.98px) {
    .SectionBox:before {
        padding-top: 36%;
    }

    .SectionBox img {
        width: auto;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .InwardWorks {
        padding: 0 1rem;
    }

    .worksBg {
        padding-bottom: 4rem;
    }
}

/* 輪播圓點自訂樣式 */
.owl-theme .owl-dots .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background-color: #C3C3C3 !important;
    transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background-color: #2A2A2A !important;
}

.IndexContactBox {
    width: 50%;
    flex: 0 0 auto;
    background-color: #2A2A2A;
    padding: 5rem 1rem 5rem 5rem;
    color: #fff;
}

.IndexContactBox a {
    color: #fff;
    text-decoration: none;
}

.IndexContactBox a:hover {
    color: #fff;
}

.IndexMapBox {
    width: 50%;
    flex: 0 0 auto;
}

.IndexMapBox iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 991.98px) {
    .IndexContactBox {
        width: 100%;
        padding: 2rem 1rem;
    }

    .IndexMapBox {
        width: 100%;
        height: 360px;
    }
}

.bg_DC {
    background-color: #DCDDDD;
}

/* .IndexFooterLogo {
    width: 53%;
    flex: 0 0 auto;

} */

.IndexFooterNav ul li a {
    display: inline-block;
    text-decoration: none;
    color: #5A5858;
    padding-bottom: .5rem;
}

.IndexFooterNav ul li a:hover {
    color: #5A5858;
}

.IndexFooterSocial ul li a {
    display: inline-block;
    margin-left: .5rem;
}

@media (max-width: 991.98px) {
    .IndexFooterSocial ul li a {
        margin-left: 0;
        margin: 0 .2rem;
    }
}

.ScollTop {
    position: fixed;
    bottom: 20rem;
    right: 1rem;
    z-index: 999;
    display: none;
}

@media (max-width: 991.98px) {
    .ScollTop {
        bottom: 6rem;
    }
}

.SocialBox {
    position: fixed;
    top: 11rem;
    right: 1.5rem;
    z-index: 9999;
}

.SocialBox a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #627E71;
    border-radius: 5px;
    margin-bottom: .5rem;
    transition: all 0.3s ease;
}

.SocialBox a:hover {
    background-color: #E0CDAA;
    transform: translate(5px, 0);
}

@media (max-width: 991.98px) {
    .SocialBox {
        display: none;
    }
}

.AboutTopBox {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.AboutTopBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.AboutLine {
    display: inline-block;
    width: 10%;
    height: 1px;
    background-color: #627E71;
}

.AboutLine2 {
    display: inline-block;
    width: 120px;
    height: 1px;
    background-color: #627E71;
}

.AboutImg01Box {
    padding: 2rem 100px 5rem 100px;
    position: relative;
}

.AboutImg01Box img {
    width: 100%;
    height: auto;
}

.AboutImg01Box {
    padding: 2rem 100px 5rem 100px;
    position: relative;
}

.AboutImg02Box {
    padding: 2rem 0 0 0;
    position: relative;
}

.AboutImg02Box img {
    width: 100%;
    height: auto;
}



@media (max-width: 991.98px) {
    .AboutLine {
        width: 100%;
    }

    .AboutImg01Box {
        height: 375px;
        padding: 0 0 4rem 0;
        overflow: hidden;
    }

    .AboutImg01Box img {
        width: auto;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .AboutImg02Box {
        height: 375px;
        padding: 0;
        overflow: hidden;
    }

    .AboutImg02Box img {
        width: auto;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}


.flex-0 {
    flex: 0 0 auto;
}

.ContactInfo a {
    text-decoration: none;
    color: #585858;
}

.ContactInfo a:hover {
    color: #585858;
}

.ContactFormBox {
    background-color: #fff;
    padding: 4rem;
}

.ContactBtn {
    background-color: #fff;
    color: #627E71;
    border: 1px solid #627E71;
    padding: 0.7rem 2.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ContactBtn:hover {
    background-color: #627E71;
    color: #fff;
}

.ContactMapBox {
    height: 480px;
    margin: 0;
    padding: 0;
}

.ContactMapBox iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 991.98px) {
    .ContactFormBox {
        padding: 2.5rem 1.2rem;
    }
}

.WorksImgBox {
    position: relative;
    width: 100%;
}

.WorksImgBox:before {
    content: "";
    display: block;
    padding-top: 109%;
}

.WorksImg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.WorksImg img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.WorksImg img:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.WorksBtn {
    text-decoration: none;
    color: #585858;
}

.WorksBtn:hover {
    color: #585858;
}

.PageList li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid #fff;
    color: #6C757D;
    background-color: #fff;
    margin: 0 .3rem;
}

.PageList li a:hover {
    border: 1px solid #D9D9D9;
    color: #9A9A9A;
    background-color: #F7F7F7;
}

.PageList li a.active {
    border: 1px solid #627E71;
    color: #fff;
    background-color: #627E71;
}

.NewsBtn {
    display: block;
    background-color: #fff;
    text-decoration: none;
}


.NewsImgBox {
    position: relative;
    width: 100%;
}

.NewsImgBox:before {
    content: "";
    display: block;
    padding-top: 56%;
}

.NewsImg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.NewsImg img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.NewsImg img:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.NewsContent {
    padding: 1.5rem 2rem 2rem 2rem;
}

/* 文字省略輔助樣式 */
.ellipsis-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ShareBox a {
    display: inline-block;
    text-decoration: none;
    color: #627E71;
    border: 1px solid #D3D3D3;
    padding: 0.5rem 0.8rem;
    margin: 0 .2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ShareBox a:hover {
    color: #fff;
    border: 1px solid #627E71;
    background-color: #627E71;
}

.NewsDetailImg img {
    width: 100%;
    height: auto;
}

.NewsDetailContent {
    line-height: 28px;
}

.NewsDetailContent a {
    text-decoration: none;
    color: #5A5858;
}

.NewsDetailContent a:hover {
    color: #5A5858;
}

.ProjectText {
    line-height: 28px;
}

.ProjectText span {
    color: #B9B9B9;
}

.owl-carousel .item {
    position: relative;
}

.owl-carousel .item .IndexBannerText {
    position: absolute;
    padding: 0 12rem;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .item .IndexBannerText h1 {
    color: #758D87;
    font-size: 3.25rem;
    /* 52px */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.owl-carousel .item .IndexBannerText p {
    color: #fff;
    font-size: 1.75rem;
    /* 28px */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .owl-carousel .item .IndexBannerText {
        padding: 0 2rem;
    }

    .owl-carousel .item .IndexBannerText h1 {
        font-size: 2.3rem;
        /* 32px */
    }

    .owl-carousel .item .IndexBannerText p {
        font-size: 1.1rem;
        /* 16px */
    }
}