@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 span{
     text-align: right;
     display: inline-block;
     width: 60px;
     height: 60px;
     transform:translate(0px,6px) scale(0.8) ;
     overflow: hidden;
}
 .social_wrapper span:hover{
     background-position: 0px -60px;
}
 .social_btn_1{
     background-image:url('../images/social_1.png');
}
 .social_btn_2{
     background-image:url('../images/social_2.png');
}
 .social_btn_3{
     background-image:url('../images/social_3.png');
}
 .social_btn_4{
     background-image:url('../images/social_4.png');
}
 .social_btn_5{
     background-image:url('../images/social_5.png');
}


/* 背景 BG */

.bg{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
 .bg img{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);   
    display: block;
    bottom: 0px;;
    min-height: 100%;
     
}
 .bg img.light1{
     animation: bglight 3.5s infinite;
}


.section .bg{
    background-color: #000;
}

 @keyframes bglight{
     0%{
         opacity: 0;
    }
     50%{
         opacity: 1;
    }
     100%{
         opacity: 0;
    }
}
 .nav_wrapper{
     position: fixed;
     z-index: 1;
}


/* 側欄選單 */
 .side_nav{
     position: fixed;
     right: 0px;
     top: 50%;
     width: 225px;
     transform: translateY(-50%);
     z-index: 1;
     list-style: none;
     color: #FFF;
     z-index: 3;
}

 .side_nav li{
     color: #fff;
     font-size: 22px;;
     line-height: 38px;
     vertical-align: middle;
     text-align: center;
     text-shadow: 0 0 3px rgba(0,0,0,1),0 0 3px rgba(0,0,0,1),0 0 3px rgba(0,0,0,1),0 0 3px rgba(0,0,0,1),0 0 3px rgba(0,0,0,1);
     z-index: 1;
}
.side_nav li::before{
    content: '';
    position: absolute;
    width: 225px;
    height: 38px;
    left: 10%;
    z-index: 2;
    opacity: 0;
    transform: translate(0,3px);
    transition: 0.6s all;
    -webkit-filter:blur(3px);
    
    
     background-repeat: no-repeat;
     background-size: cover;
     background-position: top right;
     z-index: ;
}
/* .side_nav li:hover{
    color: #4fb000;
} */
.side_nav li:hover::before{
    left: 0%;
    opacity: 1;
    transition: 1s all;
    -webkit-filter:blur(0px);
}
.side_nav a:nth-of-type(1) li:hover::before{
    background-image: url(../images/side_1_h.png);
}
.side_nav a:nth-of-type(2) li:hover::before{
    background-image: url(../images/side_2_h.png);
}
.side_nav a:nth-of-type(3) li:hover::before{
    background-image: url(../images/side_3_h.png);
}
.side_nav a:nth-of-type(4) li:hover::before{
    background-image: url(../images/side_4_h.png);
}
.side_nav a:nth-of-type(5) li:hover::before{
    background-image: url(../images/side_5_h.png);
}

/* 選定狀態(JS控制加入active 樣式) */
/* .side_nav .active li:hover{
    color: #4fb000;
} */
.side_nav .active li:before{
    left: 0%;
    opacity: 1;
    transition: 0.3s all;
    -webkit-filter:blur(0px);
}
.side_nav a:nth-of-type(1).active li::before{
    background-image: url(../images/side_1_h.png);
}
.side_nav a:nth-of-type(2).active li::before{
    background-image: url(../images/side_2_h.png);
}
.side_nav a:nth-of-type(3).active li::before{
    background-image: url(../images/side_3_h.png);
}
.side_nav a:nth-of-type(4).active li::before{
    background-image: url(../images/side_4_h.png);
}
.side_nav a:nth-of-type(5).active li::before{
    background-image: url(../images/side_5_h.png);
}

