@charset "utf-8";

/*
關於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 {}
*/

/*手機LOGO
.nav-brand-m {}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:static; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.swiper-slide img { height:auto;}
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}

/*大圖*/
#content_main {
    margin: 0;
}

.bannerindex {
    position: relative;
    height: auto;
    top: 0;
    left: 0;
    height: calc(100% -120px);
    max-width: 100%;
    width: 97%;
    margin: 0 auto;
    margin-top: 0;
    border-radius: 2rem;
    overflow: hidden;
}

.swiper-banner {
    position: static;
    margin: 0;
    height: auto;
}


.swiper-slide {
    padding: 0px !important;
}

.swiper-slide img {
    height: auto;
}

.swiper-pagination {
    display: none;
}

.swiper-slide {
    position: relative;
}

.bannerindex .swiper-slide.swiper-slide-active:before {
    content: "";
    position: absolute;
    z-index: 999;
    pointer-events: none;
}

.bannerindex .swiper-slide.swiper-slide-active:after {
    content: "";
    position: absolute;
    z-index: 999;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: 0;
    }
}


/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
    .bannerindex {
        padding: 0;
        margin: auto;
    }
}

/*BANNER下方導覽隱藏*/
.path p,
.path p a {
    text-align: right;
    line-height: 24px;
    font-size: 13px;
    color: #666;
    
	
	display: none;
}

