html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}



body {
    padding-right: 0px !important;
    font-size: 16px;
    font-family: "Roboto", sans-serif !important;
    letter-spacing: 1px;
    position: relative;
    min-height: 100vh;
    color: #54595f;
}

.container-fluid{
    max-width: 1600px;
}

/* ---- icon set ---- */
.material-symbols-sharp {
    font-variation-settings:
        'FILL'0,
        'wght'200,
        'GRAD'0,
        'opsz'20
}

/* ---- icon set end ---- */

/* ---- color root ---- */

:root {
    --main-color: #15408c;
    --vice-color: #dddddd;
    --red-color: #f74747;
}

/* ---- color root end ---- */

/* ---- basic setting ---- */

.section-page {
    padding: 80px 0;
}

@media (max-width: 992px) {
    .section-page {
        padding: 40px 0;
    }
}

.modal {
    padding-right: 0px !important;
}



a {
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;

}

a:focus,
a:hover {
    text-decoration: none;
    outline: 0;
    color: var(--main-color);
    cursor: pointer;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    width: 100%;
    height: auto;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
label {
    padding: 0;
    margin: 0;
    list-style: none;
}

input,
select,
textarea,
button {
    outline: none;
}

input:active,
select:active,
textarea:active,
button:active,
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button {
    border: none;
    background-color: transparent;
}

select {
    -webkit-appearance: none;
    background-color: #fff;
    color: #333;
    height: 30px;
    line-height: 20px;
    background-image: url(../img/select-icon.svg);
    background-repeat: no-repeat;
    background-position: 98%;
    background-size: 12px;
}

/* 隱藏數字箭頭 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.fm-group {
    margin-bottom: 15px;
}

.fm-group label {
    display: block;
    color: #aaaaaa;
    margin-bottom: 5px;
    font-size: 15px;
}

.fm-group textarea,
.fm-group input,
.fm-group select {
    color: #555;
    letter-spacing: 1.5px;
    width: 100%;
    font-size: 16px;
    padding: 5px 0px !important;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dedede;
    transition: .3s ease;
}

.fm-group input,
.fm-group select {
    height: 35px;
}

.fm-group textarea::placeholder,
.fm-group input::placeholder {
    color: #ccc;
}

.fm-group textarea:disabled,
.fm-group input:disabled,
.fm-group select:disabled {
    opacity: 1;
    background-color: #eee;
    color: #999;
    border: none;
    padding: 6px !important;
}


.checkbox {
    display: inline-flex;
    align-items: center;
    margin: 5px 10px 5px 0;
}

.checkbox input[type='checkbox'] {
    width: 20px;
    height: 10px;
    margin: 0 10px 0 0;
    position: relative;
}

.checkbox input[type='checkbox']::before {
    position: absolute;
    top: -7px;
    left: -1px;
    width: 22px;
    height: 22px;
    content: '';
    display: block;
    border: 1px solid #dedede;
    background-color: #fff;
    transition: .3s ease;
}

.checkbox input[type='checkbox']::after {
    position: absolute;
    top: -6.5px;
    left: -1px;
    width: 22px;
    height: 22px;
    content: '\e5ca';
    font-family: 'Material Symbols Sharp';
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: var(--main-color);
    opacity: 0;
    transition: .3s ease;
}

.checkbox input[type='checkbox']:checked:before,
.checkbox input[type='checkbox']:checked:after {
    opacity: 1;
    border-color: rgba(36, 57, 95, 0.3);
}

.checkbox label {
    margin: 0;
    letter-spacing: 2px;
    color: #999;
    transition: .3s ease;
}

.checkbox input[type='checkbox']:checked+label {
    color: var(--main-color);
}

/* form */
.contact-form {
    padding: 2.5rem 3rem;
    background-color: #fff;
    border-bottom: 2px solid #eee;
    background-image: url(../img/form-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70%;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem 1rem;
    }
}

.recaptcha {
    margin: 0 0 15px;
}

.recaptcha img {
    display: block;
    width: 250px;
    margin: 0 auto;
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color);
}

/* bg */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    background-image: url(../img/bg.webp);
}

.bg2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(../img/bg2.svg), url(../img/bg.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70%;
}

.bg3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(../img/bg3.webp);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70%;
}

.sect-bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
    background-image: url(../img/sect-bg1.webp);
}

/* font */
[class*=-serif-font] {
    font-family: "Noto Serif TC";
}

[class*=-h2] {
    font-size: 40px;
}

[class*=-h3] {
    font-size: 30px;
}

[class*=-h4] {
    font-size: 20px;
}

[class*=-h5] {
    line-height: 35px;
    font-size: 16px;
}

[class*=-h6] {
    line-height: 35px;
    font-size: 15px;
}

[class*=-smtext] {
    font-size: 14px;
}

[class*=white-] {
    color: #fff;
}

[class*=dark-] {
    color: #333;
}

[class*=gray-] {
    color: #555;
}

[class*=ltgray-] {
    color: #b6b6b6;
}

