/* ---------- Browser Focus Reset ---------- */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus,
.btn:focus,
.btn.focus,
.btn:active:focus,
.btn.active:focus {
    outline: none !important;
    outline-offset: 0 !important;
}

/* ---------- Navbar Logo ---------- */

.navbar-brand {
    display: flex;
    align-items: center;
    column-gap: 12px;
    width: auto;
    max-width: 100%;
    height: 98px;
    padding: 0 15px;
    margin: 0;
}

.navbar-brand>a {
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 100%;
}

.navbar-brand img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

.navbar-brand>a:not(.navbar-brand-name) {
    flex: 0 0 auto;
}

.navbar-brand>a:not(.navbar-brand-name) img {
    width: auto;
    max-width: 80px;
    max-height: 72px;
}

.navbar-brand>a.navbar-brand-name {
    display: flex;
    align-items: flex-start;
    flex: 0 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: none;
    height: auto;
    color: #1249ae;
    line-height: 1;
    text-decoration: none;
}

.navbar-brand-name-zh,
.navbar-brand-name-en {
    color: #1249ae;
    display: block;
    white-space: nowrap;
}

.navbar-brand-name-zh {
    font-family: PMingLiU, MingLiU, "Songti TC", serif;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.12;
    -webkit-text-stroke: .3px #07358e;
}

.navbar-brand-name-en {
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 11px;
    font-stretch: condensed;
    font-weight: 900;
    letter-spacing: -.15px;
    line-height: 1.25;
    margin-top: 4px;
    -webkit-text-stroke: .15px #07358e;
}

.navbar-brand>a.navbar-brand-name:hover,
.navbar-brand>a.navbar-brand-name:focus,
.navbar-brand>a.navbar-brand-name:hover .navbar-brand-name-zh,
.navbar-brand>a.navbar-brand-name:hover .navbar-brand-name-en,
.navbar-brand>a.navbar-brand-name:focus .navbar-brand-name-zh,
.navbar-brand>a.navbar-brand-name:focus .navbar-brand-name-en {
    color: #0b63c7;
    text-decoration: none;
}

@media screen and (max-width:1428px) {
    .navbar-brand {
        column-gap: 10px;
        width: auto;
        height: 88px;
    }

    .navbar-brand>a:not(.navbar-brand-name) img {
        max-width: 68px;
        max-height: 64px;
    }

    .navbar-brand-name-zh {
        font-size: 22px;
    }

    .navbar-brand-name-en {
        font-size: 9.6px;
    }
}

@media screen and (max-width:1257px) {
    .navbar-brand {
        column-gap: 8px;
    }

    .navbar-brand>a:not(.navbar-brand-name) img {
        max-width: 58px;
        max-height: 58px;
    }

    .navbar-brand-name-zh {
        font-size: 19px;
    }

    .navbar-brand-name-en {
        font-size: 8.4px;
        margin-top: 3px;
    }
}

@media screen and (max-width:1200px) {
    .navbar>.container .navbar-brand,
    .navbar>.container-fluid .navbar-brand {
        width: auto;
        max-width: calc(100% - 90px);
        height: 93px;
        padding: 0;
        margin: 0 0 0 15px;
    }
}

@media screen and (max-width:425px) {
    .navbar>.container .navbar-brand,
    .navbar>.container-fluid .navbar-brand {
        max-width: calc(100% - 75px);
        height: 66px;
        padding: 0;
        margin: 0 0 0 15px;
    }

    .navbar-brand {
        column-gap: 7px;
    }

    .navbar-brand>a:not(.navbar-brand-name) img {
        max-width: 44px;
        max-height: 44px;
    }

    .navbar-brand-name-zh {
        font-size: 16px;
        letter-spacing: .3px;
    }

    .navbar-brand-name-en {
        font-size: 7px;
        letter-spacing: -.25px;
        margin-top: 2px;
    }
}

@media screen and (max-width:375px) {
    .navbar>.container .navbar-brand,
    .navbar>.container-fluid .navbar-brand {
        max-width: calc(100% - 65px);
        height: 66px;
        margin: 0 0 0 15px;
    }

    .navbar-brand {
        column-gap: 6px;
    }

    .navbar-brand>a:not(.navbar-brand-name) img {
        max-width: 40px;
        max-height: 40px;
    }

    .navbar-brand-name-zh {
        font-size: 14.5px;
    }

    .navbar-brand-name-en {
        font-size: 6.4px;
    }
}

@media (min-width: 1500px) {
    .container-l {
        width: 1470px;
    }
}

@media screen and (max-width:1500px) {
    nav .container-l {
        width: 100%;
    }
}

@media screen and (max-width:1200px) {
    .link-row .container-l {
        width: 100%;
        padding: 0;
    }
}

@media screen and (max-width:1200px) {
    .product-container-l {
        width: 100%;
    }

    .advantage-container-l {
        width: 100%;
        padding: 0 30px;
    }
}

@media screen and (max-width:768px) {
    .advantage-container-l {
        padding: 0 15px;
    }
}

h2.title {
    color: #242424;
    font-size: 34px;
    font-weight: bold;
    margin: 20px 0 15px;
}

p.caption {
    color: #3f3f3f;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: .5px;
    margin: 0 0 45px;
}

/* ---------- intro-button-1 ---------- */

.intro-button-1 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.intro-button-1 a {
    color: #1E76AD;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .5px;
    transition: all .4s;
}

.intro-button-1:hover a {
    color: #195073;
}

.intro-button-1 .arrow {
    background-color: #1E76AD;
    display: inline-block;
    overflow: hidden;
    width: 45px;
    height: 45px;
    margin-left: 15px;
    position: relative;
    transition: all .4s;
}

.intro-button-1:hover .arrow {
    background-color: #195e8b;
}

.intro-button-1 .arrow::before {
    content: '';
    background-image: url('../../images/arrow-right.png');
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .2s;
}

.intro-button-1:hover .arrow::before {
    left: 150%;
}

