/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ---reset.css--- */

#noie6 {
    background: #FFDFDF; /*背景色*/
    border: 1px solid #FF2F2F; /*邊線*/
    clear: both; /*清除繼承上方的浮動*/
    color: #555; /*字體顏色*/
    display: block; /*顯示方式*/
    font-size: 15px; /*字體大小*/
    height: 40px; /*高度*/
    letter-spacing: 1px; /*字體間距*/
    padding: 5px; /*內邊距*/
    position: relative; /*相對定位*/
    text-align: center; /*文字置中*/
    top: 10px; /*距離上方10px*/
    width: 100%; /*寬度*/
    z-index: 99;
}

#ALL {
    width: 100%;
    position: relative;
    margin-top: -3px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: none;

    /*font-family: Meiryo, "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;*/
    font-family: Arial, Helvetica,"微軟正黑體", "Microsoft JhengHsans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Arial, Helvetica,"source-han-sans-traditional","微軟正黑體", "Microsoft JhengHsans", sans-serif;
}

body {
    font-size: 17px;
}

a {
    text-decoration: underline;
}

.ANT {
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all 0.4s;
}

/* ----------電腦版型--------------------------- */

/*GOTOP*/
#GOTOP {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    background-image: url(../images/gotop.png);
    cursor: pointer;
    z-index: 9999;
    position: fixed;
    opacity: 0.8;
    filter: alpha(opacity = 80);
}

#GOTOP:hover {
    opacity: 1;
    filter: alpha(opacity = 1);
}


/* *{
	outline: 1px solid  #f0f;
} */
/*------------- TOP -------------*/
.TOP {
    width: 100%;
    height: auto;
    background-color: #ffcabc;
    background: url(../images/top_bg_1920.jpg) no-repeat;
    background-position: center center;
    height: 770px;
    min-height: 415px;
    overflow: hidden;
}



@media screen and (max-width: 1200px) {
	.TOP {

height: 0;
	background-size: cover;
	padding-bottom:64.166666%}
}

.TOP .WRAPPER {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 1200px) {
	.TOP .WRAPPER {
position: absolute;
max-width: inherit;
top: 0;
left: 0;
	}
}

.smallImg {
    position: absolute;
    top: 20%;
    left: 12%;
    z-index: 5;
    animation: GOING1 10s infinite alternate linear;
    -webkit-animation: GOING1 10s infinite alternate linear;
    -moz-animation: GOING1 10s infinite alternate linear;
    -ms-animation: GOING1 10s infinite alternate linear;
    -o-animation: GOING1 10s infinite alternate linear;
}

@keyframes GOING1 {
    0% {
        top: 20%;
    }

    50% {
        top: 20.5%;
    }

    51% {
        top: 20.5%;
    }

    100% {
        top: 20%;
    }
}

.smallImg img {
    max-width: 100px;
    width: 15vw;
    height: auto;
}

.tagImg {
    position: absolute;
    top: 25%;
    right: 8%;
    z-index: 11;
}

.tagImg img {
    max-width: 182px;
    width: 27vw;
    height: 156px;
    min-width: 100px;
}

.KV1Img {
    position: absolute;
    top: 38%;
    left: 50%;
    margin-left: -330px;
    z-index: 10;
}

.KV1Img img {
    max-width: 646px;
    width: 80vw;
    min-width: 260px;
}

.KV2Img {
    margin-top: 3%;
}

.KV2Img img {
    max-width: 988px;
    width: 100vw;
    min-width: 330px;
}

.bgImg {
    display: none;
    position: absolute;
    bottom: -20%;
    left: 50%;
    margin-left: -340px;
}

.bgImg img {
    max-width: 679px;
    width: 100vw;
    min-width: 320px;
}

.titleImg {
    position: absolute;
    left: 41%;
    top: 10%;
	width:640px;

   max-width: 53.3333vw;
}
.titleImg img{
	width: 100%;
}





.subImg img {
    max-width: 350px;
    height: 35px;
    width: 65vw;
}

.tada {
    animation: tada 5s infinite;
    animation-delay: 3s;
}

.pulse {
    animation: pulse 2s infinite;
    animation-delay: 1.5s;
}

.bounce {
    -ms-animation: bounce 2s 2s infinite;
    -moz-animation: bounce 2s 2s infinite;
    -webkit-animation: bounce 2s 2s infinite;
    animation: bounce 2.5s 50s infinite;
    animation-delay: 3s;
}