.bannerindex .swiper-slide.swiper-slide-active:nth-child(1) {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*第一張大圖*/
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before {
    background: url(https://pic03.eapple.com.tw/dkoh/index_text001.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 26% !important;
    height: 40% !important;
    background-position: right;
    padding-bottom: calc(100% / 1* 0.12);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before {
   animation: scale-up-center 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

 
@keyframes scale-up-center {
    0% {
      -webkit-transform: scale(0.5);
              transform: scale(0.5);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1)::after {
    content: "";
    display: block;
    width: 35%;
    height: 35%;
    border-radius: 10px;
    background-color: #ffffffd9;
    animation: scale-up-hor-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    z-index: 0;
}

@keyframes scale-up-hor-center {
    0% {
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
    }

    100% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

/*第二張大圖*/
.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):before {
    background: url(https://pic03.eapple.com.tw/dkoh/index_text002.png);
     background-size: contain;
    background-repeat: no-repeat;
    bottom: 12%;
    left: 2%;
    width: 27% !important;
    height: 20% !important;
    background-position: right;
    padding-bottom: calc(100% / 1* 0.12);
    transform: translateX(0) ;
}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):before {
    animation: slide-right 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes slide-right {
    0% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    100% {
      -webkit-transform: translateX(50px);
              transform: translateX(50px);
    }
  }
  
@media screen and (max-width: 600px) { 

    .bannerindex .swiper-slide img { display:none; }
    .bannerindex .swiper-slide {height: 130vw;  width: 100% !important; }
/*第一張大圖*/
    .bannerindex .swiper-slide:nth-child(1) { background-image: url(https://pic03.eapple.com.tw/dkoh/index_cellphone001.jpg); background-position: top; background-size:cover;}
    
	
	.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before {
        width: 50% !important;
        height: 50% !important;
    }
    .bannerindex .swiper-slide.swiper-slide-active:nth-child(1)::after {
        width: 60%;
        height: 20%;
    }
    
/*第二張大圖*/
    .bannerindex .swiper-slide:nth-child(2) { background-image: url(https://pic03.eapple.com.tw/dkoh/index_cellphone002.jpg); background-position: top; background-size:cover;}
	.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):before {
	bottom: 8%;
	left: 2%;
	width: 50% !important;
    height: 40% !important;
    }

}


/*首頁*/
.pageIndex .header_area {
    position: sticky;
    width: 100%;
    background: #ffffff;
}

.pageIndex .navigation {
    width: 100%;
    position: relative;
    padding: 20px;
    display: flex;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    transition: all 1s;
}

.pageIndex .header_area.sticky .navigation {
    width: 100%;
    position: relative;
    padding: 0;
    display: flex;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
}

/*Header*/
.header_area {
    position: sticky;
    z-index: 9999;
    padding: 0px;
    background: #ffffff;
    width: 100%;
    transition: all 2s;
}

.header_area.sticky {
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 4px 2px 10px 0px #2f2f2fad;
}

.main_header_area .container {
    max-width: 95%;
    margin: auto;
}

.navigation {
    width: 100%;
    position: relative;
    padding: 20px;
    display: flex;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
}

.nav-header {
    max-width: 160px;}

.nav-brand {
    display: block;
    max-width: 100%;
    margin: 10px auto;
}

.stellarnav ul {
    margin: 0;
    padding: 0;
    text-align: right;
}

.stellarnav li {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0px;
    position: relative;
    line-height: normal;
    vertical-align: middle;
    text-align: left;
    height: auto;
}

.stellarnav>ul>li>a {
    color: #4d4d4d;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    height: 15px;
    margin: 0;
    padding: 0px 25px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    border-right: 2px solid #ddd;
}


.stellarnav li li :hover {
background: #b4cee4;
    color: #005ba5;
    font-weight: 500;
    font-size: 15px;
    transition: .5s;
}
.stellarnav > ul > li.has-sub > a {
    padding-right: 25px;
}
.stellarnav li.has-sub>a:after {
    content: '+';
    margin-left: 10px;
    border-left: unset !important;
    border-bottom: unset!important;
    border-top: unset!important;
    display: inline-block;
    position: absolute;
    color: #4d4d4d;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
}

.stellarnav li.has-sub:hover>a:after {
    display: none;
}

.stellarnav>ul>li>a:hover {
    color: #005ea2;
    transition: all 0.5s;
}
.me_tp_features{display:none;}


/*footer*/
.box_link{display:none;}
.footer_logo img{width: 160px;}
.footer_menu a{color: #888;
    width: 80px;
	border: 0px #ccc solid;
    text-align: center;
    background: #f9f9f9;
	    border-left: 1px #ccc solid;
		}
.footer_menu a:hover {
    background: #f9f9f9;
    color: #025aa3;
}
.footer_logo{    margin-top: 10px;}
.footer_info ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
}
.footer_info li:nth-child(1) {
    display: grid;
}
.copy{color: #fff;
    background: #bfae89;}
.copy a{color: #fff;}

/*其他頁面*/
.other_promotion li a{    display: none;}

/*文章*/
.blog_back a.article_btn_next {
    background: #015ea8;
}
.blog_back a.article_btn_prev {
    background: #015ea8;
}
.blog_back a.article_btn_back {
    background: #a4915c;
}
.lastPage{background: #a4915c;}
.blog_le .accordion > li:hover .link a, .blog_le .accordion > li.on_this_category .link a {
    color: #fff !important;
    background: #a4915c;
}
.articel_mainPic img{display:none;}

/*聯絡我們*/
.contact_content .information_left{display:none;}
.contact_content .information_left{display:none;}

.contact_content .information_right {
    width: 100%;
    padding-left: 0;
	padding:10px;
}
.contact_content{    max-width: 1400px;}
.blank_letter{font-size: 25px;
    color: #222;}

.contact_page h4.blank_letter.f:after {
    content: "歡迎您與我們聯繫，我們會盡快回復您";
    position: absolute;
    left: 10px;
    font-size: 16px;
    top: 85px;
    color: var(--tccolor);
    font-weight: 500;
    letter-spacing: 2px;
    color: #666;
}
.contact_page ul.contact_form.form {
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 15px 20px;
    align-items: start;
    padding: 0px;
    margin-top: 60px;
}
.contact_form li .form__label{    max-width: 100%;
    text-align: left;}
.contact_page ul.contact_form.form li {
    grid-template-columns: 1fr;
    grid-column: auto / span 4;
    grid-gap: 5px;
}
.contact_form li:nth-last-of-type(2), .contact_form li:nth-last-of-type(1){
    grid-column: auto / span 8 !important;
}
.contact_editbox{    padding: 0;}
@media screen and (max-width: 500px) { 
.contact_form {
        display: block;}
.contact_form li .form__label{background: rgb(247 244 238);}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
    background: url(https://pic03.eapple.com.tw/dkoh/banner_bg002.jpg) no-repeat;
    height: 400px;
    position: relative;
    background-position: center !important;
    background-size: cover !important;
}
.banner h5 {
    display: block;
    position: absolute;
    transform: translate(-50px, -50px);
    top: 50%;
    left: 50%;
    letter-spacing: 3px;
    filter: drop-shadow(2px 2px 3px #fff);
}
.banner h5:before {
    display: block;
    max-width: 100%;
    font-size: 15px;
    margin: 5px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 80%;
    font-weight: normal;
}
body.other_select_page .banner{display:none;}
.banner.banblog h5:before { content: "News";}
.banner.banB {}
.banner.banC {background: url(https://pic03.eapple.com.tw/dkoh/banner_bg003.jpg) no-repeat;
    height: 400px;
    position: relative;
    background-position: center !important;
    background-size: cover !important;
}
.banner.banC h5:before { content: "Contact";}
.banner.banD {}
.banner.banE {}
.banner.banblog {}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬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;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.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 screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
.pageIndex .navigation{justify-content: center;padding: 0px;}
.nav-header {
    max-width: 120px;  
}
.header_area{    padding: 15px;}
}

@media screen and (max-width: 600px) { 
}