.intro-button-1 .arrow::after {
    content: '';
    background-image: url('../../images/arrow-right.png');
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translate(-50%, -50%);
    transition: all .2s;
}

.intro-button-1:hover .arrow::after {
    left: 50%;
}

/* ---------- intro-button-2 ---------- */

.intro-button-2 {
    background-color: #1E76AD;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: 0 auto;
}

.intro-button-2:hover {
    background-color: #195073;
}

.intro-button-2 a:nth-child(1) {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .5px;
    display: block;
    padding: 15px 5px 15px 15px;
}

.intro-button-2 a.arrow {
    display: inline-block;
    overflow: hidden;
    width: 45px;
    height: 45px;
    position: relative;
    transition: all .4s;
}

.intro-button-2 a.arrow::before {
    content: '';
    background-image: url('../../images/arrow-right.png');
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .2s;
}

.intro-button-2:hover a.arrow::before {
    left: 150%;
}

.intro-button-2 a.arrow::after {
    content: '';
    background-image: url('../../images/arrow-right.png');
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: -50%;
    transform: translate(-50%, -50%);
    transition: all .2s;
}

.intro-button-2:hover .arrow::after {
    left: 50%;
}

/* ---------- link-row ---------- */

.link-row {
    background-color: #f8f8f8;
}

.link-row ul {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:992px) {
    .link-row ul {
        flex-wrap: wrap;
    }
}

.link-row ul li {
    background-color: transparent;
    flex-grow: 1;
    transition: all .2s;
    position: relative;
}

@media screen and (max-width:992px) {
    .link-row ul li {
        width: 33%;
    }
}

@media screen and (max-width:768px) {
    .link-row ul li {
        width: 50%;
    }
}

.link-row ul li:hover {
    background-color: #2d92ca;
}

.link-row ul li::before {
    content: "";
    background-color: #dcdcdc;
    width: 2px;
    height: 30px;
    position: absolute;
    top: 50%;
    right: -2px;
    transform: translate(-50%, -50%);
}

.link-row ul li:last-child::before {
    display: none;
}

@media screen and (max-width:992px) {
    .link-row ul li:nth-child(3):before {
        display: none;
    }
}

@media screen and (max-width:768px) {

    .link-row ul li:nth-child(3):before {
        display: block;
    }

    .link-row ul li:nth-child(2):before,
    .link-row ul li:nth-child(4):before {
        display: none;
    }
}

@media screen and (max-width:430px) {
    .link-row ul li::before {
        height: 25px;
    }
}

@media screen and (max-width:375px) {
    .link-row ul li::before {
        height: 20px;
    }
}

.link-row ul li a {
    color: #7c7c7c;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    display: block;
    padding: 15px 0;
    transition: all .2s;
}

@media screen and (max-width:1024px) {
    .link-row ul li a {
        font-size: 17px;
    }
}

@media screen and (max-width:992px) {
    .link-row ul li a {
        font-size: 18px;
    }
}

@media screen and (max-width:430px) {
    .link-row ul li a {
        font-size: 16px;
    }
}

.link-row ul li a:hover {
    color: #ffffff;
}

/* ---------- 產品展示 ---------- */

section.product {
    padding: 90px 0 135px;
}

section.product .product-more-button {
    clear: both;
    margin: 45px 0 0 auto;
}

section.product .product-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

section.product .catalog {
    background-image: url('../../images/blue-background.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 220px 20px !important;
    position: relative;
}

section.product .catalog:hover{
    cursor: pointer;
}

@media screen and (max-width:992px) {
    section.product .catalog {
        padding: 200px 20px !important;
    }
}

@media screen and (max-width:576px) {
    section.product .catalog {
        padding: 180px 20px !important;
    }
}

/* @media screen and (max-width:425px) {
    section.product .catalog {
        padding: 230px 20px !important;
    }
}

@media screen and (max-width:375px) {
    section.product .catalog {
        padding: 212px 20px !important;
    }
}

@media screen and (max-width:320px) {
    section.product .catalog {
        padding: 192px 20px !important;
    }
} */

section.product .catalog-text-box {
    width: 75%;
    position: absolute;
    top: 47.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section.product .catalog .catalog-text-box h3 {
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: .5px;
}

@media screen and (max-width:1200px) {
    section.product .catalog .catalog-text-box h3 {
        font-size: 34px;
    }
}

@media screen and (max-width:992px) {
    section.product .catalog .catalog-text-box h3 {
        font-size: 32px;
    }
}

@media screen and (max-width:768px) {
    section.product .catalog .catalog-text-box h3 {
        font-size: 36px;
    }
}

@media screen and (max-width:320px) {
    section.product .catalog .catalog-text-box h3 {
        font-size: 30px;
    }
}

section.product .catalog .catalog-text-box p {
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    margin: 0 0 35px;
}

@media screen and (max-width:1200px) {
    section.product .catalog .catalog-text-box p {
        font-size: 18px;
    }
}

@media screen and (max-width:992px) {
    section.product .catalog .catalog-text-box p {
        font-size: 16px;
    }
}

@media screen and (max-width:768px) {
    section.product .catalog .catalog-text-box p {
        font-size: 20px;
    }
}

@media screen and (max-width:320px) {
    section.product .catalog .catalog-text-box p {
        font-size: 16px;
    }
}

section.product .catalog .catalog-text-box ul {
    display: flex;
    justify-content: center;
}

section.product .catalog .catalog-text-box ul li {
    margin: 0 5px;
}

section.product .catalog .catalog-text-box ul li img {
    width: 45px;
    height: 45px;
    margin: 0 auto 5px;
}

section.product .catalog .catalog-text-box ul li p {
    font-size: 14px;
    letter-spacing: .5px;
    margin: 0;
}

@media screen and (max-width:992px) {
    section.product .catalog .catalog-text-box ul li p {
        font-size: 13px;
    }
}

@media screen and (max-width:768px) {
    section.product .catalog .catalog-text-box ul li p {
        font-size: 14px;
    }
}

@media screen and (max-width:320px) {
    section.product .catalog .catalog-text-box ul li p {
        font-size: 12px;
    }
}

section.product .card {
    background-color: #E4F0FA;
    width: 32.25%;
    padding: 20px;
    margin: 0 0 45px;
    transition: all .2s;
}

@media screen and (max-width:768px) {
    section.product .card {
        width: 48.75%;
    }
}

@media screen and (max-width:576px) {
    section.product .card {
        width: 100%;
    }
}

section.product .card:hover {
    background-color: #C3E1F4;
}

section.product .card .frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background-color: #fff;
}

section.product .card .frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1);
    transition: all .4s;
}

