@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}
*/

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; 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;}
}

/*電腦LOGO
.nav-brand {}
*/

.me_tp_features {
    display: none;
}
.header_area {
    background: #ffffff;
     box-shadow: 0 4px 4px rgb(0 0 0 / 12%);
     transition: 0.5s;
}
.header_area.sticky {
    background: #ffffff;
    padding: 5px;
}


/* 選單 */
.stellarnav > ul > li > a {
margin: 0 0 0 20px;
font-size: 19px;
font-family: "Noto Serif", serif;
    font-weight: 600;
    letter-spacing: 2px;
    color: #1d54a6;
    transition: .5s;
}
.stellarnav > ul > li:hover > a {
color: #049dd9;
transition: .5s;
}
.stellarnav li.has-sub > a:after {
    border-top: 6px solid #1d54a6;
    transition: .5s;
}
.stellarnav li.has-sub:hover > a:after {
    border-top: 6px solid #049dd9;
    transition: .5s;
}
/* 下拉 */
.stellarnav ul ul {
    left: 0;
    background: #1d54a6;
}
.stellarnav li a {
    color: #ffffff;
    font-size: 17px;
    font-family: "Noto Serif", serif;
    font-weight: 600;
    letter-spacing: 1px;
}
.stellarnav li li:hover a {
    background: #049dd9;
    transition: 0.5s;
}
 /*下拉頁面隱藏下方選單*/
body.other_select_page .promotion_title {
    display: none;}

body.other_select_page .other_promotion { display: none;}
/* footer */
.box_link {
  display: none;
}
.footer {background: #f9f9f900;}
.footer_logo {
  margin: auto;
}
.footer_logo img {
  width: 250px;
}
.footer_info {
  display: flex;
flex-direction: column;
  padding-right: 0;
}
.footer_info ul {
  display: flex;
  justify-content: center;
  gap: 130px;
}
.footer_info ul>li:before {
    display: block;
    margin: 0 0 20px;
    border-bottom: 1px solid #1d54a6;
    padding-bottom: 9px;
}
.footer_info li p, .footer_info li p a {
    color: #1d54a6;
    line-height: 135%;
    transition: all .3s;
    padding: 15px 0 0 0;
    font-weight: 600;
    font-size: 20px;
}
.footer_info li p:hover, .footer_info li p:hover a {
    color: #049dd9;
}
.footer_info li:nth-child(1):before {
    content: "Contact Us";
}
.footer_info li:nth-child(2):before {
    content: "Menu";
}
.footer_info li:nth-child(1):before, .footer_info li:nth-child(2):before {
    color: #1d54a6;
    font-size: 25px;
    font-weight: 700;
}
.footer_menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 6px;
}
.footer_menu a {
  color: #1d54a6;
  background: #ffffff00;
  border: 1px #ffffff00 solid;
  padding: 15px 0 0 0;
  margin: 0;
  font-weight: 600;
  font-size: 20px;
}
.footer_menu a:hover {
    background: #66666600;
    color: #049dd9;
}
.copy {
    padding: 2px 0;
    font-size: 13px;
    color: #ffffff;
    background: #1d54a6;
    border-top: 1px #dddddd00 solid;
}
.copy a {color: rgb(255, 255, 255);}
.copy a:hover {color: rgb(255, 255, 255);}

/* 商品下拉超過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個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.path p, .path p a{display: none;}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.banner {
    background: url(https://pic03.eapple.com.tw/supayro/banner.jpg);}
.banB {display: none;}

body.promotions_page .banA h5 { display: none;}
body.other_select_page .banA { display: none;}

body.promotions_page .banA {
    background: url(https://pic03.eapple.com.tw/supayro/banner02.jpg)
        center / cover no-repeat;
    width: 100%;
    height: 500px; 
}

@media screen and (max-width: 768px) {
    body.promotions_page .banA {
        background-image: url(https://pic03.eapple.com.tw/supayro/banner023.jpg);
        height: 400px;
    }
}



/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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;}
@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) {
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*促銷方案*/
.share_page .main_part,
.promotions_page .main_part {
     display: flex;
    flex-direction: column;
    width: 100%;
}

.share_page .other_promotion, .promotions_page .other_promotion {
    order: 1 !important;
    margin-top: 20px;
}

.share_page .show_content, .promotions_page .show_content {
    order: 2 !important;
    margin-top: 20px;
}
.show_content {
    margin: 0;
    padding: 10px 10px;
}
.other_promotion li {
    font-size: 13px;
    line-height: 10px;
    color: #666;
    display: block;
    margin: 0;
}

.other_promotion {
    list-style: none;
    display: grid;
    margin: 0;
    grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
    grid-gap: 15px;
}

.other_promotion li a {
    display: block;
    border: 1px #1d54a6 dashed;
    padding: 10px;
    margin: 0;
    position: relative;
      background-color: #18396b;
}



.other_promotion li a:after {
    content: '';
    display: block;
    position: absolute;
    right: -1px;
    bottom: -1px;
    z-index: 2;
    width: 15px;
    height: 15px;
    border: 1px #1d54a6 solid;
    border-top: none;
    border-left: none;
    transition: all .5s;
}
.other_promotion li a:before {
    content: '';
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    z-index: 1;
    width: 15px;
    height: 15px;
    border: 1px #1d54a6 solid;
    border-bottom: none;
    border-right: none;
    transition: all .5s;
}
.other_promotion .pmtTitle h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 10px 0 0 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 900;
}
/*隱藏時間*/
.other_promotion .pmtTitle span {
 display: none;   
}

.other_promotion .pmtTime {
    display: none;
}
.promotion_title span, .promotion_title em{display: none;}



