@charset "utf-8";
/*網站全域設定/＝＝＝＝＝*/
.edit_part {
    padding: 0;
}
/*反白顏色*/
::-moz-selection{  background-color: #E9D837;  color: #fff;}
::selection{  background-color: #E9D837;  color: #fff;}
:root {
    --MainColor: #E9D837;
    --SubColor:#EBEBDF;
    --SubColor02:#a3a3a3;
    --logocolor01:#000;
    --SFont:'Noto Serif TC', serif;
    --SFontEN: 'EB Garamond', serif;
    --TitleColorEN:#E9D837;
    --TitleColor:#E9D837;
    --FontColor:#E9D837;
    transition: var(--trans);
    --trans: .4s linear;
    --f60: 60px;
    --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;
    --pd80:80px;
}

/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {
    width: 10px; /*右側捲軸寬度*/
    height: 0px; /*下方捲軸高度*/
}

/* 軌道背景底色 */
::-webkit-scrollbar-track {    background: #EBEBDF; }
/* 滑桿顏色 */
::-webkit-scrollbar-thumb {    background: #000; }
/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: #E9D837; }

/* 頁面的麵包屑 首頁/頁面名稱/ */
.path { display:none;}
.pageIndex .main_part {    border-top: none;}
#content {    min-height: 80vh;}
body.blog_in_page {
    font-size: var(--f16);
    letter-spacing: 1px;
}

/*頁碼*/
.page strong, .page a:hover {    background: var(--SubColor);}
.page li.activeN {    color: var(--SubColor);}

.main_part {    max-width: 1400px;    padding: var(--pd80) 20px;}
/*
關於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;}
*/


/*上方選單右邊設定 臉書/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}
*/


/*電腦LOGO*/
.nav-brand{ max-width: 240px;}
.nav-brand img { max-width: 100%;}
.footer_logo { max-width: 200px;margin: 0px 3px;}

/*手機LOGO
.nav-brand-m {}
*/

/*header選單欄位*/
.main_header_area .container { max-width: 85%;}
.header_area {  background:#000;box-shadow: 1px 1px 10px rgba(0, 0, 0, .1); padding: 5px 0px;transition:.5s;  }
.header_area.sticky { background: #E9D837;box-shadow: 1px 1px 10px rgba(0, 0, 0, .1); transition:.5s;}
.header_area.sticky .nav-brand img {
    filter: brightness(50);
}

.me_tp_features {display: none;}

@media screen and (max-width:1024px) {
.nav-brand img {
max-width: 80%;
padding-top: 10px;}

.header_area{
    background: #000000;}

.stellarnav>ul {
    padding-top: 10px;
}

}

@media screen and (max-width:500px) {
.nav-brand img {
max-width: 60%;}
}

@media screen and (max-width:400px) {
.nav-brand img {
max-width: 50%;}
}

@media screen and (max-width:350px) {
.nav-brand img {
max-width: 40%;}
}

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;}
.swiper-slide img {
    height: auto;
    animation: none !important;
    transform: scale(1.011);
}

@media screen and (max-width: 768px) {
    .bannerindex {
        position: relative;
        height: 0;
    }

    .swiper-banner {
        position: relative;
        margin: 0;
        height: 100vh;
    }
    .navigation {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;

}
.pageIndex .header_area {
    position: sticky;
}
}


/*大圖*/

.pageIndex .swiper-wrapper .swiper-slide:nth-child(2)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/chuanxingtires/banner-05.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(2):before { animation: slide-in-bottom 2.5s; animation-fill-mode: both;}

@keyframes bgin{
    0%{opacity: 0; transform: translateY(100px);}
    100%{opacity: 1;
        transform:scale(1) translateY(0);
        background-size: cover;}
}



.swiper-slide.swiper-slide-active:nth-child(2):before{
    -webkit-animation: slide-in-bottom 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
	        animation: slide-in-bottom 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s both;
}
@-webkit-keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(100px);
              transform: translateY(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-bottom {
    0% {
      -webkit-transform: translateY(100px);
              transform: translateY(100px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }


@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}



.swiper-slide.swiper-slide-active:nth-child(1):after  {   
    background: url(https://pic03.eapple.com.tw/chuanxingtires/banner-05.png); animation: bg 2s;animation-fill-mode: both;}

@keyframes bg{
    0%{opacity: 0;width: 80vw;}
    100%{opacity: 1;width: 35vw;}
}
.pageIndex .swiper-wrapper .swiper-slide:nth-child(1)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://pic03.eapple.com.tw/chuanxingtires/banner-04.png);
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10000;
}
.pageIndex .swiper-slide.swiper-slide-active:nth-child(1):before { animation: slide-in-bottom 2.5s; animation-fill-mode: both;}

@keyframes bgin{
    0%{opacity: 0; transform: translateX(100px);}
    100%{opacity: 1;
        transform:scale(1) translateX(0);
        background-size: cover;}
}


@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}



/* = = = footer = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */

.footer {
  padding: 45px 0 0;
  font-size: 14px;
  background: #2f2f2f;
  position: relative;
  z-index: 99;
  background: url(https://pic03.eapple.com.tw/chuanxingtires/footer_bg.png) no-repeat center;
}
.footer .center, .copy { width: 80%; max-width: 1980px;}
.footer_info { position: relative; grid-template-columns: 1fr; z-index: 3; padding: 0;}
.footer_info ul { padding-top: 22px; width: calc(100% - 300px);}
.footer_info li{padding-top: 0;}
.footer_info li:nth-child(1) { width: 100%; position: relative;}
.footer_info li:nth-child(2) { width: 100%; margin-top: 20px;}

/*logo*/
.footer_logo { position: relative; max-width: 100%;}
.footer_logo::before {
content: "";
position: absolute;
right: 0;
bottom: 50%;
border-bottom: 1px solid #E9D837;
width: calc(100% - 200px);
}
.footer_logo a { position: relative; display: inline-block; width: 100%; width: 200px; height: 80px;}
.footer_logo a::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(https://pic03.eapple.com.tw/chuanxingtires/footer_logo.png) no-repeat center;
background-size: contain;
}
.footer_logo img { display: none; max-width: 100%;}

/*footer info*/
.footer_info li p {
  color: #eee;
  line-height: 2;
  display: inline-block;
  width: 49%;
}
.footer_info li p a { color: #eee;}

/*footer menu*/
.footer_menu { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 101%;}
.footer_menu a {
  margin: 0;
  text-align: center;
  padding: 5px;
  line-height: initial;
  background: transparent;
  color: #eee;
  letter-spacing: 1px;
  border: 1px solid #ffffff;
  transition: all 0.3s;
}
.footer_menu a:first-child { display: none;}
.footer_menu a:hover {
  background: #E9D837;
  color: #000000;
}

/*icon*/
.box_link { display: grid; grid-template-columns: 145px auto; grid-gap: 3px 10px; width: max-content; top: 60px; max-width: 100%;}

.box_link a {
  display: flex;
  align-items: center;
  width: 100%;
  color: #eee;
  border-radius: 0;
  padding: 5px 10px;
  margin-bottom: 9px;
  font-size: var(--f16);
  border: 1px solid #fff;
  transition: all 0.3s;
}
.box_link a:hover { background: transparent; opacity: .5; transition: all 0.3s;}


/*版權*/
.copy {
  position: relative;
  z-index: 2;
  color: #eee;
  border: none;
  padding: 20px 0 25px;
  text-align: right;
  margin: 0 10%;
}
.copy a{ color: #eee; transition:all 0.3s;}
.copy a:hover { color: var(--FontColor_1); opacity: .6; transition: all 0.3s;}


/*#bottom*/
#bottom_menu li a i,#bottom_menu li a em  {color: #E9D837;}
#bottom_menu li a {background-color: #000000;}

/*--RWD---------------------------------------*/

@media screen and (max-width: 1024px) {
  .footer_info li p { width: 100%;}

  .footer_menu { display: grid; grid-template-columns: repeat(3, 1fr);}
}

@media screen and (max-width: 768px) {
  /*footer*/
  .footer {
      padding: 45px 0 0;
      font-size: 14px;
      background: url(https://pic03.eapple.com.tw/chuanxingtires/footer_bg2.png) no-repeat center;
      position: relative;
      z-index: 99;
  }
  .footer_info { justify-content: center;}
  .footer_logo { text-align: center;}
  .footer_logo::before { bottom: -15px; right: auto; left: 50%; transform: translateX(-50%); width: 50%;}
  .footer_info ul { width: 100%; flex-direction: column;}

  .footer_info li:nth-child(2) { width: 100%; margin-top: 25px;}
  .footer_menu { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%;}

  /*icon*/
  .box_link { position: relative; display: grid; width: 100%; left: 0; top: auto; margin-top: 20px; grid-template-columns: 1fr 1fr;}
  .box_link a { width: 100%;}
  .box_link a.me_tp_line { padding-top: 143px; background-position-y: 0; background-size: contain;}

  /*版權*/
  .copy { padding: 30px 0; width: 90%; text-align: center;}

  /*底部按鈕*/
  .footer.with_shopping_mode { padding:30px 0 70px;}

  #to_top {    bottom: 75px;}

}



.header_area,.header_area.sticky {background: #000;position: fixed;}
.pageIndex .header_area{opacity: 0;transition: all .5s;}
.header_area:before{content: "";width: 0%;height: 100%;position: absolute;top: 0;  left: 0;  transform: translateX(0);
   background: transparent;transition: all .5s;}
.header_area.sticky:before{width: 100%;transition: all 3s;  background: linear-gradient(90deg, #E9D837, #ffec44, rgb(0, 0, 0));
   backdrop-filter: saturate(93%) blur(7px);border-bottom: 1px solid white;}
.header_area.sticky {opacity: 1;transition: all .5s;}
.nav-header {max-width: 100%;}
.stellarnav > ul > li {margin: 0 0 0 10px;}
.stellarnav > ul > li:first-of-type{/*display: none;*/}

.stellarnav > ul > li > a{letter-spacing: .2rem;transition: all .5s;font-size: 16px;margin: 0;color: #fff;}
.stellarnav>ul {padding-top: 30px;}
.stellarnav ul ul{background: #fff;width: 215px;}
.stellarnav li a{color: #E9D837;}

/* 一般狀態 hover */
.stellarnav > ul > li > a:hover {
    color: #E9D837;
}

/* sticky 之後 hover 改白色 */
.sticky .stellarnav > ul > li > a:hover {
    color: #fff;
}

.stellarnav li.has-sub > a:after {
    position: absolute;
    top: 40%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}/*下拉線條箭頭*/

/*第二層*/
.stellarnav li li {    border: none;}
.stellarnav li li > a, .stellarnav li li.has-sub > a {
    padding: 10px 7px;
    transition: all 0.3s;
}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {
    color: #fff;
    padding-left: 10px;
    background: var(--logocolor01);
}

/*rwd*/

@media screen and (max-width: 1200px) {
.stellarnav > ul > li > a {
font-size: 16px;}
}

@media screen and (max-width: 1024px) {
    :root {
    --f60: 54px;
    --f54: 48px;
    --f48: 40px;
    --f42: 38px;
    --f40: 36px;
    --f36: 32px;
    --f32: 28px;
    --f28: 24px;
    --f24: 22px;
    --f22: 20px;
    --pd80:60px;
}

/*Header/＝＝＝＝＝*/
.pageIndex .header_area {    opacity: 1;position: sticky;}
.header_area {position: sticky;}
.navigation {
    display: flex;
    align-items: center;
}
.stellarnav ul {
    text-align: center;
}
.stellarnav li {padding-top: 10px;}
}


/*選單*/
@media screen and (max-width: 768px) {

/*側邊選單*/
    .stellarnav .menu-toggle:after {display: none;}
    .stellarnav .menu-toggle span.bars span {height: 1px;}
	.stellarnav.mobile > ul > li > a.dd-toggle{top: 15px;}
	.stellarnav.mobile > ul > li.open > a.dd-toggle{top: 5px;}
	.stellarnav a.dd-toggle .icon-plus:before,.stellarnav a.dd-toggle .icon-plus:after {border-bottom: solid 1px #777;}
	.stellarnav.mobile .close-menu{position: relative;color: transparent;}
	.stellarnav.mobile .close-menu > *{display: none;}
	.stellarnav.mobile .close-menu:before{content: "×";position: absolute;right: 10px;top: 10px;color: #000;
        font-size: 12px;}
    .stellarnav.mobile > ul > li > a b{vertical-align: middle;}
	.stellarnav .menu-toggle span.bars span {height: 2px;width: 28px;background: #E9D837;}
    .sticky .stellarnav .menu-toggle span.bars span {background: #fff;}/*sticky後白色*/
	.stellarnav .menu-toggle:after {font-weight: 600;color: #fff;}
	.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: transparent;}
	.stellarnav.mobile.left .close-menu {background: #E9D837;width: 32px;height: 32px;margin: 10px 10px 0 auto;
		border-radius: 10px;display: block;}
    .stellarnav.mobile .close-menu:before {font-size: 20px;top: 0;right: 0;display: block;width: 100%;height: 100%;
    	line-height: 30px;text-align: center;color: #fff;padding-left: 1px;}
    .stellarnav.mobile {left: 8px;top: 25px;}
    .stellarnav.mobile li.open {background: #f8f8f8;padding: 0;}
    .stellarnav.mobile li.open li.open {background: #f3f3f3;padding: 0;}
    .stellarnav.mobile li li.has-sub a {padding: 10px 15px;}
    .stellarnav.mobile li.has-sub li a {text-align: left;padding: 8px 15px;color: #E9D837;}
    .stellarnav.mobile li.has-sub li a.dd-toggle{right: 5px;}
    .stellarnav.mobile li.has-sub li a.dd-toggle:hover {padding-left: 0;text-align: center;background: transparent;}
    .stellarnav.mobile > ul > li {border-bottom: 1px #f6f5f5 solid;}
    .stellarnav.mobile > ul > li > a {color: #E9D837;}
    .stellarnav.mobile > ul > li > a.dd-toggle {top: 5px;}
    .stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after{width: 10px;}
    .stellarnav.mobile > ul > li > ul > li > ul ~ a.dd-toggle .icon-plus {margin: 0 auto;display: block;}
    .stellarnav li.has-sub li a:hover {background: #fff;color: #E9D837;}
}

@media screen and (max-width: 350px) {
    .stellarnav.mobile {
        top: 15px;
    }
}