@media screen and (max-width:768px) {
    section.product .card .frame {
        height: 230px;
    }
}

@media screen and (max-width:576px) {
    section.product .card .frame {
        height: 220px;
    }
}

@media screen and (max-width:425px) {
    section.product .card .frame {
        height: 190px;
    }
}

section.product .card:hover .frame img {
    transform: scale(1.05);
}

section.product .card h4 a {
    color: #242424;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: .5px;
    display: block;
    margin: 15px 0 10px;
    transition: all .4s;
}

section.product .card h4 a:hover {
    color: #195073;
}

section.product .card p {
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0 0 20px;
}

/* ---------- 關於我們 ---------- */

section.about {
    display: flex;
}

@media screen and (max-width:1200px) {
    section.about {
        flex-wrap: wrap;
    }
}

section.about .about-left {
    background-image: url('../../images/about-left.jpg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    width: 55%;
    padding: 120px 0;
}

@media screen and (max-width:1200px) {
    section.about .about-left {
        width: 100%;
        padding: 90px 0;
    }

    section.about .about-left>.col-sm-offset-1 {
        margin-left: 0;
    }
}

section.about .about-text-box {
    margin-right: 60px;
}

@media screen and (max-width:1200px) {
    section.about .about-text-box {
        margin: 0 30px !important;
    }
}

@media screen and (max-width:768px) {
    section.about .about-text-box {
        margin: 0 15px !important;
    }
}

section.about h2 {
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 30px;
}

section.about p {
    color: #ffffff;
    text-align: justify;
    line-height: 2.2;
}

section.about a {
    color: #ffffff;
}

section.about .about-right {
    background-image: url('../../images/about-right.jpg');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
    width: 45%;
}

@media screen and (max-width:1200px) {
    section.about .about-right {
        background-attachment: fixed;
        width: 100%;
    }
}

section.about .about-right ul {
    margin: 185px 0 0 30px;
}

@media screen and (max-width:1200px) {
    section.about .about-right ul {
        margin: 45px 30px 0;
    }
}

@media screen and (max-width:768px) {
    section.about .about-right ul {
        margin: 45px 15px 0;
    }
}

section.about .about-right ul li {
    margin: 0 0 45px;
}

section.about .about-right p.number {
    color: #F6FF41;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 5px;
}

section.about .about-right p:nth-child(2) {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

section.about .intro-button-2 {
    margin-left: 0;
}

/* ---------- 我們的優勢 ---------- */

.advantage {
    background-image: url('../../images/advantage.jpg');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    padding: 105px 0 0;
    margin: 0 0 -30px;
}

.advantage h2 {
    color: #ffffff;
    margin: 20px 0 5px;
}

@media screen and (max-width:768px) {
    .advantage h2 {
        margin: 20px 0 10px;
    }
}

.advantage p {
    color: #ffffff;
    margin: 0;
}

@media screen and (max-width:768px) {
    .advantage p {
        margin: 0 0 30px;
    }
}

.carousel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 30px;
}

@media screen and (max-width:768px) {
    .carousel-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

.owl-button {
    border: 1px solid #ffffff;
    display: inline-block;
    width: 45px;
    height: 45px;
    position: relative;
    transition: all .2s;
}

.owl-button:hover {
    background-color: #ffffff;
}

.owl-button-prev::before {
    content: "";
    background-image: url('../../images/arrow-left.png');
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.owl-button-prev:hover::before {
    background-image: url('../../images/blue-arrow-left.png');
}

.owl-button-next::before {
    content: "";
    background-image: url('../../images/arrow-right.png');
    width: 24px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.owl-button-next:hover:before {
    background-image: url('../../images/blue-arrow-right.png');
}

#carousel-advantage .mask {
    overflow: hidden;
    position: relative;
}

#carousel-advantage .mask img {
    display: block;
    width: 100%;
    transform: scale(1);
    transition: all .4s;
}

#carousel-advantage .mask:hover img {
    transform: scale(1.05);
}

#carousel-advantage .mask::before {
    content: '';
    background: linear-gradient(180deg, rgba(36, 36, 36, 0) 25%, rgba(36, 36, 36, 0.75) 75%, rgba(36, 36, 36, 0.95) 100%);
    width: 101%;
    height: 101%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: all .4s;
}

#carousel-advantage .mask:hover::before {
    background: linear-gradient(180deg, rgba(36, 36, 36, 0) 25%, rgba(36, 36, 36, 0.5) 75%, rgba(36, 36, 36, 0.25) 100%);
}

#carousel-advantage .mask .text-box {
    padding: 0 15px;
    margin: 0 0 20px;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

#carousel-advantage .mask .text-box h3 {
    color: #ffffff;
    font-weight: bold;
}

#carousel-advantage .mask .text-box p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin: 0 0 10px;
}

/* ---------- 客戶案例 ---------- */

.customer-case {
    background-color: #efefef;
    padding: 135px 0 0;
}

@media screen and (max-width:576px) {
    .customer-case .col-xs-6 {
        width: 100%;
    }
}

.customer-case .case {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    margin: 0 0 45px;
    transition: all .2s;
}

.customer-case .case:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
}

.customer-case .case .frame img {
    width: 100%;
}

.customer-case .case p {
    color: #242424;
    background-color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 1px;
    padding: 5px 0;
    margin: 0;
}