/*hover*/
.other_promotion li a:hover {
    background: #83afc0;
    color: #1d54a6;
}

.other_promotion .pmtTitle h3:hover{color: #1d54a6;}


/*箭頭*/
.other_promotion li a {
    position: relative;
}

.other_promotion li a::after {
    content: "→";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 30px; /* 可自行調整 */
}

.other_promotion li a:hover {
    background: #83afc0;
    color: #1d54a6;
}

.other_promotion li a:hover::after {
    opacity: 1;
}



/*下方內文*/
.promotion_title h2 {
    font-size: 30px;
    color: #1d54a6;
    font-weight: 900;
}



@media screen and (max-width: 768px) {
.share_page .other_promotion, .promotions_page .other_promotion {

    grid-template-columns: inherit;
}
.share_page .main_part, .promotions_page .main_part {

    margin-top: -80px;
}

}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*相簿*/
.subalbum-menu h2 {
    font-size: 36px;
    color: #1d54a6;
    display: inline-block;
    vertical-align: middle;
}

.other_subalbum li a p {
    line-height: 2;
    font-size: 24px;
    font-weight: 800;
}



/*相簿內層*/
.pic-list .item h6 {
    font-size: 16px;
    color: #666;
    padding: 5px;
    text-align: center;
}



/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*首頁-文章管理*/
.module_i_news li {
    display: block;
    text-align: left;
    border-radius: 10px;
    border: 1px solid #049dd9;
}
.module_i_news .title_i_box h4 {
    font-size: 40px;
    color: #1d54a6;
    font-weight: 900;
}
.module_i_news li a:after {   
     content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 8;
    background:#afafaf99;
    opacity: 0;
    border: 0px #3d3938 solid;
    border-radius:10px}
.module_i_news li a:before{
    content: 'READ MORE';
    position: absolute;
    z-index: 19;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    text-align: center;
    font-size: 15px;
    color: #261b19;
    transition: all .6s;}
 
.module_i_news ul {
    list-style: none;
    display: block;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 20px;
}    

.module_i_news .title_i_box {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
}
.module_i_news li a {
    position: relative;
    display: flex;
    grid-template-columns: 200px 1fr;
    grid-gap: 10px;
    flex-direction: column;
}
.i_blog_ri h5 {
    font-weight: 900;
    font-size: 28px;
    color: #1d54a6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}
.i_blog_le img { border-radius: 10px;}
.i_blog_ri {
    display: block;
    vertical-align: top;
    padding: 15px;
    width: 100%;
}

/*文章-內頁*/
.blog_list_ri p {
    font-size: 15px;
    color: #333;
    line-height: 130%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    word-break: break-all;}
.blog_subbox {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        grid-gap: 20px;
    }
 .subbox_item a {
        display: flex;
        grid-template-columns: 160px 1fr;
        position: relative;
        grid-gap: 20px;
        flex-direction: column;}




.blog_back a.article_btn_back {
    background: #1d54a6;
}

.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {
    background: #1d54a6 !important;
}

.blog_list_ri h5 {
    font-weight: 900;
    font-size: 22px;
    color: #1d54a6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*聯絡我們*/

.contact_form li.last cite {
    background: #1d54a6;
    color: #fff;
}
body.contact_page .main_part {
  max-width: 1600px;
}
.contact_content .information_left {
    width: 100%;
}
.info_TEL:before,.info_PHONE:before,.info_LINE:before,.info_ADD:before {
    font-size: 20px;
    width: 30%;
    padding-left: 5px;
}

/*隱藏表單*/
.contact_content .information_right {
  display: none;
}

/**/
body.contact_page .blank_letter {
    position: relative;
    font-family: 'Josefin Sans', 'sans-serif', '微軟正黑體';
    padding: 10px;
    font-size: 26px;
    color: #ffffff;
    background-color: #1d54a6;
    border-radius: 30px;
    width: 10em;
    text-align: center;
    margin: 0 auto; /* 讓框框置中 */
    z-index: 1;
}

body.contact_page .blank_letter::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 2px;
    background-color: #1d54a6;
    z-index: -1;     /* 線在框框後面 */
}



.list_before.info li {
    padding-left: 60px;
    font-size: 20px;
    background-color: #C9E0E9;
    border-radius: 10px;
}
.list_before li {
    margin: 10px 0;
    position: relative;
    line-height: 2;
}

@media screen and (max-width: 800px) {

body.contact_page .blank_letter::after {

    width: 100%;

}
.list_before.info li {

    font-size: 18px;

}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.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; } 取消連結被點擊效果
*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*按鈕*/
.animated-arrow {
    background: #1d54a6;
    color: #fff;
    display: inline-block;
    margin-top: 20px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    width: 250px;
    text-align: center;
    position: relative;
    border-radius: 20px;
}

.lastPage {
    font-size: 16px;
    color: #fff;
    background: #1d54a6;
    padding: 10px 20px;
    display: block;
    margin: 40px auto;
    width: 130px;
    text-align: center;
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */





@media screen and (max-width: 768px) {


.stellarnav.mobile li a {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    color: #1d54a6;
}

/* 開啟手機板下方按鈕所需設定 */

.footer.with_shopping_mode { padding:30px 0 55px; }
#to_top { bottom:60px;}

.footer_info {
    display: flex;
    flex-direction: column;
    padding-right: 0;
}
.footer_info ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-direction: column;
}
.footer_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 6px;
}
/*表單*/
                .contact_form li .form__label {
                    width: 100%;
                    margin-left: 0;
                    text-align: left;
                    font-weight: bold;
                    padding: 5px;
                    background: #C9E0E9;
                    border-radius: 10px;

}
}
@media screen and (max-width: 600px) { 
}


