*{font-family: '微軟正黑體', 'Microsoft Jhenghei', 'Arial', sans-serif;box-sizing: border-box;}
body{overflow-x:hidden;background-color: #fff;z-index: -999;}
h1, h2, h3, h4, h5, h6 { font-weight: 800;clear: both;}
h5{line-height: 2rem;}
h4{line-height: 2.2rem;}
h2{line-height: 3rem;}
a{ text-decoration: none;color: #FFB447;transition: all .2s linear; }
a:hover{ text-decoration: none;color: #ff629c; }
i{margin: 0 5px;text-align: center;vertical-align: middle;}
button{outline:none;}
button:focus{outline:none;}
ul {list-style-type: disc;}

/*bootstrapt 間距設定*/
/* .container {padding-right:10px;padding-left: 10px;} */
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { padding-right: 15px; padding-left: 15px; }

/* RWD 整體寬度調整*/
header div.content {  position: relative; }
div.content { margin: auto; clear: both;}
header, section { width: 100%; margin: 0; clear: both; padding: 0;}
section p,section li{  color: #333;margin-bottom: 0rem;font-size: 1.2rem;line-height: 2;font-weight: 600;width: 100%;margin: auto; }

/* youtube 影片 */
.video-width { width:100%; margin: 0 auto;border: 10px solid rgb(0, 0, 0); }
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0;left: 0; width: 100%; height: 100%;}



/* 基本操作 */
.text_center{text-align: center;}
.text_left{text-align: left;}
.flex{display: flex;}
.clear{clear: both;}

/* 大標 */
.title{color: #272727;margin: 20px 0;}
.title img{width: 25px;display: inline-block;vertical-align: middle;margin-right: 10px;}
/* .row_hight{margin:55px 0 0;} */
section .content .title  h2{ margin: 0 0 30px 0;text-align: center;line-height: 2.4rem;} 

/* navbar */
.navbar { position: fixed; width: 100%; z-index: 999;font-family: '微軟正黑體', 'Microsoft Jhenghei', 'Arial';font-size: 1.2rem;font-weight: 600;}
.navbar ul li{line-height: 80px;}
.bg-dark { background-color: #3a3a3a!important;padding: 0 50px; }
.navbar #formLink{ background: #e04124; height: 100px;line-height: 80px;padding: 0 10px;margin: 0 10px;transition: all 0.2s linear;}
.navbar #formLink:hover{ box-shadow: 3px 3px 10px rgba(0,0,0,.4) inset;}
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}
.navbar-dark:active  .navbar-nav:active  .nav-link:active {
    color: #fff;
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover{
    color: #fff;
}
.nav-logo{width:100%;}
div.content { width:75%; }
/* 主視覺 */
header#Visual {position: relative;padding: 80px 0 0 ;}
header#Visual > .container-fluid{width: 100%;height: 550px;}
.master_bg{background: url(../images/TITLE_BG.jpg) no-repeat center;background-size: cover;}
.master_title{text-align: center;color: #fff;margin-top: 15%;}
.title_photo{margin: 10px 0;}
.logo{width:100%; margin: 10px auto;}
.logo img{width:65%;max-width: 650px;}

/* PageA 內容設定*/
section#PageA{width: 100%;background-color: #fff;padding: 80px 0 100px 0;}
section#PageA div.content { width:75%; }

.green_bg{background-color: #e04124;padding: 10px;display: inline-block;width: auto;margin: 0 0 20px;}
.green_bg h2{display: inline;color:#fff;}

/* PageB 內容設定*/
section#PageB{width: 100%;}
.pageB_btn{width: 300px;padding: 10px;background-color: #e04124;margin:20px auto;text-align: center;color: #fff;transition: all 0.2s linear;cursor: pointer;}
.pageB_btn:hover{box-shadow: 3px 3px 10px rgba(0,0,0,.4) inset;}
section#PageB p{color: #FFF;}
section#PageB li{color: #FFF;}
section#PageB .row{width: 100%;max-width:1400px;margin: auto;}
hr{height: 1px;margin: 40px 0;background-color: #ededed;}
ul.info{padding: 0;margin:  0 0 20px;list-style-type: disc;}
ul.info > li {margin: 10px 0 20px 0;}
ul.info > li p{font-size: 1.4rem;line-height: 2rem;}
section#PageB li{list-style-type: disc;}

section#PageB .container-fluid{background-color: #333333;padding-top: 100px;background:-webkit-linear-gradient(top,rgba(51,51,51,0.9),rgba(51,51,51,1)), url(../images/bg02.jpg);}
ul.understan{margin:  0 0 20px;padding: 0 22px;}
ul.understan > li{margin: 10px 0;}

.title_text{margin:0 0 20px;}
.title_icon{width: 10px;background-color: #e04124;height: 30px;display: inline-block;vertical-align: middle;}

.time_lesson_box{width: 70%;margin: 0 auto;text-align: center;background-color: #a8b6b4;border-radius: 10px;padding:20px 0 10px;color: #fff;}
.lesson_line{height: 2px;width: 80%;background-color: #fff;margin: 10px auto;}
ul.agenda{width: 70%;margin: 20px auto;padding:0  20px;}
ul.agenda > li{margin: 5px 0;font-size: 1.2rem;line-height: 2rem;}

section#PageB .about{padding-top: 40px;}

/* PageC 內容設定*/
section#PageC{width: 100%;background-color: #FFF;padding: 80px 0;background-color: #eefbfa;padding: 80px 0;background: url(../images/bg05.png) no-repeat center;
    background:-webkit-linear-gradient(top,rgba(255, 255, 255, 0.2),rgb(255, 255, 255, 0.8)), url(../images/bg05.png);}
.teacher{margin: 40px 0 0;}
.teacher_photo{width: 90%;}
.teacher_photo img{width: 100%;}



/* PageD內容設定*/
section#PageD{width: 100%;}
.PageE_bg{ width: 100%;position: absolute;bottom: 0;z-index: -49;position: absolute;top:0;z-index: -100;}
section#PageE h2,section#PageE p,section#PageE h5{color: #000;margin:0 0 10px;line-height: 1.8rem;}
.pageE_text{ margin: 20px 0 0;}

.none_line{visibility: hidden;}
ul.discount{padding:0 ;margin: 0; color:#fff;width: 60%;}
ul.discount a > li{margin: 5px 0;background-color: #e04124;padding: 5px 10px;color:#fff;cursor: pointer;transition: all .3s linear;}
ul.discount a > li:hover{background-color: #e04124;}






/* PageE 內容設定*/

/* .PageE_bg{ width: 100%;position: absolute;bottom: 0;z-index: -49;position: absolute;top:0;z-index: -100;}
section#PageE h2,section#PageE p,section#PageE h5{color: #000;margin:0 0 10px;line-height: 1.8rem;}
.pageE_text{ margin: 20px 0 0;}

.none_line{visibility: hidden;} */

/* btn 內容設定 */
#btn{width: 100%;z-index: 99;position: relative;z-index: 9999;}
.page_btn{ width: 100%;padding: 10px 0; margin:50px auto; display: block; background:#EB005A; border-radius: 7px; transition: all 0.2s linear; color: #fff; font-size: 1.4rem; border: none; cursor: pointer;font-weight: 700;z-index: 9999;}
.page_btn:hover{box-shadow: 3px 3px 10px rgba(0,0,0,.4) inset;}

/* RWD Setting */
    @media (min-width: 1441px) {
        section#PageB > div.content { width:100% !important; }
    }
    @media (max-width: 1440px) {
       /* RWD 整體寬度調整*/
       div.content { width:95%; }
        /* 主視覺 */ 
        
        /* PageB 內容設定*/
        section#PageB .row{width: 85%;max-width:1300px;margin: auto;}
        
        /* PageC 內容設定*/
 
    }

    

    @media (max-width: 767px) {
         /* RWD 整體寬度調整*/
        div.content { width: 100%; }
   
        section p,section li{  color: #555;margin-bottom: 0rem;font-size: 1rem;line-height: 1.8rem;}
        table tr td p{font-size: 1rem;line-height: 1.6rem;}
        table tr td a { font-size: 1rem;line-height: 1.6rem;}
        dl, ol, ul { padding: 0 15px; }
        
        /* navbar */
        .navbar #formLink{ padding: 0 0px;margin:0 0 20px;}
        .navbar #formLink:hover{ box-shadow: none;}
        .navbar-toggler:not(:disabled):not(.disabled) { cursor: pointer; margin:10px 0; }
        .navbar ul li { line-height: 30px; }
        .navbar ul li:nth-child(3) { line-height: 30px; margin: 0 0 30px; }
        .navbar #formLink{ background: none; height:30px;line-height:30px;}
        .navbar #formLink:hover{ background:none; height:30px;line-height:30px;}

        /*主視覺*/
        header#Visual { position: relative; padding: 40px 0 0; }
        .master_bg { background: url(../images/TITLE_BG_m.jpg) no-repeat center; background-size: cover; }
        .master_title { margin: 180px 0 30px; text-align: center; color: #fff; }
        .logo { width: 100%;}
        header#Visual > .container-fluid{width: 100%;height: 450px;}
        .logo img{width:90%;max-width: 650px;}
        
        /* PageA 內容設定*/
        section#PageA{padding: 50px 0 50px 0;}
        .green_bg h2{font-size: 26px;}
        section#PageA h2{font-size: 19px;}
        section#PageA div.content { width:95%; }
        section#PageA p{text-align: justify;}
        .green_bg{padding:5px 10px ;}
        /* PageB內容設定*/
        ul.info > li { margin:10px 0; }
        
        .PageB_title{font-size: 23px;line-height: 2;text-align: center;}
        ul.understan{margin:  0 0 20px;padding: 0;}
        .title_text h3{background-color: #e04124;padding: 15px;font-size: 25px;width: 300px;display: block;margin: auto;}
        section#PageB .about{padding-top: 0;}
        section#PageB .row{width: 100%;max-width:1300px;margin: auto;}
        .teacher {text-align: justify;}
    }

    @media (max-width: 575px) {
        body { margin: 0;}
   
    
        section .content .title h2 {line-height: 1.9rem;font-size: 1.4rem;margin: 0 0 15px 0;}

        h3{font-size: 1.5rem;line-height: 2.2rem;}
        h4{font-size: 1.3rem;line-height: 1.8rem;}
        section p,section li{  color: #555;margin-bottom: 0rem;font-size: 1rem;line-height: 1.6rem;}
        table tr td p{font-size: .9rem;line-height: 1.4rem;}
        table tr td a { font-size: .9rem;line-height: 1.4rem;}
       
     
        section h1 { font-size: 1.3em; line-height: 0.8; }
        dl, ol, ul { padding:0 10px; }

        /* nav */
        .bg-dark { padding: 0 20px; }
        .navbar #formLink a{ color: #f7971e; }
        .navbar #formLink a:hover{ color: #ffdc41; }



        /* 主視覺 */
        .master_bg { background: url(../images/TITLE_BG_m.jpg) no-repeat 0px 20px; background-size: cover; }
      
        /* PageB內容設定*/
      
        /* PageC內容設定*/
        .teacher_photo {
            width: 70%;margin: 0 auto;
        }

        /* PageD內容設定*/
        ul.discount{width: 100%;}

    }
  
    @media (max-width: 400px) {
        /* navbar */
        .nav-logo{width:150px;}
    }