@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
*{box-sizing: border-box;}
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;
}
/* HTML5 display-role reset for older browsers */
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;
}
/*共用*/
body{
    font-family: 'Noto Sans TC','微軟正黑體', sans-serif;
    color: #303030;
    background: #fff;
    overflow-x: hidden;
}
.con{
    width: 1300px;
    margin: 0 auto;
}
.clear{
    clear: both;
}
.barclear{
    height: 110px;
}

/* menu--------------------- */
.topmenu{
    width: 100%;
    height: 80px; 
    background-color: #fff;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    padding:0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 888;
}
.menuicon{
    display: none;
}
/* logo--------------------- */
.topmenu .logo{
    float: left;
}
.topmenu .logo a{
    margin-right: 20px;
}
.topmenu .logo a img{
    width: auto;
    height: 40px;    
}
/* nav--------------------- */
.topmenu .navtop{
    float: right;
    display: flex;
}
.navtop ul{
    display: flex;
    margin-right: 30px;
}
.navtop ul li{
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: #3c417e;
    text-decoration: none;
    line-height: 36px;
    margin:0 2px;
}
.navtop ul li a{
    text-decoration: none;
    color: #303030;
    padding:0 12px;
}
.navtop ul li a:hover{
    color: #ed6335;
}
.navtop ul li.current,.navtop ul li.current a{
    color: #fff;
    background: #ed6335;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}


/* share--------------------- */
.share{
    display: flex;
}
.share a{
    display:block;
    width: 40px;
    height: 40px;
    -webkit-border-radius:50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background:#8db4ad;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin:0 4px;
}
.share a img{
    width: 100%;
    height: auto;
}
.share a:last-child img{
    width: 28px;
}
/* footer------------------------ */
footer{
    width: 100%;
    background-color: #404852;
    padding: 20px;
}
footer p{
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 24px;
}

/* right_btn*/
.right_btn{
    position: fixed;
    right: 0;
    bottom: 45px;
    overflow: hidden;
    animation: pulse .5s infinite alternate;
    -webkit-animation: pulse2 .6s infinite alternate;
    z-index: 600;
}
.right_btn a{
    display: block;
    width: 220px;
    height: 160px;
    position: relative;
}
.right_btn img{
    position: absolute;
    right: -20px;
}


/* animation ---------------------------------------------------------------*/
.swing{
    animation-name: swing;
    -webkit-animation-name: swing;

    animation-duration: .5s;
    -webkit-animation-duration: .5s;

    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@keyframes swing {
    0% {transform: rotate(1deg);}
    100% {transform: rotate(-4deg);}
}


@-webkit-keyframes swing {
    0% {  -webkit-transform: rotate(1deg); }
    100% {  -webkit-transform: rotate(-4deg); }
}
.swing2{
    animation-name: swing2;
    -webkit-animation-name: swing2;

    animation-duration: .5s;
    -webkit-animation-duration: .5s;

    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@keyframes swing2 {
    0% {transform: rotate(1deg) translateY(0%);}
    50% {transform: rotate(-12deg) translateY(22%);}
    100% {transform: rotate(-25deg) translateY(0%);}
}


@-webkit-keyframes swing2 {
    0% {  -webkit-transform: rotate(1deg) translateY(0%);}
    50% {  -webkit-transform: rotate(-12deg) translateY(22%); }
    100% {  -webkit-transform: rotate(-25deg) translateY(0%); }
}
.swing3{
    animation-name: swing2;
    -webkit-animation-name: swing2;

    animation-duration: .5s;
    -webkit-animation-duration: .5s;

    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

@keyframes swing3 {
    0% {transform: rotate(1deg) translateY(0%);}
    50% {transform: rotate(12deg) translateY(22%);}
    100% {transform: rotate(25deg) translateY(0%);}
}


@-webkit-keyframes swing3 {
    0% {  -webkit-transform: rotate(1deg) translateY(0%);}
    50% {  -webkit-transform: rotate(12deg) translateY(22%); }
    100% {  -webkit-transform: rotate(25deg) translateY(0%); }
}
.floating {
    animation-name: floating;
    -webkit-animation-name: floating;

    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;

    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
@keyframes floating {
    0% {
        transform: translateY(0%);
    }

    50% {
        transform: translateY(6%);
    }

    100% {
        transform: translateY(0%);
    }
}
@-webkit-keyframes floating {
    0% {
        -webkit-transform: translateY(0%);
    }

    50% {
        -webkit-transform: translateY(6%);
    }

    100% {
        -webkit-transform: translateY(0%);
    }
}
@-webkit-keyframes pulse {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes pulse {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}@-webkit-keyframes pulse2 {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.015, 1.0, 1.015);
        transform: scale3d(1.015, 1.015, 1.015);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse2 {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.015, 1.015, 1.015);
        transform: scale3d(1.015, 1.015, 1.015);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}


@media screen and (max-width: 1450px){
.navtop ul li{
    display: inline-block;
    font-size: 16px;
}
}
@media screen and (max-width: 1340px){
    .navtop ul li{
        display: inline-block;
        font-size: 15px;
    }
    .con{
        width:96%;
        margin: 0 auto;
    }
    .topmenu {
        padding: 0 20px;
    }
    .navtop ul {
        margin-right: 10px;
    }
    .navtop ul li a {
        padding: 0 7px;
    }
    }
@media screen and (max-width: 1100px){

/* menu--------------------- */
.topmenu{
    padding:0 2%
}
/* nav--------------------- */
.barclear {
    height:70px;
}
#navbtn{
    display: none;
}
.topmenu {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
}
.topmenu .navtop {
    float:none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    clear: both;
}
.navtop ul {
    display: block;
     width: 100%;
 }
 .navtop ul li{
     width: 100%;
     line-height: 65px;
     display: block;
     -webkit-border-radius: 0px;
     -moz-border-radius: 0px;
     border-radius: 0px;
     transition: none;
     margin: 0;
     border: none;
     background: #FFEDC4;
 }
.navtop ul li.cut{
    border: none;   background-color: #ed6335;
}
.navtop ul li a:hover,.navtop ul li.current a,.navtop ul li.cut a{
    text-decoration: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

 .navtop ul li a{
     display: block; width: 100%;
 }
 .navtop ul li:hover,.navtop ul li:nth-child(odd){
     background: #FFD08A;
 }

 .share {
     justify-content: center;
     height: 65px;
     width: 100%;
     align-items:center;
     background: #FFEDC4;
 }
 
 .topmenu .logo{
     height:30px;
     margin-left:1em;
     margin-top: 10px;
 }
 .topmenu .logo a img{
    width: auto;
    height:30px;    
}
 .menuicon{
     float: right;
     display: flex;
     width: 40px;
     height: 40px;
     text-align: center;
     justify-content: center;
     align-items: center;
     margin-top: 10px;
     margin-right:0.8em;
 }
 .menuicon span{
     display: block;
     width: 24px;
     height: 24px;
     background: url(../img/align-justify-solid.svg)no-repeat center;
     background-size: 100% auto;

 }
 .menuicon span.cutt{
     display: block;
     width: 24px;
     height: 24px;
     background: url(../img/close2.svg)no-repeat center;
     background-size: 100% auto;
 }

.navtop ul li{
    display: inline-block;
    font-size: 20px;
}
}
@media screen and (max-width:700px){
    footer p {
        font-size: 0.6em;
        line-height: 2em;
    }

    .right_btn a {
        width: 81px;
        height: 74px;
    }
    .right_btn a img{
        width: 100%;
        right: -10px;
    }
}
@media screen and (max-width: 374px){
    .topmenu .logo a:first-child img {
        width: 7em;margin-left: 1em;
    }
    .topmenu .logo a:last-child img{ 
        width: 4.5em;
    }

}