@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;}
*/

body.pageIndex:before {
    content: ' ';
    position: fixed;
    z-index: 999999991;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    animation: fadein 6s forwards;
}

@keyframes fadein {
    50% {
        opacity: 1;
    }

    60% {
        pointer-events: auto;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

body.pageIndex:after {
    content: ' ';
    position: fixed;
    z-index: 999999999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/senxidesign/open_logo.svg) center / cover no-repeat;
    animation: fadeease 6s forwards;
}

@keyframes fadeease {
    0% {
        opacity: 0;
    }

    45% {
        opacity: 1;
    }

    60% {
        opacity: 0;
        pointer-events: auto;
    }

    100% {
        opacity: 0;
        pointer-events: none;
    }
}

.bannerindex .swiper-wrapper>.swiper-slide:after {
    content: " ";
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://pic03.eapple.com.tw/senxidesign/slo_01.svg) center/cover no-repeat;
    filter: drop-shadow(2px 4px 10px black);
}

/*
.swiper-wrapper>.swiper-slide:last-of-type:after {
    content: " ";
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://pic03.eapple.com.tw/senxidesign/slo_02.svg);
    background-size: cover;
}*/

/*主選單*/

.navigation {
    display: flex;
    align-items: center;
}

.nav-header {
    max-width: 140px;
    padding: 8px 0;
    transition: all ease 0.3s;
}

.sticky .nav-header {
    max-width: 120px;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.header_area,
.header_area.sticky {
    background: #fff;
    padding: 0;
    transition: all ease 0.3s;
}

.main_header_area .container {
    max-width: 1400px;
    padding: 0 5%;
}

.stellarnav ul {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    font-size: 14px;
    padding: 0 2px;
    color: #666;
    display: block;
    font-weight: 500;
    margin: 0 10px;
    text-transform: none;
    height: 100%;
    line-height: 72px;
    transition: all ease 0.3s;
}

.sticky .stellarnav>ul>li>a,
.sticky .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    line-height: 66px;
}

.stellarnav>ul>li:hover>a,
.stellarnav>ul>li.has-sub:hover>a:not(.dd-toggle) {
    color: #9c968c;
}

.me_tp_features,
.swiper-pagination {
    display: none;
}

/*次分類*/
.stellarnav ul ul {
    background: transparent;
    animation: navi 0.3s;
    border: 1px solid #f2f2f2;
}

.stellarnav>ul>li>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes navi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.stellarnav li li {
    text-align: center;
    background: #fff;
    border: none;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 0;
    transition: all ease .3s;
}

.stellarnav li li:hover {
    background: #fbfbfa;
}

.stellarnav li li:last-of-type {
    border: none;
}

.stellarnav li li a,
.stellarnav li li.has-sub>a,
.stellarnav.mobile li li.has-sub a {
    color: #666;
    font-size: 14px;
    padding: 9px 15px;
    font-weight: 400;
    line-height: initial;
    height: auto;
    margin: 0;
    position: relative;
    transition: all ease .3s;
}

.stellarnav li li a:hover,
.stellarnav li li.has-sub:hover>a,
.stellarnav.mobile li li.has-sub:hover a {
    color: #9c968c;
}

.stellarnav ul ul ul {
    left: auto;
    right: 100%;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

#content_main,
#content {
    font-family: 'Poppins', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif
}

.main_part {
    max-width: 100%;
    padding: 140px 0;
    background: #FFF;
}

.product_page .show_content {
    max-width: 1700px;
    width: 90%;
    margin: 0 auto;
}

.show_content {
    padding: 0;
}

/*預設解除背景輪播*/
#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;
    }
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*內頁BANNER 設定*/
.banner h5 {
    z-index: 9;
    font-weight: 400;
    font-size: 20px;
    position: fixed;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 12vh;
    text-shadow: 0 0 12px rgba(0, 0, 0, .5);
    filter: drop-shadow(2px 4px 16px black);
}

.banner h5:before {
    content: "";
    font-family: Poppins;
}

.banF h5:before {
    content: "OUR WORKS / ";
}

.banB h5:before {
    content: "RECRUITMENT / ";
}

.services_page .banB h5:before {
    content: "OUR SERVICE / ";
}

.banner {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    z-index: -1;
    background: none;
}