.bounce2 {
    -ms-animation: bounce 2s 2s infinite;
    -moz-animation: bounce 2s 2s infinite;
    -webkit-animation: bounce 2s 2s infinite;
    animation: bounce 2.5s 50s infinite;
    animation-delay: 4s;
}

/*------------- FORM_BLOCK -------------*/

.FORM_BLOCK {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background-color: #4c4c4c;
    background: url(../images/bg01.png) center top fixed;
    padding-top: 50px;
    padding-bottom: 30px;
}

.FORM_BLOCK .WRAPPER {
    margin: 0 auto;
    position: relative;
    width: 90%;
    max-width: 880px;
}

.h3 {
    margin-top: 0px;
}

h3 {
    margin: 0 auto;
    max-width: 500px;
    border: 1px dashed #572c01;
    border-radius: 50px;
    color: #572c01;
    font-weight: bold;
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 15px;
}

span.price {
    font-size: 38px;
    font-family: "Arial Black";
    font-style: oblique;
    letter-spacing: -2px;
}

span.price::before {
    content: "$";
    font-size: 28px;
}

/*@keyframes discolor{
	0%, 50% {
	    color: #ffe400;
	}
	51%, 100% {
	    color: #fff600;
	}
}*/

.GIFT {
    display: block;
    float: left;
    width: 50%;
    margin: 0 auto;
}

.GIFT img {
    max-width: 400px;
    width: 90vw;
}

.h3, .ps {
    text-align: center;
    font-weight: bold;
    line-height: 0.8;
    font-size: 25px;
    color: #ffffff;
}

.ps {
    font-weight: normal;
    font-size: 16px;
    color: #ffffff;
}

/*------------表單內容------------*/

#FORM {
    float: left;
    width: 50%;
    margin: 0 auto;
    z-index: 99999;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-left: 30px;
}

#FORM #NAME {
    width: 49%;
    height: auto;
    float: left;
    margin-right: 2%;
}

#FORM #PHONE {
    width: 49%;
    height: auto;
    float: left;
}

#FORM #EMAIL {
    width: 100%;
    height: auto;
    float: left;
}

#FORM #Dept {
    margin: 0px 0px 20px 0px;
    width: 100%;
    height: 40px;
}

#FORM #CITY {
    float: left;
    width: 49%;
    height: auto;
    margin-right: 2%;
}

#ddl_city_no {
    width: 100%;
    font-size: 16px;
    text-align: center;
}

#FORM #SCHOOL {
    float: left;
    width: 49%;
}

#ddl_area_no {
    width: 100%;
    font-size: 16px;
    text-align: center;
}

#READ {
    clear: both;
    font-size: 15px;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

#READ .searchtext2 {
    min-width: 20px;
    min-height: 20px;
    border: solid 1px gray;
    vertical-align: text-bottom;
}

#READ span {
    color: #ffffff;
    line-height: 20px;
    text-indent: 5px;
    line-height: 1.3;
}

#FORM #BUT {
    float: left;
    width: 100%;
    height: auto;
}

.A {
    font-family: Arial, Helvetica,"微軟正黑體", sans-serif,Microsoft JhengHei;
    color: #666;
    background-color: #fff;
    border: 0;
    border-left: 6px #ddcdb4 solid;
    width: 100%;
    height: 35px;
    line-height: 35px;
    margin-top: 8px;
    font-size: 18px;
    text-align: left;
    padding-left: 10px;
    overflow: hidden;
}

.B {
    clear: both;
    width: 100%;
    height: 50px;
    display: block;
    margin: 0 auto;
    *zoom: 1;
    font-size: 25px;

    /*text-shadow: 2px 1px #60b7c6;*/
    line-height: 45px;
    text-align: center;
    letter-spacing: 5px;
    color: #534447;
    text-decoration: none;
    background-color: #ffe600;
    border-bottom: 7px solid #ffc000;
    cursor: pointer;
    border-radius: 3px;
}

.B:hover {
    line-height: 50px;
    color: #fff;
    background-color: #534447;
    border-radius: 50px;
    border-bottom: none;
}

.C:hover {
    line-height: 50px;
    color: #534447;
    background-color: #ffc000;
    border-bottom: none;
}

/*------------- CONTENT1 -------------*/

.CONTENT1 {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background: url(../images/bg02.png) center top fixed;
    background-color: #fff7de;
    padding-top: 80px;
    padding-bottom: 80px;
}

.CONTENT1 .row + .row {
    margin-top: 10px;
}

h1 {
    font-size: 40px;
    font-weight: 550;
    line-height: 50px;
    letter-spacing: 0px;
    color: #572c01;
    text-align: center;
    margin-bottom: 40px;
}

