@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/
body.pageIndex:before {
    content: ' ';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/0921595812/bgbg.jpg) center / cover no-repeat;
}

body {
    font-family: 'Faculty Glyphic', 'Noto Serif TC', serif;
}

/*body.other_page {
    background-color: #faf7f5;
}

body.other_page #content {
    background: none;
}

body.other_page:before {
    opacity: .1;
    content: ' ';
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(https://pic03.eapple.com.tw/0921595812/inbg.png) center / cover no-repeat;
}*/

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/

.header_area,
.header_area.sticky {
    padding: 0;
    background: #05080e;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-header {
    max-width: 275px;
    padding: 4px 0;
}

.nav-brand,
.nav-brand img {
    display: block;
}

.main_header_area .container {
    max-width: 1600px;
    padding: 0 6%;
}

.stellarnav>ul {
    margin-top: 5px;
    font-family: 'Noto Serif TC', serif;
}

.stellarnav li.has-sub>a:after {
    content: none;
}

.stellarnav>ul>li>a,
.stellarnav>ul>li.has-sub>a .stellarnav>ul>li.has-sub>a {
    color: #fff;
    font-size: 15px;
    margin: 0;
    padding: 0 !important;
}

.stellarnav>ul>li {
    margin: 0 14px;
}

.stellarnav>ul>li>a b {
    font-weight: 700;
    letter-spacing: 1px;
}

.stellarnav>ul>li>a b:last-of-type {
    position: absolute;
    text-align: center;
    width: 100%;
    font-family: 'Faculty Glyphic';
    font-weight: 400;
    transition: ease .3s;
}

.stellarnav>ul>li>a:hover b:last-of-type {
    position: static;
}

.me_tp_features,
.swiper-pagination {
    display: none;
}

