﻿@charset "utf-8";

/*--- 201911 ---*/


/*--- header ---*/

.header div,
.n_footer div {
    transition: all 0s;
}

.header {
    width: 100%;
    height: 60px;
    background-color: #fff;
}

.header-in {
    width: 1000px;
    margin: 0 auto;
}

.header_slogan {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 60px;
    background-color: transparent;
    /*background-color: #fff;
	*background-color: #f7f7f7;*/
}

.sticky {
    position: fixed !important;
    background-color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 3px;
    -webkit-animation: moveDown .5s;
}

.twlogo {
    float: left;
    margin-top: 18px;
}

.twlogo img {
    float: left;
    width: 120px;
    margin-top: -5px;
}

.twlogo p {
    float: left;
    color: #04328d;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 4px;
}

.twlogo span {
    margin: 0 10px;
}


/*--- Footer ---*/

.n_footer {
    position: relative;
    overflow: visible;
    background-color: #3e3e3e;
    text-align: center;
    height: auto;
    color: #fff;
    font-size: 17px;
    padding: 0;
    letter-spacing: 0.1em;
    clear: both;
    font-family: Arial, "微軟正黑體", Helvetica, sans-serif !important;
    box-sizing: border-box;
}

.n_footer .footer-in {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.n_footer a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-family: Arial, "微軟正黑體", Helvetica, sans-serif !important;
}

.n_footer .footer-online {
    padding: 40px 15px;
    width: 520px;
    max-width: 100%;
    margin: 0 auto;
}

.n_footer .scroll-in:after {
    content: '';
    display: block;
    clear: both;
}

.n_footer .footer-online .txt {
    position: relative;
    padding: 5px 10px;
    margin-bottom: 30px;
    font-size: 18px;
}

.n_footer .footer-online .txt:before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    left: 50%;
    margin-left: -4px;
    bottom: -12px;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

.n_footer .footer-online .btn-outer {
    font-size: 0;
}

.n_footer .footer-online-btn {
    position: relative;
    padding: 12px 0;
    font-size: 15px;
    font-family: Arial, "微軟正黑體", Helvetica, sans-serif !important;
    width: 32%;
    margin: 0 5px;
    display: inline-block;
    cursor: pointer;
    border-radius: .3rem;
}

#LineLiff .qrforPC {
    position: absolute;
    z-index: 99999;
    left: 50%;
    margin-left: -100px;
    top: -220px;
    box-sizing: border-box;
}

#LineLiff .qrforPC:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #43c507 transparent transparent transparent;
}

#LineLiff .qrforPC iframe {
    display: block;
    width: 210px;
    height: 210px;
    border: 5px solid #42c507;
    box-sizing: border-box;
}

.n_footer .footer-online-btn img {
    display: inline-block;
    margin-right: 5px;
    width: 25px;
    vertical-align: middle;
}

.n_footer .footer-online-btn span {
    margin: 0 0.5em;
}

.n_footer .messenger-btn {
    background: #0084ff;
    box-shadow: inset 0 -5px 0px rgba(0, 0, 0, .3);
}

.n_footer .messenger-btn:hover {
    box-shadow: inset 0 -5px 0px rgba(0, 0, 0, .3), 0 3px 3px rgba(0, 0, 0, .2);
}

.n_footer .line-btn {
    background: #42c507;
    box-shadow: inset 0 -5px 0px rgba(0, 0, 0, .2);
}

.n_footer .line-btn:hover {
    box-shadow: inset 0 -5px 0px rgba(0, 0, 0, .3), 0 3px 3px rgba(0, 0, 0, .2);
}

.n_footer .service-btn {
    background: #ffde27;
    color: #766819;
    box-shadow: inset 0 -5px 0px rgba(0, 0, 0, .2);
}

.n_footer .service-btn:hover {
    box-shadow: inset 0 -5px 0px rgba(0, 0, 0, .3), 0 3px 3px rgba(0, 0, 0, .2);
}

.n_footer .footer-contact {
    font-size: 15px;
    overflow: hidden;
    background: #212121;
    padding: 15px;
}

.n_footer .footer-tel {
    display: inline;
    text-align: left;
    line-height: 21px;
}

.n_footer .footer-tel span {
    margin-right: 0.5em;
    font-family: Arial, "微軟正黑體", Helvetica, sans-serif !important;
}

.n_footer .footer-social {
    line-height: 21px;
}

.n_footer .footer-follow {
    position: relative;
    font-size: 14px;
    margin-bottom: 30px;
}

