@charset "utf-8";

:root{
    --f_base: 0.05263vw;
    --f90: clamp(2.5rem,calc(var(--f_base) * 90),5.625rem);/*40*/
    --f45: clamp(1.875rem,calc(var(--f_base) * 45),2.813rem);/*30*/
    --f36: clamp(1.625rem,calc(var(--f_base) * 36),2.25rem);/*26*/
    --f33: clamp(1.5rem,calc(var(--f_base) * 33),2.063rem);/*24*/
    --f30: clamp(1.438rem, calc(var(--f_base) * 30), 1.875rem); /*22.5*/
    --f28: clamp(1.313rem,calc(var(--f_base) * 28),1.75rem);/*21*/
    --f25: clamp(1.25rem, calc(var(--f_base) * 25),1.563rem);/*20*/
    --f22: clamp(1.125rem,calc(var(--f_base) * 22),1.375rem);/*18*/
    --f20: clamp(1.125rem,calc(var(--f_base) * 20),1.25rem);/*18*/
    --f18: clamp(1rem,calc(var(--f_base) * 18),1.125rem);/*16*/
    --f17: clamp(1rem,calc(var(--f_base) * 17), 1.063rem);/*16*/
    --f16: clamp(0.938rem, calc(var(--f_base) * 16), 1rem);/*15*/
    --f15: 0.94rem;
    --f14: 0.94rem;
    --f12: 0.875rem;
    --coM: #333;
    --coS01: #BA1F21;
    --p3: 3%;
    --p5: 5%;
    --p50: clamp(1.563rem, 1.172rem + 1.95vw, 3.125rem);
    --p60: clamp(1.875rem, 1.406rem + 2.34vw, 3.75rem);
    --p70: clamp(1.875rem, 1.25rem + 3.13vw, 4.375rem);
    --p100: clamp(3.125rem, 2.344rem + 3.91vw, 6.25rem);
    --p120: clamp(3.75rem, 2.813rem + 4.69vw, 7.5rem);
    --p150: clamp(3.75rem, 2.344rem + 7.03vw, 9.375rem);
}

/*Animations*/
[data-animate-in] { opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease;}
[data-animate-in="up"] { transform: translate3d(0, 20%, 0);}/*由下往上*/
[data-animate-in="left"] { transform: translate3d(-30%, 0, 0);}/*由左往右*/
[data-animate-in="right"] { transform: translate3d(30%, 0, 0);}/*由右往左*/
[data-animate-in="down"] { transform: translate3d(0, -20%, 0);}/*由上往下*/
[data-animate-in="fadeIn"] { transform: translate3d(0, 0, 0);}/*淡入*/
[data-animate-in="scaleIn"] {transform: scale(.5);}/*放大淡入*/
[data-animate-in="scaleIn01"] {transform: scale(1.1);}/*縮小淡入*/
[data-animate-in].in-view { opacity: 1; transform:translate3d(0,0,0); -webkit-transform:translate3d(0,0,0); transition: transform 1.2s ease, opacity 1s ease;}
.fade-in { opacity: 0; transition: opacity 1s ease; }

[data-animate-in]:is(s) {position: relative; --mask_pos:0;}
[data-animate-in]:is(s)::before{content: '';width: 30%;height: 30%;position: absolute;top: var(--mask_pos);left: var(--mask_pos);transform: translate(calc(var(--mask_pos)*-1),calc(var(--mask_pos)*-1)); z-index: 0;background-color: #EFEFEF;transition: all .6s ease-in-out;opacity: 0;}
[data-animate-in].in-view:is(s)::before{width: 100%; height: 100%; opacity: .3;}
[class^="anima_"] { transition: all 1.2s ease-in-out; will-change: clip-path, transform, filter;}
s [class^="anima_"]{transition: all 1.2s ease-in-out .7s;}
.anima_left { clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); }
.anima_right { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
.anima_top { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.anima_bottom { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%); }
.anima_circle { clip-path: circle(5% at 50% 50%); }
.anima_blur { filter: blur(5px); opacity: 0; }
.anima_big { transform: scale(1.3); opacity: 0; }
.in-view [class^="anima_"] {clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); filter: blur(0); transform: scale(1); opacity: 1;}

.content_flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box_container {width:100%; max-width:2000px; letter-spacing: 1.5px; border:0; text-decoration:none; overflow:hidden; background: url(../xi_img/all_bg.jpg) no-repeat center top; background-size: cover; margin: auto;}
.box_container img{width:auto; max-width:100%;}
.box_container * {box-sizing: border-box; max-width:100%;  padding:0; margin:0; line-height:180%;}
.box_container a{text-decoration:none; color: inherit;}
.box_container ul{list-style:none;}
.box_container i, .box_container em, .box_container dfn, .box_container var{font-style: normal;line-height: 0px;}
.box_container u{text-decoration:none;}

