@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Antique&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', "Font Awesome 5 Free", sans-serif !important;
}


a:hover {
    text-decoration: none !important;
}

ul,
li {
    list-style-type: none;
    padding: 0px;
}

p {
    margin: 0px !important;
    padding: 0px !important;
}



/*--------------header---------------*/
.container {
    padding: 2em 0em;
    max-width: 1000px;
}

@media all and (min-width:1200px) {
    .container {
        max-width: 1000px !important;
    }
}

@media all and (max-width:1200px) {
    .container {
        max-width: 1000px !important;
    }
}

.bg-1 {
    background: url(../img/bg-1.jpg) center/cover no-repeat;
}

.bg_banner {
    background: url(../img/header-1.png) no-repeat;
    background-position: bottom;
    background-size: cover;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.bg_banner .headerimg {
    width: 50%;
    margin-bottom: 10%;
    margin-top: 5%;
}

@media all and (max-width:1200px) {
    .bg_banner .headerimg {
        width: 70%;
    }
}

@media all and (max-width:768px) {
    .bg_banner .headerimg {
        width: 90%;
    }
}

@media all and (max-width:575px) {
    .bg_banner {
        background: url(../img/header-1-ph.png) center bottom/cover no-repeat;
    }

    .bg_banner .headerimg {
        margin-bottom: 10%;
        margin-top: 10%;
    }
}

/*--------------#header---------------*/

/*--------------------------------------title-------------------------------------------------*/
.title1 {
    width: fit-content;
    margin: 0 auto;
}

.titletext {
    width: 100%;
    text-align: center;
    color: #fff;
    background: #ed6c00;
    border-radius: 50px;
    padding: 0 2.5em;
}

.titletext h2 {
    font-size: 4em;
}

@media all and (max-width:1280px) {
    .titletext h2 {
        font-size: 3em;
    }
}

@media all and (max-width:575px) {
    .titletext h2 {
        font-size: 2em;
    }
}

@media all and (max-width:425px) {
    .title1 {
        width: 90%;
    }
}

/*--------------------------------------#title-------------------------------------------------*/

/*--------------------------------------pt1-------------------------------------------------*/
.pt1 {
    background-color: transparent;
    overflow: hidden;
}

.a01box {
    width: 80%;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #005ca2;
    border-radius: 20px;
    padding: 1em 1.5em;
}

.a01-1 h3 span {
    position: relative;
    background: #ea5504;
    padding: 0 1em;
    padding-right: 1.5em;
    color: #fff;
}

.a01-1 h3 span::before {
    content: "";
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    border-top: 20px solid transparent;
    border-right: 20px solid #fff;
    border-bottom: 20px solid transparent;
}

.a01-1 ul {
    margin-left: 1em;
}

.a01-1 li {
    position: relative;
    font-weight: 500;
}

.a01-1 li::before {
    content: '☆';
    position: absolute;
    top: 0%;
    left: -3%;
}

.a01-1 li span {
    color: #e60012;
}

.linebut {
    width: 40%;
    margin: 0 auto;
}

.linebut a {
    background: #e83c58;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    box-shadow: 3px 3px 1px #fff200;
    padding: .5em 1em;
}

.linebut a:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 10px #e83c58;
    transition: .15s;
}

.but-img {
    width: 12%;
}

.but-p {
    width: 80%;
    color: #fff;
    font-size: 1.8em;
    text-align: center;
    font-weight: 700;
}

@media all and (max-width:768px) {
    .linebut {
        width: 50%;
    }
}

