body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Microsoft JhengHei, "Noto Serif", Georgia, serif;
    ;
    /*overflow-x: hidden;*/
}

* {
    margin: 0;
    padding: 0;
}
p{
    margin-bottom: 0;
}
a {
    text-decoration: none !important;
}

a.link-black {
    color: #000;
}

#header {
    background: #fff;
}

#header .top {
    width: 1023px;
    margin: 0 auto;
}

#header .top h1#logo {
    width: 190px;
    height: 80px;
    display: block;
    float: left;
    margin-top: 33px;
    margin-right: 409px;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-image: url(../images/logo.png?v=1);
    background-size: 100% auto;
    margin-bottom: 0;
    box-sizing: border-box;
}

#header .top h1#logo a {
    display: block;
    text-indent: -9999px;
    height: 100%;
}

#header .top .top-info {
    float: left;
    width: 282px;
    margin-top: 28px;
}

#header .top .top-info h2 {
    text-align: center;
    font-size: 16px;
    padding: 5px 0;
    color: #3c3c3c;
    letter-spacing: 1px;
}

#header .top .top-info h3 {
    background-color: #00648c;
    color: #fff;
    text-align: center;
    font-size: 18px;
    padding: 2px 0;
}

#header .top .top-info h3 small {
    color: #88c3db;
    font-size: 18px;
}

#header .nav {
    display: flex;
    padding-top: 43px;
    justify-content:center;
}

#header .nav ul {
    height: 46px;
    display: flex;
    justify-content:center;
    align-items:center;
    margin-bottom: 0;
    padding-left: 0;
}

#header .nav ul li {
    font-size: 16px;
    display: block;
    width: 150px;
    text-align: center;
    border-right: 4px solid #c4c4c4;
    margin: 14px 0;
    box-sizing: border-box;
}
#header .nav ul li.noborder{
    border: none;
}
#header .nav ul li.social{
    font-size: 1.5rem;
    display: flex;
    justify-content:center;
    align-items:center;
}
#header .nav ul li.social a.fb {
    background-image: url(../images/header-fb.png);
    text-indent: -9999px;
    width: 34px;
    height: 34px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
}
#header .nav ul li.social a.instagram {
    background-image: url(../images/header-ig.png);
    text-indent: -9999px;
    width: 34px;
    height: 34px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}  
#header .nav ul li a {
    color: #000;
}

#header .nav ul li a:hover {}
#header .submenu-outbox{
    display: none;
}
#header .submenu {
    display: flex;
    flex-wrap: wrap;
    /*background-color: #00648C;*/
    width: 1023px;
    margin: 0 auto;
    padding-top: 0;
    overflow: hidden;
    box-sizing: border-box;
    transition: all 0.5s;
}
#header .submenu.open{
    padding: 43px 0px 0 0px;
}
#header .submenu ul {
    box-sizing: border-box;
    overflow: hidden;
    width: calc(100% / 3);
    /* width: 290px;  height: 280px;
    float: left;*/
    color: #aaa;
    padding: 30px;
    border-right: 1px solid #e9e9e9;
   
}

#header .submenu ul:nth-child(3n) {
    border-right: none;
}

#header .submenu ul:nth-child(1),
#header .submenu ul:nth-child(2),
#header .submenu ul:nth-child(3) {
    border-bottom: 1px solid #e9e9e9;
}

#header .submenu h3 {
    color: #aaa;
    padding-bottom: 10px;
    font-size: 19px;
    font-weight: 600;
}
#header .submenu h3>a{
    color: #aaa;
}
#header .submenu h3:after {
    font-family: 'FontAwesome';
    content: ' \f078';
    color: #bbb;
}
#header .submenu h3.no-child:after{
    content: ' \f054';

}

#header .submenu h3.forvclear {
    border-top: 1px solid #e9e9e9;
    padding-top: 20px;
}

#header .submenu ul li {
    display: block;
    line-height: 30px;
    color: #000;
    padding-left: 10px;
    font-size: 14px;
    padding-bottom: 7px;
    color: #666;
}

#header .submenu ul li a {
    color: #000;
}

#header .submenu ul li a:hover {
    text-decoration: none;
}

.home-slidshow {
    height: 500px;
    background-color: #F3F3F3;
    overflow: hidden;
}

.home-slidshow-inner {
    width: 1365px;
    margin: 0 auto;
}

.home-product-detail {
    background-color: #fafafa;
    padding-top: 40px;
    padding-bottom: 50px;
    overflow: hidden;
}

.home-product-inner {
    width: 1023px;
    margin: 0 auto;
    box-sizing: border-box;
}


.home-product-inner dl.product-link {
    margin-right: 0px
}

.home-product-inner dl {
    width: 475px;
    float: left;
    margin-right: 70px;
}

