/* 內頁製作時刪掉 */
body.pageIndex #content_main {
    min-height: 50vh !important;
}

/* 內頁製作時刪掉_end=========== */
body.pageIndex .clearfix:before,
body.pageIndex .clearfix:after {
    display: none;
}

.main_part {
    max-width: 1600px;
    width: 95%;
}

div#page:not(body.contact_page #page) {
    background: transparent;
}

body.contact_page #page {
    /* background: #f3f3f3; */
}

body.other_select_page ul.other_promotion.clearfix,
body.other_select_page .page {
    display: none;
}

#content_main {
    background: transparent;
}


/* 錨點滾動 */
html {
    scroll-behavior: smooth;
}

/* 全域設定 */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(102, 102, 102, 0.6);
}

::-webkit-scrollbar-thumb {
    background-color: #403b28;
}

::selection {
    color: #ffebcd;
    background: #c1946b;
}

/* 背景========== */
.animated15 {
    animation: none;
}

#page {
    position: relative;
    background: transparent;
}

#page::before {

    background: #fff;

}

/* 每頁裝飾======== */
body.other_select_page .promotion_title {
    display: none;
}


/* header======= */
.main_header_area {
    background: transparent;
}

.main_header_area .container {
    max-width: 95%;
    margin: 0;
    width: calc(95% - 300px);
}

.stellarnav {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    z-index: 0;
}


.stellarnav>ul>li>a b {
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
}

.stellarnav li.has-sub>a:after {
    display: none;
}

.stellarnav>ul>li>a,
.stellarnav.desktop li.has-sub>a {
    color: #4e3426;
    font-size: 15px;
    font-weight: 500;
    padding: 0px 15px;
}

.stellarnav>ul>li>a:hover,
.stellarnav.desktop li.has-sub a:hover {
    color: #b69133;
}

.header_area:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #2E4058;
    transition: all 0.3s ease-in-out;
}

body.pageIndex .header_area:before {
    /* height: 0%; */
}

body.pageIndex .header_area.sticky:before {
    height: 100%;
}

.header_area.sticky:before {
    height: 100%;
    transition: all 0.3s ease-in-out;

}

.header_area {
    position: fixed;
    width: 100%;
}

.header_area.sticky .stellarnav>ul>li:hover>a,
.header_area.sticky .stellarnav>ul>li.active>a,
.header_area.sticky .stellarnav>ul>li.focus>a {
    color: #FFCA8A;
}

.stellarnav>ul>li:before {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    /* content: "\f1b0"; */
    text-align: center;
    font-size: 10px;
    left: 0;
    transform: translate(0%, -20%) rotate(45deg);
    z-index: 10;
    position: absolute;
    margin: 0 auto;
    top: 50%;
    transition: all 0.1s ease-in-out;
    color: #5d352a;
}


.stellarnav ul ul ul:before {
    background: #13141387;
}

.stellarnav ul ul .stellarnav ul ul {
    border: none;
}


.stellarnav ul ul>li:hover>a,
.stellarnav ul ul>li.focus>a {
    color: #b69133;
}

.submenu-indicator {
    margin-top: 13px;
}

/* 下拉小三角 */
span.submenu-indicator-chevron {
    display: none;
}

/*手機板選單調整*/
.navigation-portrait .nav-toggle {
    color: #333333;
}



.stellarnav ul {
    /* display: flex; */
    align-items: baseline;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-end;
}

.stellarnav.mobile>ul>li {
    border-bottom: none;
}


.stellarnav ul ul>li>a:hover,
.stellarnav ul ul>li>a:focus {
    color: #131413;
}


.stellarnav>ul>li>ul li .has-sub a {
    padding-left: 0px;
    padding-right: 0px;
}


.stellarnav.desktop ul>li>ul .has-sub>a {
    padding: 10px;
}

.stellarnav li a {
    padding: 10px;
}



.stellarnav>ul>li>a,
.stellarnav.desktop li.has-sub>a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 0px 15px;
}

.stellarnav.desktop li.has-sub a {}

.stellarnav>ul>li:hover>a,
.stellarnav>ul>li.active>a,
.stellarnav>ul>li.focus>a {
    color: #b69133;
    transition: all 0.3s ease-in-out;
}

.stellarnav>ul>li {
    transition: all 0.6s;
    vertical-align: top;
    position: relative;
}

.stellarnav>ul>li:hover:before {
    transition: all 0.1s ease-in-out;
    background-position: 100% 0;
    -webkit-transform: translate(0%, -10px) rotate(10deg);
    transform: translate(0%, -10px) rotate(10deg);
    color: #9a6a5d;
}

.stellarnav ul ul>li>a {
    background: transparent;
    color: #828282;
    letter-spacing: 2px;
}

.stellarnav li li {
    border: none;
}

.nav-toggle:before {
    background-color: #333333;
    box-shadow: 0 0.5em 0 0 #333333, 0 1em 0 0 #333333;
}

.stellarnav.mobile li.open {
    background: transparent;
}

.stellarnav>ul>li>ul {
    left: 50%;
    transform: translateX(-50%);
    /* overflow: auto; */
    /* max-height: 300px; */
}

.stellarnav.mobile.right .close-menu,
.stellarnav.mobile.left .close-menu {
    background: transparent;
}

.stellarnav ul ul ul {
    max-height: 300px;
    overflow: auto;
    left: 300px;
    width: 150px;
}


/* 小漢堡 */
.nav-toggle:before {
    background-color: #7a7a7a;
    box-shadow: 0 0.5em 0 0 #7a7a7a, 0 1em 0 0 #7a7a7a;
}

.me_tp_features {
    position: absolute;
    top: 10px;
    right: 17px;
    display: inline-block;
    width: auto;
    z-index: 10;
    display: none;
}

.me_tp_features a {
    color: #828282;
}

.box_search input[type=text] {
    border-radius: 0px;
}

.shop_search_btn {
    background: #fff;
    color: #828282;
    border: solid 1px #ccc !important;
    border-radius: 0px;
    height: 100%;
}

.box_search input[type=text] {
    border: none
}

.box_search {
    display: none;
}

form#hs_search {
    border: solid 1px #ccc;
    background: #fff;
    display: none;
}
@media screen and (max-width: 1750px) {
 .stellarnav>ul>li>a, .stellarnav.desktop li.has-sub>a {
    padding: 0px 5px;
}
}