@media (max-width:600px) {
    :root{
        --p3: 5%;
    }
}

@keyframes ro01{
    0%{transform: rotate(0deg) translate(-50%,-50%);}
    100%{transform: rotate(360deg) translate(-50%,-50%);}
}

/*-------------------------------------------------------------------------*/
/*固定大圖隨著滑鼠往上移動*/
/*.pageIndex #header { position: static;}
#content_main { margin:0;}
.bannerindex { position:static; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 

*/
.swiper-slide img {
    height: auto;
}

.main_header_area .container {
    width: 94%;
    max-width: 1520px;
    margin: 0 auto;
}

.header_area.sticky .main_header_area {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/*-------------------------------------------------------------------------*/
/*header logo*/
.nav-brand {
    width: 100%;
}

.nav-header {
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    width: 20%;
    max-width: 286px;
}

/*-------------------------------------------------------------------------*/
/*header右側按鈕*/
.tp_links a:before {
    width: 30px;
    height: 30px;
    margin: -10px 0px;
}

.tp_links a.me_tp_line:before {
    background-image: url(https://pic03.eapple.com.tw/bmotorcade/tp_line.png) !important;
}

.tp_links a.me_tp_call:before {
    background-image: url(https://pic03.eapple.com.tw/bmotorcade/tp_call.png) !important;
}

.tp_links a.me_tp_mail:before {
    background-image: url(https://pic03.eapple.com.tw/bmotorcade/tp_email.png) !important;
}

/*-------------------------------------------------------------------------*/

.pageIndex .main_header_area,
.main_header_area {
    padding: 25px 0 20px;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.8+0,0.65+100 */
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.65) 100%); */
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    background-color: white;
}

.main_header_area {
    background-color: #fff;
}


.nav-menu>li>a .submenu-indicator-chevron,
.nav-menu>.active>a .submenu-indicator-chevron,
.nav-menu>.focus>a .submenu-indicator-chevron {
    border-color: transparent #000 #000 transparent;
}

.nav-dropdown>li>li>a {
    width: 100%;
}

.nav-menu {
    width: 100%;
    max-width: 1080px;
    padding: 0 0 0 1%;
    margin: 0 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu>li>.nav-dropdown {
    border: none;
}

.nav-menu>li>a {
    color: #000;
    font-size: var(--f16);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-bottom: 5px solid #936F3000;
    transition: all 0.5s;
    padding: 5px 15px;
}

.nav-menu>li:hover>a {
    color: #BA1F21;
    border-bottom: 5px solid #BA1F21;
}

.nav-dropdown {
    min-width: 121px;
    background: rgba(255, 255, 255, 0.75);
    border: none;
}

.nav-dropdown>li>a {
    transition: all 0.5s;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 120%;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    text-align: center;
    background-color: #936F3000;
    border: none;
}

.nav-dropdown>li>a:hover {
    color: #ffffff;
    background-color: #BA1F21;
}

.nav-dropdown>li>a:hover,
.nav-dropdown>li>a:focus {
    color: #ffffff;
    background-color: #BA1F21;
}

.tp_links a {
    border-bottom: none !important;
}

.footer {
    background: #f2f2f2;
}

.footer_menu {
    border-top: 1px solid #f2f2f2 !important;
}

.footer,
#bottom_menu {
    border-top: 1px solid #f2f2f2 !important;
}

.footer_logo img {
    width: 100%;
}

.footer_info li:nth-child(1) {
    width: 40%;
}

.footer_info li:nth-child(2) {
    width: 40%;
}

.footer_info li p.add:before {
    content: "北部：";
}

.footer_info li p.add2:before {
    content: "中部：";
}

/* *********************************** */

/*每頁底色+背景*/
#content {
    border-top: none !important;
    background-image: url(../xi_img/all_bg.jpg);
    background-color: #fff;
    background-position: center top;
    background-repeat: no-repeat;
}

.banner {
    padding: var(--p120) var(--p3);
    background-image: url(../xi_img/sbg_01.jpg);
    background-position: center;
    background-color: #efefef;
    box-shadow: none;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.banner h5 {
    font-size: var(--f33);
    font-style: italic;
    line-height: 130%;
    letter-spacing: 4px;
    line-height: 130%;
}
.banner h5:after{
    display: block;
    color: var(--coS01);
    font-size: var(--f20);
    letter-spacing: .5px;
    line-height: 140%;
}
.banner:after{
    font-size: var(--f17);
    letter-spacing: 3px;
    margin-top: 20px;
    display: block;
}

/* *********************************** */

/*聯絡表單*/
.list_before li.btn .animated-arrow {
    display: none;
}

.noborder {
    background-color: #f2f2f2;
    border: 1px solid #f2f2f2;
}

.contact_form li {
    border-bottom: 0px solid #ffffff;
}

.contact_content .information_left {
    display: none;
}

.contact_content .information_right {
    width: 100%;
}

/* .animated-arrow {
    background: linear-gradient(to right, #00a29d, #00d8a7);
    border-radius: 15px;
} */

.path{display: none;}


/* index */

li.xi_ex_a {}

li.xi_ex_a h4 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 15px 0 20px;
    margin: 0;
}

li.xi_ex_a h4 a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 150px;
}