/* 段落 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 {
    min-height: 100vh;
}
.section-1::after{
    content: '';
    position: absolute;
    left: 0px;
    bottom: -42px;
    height: 84px;
    width: 100vw;
    background: url(../images/divider.png) center 100%;
    z-index: 2;
    
}
.section-1 .bg img{
    bottom: -130px;
    min-width: 100vw;
}
.section-1 .container .row:nth-of-type(1){
    padding-top: 240px;
    animation-delay: 0.3s;
}
.section-1 .container .row:nth-of-type(2){
    padding-top: 30px;
    animation-delay: 0.6s;
}
.section-1 .container .row:nth-of-type(3){
    padding-top: 110px;
    animation-delay: 0.9s;
}
.section-1 .container .row:nth-of-type(4){
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translate(-50%,0);
    animation-delay: 1.2s;
}
.swing{
    position: relative;
    left: -18%;
    animation: scroll 2s infinite 1.3s;
    -webkit-filter: drop-shadow(0px 0px 5px rgba(255,255, 255, 1));
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 1))
}
@keyframes scroll{
    0%{
        transform: translate(-50%,-20px);
    }
    50%{
        transform: translate(-50%,0);
    }
    100%{
        transform: translate(-50%,-20px);
    }
}
.section-1 .particles{
    position: absolute;
    top: 0px;
}

.section-2 {
    height: 100%;
    min-height: 100vh;
}
.section-2 .container .row:nth-of-type(1){
    padding-top: 180px;
}
.section-2 .container .row:nth-of-type(2){
    padding-top: 60px;
}
.section-2 .container .row:nth-of-type(2) P{
    margin-left: 8.333333%;
}
.section-2 .container .row:nth-of-type(3){
    padding-top: 50px;
}
.section-2 .container .row:nth-of-type(4){
    margin-top: 50px;
}



.section-3 .article{
    width: 100%;
    position: absolute;
    bottom: 130px;
    height: initial;
    background:url('../images/section2_5.png')  no-repeat center; background-size: 100% 100%;
}
.section-3 .article p{
    font-size: 16px;
    padding: 8px;
}
.section-3 .article img{
    padding-top:8px ;
}

.section-3 {
    min-height: 100vh;
}
.section-3 .container .row:nth-of-type(1){
    padding-top: 100px;
}
.section-3 .container .row:nth-of-type(2){
    padding-top: 40px;
}

.section-3 .carousel-control-next-icon{
    background-image: url('../images/arrow_R.png');
}
.section-3 .carousel-control-prev-icon{
    background-image: url('../images/arrow_L.png');
}
.section-4{
    min-height: 100vh;
    overflow: hidden;
}
.section-4 .container .row:nth-of-type(1){
    padding-top: 45px;
}
.section-4 .container .row:nth-of-type(2){
    padding-top: 60px;
    padding-bottom: 100px;
}
.section-4 .char{
    position: absolute;
    width: 54vw;
    bottom: 0px;
    
}
.section-4 .char img{
    width: 100%;;
}
.section-4 .char.char_L{
    left: -400px;
    animation: char_1 3s infinite;
}
.section-4 .char.char_R{
    right: -400px;
}
@keyframes char_1{
    0%{
        transform: translate(0,0);
    }
    50%{
        transform: translate(300,-30);
    }
    100%{
        transform: translate(0,0);
    }
}


.section-5{
    min-height: 105vh;
}
.section-5 .container .row:nth-of-type(1){
    padding-top: 45px;
}
.section-5 .container .row:nth-of-type(2){
    padding-top: 60px;
    padding-bottom: 100px;
}
.section-5 .container .row:nth-of-type(2) p{
    font-size: 18px;;
}
.section-5 .tab_container .tab_content .g_bg{
    background-image: url('../images/section5_2_1_BG.png');
    background-size: 100% 100%;
    margin: 15px 0px;   
}
.section-5 .tab_container .tab_content .g_bg img{
    position: relative;
    max-width: 100%;
    height: auto;
    padding: 15px 0px;
}

.section-5 .tab_container .tab_content .g_title{
    font-size: 22px;
    color: #5fd301;
}
.section-5 .tab_container .tab_content .note{
    font-size: 16px;
    color: #fff9;
}
.section-5 .tab_container #tabB5 p{
    padding: 5px;
}


/* 頁籤  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/section3+5_bar.png) no-repeat center;
    background-size: 100%;
}

 .mango_tab .tabs li {
     position: relative;
     display: inline-block;
     width: 145px;
     height: 60px;
     margin: 10px -4px;
 }
 .mango_tab .tabs li a {
     background-repeat: no-repeat;
     display: block;
     height: 100%;
     white-space: nowrap;
     overflow: hidden;
     font-size: 20px;
     line-height: 60px;
     color: #888;
     text-shadow: 0 0 5px rgba(0,0,0,1),0 0 5px rgba(0,0,0,1);
     transition: 0.3s all;
}
.section-3 .mango_tab .tabs li a::before{
    content: '';
    position: absolute;
    left:0px;
    height: 60px;
    width: 100%;
    
    background-size:auto 100%;
    opacity: 0;
}
.section-3 .mango_tab .tabs li:nth-of-type(1) a::before{
    background: url(../images/section3_nav1.png) no-repeat center;
}
.section-3 .mango_tab .tabs li:nth-of-type(2) a::before{
    background: url(../images/section3_nav2.png) no-repeat center;
}
.section-3 .mango_tab .tabs li:nth-of-type(3) a::before{
    background: url(../images/section3_nav3.png) no-repeat center;
}
.section-3 .mango_tab .tabs li:nth-of-type(4) a::before{
    background: url(../images/section3_nav4.png) no-repeat center;
}
.section-3 .mango_tab .tabs li:nth-of-type(5) a::before{
    background: url(../images/section3_nav5.png) no-repeat center;
}

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

}


.section-5 .mango_tab.mango_tab2 .tab_container {
    width: 100%;
    margin-top: 45px;
}
.section-5 .mango_tab .tabs li a::before{
    content: '';
    position: absolute;
    left:0px;
    height: 60px;
    width: 100%;
    
    background-size:auto 100%;
    opacity: 0;
}
.section-5 .mango_tab .tabs li:nth-of-type(1) a::before{
    background: url(../images/section5_nav1.png) no-repeat center;
}
.section-5 .mango_tab .tabs li:nth-of-type(2) a::before{
    background: url(../images/section5_nav2.png) no-repeat center;
}
.section-5 .mango_tab .tabs li:nth-of-type(3) a::before{
    background: url(../images/section5_nav3.png) no-repeat center;
}
.section-5 .mango_tab .tabs li:nth-of-type(4) a::before{
    background: url(../images/section5_nav4.png) no-repeat center;
}


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

}


/* footer */
.footer{
    height: 100px;
    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 .row div{
        padding: 0px;
    }
    .section-1 .container .row:nth-of-type(1){
        padding-top: 280px;
    }
    .section-1 .container .row:nth-of-type(3){
        padding-top: 80px;
    }
    .section-2 {
        min-height: 100vh;
    }
    .section-2 .container .row:nth-of-type(1){
        padding-top: 140px;
    }
    .section-2 .container .row:nth-of-type(2){
        padding-top: 30px;
    }
    .section-2 .container .row:nth-of-type(3){
        padding-top: 20px;
    }
    .section-2 .container .row:nth-of-type(4){
        margin-top: 20px;
    }
    .section-3 .article p{
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0px;
    }
    .section-3 .container .row:nth-of-type(2){
        padding-top: 80px;

    }
    .section-3 .carousel-inner{
        overflow: hidden;
        padding-bottom: 100px;
    }
    .section-3 {
        min-height: 80vh;
    }
    .section-4 {
        min-height: 80vh;
    }
    .section-4 .container .row:nth-of-type(2){
        padding-bottom: 60px;
    }










    .mango_tab .tabs li {
        margin: 10px 0px;
        height: 30px;
    }
    .mango_tab .tabs li a {
        font-size: 16px;
        line-height: 30px;
    }
    .section-5 .mango_tab .tabs li {
        margin: 20px 0px;
    }
    .section-5 .mango_tab .tabs li a::before{
        font-size: 12px;;
    }


}





 @media (min-width: 769px) {
     .navbar> .navbar-brand {
         position: relative;
         left:50%;
         transform: translateX(-50%);
         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-3 .article{
        bottom: -70px;
    }
    .section-3 .article img{
        width: 100px;
    }
    .section-3 .article p{
        font-size: 14px;
        line-height: 16px;;
    }
    .section-2 .container .row:nth-of-type(2) P{
        margin-left: 0%;
    }

}

 @media (min-width: 992px){
     /* PC版本把文字選單藏起，只顯示圖示 */
     .navbar-collapse {
         position:absolute;
         top:-60px;
    }
}
@media (max-width: 992px){
    .social_wrapper{
        display: none;
    }
   .side_nav{
        width: 100vw;
        height: 40px;
        top: auto;
        bottom: 0px;
        background-color:rgba(0,0,0,0.8);
        transform: translateY(0);
        box-shadow: 0px -3px 2px rgba(0,0,0,0.3);
    }

   .side_nav li{
       position: relative;
       display: inline-block;
       width: 18.5%;
       font-size: 12px;
       line-height: 40px;
    }
   .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;
    }
    .mango_tab .tabs li a::before{
        top: -16px;
    }

    .char{
        display: none;
    }
    .side_nav li img{
        display: none;
    }
    .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 a:nth-of-type(1) li::before
    ,.side_nav a:nth-of-type(2) li::before
    ,.side_nav a:nth-of-type(3) li::before
    ,.side_nav a:nth-of-type(4) li::before
    ,.side_nav a:nth-of-type(5) li::before
    {
        background-image: url(../images/side_arrow.png);
        background-size: 100% auto;
        width: 15px;
        height: 20px;
        left:50%;
        top: -25px;
        transform: translate(-50%,0);
    }
    .side_nav a:nth-of-type(1).active li::before
    ,.side_nav a:nth-of-type(2).active li::before
    ,.side_nav a:nth-of-type(3).active li::before
    ,.side_nav a:nth-of-type(4).active li::before
    ,.side_nav a:nth-of-type(5).active li::before
    {
        background-image: url(../images/side_arrow.png);
        background-size: 100% auto;
        width: 15px;
        height: 20px;
        left:50%;
        top: -25px;
        transform: translate(-50%,0);
    }
    
    .side_nav a li:after{
        white-space:nowrap;
    }
    .side_nav a:nth-of-type(1) li::after{
        content: '新世紀:序章';
        
    }
    .side_nav a:nth-of-type(2) li::after{
        content: '校園大逃殺';
        
    }
    .side_nav a:nth-of-type(3) li::after{
        content: '菁英勇者招募';
        
    }
    .side_nav a:nth-of-type(4) li::after{
        content: '感恩回饋';
        
    }
    .side_nav a:nth-of-type(5) li::after{
        content: '返回頂部';
        
    }
    
}
@media (max-width: 480px){


    .section-3 .article img{
        width: 70px;
    }
    .section-3 .article p{
        font-size: 12px;
        line-height: 14px;;
    }
    .section-5 .container .row:nth-of-type(2) p{
        font-size: 14px;
    }
    .section-5 .tab_container .tab_content .g_title{
        font-size: 16px;
    }
    .section-5 .tab_container .tab_content .note{
        font-size: 12px;
    }
    
} 