@media screen and (max-width: 1600px) {

    .stellarnav>ul>li>a,
    .stellarnav.desktop li.has-sub>a,
    .stellarnav ul ul,
    .stellarnav ul ul ul {
        font-size: 13px;
    }
}

@media screen and (max-width: 1500px) {

    .stellarnav>ul>li>a,
    .stellarnav.desktop li.has-sub>a {
        padding: 0px 10px;
    }

    .main_header_area .container {
        width: calc(95% - 250px);
    }

    .stellarnav>ul>li>a {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (max-width: 1380px) {
    .header_area {
        position: relative;
    }

    .me_tp_features {
        top: 0;
        right: 0;
    }

    .navigation {
        flex-wrap: wrap;
    }

    .main_header_area .container {
        width: 100%;
        max-width: 100%;
    }

    .stellarnav ul {
        justify-content: center;

    }

    .stellarnav>ul {
        margin-top: 0px;
        text-align: center;
    }

    .stellarnav>ul>li {
        display: inline-block;
        width: initial;
    }

    .stellarnav ul ul {
        left: auto;
        top: auto;
    }

    .stellarnav ul ul:before,
    .stellarnav ul ul .stellarnav ul ul:before {
        height: 100%;
        transform: translateY(0px);
    }

    .stellarnav>ul>li>a,
    .stellarnav.desktop li.has-sub>a {
        padding: 0px 10px;
    }
}



@media screen and (max-width: 1024px) {
    body.pageIndex .header_area:before {
        height: 100%;
    }

    .navigation {
        flex-wrap: wrap;
    }

    .stellarnav>ul>li {
        display: inline-block;
        width: initial;
    }

    .stellarnav ul ul {
        left: auto;
        top: auto;
    }

    .stellarnav ul ul:before,
    .stellarnav ul ul .stellarnav ul ul:before {
        height: 100%;
        transform: translateY(0px);
    }
}

@media screen and (max-width: 768px) {
    .stellarnav.mobile.left>ul {
        background: #2E4058;
    }

    .stellarnav.mobile>ul>li>a b:nth-child(2) {
        display: none;
    }

    .stellarnav>ul>li>a,
    .stellarnav.desktop li.has-sub>a {
        font-size: 18px;
        color: #1B1C1E;
    }

    .stellarnav>ul>li:hover a:before {
        display: none;
    }

    .stellarnav.mobile>ul>li {
        display: block;
    }

    .stellarnav ul ul {
        background: transparent;
    }

    .stellarnav ul ul>li>a:hover,
    .stellarnav ul ul>li>a:focus {
        color: #999;
    }

    .stellarnav ul ul {
        border: none;
        right: auto;
        left: 100%;
        top: 0;
    }

    .stellarnav.desktop li.has-sub a {
        padding: 18px;
    }



    .stellarnav.mobile ul {
        background: #fbfbfb;
    }

    .nav-header {
        width: 100%;
    }

    .main_header_area {
        background: #fbfbfb;
    }

    .me_tp_features {
        position: static;
        padding: 0px 7px 7px 7px;
        width: 100%;
    }

    .navigation {
        flex-direction: column;
        align-items: center;
        flex-direction: inherit;
        height: auto;
        background: #fff;
    }

    .navigation-portrait .nav-menu>li>a {
        color: #131413;
    }

    .stellarnav ul ul:before,
    .stellarnav ul ul .stellarnav ul ul:before {
        display: none;
    }

    .stellarnav ul ul>li>a {
        color: #131413;
    }

    .stellarnav.mobile li a {
        border-bottom: none;
    }


    .stellarnav ul ul>li>a,
    .megamenu-list>li>a {
        width: calc(100% - 100px);
    }

    .stellarnav li li,
    .stellarnav.mobile>ul>li {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .stellarnav ul ul {
        background: #131413;
    }

    .navigation-portrait .stellarnav>ul>li {
        border: none;
    }

    .stellarnav.mobile li li.has-sub a {
        padding: 10px 0px 10px 10px;
    }

    .stellarnav.mobile>ul>li>a b:nth-child(2) {
        display: none;
    }

    .stellarnav>ul>li>a,
    .stellarnav.desktop li.has-sub>a {
        font-size: 18px;
        color: #1B1C1E;
    }

    .stellarnav>ul>li:hover a:before {
        display: none;
    }


    .stellarnav.mobile>ul>li {
        display: block;
    }

    .stellarnav ul ul {
        background: transparent;
    }

    .stellarnav ul ul>li>a:hover,
    .stellarnav ul ul>li>a:focus {
        color: #999;
    }

    .stellarnav ul ul {
        border: none;
        right: auto;
        left: 100%;
        top: 0;
    }

    .stellarnav.desktop li.has-sub a {
        padding: 18px;
    }

    .stellarnav.mobile.right>ul,
    .stellarnav.mobile.left>ul {
        border-right: none;
        max-width: 90%;
    }


    .stellarnav.mobile ul {
        background: #fbfbfb;
    }

    .main_header_area {
        background: #fbfbfb;
    }


    .navigation {
        flex-direction: column;
        align-items: center;
        flex-direction: inherit;
        height: auto;
        background: #2E4058;
    }

    .navigation-portrait .nav-menu>li>a {
        color: #131413;
    }

    .stellarnav ul ul:before,
    .stellarnav ul ul .stellarnav ul ul:before {
        display: none;
    }

    .stellarnav ul ul>li>a {
        color: #131413;
    }

    .stellarnav.mobile li a {
        border-bottom: none;
    }


    .stellarnav ul ul>li>a,
    .megamenu-list>li>a {
        width: calc(100% - 100px);
    }

    .stellarnav li li,
    .stellarnav.mobile>ul>li {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .stellarnav ul ul {
        background: #131413;
    }

    .navigation-portrait .stellarnav>ul>li {
        border: none;
    }

    .stellarnav.mobile li li.has-sub a {
        padding: 10px 0px 10px 10px;
    }
}





/* logo */
.nav-brand h1 {
    display: block;
    background: url(https://pic03.eapple.com.tw/stpdental/s_logo_logo.svg);
    background-size: contain;
    width: 298px;
    height: 55px;
    background-repeat: no-repeat;
    text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
    /* filter: contrast(0) brightness(100); */
    background-position: center;
    margin: 5px 0;
}

.header_area.sticky .nav-brand h1 {
    filter: initial;

}


a.nav-brand {
    padding: 2px 0;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
}

.navigation-portrait .nav-brand {
    justify-content: center;
}

.navigation {
    display: flex;
    padding: 0;
    justify-content: center;
}

.nav-header {
    position: relative;
}

@media screen and (max-width: 1500px) {
    .header_area.sticky .nav-brand h1 {
        filter: initial;
        width: 296px;
        height: 36px;
        transition: all 0.3s ease-in-out;
    }
}



@media screen and (max-width: 900px) {
    .nav-brand h1 {
        width: 210px;
    }
}

@media screen and (max-width: 768px) {
    .nav-header {
        padding: 2% 0;
        z-index: 0;
    }

    .nav-brand h1 {
        filter: initial;
    }

    a.nav-brand {
        justify-content: center;
    }

    .navigation {
        margin-top: 0;
    }
}

@media screen and (max-width: 476px) {
    .nav-brand h1 {
        width: 245px;
        height: 41px;
    }
}

/* 大圖 */
/*預設解除背景輪播*/
.swiper-slide:before {
    content: "";
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, .1); */
    position: absolute;
    z-index: 1;
}


.swiper-slide:nth-child(1):before {
    background: rgba(0, 0, 0, .5);


}

.swiper-slide:nth-child(2):before {
    background: rgba(34, 47, 65, 0.5);

}

.swiper-wrapper {
    position: relative;
}


/* 大圖 */
/*預設解除背景輪播*/
#content_main {
    margin: 0;
}

.bannerindex {
    /* position: static; */
    position: relative;
    /* height: 90vh; */
}

.swiper-banner {
    position: static;
    margin: 0;
    height: auto;
}

.swiper-slide img {
    height: auto;
}

/* --首頁大圖加字- */
.swiper-container-fade .swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-container-fade .swiper-slide:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 306px;
    max-height: 20vw;
    top: 50%;
    left: 50%;
    background-size: contain;
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -80%);
}

.swiper-slide.swiper-slide:nth-child(1):after {
    background-image: url(https://pic03.eapple.com.tw/stpdental/cover_deli_01.svg);
}

.swiper-slide.swiper-slide:nth-child(2):after {
    background-image: url(https://pic03.eapple.com.tw/stpdental/cover_deli_02.svg);
}


@media screen and (max-width: 1380px) {
    .bannerindex {
        height: auto;
    }

    .swiper-container-fade .swiper-slide:after {

        transform: translate(-50%, -80%);
    }

}

@media screen and (max-width: 1024px) {
    .bannerindex {
        position: relative;
    }

    .swiper-container-fade .swiper-slide:after {

        transform: translate(-50%, -50%);
    }

}

@media screen and (max-width: 768px) {
    .bannerindex {
        height: 0;
        padding-bottom: 60%;
    }

    .swiper-container-fade .swiper-slide:after {
        transform: translate(-50%, -60%);
    }

}

/* 文章管理================================== */
body.blog_page .main_part {
    max-width: 90%;
    width: 1600px;
}

h4.blog_category_title {
    font-size: 26px;

}

body.blog_page h4.blog_category_title {
    display: none;
}

.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 30px;
    /* grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); */
    grid-template-columns: 1fr;
}

/*文章設定*/
.blog_le.fadeInLeft.animated15.clearfix {
    position: sticky;
    top: 100px;
}

/*選單*/
h5.blog_le_t em {
    font-family: 'Noto Serif TC', serif;
}

.blog_le .accordion {
    border: none;
    border-radius: 0;
}

.blog_le .accordion li {
    border-bottom: 1px solid #E8BB7E;
    position: relative;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.on_this_category {
    background: #2e4058d7 !important;
}

.blog_back a.article_btn_back {
    background: #2E4058;
    transition: all 0.3s ease-in-out;
}

.blog_back a.article_btn_back:hover {
    filter: brightness(1.2);
    transition: all 0.3s ease-in-out;

}

.blog_back a.article_btn_prev,
.blog_back a.article_btn_next {
    background: #2e4058d7;
}

.blog_back a.article_btn_prev:hover,
.blog_back a.article_btn_next:hover {
    filter: brightness(1.2);
    transition: all 0.3s ease-in-out;
}


h5.blog_le_t {
    display: none;
}

.blog_list_ri {
    width: calc(100%);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    padding: 34px 37px 40px;
}

.blog_box {
    width: 90%;
    max-width: 1600px;
}

.subbox_item {
    width: 100%;

    background-color: transparent;
    /* -webkit-box-shadow: 0px 0px 13px 0px rgb(0 0 0 / 7%);
    box-shadow: 0px 0px 13px 0px rgb(0 0 0 / 7%); */
    /* border-radius: 0 10px 10px 0; */
    overflow: hidden;
    margin-bottom: 2%;
    position: relative;
}

.subbox_item a {
    border-bottom: 1px solid #ccc;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 3fr;
}

.subbox_item:hover img {
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    width: 100%;
    transition: all 0.4s ease;

}

.blog_list_le img {
    display: block;
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transform: translate(-50%, -50%) scale(1);
    aspect-ratio: 9 / 9;
}

.blog_list_le {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 9 / 9;
    overflow: hidden;
    padding-bottom: 0;
    min-width: 250px;
}

.subbox_item a:after {
    display: none;
}

.subbox_item a:before {
    display: none;
}

.blog_list_ri em {
    order: 3;
    width: 100%;
    text-align: right;
    color: #88563c;
    display: none;
}

.blog_list_ri h5 {
    position: relative;
    font-size: 24px;
}

.blog_list_ri p {
    border-top: 1px solid #ccc;
    margin-top: 10px;
    color: #595959;
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 1.5625;
    padding: 20px 0;
    width: 100%;
    -webkit-line-clamp: inherit;
    font-family: 'noto serif tc';
}

.blog_list_ri p:after {
    content: '...';
}

.subbox_item:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #968C6F;
    transition: 0.3s;
    z-index: 1;
}

.subbox_item:hover:before {
    width: 100%;
    transition: all .5s;
}

@media screen and (max-width: 1200px) {
    .subbox_item a {
        grid-auto-flow: initial;
    }

    .blog_list_le {
        margin: auto;
    }
}

@media screen and (max-width: 1024px) {
    .blog_list_le {
        width: 100%;
    }

    .subbox_item a {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .blog_le.fadeInLeft.animated15.clearfix {
        position: relative;
        top: auto;
    }

    .blog_list_le {
        width: 100%;
    }

    .blog_list_ri {
        width: 100%;
        padding: 0;
    }

    .blog_list_ri p {
        margin-top: 7px;
        margin-bottom: 19px;
    }

    .blog_list_ri i {
        bottom: -7px;
    }

    .blog_list_le {
        width: 100%;
    }

    .blog_list_ri {
        width: 100%;
        padding: 20px 0px 40px;
    }

    .blog_list_ri h5 {
        -webkit-line-clamp: initial;
    }
}


@media screen and (max-width: 476px) {
    .blog_le.fadeInLeft.animated15.clearfix {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .blog_back {
        margin-bottom: 40px;
    }

}

/* 購物車=============== */
.product-layer-two {
    text-align: center;
}

body.product_page .clearfix:before,
body.product_pageS .clearfix:after {
    display: none;
}

.products-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 1326px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: grid;
}

.products-list .pic:hover img {
    transition: transform 600ms ease-out, -webkit-transform 600ms ease-out;
    transform: scale(1.05);
}

.products-list .pic img {
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 600ms ease-out, -webkit-transform 600ms ease-out;
}

.products-list .pic {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 12 / 8;
    overflow: hidden;
    padding-bottom: 0;
}

.products-list .item {
    width: 100%;
}

.products-list .name {
    font-size: 16px;
    font-weight: 600;
    opacity: 1;
    font-family: 'Noto Serif TC', serif;
    font-size: 18px;
    height: auto;
}



.products-list .more {
    display: none;
}

@media screen and (max-width: 1024px) {
    .products-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .products-list {
        grid-template-columns: 1fr;
    }

    .products-list .name {
        font-size: 16px;
    }
}

/*產品內頁*/
body.product_info_page .product_main {
    max-width: 100%;
}

.accordion-item:last-child,
.accordion-thumb,
#bx-pager h6 {
    display: none;
}

.accordion-panel {
    display: block !important;
}

.accordion-panel img {
    max-width: 100%;
    display: block;
    margin: 20px auto;
}

.product_main {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.product-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.product_pic {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: auto;
    padding-left: 0px;
    order: 0;
    margin-bottom: 36px;
}

.bx-wrapper img {
    width: 100%;
}

.product_pic .bx-wrapper {
    display: block;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.products-list .price {
    display: none;
}

.product_pic .bx-wrapper .bx-viewport {
    max-width: 100%;
    border: none;
}

.product_pic #bx-pager {
    align-content: space-between;
    justify-content: space-between;
    position: relative;
    padding: 0;
    top: 0;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.product_pic #bx-pager a {
    width: 100%;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 12/9;
    overflow: hidden;
}

.product_pic #bx-pager a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_main {
    margin: auto;
    width: 100%;
}

.lastPage {
    background: #798a99;
}


.accordion-panel img {
    width: 100% !important;
    height: 100% !important;
}

.prod-panel {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

/* 旁邊產品資訊 */
.sidebarBtn form,
.sidebarBtn h2 {
    display: none;
}

.sidebarBtn {
    width: auto;
    background: transparent;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
}

.toShare {
    border-top: none;
    font-size: 12px;
    color: #888;
    padding-bottom: 20px;
    padding-top: 0;
    border-bottom: none;
    text-align: right;
    margin: 0;
    width: 120px;
    padding: 0;
}

/*購物車預覽-直式*/
.bx-wrapper .bx-viewport {
    background: transparent;
}

.product_pic {
    flex-direction: row;
    flex-wrap: wrap;
}


.product_pic .bx-wrapper .bx-viewport {
    margin: 0 auto;
}

/* 輪播下的圖片 */
.product_pic #bx-pager a {
    margin-top: 2%;
}


/*各區標題設定*/
.mobile_product_name {
    color: #333;
    font-weight: 500;
    letter-spacing: 5px;
    display: block;
    width: calc(100% - 120px);
    font-family: 'Noto Serif TC', serif;
    font-size: 20px;
}

.prod_related h6 span:before {
    font-family: 'Noto Serif TC', serif;
    font-size: 20px;
}

.related_list li a p,
h4.blog_category_title,
.blog_list_ri h5,
h4.blog_category_title {
    font-family: 'Noto Serif TC', serif;
}


div#bx-pager h6 {
    display: none;
}

h3.accordion-thumb {
    color: #fff;
}

.product_info_page .accordion {
    display: none;
}


/*下方資訊隱藏*/


body.product_info_page .half_box li {
    margin: 10px 0;
    display: none;
}

/* 下方建議 */
.related_list li a {
    background: transparent;
}

.related_list li a {
    background: transparent;
    aspect-ratio: 12/9;
}

.related_list li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

@media screen and (max-width: 768px) {
    .sidebarBtn {
        margin: 0;
    }

    li:hover .pic img {
        filter: none;
    }

    .product-layer-two li {
        margin: 0px 3px 9px 3px;
        width: 94px;
    }

    .prod_related h6 span:before {
        font-size: 16px;
    }
}

@media screen and (max-width: 476px) {
    .products-list .name {
        font-size: 16px;
        bottom: 0;
        top: initial;
        opacity: 1;
        width: 100%;
        background: rgba(0, 0, 0, .3);
        padding: 10px;
        margin: 0 0 -22px 0px;
        width: 100%;
    }

    .sidebarBtn {
        position: relative;
        width: 100%;
    }

    .product_pic {
        margin-bottom: 10px;
    }

    .products-list .item:hover .name,
    .products-list .item .name {
        opacity: 1;
        position: relative;
        background: transparent;
        color: #444;
        left: 0;
        text-align: left;
        justify-content: left;
        font-weight: 400;
    }

    .products-list .item:hover a:hover:after {
        display: none;
    }
}





/* 相簿============================================================== */

.path {
    display: none;
}

/* 標題 */
.subalbum-menu h2 {
    color: #fff;
}

.block {
    background: #fff;
}

/* 觀看其他 */
/*觀看其他作品*/
.album_fixed_title embed {
    display: none;
}

.album_fixed_title {
    display: none;
}

.other_album_choice li a {
    color: #4e3426;
}

.other_album_choice li {
    background: #a1ceee;
}


.other_album_choice li {
    margin-top: 2%;
}


/* 相簿第一層內頁=========== */


body.album_page .show_content {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 98%;
}

.subalbum-menu {
    padding: 0;
}

.other_subalbum li {
    width: 33%;
    margin: 0;
}


ul.show-list.clearfix {
    display: flex;
    flex-wrap: wrap;
}

body.album_page .main_part {
    max-width: 2000px;
    margin: 5% auto auto auto;
    padding: 0;
}

.album_page .show-list .item {
    width: 32.5333%;
    display: inline-block;
    vertical-align: top;
    padding: 0 10px;
    margin: 20px 10px;
    padding: 0;
    margin: 0.4%;
    box-sizing: border-box;
}

.overlay {
    display: none;
}


.album_page .show-list .item a {
    max-width: 100%;
}

.album_page .show-list .show_pic {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 14 / 8;
    overflow: hidden;
    padding-bottom: 0;
    border-radius: 10px;
}

.album_page .show-list .show_pic img {
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.album_page .show-list .show_pic img:hover {
    transform: scale(1.1);
}

.album_page .show-list .show_name {
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #FFFFFF !important;
    border: none;
    text-align: center;
    background: rgba(0, 0, 0, .3);
    padding: 10px;
    transition: all ease-in .3s;
}

.album_page .show-list .item:hover .show_name {
    color: #fff;
    opacity: 1;
}

.album_page .show-list .item a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #a1ceee71;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}


ul.show-list.clearfix:hover a:after {
    opacity: 1;
    transition: 0.5s;
}

ul.show-list.clearfix:hover a:hover:after {
    opacity: 0;
    transition: 0.5s;
}




@media screen and (max-width: 768px) {

    .album_page .show-list .item,
    .album_page .show-list .item:hover {
        flex-basis: 100%;
        margin-bottom: 2%;
    }

    body.album_page .main_part {
        margin: 5% auto;
        padding: 7%;
    }
}



/* 相簿第二層內頁===========================--- */


body.album_class_page .main_part {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
    width: 98%;
}

body.album_class_page .subalbum-menu h2 {
    display: none;
}

.other_subalbum {
    display: flex;
    flex-wrap: wrap;
}

.subalbum-menu {
    margin: 80px 0;
}

.other_subalbum li {
    position: relative;
    width: 32.5333%;
    margin: 0.4%;
}


.other_subalbum li p {
    position: absolute;
    right: 50%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #FFFFFF !important;
    border: none;
    text-align: center;
    background: rgba(0, 0, 0, .3);
    padding: 10px;
    transition: all ease-in .3s;
}

.other_subalbum li:hover p {
    opacity: 1;
}

.other_subalbum li a>div {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 14 / 8;
    overflow: hidden;
    padding-bottom: 0;
}



.other_subalbum li a img {
    max-width: 100%;
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
    height: 100%;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    transition: all 0.2s;
}

.other_subalbum li a:hover img {
    transform: scale(1.1);
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
}


.other_subalbum li a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #a1ceee71;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}


.other_subalbum:hover a:hover:after {
    opacity: 0;
    transition: 0.5s;
}

.other_subalbum:hover a:after {
    opacity: 1;
    transition: 0.5s;
}

@media screen and (max-width: 1200px) {
    .other_subalbum li {
        width: 49.2%;
    }
}


@media screen and (max-width: 768px) {
    body.album_class_page .main_part {
        margin: 5% auto;
        padding: 7%;
    }

    body.album_class_page .subalbum-menu {
        margin-top: 0;
    }
}

@media screen and (max-width: 476px) {
    .other_subalbum li {
        width: 100%;
        margin-bottom: 2%;
    }
}

/* 相簿第三層內頁================== */


body.album_info_page .main_part {
    max-width: 2000px;
    margin: 0 auto;
    padding: 5% 0;
    width: 98%;
}

body.album_info_page .show_content {
    padding: 0;
}

ul.pic-list.clearfix {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.album_info_page .pic-list .show_pic img {
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.album_info_page .pic-list .show_pic {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 14 / 8;
    overflow: hidden;
    padding-bottom: 0;
}


.album_info_page .pic-list .item {
    position: relative;
    padding: 0;
    margin: 0;
    width: 32.5333%;
    margin: 0.4%;
}

.album_info_page .pic-list .item h6 {
    position: absolute;
    right: 50%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #FFFFFF !important;
    border: none;
    text-align: center;
    /* background: rgba(0,0,0,.3); */
    padding: 10px;
    transition: all ease-in .3s;
}


ul.pic-list.clearfix li a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #a1ceee71;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}


ul.pic-list.clearfix:hover a:after {
    opacity: 1;
    transition: 0.5s;
}

ul.pic-list.clearfix:hover a:hover:after {
    opacity: 0;
    transition: 0.5s;
}



@media screen and (max-width: 1200px) {
    .album_info_page .pic-list .item {
        width: 49.2%;
    }
}

@media screen and (max-width: 768px) {
    .album_info_page .main_part {
        margin: 5% auto;
        padding: 7%;
    }
}

@media screen and (max-width: 476px) {
    .album_info_page .pic-list .item {
        width: 100%;
        margin-bottom: 2%;
    }
}




/* 分享文章 */
body.share_page .main_part {
    max-width: 1400px;
}

body.share_page .time {
    display: none;
}

.promotion_title h2 {
    font-size: 20px;
    color: #666;
}


/* 頁碼 */
.page li a,
.page li {
    display: inline-block;
    margin: 5px;
    border-color: #ddd;
    color: #403b28;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0;
    transition: all 0.1s ease-in-out;

}

.page strong,
li.activeN {
    background: #403b28;
    color: #ffebcd;
    border-color: #403b28;
}

.page strong,
.page a:hover {
    background: #44444488;
    color: #ffebcd;
    transition: all 0.1s ease-in-out;
}



/* 文章管理================================== */
body.blog_page .main_part {
    max-width: 90%;
    width: 1600px;
}

h4.blog_category_title {
    font-size: 26px;

}

body.blog_page h4.blog_category_title {
    display: none;
}

.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 30px;
    /* grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); */
    grid-template-columns: 1fr;
}

/*文章設定*/
.blog_le.fadeInLeft.animated15.clearfix {
    position: sticky;
    top: 100px;
}

/*選單*/
h5.blog_le_t em {
    font-family: 'Noto Serif TC', serif;
}

.blog_le .accordion {
    border: none;
    border-radius: 0;
}

.blog_le .accordion li {
    border-bottom: 1px solid #968C6F;
    position: relative;
}

.blog_le .accordion>li:hover,
.blog_le .accordion>li.on_this_category {
    background: #968C6F !important;
}


h5.blog_le_t {
    display: none;
}

.blog_list_ri {
    width: calc(100%);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    padding: 34px 37px 40px;
}

.blog_box {
    width: 90%;
    max-width: 1600px;
}

.subbox_item {
    width: 100%;

    background-color: transparent;
    /* -webkit-box-shadow: 0px 0px 13px 0px rgb(0 0 0 / 7%);
    box-shadow: 0px 0px 13px 0px rgb(0 0 0 / 7%); */
    /* border-radius: 0 10px 10px 0; */
    overflow: hidden;
    margin-bottom: 2%;
    position: relative;
}

.subbox_item a {
    border-bottom: 1px solid #ccc;
    display: grid;
    grid-auto-flow: column;
}

.subbox_item:hover img {
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    width: 100%;
    transition: all 0.4s ease;

}

.blog_list_le img {
    display: block;
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transform: translate(-50%, -50%) scale(1);
    aspect-ratio: 9 / 9;
}

.blog_list_le {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 9 / 9;
    overflow: hidden;
    padding-bottom: 0;
    min-width: 250px;
}

.subbox_item a:after {
    display: none;
}

.subbox_item a:before {
    display: none;
}

.blog_list_ri em {
    order: 3;
    width: 100%;
    text-align: right;
    color: #968C6F;
}

.blog_list_ri h5 {
    position: relative;
    font-size: 24px;
}

.blog_list_ri p {
    border-top: 1px solid #ccc;
    margin-top: 10px;
    color: #595959;
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 1.5625;
    padding: 20px 0;
    width: 100%;
    -webkit-line-clamp: inherit;
}

.blog_list_ri p:after {
    content: '...';
}

.subbox_item:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #88563c;
    transition: 0.3s;
    z-index: 1;
}

.subbox_item:hover:before {
    width: 100%;
    transition: all .5s;
}

@media screen and (max-width: 1200px) {
    .subbox_item a {
        grid-auto-flow: initial;
    }

    .blog_list_le {
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .blog_le.fadeInLeft.animated15.clearfix {
        position: relative;
        top: auto;
    }

    .blog_list_le {
        width: 100%;
    }

    .blog_list_ri {
        width: 100%;
        padding: 0;
    }

    .blog_list_ri p {
        margin-top: 7px;
        margin-bottom: 19px;
    }

    .blog_list_ri i {
        bottom: -7px;
    }

    .blog_list_le {
        width: 100%;
    }

    .blog_list_ri {
        width: 100%;
        padding: 20px 0px 40px;
    }

    .blog_list_ri h5 {
        -webkit-line-clamp: initial;
    }
}

@media screen and (max-width: 476px) {
    .blog_box {
        width: 100%;
        padding: 0;
    }

    body.blog_page .main_part {
        padding: 40px 0 0 0;
    }
}

/* banner== */
/*內頁BANNER 設定*/
.banner {
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: transparent;
    background-position: center;
    padding: 0;
    background-size: 150px;
    background: transparent;
    background-position: center;
    background-repeat: no-repeat;
}

body.other_page .banner {
    background: transparent;
}

.banner h5:before {
    content: '';
    width: 80px;
    height: 80px;
    background-image: url(https://pic03.eapple.com.tw/stpdental/banner_deli.svg);
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}


.banner h5 {
    color: #fff;
    font-weight: 500;
    text-align: left;
    width: 90%;
    position: relative;
    margin: auto;
    letter-spacing: 5px;
    padding-top: 180px;
    padding-bottom: 120px;
    line-height: 1.2;
    font-family: 'noto serif tc';
    font-weight: 400;
    max-width: 1700px;
    font-size: 45px;
    padding: 150px 15px 100px 15px;
}

.banner:before {
    content: '';
    position: relative;
    z-index: -1;
    background: transparent;
    background-position: center;
    padding: 0;
    background-image: url(https://pic03.eapple.com.tw/stpdental/banner_add_01.jpg);
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    /* filter: grayscale(1); */
    filter: brightness(0.5);

}

body.services_page .banner.banB:before {
    background-image: url(https://pic03.eapple.com.tw/stpdental/banner_add_02.jpg);
}

body.case_page .banner.banB:before {
    background-image: url(https://pic03.eapple.com.tw/stpdental/banner_add_03.jpg);

}

.banner.banblog:before {
    background-image: url(https://pic03.eapple.com.tw/stpdental/banner_add_04.jpg);
    /* animation: bgScroll 30s linear infinite; */

}

.banner.banF:before {
    background-image: url(https://pic03.eapple.com.tw/stpdental/banner_add_05.jpg);

}

.banner h5,
.banner h5:after {
    display: block;
    padding: 0;

}

.banner {
    padding-top: 300px;
    padding-bottom: 250px;
}


/* @keyframes bgScroll {
    0% {
        -webkit-transform: translateX(-10vw);
        transform: translateX(-10vw);
    }

    50% {
        -webkit-transform: translateX(-20vw);
        transform: translateX(-20vw);
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
} */
@media screen and (max-width: 1380px) {
    .banner {
        padding-top: 100px;
        padding-bottom: 150px;
    }
}

@media screen and (max-width: 1024px) {
    .banner {
        padding-top: 100px;
        padding-bottom: 150px;
    }

}

@media screen and (max-width: 768px) {
    .banner h5:after {
        font-size: 16px;
    }

    /* .banner {
        padding: 0;
    } */

    .banner h5 {
        padding-top: 80px;
        font-size: 28px;
    }

    .banner {
        padding: 0;
    }

}

@media (max-width: 768px) {
    .banner h5 {
        padding: 85px 15px;
    }
}

@media (max-width: 568px) {
    .banner h5 {
        padding: 75px 15px;
    }
}

@media screen and (max-width: 476px) {
    /* .banner h5:after {
        font-size: 16px;
        padding-top: 10px;
    } */
    /* 
    .banner {
        padding: 0;
    } */

    /* .banner h5 {
        padding: 65px 15px;
    } */


}

/* 相簿============================================================== */

.path {
    display: none;
}

/* 標題 */
.subalbum-menu h2 {
    color: #fff;
}

.block {
    background: #fff;
}

/* 觀看其他 */
/*觀看其他作品*/
.album_fixed_title embed {
    display: none;
}

.album_fixed_title {
    display: none;
}

.other_album_choice li a {
    color: #4e3426;
}

.other_album_choice li {
    background: #a1ceee;
}


.other_album_choice li {
    margin-top: 2%;
}


/* 相簿第一層內頁=========== */


body.album_page .show_content {
    width: 95%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.subalbum-menu {
    padding: 0;
}

.other_subalbum li {
    width: 33%;
    margin: 0;
}


ul.show-list.clearfix {
    display: flex;
    flex-wrap: wrap;
}

body.album_page .main_part {
    max-width: 2000px;
    margin: 5% auto auto auto;
    padding: 0;
}

.album_page .show-list .item {
    width: 32.5333%;
    display: inline-block;
    vertical-align: top;
    padding: 0 10px;
    margin: 20px 10px;
    padding: 0;
    margin: 0.4%;
    box-sizing: border-box;
}

.overlay {
    display: none;
}


.album_page .show-list .item a {
    max-width: 100%;
}

.album_page .show-list .show_pic {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 12 / 8;
    overflow: hidden;
    padding-bottom: 0;
    border-radius: 10px;
}

.album_page .show-list .show_pic img {
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.album_page .show-list .show_pic img:hover {
    transform: scale(1.1);
}

.album_page .show-list .show_name {
    /* position: absolute;
    right: 50%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%); */
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #FFFFFF !important;
    border: none;
    text-align: center;
    background: rgba(0, 0, 0, .3);
    padding: 10px;
    transition: all ease-in .3s;
    border-radius: 10px;
}

.album_page .show-list .item:hover .show_name {
    color: #fff;
    opacity: 1;
}

.album_page .show-list .item a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #a1ceee71;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}


ul.show-list.clearfix:hover a:after {
    opacity: 1;
    transition: 0.5s;
}

ul.show-list.clearfix:hover a:hover:after {
    opacity: 0;
    transition: 0.5s;
}




@media screen and (max-width: 768px) {

    .album_page .show-list .item,
    .album_page .show-list .item:hover {
        flex-basis: 100%;
        margin-bottom: 2%;
    }

    body.album_page .main_part {
        margin: 5% auto;
        padding: 7%;
    }
}



/* 相簿第二層內頁===========================--- */


body.album_class_page .main_part {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
}

body.album_class_page .subalbum-menu h2 {
    display: none;
}

.other_subalbum {
    display: flex;
    flex-wrap: wrap;
}

.subalbum-menu {
    margin: 80px 0;
}

.other_subalbum li {
    position: relative;
    width: 32.5333%;
    margin: 0.4%;
}


.other_subalbum li p {
    position: absolute;
    right: 50%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #FFFFFF !important;
    border: none;
    text-align: center;
    background: rgba(0, 0, 0, .3);
    padding: 10px;
    transition: all ease-in .3s;
    border-radius: 10px;
}

.other_subalbum li:hover p {
    opacity: 1;
}

.other_subalbum li a>div {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 12 / 8;
    overflow: hidden;
    padding-bottom: 0;
    border-radius: 10px;
}



.other_subalbum li a img {
    max-width: 100%;
    max-width: 100%;
    min-width: 100%;
    object-fit: cover;
    height: 100%;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    transition: all 0.2s;
}

.other_subalbum li a:hover img {
    transform: scale(1.1);
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
}


.other_subalbum li a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #a1ceee71;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}


.other_subalbum:hover a:hover:after {
    opacity: 0;
    transition: 0.5s;
}

.other_subalbum:hover a:after {
    opacity: 1;
    transition: 0.5s;
}

@media screen and (max-width: 1200px) {
    .other_subalbum li {
        width: 49.2%;
    }
}


@media screen and (max-width: 768px) {
    body.album_class_page .main_part {
        margin: 5% auto;
        padding: 7%;
    }

    body.album_class_page .subalbum-menu {
        margin-top: 0;
    }
}

@media screen and (max-width: 476px) {
    .other_subalbum li {
        width: 100%;
        margin-bottom: 2%;
    }
}

/* 相簿第三層內頁================== */


body.album_info_page .main_part {
    max-width: 2000px;
    margin: 0 auto;
    padding: 5% 0;
}

ul.pic-list.clearfix {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.album_info_page .pic-list .show_pic img {
    max-width: 100%;
    max-height: 100%;
    transition: 1s;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.album_info_page .pic-list .show_pic {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 12 / 8;
    overflow: hidden;
    padding-bottom: 0;
}


.album_info_page .pic-list .item {
    position: relative;
    padding: 0;
    margin: 0;
    width: 32.5333%;
    margin: 0.4%;
}

.album_info_page .pic-list .item h6 {
    position: absolute;
    right: 50%;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0%);
    width: 100%;
    height: auto;
    font-size: 14px;
    color: #FFFFFF !important;
    border: none;
    text-align: center;
    /* background: rgba(0,0,0,.3); */
    padding: 10px;
    transition: all ease-in .3s;
}


ul.pic-list.clearfix li a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #a1ceee71;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}


ul.pic-list.clearfix:hover a:after {
    opacity: 1;
    transition: 0.5s;
}

ul.pic-list.clearfix:hover a:hover:after {
    opacity: 0;
    transition: 0.5s;
}



@media screen and (max-width: 1200px) {
    .album_info_page .pic-list .item {
        width: 49.2%;
    }
}

@media screen and (max-width: 768px) {
    .album_info_page .main_part {
        margin: 5% auto;
        padding: 7%;
    }
}

@media screen and (max-width: 476px) {
    .album_info_page .pic-list .item {
        width: 100%;
        margin-bottom: 2%;
    }
}




/* 分享文章 */
body.share_page .main_part {
    max-width: 1400px;
}

body.share_page .time {
    display: none;
}

.promotion_title h2 {
    font-size: 20px;
    color: #666;
}


/* 頁碼 */
.page li a,
.page li {
    display: inline-block;
    margin: 5px;
    border-color: #ddd;
    color: #403b28;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0;
    transition: all 0.1s ease-in-out;

}

.page strong,
li.activeN {
    background: #403b28;
    color: #ffebcd;
    border-color: #403b28;
}

.page strong,
.page a:hover {
    background: #44444488;
    color: #ffebcd;
    transition: all 0.1s ease-in-out;
}



#to_top {

    z-index: 9999999999999999;
}


/* 客戶編輯器分享文章*/

body.share_page .edit p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}

body.share_page .edit a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
    font-weight: 400;

}

body.share_page .edit h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}

body.share_page .edit h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 600;
}


body.share_page .edit>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}


@media screen and (max-width: 476px) {

    body.share_page .edit p,
    body.share_page .edit a,
    body.share_page .edit>li,
    body.share_page .edit h6 {
        font-size: 16px;
    }

    body.share_page .edit h5 {
        font-size: 18px;
    }

}


/* 客戶編輯器文章管理 */


body.blog_in_page .blog_box_edit p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}

body.blog_in_page .blog_box_edit a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
    font-weight: 400;

}

body.blog_in_page .blog_box_edit h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}

body.blog_in_page .blog_box_edit h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}


body.blog_in_page .blog_box_edit>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}


@media screen and (max-width: 476px) {

    body.blog_in_page .blog_box_edit p,
    body.blog_in_page .blog_box_edit a,
    body.blog_in_page .blog_box_edit>li,
    body.blog_in_page .blog_box_edit h6 {
        font-size: 16px;
    }

    body.blog_in_page .blog_box_edit h5 {
        font-size: 18px;
    }

}

/* 客戶編輯器購物車 */



body.product_info_page .prod-panel p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}