.n_footer .footer-social a {
    color: #8e8e8e;
    transition: all 0s;
    -webkit-transition: all 0s;
    -moz-transition: all 0s;
    -ms-transition: all 0s;
    -o-transition: all 0s;
}

.n_footer .footer-social a:hover {
    color: #fff;
}

.n_footer .footer-social a:not(:last-child) {
    margin-right: 1em;
    padding-right: 1em;
    border-right: 1px solid #666;
}

.n_footer .footer-social i {
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 5px;
    line-height: 1;
}

.n_footer .footer-social i img {
    width: auto;
    height: 18px;
    opacity: .7;
}

.n_footer .footer-social a:hover i img {
    opacity: 1;
}

.n_footer .footer-pc-scroll-title {
    display: none;
}


/*--- RWD ---*/

@media all and (max-width: 1000px) {
    .header-in {
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 531px) {
    .n_footer .footer-follow {
        display: none;
    }
    /* scroll event*/
    .n_footer .footer-pc-scroll {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, .8);
        margin: 0;
        padding: 0;
        border: none;
        z-index: 1040;
    }
    .n_footer .footer-pc-scroll .footer-pc-scroll-title {
        display: none;
    }
    .n_footer .footer-pc-scroll .footer-pc-scroll-title img {
        display: block;
    }
    .n_footer .footer-pc-scroll .scroll-in {
        width: 1000px;
        margin: 0 auto;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    .n_footer .footer-pc-scroll .txt {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
        font-size: 1em;
    }
    .n_footer .footer-pc-scroll .txt:before {
        display: none;
    }
    .n_footer .footer-pc-scroll .txt span {
        background: none;
        line-height: 40px;
    }
    .n_footer .footer-pc-scroll .btn-outer {
        display: inline-block;
        vertical-align: middle;
    }
    .n_footer .footer-pc-scroll .footer-online-btn {
        width: auto;
        padding: 10px 25px;
        letter-spacing: 1px;
    }
}

@media all and (min-width: 1001px) {
    .n_footer .footer-pc-scroll .footer-pc-scroll-title {
        display: inline-block;
        vertical-align: middle;
    }
    .n_footer .footer-pc-scroll .scroll-in {
        text-align: center;
    }
}

@media only screen and (max-width: 530px) {
    .twlogo img {
        width: 110px;
    }
    .n_footer {
        padding: 30px 15px 126px;
        background: #212121;
    }
    .n_footer .footer-online {
        position: fixed;
        width: 100%;
        left: 0;
        bottom: -1px;
        margin: 0;
        padding: 0;
        z-index: 1040;
    }
    .n_footer .footer-online .txt {
        padding: 10px;
        margin: 0;
        background: #212121;
        color: #fff;
        font-size: 16px;
    }
    .n_footer .footer-online .txt:before {
        display: none;
    }
    .n_footer .btn-outer {
        overflow: hidden;
        padding: 0 8px 8px;
        background: #212121;
    }
    .n_footer .footer-contact {
        padding: 0;
    }
    .n_footer .footer-tel {
        float: none;
        width: auto;
        text-align: center;
        margin-bottom: 25px;
    }
    .n_footer .footer-tel a {
        font-size: 1.6em;
    }
    .n_footer .footer-tel span {
        display: block;
        position: relative;
        margin-bottom: 5px;
        margin-right: 0;
    }
    .n_footer .footer-social {
        text-align: center;
        display: inline-block;
        float: none;
        width: auto;
    }
    .n_footer .footer-social a {
        font-size: 0em;
    }
    .n_footer .footer-social i {
        background: #000;
        display: inline-block;
        width: 48px;
        box-sizing: border-box;
        padding: 10px;
        border-radius: 50%;
        margin: 0 2px;
        line-height: 28px;
    }
    .n_footer .footer-social img {
        height: 28px;
    }
    .n_footer .footer-follow:after {
        content: "";
        width: 1.2em;
        position: absolute;
        bottom: -15px;
        left: 50%;
        margin-left: -1em;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
    }
}

@media only screen and (max-width: 500px) {
    .n_footer .footer-online-btn {
        letter-spacing: 1px;
        width: calc(49% - 4px);
        margin: 0 2px;
        padding: 10px 0;
        font-size: 14px;
    }
    .n_footer .footer-online-btn img {
        width: 20px;
    }
}

@media only screen and (max-width: 400px) {
    .n_footer .footer-online-btn span {
        display: block;
        margin: 10px 0 0 0;
    }
}

@media only screen and (max-width: 350px) {
    .twlogo p {
        display: none;
    }
}