[class*=main-] {
    color: var(--main-color);
}

[class*=vice-] {
    color: var(--vice-color);
}

[class*=notice-] {
    color: var(--red-color);
}

[class*=-lighter] {
    font-weight: 300;
}

[class*=-bolder] {
    font-weight: 700;
}

[class*=-xlbolder] {
    font-weight: 800;
}

[class*=-ls0] {
    letter-spacing: 0;
}

[class*=-ls1] {
    letter-spacing: 1px;
}

[class*=-ls2] {
    letter-spacing: 2px;
}

[class*=-ls3] {
    letter-spacing: 3px;
}

[class*=lh1] {
    line-height: 1;
}

[class*=lh15] {
    line-height: 1.5;
}



@media (max-width: 768px) {
    [class*=-h2] {
        font-size: 30px;
    }

    [class*=-h3] {
        font-size: 25px;
    }

    [class*=-h4] {
        font-size: 18px;
    }
}

.word-break {
    word-break: break-all;
}

/* bg-text */
.bg-text {
    background-color: #fff;
    padding: 2rem;
}

/* line */
.line-small {
    display: block;
    width: 80px;
    border-bottom: 1px solid #ccc;
    margin: 15px 0 17px;
}

.line-small.white {
    border-color: #fff;
}

.line-big {
    display: block;
    width: 80px;
    border: 3px solid #eee;
    margin: 15px 0 17px;
}

.line-end {
    margin: 0px -5px 0 auto;
    width: 50px;
    height: 1px;
    background-color: #ccc;
    transform: rotate(-45deg);
}

.no-gutter {
    margin-left: 0;
    margin-right: 0;
}

.no-gutter [class*=col-] {
    padding-left: 0;
    padding-right: 0;
}

.sm-gutter {
    margin-left: -5px;
    margin-right: -5px;
}

.sm-gutter [class*=col-] {
    padding-left: 5px;
    padding-right: 5px;
}

/* img */
.border-img {
    position: relative;
}

.border-img img {
    display: block;
    width: 90%;
    object-fit: contain;
}

.border-img::after {
    position: absolute;
    bottom: -40px;
    right: 10px;
    display: block;
    content: '';
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

@media (max-width: 992px) {
    .border-img img {
        margin: 0 auto;
    }

    .border-img::after {
        bottom: -20px;
        height: calc(100% - 20px);
        right: 0px;
    }
}

/* btn */
.btn-list {
    display: flex;
    justify-content: end;
}

.btn {
    position: relative;
    padding: 0.5rem 0.1rem;
    color: #666;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
}

.btn:hover {
    color: var(--main-color);
}
/*
.btn::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    display: block;
    content: '';
    background-color: var(--main-color);
    transition: .3s ease;
}

.btn::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    display: block;
    content: '';
    background-color: #ccc;
    transition: .3s ease;
}
*/
.btn:hover::before {
    width: 100%;
    transition: .3s ease .3s;
}

.btn:hover::after {
    width: 0;
}

.btn:focus,
.btn:active,
.btn:hover {
    box-shadow: none;
}

.btn-block {
    background-color: rgba(255, 255, 255, 0.8);
    width: fit-content;
    display: block;
    padding: .5rem 1.5rem;
    letter-spacing: 3px;
    color: #666;
}

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

/* ---- basic setting end ---- */


/* ---- gotop ---- */

.gotop {
    position: fixed;
    width: 45px;
    height: 180px;
    right: 15px;
    bottom: 50px;
    transition: display 0.5s ease-in-out;
    z-index: 10;
}

.gotop img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .gotop {
        width: 38px;
        right: 5px;
    }
}

/* ---- gotop end ---- */


/* ---- right link ---- */

.right-link {
    position: fixed;
    bottom: 220px;
    right: 15px;
    z-index: 99;
    width: 100px;
}

.right-link a {
    text-align: center;
    display: block;
}

.right-link img {
    width: 100%;
}

.right-link .close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  transition: background 0.2s;
}
.first-item {
    display: block;
}

.other-item {
    display: none;
}

.other-item img{
    margin-bottom: 10px;
}

.right-link .close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.right-link-item {
    position: relative;
    margin-bottom: 10px;
}

.right-link-item img {
    display: block;
}



@media (max-width: 576px) {


.right-link {
    width: 65px;
}
}
/* ---- right link end ---- */


/* ---- bottom link ---- */