.customer-case .intro-button-2 {
    margin: 45px auto -27.5px;
}

/* ---------- 影音專區 ---------- */

.rwd-video-gallery {
    color: #3f3f3f;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    margin: 0 15px;
}

.rwd-video-gallery .row {
    display: flex;
    flex-wrap: wrap;
}

.rwd-video-gallery .row>[class*="col-"] {
    display: flex;
}

.rwd-video-gallery .video-card {
    background-color: #ffffff;
    border: 1px solid #e2e8ec;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.rwd-video-gallery .video-card:hover,
.rwd-video-gallery .video-card:focus-within {
    border-color: #1e76ad;
    box-shadow: 0 8px 24px rgba(25, 80, 115, .18);
    transform: translateY(-4px);
}

.rwd-video-gallery .video-link {
    color: #3f3f3f;
    display: block;
    text-decoration: none;
}

.rwd-video-gallery .video-link:hover,
.rwd-video-gallery .video-link:focus {
    color: #3f3f3f;
    text-decoration: none;
}

.rwd-video-gallery .video-frame>.video-link {
    width: 100%;
    height: 100%;
    position: relative;
}

.rwd-video-gallery .video-content p .video-link {
    color: #666666;
}

.rwd-video-gallery .video-content>.video-link {
    margin-top: auto;
}

.rwd-video-gallery .video-frame {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8ec;
    display: block;
    flex: 0 0 190px;
    width: 100%;
    height: 190px;
    position: relative;
    overflow: hidden;
}

.rwd-video-gallery .video-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1);
    transition: transform .4s ease;
}

.rwd-video-gallery .video-card:hover .video-frame img,
.rwd-video-gallery .video-card:focus-within .video-frame img {
    transform: scale(1.06);
}

.rwd-video-gallery .video-frame::after {
    content: '';
    background-color: rgba(0, 0, 0, .12);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: background-color .25s ease;
}

.rwd-video-gallery .video-card:hover .video-frame::after,
.rwd-video-gallery .video-card:focus-within .video-frame::after {
    background-color: rgba(0, 0, 0, .25);
}

.rwd-video-gallery .video-play {
    color: #ffffff;
    background-color: rgba(30, 118, 173, .92);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    font-size: 24px;
    line-height: 1;
    padding-left: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: background-color .25s ease, transform .25s ease;
}

.rwd-video-gallery .video-card:hover .video-play,
.rwd-video-gallery .video-card:focus-within .video-play {
    background-color: #195073;
    transform: translate(-50%, -50%) scale(1.08);
}

