/*基本設定*/

@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);


html, body{

}

body {
    font-family: "Roboto", sans-serif, '微軟正黑體', sans-serif,'Noto Sans TC';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f1f1f1; 
    color: #333333;
    width: 100%;
    padding: 0;
    overflow-x: hidden;
    animation: fadeInAnimation ease 0.5s ;
    animation-iteration-count: 1; 
    animation-fill-mode: forwards; 
}
@keyframes fadeInAnimation { 
    0% { 
        opacity: 0; 
    } 
    100% { 
        opacity: 1; 
     } 
}

div{
    box-sizing: border-box;
}
div img{
    width: 100%;
    height: auto;
}
button{
    border: 0;
    background-color: #fff;
    border-radius: 0;
    padding: 0;
    line-height: 1;
}
.w1180{
    width: 95%;
    max-width: 1180px;
    padding: 0.5rem;
    margin: 0 auto;
}
.btn{
    background-color: #4d4d4d;
    padding: 6px 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    display: block;
    clear: both;
    float: none;
}
.btnbox:hover{
    opacity: 0.8;
}
.align-items{
    justify-content: center;
    align-items: center;
    align-self: center;
}
.line{
    padding: 1rem;
}


/*基本設定*/
header{
    background-color: #e5e5e5;
}
/*logo設定*/
.logobox{
    padding-bottom: 1rem ;
    padding-top: 2rem;
    position: relative;
    background-color: #e5e5e5;
    box-sizing: border-box;
    width: 100%;
    top: 0;    left: 0;    right: 0;
    z-index: 90;
    position: fixed;
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.logo{
    max-width: 200px;
    margin:  0 auto;
}
.logoFixed{
    background-color: #ffffff;
    transition: 2.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    top: 0;
    width: 100%;
    z-index: 95;
}

/*logo設定*/

/*漢堡 */

.burger{
    cursor: pointer;
    width: 2.8rem;
    height: 1.5rem;
    left: 1.5rem;
    top: 2rem;
    position: fixed;
    cursor: pointer;
    z-index: 50;
}
.burger::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #c4a46b;
    clip-path: polygon(0% 0%, 100% 0%, 100% 15%, 0% 15%, 0% 43%, 100% 43%, 100% 58%, 0% 58%, 0% 85%, 70% 85%, 70% 100%, 0% 100%);
    top: 0; right: 0; left: 0; bottom: 0;
    z-index: 9;
}

/*漢堡 */
/*側邊選單設定*/

