@import url(reset.css);

body{
    background-color: #fff;
    /* font-family: 'M PLUS Rounded 1c', sans-serif; */
    /* font-family: 'Noto Sans TC', sans-serif; */
    font-family: 'Public Sans', sans-serif;
}


/* --------- header top --------- */

header{
    margin: auto;
    width: 100%;
    height: 650px;
    background-image: url("../IMG/school/top_bg.jpg");
    /* background-attachment: fixed; */
    background-repeat:no-repeat;
    background-size: cover;
    background-position: top center;

    position: relative;
    overflow: hidden;
}

.header-top{
    height: 75px;
    background-color:#19297C;
    
    position: relative;    
}

.header-top:before{
    content: '';
    display: block;
    height: 150px;
    background-color: rgb(25, 41, 124, 50%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%); 
}

.header-menu{
    width: 1366px;
    margin: auto;
    display: flex;
    
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;    
}

.header-menu .logo{
    width: 200px;
    height: 250px;
    background-color: #fff;
    display: block;
    clip-path: polygon(0 0, 100% 0%, 100% 85%, 0% 100%);   
}

.header-menu .logo img{
    width: 150px;
    margin: auto;
    padding-top: 40px;
    display: block;
}

.header-menu ul{
    display: flex;
    margin-left: auto;
    width: 800px;
    height: 75px;
    
    position: relative;
}

.header-menu ul::before{
    content: 'SCHOOL';
    color: #fff;
    font-size: 64px;
    font-weight: bold;

    position: absolute;
    bottom: -520px;
    left: -500px;
    z-index: 99;
}

.header-menu li{
    flex-grow: 1;
}

.header-menu li a{
    line-height: 75px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    display: block;
    position: relative;
}

.header-menu li a:before{
    content: '';
    display: block;
    width: 3px;
    height: 30px;
    background-color: #fff;

    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto; 
}

.header-menu li:nth-child(1)>a:before{
    display: none;
}

.header-menu li a:hover{
    color: #FFB630;
}

/* <!-- ----------- hambur ----------------- -- */

.hambur{
    display: none;
}

.bar{
    display: block;
    width: 40px;
    height: 5px;
    background-color: #FFB630;
    margin-bottom: 8px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hambur.active .bar{
    opacity: .8;
}

.hambur.active .bar:nth-child(1) {
    width: 20px;
    transform: translateX(40px);
}

.hambur.active .bar:nth-child(2) {
    transform: translateX(20px); 
}

.hambur.active .bar:nth-child(3) {
    width: 60px;
}

/* --------- header bottom --------- */

.header-bottom{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    
    clip-path: polygon(0 20%, 100% 70%, 100% 100%, 0% 100%);
}

.header-bottom img{
    display: block;
    right: 0;
    left: 0;
    margin: auto;
}

/* ---------------- intro ---------------- */

.intro{
    width: 1366px;
    height: 1200px;
    margin: auto;
    overflow: hidden;
}

.intro h3{
    font-size: 48px;
    width: 800px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    margin-top: 100px;
}

.intro1{
    display: flex;    
    margin-top: 70px;

    position: relative;
    
}

.intro1::after{
    content: '';
    width: 1000px;
    height: 60px;
    background-color: orange;
    position: absolute;
    bottom: -30px;
    right: -200px;
    z-index: -1;

    clip-path: polygon(5% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.intro2{
    display: flex;
    margin-top: 150px;
    position: relative;
}

.intro2::after{
    content: '';
    width: 1000px;
    height: 60px;
    background-color: yellow;
    position: absolute;
    bottom: -30px;
    left: -200px;
    z-index: -1;

    clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
}

.intro img{
    width: 500px;
}
.intro p{
    width: 600px;
    font-size: 24px;
    line-height: 1.5;
    align-self: center;
}

.intro1 p{
    margin-right: 100px;
    margin-left: auto;
}

.intro2 p{
    margin-left: 100px;
}

/* ---------------- lesson ---------------- */

.lesson-bg{
    background-image: url("../IMG/school/lesson-bg.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    height: 1320px;    
    padding-top: 100px;
    box-sizing: border-box;
}

.lesson{
    width: 1366px;
    height: 1120px;
    background-color: rgb(255, 255, 255, 50%);
    margin: auto;
    box-sizing: border-box;
    padding-top: 350px; 
}

/* ---------------- lesson table ---------------- */

.lesson .lesson-fee{
    width: 1000px;
    height: 240px;
    margin: auto;
}

.lesson-fee table{
    border-collapse: separate;
    width: 100%;
    height: 100%;
}

.lesson-fee table th{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    background-color: rgba(212, 156, 103, 90%);
    border: 1px solid black;
}

.lesson-fee table .fee-time{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    background-color: rgba(212, 156, 103, 90%);
}

.lesson-fee table td{
    font-size: 20px;
    text-align: center;
    line-height: 60px;
    background-color: rgb(255, 255, 255,90%);
    border: 1px solid black;
}

/* ---------------- lesson notice ---------------- */

.lesson .lesson-notice{
    width: 1000px;
    height: 500px;
    margin: auto;
    margin-top: 20px;
}

.lesson .lesson-notice h4{
    border-bottom: 3px solid black;
    font-size: 48px;
    text-align: center;
    margin: 50px auto;
    height: 60px;
    width: 300px;
}

.lesson .lesson-notice ul{
    padding-left: 30px;
}

.lesson .lesson-notice li{
    font-size: 24px;
    line-height: 1.6;
    list-style-type:disc;
    padding-bottom: 10px;
}
