header .nav-menu .item a,
header .nav-menu .item a:hover,
header .nav-menu .item.active a {
    font-weight: bold;
}

header .nav-menu .item {
    line-height: 78px;
}

header .navbar-div.shrink .nav-menu .item {
    line-height: 60px;
}

/*banner*/

.home-banner004 {
    position: relative;
}

.home-banner004 .banner-box::after {
    content: '';
    position: absolute;
    bottom: -30px;
    background-image: url(/UserFiles/image/index/bn_bottom.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    display: block;
    width: 100%;
    height: 178px;
    z-index: 1;
}

.home-banner004 .banner-img::before {
    content: '';
    display: block;
    padding-bottom: 41%;
}

.home-banner004 .banner-txt .s-title {
    text-align: center !important;
}

.home-banner004 .banner-txt .s-title span {
    color: #fff;
}

@media screen and (max-width: 991px) {
    .home-banner004 .banner-img::before {
        padding-bottom: 75%;
        background-position: center;
    }

    .main .home-banner004 .banner-txt .b-title {
        font-size: 30px;
        padding: 5px 0;
        letter-spacing: 1px;
    }
}

.hon-home-info .container .h-p-list p:first-child {
    max-width: 180px;
}

.hon-home-info .container .row {
    justify-content: space-evenly;
}

.hon-home-info .h-p-list .h-p-txt {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*home-service*/

.hon-home-service {
    margin-bottom: 2rem;
}

/*home-faq*/
.hon-home-faq {
    padding: 4rem 0 6rem;
}

/*home-about*/
.main .home-about004 {
    background-image: url(/UserFiles/image/index/about_bg.jpg);
}

.home-banner004 .banner-title {
    align-items: center;
}

.home-banner004 .banner-txt {
    background-color: rgba(0, 0, 0, 0.6);
}

.home-banner004 .banner-txt .b-title {
    color: #fff;
    font-size: 45px;
}

.home-about004 .about-img {
    max-width: 690px;
}

.home-about004 .about-img:before {
    padding-bottom: 60%;
}

.home-about004 .about-box {
    padding: 2rem 3rem;
    max-width: 1200px;
}

@media (max-width: 991px) {
    .home-about004 .about-box {
        padding: 3rem 2rem;
    }
}

.home-about004 .about-box .title span {
    font-size: 26px;
}

.home-about004 .about-box .text-box {
    margin: 20px 0;
    line-height: 185%;
    font-weight: 500;
    font-size: 18px;
}

.main .home-about004 .btn-more {
    border: none;
    background-color: #326797;
    color: #fff;
}

.home-about004 .btn-more .icon {
    display: none;
}

/*home-news*/

.knowledge-box {
    position: relative;
}

.knowledge-box::before {
    content: '';
    display: block;
    background-color: #B8B8B8;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translate(-50%, 0);
}

.knowledge-box .head-div .home-title .title-cn {
    font-size: 28px;
    letter-spacing: 3px;
    position: relative;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: 3rem;
}

.knowledge-box .head-div .home-title .title-cn::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #E19D00;
    flex: 0 0 10px;
}

.knowledge-box .head-div .home-title .title-cn span {
    padding: 0 15px;
    position: relative;
    background-color: #fff;
}

.knowledge-box .head-div .home-info-txt {
    font-size: 18px;
    color: #525252;
    letter-spacing: 3px;
    margin-top: 1rem;
}

.home-news001 {
    background-color: #ffffff;
    padding: 30px 0 60px;
}

.main .home-news001 .header {
    display: none !important;
}

.main .home-news001 .news-list .item {
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.2);
    padding: 0;
    border-radius: 10px;
    border: 4px rgb(212 169 1 / 0%) solid;
    transition: all 0.3s ease-in-out;
}

.main .home-news001 .news-list .item:hover {
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0);
    border: 4px rgb(212 169 1 / 80%) solid;
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
}

.home-news001 .news-list .item .img-div {
    border-radius: 10px 10px 0 0;
}

.home-news001 .news-list .item .info {
    padding: 10px;
}

.home-news001 .news-list .item .info .more-btn {
    border-radius: 10px 10px 0 0;
    margin-bottom: -14px;
}

.home-news001 .news-list .item .info .more-btn span {
    display: none;
}

.home-news001 .btn-div {
    justify-content: center !important;
}

