@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;}
*/

.navigation {
    display: flex;
    align-items: center;
}

.nav-header {
    max-width: 220px;
    padding: 0 0 15px;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.header_area,
.header_area.sticky {
    background: #FFF;
    box-shadow: 0 0 20px rgba(0 0 0 / 6%);
    padding: 0;
}

.main_header_area .container {
    max-width: 1600px;
    padding: 0 2%;
}

.stellarnav ul {
    font-family: "Noto Serif TC", sans-serif;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    padding: 0 2px;
    line-height: 90px;
    height: auto;
    color: #444;
    letter-spacing: .5px;
    display: block;
    font-weight: 500;
    margin: 0 12px;
    text-transform: none;
    transition: all ease 0.5s;
}

.stellarnav>ul>li:hover>a,
.stellarnav>ul>li.has-sub:hover>a:not(.dd-toggle) {
    color: #ddb984;
}

.me_tp_features {
    display: none;
}

/*次分類*/
.stellarnav ul ul {
    background: transparent;
}

.stellarnav>ul>li.drop-left>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li li {
    background: #fcf8f3;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    margin-bottom: 0;
    text-align: center;
    transition: all ease .3s;
}

.stellarnav li li:hover {
    background: #ddb984;
}

.stellarnav li li:last-of-type {
    border: none;
}

.stellarnav li li a:not(.dd-toggle),
.stellarnav li li.has-sub>a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li a:not(.dd-toggle) {
    color: #444;
    font-weight: 500;
    padding: 10px 18px;
    font-size: 14px;
    line-height: initial;
    height: auto;
    margin: 0;
    position: relative;
}

.stellarnav li li:hover a:not(.dd-toggle),
.stellarnav li li.has-sub:hover a:not(.dd-toggle),
.stellarnav li li.has-sub:hover li:hover a:not(.dd-toggle) {
    color: #fff;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.path {
    padding: 0 0 20px;
}

.banner,
body:not(.blog_page, .blog_in_page) .path {
    display: none;
}

#content_main,
#content {
    font-family: "Noto Serif TC", sans-serif;
}

.main_part {
    width: 90%;
    max-width: 1400px;
    padding: 50px 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;
    }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
.blog_page h4.blog_category_title {
    display: none;
}

.blog_box,
.blog_le {
    padding: 0;
}

