/*  phone   */

body{
    margin: 0;
    padding: 0;
    background-position: center;
    background-color: #303030;
    background-size: 100% 100%;
    /*background-image: url('images/index_moble/content_background.jpg');
    background-repeat: no-repeat; */
    margin: auto;
    font-family: 微軟正黑體,Arial, Helvetica, sans-serif;
    /*background-image: linear-gradient(-20deg, #FEE9BB 0%, #fbfcdb 100%);*/

}

/*  最外框 */
#wrapper{
    width: 100%;
    max-width: 100%;
    position: relative;
    
    /* background-color: #1b1b1b;*/
    
    

    
}

/*  選單box */
#menu{
    width: 100%;
    height: 60px;
    display: block;
    /* margin-left: 5%; */
    background-position: left center;
    background-image: url('images/design_moble/header_logo_company.png');
    background-repeat: no-repeat; 
    
    
}




/* 關閉選單按鈕*/
#meunicon{
    width: 15%;
    height: 60px;
    background-position: right center;
    margin-right: 0%;
    margin-top: 0%;
    float: right;
    background-color: rgb(88, 88, 88);
    
     
    
}
#meunicon i{
    font-size: 35px;
    color: #ffffff;
    line-height: 40px;
    margin-left: 25%;
    margin-top: 10%;

    

}



/*顯示nav選單*/
nav ul{
    margin: 0;
    padding: 0;
    list-style-image: none;
    list-style-type: none;
    display: none;
}
nav ul li{
    height: 40px;
    width: 100%;
    display: block;
    /*  影響按鈕背景顏色的位置 */
    /*background-color: rgb(68, 68, 68);*/
    border-bottom: 1px solid #363636;
    text-align: center;
}
nav ul li a{
    font-size: 15px;
    text-decoration: none;
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: block;
    color: aliceblue;

}


    /*  top按鈕至頂 */
    #gotop {
        position: fixed;
        border-radius: 50px;
        right: 50px;
        bottom: 30px;
        padding: 10px 16px;
        font-size: 25px;
        background: rgba(255, 171, 220, 0.938);
        color: rgb(31, 31, 31);
        cursor: pointer;
        z-index: 1000;
    }
    
   
 





    /*讓電腦版不影響手機板的呈現，這裡高度設0，html設另一個div做連結*/
    #box10{
        width: 100%;
        height: 0px;
        display: block;
        background-position: center center;
        /*float: left;*/
        /*margin-top: 20%;*/
        margin-left: 0%;
        margin-right: 0%;
        /*background-image: url('images');
        background-repeat: no-repeat;*/
        /*background-color:rgb(226, 226, 226);*/
        overflow: hidden;
        
        
        }
    /*這裡連結html特惠輪播專區coverfiow moble*/
    #boxmoble{
    width: 100%;
    height: 320px;
    display: block;
    background-position: center center;
    /*float: left;*/
    /*margin-top: 20%;*/
    margin-left: 0%;
    margin-right: 0%;
    /*background-image: url('images');
    background-repeat: no-repeat;*/
    /*background-color:rgb(226, 226, 226);*/
    overflow: hidden;


    }

    /*  第二區塊 */
    #title1{
        width: 100%;
        height: 50px;
        display: block;
        background-position: center center;
        font-size: 13.5px;
        margin-left: 0%;
        margin-right: 0%;
        background-image: url('images/');
        background-repeat: no-repeat;
        background-color:rgb(209, 209, 209);
        overflow: hidden;
    
    
    }
     /*  第二區塊 */
     #bannerdm{
        width: 100%;
        height: 1460px;
        display: block;
        background-position: center center;
        float: left;
        margin-left: 0%;
        margin-right: 0%;
        /*background-color: rgb(0, 0, 0);*/
        /*  讓手機版出現背景圖,電腦版不會出現的方法,給background-image但不用給檔案連結 */
        background-image: url('images/design_moble/designdm_moble_1.jpg');
        background-repeat: no-repeat;
         

    }
         /*  第二區塊 影片介紹 */
          #video{
            width: 100%;
            display: block;
            background-position: center center;
            float: left;
            margin-left: 0%;
            margin-right: 0%;
            margin-top: 1220px;
            /*background-color: rgb(0, 0, 0);*/
            /*  讓手機版出現背景圖,電腦版不會出現的方法,給background-image但不用給檔案連結 */
            background-image: url('images/menu_moble.jpg');
            background-repeat: no-repeat;
             
    
        }


      /*  第三區塊 */
      #title2{
        width: 100%;
        height: 50px;
        display: block;
        background-position: center center;
        font-size: 13.5px;
        margin-left: 0%;
        margin-right: 0%;
        background-image: url('images/');
        background-repeat: no-repeat;
        background-color:rgb(209, 209, 209);
        overflow: hidden;
    
    
    }
     /*  第三區塊 */
     #bannerdm2{
        width: 100%;
        height: 1500px;
        display: block;
        background-position: center center;
        float: left;
        margin-left: 0%;
        margin-right: 0%;
        /*background-color: rgb(0, 0, 0);*/
        /*  讓手機版出現背景圖,電腦版不會出現的方法,給background-image但不用給檔案連結 */
        background-image: url('images/design_moble/designdm_moble_2.jpg');
        background-repeat: no-repeat;
         

    }

 /*  第四區塊 */
 #footer{
    width: 100%;
    height: 325px;
    text-align: center;
    
    margin-top: 1500px;
    /* background: #2e1e09; */
    background-image: url('images/footer_moble/footer1.jpg');
    background-repeat: no-repeat;
    background-position: center center;

}

  /*讓footer不會跑版，再到html中設定clearboth*/