.bottom-link {
    position: fixed;
    width: 100vw;
    bottom: 0;
    height: 50px;
    z-index: 10;
    background-color: rgba(230, 230, 230, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bottom-link a:not(:last-of-type) {
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.bottom-link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.bottom-link img {
    width: 80%;
    height: 60%;
    object-fit: contain;
}

/* ---- bottom link end ---- */

/* ---- header ---- */

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

.fixed-top {
    z-index: 100;
    padding-right: 0px !important;
    background: #15408c;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.logo {
/*    width: 360px;*/
    height: 70px;
    display: flex;
    align-items: center;
    transition: .3s ease;
}


.logo a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    object-fit: contain;
    width: 40%;
    height: 100%;
}

@media (max-width: 576px) {
    

    .logo {
        height: 60px;
    }

    .logo img {
                height: 60px;
        width: 260px;
    }
}
@media (min-width: 576px) and (max-width: 992px) {

}
@media (max-width: 576px) {
    header {
    height: 85px;
}
.fixed-top {
     height: 85px;
}
    .logo {
        width: calc(100% - 70px);
    }
    .logo a {
    display: inline;
}

    .logo img {
        display: block;
    }
}


header .nav-menu {
    margin: 0;
    padding: 0;
    height: 100%;
}

@media(min-width: 992px) {
    header .nav-menu ul {
        display: flex;
        margin: 0;
        padding: 0;
        height: 100%;
    }
}

header .nav-menu>ul>li {
    position: relative;
    white-space: nowrap;
    list-style: none;
}

header .nav-menu>ul>li>a {
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    height: 100%;
    padding: 17px 15px;
    transition: 0.3s ease;
    font-size: 16px;
    letter-spacing: 0px;
    line-height: 1;
    font-weight: 400;
}
.menu-text{
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    height: 100%;
    padding: 17px 15px;
    transition: 0.3s ease;
    font-size: 16px;
    letter-spacing: 0px;
    line-height: 1;
    font-weight: 200;
    padding: 0px 15px;
}
@media (min-width: 1200px) and (max-width: 1396px) {
    header .nav-menu>ul>li>a{
        padding: 6px 10px;
    }
   .menu-text{
        padding: 6px 3px;
    }

}


    .menu-text {
        border-style: solid;
        border-width: 0px 1px 0px 0px;
        border-color: #ffffff;
        height: 50%;
    }
@media (min-width: 576px) and (max-width: 1200px) {
    .logo a {
    justify-content: left;
}
.menu-text {
        border-style: none;
        border-width: 0px 1px 0px 0px;
        border-color: #ffffff;
        height: 50%;
    }
}

@media(max-width:576px) {
    .menu-text {
        width: 260px;
        margin: 0;
        padding: 0;
        text-align: center;
        height: auto;
        border-style: none;
        display: flex;
        justify-content: center;
    }
}

header .nav-menu .active>a,
header .nav-menu li:hover>a {
    color: var(--main-color);
    text-decoration: none;
    background:#fff;
}




/* 選單第二層hover效果 */
header .nav-menu>ul>.drop-down:hover>ul {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    animation-name: header-animate;
    animation-duration: .7s;
    animation-delay: 0ms;
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
}


@keyframes header-animate {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

header .nav-menu .drop-down {
    position: relative;
}


    header .nav-menu .drop-down ul {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        height: auto;
        z-index: 99;
        /*overflow: hidden;*/
        transition: ease all 0.3s;
        list-style: none;
        box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    }

header .nav-menu .drop-down ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

.drop-down ul li:hover>ul {
    display: block;
    display: block;
    left: 100%;
    top: 0;
    z-index: 999;
}

/*--end**/
header .nav-menu .drop-down li {
    min-width: 180px;
    position: relative;
    background: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: .3s ease;
}

header .nav-menu .drop-down>a {
    display: flex;
    align-items: center;
}

header .nav-menu .drop-down>a::after {
    content: '\e313';
    display: block;
    margin: 0 0 0 3px;
	font-family: 'Material Symbols Sharp';
}

header .nav-menu .drop-down ul a {
    display: block;
    height: 100%;
    width: 100%;
    font-size: 15px;
    padding: 10px 20px;
    letter-spacing: 1px;
    font-weight: 500;
    text-align: left;
    text-transform: none;
    color: #333;
}

header .nav-menu .drop-down ul .active,
header .nav-menu .drop-down ul li:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

header .nav-menu .drop-down ul .active>a,
header .nav-menu .drop-down ul li:hover>a {
    color: var(--main-color);
}




/* 選單hover效果 */
header .nav-menu>ul>.drop-down:hover>ul {
    display: block;
    animation-name: header-animate;
    animation-duration: .5s;
    animation-delay: 0ms;
    animation-timing-function: ease;

}


@keyframes header-animate {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}



.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    right: -280px;
    width: 280px;
    padding: 70px 0 0;
    background: #f8f8f8;
    transition: 0.4s;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: #666666;
    padding: 10px 20px;
    font-weight: 600;
    transition: 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
    color: var(--main-color);
    text-decoration: none;
}

.mobile-nav>ul>li {
    border-bottom: 1px solid #eee;
}

.mobile-nav>ul>li>a {
    padding: 15px 20px;
}

.mobile-nav .drop-down>a:after {
    padding-left: 10px;
    position: absolute;
    font-size: 18px;
    right: 15px;
    content: '\e313';
    font-family: 'Material Symbols Sharp';
}


.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 13px;
    z-index: 1001;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 43px;
    background: none;
    font-size: 25px;
    transition: all 0.3s;
    outline: none !important;
    line-height: 1;
}

@media (max-width: 992px) {
    .mobile-nav-toggle {
        height: 55px;
        width: 55px;
    }
}

.mobile-nav-toggle:hover {
    cursor: pointer;
}

.mobile-nav-toggle .mobilenav-line span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: .3s ease;
}

