/*
Author: kenrich
Time:2023-01-03 -- 2023-01-10
/* reset */

/* 方法 1: 再次 @import (雙重保險) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;700&display=swap');

/* 方法 2: 直接定義 @font-face (Safari 備用) */
@font-face {
    font-family: 'Noto Serif TC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notoseriftc/v28/XLYgIZb5bJNDGYxLBibeHZ0Bvr8vbX9GTsoOAQ.woff2) format('woff2');
    unicode-range: U+4E00-9FFF, U+3400-4DBF;
}

@font-face {
    font-family: 'Noto Serif TC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/notoseriftc/v28/XLYgIZb5bJNDGYxLBibeHZ0BhnQvbX9GTsoOAQ.woff2) format('woff2');
    unicode-range: U+4E00-9FFF, U+3400-4DBF;
}


img {
    max-width: 100%;
    width: auto\9;
    height: auto;
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
    border-radius: 0;
}

a {
    transition: all 0.4s ease;
    text-decoration: none !important;
    color: #191819;
}

a:hover,
a:focus {
    transition: all 0.8s ease;
    text-decoration: none !important;
    color: #005750;
    outline: none;
}


body {
    color: #333;
    background: #fff;
    
    /* ✅ 所有字體加引號 */
    font-family: 
        "Noto Serif TC",
        "Songti TC",
        "Songti SC", 
        "Microsoft JhengHei",
        "PMingLiU",
        Georgia,
        "Times New Roman",
        serif;
    
    font-weight: 400;
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Safari 特殊處理 */
@supports (-webkit-appearance: none) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}


* {
    font-family: 'Noto Serif TC', serif, sans-serif, 'Titillium Web', "Arial Black";
    font-size: 16px;
}

h1,
h2,
h3,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-family: 'Noto Serif TC', serif, sans-serif, 'Titillium Web', "Arial Black";
}

h4 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Noto Serif TC', serif, sans-serif, 'Titillium Web', "Arial Black";
}

p {
    line-height: 24px;
    font-family: 'Noto Serif TC', serif, sans-serif, 'Titillium Web', "Arial Black";
}

ul,
li {
    margin: 0;
    padding: 0
}

li {
    list-style-type: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.dn {
    display: none;
}

.db {
    display: block;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
    overflow: hidden;
}

.clearfix {
    zoom: 1;
}

/* banner */
/* 底部 */
footer {
    background: #0d354d;
    color: #fff;
}

.other-baner {
    position: relative;
}

.other-info {
    width: 100%;
    left: 0;
    top: 50%;
    position: absolute;
    z-index: 9999;
}

.other-info h3 {
    font-size: 60px;
    color: #fd5300;
    margin-bottom: 20px;
    margin-top: -70px;
}

.other-info h4 {
    font-size: 48px;
    color: #fff;
}

/* copyright */
.copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 18px;
    border-top: 1px solid #999;
}

.footer-logo img {
    height: 140px;
}

.footer-info {
    padding: 80px 0 60px 0;
}

.footer-menu {
    padding-right: 30px;
}

.footer-menu h4 {
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
    margin-bottom: 20px;
}

.footer-menu li {
    float: left;
    width: 50%;
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #fff;
}

.footer-contact h4 {
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
    margin-bottom: 20px;
}

.footer-contact {
    padding-right: 30px;
}

.footer-contact li {
    margin-bottom: 10px;
}

.footer-social {
    text-align: right;
    padding-top: 30px;
}

.footer-social img {
    width: 40px;
    margin-bottom: 20px;
}

/* 返回顶部 */
.actGotop {
    position: fixed;
    right: 50px;
    bottom: 300px;
    z-index: 9999;
    display: none;
}

.actGotop img {
    width: 60px;
}

.services {
    padding: 120px 0 80px 0;
}

.HTile h4 {
    margin-bottom: 10px;
    color: #fd5300;
}

.HTile {
    padding-bottom: 10px;
    border-bottom: 2px solid #00364f;
    color: #00364f;
    width: 170px;
    background: url(../images/do1.png) no-repeat 140px 45px;
    background-size: 14px;
    margin-bottom: 70px;
}

.services-warpper .col-md-4 {
    padding-right: 30px;
}

.services-list {
    margin-bottom: 70px;
    position: relative;
}

.services-list a {
    display: block;
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    color: #fff;
    border-left: 30px solid #ea6000;
    border-right: 30px solid #0d354d;
    position: absolute;
    bottom: 100px;
    background: #0d354d url(../images/st.png) no-repeat 90% 40px;
    font-size: 24px;
    font-weight: bold;
    background-size: 26px;
}

.news {
    padding: 120px 0 80px 0;
}