.blog_box {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.blog_ri {
    padding: 0 0 0 40px;
}

.blog_subbox {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px 20px;
}

.blog_subbox:before {
    content: none;
}

.subbox_item {
    width: 100%;
    margin: 0;
    border-bottom: none;
}

.subbox_item a {
    display: flex;
    flex-flow: column wrap;
    gap: 0;
}

.blog_list_le {
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.blog_list_le img {
    min-width: 100%;
    margin: 0 auto;
    object-position: center;
    transition: 1s ease;
}

.subbox_item a:hover .blog_list_le img {
    transform: scale(1.1);
}

.blog_list_ri {
    display: flex;
    flex-flow: column wrap;
    padding: 15px 0;
    position: relative;
    justify-content: center;
}

.blog_list_ri h5 {
    font-weight: bold;
    color: #7296ca;
    font-size: 20px;
    font-family: 'Noto Serif TC';
    letter-spacing: 1px;
}

.blog_list_ri em {
    font-weight: 400;
    margin: 6px 0 18px;
}

.blog_list_ri p {
    line-height: 160%;
    padding: 14px 0 0;
    margin-bottom: 14px;
    -webkit-line-clamp: 2;
    text-align: justify;
    border-top: 1px solid #bbb;
    margin-top: 0;
}

.subbox_item a:before,
.subbox_item a:after {
    content: none;
}

h5.blog_le_t {
    display: none;
}

.blog_le .accordion {
    border-radius: 0;
}

.accordion li .link a {
    color: #444;
    font-weight: 400;
    font-size: 15px;
    padding: 12px;
}

.accordion li .link {
    border-bottom: none;
}

.accordion li {
    transition: all 0.2s ease;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.open:hover,
.blog_le .accordion>li.on_this_category:hover {
    background: #7296ca !important;
}

.blog_le .accordion>li.open,
.blog_le .accordion>li.on_this_category {
    background: #90aed6 !important;
}

.blog_le .accordion>li.open .link a,
.blog_le .accordion>li.open .link i {
    color: #fff !important;
}

.submenu {
    background: #fff;
    font-size: 14px;
}

.submenu a {
    font-family: "Noto Serif TC", sans-serif;
    color: #444;
    letter-spacing: 0px;
    font-weight: 400;
    padding: 12px 12px 12px 36px;
    border-left: #f1f4fa 0 solid;
    transition: all .15s;
}

.submenu li.on_this_category a,
.submenu a:hover {
    background: #f1f4fa;
    color: #222;
}

.submenu a i {
    left: 12px;
    font-weight: var(--fa-style, 900);
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
}

.submenu a:hover {
    border-left-width: 7px;
}

.blog_search input[type=search] {
    background: #fff;
    font-size: 13px;
    border-radius: 0;
    padding: 12px 36px 12px 12px;
}

.blog_search input[type=submit] {
    filter: grayscale(20);
}

.blog_le .accordion li .link i {
    transition: none;
}

/*內頁*/
.articel_mainPic,
.blog_shareData {
    display: none;
}

h4.blog_category_title {
    padding: 0;
    margin-bottom: 0;
    font-size: 25px;
    color: #7296ca;
    font-family: 'Noto Serif TC';
}

.blog_box_edit {
    color: #444;
    font-size: 16px;
}

.blog_box_edit * {
    line-height: 170%;
}

.blog_back {
    width: 100%;
    margin: 0 auto;
    grid-gap: 10px;
    justify-content: center;
}

.blog_back a {
    width: 100%;
    font-weight: 500 !important;
}

.blog_back a:hover {
    background: #7296ca !important;
}

.blog_back a.article_btn_next,
.blog_back a.article_btn_prev,
.blog_back a.article_btn_back {
    background: #90aed6;
    transition: all .3s ease;
}

.news_related {
    padding: 48px 0;
    background: #f1f4fa;
}

.news_related_list {
    max-width: 1400px;
    width: 90%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.news_related_list li {
    width: calc((100% - 60px) / 4);
}

.news_related_list li a {
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.lastPage {
    background: #7296ca;
    margin: 40px auto 20px;
}

.news_related h6 span:before {
    color: #666;
}

.news_related_list li a p {
    margin: 6px auto 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*首頁文章*/
.module_i_news {
    padding: 80px 0;
}

.module_i_news section {
    max-width: 1400px;
    width: 90%;
}

.module_i_news .title_i_box h4 {
    font-size: 25px;
    color: #727272;
    font-weight: bold;
    font-family: 'Noto Serif TC';
    line-height: 1.75;
    letter-spacing: 1px;
}

.module_i_news ul {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px 20px;
}

.module_i_news li {
    width: 100%;
    margin: 0;
    border-bottom: none;
}

.module_i_news li a {
    display: flex;
    flex-flow: column wrap;
    gap: 0;
}

.i_blog_le {
    height: auto;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.i_blog_le img {
    min-width: 100%;
    margin: 0 auto;
    object-position: center;
    transition: 1s ease;
}

.module_i_news li a:hover .i_blog_le img {
    transform: scale(1.1);
}

.i_blog_ri {
    display: flex;
    flex-flow: column wrap;
    padding: 15px 0;
    position: relative;
    justify-content: center;
}

.i_blog_ri h5 {
    font-weight: bold;
    color: #7296ca;
    font-size: 20px;
    font-family: 'Noto Serif TC';
    letter-spacing: 1px;
}

.i_blog_ri em {
    font-weight: 400;
    margin: 6px 0 18px;
}

.i_blog_ri p {
    line-height: 160%;
    padding: 14px 0 0;
    margin-bottom: 14px;
    -webkit-line-clamp: 2;
    text-align: justify;
    border-top: 1px solid #bbb;
    margin-top: 0;
}

.module_i_news li a:before,
.module_i_news li a:after {
    content: none;
}

.module_i_news_list {
    padding: 0;
}

.animated-arrow {
    background: #deb985;
    border-radius: 15px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*footer*/
.footer {
    background: linear-gradient(to bottom, rgba(255 255 255 / 25%), transparent 50%), url(https://pic03.eapple.com.tw/zhengyang/fbgbg.jpg) center / cover no-repeat;
    background-position-y: 45%;
    font-family: "Noto Serif TC", sans-serif;
    padding: 40px 0 0;
}

.footer_logo img {
    max-width: 100%;
    display: block;
}

.footer_info {
    grid-gap: 15px;
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    text-align: center;
    align-items: center;
}

.footer_menu a:hover,
.footer_menu a {
    padding: 0;
    margin: 0 16px;
    color: #444;
    background: none;
    border: none;
}

.footer_info li:nth-child(2) {
    border-top: 1px solid rgba(0, 0, 0, .25);
    padding: 20px 0 30px;
    margin-top: 20px;
}

.footer_info ul {
    max-width: 768px;
    letter-spacing: 0;
}

.copy,
.copy a,
.copy a:hover {
    color: #fff;
}

.copy {
    background: #727272;
    border: none;
    padding: 18px 0;
}

.footer_info li p,
.footer_info li a {
    color: #444;
}

.footer_info li p {
    line-height: 2;
}

.box_link {
    display: none;
}


@media screen and (max-width: 1360px) {
    .blog_subbox {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .nav-header {
        padding: 6px 0 9px;
        max-width: 180px;
    }

    .main_header_area .container {
        padding: 0;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
        line-height: 48px;
    }

    .module_i_news ul,
    .blog_subbox {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .footer.with_shopping_mode {
        padding: 24px 0 54px;
    }

    #to_top {
        bottom: 68px;
    }

    .stellarnav.mobile {
        left: 8px;
        top: 18px;
    }

    .stellarnav .menu-toggle {
        padding: 0;
    }

    .stellarnav.mobile li.drop-left ul ul {
        right: auto;
        left: 0;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a {
        height: auto;
        line-height: 150%;
        margin: 0 8px;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #7296ca;
    }

    .stellarnav.mobile>ul {
        border-top: none;
        border-right: none;
        box-shadow: 0 0 10px rgba(0 0 0 / 12%);
    }

    .stellarnav.mobile li.open {
        background: #fcf8f3;
    }

    .stellarnav.mobile li.open li.open {
        background: #ddb984;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a {
        padding: 10px 44px 10px 10px;
    }

    .stellarnav .icon-close:after,
    .stellarnav .icon-close:before {
        border-color: #fff;
    }

    .stellarnav 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 43px 10px 17px;
    }

    .stellarnav li li {
        text-align: left;
        background: #fff;
    }

    .stellarnav li li:hover>a.dd-toggle .icon-plus:before,
    .stellarnav li li:hover>a.dd-toggle .icon-plus:after {
        border-color: #fff;
    }

    .footer_info {
        padding: 0 5%;
    }

    .footer_menu a:hover,
    .footer_menu a {
        margin: 0;
    }

    .footer_info li:nth-child(2) {
        padding-bottom: 15px;
    }

    .footer_menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), auto));
        gap: 12px;
        margin: 0 auto;
    }

    .footer_logo {
        max-width: 240px;
    }

    .module_i_news {
        padding: 50px 0;
    }

    .module_i_news .title_i_box h4,
    .news_related h6 span:before,
    h4.blog_category_title {
        font-size: 22px;
    }

    .i_blog_ri h5,
    .blog_list_ri h5 {
        font-size: 18px;
    }

    .blog_ri {
        padding: 0;
    }

    .blog_subbox {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .module_i_news ul {
        row-gap: 0;
    }

    .blog_le {
        margin-bottom: 20px;
    }

    .news_related_list li {
        width: calc((100% - 20px) / 2);
    }

    .news_related_list {
        gap: 15px;
    }

    .lastPage {
        margin: 30px auto 15px;
    }

    .edit {
        padding: 15px 0 30px;
    }
}