.rwd-video-gallery .video-category {
    color: #ffffff;
    background-color: #1e76ad;
    display: inline-block;
    font-size: 14px;
    letter-spacing: .5px;
    padding: 5px 10px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.rwd-video-gallery .video-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.rwd-video-gallery .video-content h3 {
    color: #242424;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.45;
    margin: 0 0 10px;
    transition: color .2s ease;
}

.rwd-video-gallery .video-card:hover .video-content h3,
.rwd-video-gallery .video-card:focus-within .video-content h3 {
    color: #1e76ad;
}

.rwd-video-gallery .video-content p {
    color: #666666;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rwd-video-gallery .video-more {
    color: #1e76ad;
    border-top: 1px solid #e5e5e5;
    display: block;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: .5px;
    padding-top: 12px;
    text-align: right;
}

@media screen and (max-width:991px) {
    .rwd-video-gallery .video-frame {
        flex-basis: 210px;
        height: 210px;
    }
}

@media screen and (max-width:767px) {
    .rwd-video-gallery {
        margin: 0;
        padding-right: 15px;
        padding-left: 15px;
    }

    .rwd-video-gallery .row>[class*="col-"] {
        display: block;
    }

    .rwd-video-gallery .video-frame {
        flex-basis: 300px;
        height: 300px;
    }

    .rwd-video-gallery .video-content h3 {
        font-size: 20px;
    }

    .rwd-video-gallery .video-content p {
        font-size: 16px;
    }

    .rwd-video-gallery .video-more {
        font-size: 15px;
    }

    .rwd-video-gallery .video-category {
        font-size: 13px;
    }
}

@media screen and (max-width:575px) {
    .rwd-video-gallery .video-frame {
        flex-basis: 240px;
        height: 240px;
    }
}

@media screen and (max-width:425px) {
    .rwd-video-gallery .video-frame {
        flex-basis: 200px;
        height: 200px;
    }

    .rwd-video-gallery .video-content {
        padding: 16px;
    }

    .rwd-video-gallery .video-content h3 {
        font-size: 18px;
    }
}

/* ---------- 丸子加工製程頁籤 ---------- */

.rwd-meatball-process {
    color: #3f3f3f;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    font-size: 18px;
    max-width: 920px;
    margin: 0 auto 40px;
}

.rwd-meatball-process .process-eyebrow {
    font-size: 14px;
}

.rwd-meatball-process .process-intro h3 {
    font-size: 24px;
}

.rwd-meatball-process .process-intro p {
    font-size: 18px;
    line-height: 1.8;
}


.rwd-meatball-process .process-tabs {
    border-bottom: 0;
    display: flex;
    margin: 0 -5px 18px;
}

.rwd-meatball-process .process-tabs>li {
    float: none;
    flex: 1;
    margin: 0;
    padding: 0 5px;
}

.rwd-meatball-process .process-tabs>li>a {
    border: 1px solid #dbe5eb;
    border-radius: 4px;
    min-height: 78px;
    margin: 0;
    padding: 14px 10px 12px;
    text-align: center;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.rwd-meatball-process .process-tabs>li:nth-child(1)>a {
    color: #1e76ad;
    background-color: #eaf5fb;
}

.rwd-meatball-process .process-tabs>li:nth-child(2)>a {
    color: #15934d;
    background-color: #edf9f1;
}

.rwd-meatball-process .process-tabs>li:nth-child(3)>a {
    color: #d97700;
    background-color: #fff5e6;
}

.rwd-meatball-process .process-tabs>li>a:hover,
.rwd-meatball-process .process-tabs>li>a:focus {
    border-color: currentColor;
    transform: translateY(-2px);
}

.rwd-meatball-process .process-tabs>li.active:nth-child(1)>a,
.rwd-meatball-process .process-tabs>li.active:nth-child(1)>a:hover,
.rwd-meatball-process .process-tabs>li.active:nth-child(1)>a:focus {
    color: #ffffff;
    background-color: #1e76ad;
    border-color: #1e76ad;
}

.rwd-meatball-process .process-tabs>li.active:nth-child(2)>a,
.rwd-meatball-process .process-tabs>li.active:nth-child(2)>a:hover,
.rwd-meatball-process .process-tabs>li.active:nth-child(2)>a:focus {
    color: #ffffff;
    background-color: #18a957;
    border-color: #18a957;
}

.rwd-meatball-process .process-tabs>li.active:nth-child(3)>a,
.rwd-meatball-process .process-tabs>li.active:nth-child(3)>a:hover,
.rwd-meatball-process .process-tabs>li.active:nth-child(3)>a:focus {
    color: #ffffff;
    background-color: #f39800;
    border-color: #f39800;
}

.rwd-meatball-process .process-tabs .tab-title,
.rwd-meatball-process .process-tabs .tab-subtitle {
    display: block;
}

.rwd-meatball-process .process-tabs .tab-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

.rwd-meatball-process .process-tabs .tab-subtitle {
    margin-top: 3px;
    font-size: 14px;
    letter-spacing: .5px;
    opacity: .82;
}

.rwd-meatball-process .process-tab-content {
    overflow: visible;
}

.rwd-meatball-process .process-panel {
    background-color: #ffffff;
    border: 1px solid #dfe7ec;
    border-top-width: 6px;
    border-radius: 5px;
    overflow: hidden;
}

.rwd-meatball-process .process-panel-blue {
    border-top-color: #1e76ad;
}

.rwd-meatball-process .process-panel-green {
    border-top-color: #18a957;
}

.rwd-meatball-process .process-panel-orange {
    border-top-color: #f39800;
}

.rwd-meatball-process .process-panel-heading {
    padding: 24px 25px 22px;
    text-align: center;
}

.rwd-meatball-process .process-panel-heading h4 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
}

.rwd-meatball-process .process-panel-heading p {
    color: #6c7880;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

.rwd-meatball-process .process-column-head,
.rwd-meatball-process .process-step {
    display: flex;
    align-items: center;
}

.rwd-meatball-process .process-column-head {
    color: #ffffff;
    background-color: #195073;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: bold;
}

.rwd-meatball-process .process-column-head .process-column-number,
.rwd-meatball-process .process-step-number {
    flex: 0 0 46px;
}

.rwd-meatball-process .process-column-head .process-column-zh,
.rwd-meatball-process .process-column-head .process-column-en,
.rwd-meatball-process .process-step-name,
.rwd-meatball-process .process-step-en {
    flex: 1;
}

.rwd-meatball-process .process-column-head .process-column-en,
.rwd-meatball-process .process-step-en {
    border-left: 1px solid rgba(255, 255, 255, .35);
    padding-left: 22px;
}

.rwd-meatball-process .process-step-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rwd-meatball-process .process-step {
    border-bottom: 1px solid #e4eaee;
    min-height: 66px;
    padding: 10px 22px;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.rwd-meatball-process .process-step:nth-child(even) {
    background-color: #f8fafb;
}

.rwd-meatball-process .process-step:last-child {
    border-bottom: 0;
}

.rwd-meatball-process .process-step-number {
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    max-width: 36px;
    height: 36px;
    margin-right: 10px;
    font-size: 14px;
    font-weight: bold;
}

.rwd-meatball-process .process-panel-blue .process-step-number {
    background-color: #1e76ad;
}

.rwd-meatball-process .process-panel-green .process-step-number {
    background-color: #18a957;
}

.rwd-meatball-process .process-panel-orange .process-step-number {
    background-color: #f39800;
}

.rwd-meatball-process .process-step-name,
.rwd-meatball-process .process-step-en {
    color: #3f3f3f;
    font-size: 18px;
    line-height: 1.8;
}

.rwd-meatball-process .process-step-name {
    font-weight: bold;
}

.rwd-meatball-process .process-step-en {
    border-left-color: #dfe7ec;
    color: #6a747b;
}

.rwd-meatball-process .process-note {
    font-size: 18px;
    line-height: 1.8;
}

.rwd-meatball-process .process-panel-blue .process-step:hover {
    background-color: #eaf5fb;
    box-shadow: inset 4px 0 0 #1e76ad;
}

.rwd-meatball-process .process-panel-green .process-step:hover {
    background-color: #edf9f1;
    box-shadow: inset 4px 0 0 #18a957;
}

.rwd-meatball-process .process-panel-orange .process-step:hover {
    background-color: #fff5e6;
    box-shadow: inset 4px 0 0 #f39800;
}

@media screen and (max-width:767px) {
    .rwd-meatball-process {
        font-size: 16px;
        margin-bottom: 30px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .rwd-meatball-process .process-intro h3 {
        font-size: 22px;
    }

    .rwd-meatball-process .process-intro p {
        font-size: 16px;
    }

    .rwd-meatball-process .process-tabs {
        display: block;
        margin: 0 0 15px;
    }

    .rwd-meatball-process .process-tabs>li {
        float: none;
        width: 100%;
        margin-bottom: 7px;
        padding: 0;
    }

    .rwd-meatball-process .process-tabs>li>a {
        min-height: 0;
        padding: 11px 14px;
        text-align: left;
    }

    .rwd-meatball-process .process-tabs .tab-title,
    .rwd-meatball-process .process-tabs .tab-subtitle {
        display: inline;
    }

    .rwd-meatball-process .process-tabs .tab-subtitle {
        font-size: 13px;
        margin-left: 8px;
    }

    .rwd-meatball-process .process-panel-heading {
        padding: 20px 16px 18px;
    }

    .rwd-meatball-process .process-panel-heading h4 {
        font-size: 21px;
    }

    .rwd-meatball-process .process-column-head,
    .rwd-meatball-process .process-step {
        padding-right: 14px;
        padding-left: 14px;
    }

    .rwd-meatball-process .process-column-head .process-column-en,
    .rwd-meatball-process .process-step-en {
        padding-left: 14px;
    }

    .rwd-meatball-process .process-step-name,
    .rwd-meatball-process .process-step-en {
        font-size: 16px;
    }

    .rwd-meatball-process .process-note {
        font-size: 16px;
    }
}

@media screen and (max-width:425px) {
    .rwd-meatball-process .process-intro h3 {
        font-size: 22px;
    }

    .rwd-meatball-process .process-column-head {
        display: none;
    }

    .rwd-meatball-process .process-step {
        align-items: flex-start;
        flex-wrap: wrap;
        min-height: 0;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .rwd-meatball-process .process-step-number {
        flex-basis: 34px;
        width: 34px;
        max-width: 34px;
        height: 34px;
    }

    .rwd-meatball-process .process-step-name {
        flex: 1;
        padding-top: 5px;
    }

    .rwd-meatball-process .process-step-en {
        border-left: 0;
        flex: 0 0 100%;
        margin-top: 4px;
        padding-left: 44px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .rwd-meatball-process .process-tabs>li>a,
    .rwd-meatball-process .process-step,
    .rwd-meatball-process .fade {
        transition: none;
    }
}

/* ---------- 新聞動態 ---------- */

section.news {
    background-color:#ffffff;
    padding: 120px 0 105px;
}

#rwdnews_list {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:992px) {
    #rwdnews_list {
        flex-direction: column;
    }
}

#rwdnews_list ul {
    width: 32.25%;
    margin: 0 0 45px;
}

@media screen and (max-width:992px) {
    #rwdnews_list ul {
        width: 100%;
    }
}

@media screen and (max-width:992px) {
    #rwdnews_list ul .rwdnewsli {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
}

@media screen and (max-width:667px) {
    #rwdnews_list ul .rwdnewsli {
        flex-direction: column;
    }
}

#rwdnews_list ul .rwdnewsli .pic {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f5f5f5;
}