.mobile-nav-toggle .mobilenav-line.active span {
    background-color: #aaa;
}

.mobile-nav-toggle .mobilenav-line span:nth-of-type(2) {
    margin: 6px 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(1) {
    transform: rotate(45deg) translateY(11px) translateX(0px);
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-10px) translateX(-1px);
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 500;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(255, 255, 255, 0.3);
    opacity: .8;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    display: none;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    right: 0;
}


/* ---- header end ---- */




/* ---- banner ---- */

.carousel-control-next-icon {
    background-image: url(../img/banner-next.svg);
}

.carousel-control-prev-icon {
    background-image: url(../img/banner-prev.svg);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 40px;
    height: 40px;
    transition: .3s ease;
}

@media (max-width: 992px) {

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 20px;
        height: 20px;
    }
}

.carousel-indicators li {
    width: 50px;
}

.carousel-caption {
    position: absolute;
    left: 0;
        top: 15%;
    right: -40%;
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
    width: 52%;
}
.banner-img{
    width: 240px;
    margin-bottom: 40px;
}
.carousel-caption h1 {
    font-family: "Roboto", Sans-serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    color: #3A3A3A;
    animation-delay: .5s;
}

.carousel-caption p {
        font-size: 24px;
    font-weight: 300;
    font-style: italic;
    line-height: 25px;
    letter-spacing: 1px;
    color: #3A3A3A;
    animation-delay: 1s;
}
.banner-btn{
        background: var(--main-color);
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 30px;
    display: inline-block;
}
.banner-btn:hover{
    background-color: #244B99;
   color: #fff;
}

.carousel-indicators {
    bottom: -13px;
}

.carousel-item img {
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel-item img {
        min-height: auto;
    }
    .banner-img {
    width: 190px;
    margin-bottom: 30px;
}

    .carousel-caption {
              top: 10px;
        width: 75%;
        right: -22%;
        padding: 0;
    }
    

    .carousel-caption h1 {
        font-size: 28px;
    }

    .carousel-caption p {
        background-color: #fff;
        width: fit-content;
        display: block;
        padding: 0 5px;
        margin: 10px auto 0 0;
    }
    .banner-btn {
    background: var(--main-color);
    color: #fff;
    border-radius: 5px;
    padding: 6px 20px;
    margin-top: 19px;
    display: inline-block;
}
}

@media (max-width: 768px) {
    .carousel-caption {
        text-align: center;
    }

    .carousel-caption h1 {
        font-size: 35px;
    }

    .carousel-caption p {
        margin: 3px auto 0;
        background-color: #ffffff00;
    }
    .banner-img {
    width: 50px;
    margin-bottom: 8px;
}
.banner-btn {
    background: var(--main-color);
    color: #fff;
    border-radius: 1px;
    padding: 4px 8px;
    margin-top: 12px;
    display: inline-block;
    font-size: 10px;
}
}

@media (max-width: 576px) {
    .carousel-item img {
        min-height: auto;
    }

    .carousel-caption h1 {
               font-size: 16px;
        letter-spacing: 0;
    }

    .carousel-caption p {
               font-size: 12px;
        line-height: 1;
        letter-spacing: 0;
}

}
/* ---- banner end ---- */


/* ---- inbanner ---- */
.inbanner {
    padding: 70px 0 50px;
}

.inbanner-img {
    object-fit: cover;
    height: 250px;
}

.inbanner-caption {
    padding: 40px 0 15px;
    border-bottom: 1px solid #d6d6d6;
}

.inbanner h1 {
    font-weight: 700;
    letter-spacing: 5px;
    color: #333;
}