.home-news001 .btn-more .text {
    margin-right: 0;
}

.home-news001 .btn-more .icon {
    display: none;
}

/**/

.home-contact002 .con-box .con-title,
.home-contact002 .con2-box .con2-title {
    font-weight: bold;
}

.home-contact002 .container-fuild .row {
    margin: 0;
}

/*footer*/

@media screen and (max-width: 991px) {

    footer .footer-link-box {
        padding-bottom: 50px;
    }
}

@media (max-width: 575px) {

    footer .footer-logo-div,
    footer .navigation,
    footer .contact {
        text-align: center;
    }

}

footer .footer-link-div .item a {
    font-weight: bold;
}

footer .com-info,
footer .com-map {
    display: none !important;
}

footer .footer-knowledge .knowledge-item a {
    font-size: 16px;
}

.go-top {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: linear-gradient(0deg, #e07200 0%, #ffd14d 100%);
    z-index: 4;
    right: 24px;
    border-radius: 50px;
}

.go-top.show {
    bottom: 60px;
}

/*page-banner*/

.page-banner .banner-image .title-div .title .en-text {
    display: none;
}

.page-banner .banner-image {
    height: 200px;
}

@media (max-width: 767px) {
    .page-banner .banner-image {
        height: 170px;
    }
}

.page-banner .banner-image .page-info-box {
    padding-top: 97px;
}

.breadcrumb {
    padding: 0;
}

.breadcrumb-item+.breadcrumb-item {
    color: #fff;
}


/*category*/

.category-box .category-row .category-link {
    background-color: #ffffff;
    border: 1px #143f76 solid;
}

.category-box .category-row .category-link a {
    color: #143f76;
}

.category-box .category-row .category-link::before {
    content: none;
}

.category-box .category-row .category-link:hover,
.category-box .category-row .category-link.active {
    background-color: #143f76;
}

/*page-content*/

.page-content .content {
    min-height: 600px;
}

@media (max-width:991px) {
    .page-content .content {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    .category-select-btn-wrapper {
        padding-bottom: 27px;
    }
}

.page-content .content .editor-content .catalog-box li a {
    position: relative;
    z-index: 2;
}

.page-content .content .editor-content h1,
.page-content.knowledge .article-detail003 .page-title span {
    font-size: 30px;
    line-height: 185%;
    color: #143f76;
}

.page-content.knowledge .article-box a {
    text-decoration: none;
}

.article-detail003 .article-box .page-title {
    justify-content: center;
}

.page-content .content .editor-content h2,
.page-content.about .content h2,
.page-content.knowledge h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 185%;
    position: relative;
    padding-bottom: 10px;
    color: #000;
}

.page-content .content .editor-content h2::after,
.page-content.about .content h2::after,
.page-content.knowledge h2::after {
    display: block;
    content: "";
    background: #103F76;
    width: 45px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.page-content .content .editor-content h2::before,
.page-content.about .content h2::before,
.page-content.knowledge h2::before {
    display: block;
    content: "";
    height: 2px;
    width: 100%;
    background: #e2f0ff;
    position: absolute;
    bottom: 0;
    right: 0;
}

.page-content .content .editor-content h2 a {
    display: block;
    margin-top: -70px;
    padding-top: 70px;
}

.page-content.knowledge h2 a {
    display: block;
    margin-top: -70px;
    padding-top: 70px;
}


.page-content .content .editor-content h3,
.page-content.knowledge h3 {
    font-size: 20px;
    font-weight: 700;
    padding-left: 10px;
    position: relative;
}

.page-content .content .editor-content h3::after,
.page-content.knowledge h3::after {
    display: block;
    content: "";
    width: 2px;
    height: 18px;
    background: #103F76;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/*page-know*/

.news-list-wrapper .know-list .item {
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.2);
    padding: 0;
    border-radius: 10px;
    border: 4px rgb(212 169 1 / 0%) solid;
    transition: all 0.3s ease-in-out;
    margin-bottom: 2rem;
}

.news-list-wrapper .know-list .item:hover {
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0);
    border: 4px rgb(212 169 1 / 80%) solid;
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
    background-color: #fff;
}

.news-list-wrapper .know-list .item .know-img {
    border-radius: 8px 8px 0 0;
}

.news-list-wrapper .know-list .item .btn-div {
    justify-content: center !important;
}

.news-list-wrapper .know-list .item .info .more-btn {
    border-radius: 10px 10px 0 0;
    margin-bottom: -14px;
    background-color: rgb(212 169 1 / 100%);
}

.news-list-wrapper .know-list .item .info {
    padding: 10px;
}

.news-list-wrapper .know-list .item .info .title {
    margin: 0 0 10px;
}

/*page-contact*/
.contact-form {
    position: relative;
}

.contact-button-div {
    position: absolute;
    bottom: 60px;
    right: 0;
}

@media (max-width:991px) {
    .contact-button-div {
        position: static;
    }
}

.contact002-wrapper .contact-box002 .map iframe {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact002-wrapper .contact-box002 .con-info .group {
    width: 340px;
}

@media (max-width: 1199px) {
    .contact002-wrapper .contact-box002 .con-info .group {
        width: 260px;
    }
}

@media (max-width: 991px) {
    .contact002-wrapper .contact-box002 .con-info .group {
        width: 210px;
    }
}

@media (max-width: 768px) {
    .contact002-wrapper .contact-box002 .con-info .group {
        width: 100%;
    }

    .page-content.contact {
        margin-top: 0;
        padding-top: 0;
    }
}

.contact002-wrapper .contact-box002 .con-info .group:nth-child(2) {
    display: none;
}



/* table */

.row .block .nowarpTable,
.row .column .nowarpTable {
    border: 1px #ececec solid;
    border-radius: 0;
    background-color: rgb(223 239 255);
}

.row .block table tr td,
.row .block table tr th,
.row .column table tr td,
.row .column table tr th {
    padding: 6px;
    border-width: 3px;
}

.row .block table tr,
.row .column table tr {
    border-color: rgb(255 255 255);
    border-width: 0px;
}

.row .block table tr th,
.row .column table tr th {
    color: #ffffff;
    font-weight: bold;
    background-color: #4674ae;
    border-radius: 0;
    font-size: 18px;
}

.row .block table tr td,
.row .column table tr td {
    background-color: #fafafa;
    border-radius: 0;
}

.row .block table tr td:first-child,
.row .column table tr td:first-child {
    position: relative;
    color: #006bbe;
    background-color: #eff7ff;
    padding-left: 24px;
    /*max-width: 90px;*/
    font-weight: bold;
}

.row .block table tr td:first-child::before,
.row .column table tr td:first-child::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0, -50%);
    background-color: #3a8bd8;
    width: 7px;
    height: 7px;
    display: block;
}