.clearboth{
    clear: both;

}



/*  Tablet 平板 */

@media only screen and (min-width: 481px) {
    body{
        margin: 0;
        padding: 0;
        background-size: 100% 100%;
        background-position: center center;
        margin: auto;
        font-family: 微軟正黑體,Arial, Helvetica, sans-serif;
        background-image: linear-gradient(-20deg, #ffffff 0%, #ffffff 100%);

    }
    /*  最外框 */
    #wrapper{
        width: 1366px; 
        /* max-width: 1366px;*/
        position: relative;
        background-position: center center;
        background-image: url('images/index_pc/');
        background-repeat: no-repeat;
        /*background-color: rgb(88, 88, 88);*/
        overflow: hidden;
        
    
        
    }

     /*  第一區塊 */
     #menu{
        width: 100%;
        height: 300px;
        display: block;
        background-position: center center;
        float: left;
        margin-left: 0%;
        margin-right: 0%;
        margin-top: 0px;
        background-color: none;
        overflow: hidden;
        /*  讓手機版出現背景圖,電腦版不會出現的方法,給background-image但不用給檔案連結 */
        background-image: url('images/design_pc/header_logo_company.jpg');
        background-repeat: no-repeat;
        background-color: #333333;
         
        
        
    }


    /* 關閉選單按鈕*/
 #meunicon{
    display: none;
}
  

 
 



 /*  顯示nav選單*/
 nav{
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    /*background-color: rgb(255, 255, 255);*/
    margin-left: 0%;
    background-image: url('images/index_pc/head');
    background-repeat: no-repeat;
}

nav ul{
    width: 85%;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    float: left;
    background-position: center center;
   /* background-color: rgb(255, 255, 255);*/
    margin-left: 150px;
    /*background-image: url('images/button/button_img1.png');
    background-repeat: no-repeat;*/
}
nav ul li{
    height: 30px;
    width: 14.5%;
    /*  影響按鈕背景顏色的位置 */
    /*background-color: rgb(255, 255, 255);*/
    border-bottom: none;
    float: left;
   
    background-image: url('images/');
    background-repeat: no-repeat;
    
    
    
}
nav ul li a{
    width: 100%;
    height: 40px;
    font-size: 15px;
    text-decoration: none;
    margin-left: 0px;
    line-height: 40px;
    color: rgb(0, 0, 0);
    
    

}


    /*  top按鈕至頂 */