@media (max-width: 992px) {
    .inbanner {
        padding: 55px 0 20px;
    }

    .inbanner-img {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .inbanner h1 {
        font-size: 35px;
    }

    .inbanner-caption {
        padding: 20px 0 15px;
    }
}

@media (max-width: 576px) {
    .inbanner h1 {
        font-size: 30px;
    }
}

/* ---- inbanner end ---- */

/* ---- breadcrumb ---- */
.breadcrumb {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin: 10px 0;
    justify-content: end;
}

.breadcrumb-item a {
    color: #aaa;
    letter-spacing: 2px;
    font-size: 14px;
}

.breadcrumb-item.active a {
    color: var(--main-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '\e5cc';
    font-family: 'Material Symbols Sharp';
}

@media (max-width: 768px) {
    .breadcrumb-item a {
        font-size: 13px;
    }
}

/* ---- breadcrumb end ---- */
/* ---- category ---- */
.category {
    display: flex;
    flex-wrap: wrap;
}

.category li {
    margin: 0 15px 0 0;
}

.category li a {
    position: relative;
    display: block;
    padding: .3rem .1rem;
    text-align: center;
    color: #999;
    font-weight: 800;
    letter-spacing: 3px;
    border-bottom: 1px solid #ccc;
    z-index: 1;
}

.category li a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 0%;
    height: 1px;
    background-color: var(--main-color);
    transition: .3s ease;
}

.category li.active a,
.category li:hover a {
    color: var(--main-color);
    border-color: transparent;

}

.category li.active a::after,
.category li:hover a::after {
    width: 100%;
}

@media(max-width: 992px) {
    .category {
        display: none;
    }
}

.categorySwiper .swiper-slide {
    width: fit-content;
    margin: 0 15px 0 0;
}

.categorySwiper .swiper-slide a {
    position: relative;
    display: block;
    padding: .3rem .1rem;
    text-align: center;
    color: #999;
    font-weight: 800;
    letter-spacing: 3px;
    border-bottom: 1px solid #ccc;
}

.categorySwiper .swiper-slide a.active {
    border-bottom-color: var(--main-color);
    color: var(--main-color);
}

@media (min-width: 992px) {
    .categorySwiper {
        display: none;
    }
}

/* ---- category end ---- */

/* ---- pagination ---- */
.pagination {
    justify-content: center;
}

.pagination li {
    margin: 0 0 0 10px;
}

.pagination li a {
    display: flex;
    width: 40px;
    height: 30px;
    justify-content: center;
    align-items: center;
    color: #aaa;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid #ccc;
}

.pagination li.active a,
.pagination li:hover a {
    background-color: #fff;
    color: var(--main-color);
    border-bottom-color: var(--main-color);
}

/* ---- pagination end ---- */
/* ---- video ---- */

.main-video {
    position: relative;
}

.main-video video {
    object-fit: cover;
    object-position: 50% 40%;
    height: 600px;
    width: 100%;
}

.main-video-caption {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    width: 100%;
}

.main-video-caption [class*='-h2'] {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    .main-video-caption {
        top: 20%;
    }
}

/* ---- video end ---- */

/* ---- icon ---- */

.icon-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: relative;
}

.icon-item-num {
    position: absolute;
    top: 0px;
    left: 0px;
    font-weight: 200;
    font-size: 60px;
    line-height: 1;
    color: #ddd;
}

.icon-item img {
    object-fit: contain;
    width: 120px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .icon-item-num {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .icon-item img {
        width: 90px;
    }

    .icon-item-num {
        font-size: 40px;
    }
}

/* ---- icon end ---- */

/* ---- case ---- */
.case-box {
    display: block;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.5);
    transition: .3s ease;
}

.case-box:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.case-img {
    height: 35%;
    width: 100%;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: .6s ease;
}

.case-box:hover .case-img img {
    transform: scale(1);
}

.case-title {
    margin: 10px 0 0 0;
    text-align: center;
    font-weight: 700;
    color: #666;
    font-size: 18px;
    letter-spacing: 8px;
    transition: .3s ease;
}

.case-box:hover .case-title {
    color: var(--main-color);
}

@media (max-width: 992px) {
    .case-box {
        padding: .5rem;
    }
}

.case-dt-sect {
    position: relative;
    padding: 70px 0 0px;
    margin: 0 0 30px;
}

@media (max-width: 992px) {
    .case-dt-sect {
        padding: 55px 0 0px;
        margin: 0;
    }
}

.case-dt-caption {
    position: absolute;
    width: 45%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.case-dt-caption h1 {
    font-weight: 800;
    letter-spacing: 5px;
    color: #555;
}

.case-dt-caption .breadcrumb {
    background-color: #fff;
    padding: 0 5px;
}

@media (max-width: 992px) {
    .case-dt-caption {
        position: relative;
        width: 100%;
        top: unset;
        right: unset;
        padding: 30px 0 10px;
        background-color: transparent;
    }

    .case-dt-caption h1 {
        text-align: center;
        font-size: 35px;
    }

    .case-dt-caption .breadcrumb {
        background-color: transparent;
        padding: 0px;
    }
}

@media (max-width: 768px) {
    .case-dt-caption h1 {
        font-size: 25px;
    }
}

.lg-outer .lg-thumb-item {
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    opacity: .7;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
    border-color: #eee;
    opacity: 1;
}

/* ---- case end ---- */


/* ---- qa ---- */
.qa-box {
    padding: 2rem 3rem;
    background-color: #fff;
    transition: .3s ease;
    position: relative;
    margin: 0 0 1.5rem;
}

.qa-box.active,
.qa-box:hover {
    cursor: pointer;
}

.qa-box::after {
    position: absolute;
    content: '\e145';
    font-family: 'Material Symbols Sharp';
    top: 1.8rem;
    right: 3rem;
    font-size: 25px;
    font-weight: 100;
    transition: .3s ease;
}

.qa-box.active::after {
    transform: rotate(45deg);
    color: var(--red-color)
}

.qa-title {
    font-size: 20px;
    color: #666;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 25px;
    margin: 0 3.5rem 0 0;
    transition: .3s ease;
}

.qa-box.active .qa-title {
    color: var(--main-color)
}

.qa-ans {
    height: 0;
    margin: 0;
    padding: 0;
    transform: scaleY(0);
    font-size: 16px;
    letter-spacing: 2px;
    color: #999;
    line-height: 35px;
    transform-origin: top;
    transition: all .3s ease;
}

.qa-box.active .qa-ans {
    height: 100%;
    transform: scaleY(1);
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
    .qa-box {
        padding: 1rem 1.5rem;
    }

    .qa-box::after {
        top: .7rem;
        right: 1.5rem;
    }

    .qa-title {
        font-size: 17px;
        margin: 0 2rem 0 0;
    }

}


/* ---- qa end ---- */
/* ---- contact ---- */
.map iframe {
    border: none;
    width: 100%;
    height: 350px;
}

.c-info {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 1px solid #e5e5e5;
}

.ci-t {
    min-width: 100px;
    width: 100px;
    font-weight: 700;
}

.ci-ct {
    color: #999;
    word-break: break-all;
}

@media (max-width: 768px) {
    .c-info {
        padding: .5rem 1rem;
    }
}

/* ---- contact end ---- */

/* ---- main link ---- */
.main-link {
    display: block;
    padding: 1rem 2rem;

    color: #666;
    text-align: center;
    letter-spacing: 3px;
    background-color: #fff;
    border: 1px solid transparent;
}

.main-link:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #e5e5e5;
}