.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 10px;
    left: 0px;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 50px;
    height: 4px;
    display: inline-block;
    background: #0d354d;
    opacity: 0.9;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ea6000;
}

#swiper-services h3 {
    margin-bottom: 20px;
    color: #ea6000;
    font-size: 36px;
}

.index-banner .swiper-pagination-bullet {
    width: 2px;
    height: 60px;
    display: block;
    background: #0d354d;
    opacity: 0.9;
}

.index-banner .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ea6000;
}

.index-banner .swiper-pagination-fraction,
.swiper-pagination-custom,
.index-banner .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: calc(50% - 90px);
    left: 50px;
    width: 30px;
    z-index: 9999;
    position: absolute;
}

#swiper-banner h3 {
    font-size: 50px;
    color: #fff;
    margin-bottom: 40px;
}

#swiper-banner h4 {
    font-size: 50px;
    color: #fff;
    margin-bottom: 40px;
}

#swiper-banner a {
    background: url(../images/bg1.png) no-repeat;
    width: 200px;
    background-size: 200px;
    display: inline-block;
    height: 45px;
    line-height: 45px;
    color: #fff;
    padding-left: 50px;
    font-size: 18px;
}

#swiper-banner .other-info {
    margin-top: -70px;
}

/* 分頁 */
.paginatoin-area .pagination-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.paginatoin-area .pagination-box li {
    margin-right: 5px;
    display: inline-block;
}

.paginatoin-area .pagination-box li a {
    color: #ea6000;
    height: 34px;
    width: 34px;
    font-size: 15px;
    display: inline-block;
    padding: 0 10px;
    text-align: center;
    line-height: 34px;
    /*    border-radius: 30px; */
    font-weight: bold;
}

.paginatoin-area .pagination-box li:hover a.next {
    background: transparent;
    color: #ea6000;
}

.paginatoin-area .pagination-box li a i {
    font-size: 12px;
    line-height: 36px;
}

.paginatoin-area {
    padding: 0px;
    margin-bottom: 80px;
    margin-top: 40px;
}

.paginatoin-area .pagination-box li.active a {
    color: #fff;
    background-color: #ea6000;
}

.paginatoin-area .pagination-box li:hover a {
    color: #fff;
    background-color: #ea6000;
}

.paginatoin-area .pagination-box li:hover a.previous {
    background: transparent;
    color: #ea6000;
}

.paginatoin-area .pagination-box li:hover a.next {
    background: transparent;
    color: #ea6000;
}

.paginatoin-area .pagination-box li:last-child {
    margin-right: 0;
}

/* 最新消息 */
.news-list {
    display: block;
    margin-bottom: 30px;
    color: #00364f;
}

.news-list h4 {
    margin-bottom: 10px;
}

.news-list .tags {
    width: 100px;
    float: left;
    padding-top: 25px;
}

.news-list .info {
    float: right;
    width: calc(100% - 100px);
    border-bottom: 1px solid #00364f;
    padding-bottom: 15px;
}

.news-list .tags span {
    padding: 4px 15px;
    display: inline-block;
    background: #ea6000;
    color: #fff;
    border-radius: 30px;
}

.news-list .date {
    width: 180px;
    float: left;
    height: 86px;
    line-height: 80px;
    font-weight: bold;
    color: #ea6000;
}

.news-list .intr {
    float: right;
    width: calc(100% - 180px);
}

.news-list .intr p {
    display: -webkit-box;
    /* 使用WebKit彈性盒模型 */
    -webkit-box-orient: vertical;
    /* 垂直排列子元素 */
    -webkit-line-clamp: 2;
    /* 限制顯示兩行 */
    overflow: hidden;
    /* 隱藏超出內容 */
    text-overflow: ellipsis;
    color: #00364f;
    font-weight: bold;
    font-size: 16px;
    /* 使用省略號 */
}

.single-news {
    padding: 0px 0 80px 0;
}

.single-news-top {
    padding: 10px 0 10px 0;
    text-align: center;
}

.single-news-top p {
    font-size: 16px;
    margin-top: 10px;
}

.single-news-center img {
    margin-bottom: 30px;
}

.single-news-center p {
    line-height: 32px;
    font-size: 16px;
    font-weight: bold;
}

.n-line {
    width: 100%;
    height: 1px;
    background: #999;
    margin-bottom: 30px;
    margin-top: 30px;
}

.prevandnext a {
    font-size: 16px;
}

.single-news {
    padding: 120px 0 80px 0
}

.sitemap {
    padding: 150px 0 120px 0;
}

.sitemap-warpper h3 {
    margin-top: 50px;
    margin-bottom: 30px;
}

.errorpage {
    padding-top: 150px;
    padding-bottom: 120px;
}

