@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400..900&display=swap');

/* CSS Document */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    width: 100%;
    height: 100%;
    font-size: 15px;
    text-size-adjust: none;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

body {
    background: #00a6d0;
    font-family: arial, 'Noto Sans TC';
    font-weight: 400;
}


/*置頂按鈕*/

.gotop {
    position: fixed;
    z-index: 999;
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    padding: 15px 10px;
    border-radius: 50%;
    opacity: 0;
    background-color: #FFFFFF;
    transition: all 0.4s ease-in-out 0s;
}

.gotop a {
    color: #262625;
    text-align: center;
    text-decoration: none;
}

.gotop:active {
    box-shadow: 1px 1px 3px 2px rgba(20%, 20%, 40%, 0.5) inset;
    transition: all 0s;
}

.head1 {
    position: relative;
    max-width: 1200px;
    line-height: 1.1;
    padding-bottom: 1.5%;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 0 6px #00000075;
    text-align: center;
    font-size: min(5.5vw, 4.2em);
    font-weight: bolder;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
}

.head1 span {
    color: #ffd900;
    font-size: 1.4em;
}

.head1 .p2 {
    font-size: 0.9em;
}

.head1_out {
    overflow: hidden;
    padding: min(1vw, 10px);
    margin-top: -3%;
    border-radius: min(2vw, 25px);
    background: #000;
    background: linear-gradient(to right, #edb84b, #fdf1cf, #fbe45e, #fefaf1, #eaa71c);
}

.head1_in {
    padding-top: 20px;
    padding-bottom: 8px;
    border-radius: min(2vw, 25px);
    background: linear-gradient(135deg, #1d3285 1%, #8960a6 45%, #08a1d1 65%, #2564ad 100%);
    box-shadow: inset 0 0 10px #0000005b;
}

main {
    padding: 0px calc((100% - 1200px) / 2) 30px;
}

main .head {
    position: relative;
    width: 100%;
}

main .head img {
    max-width: 100%;
}


/*按鈕*/

.btn {
    margin-top: 20px;
}

.btn-lg {
    display: inline-block;
    background: #1D2975;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 1.5em;
}

.btn-lg:hover {
    background: #F06400;
    color: #fff;
}


/*5大關鍵*/

.five {
    padding: 30px 15px;
    background: url(../images/boy.png) no-repeat bottom left, url(../images/cloud_bottom.png) no-repeat bottom left, url(../images/cloud_top.png) no-repeat top right #ffffff2a;
    text-align: center;
}

.five .in {
    max-width: 1200px;
    margin: 0 auto;
}

.flip-container {
    display: flex;
    flex-wrap: wrap;
}

.flipper {
    position: relative;
    width: 23%;
    height: 430px;
    margin: 15px 1% 0;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flipper:hover {
    cursor: pointer;
    transform: translateY(-5px);
}

.flipper.flipped {
    transform: rotateY(180deg);
}

.front,
.back {
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 10px #0000004b;
    text-align: center;
    font-size: 16px;
    backface-visibility: hidden;
}

.front {
    background-color: white;
}

.back {
    overflow: hidden;
    background-color: #fff;
    transform: rotateY(180deg);
}

.five h3 {
    text-shadow: 2px 2px 0 #fff, 3px 3px 0 #00a5d0;
    font-size: min(18vw, 3em);
    font-weight: bold;
}

.five h4 {
    width: 100%;
    padding: 2px 10px;
    margin-bottom: 8px;
    border-radius: 25px;
    color: #000;
    background-color: #ffd213;
    font-size: 1.5rem;
    font-weight: bold;
}

.five h5 {
    font-size: 1.3rem;
    font-weight: bold;
}

.five h6 {
    line-height: 1.6;
    margin-bottom: 5px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.five .title {
    color: #00a5d0;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 15px;
}

.five .title span {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 30px;
    color: #fff;
    background-color: #00a5d0;
}

.five .opentime {
    width: 100%;
    margin-bottom: 15px;
    background-color: #c5f1fc;
    font-size: 2em;
    font-weight: bold;
}

.animate {
    position: relative;
    width: 100%;
    height: 50px;
}

.animate img {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    transform: rotate(-10deg);
    animation: hand infinite reverse 1s;
}


/*卡片翻轉*/

.actived {
    padding: 10px;
    padding-top: 50px;
    text-align: center;
}

.article {
    background: #F2F2F2;
    border-radius: 10px;
    padding: 15px;
    padding-top: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.article .planet {
    margin-top: -60px;
}

.actived h2 {
    color: #34209F;
    margin-top: 15px
}

.actived h2+p {
    font-size: 1.15em;
}

.actived dl {
    text-align: left;
    display: inline-block;
    max-width: 700px;
}

.actived .cards {
    margin-bottom: 10px;
}

.actived .cards .card {
    display: inline-block;
    margin: 3px 1%;
    border: none;
    background: none;
}

.card .front:hover {
    box-shadow: 0 0 3px #333;
    border-radius: 9px;
}

.card {
    position: relative;
    width: 90px;
    height: 120px;
    cursor: pointer;
}

.card .front {
    z-index: 90;
}

.card .back {
    z-index: 90;
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    transform: rotateY(90deg);
}

.card .front,
.card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-duration: 850ms;
    -moz-transition-duration: 850ms;
    transition-duration: 850ms;
}

@keyframes hand {
    0% {
        right: 15px;
        bottom: 15px;
    }
    50% {
        right: 5px;
        bottom: 0px;
    }
    100% {
        right: 15px;
        bottom: 15px;
    }
}

.five .txt {
    text-align: left;
    font-size: min(100vw,1.5rem);
}

.back_1 {
    width: 100%;
    padding: 0 15px 15px 15px;
}

.back_2 {
    height: 100%;
    padding: 40px 20px 20px;
    color: white;
    background-color: #00627a;
}

.front5 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 15px 1% 0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 10px #0000004b;
}

.front5 .title {
    margin-bottom: 0;
}

.front5 .title br {
    display: none;
}

.front5 .title span {
    margin-right: 5px;
}

.front5 h3 {
    padding: 0;
    font-size: min(8vw, 3em);
}

.table-responsive {
    overflow-x: auto;
}

.five table {
    width: 100%;
    min-width: 550px;
    border: 3px solid #00a5d0;
    border-collapse: collapse;
    font-size: 1.2em;
}

.five table th {
    padding: 5px;
    border: 1px solid #00a5d0;
    color: #fff;
    background: #00627a;
    vertical-align: middle;
    font-size: 1.3em;
}

.five table th.class1 {
    color: #000;
    background-color: #28e6ff;
}

.five table th.class2 {
    color: #fff;
    background-color: #ff3950;
}

.five table td {
    padding: 5px;
    border: 1px solid #00a5d0;
    vertical-align: middle;
}

.class1_bg {
    background-color: #c4f6fd;
}

.class2_bg {
    background-color: #ffe6e9;
}

.phone-on {
    display: none;
}


/*teacher*/

.teacher {
    padding: 30px 15px 30px;
    background: linear-gradient(135deg, #1d3285 1%, #8960a6 45%, #08a1d1 65%, #2564ad 100%);
    text-align: center;
}

.slideB img {
    margin: 0 auto;
}


/* 榜單*/

main .top01 {
    position: relative;
    box-sizing: border-box;
    padding: 0px;
    margin: 10px auto;
    outline: 8px solid #0071BC;
    background: #fff;
    text-align: center;
}

main .top01>div {
    box-sizing: border-box;
    padding: 10px 20px 10px;
    background-color: #ffffff;
}

main .top01>div table {
    width: 100%;
    margin: 0 auto;
    border-spacing: 0;
    text-align: left;
}

main .top01>div table tr:nth-child(odd) {
    background-color: #C3EDFC;
}

main .top01>div table td {
    line-height: 1.5;
    padding: 5px 10px;
    color: #231815;
    font-size: 2.6rem;
    font-weight: bold;
}

main .top01>div table td:nth-child(1) {
    width: 20%;
}

main .top01>div table td:nth-child(2) {
    width: 50%;
    color: #525988;
}

main .top01>div table td:nth-child(3) {
    width: 30%;
}


/* 前3榜單*/

main .top03 {
    position: relative;
    box-sizing: border-box;
    padding: 0px;
    margin: 10px auto;
    outline: 8px solid #eeb033;
    background: #fff;
    text-align: center;
}

main .top03>div {
    box-sizing: border-box;
    padding: 40px 50px 40px;
    background-color: #ffffff;
}

main .top03>div table {
    width: 100%;
    margin: 0 auto;
    border-spacing: 0;
    text-align: left;
}

main .top03>div table tr:nth-child(odd) {
    background-color: #feebbe;
}

main .top03>div table td {
    line-height: 1.5;
    padding: 5px 10px;
    color: #231815;
    font-size: 2.6rem;
    font-weight: bold;
}

main .top03>div table td:nth-child(1) {
    width: 20%;
}

main .top03>div table td:nth-child(2) {
    width: 28%;
    color: #c1272d;
}

main .top03>div table td:nth-child(3) {
    width: 28%;
    color: #383290;
}

main .top03>div table td:nth-child(4) {
    width: 24%;
}


/* 前10榜單*/

main .top02 {
    position: relative;
    box-sizing: border-box;
    padding: 0px;
    margin: 10px auto;
    outline: 8px solid #b7b6b6;
    background: #fff;
    text-align: center;
}

main .top02>div {
    box-sizing: border-box;
    padding: 10px 20px 10px;
    background-color: #ffffff;
}

main .top02>div table {
    width: 100%;
    margin: 0 auto;
    border-spacing: 0;
    text-align: left;
}

main .top02>div table tr:nth-child(odd) {
    background-color: #e2e1e0;
}

main .top02>div table td {
    line-height: 1.5;
    padding: 5px 10px;
    color: #231815;
    font-size: 2.6rem;
    font-weight: bold;
}

main .top02>div table td:nth-child(1) {
    width: 20%;
}

main .top02>div table td:nth-child(2) {
    width: 28%;
    color: #c1272d;
}

main .top02>div table td:nth-child(3) {
    width: 28%;
    color: #383290;
}

main .top02>div table td:nth-child(4) {
    width: 24%;
}

.updata {
    margin-bottom: 30px;
    color: #FFF;
    text-align: center;
    font-size: 1.3rem;
}


/* 留單 */

.customer {
    width: 1200px;
    padding: 20px;
    margin: 0 auto;
    border: 6px solid #dab57c;
    border-radius: 20px;
    background-color: #fff;
    text-align: center;
}

footer {
    overflow: hidden;
    width: 100%;
    padding: 20px 5%;
    margin: 0;
    text-align: center;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 5% 10px;
    margin: 0;
}

footer ul li {
    line-height: 1.2;
    padding: 0 10px;
    margin-bottom: 5px;
    border-left: 1px solid #dab57c;
}

footer ul li:first-child {
    border-left: 0px;
}

footer ul li a {
    color: #FFF;
    font-size: 1rem;
    text-decoration: none;
}

footer p {
    line-height: 1.6;
    color: #FFF;
}


/* ===== table ===== */

@media (max-width:991px) {
    .five {
        background: url(../images/cloud_bottom.png) no-repeat bottom left, url(../images/cloud_top.png) no-repeat top right #ffffff2a;
    }
    .flipper {
        width: 46%;
        height: 400px;
        margin: 15px 2% 0;
    }
}


/* ===== moblie ===== */

@media (max-width:767px) {
    main {
        padding: 0px 3% 20px;
    }
    #header3 {
        overflow: hidden;
        width: 0;
        height: 0;
    }
    #header2 {
        overflow: hidden;
        width: 0;
        height: 0;
    }
    /*手機刊頭*/
    #header-m {
        display: block;
        overflow: visible;
        width: 100%;
        height: auto;
        margin: 0;
    }
    .wrapper {
        padding: 0 20px;
    }
    /* 榜單*/
    main .top01 {
        margin: 10px 0px 0px;
    }
    main .top01>div {
        padding: 20px 15px 20px;
    }
    main .top01>div table td {
        line-height: 1;
        font-size: 1rem;
    }
    /* 前3榜單*/
    main .top03 {
        margin: 10px 0px 0px;
    }
    main .top03>div {
        padding: 5px;
    }
    main .top03>div table td {
        line-height: 1;
        font-size: 1rem;
    }
    /* 前10榜單*/
    main .top02 {
        margin: 10px 0px 0px;
    }
    main .top02>div {
        padding: 5px;
    }
    main .top02>div table td {
        line-height: 1;
        font-size: 1rem;
    }
    .updata {
        margin: 5px auto 10px;
        font-size: 1rem;
    }
    .front5 {
        display: block;
        margin: 15px 2% 0;
    }
    .front5 .title br {
        display: block;
    }
    .five table {
        font-size: 1.15em;
    }
    /* 留單 */
    .customer {
        width: 95%;
        border: 1px solid #dab57c;
    }
    footer {
        padding: 10px 3%;
        margin: 0;
    }
    footer ul {
        padding: 10px 8%;
    }
}


/* ===== moblie ===== */

@media (max-width:600px) {
    /* 榜單*/
    main .top01 {
        margin: 8px 0px 0px;
    }
    main .top01>div {
        padding: 8px 12px 8px;
    }
    main .top01>div table td {
        line-height: 1;
        font-size: 0.9rem;
    }
    /* 前3榜單*/
    main .top03 {
        margin: 8px 0px 0px;
    }
    main .top03>div {
        padding: 3px;
    }
    main .top03>div table td {
        line-height: 1;
        font-size: 0.9rem;
    }
    /* 前10榜單*/
    main .top02 {
        margin: 8px 0px 0px;
    }
    main .top02>div {
        padding: 3px;
    }
    main .top02>div table td {
        line-height: 1;
        font-size: 0.9rem;
    }
    .flipper {
        width: 98%;
        height: 400px;
        margin: 15px 2% 0;
    }
    /* 5大關鍵*/
    .five table th {
        font-size: .8em;
    }
    .phone-on {
        display: block;
    }
}