.row .column h3,
.row .block h3 {
    font-size: 24px;
}

@media (max-width: 991px) {
    .go-top {
        right: 10px;
        width: 45px;
        height: 45px;
    }

    .go-top.show {
        bottom: 65px;
        display: block !important;
    }
}

/*page-btn*/

.page-btn a {
    text-decoration: none;
}

.page-btn .home a {
    text-decoration: none;
    color: #fff;
    background-color: #004EA1;
    padding: 5px 10px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.page-btn .home a:hover {
    background-color: #002854;
    transition: all 0.3s ease-in-out;
}

.page-btn .next,
.page-btn .prev {
    border: 1px #004EA1 solid;
    border-radius: 50px;
    padding: 0 10px;
    transition: all 0.3s ease-in-out;
}

.page-btn .next:hover,
.page-btn .prev:hover {
    background-color: #e4f3ff;
    transition: all 0.3s ease-in-out;
}

.page-btn {
    padding-bottom: 3rem;
    padding-top: 0;
}

.editor-content a {
    text-decoration: none;
}

/**/
.hy-cta {
    /* 色票 */
    --hy-navy: #142F62;
    --hy-gold: #E8A020;
    --hy-gold-dark: #c28416;
    --hy-muted: #7d828c;
    --hy-border: #e8eaf0;
    --hy-line: #06C755;
    --hy-line-dark: #04a045;
    --hy-fb: #1877F2;
    --hy-ig: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin: 0 0 56px;
    padding: 40px 44px;
    border-top: 1px solid #ffe2a2;
    border-bottom: 1px solid #ffe2a2;
    background: #fff;
    color: #000;
    line-height: 1.7;
    text-align: left;
}

.hy-cta * {
    box-sizing: border-box;
}

.hy-cta a {
    text-decoration: none;
}

/* ---------- 左：浮水印 Q＋問句 ---------- */
.hy-cta__q {
    position: relative;
    z-index: 1;
}

.hy-cta__q::before {
    content: "Q";
    position: absolute;
    top: 50%;
    left: -18px;
    z-index: -1;
    transform: translateY(-54%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 180px;
    font-weight: 700;
    line-height: 1;
    color: rgb(165 165 165 / 12%);
    pointer-events: none;
}

/* 網站主題有預設 h2 樣式，故保留 !important 覆蓋 */
.hy-cta__q h2 {
    margin: 0 0 12px;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    color: var(--hy-navy) !important;
}

.hy-cta__q h2::before {
    content: none !important;
}

.hy-cta__q h2::after {
    content: "" !important;
    display: block !important;
    width: 36px !important;
    height: 2px !important;
    margin-top: 10px;
    border-radius: 2px;
    background: var(--hy-gold) !important;
}

.hy-cta__q p {
    margin: 0;
    font-size: 16px;
    color: var(--hy-muted);
}

/* ---------- 右：聯絡區 ---------- */
.hy-cta__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 40px;
    border-left: 1px solid var(--hy-border);
}

.hy-cta__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

/* 電話 */
.hy-cta__phone {
    display: flex;
    flex-direction: column;
    color: var(--hy-navy);
    transition: color .2s;
}

.hy-cta__phone:hover {
    color: var(--hy-gold);
}

.hy-cta__phone small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    letter-spacing: .1em;
    color: var(--hy-muted);
}