#rwdnews_list ul .rwdnewsli .pic a {
    display: block;
    width: 100%;
    height: 100%;
}

@media screen and (max-width:992px) {
    #rwdnews_list ul .rwdnewsli .pic {
        width: 40%;
        height: 210px;
    }
}

@media screen and (max-width:768px) {
    #rwdnews_list ul .rwdnewsli .pic {
        width: 35%;
        height: 180px;
    }
}

@media screen and (max-width:667px) {
    #rwdnews_list ul .rwdnewsli .pic {
        width: 100%;
        height: 280px;
    }
}

@media screen and (max-width:425px) {
    #rwdnews_list ul .rwdnewsli .pic {
        height: 210px;
    }
}

#rwdnews_list ul .rwdnewsli .pic img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: all .4s;
}

#rwdnews_list ul .rwdnewsli:hover .pic img {
    transform: scale(1.10);
}

@media screen and (max-width:992px) {
    #rwdnews_list ul .rwdnewsli .newscontent {
        width: 57.5%;
    }
}

@media screen and (max-width:768px) {
    #rwdnews_list ul .rwdnewsli .newscontent {
        width: 62.5%;
    }
}

@media screen and (max-width:667px) {
    #rwdnews_list ul .rwdnewsli .newscontent {
        width: 100%;
    }
}

.newscontent .ctydate .card-category {
    display: none;
}

.newscontent h4 a {
    color: #242424;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    transition: all .2s;
}

#rwdnews_list ul .rwdnewsli:hover .newscontent h4 a {
    color: #1E76AD;
}

.newscontent .newsDate {
    color: #777777;
    background-color: #efefef;
    font-size: 13px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 10px;
    margin: 15px 0 0;
}

@media screen and (max-width:992px) {
    .newscontent .newsDate {
        margin: 0;
    }
}

@media screen and (max-width:667px) {
    .newscontent .newsDate {
        margin: 15px 0 0;
    }
}

.newscontent .desc_cls {
    border-top: 1px solid #dddddd;
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 10px 0 0;
}

section.news .intro-button-2 {
    margin: 15px auto 0;
}

/* ---------- 社群側邊欄 / Go On Top ---------- */

.social-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 20px;
    bottom: 85px;
    z-index: 1000;
}