.sidemenu{
    width: 0px;
    background-color: #c4a46b;
    height: 100%;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    padding-top: 2rem;
    transition:  0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    z-index: 110;
    opacity:1;

}
.sidemenu2{
    padding-top: 2rem;
    width: 280px;
    opacity: 1;
    transition:  0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86);

}
/*蓋板*/
.overlay{
    display: block;
    position: fixed;
    top: 0; right: 0; left: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffffb3;
    z-index: 100;
    opacity: 0;
    display: none;
    transition:  0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.overlay2{
    display: block;
    width: 100%;
    opacity: 1;
    transition:  0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);

}
/*蓋板*/
/*側邊選單關閉按鈕 */
.closeBtn{
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    position: relative;
    opacity: 1;
    margin-left: 1.5rem;
}
.closeBtn::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    clip-path: polygon(8% 0, 0 7%, 42% 51%, 0 92%, 8% 100%, 49% 59%, 92% 100%, 100% 93%, 58% 50%, 100% 8%, 93% 0, 50% 42%);    top: 0; right: 0; left: 0; bottom: 0;
    z-index: 9;
}
/*側邊選單關閉按鈕 */
.sidemenu>ul {
    margin-top: 1.5rem;
}
.sidemenu>ul li:hover{
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.4);
}
.accordion .link {
    cursor: pointer;
    padding: 15px 15px 15px 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid #fff;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.accordion li:last-child .link { border-bottom: 0; }

.accordion li b {
    background-color: #fff;
    width: 10px;
    height: 10px;
    margin-left: 4px;
    margin-top: 4px;
    clip-path: polygon(0% 25%, 25% 25%, 50% 54%, 75% 25%, 100% 25%, 50% 80%);
    position: absolute;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.accordion li b.fa-chevron-down {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}

.accordion li.open .link { background-color: rgba(255, 255, 255, 0.4);color: #c4a46b;}

.accordion li.open b { background-color: #c4a46b;}

.accordion li.open b.fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* Submenu-----------------------------*/

.submenu {
    display: none;
    background: #c4a46b;
    font-size: 14px;
    border-bottom: 1px solid #fff;
}


.submenu a {
    font-size: 0.95rem;
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 12px;
    padding-left: 42px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.sidemenu ul li {
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    box-sizing: border-box;
    margin: 0;
    margin-left: 6rem;
    opacity: 0;
    transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
    
}
.sidemenu ul li span{
    font-size: 0.8rem;
    font-family: Source Serif Variable;
}

.sidemenu2 ul li {
    animation: move 0.5s ;
    animation-fill-mode:forwards;
    
}

.sidemenu2 ul li:nth-of-type(1) {animation-delay: 0.2s;} 
.sidemenu2 ul li:nth-of-type(2) {animation-delay: 0.3s;}
.sidemenu2 ul li:nth-of-type(3) {animation-delay: 0.4s;}
.sidemenu2 ul li:nth-of-type(4) {animation-delay: 0.5s;}
.sidemenu2 ul li:nth-of-type(5) {animation-delay: 0.6s;}
.sidemenu2 ul li:nth-of-type(6) {animation-delay: 0.7s;}
.sidemenu2 ul li:nth-of-type(7) {animation-delay: 0.8s;}
.sidemenu2 ul li:nth-of-type(8) {animation-delay: 0.9s;}


@keyframes move {
    from {margin-left: 6rem; opacity: 0;}
    to {margin-left: 0; opacity: 1;}
    }





/*側邊選單設定*/


/*主選單設定*/
.menu{
    margin-top:  100px;
}
.menu>ul{
    display: flex;
    text-align: center;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    font-weight: bold;
    line-height: 1.5;
    font-size: 1rem;
}
.menu>ul>li>a span{
    font-family: Source Serif Variable;
    color: #4d4d4d;
    transition: 0.1s ease-out;
}
.menu>ul>li>a p{
    letter-spacing: 1px;
    color: #4d4d4d;
    transition: 0.2s ease-out;
}
.menu>ul>li{
    position: relative;
    width: auto;
    position: relative;

}
.menu>ul>li::before{
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #c4a46b;
    left: 0;
    bottom: 0;
    opacity: 0;
    transition: 0.5s  cubic-bezier(0.075, 0.82, 0.165, 1);
}
/*
.dropdown-on {
    display: block !important;
}
*/
.menu>ul>li:hover a span,
.menu>ul>li:hover a p
{
    color: #c4a46b ;
}
.menu>ul>li:hover::before{
    opacity: 1;
    width: 100%;
}
.dropdown-toggle{
    cursor: pointer;
}
.menu>ul>li .dropdown{
    display: block;
    position: absolute;
    z-index: 20;
    width: auto;
    min-width: 100%;
    display: none;
}
.menu>ul>li:hover .dropdown{
    display: block;
}
.menu>ul>li .dropdown ul{
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 4px ;
    background-color: #fff;
    margin-top: 4px;
}
.menu>ul>li .dropdown li{
    background-color: #fff;
    padding: 5px;
    box-sizing: border-box;
    white-space:nowrap;
    text-align: start;
    list-style-type: none; 

}
.menu>ul>li .dropdown li a{
    color: #c4a46b;
    display: block;
    border: 0;
    line-height: 2;
    font-size: 0.8rem;
}
.menu>ul>li  .dropdown li:hover{
    background-color: #c4a36b10;
}
/*主選單設定*/
/*麵包屑設定*/
.breadcrumbs {
    background-color: #e5e5e5;
}
.breadcrumbs div{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 4px;
    text-align: right;
}
.breadcrumbs div a,
.breadcrumbs div span{
    font-weight: 600;
    font-size: 0.8em;
    letter-spacing: 2px;
    color: #666;
    text-align: right;
}
.breadcrumbs div a:hover,
.breadcrumbs div span:hover{

}
/*麵包屑設定*/

main{
    background-color: #f1f1f1; 

}

/*banner設定*/
.bannerbox{
    width: 100%;
    position: relative;    
    background: -webkit-linear-gradient(180deg, #e5e5e5 50%,  rgb(242, 242, 242) 50%);
    background: linear-gradient(180deg, #e5e5e5 50%,  rgb(242, 242, 242) 50%);
}
.banner{
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}
.banner .align-items{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    text-align: center;
    z-index: 10;
    position: absolute;
    letter-spacing: 0.2em;
    line-height: 1.5;
    color: #FFF;
    font-size: 2rem;
    font-weight: 600;
    height: 100%;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.3);
}
.banner .align-items h1{
    font-size: 1.5em;
    z-index: 11;
    margin-left: -0.2em;
}
.banner .align-items p{
    font-size: 1em;
    letter-spacing: 1em;
}
.banner .align-items h1,
.banner .align-items p{
    width: 100%;
    position: relative;
}
.banner .align-items h1::before{
    content: "";
    position: absolute;
    display: block;
    width: 60%;
    height: 2px;
    background-color: #fff;
    bottom: 0;
    left: 20%;
}
/*banner設定*/





/*小選單設定*/
.tab_menu{
    position: sticky;
    background-color: #f1f1f1;
    top:107px ;
}
.tab_menu ul{
    display: flex;
    text-align: center;
    justify-content: space-around;
    font-weight: 600;
    color: #4d4d4d;
    width: 100%;
    box-sizing: border-box;
    margin: 0.5em auto;

}

.tab_menu li{
    transition: all 0.3s ease-out;
    width: 100%;
    padding: 0px;
    display: inline-block;
    box-sizing: border-box;


}
.tab_menu li a{
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
    box-sizing: border-box;

}
.tab_menu li:hover{
    opacity: 0.7;
    background-color: #ffffffd5;
}

.tab_menuFixed {
    background-color: #c4a46b;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 8px #4d4d4d41;
    z-index: 35;
}

.tab_menuFixed ul li a{
    color: #f1f1f1;
}
.tab_menuFixed ul li:hover{
    color: #fff;
    background-color: #c4a46b;
    opacity: 0.5;

}
/*小選單設定*/

/*內容設定*/
.contentbox {
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
    margin-top: 40px;
}
.contentbox h2{
    margin-bottom: 32px;
    display: inline-block;
}
/*內容設定*/



/*footer設定*/

footer{
    background-color: #fff;
    box-shadow: 0 4px 8px #333;
    font-size: 1rem;
    color: #808080;
    margin-top: 6rem;
    width: 100%;

    
}
.footer-main{
    padding: 1.5rem 0;
    padding-top: 3rem;
    line-height: 1.6;

}

.footer-main>div{
    display: flex;
    justify-content: space-between;
}
.footer-main .footer-logo{
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}
.footer-main .footer-logo>div:nth-of-type(1){
    width: 220px;
}
.footer-main .footer-logo>div:nth-of-type(2){
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    font-weight: 600;
    line-height: 1;
    
}
.footer-main .footer-logo>div:nth-of-type(2) img{
    width: 180px;
    margin-left: 0.5rem;
}

.footer-main .footer-text>div:nth-of-type(2){
    text-align: right;
}
.footer-main .footer-text span{
    display: inline-block;
}
.footer-main .footer-text span:nth-child(2n){
    margin-left: 1rem;
}
footer>section:nth-of-type(2){
    text-align: center;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 0.8rem;
    width: 100%;
    background-color: #f6f6f6;
}
/*footer設定*/

/*ipad*/
@media (max-width: 912px){

    /*主選單*/
    .menu ul{
        line-height: 1.3;
        font-size: 0.75em;
    }
    
    /*banner設定*/
    .bannerimg{
        height:20vw;
    }
    .bannerimg img{
        object-fit: cover;
        object-position: center;
        height: 100%;
    }
    .banner .align-items{
        font-size: 1.8rem;
    }
    /*banner設定*/


}
@media (max-width: 660px){

    .menu ul{
        display: none;
    }

    /*banner設定*/
    .bannerimg{
        height:23vw;
    }
    .banner .align-items{
        font-size: 1.5rem;
    }
    /*banner設定*/
    .tab_menu li a{
        font-size: 0.85em;
    }

    /*footer設定*/
    footer{
    margin-top: 4rem;
    }
    
    .footer-main{
        padding: 1rem ;
        padding-top: 2rem;
        line-height: 1.5;
        box-sizing: border-box;
    }
    
    .footer-main>div{
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-main .footer-logo{
        margin-bottom: 0.5rem;
        font-size: 1rem;
        line-height: 1;

    }
    .footer-main .footer-logo>div:nth-of-type(1){
        width: 150px;
    }
    .footer-main .footer-logo>div:nth-of-type(2){
        flex-wrap: wrap;      
        padding-left: 1em;      
    }
    .footer-main .footer-logo>div:nth-of-type(2) img{
        width: 120px;
    }
    .footer-main .footer-text{
        font-size: 3vw;
        line-height: 2;
        text-align: center;
    }
    .footer-main .footer-text>div:nth-of-type(2){
        text-align: center;
    }
    .footer-main .footer-text span:nth-child(2n){
        margin-left: 0;
    }
    /*footer設定*/
}
@media (max-width: 520px){

    /*banner設定*/
    .bannerimg{
        height:30vw;
    }
    .banner .align-items{
        font-size: 1.2rem;
    }
    /*banner設定*/
    .tab_menu li a{
        font-size: 0.8em;
    }
    .tab_menu ul{
        flex-wrap: wrap;
        width: auto;    
    }
    .tab_menu li{
        transition: all 0.3s ease-out;
        padding:0;
        display: inline-block;
        margin: 4px auto;
    }
    .tab_menu li:nth-of-type(1){
        width: 55%;
    }
    .tab_menu li:nth-of-type(2){
        width: 45%;
    }
    .tab_menu li:nth-of-type(3){
        width: 35%;
    }
    .tab_menu li:nth-of-type(4){
        width: 35%;
    }
    .tab_menu li:nth-of-type(5){
        width: 30%;
    }
    .tab2_menu ul{
        flex-wrap: nowrap;
    }
    .tab2_menu ul li{
        width: 33%;
    }
}

/*phone*/
@media (max-width: 420px){
    /*banner設定*/
    .bannerimg{
        height:35vw;
    }
    .banner .align-items{
        font-size: 1.2rem;
    }
    .banner .align-items p{
        margin-left: -2px;
        letter-spacing: 2px;
    }
    /*banner設定*/
    .line{
        padding: 0.5rem;
    }

    .btn{
        font-size: 1rem;
    }
    #menu{
        display: none;
    }

    /*logo設定*/
    .logo{
        width: 150px;
    }
    /*漢堡 側邊選單設定*/

    .burger{

        width: 2rem;
        height: 1.2rem;
        left: 1rem;
        top: 2rem;
    }
    /*漢堡 側邊選單設定*/

    /*麵包屑設定*/
    .breadcrumbs {
        margin-top: 93px;
    }

    .breadcrumbs div{
        text-align: left;
    }

    /*麵包屑設定*/

    /*小選單設定*/

    .tab_menu{
        width: 100%;
        top: 93px;
    }
    .tab_menuFixed{
    }
    
    .tab_menuFixed ul li a{
        color: #f1f1f1;
    }


    
}