.banner:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banB:after {
    background: url(https://pic03.eapple.com.tw/senxidesign/ban-a.jpg) center/cover no-repeat;
}

.services_page .banB:after {
    background: url(https://pic03.eapple.com.tw/senxidesign/ban-b.jpg) center/cover no-repeat;
}

.banF:after {
    background: url(https://pic03.eapple.com.tw/senxidesign/ban-c.jpg) center/cover no-repeat;
}

.product_info_page .banner {
    display: none;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*購物車*/
.product-layer-two {
    text-align: center;
    margin: 0 auto 60px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.product-layer-two li {
    position: relative;
    margin: 0;
}

.product-layer-two>li:not(:last-of-type):before {
    content: "";
    background: #ccc;
    position: absolute;
    right: -2px;
    width: 1px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.product-layer-two li.active a,
.product-layer-two li a:hover {
    border: none;
    color: #9c968c;
    font-weight: 600;
}

.product-layer-two li a {
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .5px;
    padding: 10px 14px 10px 20px;
    transition: all ease .4s;
}

.products-list {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.products-list .pic,
.related_list li figure,
.proImgSwiper {
    aspect-ratio: 169/95;
}

.products-list .name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    text-align: center;
    opacity: 0;
    line-height: 1.8;
    font-weight: 500;
    color: #666;
    height: auto;
    overflow: visible;
    transition: all ease .4s;
}

.products-list .item:hover a>.name {
    opacity: 1;
}

.products-list .more,
.sidebarBtn,
.path,
.pd_tabTitle,
.mobile_product_name>br,
.related_list li a p>br {
    display: none;
}

.products-list .item a {
    padding-bottom: 0;
}

.mobile_product_name {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: #444;
    letter-spacing: 2px;
}

.product_main {
    padding: 0;
    width: 100%;
}

.product_info_page .main_part {
    max-width: 1000px;
    width: 90%;
}

.products-list .pic:after {
    display: block;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .9);
    content: '';
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all ease .4s;
}

.products-list .item:hover a .pic:after {
    width: 95%;
    height: 93%;
    opacity: 1;
}

.pd_tabInner_contain,
.product_info_page .edit {
    padding: 0;
}

.product_info_page .edit {
    line-height: 1.8;
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.prod_related {
    background: #d0cbc533;
    padding: 100px 0;
}

.prod_related h6 span:before {
    color: #666;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.lastPage {
    font-size: 14px;
    margin: 60px auto 0;
    background: #9c968c;
}

.prod_related h6 {
    margin: 0 auto 40px;
}

.related_list {
    max-width: 1400px;
    width: 90%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.related_list li {
    width: calc((100% - 60px) / 4);
}

.proImgSwiper li {
    align-items: flex-start;
}

.related_list li a p {
    line-height: 1.4;
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 10px 5px 5px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*footer*/
.footer {
    background: #fff;
    padding: 48px 0 0;
    border-top: 1px solid #ccc;
    font-size: 13px;
}

.footer_logo {
    max-width: 120px;
    margin: -8px 0 0;
}

.footer_logo img {
    max-width: 100%;
    display: block;
}

.footer .center {
    max-width: 1400px;
    padding: 0 5%;
}

.footer_menu a:first-child {
    display: none;
}

.footer_info {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    font-weight: 400;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    grid-gap: 0;
}

.footer_info,
.footer_info li {
    padding: 0;
}

.footer_info ul {
    display: flex;
    width: calc(90% - 4vw);
    letter-spacing: 0;
    padding: 0 0 36px;
}

.footer_info li:nth-child(1) {
    width: 100%;
}

.footer_info li p,
.footer_info li p a {
    color: #666;
    transition: all 0.5s;
}

.footer_info li p {
    display: inline-block;
    width: 100%;
    letter-spacing: 0px;
    line-height: 200%;
}

.footer_info li:nth-child(2) {
    width: 100%;
    position: relative;
}

.footer_menu {
    width: max-content;
    position: absolute;
    right: 0;
}

.footer_menu a {
    padding: 6px 12px;
    border: none;
    color: #666;
    background: transparent;
    margin: 0;
    transition: all 0.5s;
}

.footer_info li p a:hover,
.footer_menu a:hover {
    color: #9c968c;
    background: none;
}

.copy,
.copy a,
.copy a:hover {
    color: rgba(0, 0, 0, .25);
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    font-weight: 400;
}

.copy {
    text-align: right;
    padding: 5px calc(5% + 12px) 60px;
    border-top: none;
    max-width: 1400px;
    margin: 0 auto;
}

.box_link {
    display: none;
}

@media screen and (max-width: 1360px) {
    .footer_info {
        flex-direction: column;
        gap: 10px;
    }

    .footer_info ul {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .footer_menu {
        position: static;
        width: 100%;
    }

    .footer_info ul {
        gap: 20px;
        padding: 0 0 8px;
        flex-direction: column;
    }

    .footer_menu a {
        margin-left: -12px;
        margin-right: 16px;
        margin-bottom: 4px;
    }

    .copy {
        text-align: left;
    }

    .footer .center {
        padding: 0 5%;
    }

    .copy {
        padding: 5px 5% 60px;
    }

    .footer_info li+li {
        margin-top: 0;
    }

    .footer_logo {
        max-width: 140px;
    }

    .main_part {
        padding: 100px 0;
    }

    .product-layer-two {
        margin-bottom: 40px;
    }

    .products-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .related_list li {
        width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width: 768px) {
    #bottom_menu {
        height: 54px;
    }

    #bottom_menu li:not(:first-of-type) {
        display: none;
    }

    .footer.with_shopping_mode {
        padding: 40px 0;
    }

    #to_top {
        bottom: 68px;
    }

    .banner:after {
        height: calc(100% - 54px);
    }

    .sticky .nav-header {
        max-width: 100px;
    }

    .banner {
        height: calc(100vh - 108px);
    }

    .main_header_area .container {
        padding: 0;
    }

    .stellarnav .menu-toggle {
        padding: 10px;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .sticky .stellarnav>ul>li>a,
    .sticky .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .sticky .stellarnav>ul>li>a,
    .sticky .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
        height: auto;
        line-height: 150%;
        margin: 0 8px;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #9C968C;
    }

    .stellarnav.mobile>ul {
        border-top: none;
        border-right: none;
        box-shadow: 0 0 10px rgba(0 0 0 / 12%);
    }

    .stellarnav.mobile li.open {
        background: #fbfbfa;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a,
    .stellarnav>ul>li:last-of-type>a,
    .stellarnav>ul>li:last-of-type:hover>a,
    .stellarnav.mobile li li.has-sub a:not(.dd-toggle),
    .stellarnav li li>a:not(.dd-toggle) {
        padding: 10px 44px 10px 10px;
    }

    .stellarnav .icon-close:after,
    .stellarnav .icon-close:before {
        border-color: #fff;
    }

    .stellarnav a,
    .stellarnav.mobile>ul>li>ul>li.has-sub.open>a {
        color: #fff;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        padding: 12px 6px 0;
    }

    .stellarnav.mobile li li a.dd-toggle {
        margin-right: 5px;
    }

    .stellarnav.mobile li.open li.open a.dd-toggle {
        padding: 8px 0 0;
    }

    .stellarnav.mobile li li.has-sub a:not(.dd-toggle),
    .stellarnav li li>a:not(.dd-toggle) {
        padding: 10px 44px 10px 17px;
    }

    .stellarnav li li {
        text-align: left;
    }

    .banner h5 {
        font-size: 18px;
    }

    .main_part {
        padding: 40px 0;
    }

    .product-layer-two {
        margin-bottom: 0;
    }

    .product_page .product_menu_list {
        margin-bottom: 20px;
    }

    .products-list {
        grid-template-columns: 1fr;
    }

    .products-list .name {
        font-size: 14px;
        opacity: 1;
        line-height: 1.6;
        color: #fff;
        text-shadow: 0 0 12px rgba(0, 0, 0, .5);
    }

    .products-list .pic:after {
        content: none;
    }

    .products-list .pic img {
        filter: brightness(0.8);
    }

    .mobile_product_name {
        font-size: 17px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .prod_related {
        padding: 50px 0 60px;
    }

    .lastPage {
        margin: 30px auto 0;
    }

    .prod_related h6 {
        margin: 0 auto 30px;
    }

    .related_list li {
        width: calc((100% - 10px) / 2);
    }
}