body.product_info_page .prod-panel h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}


.pic-list .item h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}


body.product_info_page .prod-panel h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}

body.product_info_page .prod-panel a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
}


body.product_info_page .prod-panel>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}

@media screen and (max-width: 476px) {

    body.product_info_page .prod-panel p,
    body.product_info_page .prod-panel a,
    body.product_info_page .prod-panel>li,
    body.product_info_page .prod-panel h6 {
        font-size: 16px;
    }

    body.product_info_page .prod-panel h5 {
        font-size: 18px;
    }

}

/* 客戶編輯器_促銷方案 */


body.promotions_page .edit h4:not(:nth-child(1)) {
    margin-top: 5%;
}

body.promotions_page .edit p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}

body.promotions_page .edit h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}


body.promotions_page .edit h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}

body.promotions_page .edit a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
}

body.promotions_page .edit>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}

@media screen and (max-width: 476px) {

    body.promotions_page .edit p,
    body.promotions_page .edit a,
    body.promotions_page .edit>li,
    body.promotions_page .edit h6 {
        font-size: 16px;
    }

    body.promotions_page .edit h5 {
        font-size: 18px;
    }

}



/* 內頁製作時刪掉 */
body.pageIndex #content_main {
    min-height: 50vh !important;
}

/* 內頁製作時刪掉_end=========== */
body.pageIndex .clearfix:before,
body.pageIndex .clearfix:after {
    display: none;
}