.h4 {
    margin: 0 auto;
    max-width: 577px;
    margin-bottom: 10px;
    padding-left: 30px;
}

.h4 img {
    display: inline-block;
    margin: 0 auto;
    width: 100px;
}

.h4::before {
    content: "";
    background: url(../images/decoration_l.svg) center no-repeat;
    width: 216px;
    height: 40px;
    display: inline-block;
    position: relative;
    right: 30px;
    top: -20px;
}

.h4::after {
    content: "";
    background: url(../images/decoration_r.svg) center no-repeat;
    width: 216px;
    height: 40px;
    display: inline-block;
    position: relative;
    left: 30px;
    top: -20px;
}

p.text {
    text-align: center;
    line-height: 1.5;
    font-size: 21px;
    color: #333;
    margin-bottom: 50px;
}

h5 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    text-indent: 10px;
    margin-bottom: 15px;
}

h5::before {
    content: "";
    width: 8px;
    height: 32px;
    display: inline-block;
    position: relative;
    left: -10px;
    top: 5px;
}

h5.color01 {
    color: #eb5c3b;
}

h5.color01::before {
    background-color: #eb5c3b;
}

h5.color02 {
    color: #3a7da9;
}

h5.color02::before {
    background-color: #3a7da9;
}

.course-block {
    position: relative;
    float: left;
    display: block;
    width: 100%;
    height: auto;
    padding-bottom: 40px;
    overflow: visible;
    color: #fff;
    margin-bottom: 50px;
}

.course-block:hover {
    -webkit-box-shadow: 2px 5px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 5px 4px rgba(0, 0, 0, 0.2);
}

.IMG_BLOCK {
    overflow: hidden;
    position: relative;
    height: auto;
    max-height: 300px;
    margin-bottom: 30px;
}

.course-block img {
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all 0.5s ease-out;
}

.course-block .IMG_BLOCK:hover img {
    transform: scale(1.07);
}

.skill01 {
    background-color: #e6512e;
    border: 1px solid #e6512e;
}

.skill02 {
    background-color: #e6512e;
    border: 1px solid #e6512e;

    /*
    	background-color: #3a7da9;
    	border:1px solid #3a7da9;
    */
}

h6 {
    text-align: center;
    font-size: 23px;
    line-height: 2.5;
}

h6 span {
    font-size: 19px;
    font-weight: 200;
}

.P_BLOCK {
    /* height: 130px; */
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}

.P_BLOCK ul {
    width: 100%;
    padding-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.P_BLOCK ul li {
    list-style: square;

    /* text-align: left; */
    line-height: 1.3;
    margin-bottom: 5px;
}

.course-block p {
    margin: 0 auto;
    max-width: 425px;
    width: 85%;
    font-size: 17px;
    text-align: justify;
    line-height: 1.6;
}

p.slill {
    margin-top: 15px;
    margin-bottom: 10px;
}

.icon-img {
    margin: 0 auto;
    width: 170px;
    margin-bottom: 5px;
}

.icon-img img {
    display: inline-block;
}

.CTA {
    margin: 0 auto;
    width: 200px;
    font-size: 19px;
    letter-spacing: 0;
    text-align: center;
}

/*------------- CONTENT4 -------------*/

.CONTENT4 {
    display: block;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding: 5% 0 7% 0;
    background: url(../images/bg01.png) center top fixed;
    background-color: #f8f5b2;
    text-align: left;
}

.CONTENT4 {
    background-color: #d6e3fc;

    /*background:url(../images/BG4.png) repeat fixed;*/
}

.CONTENT4 img {
    max-width: 335px;
    min-width: 200px;
    width: 70%;
}

.CONTENT4 p {
    text-align: justify;
    line-height: 2;

    /*letter-spacing:1px;*/
    font-size: 18px;
    color: #ffffff;
}

.CONTENT4 p.teacher {
    font-weight: 700;
    color: #ffffff;
    font-size: 28px;
}

.CONTENT4 p.teacher span {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    font-weight: 100;
    font-size: 17px;
    line-height: 1.6;
    color: #000000;
    padding: 0 2%;
    background-color: #cfcfcf;
}

.CONTENT4 ul li {
    line-height: 1.3;
    padding-bottom: 10px;
}

.CONTENT4 ul li span {
    font-weight: 600;
}

.CONTENT4 ul i {
    color: #0d6994;
}

.CONTENT4 p.sub {
    margin-top: 25px;
    margin-bottom: 5px;
}

.CONTENT4 ul.list li, .BG34 .CONTENT3 ul.list li {
    font-size: 18px;
    list-style-type: square;
    line-height: 1.6;
    color: #1c3466;
}

.CONTENT4 ul.list2 {
    margin-top: -20px;
}

.CONTENT4 ul.list2 li {
    list-style-type: none;
    line-height: 1.8;
}

/* --電腦版型2-------------------------------------*/
@media screen and (max-width: 1279px) {
    .smallImg {
        left: 10%;
    }

    .tagImg {
        top: 30%;
        right: 10%;
    }

    .KV2Img {
        margin-top: 8%;
    }

    .KV1Img {
        margin-left: -350px;
    }

    .KV1Img {
        top: 35%;
        margin-left: -330px;
    }
}

/* --平板版型1-------------------------------------*/
@media screen and (max-width: 1023px) {
    .KV2Img {
        margin-top: 20%;
    }

    .bgImg {
        bottom: -5%;
    }

    .tagImg {
        right: 0%;
    }

    .smallImg {
        top: 25%;
        left: 2%;
    }

    @keyframes GOING1 {
        0% {
            top: 25%;
        }

        50% {
            top: 25.5%;
        }

        51% {
            top: 25.5%;
        }

        100% {
            top: 25%;
        }
    }

    .FORM_BLOCK {
        padding-bottom: 50px;
    }

    .GIFT {
        float: none;
        width: 100%;
    }

    #FORM {
        float: none;
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }

    .P_BLOCK {
        height: 180px;
    }
}

