@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/
.stellarnav>ul>li:nth-of-type(3)>ul>li:first-of-type,
.footer_menu a:first-of-type {
    display: none;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/


.navigation {
    display: flex;
    align-items: center;
}

.nav-header {
    max-width: 210px;
    padding: 8px 0;
}

.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 Sans TC', Microsoft JhengHei, sans-serif;
}

.stellarnav>ul>li:not(:first-of-type):after {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    transform: translate(-50%, -50%);
    position: absolute;
    left: -3px;
    top: calc(50% + 1px);
    background: #ddd;
}

.stellarnav>ul>li:before {
    content: "";
    width: 0;
    left: 0;
    transition: all 0.5s;
    height: 4px;
    position: absolute;
    background: #6AA120;
    bottom: 0;
}

.stellarnav>ul>li:hover:before {
    width: 100%;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
    min-width: 80px;
    padding: 0 2px;
    line-height: 88px;
    height: auto;
    color: #444;
    letter-spacing: .5px;
    display: block;
    font-weight: 500;
    margin: 0 8px;
    text-transform: none;
    transition: all ease 0.3s;
}

.stellarnav>ul>li>a b {
    font-weight: bold;
}

.stellarnav>ul>li:hover>a,
.stellarnav>ul>li.has-sub:hover>a:not(.dd-toggle) {
    color: #6AA120;
}

.me_tp_features {
    display: none;
}

/*次分類*/
.stellarnav ul ul {
    background: transparent;
    animation: navi 0.3s;
}

@keyframes navi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.stellarnav li li {
    background: #F1F8F3;
    border: none;
    border-bottom: 1px solid #00000019;
    margin-bottom: 0;
    transition: all ease .3s;
}

.stellarnav li li:hover {
    background: #3E7D4F;
}

.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: #566855;
    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;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

body.pageIndex:before {
    content: ' ';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/hsinpeitrees/bgbg.jpg) center / cover no-repeat;
}

#content_main,
#content {
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.main_part {
    width: 90%;
    max-width: 1500px;
    padding: 50px 0;
}

.show_content,
.contact_content {
    padding: 0;
}

.path {
    padding: 0 0 20px;
}

/*預設解除背景輪播*/
#content_main {
    margin: 0;
    background: transparent;
}

.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 {
    min-height: auto;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: url(https://pic03.eapple.com.tw/hsinpeitrees/banner.jpg) center/cover no-repeat;
}

.banner h5 {
    font-size: 32px;
    width: 100%;
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.75);
    letter-spacing: 2px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.75));
}

.banner h5:before {
    content: "HSIN PEI TREES";
    display: block;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: 'Poppins';
    opacity: .75;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相簿*/
.show-list .show_pic,
.pic-list .show_pic {
    border-radius: 15px;
}

.overlay {
    display: none;
}

.show-list .show_name {
    padding-left: 50px;
    position: relative;
    color: #444;
    letter-spacing: 1px;
    -webkit-line-clamp: 1;
}

.album_page .show-list .item:hover .show_name {
    padding-left: 60px;
}

.album_page .show-list .show_name:before {
    background-color: #3E7D4F;
    position: absolute;
    left: 0;
    content: '';
    height: 1px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.show-list .item:hover .show_name {
    color: #6A9E59;
}

.show-list .show_pic img {
    transition: ease .4s;
}

.show-list .item:hover .show_pic img {
    transform: scale(1.1);
}

.subalbum-menu,
.album_descrip {
    margin: 0;
    padding: 0;
}

.subalbum-menu h2 {
    color: #444;
}

.other_subalbum li a p {
    line-height: 1.5;
    margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.other_album_choice li {
    background: #6AA120;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
.blog_page h4.blog_category_title {
    display: none;
}

.blog_box,
.blog_le {
    padding: 0;
}

.blog_ri {
    padding: 0 0 0 60px;
}

.blog_subbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px 30px;
}

.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: #3E7D4F;
    font-size: 20px;
}

.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: #6AA120 !important;
}

.blog_le .accordion>li.open,
.blog_le .accordion>li.on_this_category {
    background: #6A9E59 !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 Sans TC', serif;
    color: #444;
    letter-spacing: 0px;
    font-weight: 400;
    padding: 12px 12px 12px 36px;
    border-left: #F1F8F3 0 solid;
    transition: all .15s;
}

.submenu li.on_this_category a,
.submenu a:hover {
    background: #F1F8F3;
    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: 4px;
}

.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: 24px;
    color: #3E7D4F;
}

