@charset "utf-8";


/*網站全域設定/＝＝＝＝＝*/
/*
    #E1D9D0 /*網站主要色系
    #E1CAC5 /*網站輔助色系1
    #f9f6f4; /*網站輔助色系2*/

/*反白顏色*/
::-moz-selection{  background-color: #232323;  color: #fff;}
::selection{  background-color: #232323;  color: #fff;}
:root {
    --MainColor: #013c58;
    --SubColor:#00537a;
    --SubColor02:#a8e8f9;
    --SubColor03:#f5a201;
    --SubColor04:#ffba42;
    --SubColor05:#ffd35b;
    --SFont:"Noto Sans TC", sans-serif;
    --SFontEN: "Audiowide", sans-serif;
    --FontColor:#222222;
    --f54: 54px;
    --f48: 48px;
    --f42: 42px;
    --f40: 40px;
    --f36: 36px;
    --f32: 32px;
    --f28: 28px;
    --f24: 24px;
    --f22: 22px;
    --f20: 20px;
    --f18: 18px;
    --f17: 17px;
    --f16: 16px;
}

body {
    font-family: var(--SFont);
    letter-spacing: 0.05rem;
}
.path{display: none;}
/*頁碼
.page strong, .page a:hover {    background: var(--SubColor);}
.page li.activeN {    color: var(--SubColor);}
*/

/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {    background: #ffd35b;    width: 7px;}

::-webkit-scrollbar-button {
    display: none;
    background: #ffd35b;
    border-radius: 0;
}
::-webkit-scrollbar-track-piece {    background: #ffd35b;}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {    border-radius: 4px;    background-color: #f5a201;}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: #f5a201; }

/* 軌道背景底色 */
::-webkit-scrollbar-track {    box-shadow: transparent;}


/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

.header_area {
    position: fixed;
    background: transparent;
    backdrop-filter: blur(9px);
    transition: all 0.3s;
    background: #00537aad;
}
.header_area.sticky {
    background: rgb(255 255 255 / 87%);
    background: #00537aad;
}
.pageIndex .header_area {
    opacity: 0;
    transition: all 0.3s;
}

.main_header_area .container {    max-width: 95%;}
.navigation {    grid-template-columns: 270px 1fr;}


/*下滑*/
.pageIndex .header_area.sticky {
    opacity: 1;
    transition: all 0.3s;
}


/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/
.tp_links{display: none;}

/*浮動按鈕*/
.info_fix_links {    display: flex !important;}
.linksBtn {    display: none;}
a.info_fix_default.info_fix_mail{display: none;}

.info_fix_links a {
    background: #ffd35bc2;
    backdrop-filter: blur(9px);
}
.info_fix_links a:hover {    background: var(--SubColor03);}
.fa-tiktok:before {    content: "\e07b";}

a.info_fix_default.info_fix_fb {    order: 1;}
a.info_fix_default.info_fix_line {    order: 4;}
a.info_fix_default.info_fix_ig {    order: 2;}
a.info_fix_default.info_fix_TIKTOK {    order: 3;}
a.info_fix_default.info_fix_phone {    order: 5;}

/*電腦LOGO
.nav-brand {}
*/
.nav-header {    max-width: 250px;}
.nav-brand {    display: flex;}

/*手機LOGO
.nav-brand-m {}
*/


/*第一層*/
.stellarnav > ul > li {    position: relative;}
.stellarnav > ul > li:before, .stellarnav > ul > li:after {
    content: "";
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    opacity: 0;
    transition: all .5s;
}
.stellarnav > ul > li:after {    background: var(--SubColor05);}
.stellarnav > ul > li:before {    background: var(--SubColor04);}

.stellarnav > ul > li:hover:after {    animation: ro-run 1.4s 0.5s linear infinite reverse;}
.stellarnav > ul > li:hover:before {
    -webkit-animation: ro-run 1.4s 0.5s linear infinite;
    animation: ro-run 1.4s 0.5s linear infinite;
}
.stellarnav > ul > li:hover:before, .stellarnav > ul > li:hover:after {    opacity: 1;    top: 70%; transition: all .5s; }

.stellarnav > ul > li > a {
    transition: all 0.3s;
    color: var(--SubColor05);
    padding: 0 10px;
    font-weight: 400;
}
.stellarnav > ul > li:hover > a {color: #fff;}
@keyframes ro-run {
    0% {
        translate: 0 0;
    }
    25% {
        translate: 7px 0;
    }
    50% {
        translate: 0 0;
    }
    75% {
        translate: -7px 0;
    }
    100% {
        translate: 0 0;
    }
}
@-webkit-keyframes ro-run {
    0% {
        translate: 0 0;
    }
    25% {
        translate: 7px 0;
    }
    50% {
        translate: 0 0;
    }
    75% {
        translate: -7px 0;
    }
    100% {
        translate: 0 0;
    }
}

/*下拉線條箭頭*/
.stellarnav li.has-sub>a:after {
    position: absolute;
    top: 38%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: transparent var(--SubColor05) var(--SubColor05) transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.stellarnav li.has-sub>a:hover:after {border-color: transparent #fff #fff transparent;}

/*第二層*/
.stellarnav li li > a , .stellarnav li li.has-sub > a{    padding: 7px 5px;    transition: all 0.3s;border-left:1px solid transparent;}
.stellarnav li li:hover > a , .stellarnav li li.has-sub:hover > a{color: #ADA17E;	padding-left:10px;border-color:#ADA17E ;}

/*下拉第二層箭頭*/
.stellarnav li li.has-sub > a:after {
    position: absolute;
    top: 38%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: transparent var(--MainCOlor) var(--MainCOlor) transparent;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
}

/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */

/* 商品下拉超過30個--結束 */



/*聯絡我們*/
.contact_form li {
    grid-template-columns: 1fr;
    gap: 5px;
}
.contact_form li .form__label {
    max-width: 100%;
    text-align: left;
}
.contact_form li input.noborder {
    border: none;
    border-bottom: 1px #ddd solid;
}

.blank_letter {
    color: var(--MainColor);
    font-size: var(--f28);
    font-family: var(--SFont);
    font-weight: 500;
    /* border-left: 5px solid var(--SubColor03); */
    position: relative;
    padding-top: 0;
    padding-left: 30px;
    display: flex;
    align-items: center;
}
.blank_letter:before {
    position: absolute;
    z-index: -1;
    content: '';
    top: 50%;
    right: 0;
    bottom: 0;
    left: 10px;
    background: var(--SubColor03);
    transform: translateY(-50%) skew(335deg);
    width: 8px;
    height: 34px;
}

/*聯絡我們-按鈕*/
.contact_form li.last blockquote, .contact_form li.last cite {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: flex;
    background-color: var(--MainColor);
    border-radius: 86px;
    padding-inline: var(--size2);
    justify-content: center;
    color: #fff;
    align-items: center;
}
.contact_form li.last blockquote:hover input, .contact_form li.last cite:hover input {
    letter-spacing: 2px;
}

.contact_form li.last i.fa-solid.fa-arrow-right {
    width: 40px;
    height: 20px;
    background-color: #ffba4269;
    position: relative;
    border-radius: 41px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 1s;
}
.contact_form li.last cite:hover i.fa-solid.fa-arrow-right {
    margin: 0;
    background: var(--SubColor04);
    justify-content: flex-end;
    transition: all 1s;
}
.contact_form li.last i.fa-solid.fa-arrow-right:before {
    font-size: 10px;
    width: 20px;
    height: 20px;
    background: var(--SubColor04);
    display: flex;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
}
.contact_form li.last blockquote {
    overflow: hidden;
    position: relative;
    padding-right: 40px;
    width: 200px;
}
.contact_form li.last blockquote:before {
    content: "→";
    right: 55px;
    position: absolute;
    font-size: 10px;
    width: 20px;
    height: 20px;
    background: var(--SubColor04);
    display: flex;
    border-radius: 100px;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all .5s;
}
.contact_form li.last blockquote:after {
    content: " ";
    position: absolute;
    width: 40px;
    height: 20px;
    background-color: #ffba4269;
    border-radius: 41px;
    display: flex;
    align-items: center;
    transition: all 1s;
    right: 35px;
}
.contact_form li.last blockquote:hover:before {
    right: 35px;
}
.contact_form li.last blockquote:hover:after {
    background-color: var(--SubColor04);
}

/*.contact_form li.last cite:hover i.fa-solid.fa-arrow-right:before {
    -webkit-transform: translateX(11px);
    transform: translateX(11px);
    display: flex;
    justify-content: flex-end;
}*/

/* = = = 大圖-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*進場動畫*/
/*大圖載入*/
.pageIndex::before {
    content: "";
    pointer-events: none;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: calc(100% / 1 * 0.035);
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/maz_logo-web-w.png);
    background-repeat: no-repeat;
    background-position: center !important;
    background-size: contain !important;
    position: fixed;
    top: 50%;
    left:  0;
    /* transform: translate(-50%, -50%) scale(0, 1); */
    z-index: 99999999999999999999999999999999999999999999999;
    /* animation: logo 2.2s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards; */
    -webkit-animation: slit-out-vertical 2s ease-in both;
    animation: slit-out-vertical 2s ease-in both;
    opacity: 0;
}

.pageIndex::after{
    position: absolute;
    pointer-events: none;
    display: block;
    content: "";
    background: #013c58b6;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000;
    background-position:center;
    width: 100%;
    height: 100%;
    right: 0;
    animation: action-bg 2s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    backdrop-filter: blur(10px);
}
@keyframes action-bg {
    0%{        opacity: 1;        background-color: #013c58b6;        backdrop-filter: blur(20px)    }
    50%{        opacity: 1;        background-color: #013c58b6;        backdrop-filter: blur(20px);    }
    75% {        opacity: 1;        background-color: transparent;    }
    100% {        opacity: 0;        background-color: transparent;    }
}
@-webkit-keyframes slit-out-vertical {
  0% {    -webkit-transform: translateZ(0) rotateY(0);            transform: translateZ(0) rotateY(0);    opacity: 1;  }
  54% {    -webkit-transform: translateZ(-160px) rotateY(87deg);            transform: translateZ(-160px) rotateY(87deg);    opacity: 1;  }
  100% {    -webkit-transform: translateZ(-800px) rotateY(90deg);            transform: translateZ(-800px) rotateY(90deg);    opacity: 0;  }
}
@keyframes slit-out-vertical {
  0% {
    -webkit-transform: translateZ(0) rotateY(0);
            transform: translateZ(0) rotateY(0);
    opacity: 1;
  }
  54% {
    -webkit-transform: translateZ(-160px) rotateY(87deg);
            transform: translateZ(-160px) rotateY(87deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateZ(-800px) rotateY(90deg);
            transform: translateZ(-800px) rotateY(90deg);
    opacity: 0;
  }
}

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex {
    position: relative;
    height: auto;
    background: var(--MainColor);
}
.swiper-banner { position:static; margin:0; height:auto;animation: converge-from-sides 2.5s 0.3s both;} 
.swiper-banner .swiper-slide img {
    width: 100%;
    height: auto;
    /*transform: scale(1.4);
    animation: banner-img 1s forwards;*/
    /*animation: converge-from-sides 2.5s 0.3s both;*/
}

@keyframes converge-from-sides {
    0% {
        transform: scale(1.6);
        opacity: 0;
        transform-origin: left center;
    }

    50% {
        transform: scale(0.8);
        opacity: 1;
        transform-origin: center;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        transform-origin: center;
    }
}

@-webkit-keyframes kenburns-left {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
            transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 16% 50%;
            transform-origin: 16% 50%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(-20px, 15px);
            transform: scale(1.25) translate(-20px, 15px);
    -webkit-transform-origin: left;
            transform-origin: left;
  }
}
@keyframes kenburns-left {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
            transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 16% 50%;
            transform-origin: 16% 50%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(-20px, 15px);
            transform: scale(1.25) translate(-20px, 15px);
    -webkit-transform-origin: left;
            transform-origin: left;
  }
}

/*切換鈕*/
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: auto;top: 50%;left: 2vw;width: 25px;}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 5px 10px;
    width: 5px;
    height: 25px;
    background: var(--SubColor03);
    border-radius: 2px;
}

/*大圖*/
.pageIndex .bannerindex .swiper-slide.swiper-slide:before, 
.pageIndex .bannerindex .swiper-slide.swiper-slide:after {
    content: ""; position: absolute;  z-index: 999; pointer-events: none;
}

/*
.pageIndex .swiper-wrapper .swiper-slide:nth-child(1) {
    width: 110%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-1bg.jpg);
    animation: banner-in 1s forwards;
    transform: scale(1.4);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation-delay: 1.2s;
    opacity: 0;
}
*/
.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(1):before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-1text.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 0%;
    opacity: 0;
}
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active:before {  
    animation: banner-right 2.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
}

.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(1)::after {
    content: "";
    display: block;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-1bg.jpg);
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-1.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*animation: bgScroll 30s linear infinite;*/
    /*z-index: -1;*/
}
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active::after {  
        animation: converge-from-sides 2.5s 0.3s both;
}

@keyframes banner-right {
    0% {        opacity: 0;        transform: translate(-10vh, -50%);    }
    100% {        opacity: 1;        transform: translate(0%, -50%);
    }
}

@keyframes banner-in {
    0%{        transform: scale(1.4);    }
    100%{        transform: scale(1);    }
}
@keyframes bgScroll {
    0% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
    50% {        -webkit-transform: translateX(-5%);        transform: translateX(-5%);    }
    100% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
}


/*大圖2*/
/*
.pageIndex .swiper-wrapper .swiper-slide:nth-child(2) {
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-2bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
}*/
.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(2)::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-2b.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 0%;
    top: 0;
    opacity: 0;
    z-index: 51;
}
.pageIndex .bannerindex .swiper-wrapper .swiper-slide:nth-of-type(2)::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/01cover-2a.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    z-index: 0;
    /*z-index:-1;*/
}
.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide-active:before {  
    animation: banner-right 2.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation: banner-up 2.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 0.2s;

}
.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide-active:after {  
    -webkit-animation: bounce-in-top 1.1s both;
        animation: bounce-in-top 1.1s both;
}

@keyframes banner-up {
    0% {        opacity: 0;        transform: translate(0, 10vh);    }
    100% {        opacity: 1;        transform: translate(0, 0);
    }
}
@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}


@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
    width: 100%;
    min-height: 400px;
    background: var(--SubColor);
    position: relative;
    overflow: hidden;
    /* height: 65vh; */
    padding: calc(15vw + 30px) calc(3vw + 30px) calc(3vw + 70px) 5%;
}
.banner:after {
    content: '';
    animation: bgScroll 30s linear infinite;
    width: 110%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/ban.jpg);
    background-repeat: no-repeat;
    background-position: top;
}

