@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;600;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dynalight&family=Playball&display=swap');

/* CSS Document */
body {
    font-family: Arial, "微軟正黑體", sans-serif;

}

/* 這是設定所有放大縮小的物件是使用移動方式變化 */
.tra{-webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;}
/* wow進場後額外繼續輪播的動畫 */
.myAni {
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

.myAni.infinite {
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

.myAni.hinge {
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.myAni.infinite.pulse {
/*animation-delay: 2s;*/
-webkit-animation-name: pulse !important;
animation-name: pulse !important;
}
.wrapper{position:relative;overflow:hidden;}

.br {
        display: none;
    }

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: inherit;
    text-decoration: none;
}
/*A區banner*/

.bannerwrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background-color: #a57f63;
}

.bannerpicfull {
    max-width: 1920px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.bannerpic960 {
    display: none;
    width: 100%;
    height: auto;
}

.banner_show1 {
    z-index: 5;
    position: absolute;
    max-width: 580px;
    width: 30%;
    height: auto;
    margin: 0 auto;
    top: 1%;
    left: 0;
    right: 0;
}

.banner_show2 {
    position: absolute;
    max-width: 110px;
    width: 6%;
    height: auto;
    top: -3%;
    right: 31%;
    z-index: 5;
}


.question_wraper {
    background-image: url(../images/bg-pink.jpg);
    background-color: #e0aa99;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 300px;
    z-index: 99;
}

.question_wraper h2, .course h2, .advantage h2 {
    text-align: center;
    width: 695px;
    margin: 0 auto;
    font-size: 40px;
    line-height: 2.1;
    font-weight: 500;
    letter-spacing: 2px;
    color: #fff;
    background-image: url(../images/title-bg.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    padding-bottom: 3%;
}
.question_wraper h4 {
    text-align: center;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
    max-width: 795px;
    margin: 2% auto;
    padding-bottom: 5%;
    color: #fff;
}

.question_area {
    position: relative;
    margin: 0 auto;
    text-align: center;
    z-index: 99;
}


/*tab 樣式*/
.nav-tabs > li > a {
    color: #313131;
    font-size: 18px;
    font-weight: bold;
}

    .nav-tabs > li > a:hover {
        border-bottom: 1px solid #ffffff;
    }

.nav-tabs > li.active > a {
    font-size: 18px;
    font-weight: bold;
}

.nav-tabs {
    border-bottom: 0;
}

    .nav-tabs > li > a:hover {
        border-color: #eee #eee #fff;
        border-top: 5px solid #d2d2d2;
    }

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        color: #ffffff;
        cursor: default;
        background-color: #502604;
        border: none;
        border-top: 8px solid #f7d56a;
        padding-bottom: 8px;
    }

.tab-content {
    background-color: #ffffff;
}


/*題目*/
.topic1_area {
    background-color: #502604;
    margin-bottom: 80px;
    border-radius: 12px 12px 12px 12px;
    padding: 35px 20px;
}

    .topic1_area p {
        font-size: 17px;
        line-height: 1.3;
        color: #ffffff;
        margin: 10px auto;
    }

.topic1 {
    text-align: center;
    margin-top: 20px;
}

.topic_pic {
    max-width: 300px;
    width: 100%;
    border-radius: 12px;
}

.play_button {
    max-width: 70px;
    width: 100%;
    color: #99a0e2;
    position: absolute;
    margin: 0 auto;
    top: 28%;
    left: 0;
    right: 0;
    transition: 0.4s;
}

    .play_button:hover {
        -webkit-filter: drop-shadow(6px 6px 12px #fff);
        filter: drop-shadow(2px 3px 0px #000);
        filter:  #fff;
    }


/*  彩帶  */
.fire {
    position: absolute;
    width: 100vw;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
}
.fire img {
    width: 100%;
    height: auto;
}


/*  正統西班牙語課程介紹  */
.course {
    background-color: #e0aa99;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding-bottom: 5%;
}

.course .bgcolor-01, .course .bgcolor-02, .course .bgcolor-03 {
    padding: 35px;
    border-radius: 15px;
    margin-top: 11%;
    margin-left: 4%;
    margin-right: 4%;
    width: 25%;
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #000;
    transition: .2s;
}
.course .bgcolor-01 {
    background-image: url(../images/a0.png);
}
.course .bgcolor-02 {
    background-image: url(../images/a1.png);
}
.course .bgcolor-03 {
    background-image: url(../images/a2.png);
}
.course .bgcolor-01:hover {
    background-size: 110%;
    background-position: top;
    transition: .2s;
}
.course .bgcolor-02:hover {
    background-size: 110%;
    background-position: top;
    transition: .2s;
}
.course .bgcolor-03:hover {
    background-size: 110%;
    background-position: top;
    transition: .2s;
}
.icon-1, .icon-2, .icon-3 {
    position: relative;
    background-image: url(../images/teacher.png);
    background-size: 305%;
    width: 135px;
    height: 135px;
    border-radius: 100%;
    margin: 0 auto;
    margin-top: -51%;
    z-index: 99;
}

.icon-2{
    background-position-x: -140px;
}
.icon-3{
    background-position-x: -276px;
}


.diamond-1, .diamond-2 {
    position: absolute;
    width: 4em;
    height: 4em;
    background-image: url(../images/triangle.svg);
    background-size: 64%;
    background-repeat: no-repeat;
    z-index: 2;
    border-radius: 0px;
}

.diamond-1 {
    margin-top: -62%;
    right: -32%;
}
.diamond-2 {
    margin-top: -62%;
    right: -32%;
}

.course h3 {
    position: relative;
    font-size: 39px;
    color: #f5e1b9;
    border-radius: 6px;
    padding: 10px;
    font-weight: 600;
    z-index: 5;
}


/*  線上優勢介紹  */

.advantage {
    position: relative;
    display: block;
    padding-top: 3%;
    background-image: url(../images/greenbg.svg);
    background-size: cover;
    background-repeat: repeat-x;
    padding: 3% 0;
    z-index: 10;
    background-color: #e0aa99;
}

.advantage img {
    width: 55px;
    height: auto;
    padding: 20px 0;
}

.advantage h3 {
    color: #3f3f3f;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 15%;
}



/*  西班牙語5大課程特色  */
.features {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: #2e2d2b;
    padding-bottom: 5%;
    text-align: center;
}

.features h2 {
    text-align: center;
    margin: 0 auto;
    font-size: 39px;
    line-height: 7em;
    font-family: 'Noto Serif TC', serif;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
}
.star {
    display: inline-block;
    color: #b28f61;
    width: 1em;
    height: 1em;
}
.features-top {
  background-image: url(../images/big5-bg.png);
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
  height: 18em;
}

.features .box {
    position: relative;
    display: inline-table;
    width: 18.8%;
    height: 26em;
    margin: 4px;
    border-radius: 12px;
    border-top: 8px #b28f61 solid;
    padding: 14px;
    background-color: #fff;
    margin-top: 5%;
    text-align: center;
    font-size: 18px;
}
.features h3 {
    font-size: 17px;
    color: #59340e;
    font-weight: bold;
    margin-top: 15px;
}
.features .big5 {
    position: relative;
    display: block;
    width: 145px;
    height: 145px;
    margin: 0 auto;
    border-radius: 100%;
    margin-bottom: 7%;
}

.features h4 {
    font-size: 41px;
    line-height: 0.4;
    font-family: 'Playball', cursive;
    color: #b28f61;
}

.features .st {
    display: inline-block;
    width: 0.4em;
}

/*  gift  */

.gift {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 11;
}

.gift-left {
    position: absolute;
    margin-top: -145px;
    margin-left: -3%;
}
.gift-right {
    position: absolute;
    margin-top: 2%;
    right: 0%;
}

.gift img {
    width: 105%;
    max-width: 490px;
    height: auto;
}


/*表單*/

.state {
    color: #64b5f6;
}

.fill h1 {
    text-align: center;
    color: #ffffff;
    line-height: 1.2em;
    font-size: 39px;
    font-weight: 500;
    margin: 0 auto 2% auto;
    font-weight: 600;
}

.fill_lable img {
    width: 100%;
    max-width: 530px;
}

.go_button {
    display: inline-block;
    z-index: 10;
    width: 100%;
    height: auto;
    padding: 10px 5px 10px 5px;
    background-color: #c39456;
    color: #ffffff;
    cursor: pointer;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    -webkit-box-shadow: 0 4px 0 #545fc5;
    box-shadow: 0 7px 0 #715410;
    -webkit-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    border-radius: 5px;
}

    .go_button:hover {
        -webkit-transform: translateY(3px);
        -ms-transform: translateY(3px);
        transform: translateY(3px);
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }



.free_button {
    display: block;
    width: 125px;
    height: auto;
    padding: 3px 5px;
    margin: 12px auto;
    background-color: #ffffff;
    color: #b28f61;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    border-radius: 59px;
    border: 2px #b28f61 solid;
     -webkit-box-shadow: 0 4px 0 #b28f61; 
     -webkit-transition: all .4s ease-in-out; 
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

    .free_button:hover {

        -webkit-transform: translateY(3px);
        -ms-transform: translateY(3px);
        transform: translateY(3px);
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }




/*很多物件通用*/
.myButton {
    background-color: #44c767;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 28px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 9px 33px;
    text-decoration: none;
}

    .myButton:hover {
        background-color: #5cbf2a;
    }

    .myButton:active {
        position: relative;
        top: 1px;
    }




/*BANNER 進場delay時間、浮動*/


/*表單區*/

.fill {
    position: inherit;
    display: block;
    width: 88%;
    max-width: 1661px;
    margin: 0 auto;
    margin-top: -245px;
    margin-bottom: -220px;
    left: 0;
    right: 0;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
    height: auto;
    background-image: url(../images/list-bg.png);
    background-repeat: repeat-x;
    background-color: #000;
    background-size: 15%;
    border-radius: 25px;
    border: 15px #000 solid;
    box-shadow: 0px 7px 16px 0px #331f0bb3;
    z-index: 2;
}

.focus {
    color: #b28f61;
}

.fill #sBut {
    display: block;
    margin: 0 auto;
    width: 100%
}

.fill .form-control {
    margin: 6px auto;
    display: block;
    width: 100%;
    height: 45px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #99a0e2;
}


.statement {
    display: inline-block;
    color: #fff;
    margin: 10px auto;
    font-size: 16px;
}

@media screen and (max-width: 1680px) { 

.gift-left {
    position: absolute;
    margin-left: -7%;
}
.gift-right {
    position: absolute;
    margin-top: 7%;
    right: -8%;
}

}


@media screen and (max-width: 1440px) { 

.gift-left {
    margin-top: 6%;
    margin-left: -8%;
    width: 23%;
}
.gift-right {
    position: absolute;
    margin-top: 17%;
    right: -4%;
    top: 0;
    width: 21%;
}
.fill {
    margin-top: -10.5%;
    margin-bottom: -30%;
} 
.question_wraper {
    padding-top: 34%;
}

}

@media screen and (max-width: 1024px) { 
.fill {
    width: 100%;
    margin-top: -25px;
}
.gift-left {
    display: none;
}
.gift-right {
    display: none;
}
.question_wraper {
    /* padding-top: 31%; */
}
.course h3 {
    font-size: 33px;
}

.course .bgcolor-01, .course .bgcolor-02, .course .bgcolor-03 {
    padding: 25px;
}
.diamond-1, .diamond-2 {
    margin-top: -90%;
}

}

@media screen and (max-width: 768px) { 

.bannerpicfull {
    display: none;
} 
.bannerpic960 {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.banner_show1 {
    width: 52%;
    left: -2%;
}
.banner_show2 {
    width: 10.4%;
    right: 17%;
}

.gift-left, .gift-right, .fire {
    display: none;
} 
.fill {
    position: relative;
    width: 100%;
    margin-top: -24%;
    margin-bottom: 0;
    border-radius: 0;
}
.fill .form-control {
    margin: 13px auto;
}
.question_wraper {
    position: relative;
    padding-top: 5%;
    background-size: 150%;
}
.question_wraper h2, .course h2, .advantage h2 {
    width: 80%;
    height: 5.5em;
    line-height: 1.1;
    background-image: url(../images/title-bg2.svg);
    padding: 8% 15px;
}
.course h3 {
    font-size: 27px;
}
.course .bgcolor-01, .course .bgcolor-02, .course .bgcolor-03 {
    padding: 10px;
    margin-left: 1.5%;
    margin-right: 1.5%;
    width: 30%;
}
.diamond-1, .diamond-2 {
    margin-top: -123%;
    right: -25%;
    width: 3em;
    height: 3em;
}
.features-top {
    background-size: cover;
    height: 14em;
}

.features .box {
    position: relative;
    width: 29.8%;
    height: 26em;
}
.features h2 {
    line-height: 1;
    padding: 8% 0;
}
.advantage {
    text-align: center;
}
.icon-1, .icon-2, .icon-3 {
    display: inline-block;
    width: 68%;
    min-width: 100px;
    min-height: 100px;
    height: auto;
    padding: 34% 0;
    background-size: 314%;
    margin-top: -35%;
}
.icon-3 {
    background-position-x: -50%;
}
.icon-2 {
    background-position-x: -97%;
}


}

@media screen and (max-width: 430px) { 
.br {
    display: block;
    height: 1px;
}
.banner_show1 {
    width: 55%;
    left: -5%;
}
.banner_show2 {
    width: 13.4%;
    right: 14%;
    top: -7%;
}
.question_wraper {
    padding-top: 17%;
    margin-top: -5%;
    background-image: none;
}
.question_wraper h2, .course h2, .advantage h2 {
    font-size: 36px;
    background-image: url(../images/title-bg2.svg);
    width: 100%;
    line-height: 1;
    padding: 34px 0;
    height: 164px;
}
.question_wraper h4 {
    font-size: 19px;
    line-height: 1.2;
    margin: 5% auto;
    padding-bottom: 5%;
}
.nav > li > a {
    padding: 6px 7px;
}
.nav-tabs > li.active > a {
    font-size: 16px;
}
.fill {
    width: 100%;
    margin-top: -24%;
    background-size: 32%;
    border: 0px #000 solid;
}
.fill .form-control {
    margin: 10px auto;
}
.fill h1 {
    font-size: 36px;
    line-height: 1.1;
    width: 250px;
    padding-bottom: 6%;
    font-weight: 500;
}
.topic1_area p {
    font-size: 22px;
    padding-bottom: 5%;
}
.course {
    font-size: 19px;
    padding-bottom: 15%;
    /* margin-top: -7%; */
}
.icon-1, .icon-2, .icon-3 {
    margin-top: -36%;
}
.course .bgcolor-01, .course .bgcolor-02, .course .bgcolor-03 {
    padding: 9px;
    margin-left: 8%;
    margin-right: 8%;
    width: 82%;
    margin-top: 35%;
    margin-bottom: 10%;
}

.course h3 {
    font-size: 40px;
    padding: 0;
}
.advantage {
    padding: 15% 0;
    text-align: center;

}
.advantage h3 {
    font-size: 16px;
    width: 120%;
    margin-top: -13px;
    margin-left: -10%;
}


.advantage img {
    width: 65px;
    padding-top: 25%;
}

.diamond-1, .diamond-2 {
    margin-top: auto;
    bottom: -22%;
    right: 39%;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(90deg);
    width: 3.3em;
    height: 3.3em;
}

.features-top {
    background-size: 200%;
    height: 14em;
}
.features h2 {
    font-size: 32px;
    line-height: 1;
    padding: 11% 6%;
}
.features .box {
    width: 66%;
    margin-bottom: 6%;
}


}

@media screen and (max-width: 320px) { 
.fill h1 {
    font-size: 36px;
    width: 245px;
}
.question_wraper h2, .course h2, .advantage h2 {
    font-size: 36px;
    padding: 24px 0;
    height: 129px;
}
.nav > li > a {
    padding: 6px 5px;
}
.course h3 {
    font-size: 34px;
}
.course {
    font-size: 16px;
}
.diamond-1, .diamond-2 {
    bottom: -11%;
}
.advantage h3 {
    font-size: 15px;
    margin-left: -15%;
    margin-bottom: 12%;
    width: 130%;
}
.features h2 {
    font-size: 28px;
}

}