@media all and (max-width:576px) {
    .a01box {
        width: 100%;
    }

    .a01-1 ul {
        margin-left: 0px;
    }

    .a01-1 li::before {
        left: -5%;
    }

    .linebut {
        width: 65%;
    }

    .but-p {
        font-size: 1.5em;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* ----------------------------- */

.a02 {
    margin-top: 10%;
}


.a02box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.a02-1 {
    width: calc(100%/4.5);
    text-align: center;
    background: #fff;
    margin: 1em;
}

.a02-1 h4 {
    color: #fff;
    padding: .5em 0;
    margin-bottom: 0;
}

.a02-1:nth-child(odd) {
    border: 2px solid #ef856d;
}

.a02-1:nth-child(odd) h4 span {
    color: #fff100;
}

.a02-1:nth-child(odd) h4 {
    background: #ef856d;
}

.a02-1:nth-child(even) {
    border: 2px solid #fff571;
}

.a02-1:nth-child(even) h4 {
    color: #000;
}

.a02-1:nth-child(even) h4 span {
    color: #e60012;
}

.a02-1:nth-child(even) h4 {
    background: #fff571;
}

.a02-1 p {
    font-size: 1.2em;
    padding: .5em 0 !important;
    text-align: left;
    width: 90%;
    margin: 0 auto !important;
}

@media all and (max-width:768px) {
    .a02-1 {
        width: calc(100%/2.5);
    }
}

@media all and (max-width:576px) {
    .a02-1 p {
        font-size: 1em;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* ----------------------------- */

.a03 {
    margin-top: 10%;
}

.a03box {
    width: 70%;
    margin: 0 auto;
}

.a03-1 {
    position: relative;
    margin: 1em 0;
    padding: 1em;
    border-radius: 30px;
    font-size: 1.2em;
}

.a03-1:nth-child(odd) {
    background: #fff799;
}

.a03-1:nth-child(odd)::before {
    content: "";
    position: absolute;
    left: -5%;
    top: 60%;
    border-top: 10px solid transparent;
    border-right: 40px solid #fff799;
    border-bottom: 10px solid transparent;
    transform: translateY(-50%) rotate(-10deg);
}

.a03-1:nth-child(even) {
    background: #ef856d;
    color: #fff;
}

.a03-1:nth-child(even)::before {
    content: "";
    position: absolute;
    right: -5%;
    top: 60%;
    border-top: 10px solid transparent;
    border-left: 40px solid #ef856d;
    border-bottom: 10px solid transparent;
    transform: translateY(-50%) rotate(10deg);
}

.a03-1:nth-child(1)::after {
    content: '';
    background: url(../img/a03-1.png) center/cover no-repeat;
    position: absolute;
    top: 50%;
    left: -20%;
    transform: translateY(-50%);
    width: 82px;
    height: 100px;
}

.a03-1:nth-child(2)::after {
    content: '';
    background: url(../img/a03-2.png) center/cover no-repeat;
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    width: 82px;
    height: 100px;
}

.a03-1:nth-child(3)::after {
    content: '';
    background: url(../img/a03-3.png) center/cover no-repeat;
    position: absolute;
    top: 50%;
    left: -20%;
    transform: translateY(-50%);
    width: 82px;
    height: 100px
}

.a03-1:nth-child(4)::after {
    content: '';
    background: url(../img/a03-4.png) center/cover no-repeat;
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    width: 82px;
    height: 100px;
}

@media all and (max-width:768px) {}

@media all and (max-width:576px) {
    .a03-1::before {
        display: none;
    }

    .a03-1:nth-child(1)::after,
    .a03-1:nth-child(2)::after,
    .a03-1:nth-child(3)::after,
    .a03-1:nth-child(4)::after {
        width: 60px;
        height: 73px;
        top: 70%;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/*--------------------------------------#pt1-------------------------------------------------*/

/*--------------------------------------pt2-------------------------------------------------*/
.pt2 {
    background: url(../img/bg-2.png) center/cover no-repeat, #feebbe;
    overflow: hidden;
}

.title2 {
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.titletext2 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.titletext2 h2 {
    font-family: 'Zen Old Mincho' !important;
    color: #fff;
    font-size: 2.5em;
    font-weight: 600;
}

.b01box {
    width: 90%;
    margin: 0 auto;
}

.b01box table tr,
.b01box table td {
    border: 1px solid #005ca2;
}

.b01box table {
    width: 100%;
}

.b01box thead {
    background: #005ca2;
    color: #fff;
    text-align: center;
    font-size: 1.2em;
}

.b01box thead td {
    padding: .3em .5em;
    border: 1px solid #d4d4d4;
}


.b01box thead tr:nth-child(1) {
    font-size: 2em;
    font-weight: 600;
    border-bottom: 1px solid #d4d4d4;
}

.b01box tbody {
    background: #fff;
    text-align: center;
    font-weight: 500;
}

.b01box tbody td:nth-child(3) {
    text-align: left;
    padding: .5em;
}

.b01box tbody td:nth-child(1) {
    padding: .5em;
}

.b01box tbody td:nth-child(4),
.b01box tbody td:nth-child(5),
.b01box tbody td:nth-child(6),
.b01box tbody td:nth-child(7) {
    padding: .5em;
    color: #e60012;
    font-weight: bold;
    font-size: 1.3em;
}

.b01box tbody td:nth-child(2) p,
.b01box tbody td:nth-child(4) p,
.b01box tbody td:nth-child(5) p,
.b01box tbody td:nth-child(6) p,
.b01box tbody td:nth-child(7) p {
    font-family: 'M PLUS 1p' !important;
    font-weight: 600;
}

.b01box tbody tr:nth-child(even) {
    background: #dff2fc;
}

@media all and (max-width:768px) {}

@media all and (max-width:576px) {
    .title2 {
        width: 95%;
    }

    .titletext2 h2 {
        font-size: 1.5em;
    }
}

@media all and (max-width:425px) {}

@media all and (max-width:375px) {}

/* ------------------------------------ */

.b02box {
    width: 90%;
    margin: 0 auto;
}

.b02box table tr,
.b02box table td {
    border: 1px solid #e83c58;
}

.b02box table {
    width: 100%;
}

.b02box thead {
    background: #e83c58;
    color: #fff;
    text-align: center;
    font-size: 1.2em;
}

.b02box thead td {
    padding: .3em .5em;
    border: 1px solid #d4d4d4;
}


.b02box thead tr:nth-child(1) {
    font-size: 2em;
    font-weight: 600;
    border-bottom: 1px solid #d4d4d4;
}

.b02box tbody {
    background: #fff;
    text-align: center;
    font-weight: 500;
}

.b02box tbody td:nth-child(3) {
    text-align: left;
    padding: .5em;
}

.b02box tbody td:nth-child(1) {
    padding: .5em;
}

.b02box tbody td:nth-child(4),
.b02box tbody td:nth-child(5),
.b02box tbody td:nth-child(6),
.b02box tbody td:nth-child(7) {
    padding: .5em;
    color: #e60012;
    font-weight: bold;
    font-size: 1.3em;

}

.b02box tbody td:nth-child(2) p,
.b02box tbody td:nth-child(4) p,
.b02box tbody td:nth-child(5) p,
.b02box tbody td:nth-child(6) p,
.b02box tbody td:nth-child(7) p {
    font-family: 'M PLUS 1p' !important;
    font-weight: 600;
}

.b02box tbody tr:nth-child(even) {
    background: #dff2fc;
}

/*--------------------------------------#pt2-------------------------------------------------*/

/*--------------------talk------------------------*/

#talk {
    line-height: 1.5;
    text-align: center;
    position: fixed;
    top: 10vh;
    vertical-align: middle;
    left: 0px;
    text-align: left;
    color: #fff;
}

#talk ul li:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    transition: .5s;
}

#talk ul {
    margin: 0px 0px;
    padding: 0px 0px !important;
    list-style-type: none;
}

#talk ul li {
    width: 70%;
    height: 100%;
    cursor: pointer;
    font-size: 2em;
    line-height: 1.3;
    text-align: center;
    vertical-align: middle;
    padding-top: 15px !important;
    font-weight: 600;
    margin: 0 auto !important;
    color: #00a1ff;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

#talk ul li:nth-child(1) {
    font-size: 1.5em;
}

#talk ul li:nth-child(1):hover {
    color: #00ff0d;
}

#talk ul li:nth-child(2):hover {
    color: #00e1ff;
}

#talk ul li:nth-child(3):hover {
    color: #f700ff;
}

