@charset "utf-8";
/*錢冠頤律師事務所*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*預設解除背景輪播*/
#content_main, #content{
    background: #faf9f6;
    margin:0;
}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.swiper-slide img { height:auto;} 
.me_tp_features{display: none;}


/*版面*/
.contact_page .main_part{
    width: 100%;
    max-width: 78%;
    margin: auto;
    padding: 16% 0 6% 0;
}
.main_part{
    width: 100%;
    max-width: 78%;
    margin: auto;
    padding: 16% 0 6% 0;
}

/*抬頭*/
.header_area .navigation {
    grid-template-columns: 280px 1fr;
    grid-gap: 0;
}
.header_area.sticky .navigation {
    grid-template-columns:  280px 1fr;
    grid-gap: 0;
}
.nav-brand {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.nav-brand::after {
    position: relative;
    font-family: "Roboto", sans-serif;
    content: 'Chien Kuan Yi Law Firm';
    font-weight: 200;
    color: #8f8f8f;
    font-size: 17px;
    letter-spacing: 1px;
    left: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: tracking-in-expand 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
.nav-brand h1 {
    color: #202020;
    font-size: 30px;
    letter-spacing: 3px;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 500;
    transition: ease .3s;
    margin: 0;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: unset;
    z-index: 9999;
    position: relative;
    text-indent: inherit;
    -webkit-font-smoothing: antialiased;/*平滑*/
    -moz-osx-font-smoothing: grayscale;/*平滑*/
    animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.nav-header{
    max-width: 100%;
    width: 100%;
    justify-content: flex-start;
}
.nav-brand img{
    display: none;
}
.header_area{
    position: fixed;
    background: #FAF9F6;
    padding: 0.5% 0;
    transition: 0.5s;
}
/*選單裝飾線*/
.header_area::before{
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg,#999999, #202020, #999999);
    animation: linetop 1s ease-in-out forwards;
    z-index: 2;
}
@keyframes linetop {
    0% {
        width: 0;
        left: 50%;
    }
    100% {
        width: 100%;
        left: 0;
    }
}
.header_area.sticky{
    position: fixed;
    background: #FAF9F6;
}
.header_area.sticky .nav-header{
    max-width: 100%;
    width: 100%;
}


/* 預設先隱藏，並設定動畫 */
.stellarnav > ul > li > a {
    opacity: 0;
    animation: fadeInDown 0.3s ease forwards;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 緊密銜接的登場順序 (1 ~ 5) */
.stellarnav > ul > li:nth-child(2) > a { animation-delay: 0.05s; }

.stellarnav > ul > li:nth-child(3) > a { animation-delay: 0.13s; }
.stellarnav > ul > li:nth-child(4) > a { animation-delay: 0.21s; }
.stellarnav > ul > li:nth-child(5) > a { animation-delay: 0.29s; }
.stellarnav > ul > li:nth-child(6) > a { animation-delay: 0.37s; }
.stellarnav > ul > li:nth-child(7) > a { animation-delay: 0.45s; }
/*當滑鼠沒點選文字變淺*/
.stellarnav ul.anchorList:hover > li > a:not(:hover) {
    opacity: 0.3 !important;
    transition: opacity 0.3s ease;
}
.stellarnav ul.anchorList > li > a:hover{
    font-weight: 400;
    opacity: 1 !important;
}
.stellarnav > ul > li > a{
    margin: 0 16px;
    font-weight: 400;  
    font-size: 16px;    
    letter-spacing: 1px;
    font-family: "Noto Sans TC", sans-serif;
    color: #202020;
    transition: ease .3s;
     -webkit-font-smoothing: antialiased; /*平滑效果*/
    -moz-osx-font-smoothing: grayscale;/*平滑效果*/
}
.header_area.sticky .stellarnav > ul > li > a b{
    margin: 0 16px;
    color: #202020;
    font-size: 15px;
    letter-spacing: 2px;
    font-family: "Noto Sans TC", sans-serif;
    transition: ease .3s;
}
.stellarnav{
    padding: 1% 0;
}
.main_header_area .container{
    width: 100%;
    max-width: 90%;
    text-align: center;
}
.stellarnav > ul > li {
    display: inline-block;
}

/*大圖*/
.swiper-wrapper .swiper-slide{
    position: relative;
}
/*線條裝飾*/
.pageIndex .swiper-banner .swiper-slide:nth-child(1)::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg,#999999, #202020, #999999);
    animation: lineGrow 1s ease-in-out forwards;
    z-index: 2;
}
/*線條裝飾*/
.pageIndex .swiper-banner .swiper-slide:nth-child(2)::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg,#999999, #202020, #999999);
    animation: lineGrow 1s ease-in-out forwards;
    z-index: 2;
}
@keyframes lineGrow {
    0% {
        width: 0;
        left: 50%;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

/*內頁BANNER 設定*/
.banner {
    display: none;
}
.path{
    display: none;
}
.banner h5 {
    display: none;
}



/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}
.product_page .main_part { max-width:1500px;}
.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}
.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#ad925e;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 0px;}
.product-layer-two > li ul > li + li { margin-top:5px;}
.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}
.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#ad925e;}
.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}