/*下拉*/
.stellarnav>ul>li>ul {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

.stellarnav li {
    text-align: center;
    transition: all ease 0.4s;
}

.stellarnav li li {
    transition: all ease 0.4s;
}

.stellarnav li li:hover {
    background: #faf7f5;
}

.stellarnav li li a,
.stellarnav li li.has-sub>a,
.stellarnav.mobile li li.has-sub a {
    padding: 8px 10px;
    color: #333;
    font-size: 14px;
    letter-spacing: .5px;
    font-weight: 700;
    transition: all ease 0.2s;
}

.stellarnav li li a:hover,
.stellarnav li li.has-sub:hover>a,
.stellarnav.mobile li li.has-sub:hover a {
    color: #5d3919;
    font-weight: bold;
}

.stellarnav ul ul ul {
    left: 100%;
}

.stellarnav li.drop-left ul ul {
    left: auto;
    right: 100%;
}

/*首頁文章*/
.module_i_news {
    padding: 120px 0;
    background: url(https://pic03.eapple.com.tw/0921595812/arbn.jpg) center / cover no-repeat;
}

.module_i_news ul {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

.module_i_news .title_i_box h4 {
    display: none;
}

.module_i_news .title_i_box h6 {
    font-size: 42px;
    font-weight: normal;
    letter-spacing: 4px;
    color: #5d3919;
    font-family: 'Faculty Glyphic';
    text-transform: uppercase;
    line-height: 1;
}

.module_i_news section {
    width: 90%;
    max-width: 1440px;
    z-index: 9;
    position: relative;
}

.module_i_news li,
.subbox_item {
    width: 100%;
    margin: 0;
    border-bottom: none;
    background: #fff;
}

.module_i_news li a,
.subbox_item a {
    display: flex;
    flex-flow: column wrap;
    gap: 0;
}

.i_blog_le,
.blog_list_le {
    padding: 0;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.i_blog_le:after,
.blog_list_le:after {
    content: 'VIEW MORE >';
    font-family: 'Faculty Glyphic';
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    width: 105%;
    height: 105%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: rgba(150, 146, 44, .85);
    opacity: 0;
    transition: all .4s;

}

.module_i_news li a:hover .i_blog_le:after,
.subbox_item a:hover .blog_list_le:after {
    opacity: 1;
}

.i_blog_le img,
.blog_list_le img {
    min-width: 100%;
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.i_blog_ri,
.blog_list_ri {
    display: flex;
    flex-flow: column wrap;
    padding: 20px;
    position: relative;
    justify-content: center;
}

.i_blog_ri h5,
.blog_list_ri h5 {
    font-weight: bold;
    font-size: 19px;
    font-family: 'Noto Serif TC';
    letter-spacing: 1px;
    color: #333;
}

.i_blog_ri em,
.blog_list_ri em {
    font-weight: 700;
    margin: 8px 0 12px;
    letter-spacing: 1px;
}

.i_blog_ri p,
.blog_list_ri p {
    line-height: 155%;
    text-align: justify;
    margin-top: 0;
    letter-spacing: .5px;
}

.module_i_news li a:before,
.module_i_news li a:after {
    content: none;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

.animated-arrow {
    background: #5d3919;
}

#content {
    background: #faf7f5;
}

.main_part {
    width: 90%;
    max-width: 1500px;
    padding: 80px 0 120px;
}

.show_content {
    padding: 0;
}

.path {
    display: none;
}

/*預設解除背景輪播*/
#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 {
    display: flex;
    align-items: flex-end;
    align-content: flex-end;
    position: relative;
    background: none;
    padding: 0;
    min-height: 200px;
}

.banner h5 {
    width: 100%;
    font-size: 32px;
    color: #5d3919;
    font-weight: bold;
    letter-spacing: 6px;
    line-height: 2;
    font-family: 'Noto Serif TC';
}

.banner h5:after {
    content: "LAW . TRUST . FUTURE";
    display: block;
    font-size: 14px;
    font-family: 'Faculty Glyphic';
    font-weight: 400;
    opacity: .35;
    color: #5d3919;
    letter-spacing: 2px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
.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);
}

.blog_subbox:before {
    content: none;
}

.subbox_item a:before,
.subbox_item a:after {
    content: none;
}

h5.blog_le_t {
    display: none;
}

.blog_le .accordion {
    border-radius: 0;
    background: #fff;
}

.accordion li .link a {
    color: #444;
    font-weight: bold;
    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: #96922c !important;
}

.blog_le .accordion>li.open,
.blog_le .accordion>li.on_this_category {
    background: #aaa654 !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';
    color: #444;
    letter-spacing: 0px;
    font-weight: 600;
    padding: 12px 12px 12px 36px;
    border-left: #f2edea 0 solid;
    transition: all .15s;
}

.submenu li.on_this_category a,
.submenu a:hover {
    background: #f2edea;
    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: 10px 36px 10px 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: 26px;
    color: #222;
    font-family: 'Noto Serif TC';
}

.blog_box_edit {
    color: #444;
    font-size: 16px;
}

.blog_box_edit * {
    line-height: 170%;
}

.blog_box_edit .edit {
    margin: auto;
    padding: 30px 0;
}

.blog_back {
    width: 100%;
    margin: 0 auto;
    grid-gap: 10px;
    justify-content: center;
}

.blog_back a {
    width: 100%;
    font-weight: 700 !important;
}

.blog_back a:hover {
    color: #fff !important;
    background: #96922c !important;
}

.blog_back a.article_btn_next,
.blog_back a.article_btn_prev,
.blog_back a.article_btn_back {
    background: transparent;
    color: #96922c;
    border: 1px solid #96922c;
    transition: all .3s ease;
}

.news_related {
    padding: 60px 0;
    background: #f2edea;
}

.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: #96922c;
    margin: 40px auto 20px;
}

.news_related h6 span:before {
    color: #666;
    font-family: 'Noto Serif TC';
}

.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;
    color: #666;
    font-weight: bold;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*聯絡*/
.contact_form li:nth-last-of-type(3)>.form__label:after {
    content: '（請簡單敘述案件概況，預約時間範例：12/1 13:00、12/3 11:00、12/4 16:00）';
    color: #777;
}

.contact_form li:nth-last-of-type(-n+2) {
    width: calc(50% - 10px);
}

.information_left,
.information_right,
.contact_content {
    padding: 0;
    font-family: 'Noto Serif TC', serif;
}

.blank_letter {
    padding-top: 0;
    font-family: 'Noto Serif TC', serif;
    color: #333;
    letter-spacing: 1px;
}

.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: 0;
    color: #333;
}

/*
.contact_form li:nth-of-type(-n+3) {
    width: calc((100% - 40px) / 3);
}
*/

.contact_form li.last {
    margin-top: auto;
    margin-bottom: 0;
}

.contact_form li input.noborder,
.contact_form li textarea.noborder {
    background: #fff;
    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: #333;
    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: 316px;
}

.contact_content .information_right {
    width: calc(100% - 316px);
    padding-left: 100px;
}

.contact_form li .form__insert {
    line-height: 165%;
}

.contact_form li.last cite {
    background: #96922c;
}

.contact_form li.last blockquote,
.contact_form li.last cite {
    border-color: #96922c;
}

.contact_form li.last blockquote,
.list_before {
    color: #333;
}

.list_before.info li:before {
    letter-spacing: 0 !important;
}

.list_before.info li {
    padding-left: 40px;
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer*/
.footer_info li p a {
    position: relative;
    font-size: 0;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_info li p a:before {
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    color: #fff;
    font-size: 18px;
    opacity: .5;
    position: absolute;
    transition: all ease 0.3s;
}

.footer_info li p a:hover:before {
    opacity: 1;
}

.footer_info li p.tel a:before {
    content: "\f095";
}

.footer_info li p.mail a:before {
    content: "\f0e0";
}

.footer_info li p.add a:before {
    content: "\f3c5";
}

.footer_info li p.mail {
    order: 1;
}



.footer {
    background: #05080e;
    font-family: "Noto Serif TC", sans-serif;
    padding: 70px 0 0;
}

.footer_logo {
    margin: -30px 0 50px;
    max-width: 275px;
}

.footer_logo img {
    max-width: 100%;
    display: block;
}

.footer .center {
    max-width: 1600px;
    padding: 0 6%;
}

.footer_menu a:first-child {
    display: none;
}

.footer_info {
    font-family: 'Noto Serif TC', serif;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    position: relative;
}

.footer_info,
.footer_info li {
    padding: 0;
}

.footer_info ul {
    display: flex;
    width: 50%;
    letter-spacing: 0;
}

.footer_info li:nth-child(1) {
    display: flex;
    flex-flow: row wrap;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    gap: 10px;
}

.footer_info li p,
.footer_info li p a,
.footer_menu a {
    color: #fff;
    font-weight: 700;
    transition: all ease 0.3s;
}

.footer_info li p {
    display: block;
}

.footer_info li:nth-child(2) {
    width: 100%;
    position: relative;
}

.footer_menu {
    width: max-content;
    float: right;
}

.footer_menu a {
    padding: 8px 12px 10px;
    border: none;
    background: transparent;
    margin: 0;
    margin-left: 8px;
    line-height: 1;
}

.footer_menu a:hover {
    background: #5d3919;
    color: #fff;
}

.copy,
.copy a,
.copy a:hover {
    color: rgba(255, 255, 255, .5);
    font-family: 'Noto Serif TC', serif;
}

.privacyLinks a+a {
    border-color: rgba(255, 255, 255, .5);
}

.copy {
    justify-content: flex-end;
    text-align: right;
    padding: 5px 6% 80px;
    border-top: none;
    max-width: 1600px;
    margin: 0 auto;
}

.box_link,
.footer_info li p:before {
    display: none;
}

@media screen and (max-width: 1024px) {
    .module_i_news ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer_menu {
        position: static;
        width: 100%;
    }

    .footer_info ul {
        gap: 20px;
        padding: 0;
        flex-direction: column;
        width: 100%;
    }

    .footer_menu a {
        margin-left: -12px;
        margin-right: 16px;
    }

    .copy {
        text-align: left;
        justify-content: flex-start;
        padding: 5px 5% 60px;
    }

    .footer .center {
        padding: 0 5%;
    }

    .footer_info li+li {
        margin-top: 0;
    }

    .footer_info li:nth-child(2) {
        width: 100%;
    }

    .footer_info li:nth-child(1) {
        position: static;
        transform: none;
    }

    .navigation {
        gap: 0;
    }

}


@media screen and (max-width: 768px) {
    .privacyLinks {
        margin: 0;
    }

    .privacyLinks a {
        padding: 0 5px 0 0;
    }

    .privacyLinks a:last-of-type {
        padding: 0 0 0 5px;
    }

    .footer_logo {
        margin: 0;
    }

    .module_i_news ul {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }

    .module_i_news .title_i_box h6 {
        font-size: 32px;
    }

    .module_i_news {
        padding: 60px 0;
    }

    .module_i_news_list {
        padding: 0 0 20px;
    }

    .footer.with_shopping_mode {
        padding: 40px 0;
    }

    #to_top {
        bottom: 68px;
    }

    /*校稿*/
    .stellarnav.mobile>ul {
        background: #05080e;
        border-top: none;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: #9b6941;
    }

    .stellarnav a {
        color: #fff;
    }

    .stellarnav .icon-close:before,
    .stellarnav .icon-close:after {
        border-color: #fff;
    }

    .stellarnav.mobile.left>ul {
        border-right: none;
        box-shadow: 0 0 15px rgba(0, 0, 0, .25);
        margin: 0;
    }

    .stellarnav>ul>li {
        height: auto;
    }

    .stellarnav a.dd-toggle .icon-plus:before,
    .stellarnav a.dd-toggle .icon-plus:after {
        border-color: #fff;
    }

    .stellarnav>ul>li>a,
    .stellarnav>ul>li.has-sub>a:not(.dd-toggle),
    .stellarnav.mobile>ul>li>a {
        padding: 10px 44px 10px 10px;
        border-bottom: none;
        line-height: 150% !important;
        margin: 0 4px;
    }

    .stellarnav li li {
        border-bottom: none;
        text-align: left;
    }

    .stellarnav.mobile li li:last-of-type a {
        border-bottom: none;
    }

    .stellarnav .menu-toggle:after {
        color: #fff;
    }

    .stellarnav .menu-toggle span.bars span {
        background: #fff;
    }

    .stellarnav.mobile li.open {
        background: #23372D;
    }

    .stellarnav .menu-toggle {
        padding: 16px 10px;
    }

    .main_header_area .container {
        padding: 0;
    }

    .stellarnav.mobile>ul>li {
        border-color: rgba(255, 255, 255, .25);
    }

    .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) {
        padding: 10px 13px;
    }

    .stellarnav.mobile>ul>li>a.dd-toggle {
        padding: 7px;
    }

    .stellarnav.mobile>ul>li.open>a.dd-toggle {
        margin-top: 5px;
    }

    .stellarnav>ul>li>a b:last-of-type {
        position: static;
    }
}