/* ---- main link end ---- */


/* ---- footer ---- */


footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgb(243 243 243 / 80%);
    padding: 50px 0px 30px;
    letter-spacing: 2px;
    background: var(--main-color);
    color: #fff;
}
.footer-ti{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;

}
.footer-ti a,
.footer-list li a{
    color: #fff;
}
.footer-list li{
    padding-bottom: 15px;
     color: #fff;
}
.f-logo{
    width: 60%;
    margin: 10px
}
.f-social{
    align-items: center;
}
.f-sns{
    display: flex;
    margin: 10px
}
.f-sns li{
    margin: 0 5px;
}
.f-sns img{
    width: 40px;
}

.copyright {
    color: #ffffff;
    font-size: 13px;
    text-align: right;
    border-top: 1px solid #fff;
    padding-top: 35px;
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    footer {
        padding: 30px 0 10px;
    }

    .f-logo img {
        margin: 0 auto 10px;
      
    }

    
}


.toggle-icon {
    display: none;
}
.copyright p{
    letter-spacing: 1px;
}
.f-copy {
    display: flex;
        align-items: center;
    justify-content: space-around;
}

@media (max-width: 767px) {
    .f-box {
        display: block;
    }

    .footer-ti {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #fff;
        letter-spacing: 1px;
        padding-bottom: 5px;
        transition: transform 1.5s ease;
    }

    .footer-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 1.5s ease, opacity 1.5s ease;
        background-color: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        text-align: left;
        font-size: 15px;
    }

    .footer-list li {
        color: #fff;
        padding: 5px 0;
    }

    .footer-list.show {
        max-height: 500px;
        padding: 3px 10px;
        margin-bottom: 15px;
    }

    .footer-ti .toggle-icon {
         display: block;
        margin-left: 8px;
        font-weight: bold;
        transition: transform 1.5s ease;
    }
    .copyright {
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    border-top: none;
    padding-top: 5px;
    display: flex;
    align-items: center;
}
    .f-logo {
    width: 80%;
    margin: 0 0 5px 0;
}
    .f-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}


}

/* ---- footer end ---- */


.index-ti{
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    line-height: 1em;
    letter-spacing: 1px;
    color: #696969;
    margin-bottom: 20px;
}
.ti-bg{
        text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;

}
.ti-bg img{
    width: 300px;
    filter: brightness(43%) contrast(100%) saturate(100%) blur(0px) hue-rotate(160deg);
}
.index-bg{
    background-image: url(../img/bg.jpg);
        background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 21 / 9;
    width: 100%;
}
.index-bg img{
        width: 350px;
    margin-block: 20px;
}
.index-bg h2{
        font-size: 45px;
    font-weight: 500;
    line-height: 60px;
    letter-spacing: 1px;
    color: #484848;
}
.index-bg-btn{
        background-color: #FFEB14;s
    font-weight: 600;
    letter-spacing: 1px;
    color: #54595F;
    border-radius: 25px;
    padding: 8px 25px;
    display: inline-block;
    margin-top: 15px;
}

@media (max-width: 767px) {
.index-bg {
    background-image: url(../img/bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 21 / 20;
    width: 100%;
}
.top{
    text-align: center;
    position: relative;
    top: -35px;
}
.index-bg img {
    width: 105px;
    margin-block: 10px;
}
.index-bg h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1px;
    color: #484848;
}
}
/*----blog----*/

.blog-box{
        background-color: #fff;
    border: 0 solid #69727d;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: all .25s;
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
}
.blog-box img{
        max-height: 230px;
    height:auto;
    /* width: auto; */
    object-fit: cover;
}

