/* == 共用區 ============================================================================= */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    /*safari & chrome*/
    -moz-box-sizing: border-box;
    /*firebox*/
    box-sizing: border-box;
    /*解除padding影響寬度關係*/
}

html,
body {
    -webkit-text-size-adjust: 100%;
    width: 100%;
    height: 100%;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
}

ul {
    list-style: none;
}

.fc01 {
    color: #ff3300;
}


/* =====================================(桌機) 回首頁選單=========================================== */
.menu {
    display: block;
    position: fixed;
    right: 10px;
   top: 50%;
    right: 2%;
    z-index: 999px;
    /*讓他保持在最上面，層級最高*/
}

.menu ul {}

.menu li {
    margin: 8px 5px;
    float: left;
    text-align: center;
}

.menu li a {
    display: inline-block;
    width: 80px;
    color: #fff;
    height: 80px;
    line-height: 80px;
    border-radius: 99px;
    -webkit-border-radius: 99px;
    background-color: rgba(102, 0, 153, 0.6);
    text-decoration: none;
    transition: .3s;
    /*讓hover變化，更有動態感*/
}

.menu li a:hover {
    background-color: rgba(102, 0, 153, 1);
    color: #ff0;
    transform: scale(1.1, 1.1);
    /*注意數字設定方法*/
}

/* =====================================(桌機) top=========================================== */

.top {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    padding: 10px;
    top: 0;
}

h1 {
    font-size: 1.5em;
    text-align: center;
}

.top a {
    color: #fff;
    text-decoration: none;
}

.top:hover {
    background-color: rgba(173, 33, 0, 0.4);
}

.top a:hover {

    color: #ff0;
}



/* =====================================(桌機) 多種學習=========================================== */

.study {
    width: 100%;
    background-image: url(../images/study-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 549px;
    background-color: #0099CC;
    padding: 4% 2%;


}

  .study-box img{
        width:100%;
      margin:3% auto;
    }


.study-box {
    width: 900px;
    margin: 0 auto;
}

h2 {
    width: 900px;
    margin: 0 auto;
    display: block;
    font-size: 2.5em;
    color: #fff;
    text-align: center;

}

/* =====================================(桌機) 講座========================================== */

.speak {
    background-color: #fff;
    padding:3% 5%;
   
}

 h3 {
        display: block;
        width: 1000px;
        height: 70px;
        padding: 10px;
        margin: 0 auto;
        background-color: #C30D22;
        border-radius: 30px;
        -webkit-border-radius: 30px;
        border-style: dashed;
        border-width: 1px;
        border-color: #ddd;
        -webkit-border-color: #ddd;
        -webkit-border-style: dashed;
        -webkit-border-width: 1px;
        font-size:2.5em;
        text-align: center;
     line-height: :70px;
     color:#fff;
    }

.speak ul{
    width: 1000px;
    padding:10px;
    margin:0 auto;
    
}
.speak li{
    width: 470px;
    float: left;
    height: 150px;
    margin:10px 10px 0px 10px;
    background-color:#454343;
    padding:5px;
    
}

.speak img{
    float:left;
    width: 30%;
    margin:auto 5px;
}

.speak p{
    font-size:1.2em;
    color:#fff;
    line-height: 35px;
    margin:10px 15px;
}



/* =================================== 手機版型區 =========================================== */

@media screen and ( max-width:767px) {

    .head {
        width: 100%;
        height: 0;
        padding-bottom: 65.94%;
        /*抓目前的寬度，計算出所需高度，計算方式為圖片高度除以高度*/
        background-image: url(../images/m_head.jpg);
        background-size: cover;
        /*背景圖滿版縮放*/
        overflow: hidden;
    }

/* =====================================(手機) 回首頁選單=========================================== */
.menu {
    display: block;
     padding:20px;
   
   
   
    /*讓他保持在最上面，層級最高*/
}

.menu ul {margin:0 auto;
    padding:10px;
    }

.menu li {
    margin: 8px 5px;
    text-align: center;
}

.menu li a {
    display: inline-block;
    width: 85px;
    color: #fff;
    height: 85px;
    line-height: 85px;
    border-radius: 99px;
    -webkit-border-radius: 99px;
    background-color: rgba(102, 0, 153, 0.6);
    text-decoration: none;
    transition: .3s;
    /*讓hover變化，更有動態感*/
}

.menu li a:hover {
    background-color: rgba(102, 0, 153, 1);
    color: #ff0;
    transform: scale(1.1, 1.1);
    /*注意數字設定方法*/
}

/* =====================================(手機) top=========================================== */

.top {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    padding: 10px;
    top: 0;
}

h1 {
    font-size: 1.2em;
    text-align: center;
}

.top a {
    color: #fff;
    text-decoration: none;
}

.top:hover {
    background-color: rgba(173, 33, 0, 0.4);
}

.top a:hover {

    color: #ff0;
}



/* =====================================(手機) 多種學習=========================================== */

.study {
    width: 100%;
    background-image: url(../images/m_study-bg.jpg);
         height: 0;
    background-color: #0099CC;
    background-size:cover;
    padding:15% 4% 68.99% 4%;  
    overflow: hidden;


}
    
  
.study-box {
    width: 90%;
    margin: 0 auto;
}

h2 {
    width: 90%;
    height: 80px;
    margin: 0 auto;
    display: block;
    font-size: 2em;
    color: #fff;
    text-align: center;

}

/* =====================================(手機) 講座========================================== */

.speak {
    background-color: #fff;
    padding:1% 5% 6% 5%;
    width: 100%;
    height: 650px;
   
}

 h3 {
        display: block;
        width: 95%;
        height: auto;
        padding: 10px;
        margin: 0 auto;
        background-color: #C30D22;
        border-radius:20px;
        -webkit-border-radius: 20px;
        border-style: dashed;
        border-width: 1px;
        border-color: #ddd;
        -webkit-border-color: #ddd;
        -webkit-border-style: dashed;
        -webkit-border-width: 1px;
        font-size:2em;
        text-align: center;
     line-height: :70px;
     color:#fff;
    }

.speak ul{
    width: 95%;
    padding:10px;
    margin:0 auto;
    
}
.speak li{
    width: 100%;
    height: 150px;
    margin:15px auto;
    background-color:#454343;
    padding:5px;
    
}

.speak img{
    float:left;
    width: 40%;
    margin:5px auto;
}

.speak p{
    font-size:1em;
    color:#fff;
    line-height: 30px;
      margin:0 auto;
}

   


}