.social-sidebar .social-sidebar-item {
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.social-sidebar .social-sidebar-item:last-child {
    margin-bottom: 0;
}

.social-sidebar .social-sidebar-item:hover,
.social-sidebar .social-sidebar-item:focus {
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
    transform: translateY(-2px);
}

.social-sidebar .social-sidebar-icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.social-sidebar .social-sidebar-line {
    background-color: #00c853;
}

.social-sidebar .social-sidebar-youtube {
    background-color: #ff0000;
}

.social-sidebar .social-sidebar-phone {
    background-color: #4472c4;
}

.social-sidebar .social-sidebar-label {
    color: #ffffff;
    background-color: rgba(36, 36, 36, .95);
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    padding: 7px 10px;
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translate(8px, -50%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.social-sidebar .social-sidebar-item:hover .social-sidebar-label,
.social-sidebar .social-sidebar-item:focus .social-sidebar-label {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

#gotop.gotop {
    cursor: pointer;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

@media screen and (max-width:576px) {
    .social-sidebar {
        right: 10px;
        bottom: 72px;
    }

    .social-sidebar .social-sidebar-item {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
    }

    .social-sidebar .social-sidebar-icon {
        width: 24px;
        height: 24px;
    }

    .social-sidebar .social-sidebar-label {
        right: 52px;
    }

    #gotop.gotop {
        right: 10px;
        bottom: 12px;
    }
}

/* ---------- footer ---------- */

footer {
    background-color: #242424;
    color: #ffffff;
    padding: 60px 0;
}

footer .footer-main {
    display: flex;
    align-items: flex-start;
    gap: 55px;
}

footer .footer-nav {
    flex: 0 0 115px;
}

footer .footer-nav ul {
    margin: 0;
}

footer .footer-nav li {
    margin-bottom: 10px;
}

footer .footer-nav li:last-child {
    margin-bottom: 0;
}

@media screen and (min-width:769px) {
    footer .footer-nav {
        align-self: stretch;
    }

    footer .footer-nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    footer .footer-nav li {
        margin-bottom: 0;
    }
}

footer .footer-nav a {
    color: #ffffff;
    opacity: .6;
    display: block;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 1px;
    transition: opacity .2s ease;
}

footer .footer-nav a:hover,
footer .footer-nav a:focus {
    color: #ffffff;
    opacity: .95;
}

footer .footer-contact {
    flex: 1 1 auto;
    min-width: 0;
}

footer .footer-contact h3 {
    color: #ffffff;
    opacity: .95;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.6;
    margin: 0 0 18px;
}

footer .footer-contact address {
    font-style: normal;
    line-height: 1.55;
    margin: 0;
}

footer .footer-contact p {
    color: #ffffff;
    opacity: .6;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 0 0 2px;
}

footer .footer-contact a {
    color: #ffffff;
    transition: color .2s ease;
}

footer .footer-contact a:hover,
footer .footer-contact a:focus {
    color: #70c7f4;
    text-decoration: none;
}

footer .footer-contact-label {
    color: #ffffff;
    display: inline-block;
    min-width: 66px;
}

footer .footer-contact .footer-address-en {
    color: #ffffff;
    line-height: 1.45;
    max-width: 560px;
}

footer .footer-social-column {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    justify-content: space-between;
    align-self: stretch;
}

footer .footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

footer .footer-qr-code {
    width: 120px;
    text-align: center;
}

footer .footer-qr-code a {
    color: #ffffff;
    display: block;
}

footer .footer-qr-frame {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    overflow: hidden;
}

footer .footer-qr-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

footer .footer-qr-title {
    display: block;
    opacity: .4;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 10px;
}

footer .footer-qr-code a:hover,
footer .footer-qr-code a:focus {
    color: #ffffff;
    opacity: .8;
}

footer .footer-social-column .copyright-text {
    color: #ffffff;
    opacity: .4;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 1px;
    margin: 0 10px;
}

@media screen and (max-width:1200px) {
    footer .footer-main {
        gap: 35px;
    }

    footer .footer-social-column .copyright-text {
        margin: 0;
    }

    footer .footer-social-column .copyright-text br {
        display: none;
    }
}

@media screen and (max-width:992px) {
    footer .footer-main {
        flex-wrap: wrap;
    }

    footer .footer-contact {
        flex-basis: calc(100% - 150px);
        text-align: center;
    }

    footer .footer-contact h3,
    footer .footer-contact address,
    footer .footer-contact p {
        text-align: center;
    }

    footer .footer-contact .footer-address-en {
        margin-right: auto;
        margin-left: auto;
    }

    footer .footer-social-column {
        align-items: center;
        width: 100%;
        margin-left: 0;
    }

    footer .footer-social {
        justify-content: center;
    }

    footer .footer-social-column .copyright-text {
        width: 100%;
        margin: 24px 0 0;
        text-align: center;
    }
}

@media screen and (max-width:768px) {
    footer {
        padding-top: 45px;
    }

    footer .footer-main {
        display: block;
    }

    footer .footer-nav,
    footer .footer-contact,
    footer .footer-social-column,
    footer .footer-social {
        width: 100%;
    }

    footer .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -4px 25px;
    }

    footer .footer-nav li {
        width: 33.3333%;
        margin: 0 0 8px;
        padding: 0 4px;
    }

    footer .footer-nav a {
        display: block;
        text-align: center;
    }

    footer .footer-contact {
        margin-bottom: 28px;
    }

    footer .footer-social-column {
        margin-left: 0;
    }
}

@media screen and (max-width:576px) {
    footer .footer-nav li {
        width: 50%;
    }

    footer .footer-contact-label {
        min-width: 62px;
    }

    footer .footer-contact .footer-address-en {
        padding-left: 0;
        margin-top: 5px;
    }

    footer .footer-social {
        justify-content: center;
    }

    footer .footer-social-column .copyright-text {
        text-align: center;
    }
}

/* ---------- 聯絡頁 QR Code ---------- */

.contact-wrapper .qr-code-box {
    gap: 16px;
}

.contact-wrapper .qr-code-box .qr-code {
    flex: 0 0 105px;
    width: 105px;
    margin: 0;
}

.contact-wrapper .qr-code-box .qr-code a {
    display: block;
    width: 105px;
    height: 105px;
    overflow: hidden;
}

.contact-wrapper .qr-code-box .qr-code img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background-color: #ffffff;
}

@media screen and (max-width:576px) {
    .contact-wrapper .qr-code-box {
        gap: 12px;
    }

    .contact-wrapper .qr-code-box .qr-code {
        flex-basis: 90px;
        width: 90px;
    }

    .contact-wrapper .qr-code-box .qr-code a {
        width: 90px;
        height: 90px;
    }
}

/* ---------- page-banner ---------- */

.page-banner {
    background-image: url("../../images/page-banner.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
}

.page-banner-news {
    background-image: url("../../images/page-banner-news.jpg");
}

.page-banner-contact {
    background-image: url("../../images/page-banner-contact.jpg");
}

.page-banner h2 {
    font-size: 32px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 2.5px;
    width: 100%;
    padding: 140px 0;
    margin: 0;
}

@media screen and (max-width:425px) {
    .page-banner h2 {
        font-size: 28px;
        padding: 80px 0;
    }
}

/* ---------- page-style ---------- */

.page-style h4 {
    color: #242424;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.2;
    padding: 0 0 0 15px;
    margin: 20px 0 15px;
    position: relative;
}

.page-style h4::before {
    content: '';
    background-color: #1E76AD;
    display: block;
    width: 5px;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.page-style p,
.page-style ul li,
.page-style ol li {
    color: #3f3f3f;
    font-size: 18px;
    line-height: 2;
    text-align: justify;
}

.page-style ul,
.page-style ol {
    padding: 0 0 0 25px;
}

.page-style ul li {
    list-style: square;
}

.page-style ol li {
    list-style: decimal;
}

.page-style img {
    width: 100%;
    margin: 20px 0 20px;
}

@media screen and (max-width:767px) {
    .page-style {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* ---------- 廠區介紹-備份 ---------- */

.enviroment-style .nav-tabs {
    display: flex;
    justify-content: center;
    margin: 20px 15px 30px;
}

@media screen and (max-width:576px) {
    .enviroment-style .nav-tabs {
        border-bottom: 0;
        flex-direction: column;
    }
}

.enviroment-style .nav-tabs>li>a {
    color: #7c7c7c;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    border-radius: 0;
    font-size: 20px;
    letter-spacing: .5px;
    padding: 15px 30px;
    margin: 0 5px;
}

@media screen and (max-width:768px) {
    .enviroment-style .nav-tabs>li>a {
        padding: 15px;
    }
}

@media screen and (max-width:576px) {
    .enviroment-style .nav-tabs>li>a {
        font-size: 18px;
        text-align: center;
        border-bottom-color: #ddd;
        margin: 5px;
    }

    .enviroment-style .nav-tabs>li.active>a,
    .enviroment-style .nav-tabs>li.active>a:focus,
    .enviroment-style .nav-tabs>li.active>a:hover {
        border-bottom-color: #ddd;
    }
}

.enviroment-style .nav-tabs>li.active>a {
    color: #3f3f3f;
    font-weight: bold;
}

.enviroment-style .nav-tabs>li>a:hover {
    color: #ffffff;
    background-color: #1E76AD;
}

.enviroment-style .card {
    margin: 0 0 45px;
}

.enviroment-style .card .frame {
    overflow: hidden;
}

.enviroment-style .card .frame img {
    transform: scale(1);
    transition: all .4s;
}

.enviroment-style .card:hover .frame img {
    transform: scale(1.10);
}

.enviroment-style .card p {
    color: #242424;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .5px;
    margin: 10px 0;
    transition: all .2s;
}

.enviroment-style .card:hover p {
    color: #1E76AD;
}

/* ---------- 合作品牌 ---------- */

.cooperative-brand {
    background-color: transparent;
    padding: 0 15px;
}

/* ---------- 產品內容排版 ---------- */

.arti-news {
    color: #333;
    font-family: "Microsoft JhengHei", Arial, sans-serif;
}

/* 產品說明 */
.arti-news .product-description {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.9;
}

/* 產品圖庫 */
.arti-news .product-gallery {
    margin-bottom: 25px;
}

.arti-news .product-gallery .row {
    display: flex;
    flex-wrap: wrap;
}

.arti-news .product-gallery .row>[class*="col-"] {
    display: flex;
}

.arti-news .product-gallery .thumbnail {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-color: #ddd;
    border-radius: 0;
}

.arti-news .product-gallery .thumbnail img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    background-color: #ffffff;
}

.arti-news .product-gallery .thumbnail .caption {
    flex-grow: 1;
}

.arti-news .product-gallery .caption p {
    margin: 5px 0 0;
    color: #555;
}

/* 產品參數表 */
.arti-news .product-parameter-table {
    font-size: 18px;
    border: none;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.arti-news .product-parameter-table table {
    border: none;
    margin-bottom: 0;
    background-color: #fff;
}

.arti-news .product-parameter-table th,
.arti-news .product-parameter-table td {
    border: none;
    padding: 14px 18px;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.arti-news .product-parameter-table th {
    width: 25%;
    min-width: 110px;
    color: #fff;
    font-weight: bold;
    letter-spacing: .5px;
    text-align: center;
    vertical-align: middle;
    background-color: #1E76AD;
    background-image: linear-gradient(135deg, #1E76AD, #195073);
}

.arti-news .product-parameter-table td {
    color: #3f3f3f;
    vertical-align: middle;
    background-color: #f7fbfe;
}

.arti-news .product-parameter-table tbody tr:nth-child(even) td {
    background-color: #ffffff;
}

.arti-news .product-parameter-table tbody tr:hover th,
.arti-news .product-parameter-table tbody tr:focus-within th {
    background-color: #164d70;
    background-image: none;
}

.arti-news .product-parameter-table tbody tr:hover td,
.arti-news .product-parameter-table tbody tr:focus-within td {
    color: #195073;
    background-color: #dff1fb;
    box-shadow: inset 4px 0 0 #2d92ca;
}

/* 產品影片（加高式響應容器） */
.arti-news .product-video {
    position: relative;
    height: 0;
    margin-bottom: 30px;
    padding-bottom: 62.5%;
    overflow: hidden;
    background-color: #000;
}

.arti-news .product-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.arti-news .product-gallery .row > div {
  margin-bottom: 30px; /* 讓每一欄（每張圖區塊）下方都推開距離 */
}

@media screen and (max-width:767px) {
    .arti-news .product-description {
        font-size: 15px;
    }

    .arti-news .product-gallery .row>[class*="col-"] {
        width: 100%;
    }

    .arti-news .product-gallery .thumbnail img {
        height: 240px;
    }

    .arti-news .product-parameter-table th {
        width: 34%;
        min-width: 95px;
    }

    .arti-news .product-parameter-table th,
    .arti-news .product-parameter-table td {
        padding: 11px 12px;
    }
}

@media screen and (max-width:425px) {
    .arti-news .product-gallery .thumbnail img {
        height: 200px;
    }

    .arti-news .product-video {
        padding-bottom: 70%;
    }
}