li.xi_ex_a h4 a+a {
    margin-left: 10px;
}

li.xi_ex_a h4 a img {
    transition: 0.3s;
    -webkit-filter:grayscale(1) brightness(0);
}

li.xi_ex_a h4 a:hover img {
    -webkit-filter:grayscale(0) brightness(1);
}

/* 20240118 */
#content_main {
    margin-top: -7px;
}

.bannerindex {
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    position: relative;
    height: auto;
}

.swiper-banner {
    width: 100%;
    height: 100vh;
    position: absolute;
    left: -50%;
    margin-left: 50%;
    position: static;
    margin: 0;
    height: auto;
}

@media (max-width:1250px) {
    .nav-menu {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1024px) {
    #content_main {
        margin-top: 0;
    }
    .pageIndex .main_header_area,
    .main_header_area {
        padding: 15px 0 10px;
    }
    .navigation{
        padding-left: 0;
    }
    .nav-header{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        position: relative;
        top: 0;
        transform: translateY(0);
    }
    .nav-menu{
        justify-content: center;
        padding: 0;
        margin: 5px auto auto;
    }
}

@media (max-width:768px) {
    .nav-header{
        width: 100%;
        max-width: 100%;
    }
    .navigation-portrait .nav-brand{
        width: 50%;
        max-width: 200px;
    }

    .bannerindex {
        padding-bottom: 0;
    }

    .pageIndex .main_header_area,
    .main_header_area {
        padding: 10px 0;
    }

    li.tp_links {
        display: none;
    }

    .nav-menu>li>a,
    .navigation-portrait .nav-menu>li {
        border: none;
    }

    .nav-menu>li>ul {
        margin-top: 10px;
    }

    .nav-menu>li>ul>li {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .navigation-portrait .nav-dropdown>li>a {
        width: calc(100% - 10px);
        text-align: left;
    }

    .nav-menu>li>a {
        border-bottom: 1px #000 solid;
        position: relative;
    }

    .nav-menu>li>a::before {
        content: "";
        width: 100%;
        height: 1px;
        background-color: #936F3000;
        position: absolute;
        top: -1px;
        left: 0;
    }

    .nav-menu>li:hover>a {
        border: none;
        border-bottom: 1px #BA1F21 solid;
        background-color: #BA1F21;
        color: white;
    }

    .nav-menu>li:hover>a::before {
        transition: 0.5s;
        background-color: #BA1F21;
    }

    .navigation-portrait .nav-menu>li:last-child {
        border: none;
    }

    li.xi_ex_a h4 {
        padding: 10px;
    }

    .nav-menu>li:hover>a .submenu-indicator-chevron {
        border-color: transparent #ffffff #ffffff transparent;
    }

    .navigation-portrait .nav-toggle {
        top: 50%;
        transform: translateY(-70%);
        right: 0;
        margin: 0;
        padding: 0;
        color: #000;
    }

    .nav-toggle:before {
        background-color: #000;
        box-shadow: 0 .5em 0 0 #000, 0 1em 0 0 #000;
        top: 5px;
    }

    .nav-toggle:after,
    .nav-menus-wrapper-close-button {
        color: #000;
    }

    .navigation-portrait .nav-menus-wrapper.nav-menus-wrapper-open {
        background-color: #fff;
    }

    .nav-menu>li.focus>a {
        background-color: #936F30;
        color: white;
        border-bottom: 1px #936F30 solid;
        ;
    }

    .nav-menu>li.focus .nav-menu>li>a .submenu-indicator-chevron {
        border: transparent #fff #fff transparent;
    }

    .nav-menu>li.focus>a::before {
        background-color: #936F30;
    }

    .nav-menu>li.focus>a .submenu-indicator-chevron,
    .nav-menu>.focus>a .submenu-indicator-chevron {
        border-color: transparent #fff #fff transparent
    }

    .navigation-portrait .nav-dropdown>li>a:before {
        background-color: #00000060;
    }

    .navigation-portrait .nav-dropdown>li>a:hover:before {
        background-color: #936F30;
    }
}

@media screen and (max-width: 480px) {
    .nav-brand img {
        /* padding: 13px 43px 0px 0px; */
    }
    .nav-toggle:before{
        top: 7px;
        box-shadow: 0 .45em 0 0 #000, 0 .9em 0 0 #000;
    }
    .nav-toggle:after{
        font-size: 10px;
        bottom: -6px;
    }

}