@charset "UTF-8";


/* Reset */

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block
}
body {
    line-height: 1
}
ol,ul {
    list-style: none
}
blockquote,q {
    quotes: none
}
blockquote:before,blockquote:after,q:before,q:after {
    content: '';
    content: none
}
table {
    border-collapse: collapse;
    border-spacing: 0
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    max-height: 999999px;
    letter-spacing: 1px;
}
body {
    margin: 0;
    padding: 0;
    -ms-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    width: 100%;
    height: 100%;
    font-family: "微軟正黑體", "MS UI Gothic", Arial, Helvetica, sans-serif;
}
img {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
}
a,
a:hover,
a:active,
a:visited {
    text-decoration: none;
}


/* Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #fff;
    padding: 17px 10px 0 29px;
    z-index: 9999;
    box-shadow: 0 0 18px rgb(0 0 0 / 20%);
}
header a img {
    width: 158px;
}
@media (max-width: 991px) {
    header {
        height: 50px;
        padding: 12px 10px 0 20px;
    }
    header a img {
        width: 110px;
    }
}

/* font */

.f12 {
    font-size: 12px;
    line-height: 22px;
}
.f13 {
    font-size: 13px;
    line-height: 23px;
}
.f14 {
    font-size: 14px;
    line-height: 24px;
}
.f18 {
    font-size: 18px;
    line-height: 28px;
}
@media screen and (max-width: 1024px) {
    .f18 {
        font-size: 16px;
        line-height: 26px;
    }
}
@media screen and (max-width: 600px) {
    .f18 {
        font-size: 15px;
        line-height: 25px;
    }
}
.f20 {
    font-size: 20px;
    line-height: 34px;
}
@media screen and (max-width: 1024px) {
    .f20 {
        font-size: 18px;
        line-height: 28px;
    }
}
@media screen and (max-width: 600px) {
    .f20 {
        font-size: 16px;
        line-height: 26px;
    }
}
.f24 {
    font-size: 24px;
    line-height: 38px;
}
@media screen and (max-width: 1024px) {
    .f24 {
        font-size: 20px;
        line-height: 34px;
    }
}
@media screen and (max-width: 600px) {
    .f24 {
        font-size: 18px;
        line-height: 28px;
    }
}
.f28 {
    font-size: 28px;
    line-height: 44px;
}
@media screen and (max-width: 1024px) {
    .f28 {
        font-size: 22px;
        line-height: 36px;
    }
}
@media screen and (max-width: 600px) {
    .f28 {
        font-size: 19px;
        line-height: 33px;
    }
}
.f32 {
    font-size: 32px;
    line-height: 50px;
}
@media screen and (max-width: 1024px) {
    .f32 {
        font-size: 24px;
        line-height: 38px;
    }
}
@media screen and (max-width: 600px) {
    .f32 {
        font-size: 20px;
        line-height: 34px;
    }
}

/* Top */

.top {
    position: fixed;
    bottom: 50px;
    right: 57px;
    cursor: pointer;
    opacity: 0.6;
    z-index: 999;
    display: none;
    background: rgba(102, 102, 102, 0.6);
    color: #fff;
    border-radius: 5px;
    width: 40px;
    height: 40px;
}
.top.show {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: top .2s linear;
}
@keyframes top {
    0% { opacity: 0; }
    100% { opacity: .6; }
}
@media screen and (min-width: 1025px) {
    .top:hover {
        opacity: 1;
    }
}
@media screen and (max-width: 576px) {
    .top {
        right: 10px;
        bottom: 10px;
        font-size: 12px;
    }
}

/* Footer */

footer {
    color: #fff;
    font-size: 13px;
    line-height: 1.35em;
    background: linear-gradient(to top, #009ae7, #0080e0);
    padding: 20px 10px;
    text-align: center;
    letter-spacing: 1px;
}
footer .socialmedia {
    padding: 10px 0;
}
footer .socialmedia li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px;
}
footer .socialmedia a {
    display: block;
}
footer .socialmedia img {
    width: 22px;
    height: 22px;
}
footer .copyright,
footer .contact {
    padding: 5px 0;
}
footer .contact p  {
    display: inline-block;
    vertical-align: middle;
    padding: 0 6px;
}
@media screen and (max-width: 576px) {
    footer .socialmedia {
        padding: 0 0 10px;
    }
    footer .copyright,
    footer .contact {
        text-align: left;
    }
    footer .contact p {
        display: block;
        padding: 3px 0;
    }
}