/* --平板版型2-------------------------------------*/
@media screen and (max-width: 767px) {
    .TOP {
        display: block;
        background: url(../images/top_bg_768.jpg) no-repeat;
        width: 100%;
        height: 0;
        padding-bottom: 130.2083333333333%;
        background-size: 100% auto;
    }

    /* .TOP .WRAPPER {
        height: 900px;
    } */

    /* .tagImg {
        top: 23%;
    } */

    .titleImg {
     max-width: inherit;
	 width: 64vw;
/*	 top: 0%;*/
	 left: 18.5%;
}
    }

    .KV1Img {
        top: 30%;
        margin-left: -300px;
    }

    .bgImg {
        bottom: 5%;
    }

    .P_BLOCK {
        height: auto;
    }
}

@media screen and (max-width: 679px) {
    .KV1Img {
        margin-left: -250px;
    }

    .bgImg {
        bottom: 10%;
        margin-left: -50vw;
    }
}

/* --手機版型1-------------------------------------*/
@media screen and (max-width: 639px) {
    #GOTOP {
        display: none;
    }

    .KV1Img {
        margin-left: -40vw;
    }

    /* .TOP .WRAPPER {
        height: 680px;
    } */

    .h4 {
        margin-left: -30px;
        margin-bottom: 0;
    }

    .h4 img {
        display: block;
    }

    .h4::before, .h4::after {
        background: none;
        width: 0;
        height: 0;
    }

    p.text {
        font-size: 19px;
    }

    h1 {
        font-size: 32px;
    }
}

/* --手機版型2-------------------------------------*/
@media screen and (max-width: 479px) {
    .TOP, .FORM_BLOCK, .CONTENT1, #CONTENT2, #CONTENT3, #CONTENT4 {
        min-width: 320px;
    }

    /* .TOP .WRAPPER {
        height: 625px;
    } */

    #FORM .GIFT, #FORM #NAME, #FORM #PHONE, #FORM #EMAIL {
        width: 100%;
        margin-right: 0;
    }

    #FORM {
        margin-bottom: 30px;
    }

    .CONTENT1 {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    /* .titleImg {
        margin-bottom: 5px;
    } */

    .KV2Img {
        margin-top: 5%;
    }

    .tagImg {
        top: 55%;
        right: 5%;
    }

    .smallImg {
        display: none;
    }

    h3 {
        font-size: 26px;
    }

    h1 {
        font-size: 26px;
    }

    h5 {
        font-size: 24px;
    }

    h6 {
        font-size: 19px;
    }

    .h3 {
        font-size: 21px;
    }

    .ps {
        font-size: 16px;
    }
}

/* --手機版型2-------------------------------------*/
@media screen and (max-width: 400px) {
    .tagImg {
        top: 50%;
        right: 5%;
    }
}

/* --手機版型3-------------------------------------*/
@media screen and (max-width: 374px) {
    h3 {
        font-size: 22px;
    }

    .tagImg {
        top: 45%;
    }
}

/* --電腦版型w320以下-------------------------------------*/
@media screen and (max-width: 319px) {}
