@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
 body {
     font-size: 16px;
     line-height: 1.42857143;
     color: #281600;
     background-color: #fff;
     font-weight: 500;
     
}
body::-webkit-scrollbar{ 
    width:0px;
    display: none;
}

body {
     font-family: "微軟正黑體", "Malgun Gothic", Dotum, Tahoma, sans-serif;
}
a{
    color: #fff;;
}
a:hover{
    text-decoration: none;
}

 .section {
     position: relative;
     -ms-overflow-style: none;
}
 .container {
     position: relative;
     text-align: center;
}
.h-100vh{
    height: 100vh;
}
 .container img {
     max-width: 100%;
     height: auto;

}


/* 導覽列 */
 .navbar{
     background: rgba(0,0,0,0.6);
     box-shadow: 0px 5px 10px rgba(0,0,0,0.4);
}
 .navbar-brand{
     text-align: center;
}
 .navbar-collapse {
     position: relative;
}


.navbar-collapse:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background:#999;
}
.navbar-nav{
    padding-top: 20px;;
}
.navbar-nav li{
    font-size: 18px;
    line-height: 40px;;
}
.navbar-nav li a{
    color: #aaa;
}
.navbar-nav li a:hover{
    color: #fff;
}


 .social_wrapper{
     position: absolute;
     right: 10%;
}
.social_wrapper a{ 
    color: #ddd;
    padding: 0px 15px;
    transition: .3s .2s;
}
.social_wrapper a:hover{

    color: #fff;
    filter: drop-shadow(0px 0px 5px #fff);
    transition: .3s all;
} 

 .nav_wrapper{
     position: fixed;
     z-index: 3;
}


/* 側欄選單 */
 .side_nav{
     position: fixed;
     right: 0px;
     top: 50%;
     padding:10px 50px 10px 30px;
     width: initial;
     list-style: none;
     color: #FFF;
     z-index: 3;
     background: url('../images/aside_bg.png') no-repeat right center;
     background-size: cover;
}


 .side_nav li{
     color: #fff;
     font-size: 18px;;
     line-height: 38px;
     vertical-align: middle;
     text-align: right;
     text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
     z-index: 1;
     
}

.side_nav li::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin-top: 9px;
    border-radius: 10px;
    border: 2px solid #fff;
    right: 15px;
    z-index: 2;
    opacity: 1;
    transition: 1.2s all;     
}
.side_nav li span{
    position: relative;
}
.side_nav li span::before{
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: #fff;
    right: 0px;
    bottom: -2px;
    filter: drop-shadow(0px 0px 3px #fff);
    transition: .3s .2s;
}
.side_nav li::after{
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    margin-top: 14px;
    border-radius: 5px;
    background: #fff;
    right: 20px;
    opacity: 0;
    transition: 1.2s all;    
}
.side_nav li:hover span::before{
    width: 100%;
    transition: .3s all;
}
.side_nav li:hover::after{
    opacity: 1;
    transition: .3s all;
    -webkit-filter:blur(0px);
}

.bg{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
 .bg img{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);   
    display: block;
    bottom: 0px;;
    min-width: 100%;
     
}
/* 段落 section */
.section .row{
    padding: 0px 15px;
}
.section p{
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    font-weight: 100;
    letter-spacing: 1.5px;
    padding: 15px 0px;
    margin: 0px;
}
.section-1 {
    position: relative;
    background: url(../images/main_bg.jpg) no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}
.section-1::after{
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background: url(../images/main_mask.png) no-repeat center center;
    background-size: cover;
    z-index: 2;
    pointer-events: none;
    
}

.section-1 .container .row{
    
    
    
}
.section-1 .container .title{
    position: absolute;
    margin-top: 120px;
    animation-delay: 0.3s;
    
    
}

.section-1 .main_char{
    position: absolute;
    width: 2200px;
    max-width: 400%;
    height: 960px;
    background: url('../images/main_char.png') no-repeat center center;
    background-size: contain;
    left: 50%;
    top: 100%;
    transform: translate(-50%,-90%);
}
.section-1 .main_char::after{
    content: '';
    position: absolute;
    width: 1144px;
    height: 771px;
    left: 50%;
    top: 30%;
    transform: translate(-50%,-50%);
    background: url('../images/main_char_after.png') no-repeat center center;
    background-size: contain;
}
.section-1 .main_char_before{
    position: absolute;
    width: 1028px;
    height: 436px;
    left: 50%;
    bottom: -100px;
    margin-left: -24%;
    background: url('../images/main_char_before.png') no-repeat center center;
    background-size: contain;
    mix-blend-mode: color-dodge;
}
.section-1 .main_light{
    position: absolute;
    width: 1311px;
    height: 1661px;
    top: -50%;
    left: -10%;
    background: url('../images/main_light_top.png') no-repeat center center;
    background-size: contain;
    mix-blend-mode: screen;
    animation: light_flash 5s ease-in-out 0s infinite;
}
.section-1 .main_light_2{
    left: 10%;
    top: -70%;
    animation-duration: 4s;
}
.section-1 .main_light_3{
    left: 30%;
    top: -60%;
    animation-duration: 6s;
}
@keyframes light_flash {
    0%,100%{
        opacity: 0;
        transform: translateY(-25%);
    }
    50%{
        transform: translateY(-5%);
        opacity: 1;
    }
}
.section-1 .feather_l{
    position: absolute;
    width: 310px;
    height: 255px;
    top: 50%;
    left: 10%;
    background: url('../images/feather_1.png') no-repeat center center;
    background-size: contain;
    animation: feather_1 8s ease-in-out 0s infinite;
    opacity: 0;
}
.section-1 .feather_l.f_2{
    left: 30%;
    top: 30%;
    width: 100px;
    animation: feather_1 6s ease-in-out 3s infinite;
}
.section-1 .feather_l.f_3{
    left: 20%;
    top: 40%;
    width: 60px;
    animation: feather_1 10s ease-in-out 5s infinite;
}
.section-1 .feather_r{
    position: absolute;
    width: 183px;
    height: 262px;
    top: 50%;
    right: 10%;
    background: url('../images/feather_2.png') no-repeat center center;
    background-size: contain;
    animation: feather_r 10s ease-in-out 0s infinite;
    opacity: 0;
}
.section-1 .feather_r.f_2{
    right: 20%;
    top: 70%;
    width: 100px;
    animation: feather_r 6s ease-in-out 3s infinite;
}
.section-1 .feather_r.f_3{
    right: 30%;
    top: 30%;
    width: 60px;
    animation: feather_r 10s ease-in-out 5s infinite;
}

@keyframes feather_1 {
    0%{
        opacity: 0;
        transform: translate(0%,0%) rotate(0deg);
    }
    10%{
        opacity: 1;
        
    }
    60%{
        
        opacity: 1;
    }
    70%,100%{
        transform: translate(-150%,-200%) rotate(90deg);
        filter: blur(5px);
        opacity: 0;
    }
}
@keyframes feather_r {
    0%{
        opacity: 0;
        transform: translate(0%,0%) rotate(0deg);
    }
    10%{
        opacity: 1;
        
    }
    60%{
        
        opacity: 1;
    }
    70%,100%{
        transform: translate(150%,-200%) rotate(-90deg);
        filter: blur(5px);
        opacity: 0;
    }
}
.section-1 .particles{
    position: absolute;
    top: 0px;
    pointer-events: none;
}

.section-2 {
    height: 100%;
    min-height: 1000px;
}
.section-2 .container .row:nth-of-type(1){
    padding-top: 80px;
}
.section-2 .container .row:nth-of-type(2){
    padding-top: 60px;
}


.section-3 {
    height: initial;
    min-height: 100vh;
}
.section-3 .equi{
    margin-top: 150px;
}
.carousel-indicators li{
    width: 74px;
    height: 93px;
    background: unset;
    transition: .3s all;
}

.carousel-indicators li:nth-of-type(1){
    background: url('../images/eq_btn1.png') no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(1).active{
    background: url('../images/eq_btn1_on.png')no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(2){
    background: url('../images/eq_btn2.png') no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(2).active{
    background: url('../images/eq_btn2_on.png')no-repeat center top;
    background-size: contain;
}

.carousel-indicators li:nth-of-type(3){
    background: url('../images/eq_btn3.png') no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(3).active{
    background: url('../images/eq_btn3_on.png')no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(4){
    background: url('../images/eq_btn4.png') no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(4).active{
    background: url('../images/eq_btn4_on.png')no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(5){
    background: url('../images/eq_btn5.png') no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(5).active{
    background: url('../images/eq_btn5_on.png')no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(6){
    background: url('../images/eq_btn6.png') no-repeat center top;
    background-size: contain;
}
.carousel-indicators li:nth-of-type(6).active{
    background: url('../images/eq_btn6_on.png')no-repeat center top;
    background-size: contain;
}
.carousel-indicators{
    bottom: unset;
    top: -120px;
}
.section-4{
    min-height: 100vh;
    overflow: hidden;
}

.section-4 .con{
    padding-top: 150px;
}

.section-5{
    min-height: 950px;
}



.section-5 .con{
    padding-top: 100px;
}







.section-6{
    min-height: 800px;
}
.section-6 .container .row:nth-of-type(1){
    padding-top: 45px;
}
.section-6 .container .row:nth-of-type(2){
    padding-top: 60px;
    padding-bottom: 50px;
}

/* 頁籤  tab*/

.mango_tab {
    width: 100%;
}
 .mango_tab .tabs {
     padding: 0;
     margin-bottom: 20px;
     width: 100%;
     background-repeat: no-repeat;
     background-position: center top;
     text-align: center;
}
.mango_tab .tabs{
    background: url(../images/s6_tab_bg.png) no-repeat center bottom;
    background-size: 100%;
}

 .mango_tab .tabs li {
     position: relative;
     display: inline-block;
     width: 145px;
     height: 50px;
     margin: 10px -4px;
 }
 .mango_tab .tabs li a {
     background-repeat: no-repeat;
     display: block;
     overflow: hidden;
     transition: 0.3s all;
}

.mango_tab .tabs li a:hover::before{
    opacity: 1;
    transition: 0.3s all;

}


.section-6 .mango_tab .tabs{
    height: 55px;
    padding: 0px 30px;
}
.section-6 .mango_tab .tabs li {
    width: calc(100% / 5);
    margin: 0px;
}
.section-6 .mango_tab .tabs li a{
    position: relative;
    height: 50px;
}
.section-6 .mango_tab .tabs li a::before{
    content: '';
    position: absolute;
    left:5%;
    height: 50px;
    width: 90%;
}


.section-6 .mango_tab .tabs li:nth-of-type(1) a::before{
    background: url(../images/s6_tab1.png) no-repeat center;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(1) a:hover::before{
    background: url(../images/s6_tab1_on.png) no-repeat center;
    transition: 0.3s all;
    background-size:contain;
}

.section-6 .mango_tab .tabs li:nth-of-type(2) a::before{
    background: url(../images/s6_tab2.png) no-repeat center;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(2) a:hover::before{
    background: url(../images/s6_tab2_on.png) no-repeat center;
    transition: 0.3s all;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(3) a::before{
    background: url(../images/s6_tab3.png) no-repeat center;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(3) a:hover::before{
    background: url(../images/s6_tab3_on.png) no-repeat center;
    transition: 0.3s all;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(4) a::before{
    background: url(../images/s6_tab4.png) no-repeat center;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(4) a:hover::before{
    background: url(../images/s6_tab4_on.png) no-repeat center;
    transition: 0.3s all;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(5) a::before{
    background: url(../images/s6_tab5.png) no-repeat center;
    background-size:contain;
}
.section-6 .mango_tab .tabs li:nth-of-type(5) a:hover::before{
    background: url(../images/s6_tab5_on.png) no-repeat center;
    transition: 0.3s all;
    background-size:contain;
}
.section-6 .mango_tab .tab_container #tabC5 a{
    width: 175px;
    height: 35px;
    position: absolute;
    background: url(../images/s6_con5_btn.png) no-repeat center;
    background-size:contain;
    transform: translateX(-50%);
    top: -260px;

}
.section-6 .mango_tab .tab_container #tabC5 a:hover{
    background: url(../images/s6_con5_btn_on.png) no-repeat center;
    background-size:contain;
}


/* footer */
.footer{
    height: 75px;
    background-color: #fff;
}
.footer .container p{
    text-align: left;
    color: #000;
    font-size: 12px;
    line-height: 20px;
    padding: 0px;
    font-weight: 500;
}
.footer .container .row{
    height: 100%;
}
.footer .container p{
    margin: 0px;;
    letter-spacing:0px;
}
.footer .container .row img{
    height: auto;
    padding-right: 5px;
}
.footer .container .row div{
    padding: 15px 15px;
}
.footer .container .row .row{
    margin: 0px;
    height: initial;
}
@media (max-width:992px){
    .footer .container{
        max-width: 100%;
        padding-bottom: 50px;
    }
}
@media (max-width:480px){
    .footer .container p{
        font-size: 10px;
        line-height: 14px;
        text-align: center;
    }
    .section-1 .main_char{
        transform: translate(-50%,-88%);
    }
    .section-1 .row div{
        padding: 0px;
        margin-top: 0px;
    }
    .section-1 .container .row:nth-of-type(1){
        padding-top: 0px;
    }
    .section-2 {
        min-height: 80vh;
    }
    .subtitle{
        overflow:hidden;
        padding-bottom: 100px;
    }
    .subtitle img{
        max-width: 200%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .section-2 .container .row:nth-of-type(1){
        padding-top: 0px;
    }
    .section-2 .container .row:nth-of-type(2){
        padding-top: 30px;
    }
    .section-3 .carousel-inner{
        overflow: hidden;
        
    }
    .section-3 {
        min-height: 60vh;
    }
    .section-3 .carousel-indicators{
        top: -200px;
    }
    .section-4 {
        min-height: 60vh;
    }
    .section-4 .con{
        padding-top: 50px;
    }



    .mango_tab .tabs li {
        margin: 10px 0px;
        
    }
    .mango_tab .tabs li a {
        font-size: 16px;
        line-height: 30px;
    }
    .section-5{
        min-height: 60vh;
    }
    .section-5 .con{
        padding-top: 50px;
    }
    .section-6{
        min-height: 60vh;
    }
    .section-6 .mango_tab .tabs{
        height: unset;
    }
    .section-6 .mango_tab .tab_container #tabC5 a{
        top: -100px;
    }
    .side_nav li span::before{
        content: unset;
    }
    .side_nav a li:after{
        content: unset;
    }
}





 @media (min-width: 769px) {
     .navbar> .navbar-brand {
         position: relative;
         left: 10%;
         height: 60px;
         width: 150px;
         padding: 0;
         line-height: inherit;
         text-indent: 100%;
         white-space: nowrap;
         overflow: hidden;
         background-image: url(../images/logo.png);
         background-repeat: no-repeat;
         background-position: center center;
         background-size: contain;
    }
}
@media (max-width: 768px) {
    .section-6 .mango_tab .tabs li {
        width: calc(100% / 2);
        margin: 0px;
        
    }

}

 @media (min-width: 992px){
     /* PC版本把文字選單藏起，只顯示圖示 */
     .navbar-collapse {
         position:absolute;
         top:-60px;
    }
}
@media (max-width: 992px){
    .social_wrapper{
        display: none;
    }
   .side_nav{
        width: 100vw;
        height: 50px;
        top: auto;
        bottom: 0px;
        display: flex;
        right: unset;
        background-color:rgba(0,0,0,0.8);
        transform: translateY(0);
        box-shadow: 0px -3px 2px rgba(0,0,0,0.3);
        text-align: center;
        padding:0px;
    }
   .side_nav li{
       position: relative;
       display: inline-block;
       width: 80%;
       font-size: 12px;
       line-height: 20px;
       text-align: center;
    }
   .side_nav li::before{
       
        
        background-size: 100% 40px;
        background-position: center;
        height: 40px;
        width: 100%;
        transform: translateX(-7%);
    }
    .section p{

        font-size: 14px;
        line-height: 24px;
        font-weight: 100;
        letter-spacing: 0.5px;
    }
    .mango_tab .tabs{
        background: none;
    }
    .mango_tab .tabs li a{
        font-size: 22px;
        line-height: 35px;
    }
    .side_nav li::before{

    }
    .side_nav a:nth-of-type(1) li:hover::before,.side_nav a:nth-of-type(2) li:hover::before,.side_nav a:nth-of-type(3) li:hover::before,.side_nav a:nth-of-type(4) li:hover::before,.side_nav a:nth-of-type(5) li:hover::before{
        background: none;
    }
    .side_nav li::before{
        display: none;
    }



} 