.blog-tag{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #f2c406;
    margin: 20px;
    border-radius: 15px;
    font-size: 12px;
    padding: 4px 10px;
    color: #fff;

}
.blog-info{
        padding: 30px 30px 40px;
}
.blog-ti{
        color: #54595f;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.blog-info p {
    color: #7a7a7a;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.blog-btn{
    color: #f2c406;
    font-size: 12px;
    margin-bottom: 20px;
        display: inline-block;

}
.blog-date{
        border-top: 1px solid #eaeaea;
    margin-bottom: 0;
    padding: 15px 30px;
    color: #7a7a7a;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;

}
.blog-box:hover {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
}
@media(max-width:1024px) {
    .blog-info {
    padding: 20px 10px 0;
}
    .blog-box img{
        max-height: 100%;
    height: 100%;
    /* width: auto; */
    object-fit: cover;
}
.blog-date {
    position: relative;
}
.blog-ti {
    color: #54595f;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.blog-info p {
    line-height: 20px;
    margin-bottom: 5px;
}
}
/*----blog end----*/



/*----ab.html----*/

.section-page-ti-bg{
    background: rgba(9, 51, 133, 0.07);
    border-style: solid;
    border-width: 0px 0px 5px 0px;
    border-color: var(--main-color);
    padding: 40px 0;
}

.section-ti{
    font-size: 45px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #093385;
}

.section-ti2{
    font-size: 45px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #093385;
    margin: 20px 0 50px 0;
}

@media (max-width: 992px) {
    .section-page-ti-bg{
        background: rgba(9, 51, 133, 0.07);
        border-style: solid;
        border-width: 0px 0px 3px 0px;
        border-color: var(--main-color);
        padding: 15px 0;
    }

    .section-ti{
        font-size: 25px;
    }
}

.ab-p{
        font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: 30px;
    letter-spacing: 1px;
}

.p-ab-sec2-img {
    width: 45%;
}
  @media (max-width: 768px) {
    .p-ab-sec2-img {
    width: 100%;
}
  }
.p-ab-sec2-info{
    letter-spacing: 0px;
    font-size: 45px;
    font-weight: 600;
    line-height: 56px;
    color: var(--main-color);
    padding: 20px 0;
}

.p-ab-row-ti{
    background: #F0F0F0;
    line-height: 3;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #54595f;
    margin-bottom: 20px;
}

.p-ab-row-info{
    margin: 1% 0% 2% 0%;
    padding: 0% 8% 0% 8%;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 30px;
    letter-spacing: 1px;
    color: #54595f;
}

.p-ab-st-row{
    padding: 0% 8% 8% 8%;
}
  @media (max-width: 768px) {
    .p-ab-row-info{
         margin: 0;
    padding: 0;
  }
  .p-ab-st-row{
    padding: 0;
}
}
.p-ab-st-info{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    text-align: left;
}

.p-ab-st-ti{
    text-align: left;
    font-size: 28px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1px;
    color: var(--main-color);
}

.p-ab-st-ti span{
    color: #000;
    font-size: 18px;
}

.p-ab-st-ti-logo img{
    width: 12%;
}
.p-ab-st-ti-logo{
    font-size: 18px;
    color: #1c1719;
}
.p-ab-st-text{
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    line-height: 33px;
    letter-spacing: 1px;
    color: #54595f;
    margin-block-end: 12px;
}

.p-ab-st-text p{
    margin-bottom: 12px;
}

.store{
    margin-bottom: 40px;
}
.store h3{
    font-size: 28px;
    line-height: 28px;
    letter-spacing: 1px;
    color: #093385;
    font-weight: 600;
    margin-bottom: 20px;
}
.store  p{
    font-size: 18px;
    line-height: 31px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #54595f;
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .store h3{
    font-size: 22px;
    line-height: 22px;
        margin-bottom: 10px;
}
.store  p{
    font-size: 16px;
    line-height: 22px;
}
}
/*----ab.html end----*/

/*----qa.html ----*/
.qa-card-container{
    padding: 40px 20px 30px 20px;
    background: var(--main-color);
    color: #fff;
    border-radius: 24px;
}
.qa-card{
    background: var(--main-color);
}