#talk ul li:nth-child(4):hover {
    color: #ff0000;
}

@media all and (max-width:425px) {
    #talk {
        width: 100%;
        background-color: rgba(176, 161, 161, 0.8);
        line-height: 1.5;
        color: #999;
        padding: 0px 0px 0px 0px;
        text-align: center;
        position: fixed;
        bottom: 0px;
        left: 0px;
        top: auto;
    }

    #talk ul li {
        width: 23%;
        text-align: center;
        vertical-align: middle;
        padding: .1em !important;
        display: inline-block;
        font-size: 2em;
    }

    #talk ul li:nth-child(1) {
        font-size: 2em;
    }

    #talk ul li:hover {
        transform: none;
    }
}

/*--------------------------------------footer-------------------------------------------------*/
footer {
    background-color: #ed6c00;
    color: #fff;
    font-size: 16px;
    padding: 2em;
    display: flex !important;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    line-height: 2em;
}

footer h2 {
    text-align: center;
    width: 100%;
}

footer .me h3,
footer .me h4 {
    border-bottom: 2px solid #fff;
    line-height: 2em;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #ffbf6c;
}

footer .me .fab {
    font-size: 1.5em;
    margin: 0.5em;
}

footer td {
    padding: 0 .5em;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

@media all and (max-width:576px) {

    footer table,
    .me {
        width: 100%;
    }
}

@media all and (max-width:576px) {
    footer {
        font-size: 15px;
        padding-bottom: 6em;
    }
}

@media all and (max-width:375px) {
    footer {
        font-size: 13px;
        padding-bottom: 7em;
    }
}

/*--------------------------------------#footer-------------------------------------------------*/

/*-----------TOP按鈕------------------*/
#goTop {
    position: fixed;
    bottom: 1em;
    right: 1em;
    width: 3em;
    height: 3em;
    padding: 0.5em;
    z-index: 999;
}

#goTop .fas {
    font-family: "Font Awesome 5 Free" !important;
}

@media all and (max-width: 575px) {
    #goTop {
        bottom: 4em;
    }
}

/*-----------TOP按鈕------------------*/