.banner.banC {
    /* background: linear-gradient(170deg, #00000000 0% 40%, #010f16e3 93%), url(https://pic03.eapple.com.tw/mazdakuan/con_banbg.jpg); */
    background: url(https://pic03.eapple.com.tw/mazdakuan/con_banbg.jpg);
    /* background: url(https://pic03.eapple.com.tw/mazdakuan/ban_c.jpg); */
    position: relative;
    width: 100%;
    background-size: cover;
    max-width: 6000px;
    /* background-attachment: fixed; */
    animation: ban-srcoll 120s ease-in-out infinite;
    right: 0;
    background-position: left bottom;
}
.banner.banC:hover{      animation-play-state: paused;    }
.banner.banC::after {
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/ban_car.png);
    /* animation: bmove 80s infinite; */
    width: 700px;
    background-position: right bottom;
    background-size: contain;
    animation: none;
    bottom: 0;
    max-width: 100%;
    left: 59%;
    animation:slide-rightin 1.5s 0.3s both;
}

/*最新消banner*/
.article_a .banner:after {
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/ban-new.jpg);
    background-position: top;
}
.article_a .banner:before {
    content: '';
    position: absolute;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/ban_car-r.png);
    width: 700px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    bottom: 0;
    max-width: 100%;
    left: 59%;
    animation: slide-rightin 1.5s 0.3s both;
    height: 100%;
    z-index: 1;
}