.main_part {
    max-width: 1600px;
    width: 95%;
}

div#page:not(body.contact_page #page) {
    background: transparent;
}

body.contact_page #page {
    /* background: #f3f3f3; */
}

body.other_select_page ul.other_promotion.clearfix,
body.other_select_page .page {
    display: none;
}


#content_main {
    background: transparent;
}


/* 錨點滾動 */
html {
    scroll-behavior: smooth;
}

/* 全域設定 */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(102, 102, 102, 0.6);
}

::-webkit-scrollbar-thumb {
    background-color: #403b28;
}

::selection {
    color: #ffebcd;
    background: #c1946b;
}




/* 每頁裝飾======== */
body.other_select_page .promotion_title {
    display: none;
}

/* 客戶編輯器分享文章*/


body.share_page .edit p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}

body.share_page .edit a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
    font-weight: 400;

}

body.share_page .edit h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}

body.share_page .edit h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 600;
}


body.share_page .edit>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}


@media screen and (max-width: 476px) {

    body.share_page .edit p,
    body.share_page .edit a,
    body.share_page .edit>li,
    body.share_page .edit h6 {
        font-size: 16px;
    }

    body.share_page .edit h5 {
        font-size: 18px;
    }

}


/* 客戶編輯器文章管理 */


body.blog_in_page .blog_box_edit p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}

