@charset "utf-8";
/*銘玥法律事務所*/

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/

:root{
    --MainColor:#E1C7AC;
    --SubColor:#395E67;
}
/*網站字體-------------------------------------*/
body{
    font-family: 'noto sans TC', sans-serif;
}

/*錨點滾動*/
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(--SubColor);
    border-radius: 50px;
}

/*大圖====================================*/
/*預設解除背景輪播*/
#content_main { 
    margin:0;
}
.bannerindex { 
    position:relative; 
    height:auto;
}
.swiper-banner { 
    position:static; 
    margin:0; 
    height:auto;
} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { 
    padding:0; 
    margin:0;
}
}

/*大圖特效*/
.bannerindex .swiper-slide.swiper-slide-active:before {
	content: "";
	position: absolute;
	z-index: 999;
	pointer-events: none;
}
.bannerindex .swiper-slide.swiper-slide-active:after {
	content: "";
	position: absolute;
	z-index: 999;
	pointer-events: none;
}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):after {
	background: url(https://pic03.eapple.com.tw/cyattorneys/01-word.png);
	background-size: contain;
	background-repeat: no-repeat;
	bottom: 35%;
	left: 10%;
	width: 25% !important;
	height: 40% !important;
	background-position: right;
	animation: wave-reveal 4s both;
}
.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):after {
	background: url(https://pic03.eapple.com.tw/cyattorneys/02-word.png);
	background-size: contain;
	background-repeat: no-repeat;
	bottom: 15%;
	right: 10%;
	width: 25% !important;
	height: 40% !important;
	background-position: left;
	animation: wave-reveal 4s both;
}
@keyframes wave-reveal {
	0% {
		clip-path: ellipse(100% 0% at 0% 0%);
	}
	100% {
		clip-path: ellipse(100% 100% at 50% 50%);
	}
}

/*大圖點點*/
.bannerindex {
    --swiper-pagination-color: #fff;
    position: relative;
    height: 50vw;
    max-height: 100vh;
}
.swiper-horizontal>.swiper-pagination-bullets, 
.swiper-pagination-bullets.swiper-pagination-horizontal, 
.swiper-pagination-custom, 
.swiper-pagination-fraction{
    bottom: auto;
    top: 50%;
    left: 2vw;
    width: 25px;
    font-size: 0;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, 
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 3px 8px;
    width: 4px;
    height: 14px;
    border-radius: 2px;
}

/*header---------------------------*/
.pageIndex .header_area{
    position: fixed;
    background: linear-gradient(180deg, #1919197d, transparent);
}
.pageIndex .header_area.sticky{
    background: var(--MainColor);
    transition: 0.3s;
    position: fixed;
    height: 80px;
}
.header_area{
    background:var(--MainColor);
    height: 80px;
}
.header_area.sticky{
    position: fixed;
    background:var(--MainColor);
}

@media screen and (max-width: 1024px) {
    .header_area{
        height: auto;
    }
    .header_area.sticky{
        position: fixed;
        background: var(--SubColor);
        backdrop-filter: none;
    }
    .pageIndex .header_area{
        position: relative;
        background: var(--SubColor);
    }
    .pageIndex .header_area.sticky{
        height: auto;
        background: var(--SubColor);
    }
    .header_area{
        background: var(--SubColor);
    }
}

/*選單*/
.navigation{
    display: flex;
    align-items: center;
}
.pageIndex .sticky .stellarnav > ul > li{
    bottom: 40px;
    position: relative;
    transition: all 0.5s;
}
.stellarnav > ul > li{
    bottom: 40px;
    position: relative;
}
.pageIndex .stellarnav > ul > li{
    bottom: 0px;
    position: relative;
}
.pageIndex .stellarnav > ul > li > a b{
    color: #ffffff;
    font-family: 'Cinzel', 'noto serif TC';
}
.stellarnav > ul > li.has-sub > a{
    padding-right: 0px;
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-left:none;
    border-right:none;
    border-top:none;
}
.pageIndex .sticky .stellarnav > ul > li > a b{
    color: var(--SubColor);
}
.me_tp_features{
    display: none;
}
.stellarnav > ul > li > a b{
    color: var(--SubColor);
    margin: 0 10px;
    font-family: 'Cinzel', 'noto serif TC';
    letter-spacing: 1px;
}
.stellarnav > ul > li > a::before{
    position: absolute;
    content: "";
    width: 0%;
    height: 1px;
    background: var(--SubColor);
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0px);
    transition: .5s;
}
.stellarnav > ul > li:hover > a::before{
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .stellarnav > ul > li > a{
        color: #444;
    }
    .stellarnav ul{
        top: 5px;
        position: relative;
    }
    .stellarnav > ul > li > a b{
        color:#fff;
    }
    .pageIndex .sticky .stellarnav > ul > li > a b{
        color:#fff;
    }
}
@media screen and (max-width: 768px) {
    .pageIndex .stellarnav > ul > li > a b{
        color: var(--SubColor);
    }
    .stellarnav > ul > li > a b{
        margin: 0 5px;
    }
    .pageIndex .sticky .stellarnav ul{
        position: fixed;
        bottom: 0;
    }
    .pageIndex .sticky .stellarnav > ul > li > a b{
        color: var(--SubColor);
    }
    .stellarnav > ul > li > a b{
        color: var(--SubColor);
    }
    .stellarnav > ul > li{
        bottom: 0px;
    }
}

/*第二層*/
.stellarnav ul ul{
    position: absolute;
}
.stellarnav li li{
    background: var(--SubColor);
    border: none;
    border-bottom: 1px solid var(--MainColor);
}
.stellarnav li li a{
    font-size: 15px;
    color: var(--MainColor);
}
.stellarnav li li.has-sub > a{
    padding: 10px;
    font-size: 15px;
}
.stellarnav li.has-sub > a:after{
    content: '+';
    border-bottom:none;
    border-left:none;
    border-top:none;
    top: 47%;
    color: var(--SubColor);
}
.pageIndex .stellarnav li.has-sub > a:after{
    content: '+';
    border-bottom:none;
    border-left:none;
    border-top:none;
    top: 47%;
    color:#fff;
}
.pageIndex .sticky .stellarnav li.has-sub > a:after{
    content: '+';
    border-bottom:none;
    border-left:none;
    border-top:none;
    top: 47%;
    color:var(--SubColor);
}
.stellarnav li.drop-left li.has-sub > a:after{
    border-bottom:none;
    border-left:none;
    border-top:none;
    border-right:none;
}
.stellarnav li li:hover > a , .stellarnav li li.has-sub:hover > a{
    color: var(--MainColor); 
    padding-left:14px;
    background-color: var(--SubColor);
    transition: 0.3s;
    font-weight: bold;
}

/*選單最大寬度*/
.main_header_area .container{
    max-width: 100%;
    width: 90%;
}

/*手機版選單*/
@media screen and (max-width: 768px) {
.stellarnav .menu-toggle{
    padding: 50px 10px;
}
.stellarnav.mobile.right .close-menu, 
.stellarnav.mobile.left .close-menu{
    background: var(--MainColor);
}
.stellarnav .menu-toggle span.bars span{
    margin: 0 auto 5px;
    height: 1px;
    width: 30px;
}
.stellarnav .menu-toggle:after{
    color: var(--MainColor);
    font-family: 'Cinzel';
}
}

/*logo-----------------------------*/
.nav-header{
    max-width: 110px;
    top: 3px;
    position: relative;
}
.pageIndex .sticky .nav-brand{
    filter: none;
    transition: 0.3s;
}
.nav-brand img{
    padding-top: 15px;
    transition: .3s ease-in-out;
}
.pageIndex .sticky.header_area .nav-brand::after{
    content: "";
    position: absolute;
    left: -50px;
    top: -13px;
    background: var(--SubColor);
    width: 210px;
    height: 180px;
    border-radius: 0 0 10px 10px;
    transition: .5s ease-in-out;
    z-index: -1;
}
.header_area .nav-brand::after{
    content: "";
    position: absolute;
    left: -50px;
    top: -13px;
    background: var(--SubColor);
    width: 210px;
    height: 180px;
    border-radius: 0 0 10px 10px;
    transition: .5s ease-in-out;
    z-index: -1;
}
.pageIndex .header_area .nav-brand::after{
    width: 0;
}

@media screen and (max-width: 1024px) {
    .nav-header{
        width: 20%;
        max-width: 80px;
    }
    .nav-brand img{
        padding-top: 0px;
    }
    .pageIndex .sticky.header_area .nav-brand::after{
        display: none;
    }
    .header_area .nav-brand::after{
        display: none;
    }
    .pageIndex .sticky .stellarnav > ul > li{
        bottom: 0;
    }
    .stellarnav.mobile{
        top: 5vw;
    }
    .stellarnav .menu-toggle{
        padding: 0;
        height: 100%;
    }
}

/*側邊按鈕---------------------------*/
.linksBtn{
    background: var(--MainColor);
}
.info_fix{
    bottom: 125px;
    display: flex;
    z-index: 999;
}
/*直接展開*/
.info_fix_links{
    display: flex !important;
}
.info_fix>span{
    display: none;
}

/*第二層*/
a.info_fix_default.info_fix_mail{
    display: none;
}
.info_fix_links a{
    background: var(--SubColor);
    border: 1px solid var(--MainColor);
}
.info_fix_links a:hover{
    background: var(--MainColor);
}
.info_fix:hover>.linksBtn{
    background: var(--MainColor);
}

/*TO TOP*/
#to_top{
    bottom: 95px;
    right:20px;
    background: transparent;
    box-shadow: unset;
    color: var(--MainColor);
    left:unset;
    width: 50px;
    height: 50px;
    font-size: 18px;
    font-family: 'Cinzel';
}
#to_top i.top{
    height: 15px;
}
#to_top i.top:before, 
#to_top i.top:after {
    height: 10px;
    background: var(--MainColor);
    top: 3px;
    width: 1px;
}