.home-product-inner dl.last-child {
    margin-right: 0;
}

.home-product-inner dt {
    height: 66px;
    line-height: 66px;
    border-bottom: 1px solid #1f779b;
}

.home-product-inner dd {
    font-size: 14px;
    line-height: 24px;
    padding-top: 28px;
}

.home-product-inner dd .pimg {
    float: right;
    border: 1px solid #e0e0e0;
    margin-left: 20px;
}

.home-product-inner dd .more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    background-color: #acdbe0;
    color: #fff;
    width: 93px;
    line-height: 26px;
    text-align: center;
    font-weight: 900;
    letter-spacing: 1px;
}

.home-product-inner.home-product-link {
    background-color: #fff;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 50px;
}

.home-product-inner.home-product-link a {
    color: #000;
}

.home-product-inner.home-product-link a:hover {
    color: #1f779b;
}

.home-product-inner.home-product-link .home-facebook {
    width: 460px;
    float: left;
    overflow: hidden;
    /*    background-color: #000;*/
}

.home-product-inner.home-product-link dd {
    padding-top: 15px;
}

.home-product-inner.home-product-link h3 {
    background-color: #acdbe0;
    color: #fff;
    text-indent: 8px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.home-product-inner.home-product-link ul {
    padding: 0 8px;
}

.home-product-inner.home-product-link ul li {
    line-height: 34px;
    display: block;
}

.content {
    overflow: hidden;
    line-height: 200%;
}

.content .subject {
    box-sizing: border-box;
    padding-top: 40px;
    height: 120px;
    background-image: url(../images/subject-bg.jpg);
    background-attachment: fixed;
    text-align: center;
    color: #fff;
    font-size: 36px;
    text-shadow: 1px 1px 1px #000;
    /*border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;*/
}

.contain {
    width: 923px;
    margin: 0 auto;
    padding: 50px;
    overflow: hidden;
    /*border-right: 1px solid #f4f4f4;
    border-left: 1px solid #f4f4f4;*/
}

ul.newsList {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.newsList li {
    line-height: 30px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
   
}

ul.newsList li a {
    color: #000;
    display: flex;
    gap:10px
}
ul.newsList li a>.date{
    font-size: 12px;
    color: #aaa;
    flex-shrink: 1;
}
.contain.almostfull {
    width: 1100px;
    padding-left: 0;
    padding-right: 0;
}

.contain.news-detail {
    padding-top: 20px;
}

.contain.news-detail .tit-anti {
    margin-top: 10px;
    margin-bottom: 10px;
}

.contain.news-detail small {
    display: block;
    width: 100%;
    padding-right: 15px;
    text-align: right;
    margin-bottom: 10px;
}

.news-detail-contain {
    padding-left: 15px;
    padding-right: 15px;
}

.news-detail-contain img {
    max-width: 100%;
    height: auto;
}

.fontIcon-p {
    margin: 30px 10px;
    font-size: 24px;
}

.contain .fontIcon-p span {
    display: block;
    float: left;
    margin-right: 50px;
}

.contain .fontIcon-p i {
    font-size: 46px;
    display: inline-block;
    margin: 0 5px;
    color: #bbb;
}

.contain .iN-bg {
    background-color: #000000;
}

.contain .service-wid {
    width: 920px;
    margin: 0 auto;
}

.contain .UltraPlacenta {
    width: 920px;
}

#footer {
    background-color: #4e4e4e;
}
#footer a{
    color: #fff;
}
#footer .copyright {
    display: flex;
    color: #9e9e9e;
    width: 1023px;
    margin: 0 auto;
    padding: 53px 0;
    overflow: hidden;
    font-size: 14px;
}

#footer .copyright dl {
    /* width: 470px;
    float: left; */
    border-right: solid 1px #9e9e9e;
    padding: 0 20px;
}

#footer .copyright dl.last-child {
    border: none;
}

#footer .copyright dt {
    font-size: 16px;
}

#footer .copyright dd {
    line-height: 30px;
}

#footer .copyright h3 {
    padding: 20px 0;
    color: #fff;
    font-size: 18px;
}

#footer .copyright small {
    display: block;
    border-top: 1px solid #9e9e9e;
    padding: 20px 0;
}

#footer .copyright h3 i {
    font-size: 30px;
}

#footer .copyright h3 span {
    display: inline-block;
    margin-right: 35px;
}

.brand {
    border-top: 1px solid #e4e4e4;
    margin: 50px auto 0 auto;
    background-color: #fff;
    text-align: center;
    padding-bottom: 42px;
}

.brand h3 {
    color: #494646;
    font-size: 30px;
    padding: 20px 0;
}

.brand ul {
    overflow: hidden;
}

