﻿@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background: #F7F2EC;
    font-family: Microsoft JhengHei, "微軟正黑體";
    letter-spacing: .05rem;
    font-size: 16px;
    color: #4B4848;
}

img {
    border: none;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: #323232;
}

h1,
h2,
h3,
h4{
    margin: 0;
    padding: 0;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
}

.container {
    position: relative;
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    color: #505050;
}

/*清除浮動*/
.clean{
    clear: both;
    visibility: hidden;
}


/*======================= MAIN =======================*/

.topTool {
    margin-bottom: 80px;
}

.topBox {
    position: relative;
    background: #FADFDF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 0;
    background-image: url(../images/topBG_dot.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center right;
    background-size: contain;
}

.topBox h1{
    color: #004B63;
    font-size: 3.5rem;
    letter-spacing: .1rem;
}

.topVisual{
    margin-right: 5%;
}

.topVisual img{
    max-width: 700px;
}

.topContent{
    font-weight: 600;
    font-family: Century Gothic, Microsoft JhengHei, "微軟正黑體";
}

.courseTime{
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.courseTime .title{
    background-color: #F1B838;
    color: #FFF;
    font-size: 1.9rem;
    margin: 13px 0;
    padding: 8px 30px;
    letter-spacing: .2rem;
    display: inline-block;
}

.courseTime .date{
    font-size: 1.8rem;
    color: #004B63;
    margin-left: 15px;
}

.courseInfo{
    margin:15px 0; 
    display: flex;
    align-items: center;
}

.courseInfo img {
    display: inline;
    margin-right: 10px;
    max-width: 30px;
    margin-top: 5px;
}

.courseInfo p{
    display: inline-block;
    font-size: 1.7rem;
    color: #004B63;
}

.courseInfo .price{
    color: #DA5464;
    font-size: 2.2rem;
    margin-right: 15px;
}

.qrcode_section{
    color:#717071;
    font-size: 2rem;
    margin-top: 25px;
    margin-left: 5px;
}

/*.qrcode_section:after {
    content: "";
    background-color: #F19B9E;
    width: 100%;
    height: 60px;
    position: absolute;
    right: 0;
    bottom: 0;
}*/

.qrcode_section img {
    max-width: 180px;
    border: 5px solid #E79699;
    float: left;
    display: block;
    margin-right: 15px;
}

.qrcode_sectionTxt {
    padding-top: 20px;
}

.qrcode_sectionTxt p{
    display: inline-block;
}

.qrcode_sectionTxt span{
    font-size: 1.6rem;
    display: block;
    margin-top: 5px;
}

.qrcode_sectionTxt button{
    background-color: #E79699;
    letter-spacing: .1em;
    color: #FFF;
    border: none;
    border-radius: 25px;
    padding: 6px 20px;
    margin-top: 15px;
    transition: .3s;
    cursor: pointer;
}

.qrcode_sectionTxt button:hover{
    background-color: #F1B838;
    box-shadow: 3px 5px 5px rgba(0, 55, 91, 0.2);
}

.qrcode_sectionTxt button a{
    color: #FFF;
}

.qrcode_sectionTxt button a:hover{
    color: #FFF;
}

.about{
    width: 100%;
    background-color: #FEEABE;
    text-align: center;
    padding: 35px 0;
    position: relative;
    overflow: hidden;
}

.deco_dot{
    left: -30px;
    top: -30px;
    opacity: 0.7;
    position: absolute;
    max-width: 230px;
}

.deco_man{
    max-width: 280px;
    right: 150px;
    top: 20px;
    position: absolute;
    opacity: 0.7;
}

.about p{
    font-size: 1.3rem;
    letter-spacing: .1rem;
}

.about span{
    display: block;
    line-height: 40px;
}

.courseTool{
    margin-top: 50px;
    margin-bottom: 65px;
}

.courseContent{
    margin-bottom: 35px;
}

.example{
    display: flex;
    justify-content: space-between;
}

.courseContent h3{
    color: #EE8E37;
    font-size: 1.8rem;
    border: 3px solid #EE8E37;
    border-radius: 10px;
    display: inline-block;
    padding: 5px 15px;
    background-color: #F6F1EB;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
}

.courseContent .teacherinfo{
    display: inline-block;
    color: #EE8E37;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    margin-left: 15px;
}

.courseList{
    font-size: 1.2rem;
    border-bottom: 1px dotted #EE8E37;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.courseList h4{
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.courseList h4 span{
    font-size: 1.2rem;
    margin-left: 10px;
    color: #646464;
}

.example div {
    width: 25%;
    margin: 0 5px;
}

/*======================= RWD =======================*/

@media (max-width: 1440px){
    .topBox h1 {
    font-size: 3.3rem;
    line-height: 65px;
    }
    .topVisual{
        width: 40%;
        margin-right: 3%;
    }

    .topContent{
        width: 42%;
    }
    .topContent h1 span{
        display: block;
    }
    .courseTime {
    margin-top: 10px;
    }
    .courseTime .title {
    padding: 8px 16px;
    font-size: 1.6rem;
    }
    .courseTime .date,
    .courseInfo p,
    .qrcode_section {
    font-size: 1.6rem;
    }
    .deco_man{
        right: 80px;
    }
    
}

@media (max-width: 1024px){
    .courseTime .title{
        letter-spacing: .1rem;
        font-size: 1.5rem;
    }
    .courseTime .date, 
    .courseInfo p, 
    .qrcode_section {
    font-size: 1.5rem;
    }
    .qrcode_sectionTxt span{
        font-size: 1.3rem;
    }
    .qrcode_sectionTxt button {
    padding: 8px 35px;
    margin-top: 18px;
    }
    .courseInfo {
    align-items: flex-start;
    }
    .topContent {
    width: 40%;
    }
    .topVisual {
    width: 50%;
    }
    .qrcode_section img {
    max-width: 160px;
    }
    .deco_man{
        right: 30px;
        max-width: 250px;
    }
    .courseContent .teacherinfo {
    display: block;
    margin-left: 0;
    margin-bottom: 20px;
    }
}

@media (max-width: 800px){
    .topBox{
        flex-direction: column-reverse;
        padding: 60px 0;
        background-size: cover;
    }
    .topVisual{
        width: 90%;
    }
    .topVisual img{
        max-width: 750px;
    }
    .topContent{
        text-align: center;
        margin-bottom: 35px;
        width: 100%;
    }
    .courseTime .title {
    font-size: 1.5rem;
    }
    .courseTime .date, 
    .courseInfo p, 
    .qrcode_section {
    font-size: 1.6rem;
    }
    .courseInfo{
        justify-content: center;
    }
    .qrcode_section{
        margin-top: 30px;
    }
    .qrcode_section img {
    max-width: 180px;
    float: none;
    display: inline;
    margin-right: 0;
    }
    .qrcode_sectionTxt {
    padding-top: 15px;
    }
    .qrcode_sectionTxt svg{
        display: none;
    }
    .about span{
        line-height: 35px;
    }
    .deco_dot {
    left: -40px;
    top: -40px;
    opacity: 0.5;
    }
    .deco_man{
        display: none;
    }
    .courseTool{
        flex-wrap: wrap;
    }
    .courseContent {
    width: 100%;
    margin-right: 0;
    }
    .example {
        flex-wrap: wrap;
    }
    .example div {
    width: calc((100% - 20px)/2);
    margin-bottom: 10px;
    }

}


@media (max-width: 600px){
    .topContent{
        width: 85%;
    }
    .topTool {
    margin-bottom: 50px;
    }
    .topBox h1 {
    font-size: 2.3rem;
    line-height: 40px;
    }
    .topContent h1 span {
    display: inline;
    }
    .example img {
    width: 100%;
    margin: 0 0px 10px 0;
    }
    .deco_dot {
    left: -40px;
    top: -40px;
    opacity: 0.3;
    }
    .about span {
    display: inline;
    }
    .courseList h4 {
    font-size: 1.3rem;
    }
    .courseList{
        font-size: 1rem;
        line-height: 24px;
    }
    .courseList h4 span {
    font-size: 1.1rem;
    display: block;
    margin-top: 8px;
    margin-left: 0px;
    }
}

@media (max-width: 425px){
    .topVisual {
    width: 85%;
    }
    .courseInfo p{
        text-align: left;
    }
    .courseTime .date, .courseInfo p, .qrcode_section {
    font-size: 1.5rem;
    }
    .courseInfo .price {
    font-size: 1.5rem;
    margin-right: 8px;
    }
    .about span {
    font-size: 1rem;
    line-height: 25px;
    }
    .courseContent .teacherinfo {
    font-size: 1.3rem;
    }
    .example div {
    width: 100%;
    }

}