.blog_box_edit {
    color: #555;
    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: #3E7D4F !important;
}

.blog_back a.article_btn_next,
.blog_back a.article_btn_prev,
.blog_back a.article_btn_back {
    background: #6AA120;
    transition: all .3s ease;
}

.news_related {
    padding: 48px 0;
    background: #f9fbfa;
}

.news_related_list {
    max-width: 1500px;
    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: #6A9E59;
    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;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*聯絡*/
.info_LINE {
    visibility: hidden;
    position: relative;
}

.info_LINE {
    order: -1;
}

.info_LINE:before {
    visibility: visible;
}

.info_LINE:after {
    content: "0981639323";
    visibility: visible;
    position: absolute;
    left: 42px;
    top: 0;
}

.list_before.info li {
    padding-left: 42px;
    line-height: 1.2;
}

.list_before.info li:before {
    letter-spacing: 0;
}

.blank_letter {
    padding-top: 0;
    color: #3E7D4F;
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.information_right .blank_letter {
    display: flex;
    justify-content: space-between;
}

.contact_form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    grid-gap: 20px;
    margin-bottom: 40px;
}

.contact_form li:nth-of-type(-n+4),
.contact_form li:nth-last-of-type(-n+2) {
    width: calc(50% - 10px);
}

.contact_form li.last {
    margin-top: auto;
    margin-bottom: 0;
}

.contact_form li input.noborder,
.contact_form li textarea.noborder {
    background: #f9f9f9;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #ddd;
}

.contact_form li {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
    border-bottom: none;
    color: #444;
    grid-gap: 8px;
}

.contact_form li .form__label {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    text-align: left;
    max-width: 100%;
    font-weight: normal;
    padding: 0;
    background: none;
}

.star {
    order: 1;
    height: 18px;
}

.contact_content>form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.contact_content .information_left {
    width: 390px;
}

.contact_content .information_right {
    width: calc(100% - 405px);
    padding-left: 60px;
}

.contact_form li .form__insert {
    line-height: 165%;
}

.contact_le_nomap {
    height: 280px;
}

.contact_form li.last cite {
    background: #6AA120;
}

.contact_form li.last blockquote,
.contact_form li.last cite {
    border-color: #6AA120;
}

.information_left,
.information_right {
    padding: 0;
}

.list_before {
    padding-left: 150px;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    height: 130px;
}

.list_before.info:before {
    content: '';
    display: block;
    max-width: 130px;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    position: absolute;
    top: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/hsinpeitrees/line_qr.jpg) center/cover no-repeat;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*footer*/
.footer_logo {
    display: none;
}

.footer {
    padding: 24px 0 0;
    background: #F1F8F3;
    font-family: 'Noto Sans TC', Microsoft JhengHei, sans-serif;
}

.center {
    max-width: 1150px;
}

.footer_info {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0;
}

.footer_info ul {
    width: 100%;
    letter-spacing: 0;
}

.footer_info li:nth-child(1) {
    display: flex;
    flex-flow: row wrap;
}

.footer_info li:nth-child(2) {
    text-align: center;
}

.footer_info li p {
    width: 100%;
    text-align: center;
}

.footer_info li p,
.footer_info li a {
    color: #444;
}

.footer_menu a:hover {
    background: none;
    color: #3E7D4F;
}

.footer_menu a {
    border: none;
    background: transparent;
    padding: 0 16px;
    margin: 0;
    border-right: 1px rgba(0, 0, 0, .15) solid;
    transition: all .25s;
}

.footer_menu a:last-of-type {
    border-right: none;
}

.copy {
    border-top: none;
    padding: 16px 0;
    margin-top: 20px;
    background: #6A9E59;
}

.copy,
.copy a,
.copy a:hover {
    color: #fff;
}

.box_link {
    display: none;
}

@media screen and (max-width: 1024px) {
    .nav-header {
        max-width: 180px;
        padding: 6px 0;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle) {
        line-height: 60px;
    }

    .main_header_area .container {
        padding: 0;
    }

    .contact_form li:nth-of-type(-n+4),
    .contact_form li:nth-last-of-type(-n+2) {
        width: 100%;
    }

    .blog_subbox {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 960px) {

    .contact_content .information_left,
    .contact_content .information_right {
        width: 100%;
        padding: 0;
    }

}

@media screen and (max-width: 768px) {
    .footer.with_shopping_mode {
        padding: 30px 0 54px;
    }

    #to_top {
        bottom: 68px;
    }

    .stellarnav .menu-toggle {
        padding: 0;
    }

    .stellarnav.mobile {
        left: 8px;
        top: 14px;
    }

    .list_before.info:before {
        max-width: 110px;
    }

    .list_before {
        padding: 130px 0 0;
        margin-bottom: 20px;
        height: auto;
    }

    .contact_content>form {
        gap: 30px;
    }

    .list_before li {
        margin: 4px 0;
    }

    .blog_subbox {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .blog_ri {
        width: 100%;
        padding: 0;
    }

    .blog_search {
        margin-bottom: 20px;
    }

    .banner {
        height: 140px;
    }

    .pic-list {
        grid-template-columns: 1fr 1fr;
    }

    .show-list .show_pic,
    .pic-list .show_pic {
        border-radius: 10px;
    }

    .footer_menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100px, 100%), auto));
        gap: 12px;
        margin: 0 auto;
        width: 92%;
    }

    .footer_menu a {
        padding: 0;
        border-right: none;
    }

    .footer_info {
        grid-gap: 30px;
    }

    .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: #6AA120;
    }

    .stellarnav.mobile>ul {
        border-top: none;
        border-right: none;
        box-shadow: 0 0 10px rgba(0 0 0 / 12%);
    }

    .stellarnav.mobile li.open {
        background: #fbfdfc;
    }

    .stellarnav.mobile li.open li.open {
        background: #fff;
    }

    .stellarnav.mobile li.open li.open>a:not(.dd-toggle) {
        background: #3E7D4F;
        color: #fff;
    }

    .stellarnav.mobile li.open li.open>a.dd-toggle .icon-plus:after,
    .stellarnav.mobile li.open li.open>a.dd-toggle .icon-plus:before,
    .stellarnav.mobile li.open li:hover>a.dd-toggle .icon-plus:after,
    .stellarnav.mobile li.open li:hover>a.dd-toggle .icon-plus:before {
        border-color: #fff;
    }

    .stellarnav.mobile li.open li.open>a.dd-toggle {
        margin-top: 4px;
    }

    .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 li li.has-sub a:not(.dd-toggle),
    .stellarnav li li>a:not(.dd-toggle) {
        padding: 10px 43px 10px 18px;
    }

    .stellarnav>ul>li:before {
        content: none;
    }

    .stellarnav.mobile>ul>li>a.dd-toggle {
        min-width: fit-content;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        margin-top: 6px;
    }

    .stellarnav.mobile li li a.dd-toggle {
        margin-right: 5px;
    }

    .main_part {
        padding: 30px 0;
    }

    .show-list .show_name {
        padding-left: 50px;
        margin-top: 6px;
        font-size: 16px;
    }

    .other_subalbum li a p {
        margin-top: 5px;
    }

    .album_fixed_title {
        font-size: 16px;
    }

    .news_related h6 span:before,
    h4.blog_category_title,
    .blank_letter {
        font-size: 22px;
    }

    .news_related_list li {
        width: calc((100% - 20px) / 2);
    }

    .contact_form li.last {
        justify-content: flex-start;
    }

    .contact_form,
    .list_before {
        margin-top: 20px;
    }

    .contact_form {
        margin-bottom: 20px;
    }

    .banner h5 {
        font-size: 28px;
    }

    .banner h5:before {
        font-size: 15px;
    }
}