.qa-card .card-title{
       padding: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.qa-card .card-header {
    padding: 0;
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: none;
        font-weight: 700;
}
.qa-card .card-btn{
    background: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    color: var(--main-color);
    display: flex;
    justify-content: space-between;
}

.qa-card .qa-card-body{
    padding: 0px 25px 20px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.qa-card .qa-card-body a{
    color: #fff;
}
@media (max-width: 768px) {
    .qa-card-container {
    padding: 20px 10px;
    background: var(--main-color);
    color: #fff;
    border-radius: 10px;
}
.qa-card .card-btn {
    background: #fff;
    padding: 10px 15px;
    border-radius: 22px;
    color: var(--main-color);
    display: flex;
    justify-content: space-between;
}
.qa-card .card-header {
    padding: 0;
    margin-bottom: 10px;
}
.qa-card .qa-card-body {
    padding: 0px 15px 15px;
}
}

/*----qa.html end----*/

/*---- inside.html ----*/
.p-inside-container img{
    margin-bottom: 30px;
}

.p-inside-container p{
    color: #7a7a7a;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/*---- inside.html end----*/

/*---- price.html ----*/
.p-pr-ti-info h2,
.p-pr-ti-info h1{
    letter-spacing: 0px;
    font-size: 45px;
    font-weight: 600;
    line-height: 56px;
    color: var(--main-color);
    padding: 20px 0;
}

.p-pr-ti-img{
    padding-left: 10%;
    width: 80%;
    align-items: center;

}

.p-pr-ti-btn{
    display: flex;
    flex-wrap: wrap;
}

.p-pr-ti-btn-t{
    background-color: #f0f0f0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    fill: #54595f;
    color: #54595f;
    border-radius: 5px 5px 5px 5px;
    margin: 10px 0;
    padding: 10px 0;
}

.p-pr-sec-ti{
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #1ba8d8;
    margin-bottom: 20px;
}
.p-pr-sec-ti a{
     color: #1ba8d8;
}
.p-pr-sec-span{
   font-size: 38px;
    font-weight: 600;
    line-height: 1;
    margin: 30px 0;

}

.p-pr-sec-info{
    font-size: 38px;
    font-weight: 600;
    line-height: 55px;
    letter-spacing: 1px;
    color: #54595f;
    margin: 30px 0;
}
.price-table{
    margin-bottom: 30px;
}
.price-table th{
    background: #f0f0f0;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #54595f;
}

.price-table td{
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #c60303;
}
.price-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
  }
  
  .price-table th,
  .price-table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
  }
  
  .price-table thead {
    background: #f8f8f8;
    font-weight: bold;
  }
  
  /* 手機版：卡片樣式 */
  @media (max-width: 768px) {
    .price-table{
    margin-bottom: 0px;
}
.p-pr-sec-ti {
    font-size: 25px;
        margin-bottom: 10px;
            letter-spacing: 0px;
}
.p-pr-sec-info {
    font-size: 25px;
    margin: 10px 0;
}

}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.price-table th,
.price-table td {
  padding: 10px;
}
.p-pr-ti-info h2,
.p-pr-ti-info h1{
    letter-spacing: 0px;
    font-size: 25px;
    line-height: 30px;
        padding: 10px 0;
}

/* 手機版以下改成縱向排列 */
@media (max-width: 768px) {
  .price-table thead {
    display: none;
  }
  .price-table, 
  .price-table tbody, 
  .price-table tr, 
  .price-table td {
    display: block;
    width: 100%;
                border: none;
  }
  .price-table tr {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
  }
  .price-table td {
    text-align: center;
            padding: 5px 0px;
            position: relative;
            font-size: 16px;
  }
  .price-table td::before {
                content: attr(data-label);
            font-weight: bold;
            display: block;
            color: #54595f;
            margin-bottom: 10px;
            background-color: #f0f0f0;
            font-size: 16px;
  }
  }

/*---- price.html end----*/

/*---- service.html----*/

.service-box {
    background-color: #fff;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: all .25s;
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
  }
  
  .service-box-img {
    overflow: hidden; 
  }
  
  .service-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease; 
  }
  
  .service-box:hover .service-box-img img {
    transform: scale(1.1); /* 放大效果 */
  }
  
  .service-info {
    background: var(--main-color);
    padding: 30px 30px 40px;
    text-align: center;
  }
  
  .service-ti {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  
  .service-btn {
    align-self: center;
    background: transparent;
    border: 2px solid #fff;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
    font-size: 13px;
    padding: 10px 20px;
    color: #fff;
  }

  .service-btn:hover{
    color: #fff;
    background: #ffffff6d;
    
  }
  
/*---- service.html end----*/

/*---- 最新消息上下頁----*/

.news-time {
    font-size: 13px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 45%;
}

    .nav-btn:hover {
        background-color: #f8f9fa;
        color: #333;
        transform: translateY(-2px);
    }

    .nav-btn.prev {
        text-align: left;
    }

    .nav-btn.next {
        text-align: right;
        flex-direction: row-reverse;
    }

.nav-icon {
    font-size: 2rem;
    color: #FDB515;
    margin: 0 15px;
    font-weight: bold;
}

.nav-content {
    flex: 1;
}

.nav-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FDB515;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.nav-title {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        max-width: 100%;
        width: 100%;
    }
}

/*---- 最新消息上下頁----*/
.store-btn {
    position: relative;
    padding: 0.5rem 0.1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    color: #15408c;
    border-color: #15408c;
}

a.store-btn:hover {
    background: #15408c;
    color: #fff;
}
.store .carousel-inner {
    position: relative;
    width: 100%;
    padding-top: 70.666%;
    overflow: hidden;
}

.store .carousel-inner .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.store .carousel-item{
    position: static;
}