.brand li {
    display: inline-block;
    margin: 0 20px;
}

.only-ms {
    display: none!important;
}

.only-ws {
    display: block!important;
    margin: 0 auto;
    ;
}

.m-img {
    width: auto;
    max-width: auto;
    height: auto;
}

.flat-left-margin {
    float: left;
    margin: 0 10px 10px 0
}

.flat-right-margin {
    float: right;
    margin: 0 0 10px 10px
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.mrging-h-none {
    margin-left: 0!important;
    margin-right: 0!important;
}

.mrging-v-none {
    margin-top: 0;
    margin-bottom: 0;
}

.beautry-infoTable {}

.beautry-infoTable table {
    width: 97%;
    margin: 0 auto 20px auto;
    border: 1px solid #aaa;
    border-collapse: collapse;
}

.beautry-infoTable table td,
.beautry-infoTable table th {
    border: 1px solid #ddd;
    border-collapse: collapse;
    padding: 10px 10px;
    /*background: #fffdd1*/
    text-align: center;
}

.beautry-infoTable table th {
    background-color: #fff3d1;
}

.clear {
    clear: both;
}

.tit-anti {
    font-size: 23px;
    padding: 7px 0 7px 15px;
    margin: 30px 0;
    background: url(../images/tit-anti.png) repeat-x 0 bottom;
    /*
    color: #fff;
   background-color: #00648C;
   border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);*/
}

.hr11,
.sky-form .hr11 {
    height: 6px;
    background: url(../images/hr-11.png) repeat-x 0 0;
    border: 0;
    margin: 20px 0;
}

a#mclick {
    display: none;
}

.fcr-list-flex {
    display: flex;
    flex-wrap: wrap;
}

.fcr-list h2 {
    font-size: 28px;
    color: #00648C;
}

.fcr-list h2:before {
    font-family: 'FontAwesome';
    content: '\f101 ';
    color: #47568E;
    display: inline-block;
    padding-right: 5px;
    font-weight: normal;
    font-size: 20px;
}

.fcr-list dl {
    width: 240px;
    margin: 30px 0;
    padding: 10px 15px;
}

.fcr-list dt {
    /*font-family: A1Mincho;*/
    font-size: 16px;
    color: #009fb5;
    text-align: center;
    font-weight: bold;
}

.fcr-list dd {
    font-size: 12px;
}

.fcr-list .photo {
    text-align: center;
}
.fcr-list .photo img{
    max-width: 100%;
    height: auto;
}
.gmap {
    width: 100%;
    height: 350px;
}

