* {
    box-sizing: border-box;
    /*font-family: PingFangTC, 黑體-繁, 微軟正黑體, Arial, serif;*/
    font-family: Roboto, "Open Sans", Arial, "SF Pro TC", "PingFang TC", 新微軟正黑體, "Microsoft JhengHei", sans-serif;

    -webkit-text-size-adjust: none;
    scrollbar-width: thin !important;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: 0;
    outline: none;
}

::-webkit-scrollbar:horizontal {
    height: 8px !important;
}

::-webkit-scrollbar {
    width: 8px !important;
}

::-webkit-scrollbar-track {
    border-radius: 8px;
    background: rgba(200, 200, 200, .2);
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: rgba(167, 167, 167, .8)
}

.pfdLinkBtn {
    align-items: center;
    padding: 7px 70px 7px 50px;
    width: max-content;
    height: 50px;
    background-color: #3AAFA9;
    border-radius: 30px;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    color: #FFFFFF;
    background-image: url("/img/menu/icon-arrow-right.svg");
    background-repeat: no-repeat;
    background-position: right 25px center;
    border: none;
    margin: auto;
    display: block;
    cursor: pointer;
    /*background-size: 10px;*/
}

#search_block {
    display: block;
    position: fixed;
    width: 300px;
    top: 0;
    /*right: 350px;*/
    right: 0;
    z-index: 9999;
}

#search {
    position: absolute;
    display: none;
    top: 10px;
    left: 150px;
    width: 300px;
    height: 34px;
    background: transparent;
    border: 1px solid #ABABAB;
}

#search_icon {
    width: 20px;
    height: 20px;
}

body {
    min-width: 320px;
    margin: 0;
    padding: 0;
    opacity: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1 {
    /*font-weight: 400;*/
    font-size: 40px;
    margin: 0;
}

h2 {
    /*font-weight: 400;*/
    font-size: 30px;
    margin-top: 0;
}

h3 {
    /*font-weight: 400;*/
    /*font-weight: 500;*/
    font-weight: 600;
    /*font-size: 20px;*/
    font-size: 18px;
    margin: 0;
}

h4 {
    font-weight: 400;
    font-size: 18px;
    margin: 0;
}

.ps {
    font-weight: 400;
    font-size: 16px;
}

.pc {
    display: none;
}

.tb {
    display: none;
}

.btn {
    cursor: pointer;
    opacity: 0.9;
}

.btn:hover {
    opacity: 1;
}

#gotop {
    width: 40px;
    height: 40px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    z-index: 999;
    background-image: url("../img/common/go_top.svg");
    background-size: contain;
    display: none;
}

#gotop img {
    width: 50px;
}

#header_iframe {
    /*height: max-content;*/
    height: 40px;
}

#footer_iframe {
    /*height: max-content;*/
    /*height: 510px;*/
    width: 100%;
    height: 640px;
}

.top_banner_iframe {
    margin-top: 40px;
    /*	height: 300px;*/
}

.clicked_li {
    display: none;
}

/* ============ loader 轉圈圈  ============*/
.loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*-------------------animations---------------*/
:root {
    --animate-duration: 1s;
    --animate-delay: 0.4s;
    --animate-repeat: 1;
}

.animate {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.delay {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
    -webkit-animation-delay: var(--animate-delay);
    animation-delay: var(--animate-delay);
}


@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fadeIn {
    z-index: 9;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.fadeOut {
    z-index: 9;
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@keyframes bounceInUp {
    0%, 60%, 75%, 90%, 100% {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 3000px, 0);
        transform: translate3d(0, 3000px, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, -20px, 0);
        transform: translate3d(0, -20px, 0);
    }

    75% {
        -webkit-transform: translate3d(0, 10px, 0);
        transform: translate3d(0, 10px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -5px, 0);
        transform: translate3d(0, -5px, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
}

@keyframes flipInX {
    from {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }

    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }

    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }

    to {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}

.flipInX {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
}

/*-------------------animations END---------------*/
/*----------------客製化google Search-----------------*/
#___gcse_0 {
    margin-top: 10px;
    margin-right: 10px;
    width: 100% !important;
    /*	height: 50px!important;*/
}

.gsc-input {
    padding-right: 0 !important;
    /*border-radius: 30px !important;*/
    /*	background: none!important;*/
    /*  background: url("../img/placeholder.svg")  0% 0% no-repeat padding-box!important;*/
    background: transparent !important;
    color: rgba(61, 136, 164, 1) !important;
    /*	margin-top: 5px!important;*/
}

#gs_id50 {
    border: 0 !important;
}

#gsc-i-id1 {
    /*background-color: transparent !important;*/
    /*  color: #fff !important;*/
    color: rgba(61, 136, 164, 1) !important;
    background: #fff !important;
    /*  border: 1px solid #ABABAB!important;*/
    /*	margin-top: 5px!important;*/
    margin-left: 30px !important;
    width: 90% !important;
}

