@import url("reset.css");
*{
  margin:0;
  padding:0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  font-family: "Noto Sans TC", sans-serif,"Microsoft JhengHei","Heiti TC","sans-serif" !important;
}

img { border: 0; width: 100%; height: auto; }

html,body{
    width: 100%;
    height: 100%;
}
a{
  text-decoration: none;
}
a:hover{
  text-decoration: none;
}
ol, ul {
    list-style: none;}

/* header */
header > nav{
    width: 1200px;
    height: 50px;
    margin: 0 auto;
}

header > nav > a{
    line-height: 50px;
    color: #333;
    font-size: 14px;
    float: left;
}   

header > nav > a > img{
    width: 250px;
    padding: 12px 0 12px 5px;
} 

header > nav > div{
    color: #333;
    font-size: 14px;
    float: right;
    padding-left: 20px;
}

header > nav > div > a{
    display: block;
    line-height: 50px;
    padding: 0 10px;
    float: left;
    font-weight: bold;
    color: #333;
}

header > nav > div > a:hover{
    color: #00a19b;
}


@media screen and (max-width: 1024px) {

    header > nav > a > img{
        padding: 12px 0 12px 5px;
    }
}

@media screen and (max-width: 640px) {
    header > nav > div{
        clear: both;
        float: none;
        padding-left: 0;
    }

    header > nav > div > a{
        width: 50%;
        text-align: center;
    }
}
/* h1 */
.seo-h1{
height: 0;
width: 0;
padding: 0;
margin: 0;
transform: scale(0);
}
/* h2 */
h2{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 60px 5px 40px 5px;
}
.h2-em{
  font-style: normal;
  font-size: 17px;
  color: #009973;
}
/*共用按鈕*/
.btn-body{
  width: 100%;
  display: flex;
}
/*主要按鈕*/
.btn {
  width: 100%;
  max-width: 140px;
  height: 4.0625rem;
  border-radius: 4px;
  color: #ffffff;
  background-color: #00a19b;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  -ms-flex-pack: center;
  text-decoration: none !important;
  border: none;
  margin: 8px;
  text-align: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
/*次要按鈕*/
.btnLine {
    width: 100%;
    max-width: 140px;
    height: 4.0625rem;
    border-radius: 4px;
    text-align: center;
    border: solid 1px #00a19b;
    color: #00a19b;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    margin: 8px;
    text-decoration: none;
}

.btnLine:hover {
    opacity: 0.7;
}

.btnLine:disabled {
    background: #acacac;
    color: #ffffff;
    border: none;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .btnLine {
        max-width: 8.75rem;
    }
}
/*主視覺*/
.KV-PC{
  width: 100%;
  margin-top: 40px;
  display: block;
}
.KV-M{
  width: 100%;
  margin-top: 40px;
  display: none;
}
@media(max-width:700px){
.KV-PC{
  display: none;
}
.KV-M{
  display: block;
}
}
/*購車信貸方案選擇*/
.cass-body{
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cass-content{
  width: 50%;
  position: relative;
  overflow: hidden;
}
.cass-img{
    width: 100%;
    height: 400px;
    object-fit: cover;        /* 圖片適配方式 */
    object-position: center;  /* 裁切焦點位置 */
}
.cass-content:hover .cass-img {
  transform: scale(1.05);
  transition: 0.8s;
}
.cass-text{
  padding: 0px 10px;
  color: #ffffff;
  position: absolute;
  top: 30%;
  left: 12%;
}
.cass-text h3{
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 1px 1px 5px #000;
}
.cass-text p{
  font-size: 17px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 5px #000;
}
.cass-btn{
  width: 140px;
  height: 45px;
  background-color: #ffffff;
  border-radius:4px;
  font-size:16px;
  color: #2b2b2b;
  padding: 11px 38px;
  font-weight: 400;
  box-shadow: 0px 0px 5px #000;
}
.cass-btn a{
  color: #2b2b2b;
}
.cass-btn:hover{
  opacity: 0.75;
  transition: 0.8s;
}
@media(max-width:700px){
  .cass-content{
  width: 100%;
}
.cass-img{
    height: 300px;
}
.cass-text{
  top: 22%;
  left: 8%;
}
}
/*頁籤*/
.tab {
    width: 98%;
    max-width: 2000px;
    margin: 0 auto;
    overflow: hidden;
}
.tab .uk-switcher {
    background-image: linear-gradient(to bottom, #efefef,#fff,#e6e6e6);
    border-radius: 0px;
    padding-bottom: 40px;
}
.uk-tab {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
}
.uk-tab > li {
    display: inline-block !important;
    padding-left: 0;
    position: relative;
}
.three-tab li{
    width: calc(100% / 3);
}
.five-tab li{
    width: calc(100% / 5);
}
.six-tab li{
    width: calc(100% / 6);
}
.uk-tab > li a {
    font-size: 18px;
}
.uk-tab > .uk-active::after {
    content: "";
    width: 100%;
    height: 4px;
    background: #00a19b;
    border-radius: 10px;
    display: block;
    position: absolute;
    bottom: -4px;
    right: 0;
}
.uk-tab > .uk-active > a {
    color: #00a19b;
    font-weight: bold;
    padding-bottom: 16px;
    border: 0;
}
.uk-tab::before {
    display: none;
}
/* 底部的灰色軌道條 */
.uk-tab::after {
    content: "";
    bottom: 0;
    left: 20px;
    right: 0;
    width: 100%;
    height: 4px;
    background: #E1EFEF;
    border-radius: 10px;
    position: static;
}
/* --- 手機版樣式 (max-width: 500px) --- */
@media(max-width:500px){

    /* 1. 解除電腦版的寬度限制 */
    .six-tab , .five-tab {
        max-width: 100%;
        border: none; /* 避免 UIkit 預設邊框干擾 */
    }

    /* 2. 將滑動容器設為定位基準點 */
    .six-tab ,.five-tab {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;       /* 允許左右滑動 */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0 10px 0;   /* 下方留空間給底線，避免被滾動條遮擋 */
        list-style: none;
        position: relative;    /* 關鍵：讓子元素的絕對定位以此為準 */
        margin-bottom: -10px;  /* 抵銷 padding-bottom 增加的高度 */
    }

    .six-tab::-webkit-scrollbar {
        display: none;
    }
    .five-tab::-webkit-scrollbar {
        display: none;
    }
    .six-tab li {
        flex: 0 0 100px !important;
        width: 100px !important;
        text-align: center;
    }
    .five-tab li {
        flex: 0 0 100px !important;
        width: 100px !important;
        text-align: center;
    }
    /* 3. 將原本在 ul 的灰色軌道移到 li 上，這樣才會跟著捲動 */
    .six-tab li::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #E1EFEF; /* 灰色軌道 */
        border-radius: 10px;
        z-index: 1;
    }
    .five-tab li::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #E1EFEF; /* 灰色軌道 */
        border-radius: 10px;
        z-index: 1;
    }
    /* 4. 手機版選中的綠色標線 (絕對定位在 li 裡面) */
    .six-tab > .uk-active::after {
        content: "";
        width: 100%;
        height: 4px;
        background: #009973 !important;
        border-radius: 10px;
        display: block;
        position: absolute;
        bottom: 0; /* 對齊 li 的底部 */
        left: 0;
        z-index: 2; /* 在灰色軌道之上 */
    }
    .five-tab > .uk-active::after {
        content: "";
        width: 100%;
        height: 4px;
        background: #009973 !important;
        border-radius: 10px;
        display: block;
        position: absolute;
        bottom: 0; /* 對齊 li 的底部 */
        left: 0;
        z-index: 2; /* 在灰色軌道之上 */
    }
    /* 手機版隱藏原本在 .uk-tab 上的線條 */
    .six-tab::after {
        display: none;
    }
    .five-tab::after {
        display: none;
    }
}
/*不限品牌*/
.event-date{
  width: 90%;
  margin: 0 auto;
  text-align: center;
  color: #2b2b2b;
  font-size: 16px;
  display: block;
  padding-bottom: 20px;
  padding-top: 30px;
  border-bottom: 1px solid #aaa;
}
.no-brand-event{
  width: 100%;
  margin: 0 auto;
  padding: 50px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.no-brand-img{
  width: 40%;
  max-width: 500px;
  margin-right: 40px;
}
.no-brand-text{
  max-width: 592px;
  font-size: 18px;
  letter-spacing: 1px;
}
.no-brand-text p{
  padding-left: 10px;
}
.no-brand-text ol li{
  list-style-type: disc;
  padding-bottom: 10px;
}
.no-brand-text ul li{
  list-style-type: decimal;
}
.mochi-text ol li{
  padding-bottom: 0px;
}
.mochi-a{
  text-decoration: underline;
}
.no-brand-event .btn-body{
  margin-top: 20px;
}
.emp-color{
  color: #ff600f;;
  font-style: normal;
}
.emp-size{
  font-size: 22px;
  font-weight: 600;
  color: #ff600f;;
  font-style: normal;
}
.small-gray{
  font-size: 16px;
  color: #6a6a6a;
  font-style: normal;
}
.mochi-tittle{
  font-size: 22px;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
}
@media(max-width:700px){
  .no-brand-img{
  width: 90%;
  margin: 0 auto;
}
.no-brand-text{
  width: 90%;
  padding-top: 30px;
}
}
/*注意事項*/
.textarea{
	width:100%;
  max-width: 1600px;
	margin: 0 auto;
	color:#2b2b2b;
}
.textarea-head{
	overflow:hidden;
	padding:15px;
  text-align: center;
  position: relative;
  padding-right: 34px;
  
}
.textarea-head:before,
.textarea-head:after {
  content: "";
  position: absolute;
  top: 50%;
  background: #aaa;
  width: 35%;
  height: 1px;
}
.textarea-head:before {
  left: 5%; 
}
.textarea-head:after {
  right: 5%;
}
.textarea-head:hover{
	cursor: pointer;
}

.textarea-head-l{
	font-size: 20px;
	color: #4d4d4d;
	font-weight: bold;
  display: inline-block;
  padding-right: 10px;
	}
	
.textarea-head-r{
  display: inline-block;
	font-size: 0px;
  background-color: #4d4d4d;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  position: absolute;
  top: 18px;
  margin-right: 10px;
	}
.textarea-head-r img:before,
.textarea-head-r img:after,{
  height: 0px;
}
.textarea-head-r img{
	width: 12px;
	padding: 12px 0px;
	}
.textarea-body{
	position:relative;
	overflow: hidden;
	}

.textfooter{
background-image: linear-gradient(180deg,hsla(0, 0%, 100%, 0),#ffffff 90%);
  bottom: 0;
  content: "";
  display: block;
  height: 165px;
  left: 0;
  position: absolute;
  width: 100%;
	}

.textarea-body.yes .textfooter{
	display:none;
}

.yes .textbody{
	height:auto;
	transition-duration: 0.5s;
  padding-top: 5px;
	}
.textarea-head-r.roate{
	transform:rotate(180deg);
	transition-duration: 0.5s;
}	
.textbody{
	box-sizing:border-box;
	height:100px;
	padding:5px 60px 15px 60px;
	padding-bottom:50px;
	transition:0.5s;
	}
.notice_content{
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}
.notice_content ul{
  list-style-type: decimal;
}
.notice_content ol{
  text-indent: -26px;
}
.notice_content a{
  text-decoration: underline;
}
.notice_content em{
  font-style: normal;
  color: #e43f36;
}
@media(max-width:680px){
.textarea-head:before,
.textarea-head:after {
  content: "";
  position: absolute;
  top: 50%;
  background: #aaa;
  width: 25%;
  height: 1px;
}
.textarea-head:before {
  left: 5%; 
}
.textarea-head:after {
  right: 5%;
}
.textbody{
	padding:5px 15px 15px 15px;
	}
}
.small-ul {
    list-style: none !important;
    padding-left: 0; 
    counter-reset: legal-counter; 
}

.small-li {
    counter-increment: legal-counter; 
    position: relative;
    padding-left: 26px;
    line-height: 1.6;
}

.small-li::before {
    content: "(" counter(legal-counter) ") "; /* 自動產生帶小括號的編號 */
    position: absolute;
    left: 0;
    top: 0;
}
/*玉山卡獨享禮遇*/
/*加油天天省*/
.oil-body{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.oil-content{
  margin: 20px 30px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.oil-content img{
  width: 130px;
  margin-right: 20px;
}
.oil-text{
  font-size: 18px;
}
.oil-tittle{
  font-size: 22px;
  font-weight: 600;
}
.card-btn{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: block;
}
.card-btn .btn{
  margin: 0 auto;
  margin-bottom: 50px;
}
.esun-card-banner{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.card-event-text{
  width: 50%;
}
.card-tittle{
  color: #00a19b;
}
@media(max-width:1082px){
  .oil-body{
  justify-content:center;
}
}
@media(max-width:700px){
  .card-event-text{
  width: 90%;
}
}
@media(max-width:500px){
  .oil-content img{
  width: 120px;
}
.oil-content{
  margin: 15px 20px;
}
.oil-body{
  padding-top: 30px;
  padding-bottom: 20px;
}
}
/*汽車保修*/
.fix-body{
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.fix-content{
  width: 500px;
  background-color: #ffffff;
  padding-bottom: 20px;
  box-shadow: 2px 2px 10px #6c6c6c18;
  margin-bottom: 50px;
}
.fix-tittle{
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}
.fix-text{
  padding: 20px 40px;
  font-size: 18px;
}
.fix-word{
  height: 120px;
}
.fix-btn-body{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  margin-top: 30px;
}
.fix-btn-body .btn{
  margin: 0 auto;
  height: 40px;
}
.fix-ul{
  list-style-type: disc;
  padding-left: 20px;
}
@media(max-width:1020px){
  .fix-body{
  justify-content: center;
}
.fix-content{
  width: 90%;
}
}
@media(max-width:670px){
.fix-content{
  width: 90%;
}
  .fix-word{
  height: auto;
}
.fix-body{
  padding-top: 20px;
}
}
/*etag*/
.etag-notice{
  font-size: 16px; 
  font-weight: 300;
  color: #717171;
}
.etag-notice li{
  padding-bottom: 0px !important;
}
/*FAQ*/
.faq_main{
    flex: 1;
}
.FAQ-h2{
  margin-top: 100px
}
.faq {
  background:;
  background-size: cover;
  background-position: center;
  padding: 0px 0; 
  margin-bottom: 100px;
  margin-top: 30px;
}

.faq .qa-section {
  max-width: 1100px;
  cursor: pointer;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border:0.65px solid #d9d9d9;
}

.faq .qa-section p {
  text-align: left;
  font-size: 16px;
  line-height: 28px;
  margin: 0; 
}

.faq .qa-section p span {
  display: block;
  font-size: 16px; 
}

.faq .qa-section .answer {
  background-color: #dfeceb61;
  padding: 20px 30px;
  display: none; 
}
.faq .qa-section .answer a {
    color: #00a19b;
text-decoration: underline; }

.faq .qa-section .answer ul {
  padding:10px 40px 20px 40px ;
  line-height: 24px; }
.faq .qa-section .answer ol {
  padding-left: 54px;
  line-height: 28px;
  font-size: 16px;
  margin-bottom: 0; 
}

.faq .qa-section h3 {
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  position: relative; 
  margin-bottom: 0px;
  color: #414040;
  padding: 20px 0px;
  margin-left: 30px;
  letter-spacing: 1px;
}

.faq .qa-section h3 span {
  color: #333333; 
}

.faq .qa-section .open {
  width: 35px;
  float: right;
  padding-right: 20px;
  font-size: 22px;
}

.faq .active-qa h3 {
  padding: 20px 0px;
  color: #00a19b;
}
.faq .active-qa h3 span{
  color: #00a19b;
}

.faq .main-title h2 img {
  display: inline-block;
  width: 30px;
  vertical-align: middle;
  margin-bottom: 2px;
  margin-right: 5px; 
}

.faq .qa-section .answer ul {
  padding:10px 15px 20px 15px ; 
}

.faq .qa-section .answer ol {
  padding-left: 0px; 
}

/* 針對新增的 FAQ-footerwarning 進行黏性底部設定 */
.FAQ-footerwarning {
    margin-top: auto; /* 當內容不足時，自動將上方空間填滿，壓在底部 */
    width: 100%;
    box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .faq .qa-section {
    text-align: left;
  }
  .faq .qa-section p {
    padding-left: 0px;
    font-size: 14px; 
    text-align: left;
  }
  .faq .qa-section h3 {
    font-size: 16px;
    text-align: left;
    line-height: 28px;
    text-align: left; 
  }
  .faq .qa-section .answer {
    padding-right: 30px;
  }
}

@media(max-width:540px){
    .faq .qa-section h3 {
    padding-right: 40px;
    position: relative;
  }
  .faq .qa-section .open {
  position: absolute;
  right: -5px;
  top: 25%;
}
}

@media screen and (max-width: 420px) {
  .faq .qa-section h3 {
    padding-right: 40px;
  }
  .faq .qa-section .answer {
    padding-right: 20px;
    text-align: justify;
  }
}


/* ==========================================================================
  社群分享按鈕
   ========================================================================== */
/* 全局遮罩外框 */
.share-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999; /* 確保疊在網頁最上層，包括導覽列 */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 手機版預設靠底 */
  visibility: hidden; /* 預設完全隱藏（不影響點擊） */
  transition: visibility 0.3s ease;
}

/* 黑色半透明背景襯底 */
.share-sheet-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* 預設透明 */
  transition: background-color 0.3s ease;
}

/* 彈出面板本體 (電腦版預設樣式：優雅的置中彈窗) */
.share-sheet-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  border-radius: 16px 16px 16px 16px;
  padding: 30px;
  box-sizing: border-box;
  margin-bottom: auto; /* 電報版垂直置中 */
  margin-top: auto;   /* 電報版垂直置中 */
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  
  /* 動態核心：電腦版預設用「縮放與淡入」登場 */
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* 當激活狀態時 (.active) 的轉場效果 */
.share-sheet-overlay.active {
  visibility: visible;
}
.share-sheet-overlay.active .share-sheet-bg {
  background-color: rgba(0, 0, 0, 0.5); /* 背景變半透明黑 */
}
.share-sheet-overlay.active .share-sheet-content {
  transform: scale(1);
  opacity: 1;
}

/* 裝飾線條與標題 */
.share-sheet-drag-handle {
  display: none; /* 電腦版不顯示 */
}

.share-sheet-title {
  font-size: 20px;
  color: #2F2F2F;
  font-weight: 500;
  text-align: center;
  margin: 0 0 25px 0;
}

/* 四個選項的 Grid 網格排版 */
.share-options-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.share-option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: 1;
  outline: none;
}

/* 圖示外圈圓圈 */
.share-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.share-option-item:hover .share-icon-wrap {
  transform: scale(1.08); /* 滑鼠懸庭微微放大 */
}

.share-icon-wrap img {
  width: 100%;
  height: auto;
}

.share-text {
  font-size: 14px;
  color: #5f6368;
  font-weight: 500;
}

/* 取消按鈕 */
.share-sheet-close {
  width: 100%;
  padding: 12px 0;
  background-color: #f1f3f4;
  color: #5f6368;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.share-sheet-close:hover {
  background-color: #e8eaed;
}

/* ==========================================================================
   RWD 手機版斷點變形 (768px 以下)：100% 轉為從頁面底部滑出的面板
   ========================================================================== */
@media (max-width: 768px) {
  .share-sheet-overlay {
    align-items: flex-end; /* 強制靠螢幕最底端 */
  }
  
  .share-sheet-content {
    max-width: 100%;
    border-radius: 20px 20px 0 0; /* 只留上方圓角 */
    padding: 20px 20px 30px 20px;
    margin-bottom: 0; /* 緊貼底部 */
    margin-top: 0;
    
    /* 核心變形：手機版改為從螢幕下方 100% 的位置往上滑入 */
    transform: translateY(100%);
    opacity: 1; /* 手機版不需要淡入，靠滑動即可 */
    transition: transform 0.35s cubic-bezier(0.15, 1, 0.3, 1);
  }
  
  /* 激活狀態覆寫 */
  .share-sheet-overlay.active .share-sheet-content {
    transform: translateY(0); /* 回歸原位，即滑出畫面 */
  }
  
  /* 手機版上方的拉條裝飾 */
  .share-sheet-drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    background-color: #e8eaed;
    border-radius: 2px;
    margin: 0 auto 15px auto;
  }
  
  .share-sheet-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .share-icon-wrap {
    width: 54px;
    height: 54px;
  }
}