/*聯絡我們*/
.contact_form li.last cite{
    background: #afafaf;
    color: #333333;
}
.contact_form li.last blockquote {
    color: #333333;
    border: 1px #3333336e solid;
}



@media screen and (max-width: 1600px) {
.stellarnav > ul > li > a, .stellarnav > ul > li > a b{
    font-size: 15px;
}
.stellarnav ul {
    text-align: right;
}
.stellarnav > ul > li > a, .stellarnav > ul > li > a b {
    font-size: 15px;
}

}
@media screen and (max-width: 1400px) {


}
@media screen and (max-width: 1280px) {
.nav-brand h1{
    font-size: 24px;
}
.stellarnav > ul > li > a, .stellarnav > ul > li > a b{
    margin: 0 10px;
}



}
@media screen and (max-width: 1024px) {
.main_header_area .container{
    width: 100%;
    max-width: 90%;
}
.stellarnav{
    padding: 0;
}
.stellarnav ul {
    text-align:center;
}
.nav-header {
    max-width: 100%;
    width: 100%;
    justify-content: center;
}

}
@media screen and (max-width: 980px) {
.header_area,.header_area.sticky{
    position: relative;
}

}
@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
.bannerindex { padding:0; margin:0;}
.stellarnav.mobile > ul > li{
    width: 100%;
}
.stellarnav > ul > li > a::before{
    display: none;
}
.stellarnav.mobile.left .close-menu{
    background: transparent;
}
.me_tp_features {
    text-align: center;
    padding-top: 12px;
    margin: 0 0 8px 0;
}
.main_header_area .container{
    width: 100%;
    max-width: 94%;
}
.stellarnav .menu-toggle {
    padding: 10px;
}
.stellarnav.mobile > ul > li > a b:nth-of-type(2){
    display: none;
}
.nav-header h1 {
    max-width: 100%;
    width: 100%;
}
.header_area{
    position: relative;
    padding: 2.6% 0;
}
.stellarnav .menu-toggle {
    padding: 0;
}
.stellarnav .menu-toggle span.bars span{
    width: 20px;
}


/*手機板大圖*/
.pageIndex .swiper-banner .swiper-slide:nth-child(1) img {
    width: 100%;
    max-width: 100%;
    height: 45vh;
    object-fit: cover;
    object-position: 0;
}
.pageIndex .swiper-banner .swiper-slide:nth-child(2) img {
    width: 100%;
    max-width: 100%;
    height: 45vh;
    object-fit: cover;
    object-position: 90%;
}



}
@media screen and (max-width: 600px) {
.main_header_area .container {
    width: 100%;
    max-width: 100%;
}



}