body.blog_in_page .blog_box_edit a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
    font-weight: 400;

}

body.blog_in_page .blog_box_edit h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}

body.blog_in_page .blog_box_edit h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}


body.blog_in_page .blog_box_edit>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}


@media screen and (max-width: 476px) {

    body.blog_in_page .blog_box_edit p,
    body.blog_in_page .blog_box_edit a,
    body.blog_in_page .blog_box_edit>li,
    body.blog_in_page .blog_box_edit h6 {
        font-size: 16px;
    }

    body.blog_in_page .blog_box_edit h5 {
        font-size: 18px;
    }

}

/* 客戶編輯器購物車 */

body.product_info_page h3.prod-thumb {
    display: none;
}

body.product_info_page .prod-panel p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}


body.product_info_page .prod-panel h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}


.pic-list .item h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}


body.product_info_page .prod-panel h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}

body.product_info_page .prod-panel a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
}


body.product_info_page .prod-panel>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}

@media screen and (max-width: 476px) {

    body.product_info_page .prod-panel p,
    body.product_info_page .prod-panel a,
    body.product_info_page .prod-panel>li,
    body.product_info_page .prod-panel h6 {
        font-size: 16px;
    }

    body.product_info_page .prod-panel h5 {
        font-size: 18px;
    }

}

/* 客戶編輯器_促銷方案 */


body.promotions_page .edit h4:not(:nth-child(1)) {
    margin-top: 5%;
}

body.promotions_page .edit p {
    font-size: 17px;
    line-height: 2;
    color: #666;
    font-weight: 400;
}

body.promotions_page .edit h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    padding-left: 20px;
    margin: 0 0 20px 0px;
    border-left: 1px solid #c1946b;
    color: #403b28;
}


body.promotions_page .edit h6 {
    color: #2E4058;
    font-size: 18px;
    font-weight: 400;
}

body.promotions_page .edit a {
    color: #2E4058;
    font-size: 17px;
    border-bottom: 1px solid;
}

body.promotions_page .edit>li {
    color: #666;
    line-height: 1.8;
    margin-left: 17px;
}

@media screen and (max-width: 476px) {

    body.promotions_page .edit p,
    body.promotions_page .edit a,
    body.promotions_page .edit>li,
    body.promotions_page .edit h6 {
        font-size: 16px;
    }

    body.promotions_page .edit h5 {
        font-size: 18px;
    }

}