.error-btn {
    color: #fff;
    background: #ea6000;
    width: 160px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    -moz-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    border: 1px solid #ea6000;
    display: block;
    margin: 30px auto;
    font-weight: bold;
}

.error-btn:hover {
    color: #ea6000;
    background: #fff;
}

.success {
    padding: 200px 0 180px 0;
    text-align: center;
}

.success img {
    margin-bottom: 10px;
}

.about {
    padding: 120px 0 100px 0;
}

.about .HTile {
    padding-bottom: 10px;
    border-bottom: 2px solid #00364f;
    color: #00364f;
    width: 210px;
    background: url(../images/do1.png) no-repeat 160px 45px;
    background-size: 14px;
    margin-bottom: 70px;
}

.about-left p {
    line-height: 28px;
}

.about-left {
    padding-right: 30px;
}

.contact-right ul {
    margin-right: 20px;
    border-left: 4px solid #498958;
    padding-left: 20px;
}

.contact-right ul li {
    color: #498958;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-right ul li:last-child {
    margin-bottom: 3px;
}

.contact-left {}

.contact-left h4 {
    font-size: 16px;
    line-height: 30px;
}

.contact-right {
    padding-left: 30px;
}

.contact-left h5 {
    font-size: 14px;
    background: url(../images/line3.png) no-repeat left center;
    background-size: 40px;
    height: 40px;
    line-height: 40px;
    padding-left: 50px;
    margin: 10px 0 20px 0;
}

.contact-left input.form-control {
    height: 40px;
    line-height: 40px;
    border: 1px solid #00364f
}

.contact-left textarea.form-control {
    border: 1px solid #00364f
}

.send-btn {
    background: #ea6000;
    outline: none;
    height: 50px;
    line-height: 50px;
    color: #fff;
    width: 200px;
    cursor: pointer;
    margin: 40px auto;
    text-align: center;
    font-size: 18px;
}

.contact-right {
    color: #fff;
    text-align: center;
    padding: 60px 0;
    position: relative;
    background: linear-gradient(135deg, transparent 60px, #0d354d 0);
}

.contact-right-img {
    text-align: right;
    padding-right: 40px;
    margin-bottom: 40px;
}

.contact-info {
    padding: 0 15px 0 75px;
}

.contact-info h4 {
    color: #ea6000;
    margin-bottom: 10px;
    font-size: 22px;
}

.contact-info .contact-right-list {
    margin-bottom: 30px;
}

.contact-right-social {
    margin-top: 40px;
}

.contact-right-social a {
    margin: 0 10px;
}

.inquire {
    height: 120px;
    line-height: 120px;
    width: 356px;
    background: url(../images/sbtn.png);
    background-size: 356px;
    position: absolute;
    right: 0;
    top: 0;
    padding-left: 230px;
}

.menu-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    text-align: center;
    height: 120px;
    line-height: 120px;
}

.logo {
    position: absolute;
    left: 200px;
    top: 0;
    text-align: center;
    height: 120px;
    line-height: 120px;
}

.logo img {
    height: 55px;
}

.menu-btn img {
    height: 30px;
    cursor: pointer;
}

.inquire img {
    height: 65px;
}

.menu {
    position: absolute;
    width: 100%;
    text-align: center;
}

.menu ul {
    display: inline-block;
}

header {
    position: relative;
    height: 120px;
}

header .smenu {
    display: inline-block;
}

header .menu .stli {
    display: inline-block;
    height: 120px;
    line-height: 120px;
    padding: 0 20px;
}

header .menu li a {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0px;
    color: #0d354d;
    border-bottom: 2px solid #fff;
}

header .menu li.active a,
header .menu li:hover a {
    color: #fd5300;
    border-bottom: 2px solid #fd5300;
}

header .menu li.menu-parent ul.sub-pc {
    position: absolute;
    top: 120px;
    left: 0;
    display: none;
    z-index: 9999;
}

header .menu li.menu-parent:hover .sub-pc {
    display: block;
}

header .menu ul.sub-pc {
    height: auto;
    line-height: inherit;
}

header .menu .sub-pc li {
    margin-left: 0;
    background-color: #fd5300;
    margin-bottom: 1px;
    padding: 0;
    width: 160px !important;
    height: 44px !important;
    line-height: 44px !important;
}

header .menu .sub-pc li a {
    color: #fff;
    display: block;
    font-size: 16px !important;
    padding: 0;
    border-radius: 0;
    border-bottom: 0 !important;
}

header .menu li.menu-parent {
    position: relative;
}

.smenu>li {
    position: relative;
}

.phone-menu .left img {
    height: 38px;
}

.phone-menu .right {
    padding-top: 6px;
}

.phone-menu .right img {
    height: 30px;
}

.phone-menu {
    background: #fff;
    padding: 10px 15px;
    width: 100%;
}

