*{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;}


/*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.1rem;line-height: 2rem;font-weight: 600; }

/* 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%;}

/* owl輪播點點修正 */
.owl-carousel span { width:10px; height:10px; margin:5px 7px; background: #ffffff !important; display:block; -webkit-backface-visibility:visible; -webkit-transition:opacity 200ms ease; -moz-transition:opacity 200ms ease; -ms-transition:opacity 200ms ease; -o-transition:opacity 200ms ease; transition:opacity 200ms ease; -webkit-border-radius:30px; -moz-border-radius:30px; border-radius:30px; }
.owl-carousel .active span { width:10px; height:10px; margin:5px 7px; background: #4faec9 !important; display:block; -webkit-backface-visibility:visible; -webkit-transition:opacity 200ms ease; -moz-transition:opacity 200ms ease; -ms-transition:opacity 200ms ease; -o-transition:opacity 200ms ease; transition:opacity 200ms ease; -webkit-border-radius:30px; -moz-border-radius:30px; border-radius:30px; }
.search_left{top:50%;left: -30px;position: absolute;color: #b3b3b3;font-size: 2rem;transition: .4s;}
.search_left:active{color: #d1d1d1;}
.search_right{top:50%;right: -30px;position: absolute;color: #b3b3b3;font-size: 2rem;transition: .4s;}
.search_right:active{color: #d1d1d1;}

/* 基本操作 */
.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: #f7971e; 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:200px;height: 88px;}
div.content { width:70%; }
/* 主視覺 */
header#Visual {position: relative;padding: 80px 0 0 ;}
header#Visual > .container-fluid{width: 100%;}
.master_bg{background: url(../images/TITLE_BG.jpg) no-repeat 0 -30px;background-size:cover;}
.master_title{margin: 180px 0;text-align: center;color: #fff;}
.title_photo{margin: 10px 0;}
.logo{width:80%; margin: 50px auto;}
.logo img{width: 100%;}

/* PageA 內容設定*/
section#PageA{width: 100%;background-color: #fff;padding: 80px 0;}
.green_bg{background-color: #48c1b8;padding: 10px;display: inline-block;width: auto;margin: 0 0 20px;}
.green_bg h2{display: inline;color:#fff;}

/* PageB 內容設定*/
section#PageB{width: 100%;background-color: #eefbfa;padding: 80px 0;}
.pageB_btn{width: 300px;padding: 10px;background-color: #f7971e;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;}

hr{height: 20px;margin: 20px 0;}
ul.info{list-style: none;padding: 0;margin:  0 0 20px;}
ul.info > li {margin: 5px 0;}
ul.info > li p{font-size: 1.4rem;line-height: 2rem;}

ul.understan{margin:  0 0 20px;padding: 0 22px;}
ul.understan > li{margin: 5px 0;}

.title_text{margin:0 0 20px;}
.title_icon{width: 10px;background-color: #5ac8bf;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;}



/* PageC 內容設定*/
section#PageC{width: 100%;background-color: #FFF;padding: 80px 0;}
.teacher{margin: 40px 0 0;}
.teacher_photo{width: 90%;}
.teacher_photo img{width: 100%;}

.line_bg{background:url(../images/line.svg) no-repeat;height: 20px;width: 100%;background-size: cover;}


/* PageD內容設定*/
section#PageD{width: 100%;background-color: #eefbfa;padding: 80px 0;}
.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: #88d1ca;padding: 5px 10px;color:#fff;cursor: pointer;transition: all .3s linear;}
ul.discount a > li:hover{background-color: #48c1b8;}

p.sp{font-size: 1.02rem;}

.ad{width: 100%;background-size: cover;}
.ad img{width: 100%;}



/* 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 (max-width: 1440px) {
       /* RWD 整體寬度調整*/
       div.content { width:90%; }
        /* 主視覺 */ 
        .master_bg{background: url(../images/TITLE_BG.jpg) no-repeat -40px -30px;background-size:cover;}
        .master_title{margin: 200px 0 100px;}
        /* PageB 內容設定*/
       
        /* PageC 內容設定*/
 
    }

    @media (max-width: 1199px) {
        /* RWD 整體寬度調整*/
 

        /* 主視覺 */
       
    }

    @media (max-width:991px) {
        /* RWD 整體寬度調整*/
  
        h2{font-size: 1.5rem;line-height: 2.4rem;}
        h3{font-size: 1.4rem;line-height: 2.2rem;}
        h4{font-size: 1.3rem;}
        h5{font-size: 1.1rem;}


        /* 主視覺 */
        .master_bg { background: url(../images/TITLE_BG2.jpg) no-repeat -50px -10px; background-size: cover; }
        .master_title { margin: 170px 0 50px; text-align: center; color: #fff; }
        
        /* PageB 內容設定*/
        ul.agenda > li {
            margin: 5px 0;
            font-size: 1.1rem;
            line-height: 1.8rem;
        }
        ul.info > li p{font-size: 1.1rem;line-height: 1.8rem;}

        /* PageD內容設定*/
        ul.discount{width: 80%;}

        /* PageE 內容設定*/

         /* btn 內容設定 */
        .page_btn{ font-size: 1.1rem;}

    }

    @media (max-width: 767px) {
         /* RWD 整體寬度調整*/
        div.content { width: 80%; }
   
        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 0px  20px; background-size: cover; }
        .master_title { margin: 300px 0 30px; text-align: center; color: #fff; }
        .logo { width: 90%;}


        /* PageB內容設定*/
        ul.info > li { margin:10px 0; }
        i{width: 100%;text-align: left;}
   



    }

    @media (max-width: 575px) {
        body { margin: 0;}
   
        /*RWD 整體寬度調整*/
        i{margin-right: 5px;}
        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 {padding: 15px; margin: 0; }
        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; }
        .master_title { margin: 300px 0 30px; text-align: center; color: #fff; }
        /* PageB內容設定*/
      
        /* PageC內容設定*/
        .teacher_photo {
            width: 70%;margin: 0 auto;
        }

        /* PageD內容設定*/
        ul.discount{width: 100%;}

    }
  
    @media (max-width: 400px) {
        /* navbar */
        .nav-logo{width:150px;}
    }