#gotop {
    position: fixed;
    border-radius: 50px;
    right: 20px;
    bottom: 30px;
    padding: 10px 16px;
    font-size: 25px;
    background: rgba(255, 171, 220, 0.938);
    color: rgb(31, 31, 31);
    cursor: pointer;
    z-index: 1000;
}

#box10{
    width: 100%;
    height: 400px;
    display: block;
    background-position: center center;
    
    margin-left: 0%;
    margin-right: 0%;
    background-image: url('images/');
    background-repeat: no-repeat;
      /*background-color:rgb(226, 226, 226);*/
      overflow: hidden;


}
    /*為了讓html特惠輪播專區coverfiow 電腦版box10出現畫面這邊高度要設定0*/
    #boxmoble{
        width: 100%;
        height: 0px;
        display: block;
        background-position: center center;
        /*float: left;*/
        /*margin-top: 20%;*/
        margin-left: 0%;
        margin-right: 0%;
        /*background-image: url('images');
        background-repeat: no-repeat;*/
        /*background-color:rgb(226, 226, 226);*/
        overflow: hidden;
        
        
        }

/*  第二區塊 */
        #title1{
            width: 100%;
            height: 50px;
            display: block;
            background-position: center center;
            
            margin-left: 0%;
            margin-right: 0%;
            background-image: url('images/');
            background-repeat: no-repeat;
              background-color:rgb(209, 209, 209);
              overflow: hidden;
        
        
        }
    
      /*  第二區塊 */
      #bannerdm{
        width: 100%;
        height: 780px;
        display: block;
        background-position: center center;
        float: left;
        margin-left: 0%;
        margin-right: 0%;
        /*  讓手機版出現背景圖,電腦版不會出現的方法,給background-image但不用給檔案連結 */
        background-image: url('images/design_pc/designdm.jpg');
        background-repeat: no-repeat;
        overflow: hidden; 

    }
 /*  第二區塊  影片介紹 */
    #video{
        width: 26%;
        display: block;
        background-position: center center;
        margin-top: 30%;
        margin-left: 2%;
        margin-right: 0%;
        background-image: url('images/');
        background-repeat: no-repeat;
          background-color:rgb(0, 0, 0);
          overflow: hidden;
    
    
    }

 /*  第三區塊 */
    #title2{
        width: 100%;
            height: 50px;
            display: block;
            background-position: center center;
            
            margin-left: 0%;
            margin-right: 0%;
            background-image: url('images/');
            background-repeat: no-repeat;
              background-color:rgb(209, 209, 209);
              overflow: hidden;
        
        
        }

          /*  第三區塊 */
          #bannerdm2{
            width: 100%;
            height: 780px;
            display: block;
            background-position: center center;
            float: left;
            margin-left: 0%;
            margin-right: 0%;
            /*  讓手機版出現背景圖,電腦版不會出現的方法,給background-image但不用給檔案連結 */
            background-image: url('images/design_pc/designdm2.jpg');
            background-repeat: no-repeat;
            overflow: hidden; 
    
            
    
        }









  
   



     /*  第四區塊 */
     #footer{
        width: 100%;
        height: 500px;
        text-align: center;
        margin-top: 0px;
        /* background: #2e1e09; */
        background-image: url('images/footer_pc/footer.jpg');
        background-repeat: no-repeat;
        background-position: center center;
        background-color: #232323;

    }
    /* footer p{
        line-height: 40px;
    } */
      /*讓footer不會跑版，再到html中設定clearboth*/
   
    .clearboth{
        clear: both;

    }
}


/*  pc   */

@media only screen and (min-width: 769px) {
    #wrapper{
        margin: auto;
    }
    #header{
        width: 100%;
        height: 100px;
        overflow: hidden;
      
        
        
    }


}