.hy-cta__phone small i {
    color: var(--hy-gold);
}

.hy-cta__phone strong {
    font-family: Arial, sans-serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* 按鈕組：線上諮詢＋LINE 諮詢 */
.hy-cta__side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hy-cta__form,
.hy-cta__line {
    --btn-bg: var(--hy-gold);
    --btn-edge: var(--hy-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 41px;
    padding: 0 26px;
    border-radius: 5px;
    background: var(--btn-bg);
    box-shadow: 0 4px 0 var(--btn-edge), 0 8px 18px rgba(20, 47, 98, .18);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .06em;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s, filter .2s;
}

.hy-cta__line {
    --btn-bg: var(--hy-line);
    --btn-edge: var(--hy-line-dark);
}

.hy-cta__form:hover,
.hy-cta__line:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--btn-edge), 0 12px 22px rgba(20, 47, 98, .24);
}

.hy-cta__form:active,
.hy-cta__line:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--btn-edge), 0 4px 10px rgba(20, 47, 98, .16);
}

.hy-cta__line i {
    font-size: 22px;
}

.hy-cta__go {
    font-size: 13px;
    transition: transform .2s;
}

.hy-cta__form:hover .hy-cta__go {
    transform: translateX(4px);
}

/* 其他社群：FB／IG 小圓圖示 */
.hy-cta__more {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--hy-muted);
}

.hy-cta__more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: transform .2s;
}

.hy-cta__more a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.hy-cta__more .is-fb {
    background: var(--hy-fb);
}

.hy-cta__more .is-ig {
    background: var(--hy-ig);
}

/* ---------- 平板 ---------- */

@media (max-width: 1399px) {
    .hy-cta {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 1199px) {
    .hy-cta {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }

}

@media (max-width: 991px) {
    .hy-cta {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 32px;
    }

    .hy-cta__contact {
        padding-top: 28px;
        padding-left: 0;
        border-top: 1px solid var(--hy-border);
        border-left: 0;
        gap: 24px;
    }
}

/* ---------- 手機 ---------- */
@media (max-width: 767px) {
    .hy-cta {
        padding: 30px 20px;
        text-align: center;
    }

    .hy-cta__q::before {
        left: 0;
        right: 0;
        transform: translate(0, -50%);
    }

    .hy-cta__q h2 {
        font-size: 21px !important;
    }

    .hy-cta__q h2::after {
        margin-right: auto;
        margin-left: auto;
        transform: translate(0, -50%);
        right: 0;
    }

    .hy-cta__main {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hy-cta__phone {
        align-items: center;
    }

    .hy-cta__phone strong {
        font-size: 35px;
    }

    .hy-cta__form,
    .hy-cta__line {
        width: 100%;
        height: 46px;
    }

    .hy-cta__more {
        justify-content: center;
    }
}