.expanded .side-menu {
    left: 0;
}

.side-menu-close {
    text-align: right;
    padding: 8px 15px;
}

.side-menu-close .iconfont {
    color: #fff;
    font-size: 23px;
}

.navset span {
    font-size: 24px;
}

.side-menu-close img {
    height: 24px;
    cursor: pointer;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.side-menu-close:hover img {
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.side-menu-list ul li:hover,
.side-menu-list ul>li.active {
    color: #fff;
    background: #494949;
}

.side-menu-list ul li a {
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    padding: 15px 20px;
    font-weight: 400;
    display: block;
    position: relative;
    z-index: 1;
}

.side-menu-list ul li {
    position: relative;
    border-top: 1px solid #3e3e3e;
    cursor: pointer;
}

.side-menu-list #sub-menu,
.side-menu-list #sub-menu #third-menu {
    display: none;
}

.side-menu-list li.active>#sub-menu,
.side-menu-list li.active>#third-menu {
    display: block !important;
}

.side-menu-list .submenu-parent #sub-menu {
    background: #1f1f1f;
}

.side-menu-list .submenu-parent #sub-menu a {
    font-size: 14px;
    padding: 15px 15px 5px 30px;
}

.side-menu-list .submenu-parent #sub-menu #third-menu a {
    padding-left: 45px;
}

.side-menu-list ul li span {
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    width: 50px;
    height: 47px;
    line-height: 47px;
    text-align: center;
    font-size: 10px;
}

.side-menu {
    width: 100%;
    height: 100%;
    max-width: 285px;
    overflow-y: auto;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transform: all 0.25s ease-in-out;
    left: -285px;
    top: 0
}

.side-menu-list ul>li.active>span {
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

.expanded {
    overflow: hidden;
}

.single-services p {
    color: #00364f;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
}

.services-btn {
    background: url(../images/bg1.png) no-repeat;
    width: 200px;
    background-size: 200px;
    display: inline-block;
    height: 45px;
    line-height: 45px;
    color: #ea6000;
    padding-left: 50px;
    font-size: 18px;
    text-align: left;
    font-weight: bold;
}

/* 手機 */
@media(max-width: 768px) {
    .other-info h3 {
        font-size: 38px;
        color: #fd5300;
        margin-bottom: 10px;
        margin-top: -50px;
    }

    .other-info h4 {
        font-size: 34px;
        color: #fff;
    }

    .errorpage {
        padding: 30px 0;
    }

    .errorpage .text-center {
        margin-top: 40px;
    }

    .footer-info {
        padding: 30px 0 30px 0;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-menu {
        margin-bottom: 20px;
    }

    .footer-social {
        display: none;
    }

    .copyright {
        text-align: center;
        padding: 10px 15px;
        font-size: 14px;
        border-top: 1px solid #999;
    }

    .actGotop {
        position: fixed;
        right: 15px;
        bottom: 200px;
        z-index: 9999;
        display: none;
    }

    .actGotop img {
        width: 40px;
    }

    .about {
        padding: 30px 0;
    }

    .HTile {
        margin-bottom: 20px !important;
    }

    .services {
        padding: 30px 0;
    }

    .services-list {
        margin-bottom: 20px;
    }

    .services-list a {
        display: block;
        width: 100%;
        height: 60px;
        line-height: 60px;
        text-align: center;
        color: #fff;
        border-left: 10px solid #ea6000;
        border-right: 10px solid #0d354d;
        position: absolute;
        bottom: 0px;
        background: #0d354d url(../images/st.png) no-repeat 94% 20px;
        font-size: 20px;
        font-weight: bold;
        background-size: 18px;
    }

    .contact-info {
        display: none;
    }

    .contact-map iframe {
        height: 280px !important;
    }

    .news {
        padding: 30px 0;
    }

    .news-list {
        margin-bottom: 0;
    }

    .news-list .intr {
        width: 100%;
    }

    .news-list .info {
        width: 100%;
        padding-bottom: 0;
    }

    .news-list .date {
        width: 180px;
        float: left;
        height: 46px;
        line-height: 40px;
        font-weight: bold;
        color: #ea6000;
    }

    .paginatoin-area {
        margin-bottom: 20px;
    }

    .swiper-pagination {
        display: none;
    }

    #swiper-banner h3 {
        font-size: 26px;
        color: #fff;
        margin-bottom: 20px;
        display: none;
    }

    #swiper-banner h4 {
        font-size: 26px;
        color: #fff;
        margin-bottom: 20px;
    }

    #swiper-banner .other-info {
        margin-top: -50px;
    }

    .single-news {
        padding: 30px 0;
    }

    .sitemap {
        padding: 30px 0;
    }

    .success {
        padding: 80px 15px;
        text-align: center;
    }
}