.gsc-search-button-v2 {
    /*	display: none;*/
    width: 30px !important;
    height: 30px !important;
    border-radius: 30px !important;
    padding: 6px !important;
    /*  background-color: rgb(55, 139, 169) !important;*/
    border: 1px solid #fff !important;
    margin-right: 5px;
    background: #fff url("../img/common/search_arrow.svg") no-repeat 90% 50% !important;
}

.gsc-search-button-v2 svg {
    display: none !important;
}

.gsc-input-box {
    border: 1px solid #fff !important;
    border-radius: 40px !important;
    background-color: #FFFFFF80 !important;
}

.gsib_a {
    padding: 0;
}

.gsc-control-cse {
    padding: 0 !important;
    width: calc(100% - 20px) !important;
    height: 30px !important;
    background-color: transparent !important;
    border: 1px solid #ABABAB !important;
    border-radius: 30px;
    overflow: hidden;
}

.gsc-control-cse td {
    border: 0 !important;
}

.gsc-search-button {
    width: 30px !important;
    height: 30px;
    /*	margin-right: 30px!important;*/
    cursor: pointer;
    /*  margin-left: 5px !important;*/
    /*	background: url("../img/search_arrow.svg") no-repeat 50% 40%!important;*/
    z-index: 99;
    border-radius: 30px;
}

.gsst_a .gscb_a {
    color: rgb(55, 139, 169) !important;
}

.gsib_a {
    padding: 0 !important;
}

/*----------------客製化google Search END-----------------*/

@media only screen and (min-width: 1080px) {
    #header_iframe {
        /*height: max-content;*/
        height: 80px;
    }

    #footer_iframe {
        height: 580px;
    }

    .top_banner_iframe {
        margin-top: 80px;
    }

    ::-webkit-scrollbar {
        display: none; /* Chrome Safari */
    }

    .pc {
        display: block;
    }

    .tb {
        display: block;
    }

    .mb {
        display: none;
    }

    h1 {
        font-size: 40px;
    }

    #search_mb {
        display: none;
    }

    #search_pc {
        display: none;
        position: absolute;
        width: 300px;
        height: 50px;
        float: right;
        top: 0;
        right: 320px;
        /*right: 220px;*/
        /*right: 390px;*/
    }

    .search_icon {
        width: 30px;
        height: 30px;
        position: absolute;
        /*left: 10px;*/
        top: 10px;
        background: url("../img/common/search_icon.svg") no-repeat center/60%;
    }

    #searchbt {
        cursor: pointer;
        display: block;
        position: absolute;
        width: 30px;
        height: 30px;
        top: 10px;
        /*		right: 380px;*/
        /*		right: 310px;*/
        /*right: 360px;*/
        right: 295px;
        /*right: 195px;*/
        background: url('../img/common/btn_search.svg') no-repeat center/90%;
        z-index: 99;
        opacity: 0.7;
    }

    #searchbt:hover {
        opacity: 1;
    }

    #close_searchbt {
        cursor: pointer;
        display: none;
        position: absolute;
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
        top: 10px;
        right: 295px;
        /*right: 195px;*/
        /*right: 360px;*/
        background: #C8CBD0;
        color: #EEF8F7;
        z-index: 99;
        opacity: 0.7;
        border-radius: 30px;
        text-align: center;
    }

    #close_searchbt:hover {
        opacity: 1;
    }
}

@media only screen and (min-width: 1100px) {
    #menu {
        /*right: 30px;*/
        right: 20px;
    }

    h3 {
        font-size: 20px;
    }
}


@media only screen and (min-width: 1366px) {

    #searchbt {
        right: 300px;
    }
    #close_searchbt{
        right: 300px;
    }
    #search_pc{
        right: 330px;
    }
}

@media only screen and (min-width: 1440px) {

    #searchbt {
        right: 360px;
    }
    #close_searchbt{
        right: 360px;
    }
    #search_pc{
        right: 390px;
    }
}

@media only screen and (min-width: 1680px) {
}

@media only screen and (min-width: 1920px) {
}
