*{font-family: 'Noto Sans TC', '微軟正黑體', 'Arial',sans-serif;box-sizing: border-box;}
body{overflow-x:hidden;background-color: #fff;z-index: -999;}
h1, h2, h3, h4, h5, h6 {clear: both;margin-bottom: 0;}
html{font-size: 16px;}
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;}

/* RWD 整體寬度調整*/
header div.content {  position: relative; }
div.content { margin: auto; clear: both;}
header, section { width: 100%; margin: 0;padding: 0; clear: both; }
section p,section li{  color: #000;margin-bottom: 0rem;font-size: 1.1rem;line-height: 2rem;font-weight: 400;width: 100%;margin: auto; }
ol,ul{margin-bottom: 0;}

/* 基本操作 */
.text_center{text-align: center;}
.text_left{text-align: left;}
.flex{display: flex;}
.clear{clear: both;}
section#PageA .row{ padding:40px 0 0;}
section#PageA .row:first-child{ padding: 0;}

/* 大標 */
.title{color: #272727;margin: 20px 0;}
.title img{width: 25px;display: inline-block;vertical-align: middle;margin-right: 10px;}
section .content .title  h2{ margin: 0 0 30px 0;text-align: center;line-height: 2.4rem;} 

/* navbar */
.navbar { position: fixed; font-family: 'Noto Sans TC', '微軟正黑體',  'Arial',sans-serif;width: 100%; z-index: 999;font-size: 1.2rem;font-weight: 400;}
.navbar ul li{line-height: 80px;}
.bg-dark { background-color: #3a3a3a!important;padding: 0 50px; }
.navbar #formLink{ background: #fca503; 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%;}
.nav-logo img{width:100%;}
/* 主視覺 */
header#Visual {position: relative;}
header#Visual .container-fluid{height: 550px;margin: 0 10%;width: 80%;margin: 0 10%;}
.master_bg{background: url(../images/TITLE_BG.jpg) no-repeat center;background-size: cover;height: 550px;}
.master_title{line-height: 550px;}
.master_title_photo{width:100%; margin: 50px auto 0; }
.master_title_photo img{width:100%;}
.logo{position: absolute;top:120px;right:15px;display: block;}
.logo img{width: 100%;}
.master_photo{width: 100%;padding:20px 0;}
.master_photo img{width: 100%;}

/* PageA 內容設定*/
section#PageA{width: 100%;background-color: #fff;padding: 80px 0;}
section#PageA div.content { width:76%;}

section#PageA h2 span{color:#EB4336;font-size: 1.2rem;}
section#PageA p{font-size: 1.2rem;line-height: 2.4rem;}
section#PageA .photo {margin:0 40px;}





/* PageB 內容設定*/
section#PageB{width: 100%;}
section#PageB .container-fluid{background-color: rgba(255, 255, 255, 0.5);
    background:-webkit-linear-gradient(top,rgba(255, 255, 255, 0.8),rgb(255, 255, 255, 0.5)), url(../images/TITLE_BG.jpg);background-size: cover;padding: 40px 0;}
section#PageB .info_content{width: 100%;background-color: rgba(255, 255, 255);margin: 40px 0;border-radius: 20px;overflow: hidden;padding: 20px 20px 40px;}


.flex_content{display: flex;justify-content: space-around;}
.flex_list{width: 45%;}
section#PageB div.content { width:80%;}
section#PageB p,section#PageB li{color: #000;}
 .title_text{padding: 10px 50px;color: #170C66;text-align: center;margin: 0 0 20px;} 
.title_icon{width: 10px;background-color: #EB4336;height: 30px;display: inline-block;vertical-align: middle;}
.title_sm{background-color: #ff7b00;padding:2px 10px;margin:30px 0 5px 0;display: inline-block;}
.title_sm h5{font-weight: 700;color: #fff ;}
ul,ol{padding:0 0 0 20px;}
ul.no_list{margin:  0 0 20px;padding: 0 0px;}
ul.no_list > li{margin: 10px 0 20px;list-style: none;}

ul.no_list > li > h5{font-weight: 700;color: #ff7b00;}


/* PageC 內容設定*/
section#PageC{width: 100%;padding: 80px 0;background-color: #fcff3b;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);background-size: cover;}
section#PageC div.content { width:80%;}
.teacher_title_text{margin: 0 0 20px;}
.teacher_photo{width: 90%;margin: 0 auto;}
.teacher_photo img{width: 100%;}

/* btn 內容設定 */
.big_btn { width:300px; padding: 10px; background-color:#fca503;  text-align: center; color: #fff; transition: all 0.2s linear; cursor: pointer;margin: 20px;}
.big_btn:hover { box-shadow: 3px 3px 10px rgb(0 0 0 / 40%) inset; }

.big_btn_disable{width: 300px; padding: 10px; background-color:#a1a1a1;  text-align: center; color: #fff; transition: all 0.2s linear;cursor: not-allowed;margin: 20px;}
.flex_btn{display: flex;justify-content: center;}
/* RWD Setting */

    @media (max-width: 1440px) {
       /* RWD 整體寬度調整*/
       div.content { width:95%; }
         /*主視覺*/
       .master_title_photo{width:100%;}
       .flex_list{width: 50%;}
    }
    @media (max-width: 992px) {
         /* PageB 內容設定*/
         .title_text{width: 50%;}
    }

    @media (max-width: 767px) {
         /* RWD 整體寬度調整*/
        div.content { width: 100%; }
        section p,section li{font-size: 1rem;line-height: 1.8rem;}
        table tr td p{font-size: 1rem;line-height: 1.8rem;} 
        
        /* 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; }
        
        header#Visual > .container-fluid{width: 100%;height: 450px;}
        .master_title { line-height: 400px;}
        .master_title_photo{width:100%;float: none;}
        .master_title_photo img{width:100%;padding: 0;}
        .master_title_photo { margin: 0 auto;  }
        /* PageA 內容設定*/
        section#PageA h2{font-size:1.4rem;}
        section#PageA div.content { width:95%; }
  
        /* PageB內容設定*/
        section#PageB div.content { width:95%;}
        .teacher_photo{width: 45%;}

        .flex_content{display: block;}
        .flex_list{width: 100%;}
        hr{width: 100%;}
        /* PageC內容設定*/
        section#PageC div.content {
            width: 95%;
        }
    }

    @media (max-width: 575px) {
        section .content .title h2 {line-height: 1.9rem;font-size: 1.4rem;margin: 0 0 15px 0;}
        h3{font-size: 1.3rem;line-height: 1.8rem;}
        h4{font-size: 1.2rem;line-height: 1.6rem;}
        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; }
       
        /* nav */
        .bg-dark { padding: 0 18px; }
        .navbar #formLink a{ color: #29b3b3; }
        .navbar #formLink a:hover{ color: #169e9e; }

        /* 主視覺 */
        header#Visual .container-fluid {
            height: 550
        px
        ;
            margin: 0 10%;
            width: 98%;
            margin: 0 1%;
        }
        .master_bg{background: url(../images/TITLE_BG_m.jpg) no-repeat center;background-size: cover;    height:500px ;}
       
        .master_title { line-height: 200px; }
        .master_title_photo img{width:100%;margin: 0 auto;}

        .logo{position: absolute;top:80px;right:15px;display: block;}
        .logo img{width:60%;}
        .title_text { padding: 10px 0px; }
        /* PageB內容設定*/
        .title_text{width: 100%;}
        section#PageB span{ display: inline-flex;margin-bottom: 15px;}
       
        /* PageC內容設定*/
        .teacher_photo { width: 70%;margin: 0 auto;}

        /* PageD內容設定*/


        .flex_btn{display: flex;justify-content: center;flex-direction: column;}
        .big_btn { margin:10px auto; }
        .big_btn_disable { margin: 10px auto; }
    }
  
    @media (max-width: 400px) {
        /* navbar */
        .nav-logo{width:220px;}
    }