@media only screen and (max-device-width: 800px) {
    #header {
        width: 100%;
        height: auto;
    }
    #header .top h1#logo {
        margin-top: 10px;
        margin-left: 10px;
        margin-bottom: 20px;
        width: 166px;
        height: 70px;
        background-position: center;
    }
    #header .top .top-info {
        display: none;
    }
    /*****************nav************/
    #header .nav {
        padding-top: 0px;
        display: none;
    }
    #header .nav ul {
        height: auto;
        flex-direction:column;
    }
    #header .nav ul li {
        float: none;
        width: 80%;
        /* height: 36px;
        line-height: 36px; */
        text-align: center;
        border-left: none;
        border-right: none;
        border-top: 1px solid #c4c4c4;
        margin: 0 auto;
        padding-top: 10px;
        padding-bottom: 10px;
        
    }
    #header .nav ul li:last-child {
        border-top: 1px solid #c4c4c4;
        /*border-bottom: 1px solid #c4c4c4;*/
        border-right: none;
    }
    #header .nav ul li.social{
        order: -1;
        border-top: none !important;
    }
    #header .nav ul li a:hover {}
    #header .submenu {
        width: 80%;
        padding-top: 0;
        box-sizing: border-box;
    }
    #header .submenu ul {
        width: 100%;
        float: none;
        border-right: none;
        border-bottom: 1px solid #e9e9e9;
        height: auto;
        padding: 30px 30px 30px 0px;
    }
    #header .submenu ul:last-child {
        border-bottom: none;
    }
    #header .submenu h3 {
        color: #aaa;
        padding-bottom: 10px;
    }
    #header .submenu h3:after {
        font-family: 'FontAwesome';
        content: ' \f078';
        color: #bbb;
    }
    #header .submenu ul li {
        display: block;
        /* height: 36px; */
        line-height: 36px;
        color: #000;
        padding-left: 10px;
        font-size: 14px;
    }
    #header .submenu ul li a {
        color: #000;
    }
    #header .submenu ul li a:hover {
        text-decoration: none;
    }
    /*****************************/
    #footer .copyright,
    #header .top,
    #header,
    .home-product-inner {
        width: 100%;
    }
    .home-slidshow {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        background-color: #fff;
    }
    .home-slidshow img {
        width: 100%;
    }
    .home-slidshow-inner {
        width: 100%;
        margin: 0 auto;
    }
    .home-product-detail {
        padding-top: 0px;
        background-color: #fff;
        padding-bottom: 10px;
    }
    .home-product-inner {
        padding: 0 10px;
    }
    .home-product-inner dl {
        width: 100%;
        float: none;
        margin-right: 0;
        border-bottom: 1px solid #1f779b;
    }
    .home-product-inner dl.product-link {
        border-bottom: none;
    }
    .home-product-inner dt {
        height: auto;
        padding: 5px 0;
        line-height: 180%;
        border-bottom: none;
        font-size: 2em;
        text-align: center;
    }
    .home-product-inner dd {
        padding: 0;
        width: 80%;
        margin: 0 auto;
    }
    .home-product-inner dd .pimg {
        float: none;
        display: block;
        margin: 0 auto 10px auto;
        width: 100%;
        border: none;
    }
    .home-product-inner dd .more {
        margin: 10px auto;
        width: 100%;
        padding: 10px 0;
    }
    .home-product-inner.home-product-link .home-facebook {
        display: block;
    }
    .fb-comments,
    .fb-comments iframe[style] {
        width: 100% !important;
    }
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget span iframe[style] {
        width: 100% !important;
    }
    .home-product-inner.home-product-link {
        background-color: #fff;
        overflow: hidden;
        padding-top: 40px;
        padding-bottom: 50px;
    }
    .home-product-inner.home-product-link {
        padding-top: 0;
        padding-bottom: 0;
    }
    .content .subject {
        /* width: 80%;*/
        padding: 10px;
        margin: 10px 20px;
        line-height: 180%;
        height: auto;
        font-size: 28px;
        /*  -webkit-background-size: cover;
        background-size: cover;*/
        background-image: none;
        border-top: 1px solid #8db6c0;
        border-bottom: 1px solid #8db6c0;
        color: #3c3c3c;
        text-shadow: none;
    }
    .content .subject-4:before {
        content: '日韓美容商品代理品牌宣傳及販賣';
        letter-spacing: 2px;
        display: block;
        text-align: center;
        margin: 20px 0;
        font-size: 14px;
        line-height: 24px;
    }
    .contain,
    .contain.almostfull {
        box-sizing: border-box;
        width: 100%;
        padding: 10px 20px;
    }
    .contain img {
        max-width: 100%;
        height: auto;
    }
    .contain .service-wid {
        width: 100%;
        margin: 0 auto;
    }
    .contain .fontIcon-p {
        margin: 20px 0;
    }
    .contain .fontIcon-p span {
        display: block;
        float: none;
        margin: 0 auto;
    }
    .contain .UltraPlacenta {
        width: 100%;
    }
    .tit-anti {
        padding: 5px;
        margin: 10px 0;
    }
    .tit-anti:first-child {
        background-image: none;
    }
    #footer .copyright {
        margin: 0 auto;
        box-sizing: border-box;
        padding: 20px 20px;
        text-align: center;
        font-size: 14px;
        flex-direction: column;
    }
    #footer .copyright dl {
        padding: 0;
        float: none;
        border-right: none;
        width: 100%;
    }
    #footer .copyright dl.last-child {
        border-top: 1px solid #9e9e9e;
        padding-top: 20px;
        margin-top: 20px;
    }
    #footer .copyright dt {
        font-size: 24px;
    }
    #footer .copyright h3 span {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .brand {
        box-sizing: border-box;
    }
    .brand li {
        display: block;
        margin: 5px;
        float: left;
        width: 30%;
        text-align: center;
        height: 83px;
    }
    .brand li img {
        max-height: 100%;
        width: 100%
    }
    .fcr-list h2 {
        text-align: center;
    }
    .fcr-list dl {
        width: 100%;
        float: none;
        padding-right: 0;
        padding-left: 0;
    }
    .only-ms {
        display: block!important;
        ;
    }
    .only-ws {
        display: none!important;
        ;
    }
    .m-img {
        max-width: 100%;
        height: auto;
    }
    .m-max-img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
        float: none;
    }
    a#mclick {
        display: block;
        position: absolute;
        right: 15px;
        top: 40px;
        width: 30px;
        height: 30px;
        background-image: url(../images/mclick.png);
        -webkit-background-size: cover;
        background-size: cover;
        text-indent: -9999px;
        transition: all 0.5s;
    }
    a#mclick.close {
        background-image: url(../images/mx.png);
    }
    .infoTable {
        float: none;
        width: 100%;
    }
    .contain.news ul li {
        line-height: 30px;
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
        list-style: none;
    }
    .contain.news-detail small {
        text-align: center;
    }
}