.banner.banF:before {
    content: '';
    position: absolute;
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/car_w2.png);
    width: 500px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    max-width: 100%;
    animation: car 8s cubic-bezier(0.57, 0.63, 0.49, 0.65) infinite; 
    height: 30vw;
    z-index: 1;
    bottom: 0;
    right: 18%;
    transform: translate(-18%, 0%) ;
    bottom: 0;
    transform: translateX(-18%) scale(0.2);
    animation: drive 3s ease-in forwards, carMove 6s ease-in-out 3s infinite;
}
.banner.banF:after {
    background-image: url(https://pic03.eapple.com.tw/mazdakuan/ban-f.jpg);
    background-position: bottom;
}

.banner.banA {}
.banner.banB {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

@keyframes drive {
    0% {    transform: translateX(-18%) translateY(-60px) scale(0.2);  }
    50% {    transform: translateX(-18%) translateY(-30px) scale(0.6);  }
    100% {    transform: translateX(-18%) translateY(0px) scale(1);    }
}
@keyframes carMove {
15%, 23% {
    transform: translate3d(-2.3em, 0, 0);
}
36%, 42% {
    transform: translate3d(-.6em, 0, 0);
}
61%, 71.5% {
    transform: translate3d(2.8em, 0, 0);
}
81%, 88% {
    transform: translate3d(1em, 0, 0);
}
}

/*@keyframes slide-in-fwd-center {
    0% {
    max-width: 0;
    -webkit-transform: translateZ(-2000px)  translate(0%, 0%);
            transform: translateZ(-2000px)  translate(0%, 0%);
    opacity: 0;
    }
    100% {
    max-width: 100%;
    -webkit-transform: translateZ(0)  translate(-15%, 0%);
            transform: translateZ(0)  translate(-15%, 0%);
    opacity: 1;
    }
}*/
@keyframes slide-in-fwd-center {
    0% {        transform:  scale(0.1);    }
    50% {        transform: scale(0.5);    }
    80% {        transform: scale(0.9);    }
    100% {        transform:  scale(1);    }
}


@keyframes bgScroll {
    0% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
    50% {        -webkit-transform: translateX(-5%);        transform: translateX(-5%);    }
    100% {        -webkit-transform: translateX(0);        transform: translateX(0);    }
}

@keyframes bmove {
0% {    transform: translateX(calc(20%));}
100% {    transform: translateX(calc(-100%));}
}

@keyframes ban-srcoll {
0% {    background-position: -6000px 0;}
100% {    background-position: 0 0;}
}

@keyframes slide-rightin {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        opacity: 1;}
}

.banner h5 {
    z-index: 1;
    color: #fff;
    /* position: absolute; */
    left: 0;
    font-size: var(--f24);
    top: 20%;
    transform: translateY(-20%);
    text-align: left;
    font-weight: 500;
    letter-spacing: .2rem;
    /* mix-blend-mode: color-dodge; */
    text-shadow: 1px 2px 8px #2b1722a3;
    animation: slide-top 1.5s 0.3s both;
    max-width: 1300px;
    margin: auto;
    position: relative;
    width: 100%;
}
.banner h5:before {
    content: "MAZDA";
    display: block;
    font-family: var(--SFontEN);
    font-size: 6vw;
    line-height: 1;
    font-style: italic;
    text-transform: uppercase;
    text-shadow: none;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(45deg, #ffd35b 40%, #ffd35bb8, #ffd35b00 60%) -100% / 50% no-repeat currentColor;
    -webkit-background-clip: text;
    animation: shark-txt 3s infinite;
    mix-blend-mode: plus-lighter;
}
.article_a .banner h5:before { content: "news";}
.banner.banC  h5:before { content: "contact";}

@keyframes shark-txt {
    form{      background-position: -100%;    }
    to {      background-position: 200%;    }
}
@keyframes slide-top {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;}
    
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*footer*/
.footer {
    padding-top: 60px;
    background: var(--MainColor);
    width: 100%;
    height: 100%;
    background: url(https://pic03.eapple.com.tw/mazdakuan/tone.png), #013c58;
    position: relative;
    overflow: hidden;
}

.footer:after {
    display: flex;
    width: 100%;
    max-width: unset;
    height: fit-content;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: ee 30s infinite linear;
    content: "MAZDA SALES MAZDA SALES MAZDA SALES MAZDA SALES MAZDA SALES MAZDA SALES";
    font-family: var(--SFontEN);
    z-index: -1;
    white-space: nowrap;
    color: var(--MainColor);
    text-shadow: 1px 1px 0 #2f8bb7, -1px 1px 0 #2f8bb7, 1px -1px 0 #2f8bb7, -1px -1px 0 #2f8bb7;
    opacity: .1;
    font-size: 21vw;
    line-height: 1.1;
    margin: auto;
}
@keyframes ee {
    0% {    transform: translateX(0);    }
    100% {    transform: translateX(-100%);    }
}

.footer_info {
    grid-template-columns: 1fr 300px;
    padding-right: 0;
}
.footer_logo {    display: none;}
.box_link {
    position: relative;
    order: 1;
    max-width: 300px;
    align-items: flex-start;
    justify-content: flex-start;
}
.box_link:before {
    content: "追蹤我們";
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    display: block;
    padding-bottom: 15px;
    border-bottom: 1px solid #ffffff7a;
    width: -webkit-fill-available;
}
.box_link a {
    border: none;
    color: #fff;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    line-height: 175%;
    justify-content: flex-start;
    gap: 12px;
    align-items: center;
    width: 250px;
    margin-bottom: 6px;
    transition: all .3s;

}
.box_link a:hover {
    opacity: .7;
    transition: all .3s;
}
.box_link a:after {
    font-size: 13px;
    font-family: var(--SFont);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.box_link a.me_tp_fb {    margin-top: 15px;}
.box_link a.me_tp_fb:after {    content: "FACEBOOK";}
.box_link a.me_tp_line:after {    content: "加入好友LINE";}
.box_link a.me_tp_call:after {    content: "call us";}
.box_link a.me_tp_mail:after {    content: "E-mail";}
.box_link a.me_tp_ig:after {    content: "Instagram";}

.box_link a i.fa-brands, .box_link a i.fa-regular.fa-envelope, .box_link a i.fa-brands, .box_link a .fa-solid {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_info ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    gap: 35px;
    padding-right: 30px;
}
.footer_info li {    padding: 0;}
.footer_info li:nth-child(1):before, .footer_info li:nth-child(2):before {
    content: "聯絡我們";
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    display: block;
    padding-bottom: 15px;
}
.footer_info li:nth-child(2):before {    content: "網站導覽";}
.footer_menu {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    border-top: 1px solid #ffffff7a;
}
.footer_menu a:first-child {    display: none;}
.footer_menu a {
    background: transparent;
    border: none;
    color: #fff;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 175%;
    transition: all .3s;
}
.footer_menu a:hover {
    background: transparent;
    color: #fff;
    opacity: .7;
    transition: all .3s;
}
.footer_info li p, .footer_info li p a {
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 13px;
    transition: all .3s;
}
.footer_info li p:hover, .footer_info li p:hover a {    opacity: .7; transition: all .3s; }

.footer_info li p:nth-child(1) {
    border-top: 1px solid #ffffff7a;
    padding-top: 16px;
}

.copy {
    border-top: 1px solid #ffffff7a;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 20px 20px;
    font-size: 12px;
    justify-content: flex-end;
}
.copy a {    color: #999;}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*促銷方案*/
.news_part {    padding: 60px 20px;}

/*
.news_part .title_i_box h4 {
    color: var(--TitleColor);
    font-weight: bold;
}
.news_part .title_i_box h4:before {
    content: "NEWS";
    display: block;
    font-family: var(--SFontEN);
}
.news_list ul li p {
    color: var(--FontColor);
}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#ad925e;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#ad925e;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}

/*顏色*/
.products-list .more {    border: 1px solid #ADA17E;    color: #ADA17E;}
.products-list .item a:hover .more {    background: #ADA17E;}

/*購物車/內層＝＝*/
.product_info_page .main_part {    width: 90%;}
/*按鈕顏色*/
.inquiry_a1{background: #cbc0a0;}
.inquiry_a2{background: #bdab77;}
.inquiry_a3{background: #ADA17E;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover{background: #222;}
.lastaction {    color: #ADA17E;    background-color: #f2f2f2;}
.nextaction {    background-color: #ADA17E;}
.lastPage {    background: #ADA17E;}

/*商品側邊規格*/
.product_info li .txt_box {    color: #222222;    width: 100%;}
.sidebarBtn .sp_price {   color: #cbc0a0;}
.mobile_product_name{font-size: 24px;}
/*相關推薦*/
.prod_related h6 span:before{font-size: 28px;}



@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}
@media screen and (max-width: 600px) {
    .payment_form {    flex-direction: column;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/
/*3個一排
.blog_subbox {    grid-template-columns: repeat(3, 1fr);} 
*/


/*文章內層*/
/*文章內層封面
.articel_mainPic img{display: none;}*/
.blog_back a.article_btn_back {    background: var(--MainColor);}
.blog_back a.article_btn_prev {    background: var(--SubColor);}
.blog_back a.article_btn_next {    background: var(--SubColor);}

/*文章標籤
.news_tags {    flex-wrap: wrap;}*/


/*文章-相關推薦*/
.news_related {
    background: #f3f3f3;
    padding: 25px 15px;
}
.news_related h6 span:before {
    font-size: 24px;
    color: #6d7980;
}
.lastPage {    color: #fff;    background: #ADA17E;}


/* = = = 相簿-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*.overlay {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, .3);
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: all .4s 100ms cubic-bezier(.42,0,.58,1);
}*/

/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/

.pic-list .item a img {    transition: .4s ease;}
.pic-list .item a:hover img {
    transform: scale(1.05);
    transition: .4s ease;
    filter: grayscale(1);
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



@media (max-width:1024px) {
    :root {
        --f54: 48px;
        --f48: 40px;
        --f42: 38px;
        --f40: 36px;
        --f36: 32px;
        --f32: 28px;
        --f28: 24px;
        --f24: 22px;
        --f22: 20px;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --f54: 36px;
        --f48: 32px;
        --f42: 30px;
        --f40: 28px;
        --f36: 26px;
        --f32: 24px;
        --f28: 20px;
        --f24: 20px;
        --f20: 18px;
        --f18: 17px;
        --f17: 16px;
    }

/* 開啟手機板下方按鈕所需設定
#bottom_menu {display: block; } */
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
#bottom_menu li:first-child:nth-last-child(2), #bottom_menu li:first-child:nth-last-child(2) ~ li {
    width: 50%;
    display: block;
    float: left;
}

/*漢堡選單*/
.stellarnav.mobile.left > ul {    border: none;}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {
    background: var(--SubColor); color: #fff;
}
.stellarnav .icon-close:before, .stellarnav .icon-close:after {    border-bottom: solid 2px #ffffff;}
.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after {    border-bottom: solid 2px var(--MainColor);}/*下拉關掉*/
.stellarnav.mobile li.open {    background: var(--bgcolor);}/*下拉*/

ul.show-list, .pic-list {    grid-template-columns: repeat(2, 1fr);}
.blog_subbox {    grid-template-columns: repeat(2, 1fr);}
}


@media (max-width:600px) {
    :root {
        --f54: 32px;
        --f48: 28px;
        --f42: 26px;
        --f40: 24px;
        --f36: 22px;
        --f32: 20px;
        --f28: 18px;
        --f24: 18px;
        --f22: 18px;
        --f20: 17px;
        --f18: 16px;
        --f17: 15px;
        --f16: 15px;
    }
    ul.show-list, .pic-list {    grid-template-columns: 1fr;}

        /*聯絡我們表單*/
    .contact_form li {    grid-gap: 0;}
    .contact_form li .form__label {    background: transparent;}
}

@media (max-width:375px) {
    :root {
        --f54: 28px;
        --f48: 24px;
        --f42: 22px;
        --f40: 20px;
        --f36: 18px;
        --f32: 18px;
        --f28: 17px;
        --f24: 17px;
        --f22: 17px;
        --f20: 16px;
        --f18: 15px;
    }
}


