@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: #3c3c3c;
   background: #fff;
}

.con{
    width: 1200px;
    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 70px;
    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: 11px;
}
/* nav--------------------- */
.topmenu .navtop{
    float: right;
    display: flex;
}
.navtop ul{
    display: flex;
    margin-right: 30px;
}
.navtop ul li{
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    color: #3c417e;
    text-decoration: none;
    line-height: 40px;
    transition: all .4s;
    margin:0 10px;
    border-bottom: 4px solid #fff;
}
.navtop ul li:hover,.navtop ul li.current,.navtop ul li.cut{
    color: #f555a3;
}
.navtop ul li.current,.navtop ul li.cut{
    color: #f555a3;
    border-bottom: 4px solid #f555a3;
}
.navtop ul li a{
    text-decoration: none;
    color: #3c417e;
}
.navtop ul li a:hover,.navtop ul li.current a,.navtop ul li.cut a{
    text-decoration: none;
    color: #f555a3;
}
/* share--------------------- */
.share{
    display: flex;
}
.share a{
    display:block;
    width: 40px;
    height: 40px;
    -webkit-border-radius:50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background:#3c417e;
    display: flex;
    justify-content: center;
    padding: 10px;
    margin:0 5px;
}
.share a img{
    width:auto;
    min-width: 100%;
}
/* footer------------------------ */
footer{
    width: 100%;
    background-color: #3c417e;
    padding: 20px;
}
footer p{
    font-size: 15px;
    color: #ebeaea;
    text-align: center;
    line-height: 24px;
}
@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;
    }
    }
@media screen and (max-width: 1300px){

/* menu--------------------- */
.topmenu{
    padding:0 2%
}
/* logo--------------------- */
.topmenu .logo img{
   width: auto;
   height: 3em;
}
/* 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;
 }
 .navtop ul li.current,.navtop ul li.cut{
    border: none;   background-color: #f555a3;
}
.navtop ul li a:hover,.navtop ul li.current a,.navtop ul li.cut a{
    text-decoration: none;
    color: #fff;
}
 .navtop ul li a{
     display: block; width: 100%;
 }
 .navtop ul li:hover,.navtop ul li:nth-child(odd){
     background: #ffe9f4;
 }
 .navtop ul li:hover,.navtop ul li.current{
     box-shadow:none;
     color: #f555a3;
 }
 .navtop ul li:hover,.navtop ul li.current:nth-child(odd){
     background-color: #f555a3;
 }
 .share {
     justify-content: center;
     height: 65px;
     align-items:center;
 }
 .topmenu .logo{
     height: 70px;
 }
 .topmenu .logo a:first-child img {
     width:8.5em;
     height: auto;
     margin-left:2em;
 }
 .topmenu .logo a:last-child img{ 
     width: 5.5em;
     height: auto;
     padding-top:0.5em;
 }
 .topmenu .logo a {
     margin-right:0.1em;
 }
 .menuicon{
     float: right;
     display: flex;
     width: 40px;
     height: 40px;
     text-align: center;
     justify-content: center;
     align-items: center;
     margin-top: 15px;
     margin-right:0.8em;
 }
 .menuicon span{
     display: block;
     width: 24px;
     height: 24px;
     background: url(../images/align-justify-solid.svg)no-repeat center;
     background-size: 100% auto;

 }
 .menuicon span.cutt{
     display: block;
     width: 24px;
     height: 24px;
     background: url(../images/close.svg)no-repeat center;
     background-size: 100% auto;
 }
.con{
    width:90%;
}
.navtop ul li{
    display: inline-block;
    font-size: 20px;
}
}
@media screen and (max-width: 1000px){
    
    
}
@media screen and (max-width:700px){
    footer p {
        font-size: 0.6em;
        line-height: 2em;
    }
}
@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;
    }
}