/*bottom_menu*/
#bottom_menu li a{
    background: var(--MainColor);
    color: var(--SubColor);
}
#bottom_menu li{
    border-right: 1px solid var(--SubColor);
}

/*banner===============================*/
.banner.banB{
    display: none;
}
.banner{
    background-image: url(https://pic03.eapple.com.tw/cyattorneys/banner.png);
    background-attachment: fixed;
    min-height: 420px;
    background-repeat: no-repeat;
    background-position: top;
}
.banner h5{
    display: flex;
    flex-direction: column;
    font-size:20px;
    color: var(--MainColor);
    font-weight: normal;
    font-family: 'noto serif TC';
    letter-spacing: 1px;
}
.banner.banblog h5:before{
    content: 'Article';
    font-weight: normal;
    font-size: 55px;
    color: var(--MainColor);
    font-family: 'Cinzel';
    top: 10px;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .banner{
        min-height: 350px;
    }
}

/*文章管理===============================*/
h5.blog_le_t em{
    font-family: 'noto serif TC', sans-serif;
    color: var(--SubColor);
}
h5.blog_le_t span{
    font-family: 'Cinzel';
    color: var(--MainColor);
}
.blog_le .accordion>li:hover .link a, 
.blog_le .accordion>li.on_this_category .link a{
    background: var(--SubColor);
    color: var(--MainColor) !important;
}
.blog_le .accordion li.openSub i.fa-chevron-down::before{
    color: var(--MainColor);
}
.fa-chevron-down::before{
    color: var(--MainColor);
}
.blog_page .submenu a{
    color: var(--SubColor);
}
.submenu li.on_this_category a, 
.submenu a:hover{
    background: var(--MainColor);
    color: var(--SubColor);
}
.accordion li .link a{
    font-weight: 400;
    letter-spacing: 1px;
}
.blog_page .main_part { 
    max-width: 1350px; 
}
.blog_le{
    position: sticky;
    display: inline-block;
    top: 120px;
}
.blog_le .accordion>li:hover .link { 
    background: #a5a5a5; 
}
.blog_list_ri { 
    width: 100%; 
    padding: 10px 10px;
}
.blog_list_ri em { 
    display: none; 
}
.blog_list_ri h5 {
    position: relative;
    margin: 10px 0px 10px;
    font-size: 18px;
    letter-spacing: 0.035em;
    color: var(--SubColor);
    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;
}
.blog_list_ri:after {
    content: 'READ MORE >';
    display: block;
    background: transparent;
    color: var(--MainColor);
    letter-spacing: 1px;
    opacity: 1;
    left: 0;
    position: relative;
    padding: 0;
    font-size: 12px;
    line-height: 12px;
    margin-bottom: 10px;
    font-family: 'Cinzel';
}
.blog_list_le {
    display: block;
    position: relative;
    text-align: center;
    height: auto;
    aspect-ratio: 9 / 9;
    overflow: hidden;
    padding-bottom: 0;
    width: 100%;
    border-radius: 5px;
}
.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);
    border-radius: 5px;
}
.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(300px, 1fr));
}
.subbox_item {
    background-color: #fff;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: none;
    padding: 10px;
    box-shadow: 0px 0px 8px 4px var(--MainColor);
    border-radius: 10px;
}
.subbox_item a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    grid-gap: 0px;
}
.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;
}

/*第二層*/
.news_related{
    display: none;
}
.blog_back a.article_btn_back{
    background: var(--MainColor);
    color:var(--SubColor);
}
.blog_back a.article_btn_next{
    background: var(--SubColor);
    color:var(--MainColor);
}
.blog_back a.article_btn_prev{
    background: var(--SubColor);
    color:var(--MainColor);
}