@charset "utf-8";
/*義誠法律事務所*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');

:root{
    --MainColor:#836300;
    --SubColor:#383635;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1px;
}
#content_main{
    margin-top: 0;
}

/*錨點滾動*/
html { 
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 3px;
}
::-webkit-scrollbar-track { 
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}
::-webkit-scrollbar-thumb {
    background-color: var(--MainColor);
    border-radius: 50px;
}

/*大圖=========================================*/
/*預設解除背景輪播*/
.bannerindex { 
    position:relative; 
    height:auto;
}
.swiper-banner { 
    position:static; 
    margin:0; 
    height:auto;
} 
.swiper-slide img { 
    height:auto;
} 
.swiper-banner .swiper-slide img{
    height: auto;
}

/*RWD*/
@media screen and (max-width: 768px) {
.bannerindex { 
    padding:0; 
    margin:0;
}
}

/*HEADER====================================*/
.pageIndex .header_area {
    position: fixed;
    width: 100%;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(0deg, transparent, #00000052);
    padding: 0;
    box-shadow:unset;
}
.tp_links a { 
    display: none; 
}
.pageIndex .header_area.sticky .main_header_area {
    background: url(https://pic03.eapple.com.tw/masteryang1990/header_bg.png) #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 1px 1px 15px rgba(38,15,1,.2);
    margin: 0px auto;
}
.pageIndex .main_header_area { 
    background: #fff0; 
}
.main_header_area { 
    background: url(https://pic03.eapple.com.tw/masteryang1990/header_bg.png) #fff;
    height: 70px; 
}
.header_area{
    padding: 0;
    box-shadow: 1px 1px 15px rgba(38, 15, 1, .2);
}

@media screen and (max-width: 1024px) {
.main_header_area{
    height: 100px;
}
.pageIndex .header_area{
    position: sticky;
}
.pageIndex .main_header_area{
    background: url(https://pic03.eapple.com.tw/masteryang1990/header_bg.png) #fff;
}
}

@media screen and (max-width: 768px) {
    .pageIndex .header_area{
        position: sticky;
        transition:none;
    }
    .pageIndex .header_area.sticky .main_header_area{
        transition:none;
    }
    .main_header_area{
        height:auto;
    }
}

/*HEADER選單=================*/
.me_tp_features{
    display: none;
}
.tp_links{
    display: none;
}
.navigation{
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pageIndex .stellarnav > ul > li > a {
    letter-spacing: 0.1em;
    margin: 0 5px;
    color: #fff;
    font-family: 'noto serif TC', sans-serif;
    letter-spacing: 2px;
}
.header_area.sticky .stellarnav>ul>li>a {
    color: var(--SubColor);
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    font-family: 'noto serif TC', sans-serif;
    letter-spacing: 2px;
}
.pageIndex .stellarnav > ul > li > a:hover { 
    color: #E8AE00;
    transition: 0.3s; 
}
.stellarnav > ul > li > a:hover { 
    color: #E8AE00;
    transition: 0.3s; 
}
.stellarnav > ul > li > a {
    letter-spacing: 0.1em;
    margin: 0 5px;
    color: var(--SubColor);
    font-family: 'noto serif TC', sans-serif;
    letter-spacing: 2px;
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-left: none;
    border-right:none;
    border-top:none;
}
.stellarnav li li.has-sub > a:after{
    border-left: 0;
    margin: 0 10px;
}
.sticky .stellarnav> ul > li > a:hover {
    color: #E8AE00;
}
.stellarnav ul{
    text-align: right;
}

/*下拉選單*/
.stellarnav ul ul{
    background: var(--SubColor);
}
.stellarnav li li{
    border: none;
}
.stellarnav li li:hover > a, 
.stellarnav li li.has-sub:hover > a {
    color: #fff;
    padding-left: 11px;
    background: var(--MainColor);
    font-weight: 500;
}
.stellarnav li {
    font-size: 14px;
}
.stellarnav li a{
    font-weight: 200;
    color: #ffffff;
}

@media screen and (max-width: 1024px) {
    .stellarnav ul{
        text-align: center;
    }
    .pageIndex .stellarnav > ul > li > a { 
        color: var(--SubColor); 
    }
    .navigation{
        height: auto;
    }
}
@media screen and (max-width: 768px) {
.stellarnav ul{
    margin-top: 0px;
    height:auto;
}
.header_area.sticky .stellarnav>ul>li>a{
    color:var(--SubColor);
}
.stellarnav li a{
    font-weight: 400;
    color: #222;
}
}

/*選單最大寬度設定*/
.main_header_area .container{
    max-width: 90%;
    transition: 0.3s;
}

/*LOGO*/
.nav-brand{
    width: 200px;
    position: relative;
    top: 3px;
}
.pageIndex .nav-brand{
    width: 200px;
    position: relative;
    top: 3px;
    filter: brightness(20);
}
.pageIndex .sticky .nav-brand{
    filter: none;
}

@media screen and (max-width: 1024px) {
.pageIndex .nav-brand{
    filter: none;
    top: 5px;
}
}
@media screen and (max-width: 768px) {
    .pageIndex .nav-brand{
        top: 3px;
    }
}

/*側邊按鈕============================*/
.linksBtn{
    background-color: var(--MainColor);
}
.info_fix{
    bottom: 125px;
    display: flex;
}
.info_fix:hover>.linksBtn{
    background: #5a4300;
}

@media screen and (max-width: 768px) {
    .info_fix{
        bottom: 170px;
    }
}

/*第二層*/
.info_fix_links a{
    background: var(--MainColor);
}
.info_fix_links a:hover{
    background: #5a4300;
}
a.info_fix_default.info_fix_mail{
    display:none;
}

/*TO TOP*/
#to_top{
    bottom: 80px;
    right:25px;
    background: var(--MainColor);
    box-shadow: unset;
    color: #ffffff;
    left:unset;
    width: 40px;
    height: 40px;
    font-size: 10px;
    padding-top: 7px;
}
#to_top i.top{
    height: 10px;
}
#to_top i.top:before, 
#to_top i.top:after {
    height: 10px;
    background: #ffffff;
    height: 10px;
    top: 3px;
}
@media screen and (max-width: 768px) {
    #to_top { 
        bottom:125px;
    }
}

/*BANNER==============================*/
.banner.banB{
    display: none;
}
.banner{
    background-image: url(https://pic03.eapple.com.tw/ichenglaw/banner.png);
    min-height: 450px;
    background-size: cover;
    background-repeat: no-repeat;
}
.banner h5{
    color: #fff;
    font-family: 'noto serif TC', sans-serif;
    font-weight: normal;
    font-size: 30px;
    display: flex;
    flex-direction: column;
}
.banner h5:after {
    content: '';
    width: 1px;
    display: block;
    left: 50%;
    position: absolute;
    height: 180px;
    background: #fff;
    margin-top: 80px;
}
.banner h5:before{
    content: 'Article';
    font-family: 'Yeseva One';
    font-size: 18px;
}


/*首頁文章=============================*/
.module_i_news01 .title_i_box:before{
    content: 'News';
    font-size: 50px;
    font-family: 'Yeseva One';
    color: var(--MainColor);
}
.module_i_news02 .title_i_box:before{
    content: 'Case';
    font-size: 50px;
    font-family: 'Yeseva One';
    color: var(--MainColor);
}
.module_i_news01 .title_i_box{
    margin: 70px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.module_i_news02 .title_i_box{
    align-items: center;
    margin: 70px 0 20px 0;
    display: flex;
    flex-direction: column;
}
.module_i_news.module_i_news02{
    background: #eee;
}
.module_i_news ul{
    display: grid;
    gap: 10px;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.module_i_news ul li{
    flex: 1;
}
.module_i_news_list, .module_i_news_list.swiper{
    padding: 30px 0;
}
.module_i_news .title_i_box h6{
    font-size:40px;
    color: #333;
    font-weight: 500;
    font-family: "Jost", sans-serif;
}
.module_i_news .title_i_box h4{
    font-size: 25px;
    font-weight: normal;
    color: #333333;
    font-family: 'noto serif TC', sans-serif;
}
.i_blog_ri{
    width: 100%;
}
.i_blog_le{
    width: 100%;
}
.i_blog_ri h5{
    font-family: 'noto serif TC', sans-serif;
}
.module_i_news li a:before{
    content: 'READ MORE';
    text-align: center; 
    background: transparent; 
    font-size: 16px; 
    letter-spacing: 1px; 
    color: #fff; 
    padding: 8px 5px; 
    top: 50%;
    left: 50%;
    width: 150px;
    height: 40px;
    transform: translate(-50%, -50%) scale(0, 0);
    font-family: 'Yeseva One';
}
.module_i_news li a:hover:before{
    opacity: 1;
    width: 100%;
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 500ms;
}
.module_i_news li a:after{
    content: '';
    background: #888888be; 
    border: 1px #fff solid;
    width: 0;
    backdrop-filter: blur(5px);
}
.module_i_news li a:hover:after{
    opacity: 1;
    width: 100%;
}
.module_i_news li{
    border-bottom: none;
}
.animated-arrow{
    background: transparent;
    color: var(--MainColor);
    border: 1px solid var(--MainColor);
}
.module_i_news li a{
    display: flex;
    flex-direction: column;
}

/*RWD*/
@media screen and (max-width:768px) {
    .module_i_news ul{
        gap: 10px;
        padding: 20px;
    }
    .animated-arrow{
        margin-bottom: 30px;
    }
}
@media screen and (max-width:600px) {
    .module_i_news ul{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    .module_i_news .title_i_box{
        margin-top: 30px;
    }
}
@media screen and (max-width:320px) {
    .module_i_news ul{
        display: block;
    }
}

/*文章管理=============================*/
.blog_page .main_part { 
    max-width: 1500px; 
}
.blog_le{
    position: sticky;
    display: inline-block;
    top: 120px;
}
.blog_le .accordion>li:hover .link { 
    background: #a5a5a5; 
}
.blog_list_ri { 
    width: 100%; 
}
.blog_list_ri:after {
    content: 'READ MORE >';
    display: block;
    background: transparent;
    color: #000;
    letter-spacing: 1px;
    opacity: 1;
    left: 0;
    position: relative;
    padding: 0 22px 0 0;
    font-size: 12px;
    line-height: 12px;
}
.blog_list_ri em { 
    display: none; 
}
.blog_list_ri h5 {
    position: relative;
    margin: 10px 0 0;
    font-size: 18px;
    letter-spacing: 0.035em;
    font-family: 'noto serif TC', sans-serif;
}
.blog_list_ri p {
    color: #595959;
    margin: 15px 0 0;
    font-size: 14px;
    letter-spacing: 0.035em;
    width: 100%;
    padding: 0;
    margin: 10px 0;
    padding-top: 8px;
    -webkit-line-clamp: 2;
}
.blog_list_le {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 9 / 9;
    overflow: hidden;
    padding-bottom: 0;
    width: 100%;
}
.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);
}
.blog_back a.article_btn_back { 
    background: var(--SubColor);
    color: #fff;
}
.blog_back a.article_btn_prev, 
.blog_back a.article_btn_next {
    background: var(--MainColor);
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.blog_back a.article_btn_prev:hover, 
.blog_back a.article_btn_next:hover {
    background: #444;
    color: #FFF;
}
.blog_search input[type=search] { 
    border-radius: 2px;
 }
.blog_le .accordion { 
    border-radius: 2px;
 }
.blog_subbox.clearfix {
    margin: 0 auto;
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
body.blog_page .clearfix:before,
body.blog_page .clearfix:after { 
    display: none;
}
.blog_subbox{
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.subbox_item {
    background-color: transparent;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: none;
}
.subbox_item a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    grid-gap: 0px;
    background: #eee;
    padding: 15px;
    border-bottom: 5px solid var(--MainColor);
}
.subbox_item a:before { 
    display: none; 
}
.subbox_item a:after { 
    display: none; 
}
.subbox_item:hover img {
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    width: 100%;
    transition: all 0.4s ease;
}

/*RWD*/
@media screen and (max-width: 1494px) {
    .blog_subbox{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}
@media screen and (max-width: 1024px) {
	.blog_subbox.clearfix {
        margin: 0 auto;
        display: grid;
        grid-gap: 30px;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .blog_subbox{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
@media screen and (max-width: 768px) {
    .blog_subbox.clearfix {
        margin: 0 auto;
        display: grid;
        grid-gap: 10px;
        grid-template-columns: 1fr 1fr;
    }
    .blog_le{
        position: relative;
        top: 0px;
    }
}
@media screen and (max-width: 425px) {
    .blog_subbox.clearfix {
        grid-template-columns: 1fr;
    }
}

/*文章分類ARTICLE*/
h5.blog_le_t em {
    font-size: 20px;
    letter-spacing: 0.1em;
    font-family: 'noto serif TC', sans-serif;
}
h5.blog_le_t span { 
    font-size: 20px; 
    font-family: 'Jost', sans-serif;
}
h5.blog_le_t, 
h4.blog_category_title {
    font-size: 25px;
    margin-bottom: 10px;
}
.blog_le .accordion > li:hover .link, 
.blog_le .accordion > li.on_this_category .link {
    color: #fff !important;
    background: var(--SubColor);
    transition: 0.3s;
}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category{
    background: var(--SubColor)!important;
}
.submenu li.on_this_category a, .submenu a:hover{
    background: var(--MainColor);
}
.blog_le .accordion > li:hover .link a, 
.blog_le .accordion > li.on_this_category .link a{
    color: #fff !important;
}

/*第二層*/
.blog_shareData{
    justify-content: flex-end;
}
.news_related{
    display: none;
}
.articel_mainPic img{
    max-width: 50%;
}

/*聯絡我們=============================*/
.contact_content {
    padding: 0;
}
.contact_content .information_right {
    width: 100%;
    padding: 0px 350px 50px 350px;
}
.contact_le_map { 
    display: none; 
}
.information_left.fadeInLeft.animated15.clearfix {
    display: none;
}
.list_before {
    margin-top: 0px;
    margin-bottom: 15px;
}
.list_before.info {
    max-width: 100%;
}
.list_before.info iframe {
    width: 100%;
    height: 50%;
}
.list_before.info li:last-child {
    padding-left: 41px;
    margin-top: 5px;
}
.list_before.info li:first-child {
    margin-top: 15px;
}
.blank_letter {
    text-align: center;
    padding: 1% 1% 1% 1%;
    color: #595656;
    font-weight: normal;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-bottom: 1px solid;
}
.list_before.info li, .list_before.info li:last-child {
    padding-left: 55px;
}
.contact_form li.last cite{
    background: var(--MainColor);
}
.contact_form li.last blockquote, 
.contact_form li.last cite{
    border: 1px var(--MainColor) solid;
}
.contact_form li.last{
    text-align: center;
    margin-top: 50px;
    justify-content: center;
}
.contact_form li:has(input[type=radio]) .form__insert {
    display: flex;
    gap: 5px;
}
.contact_form li .form__label { 
    padding-right: 5px;
}

@media screen and (max-width: 1440px) {
    .contact_content .information_right{
        padding: 0px 250px 50px 250px;
    }
}
@media screen and (max-width: 1024px) {
    .contact_content .information_right{
        padding: 0px 150px 50px 150px;
    }
}
@media screen and (max-width: 768px) {
    .contact_content .information_right{
        padding: 0 20px 0 20px;
    }
}
@media screen and (max-width: 600px) {
    .contact_form li .form__label{
        background: transparent;
        padding:0;
    }
}

/*FOOTER==============================*/
.footer{
    background: url(https://pic03.eapple.com.tw/masteryang1990/header_bg.png) var(--SubColor);
    box-shadow: 0 0 6px rgb(0 0 0 / 60%);
}
.footer_logo{
    display: block;
    max-width: 100%;
    margin: 0;
    filter: brightness(20);
}
.footer_menu {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px; 
}
.footer .center{
    max-width: 80%;
    width: 100%;
}
.footer_info ul {
    display: flex;
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.footer_info{
    grid-template-columns: 250px 1fr;
    padding-right: 0;
    align-items: center;
}
.footer_menu a{
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    padding: 10px;
    margin:0;
    text-align: center;
    border: 1px solid var(--MainColor);
    font-family: 'noto serif TC', sans-serif;
}
.footer_menu a:nth-child(1){
    display: none;
}
.footer_info li p {
    color: #fff;
    font-size: 15px;
    font-family: 'noto serif TC', sans-serif;
}
.footer_info li p  a{
    color: #fff;
}
.copy{
    padding: 15px 0;
    border-top: none;
    color: #fff;
    letter-spacing: 1px;
    background:var(--MainColor);
}
.copy a {
    color: #fff;
}
.box_link{
    display: none;
}
.footer_menu a:hover{
    background: var(--MainColor);
    transition: 0.3s;
}
.footer_info li p.line:before{
    content: 'Line ID｜';
}
.footer_info li p.tel:before{
    content: '電話｜';
}
.footer_info li p.mail:before{
    content: '信箱｜';
}
.footer_info li p.add:before{
    content: '地址｜';
}

@media screen and (max-width: 1200px) {
.footer_info {
    grid-template-columns: 1fr;
    padding: 0;
}
.footer_info ul{
    justify-content: space-between;
}
.footer_logo{
    display: none;
}
}
@media screen and (max-width: 768px) {
    .bannerindex { 
        padding:0; 
        margin:0;
    }
    .footer_info ul{
        flex-direction: column;
    }
    .footer_logo{
        display: block;
        width: 50%;
        position: relative;
        left: 25%;
    }
    .footer_menu{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .footer{
        padding: 30px 0 54px;
    }
}
@media screen and (max-width: 600px) {
    .footer_menu{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (max-width: 425px) {
    .footer_menu{
        grid-template-columns: 1fr 1fr;
    }
}

/*手機版選單============================*/
.stellarnav .menu-toggle:after{
    display: none;
}
.stellarnav .menu-toggle{
    padding: 16px 0;
}
.stellarnav .menu-toggle span.bars span{
    background: var(--SubColor);
    height: 1px;
    width: 30px;
}

/*第二層*/
.stellarnav.mobile.left .close-menu{
    background: var(--SubColor);
    color: #fff;
}
.stellarnav .icon-close:before{
    border-bottom: solid 3px #fff;
}
.stellarnav .icon-close:after{
    border-bottom: solid 3px #fff;
}
