*{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: #0cb7a8; 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;}

.master_bg{background: url(../images/TITLE_BG.jpg) no-repeat  right bottom;height: 620px;background-size:cover;background-color: #404190;position: relative;}

.master_title{width: 100%;position: absolute;width: 55%;left: 5%;top: 24%;}
.master_title img {width: 100%;}
.logo{position: absolute;top:120px;right:15px;display: block;}
.logo img{width: 100%;}
.master_photo{width: 100%}
.master_photo img{width: 100%;}

/* PageA 內容設定*/
section#PageA{width: 100%;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.25rem;line-height: 1.8;margin-bottom: 15px;}
section#PageA .text-con span {background-image: linear-gradient(to bottom, transparent 40%, #ffdbdb 60%);}

.card-con{border:0 solid #C9D4F4; background-color: #f8e8e6; display: flex;padding: 30px 5%;margin: 40px auto 0;justify-content: space-between;border-radius: 50px; }
.card-con .photo{width: 40%;}
.card-con .photo img{width: 70%;margin: 0 auto; }


/* PageB 內容設定*/
section#PageB{width: 100%;background: url(../images/PageB-bg.jpg) center bottom;background-size: 100%;}
section#PageB .container-fluid{background-size: cover;position: relative;padding-top: 30px;}

section#PageB h3{font-size: 2rem;line-height: 1.5;}
.info_content{width: 100%;margin:0 auto;}
hr{height: 1px;margin: 30px auto;}
.flex_content{display: flex;justify-content: center;}
.flex_list{width: 38%;}
section#PageB div.content { width:82%;}
section#PageB p,section#PageB li{color: #000000;}
.title_text{margin:80px 0 50px;background-color:#35399C;padding: 10px 50px;color: #fff;display: inline-block;}
.title_icon{width: 10px;background-color: #FF6B6B;height: 30px;display: inline-block;vertical-align: middle;}
.title_sm{background-color: #00B6BA;padding:2px 10px;margin:30px 0 5px 15px;display: inline-block;}
.title_sm h5{font-weight: 700;color: #fff ;}
ul.no_list{margin:  0 0 20px;padding: 0 22px;}
ul.no_list > li{margin: 10px 0 20px;list-style: none;}
ul.no_list > li > h5{font-weight: 700;color: #ffac0c;}

/* PageC 內容設定*/
section#PageC{width: 100%;padding: 80px 0;}
section#PageC div.content { width:80%;}
.teacher_title_text{margin: 0 0 20px;}
.teacher_photo{width: 30%;margin: 0 auto;}
.teacher_photo img{width: 100%;}

#teacher{background: url('../images/lesson-bg.jpg') center repeat-y; background-size: cover;background-attachment: fixed;}
#teacher .con-title.center h5 { color: #084c61;font-weight: 600;font-size: 1.6rem; }


#teacher .box .title-all{display: flex;justify-content: space-between;align-items: center;}
#teacher .box .title-all .title {display: flex;align-items: center;}
#teacher .box .title-all  h3 {position: relative;font-weight: 600;color: #000;z-index: 1;}
#teacher .box .title-all  h3::after {content: "";position: absolute;width: 100%;height: 20px;background-color: #FFB5A4;left: 0;bottom: -5px;z-index: -1;}
#teacher .box .title-all .title .icon{width:120px;}
#teacher .box .title-all .title .icon img{width:100%;}
#teacher .box .title-all .title h2{font-size: 2rem;font-weight: 800;color: #000;margin: 0 15px;}
#teacher .box .item-all {display: flex;justify-content: space-between;margin: 20px 0 60px;}
#teacher .box .item-all .photo{width: 35%;height: 400px;background-size: 100%;border-radius: 10px;overflow: hidden;background-repeat: no-repeat;} 
#teacher .box .item-all .text{width: 60%;}
#teacher .box .item-all .text p{text-align: left;}
#teacher .box .item-all .text .item-title{background-color: #FF6B6B;display:flex;padding: 5px;color: #fff;border-radius: 5px;
    padding: 10px 15px;margin: 0 0 20px;transition: all .3s ease-in;width: 100%;align-items: center;justify-content: flex-start;}
    #teacher .box .item-all .text a:hover .item-title{background-color: #19718c;}
#teacher .box .item-all .text .item-title h5{color: #fff;margin: 0 10px 0 0;}
#teacher .box .item-all .text .item-title h5 i{margin: 0 0 0 10px;} 
#teacher .box .item-all .text .exam{background-color: #FFFFFF;padding: 15px;}
#teacher .box .item-all .text .exam .title{color:#084C61;font-weight: 500;font-size: 1.1rem;}
#teacher .box .item-all .text .exam .title i {width: 30px;}
#teacher .box .item-all .text .exam  p:last-child {margin-bottom: 0 ;}

/* btn 內容設定 */
#PageC h5{font-size: 2rem;}
.big_btn { width: 400px; padding: 20px 30px; margin: 50px auto 20px;background-color:#0cb7a8;  text-align: center; color: #ffffff; transition: all 0.2s linear; cursor: pointer;}
.big_btn:hover { box-shadow: 3px 3px 10px rgb(0 0 0 / 40%) inset; background-color:#00766c;}
.navbar-toggler{display: block;}
.big_btn_disable{width: 300px; padding: 10px; background-color:#a1a1a1;  text-align: center; color: #fff; transition: all 0.2s linear;cursor: not-allowed;margin: 50px;}
.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_photo{width:100%;float: none;}
        .master_title_photo img{width:100%;padding: 0;}
        .master_title_photo { margin: 0 auto;  }




        /* PageA 內容設定*/
       
        section#PageA div.content { width:95%; }
        section#PageA ul{margin-left: -16px;}

        .card-con { flex-direction: column;padding:15px;border-radius: 10px; }
        section#PageA .photo { margin: 30px auto 0; width: 80%; }





        /* PageB內容設定*/
        section#PageB div.content { width:95%;}
        .teacher_photo{width: 45%;}
        .title_text h2{font-size:1.4rem;}
        .title_text{padding: 0;} 
        #PageB .ml-5{
        margin-left: 0 !important;
        }
        .flex_content{display: block;}
        .flex_list{width: 100%;}
        hr{width: 100%;}

        section#PageB { background: url(../images/PageB-bg.jpg) center ; background-size: cover; }
        /* PageC內容設定*/
        section#PageC div.content {
            width: 95%;
        }
        .flex_btn{display: flex;justify-content: center;flex-direction: column;}
        .big_btn { margin:10px auto; }
        .big_btn_disable { margin: 10px auto; }
    }

    @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: 1.2rem;line-height: 1.8;}
        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: 550px ; margin: 0 10%; width: 98%; margin: 0 1%; }
        .master_bg{background: url(../images/TITLE_BG_m.jpg) no-repeat center bottom;background-size: cover;    height:580px ;}
        .master_title{width:96%;left: 2%;top:8%;}


        .master_title_photo img{width:100%;margin: 0 auto;}
        .navbar-brand img{width: 100%;}
        .navbar-toggler{display: none;}
        .logo{position: absolute;top:80px;right:15px;display: block;}
        .logo img{width:60%;}
        section#PageA .photo img{width:100%;}

        /* PageB內容設定*/
        .title_text{width: 100%;}
        section#PageB h3{font-size: 1.5rem;line-height: 1.5;}
        .title_text{margin:31px 0 10px;}
        /* PageC內容設定*/
        #teacher .box .title-all { flex-direction: column-reverse; align-items: flex-start;}
        #teacher .box .title-all .title { margin: 0 0 10px; }
        #teacher .box .title-all .title .icon { width:100px; }
        #teacher .box .item-all { flex-direction: column; }
        #teacher .box .item-all .photo { width:100%; height: 250px;margin: 0 0 20px; }
        #teacher .box .item-all .text { width:100%;}
        .teacher_photo { width: 70%;margin: 0 auto;}

        /* PageD內容設定*/

        .big_btn { width: 320px; }

    }
  
    @media (max-width: 400px) {
        /* navbar */
        .nav-logo{width:220px;}
    }