﻿/* ================================ 共用header ==================================== */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px;
    background-color: #ffffff;
}

    .site-wrapper .site-header {
        height: 80px;
        width: 100%;
        background: white;
        position: fixed;
        top: 0px;
        z-index: 1030;
        border-bottom: 2px solid #ccc;
    }

        .site-wrapper .site-header .main-head-bar {
            width: 100%;
            background: linear-gradient(90deg, #00b3fe, #039);
            height: 16px;
            display: flex;
            justify-content: end;
            align-items: center;
        }

            .site-wrapper .site-header .main-head-bar .img-group {
                height: 12px;
            }

            .site-wrapper .site-header .main-head-bar .img-wave {
                height: 8px;
                align-self: end;
            }

        .site-wrapper .site-header .commonHeader {
            margin: 0 auto;
            padding: 0 32px;
            height: 64px;
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
            align-items: center;
        }

            .site-wrapper .site-header .commonHeader .tm-logo {
                overflow: hidden;
            }

                .site-wrapper .site-header .commonHeader .tm-logo img {
                    width: 245px;
                }

            .site-wrapper .site-header .commonHeader .commonHeader_nav {
                flex-grow: 1;
                align-items: center;
                margin-top: 10px;
                text-align: right;
                cursor: pointer;
            }

                .site-wrapper .site-header .commonHeader .commonHeader_nav a {
                    color: #4d4d4d;
                    text-decoration: none;
                }

                .site-wrapper .site-header .commonHeader .commonHeader_nav .commonHeader_nav_index {
                    font-weight: bold;
                    font-size: 18px;
                }

                .site-wrapper .site-header .commonHeader .commonHeader_nav .site-header-link-icon {
                    width: 40px;
                    height: 35px;
                    position: relative;
                    display: inline-block;
                }

                .site-wrapper .site-header .commonHeader .commonHeader_nav .site-header-link-icon img {
                    width: 40px;
                    height: 35px;
                }

                .site-wrapper .site-header .commonHeader .commonHeader_nav .commonHeader_nav_index:hover .site-header-link-text {
                    color: #005F99;
                }

                .site-wrapper .site-header .commonHeader .commonHeader_nav .site-header-link-icon-global {
                    position: relative;
                    display: inline-block;
                    font-size: 14px;
                    color: #4f4f4f;
                }

            .site-wrapper .site-header .commonHeader .site-header-link {
                flex-grow: 1;
                align-items: center;
                margin-top: 10px;
                text-align: right;
                font-weight: bold;
                cursor: pointer;
                font-size: 18px;
            }

                .site-wrapper .site-header .commonHeader .site-header-link a {
                    color: #4d4d4d;
                    text-decoration: none;
                }

                .site-wrapper .site-header .commonHeader .site-header-link .site-header-link-icon {
                    width: 40px;
                    height: 35px;
                    position: relative;
                    display: inline-block;
                }

            .site-wrapper .site-header .commonHeader .site-header-link.contactus img {
                width: 40px;
                height: 35px;
            }

@media (max-width: 767px) {
    .site-wrapper .site-header .commonHeader {
        padding: 0 10px;
    }

        .site-wrapper .site-header .commonHeader .tm-logo {
            width: 60px;
        }
        .site-wrapper .site-header .commonHeader .commonHeader_nav {
            margin-top: 0px;
        }
            .site-wrapper .site-header .commonHeader .commonHeader_nav .commonHeader_nav_global {
                display: none;
            }

            .site-wrapper .site-header .commonHeader .site-header-link.contactus .site-header-link-icon {
                width: auto;
            }
        .site-wrapper .site-header .commonHeader .site-header-link.contactus {
            margin-top: 0px;
        }
}

@media (min-width: 768px) {
    .site-wrapper .site-header .commonHeader .site-header-link.contactus {
        position: fixed;
        right: 0px;
        top: 45%;
        width: auto;
        height: auto;
        text-align: center;
        font-weight: bold;
    }

        .site-wrapper .site-header .commonHeader .site-header-link.contactus a {
            color: #4d4d4d;
        }

        .site-wrapper .site-header .commonHeader .site-header-link.contactus img {
            width: 100px;
            height: 100px;
        }

    .site-header-link-icon.contactus .text {
        display: block;
    }

    .site-wrapper .site-header .commonHeader .site-header-link.contactus .site-header-link-icon {
        width: auto;
    }
}

/* ================================ 共用footer ==================================== */
.site-footer {
    z-index: 2;
}

.commonFooter {
    background-color: #005bac;
    padding: 8px 4px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

    .commonFooter .commonFooter__ul {
        list-style: none;
        padding-left: 0;
        margin: 4px 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

        .commonFooter .commonFooter__ul .commonFooter__li {
            width: auto;
            border-bottom: 0;
            border-right: 1px solid #fff;
            padding: 0 8px;
            margin: 0;
        }

            .commonFooter .commonFooter__ul .commonFooter__li a {
                color: #fff;
            }

            .commonFooter .commonFooter__ul .commonFooter__li:last-child {
                border-right: 0;
            }

    .commonFooter .commonFooter__info--desktop {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .commonFooter .commonFooter__info--desktop .commonFooter__infoText {
            margin: 4px 0;
            padding: 0 8px;
            white-space: nowrap;
            border-right: 1px solid #fff;
        }

            .commonFooter .commonFooter__info--desktop .commonFooter__infoText:last-child {
                border-right: 0;
            }

    .commonFooter .commonFooter__info--pad, .commonFooter .commonFooter__info--mobile {
        display: none;
        margin: 0 12px;
    }

    .commonFooter .commonFooter__friendly {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        padding: 4px 0;
    }

        .commonFooter .commonFooter__friendly a {
            color: white;
            text-decoration: underline;
        }

@media screen and (max-width: 1536px) {
    .commonFooter .commonFooter__info--desktop .commonFooter__infoText:nth-child(3) {
        border-right: 0;
    }
}

@media screen and (max-width: 1280px) {
    .commonFooter .commonFooter__ul {
        flex-wrap: wrap;
        justify-content: left;
    }

        .commonFooter .commonFooter__ul .commonFooter__li {
            width: 100%;
            border-bottom: 1px solid #fff;
            border-right: 0;
            padding: 8px 2px;
            margin: 0 12px;
        }

    .commonFooter .commonFooter__info--desktop {
        display: none;
    }

    .commonFooter .commonFooter__info--pad {
        display: block;
    }

    .commonFooter .commonFooter__friendly {
        justify-content: flex-start;
        margin: 0 12px;
    }
}

@media screen and (max-width: 640px) {
    .commonFooter .commonFooter__info--pad {
        display: none;
    }

    .commonFooter .commonFooter__info--mobile {
        display: block;
    }
}

.footerBar {
    width: 100%;
    background: linear-gradient(90deg,#00b3fe,#039);
    height: 80px;
    border-top: 1px solid #fff;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

    .footerBar .footerBar__imgBox {
        display: flex;
        padding-top: 0px;
        align-items: center;
    }

        .footerBar .footerBar__imgBox .footerBar__img {
            position: absolute;
            height: 20px;
            margin: 4px 24px;
        }

    .footerBar .footerBar__companyBox {
        display: flex;
        flex-wrap: nowrap;
    }

        .footerBar .footerBar__companyBox .footerBar__companyText {
            padding: 8px 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            justify-content: end;
            align-items: center;
        }

            .footerBar .footerBar__companyBox .footerBar__companyText .footerBar__companyImg {
                height: 24px;
            }

            .footerBar .footerBar__companyBox .footerBar__companyText .footerBar__companyRight {
                width: 100%;
                white-space: nowrap;
                text-align: right;
                font-size: 12px;
                line-height: 16px;
                margin: 0;
            }

        .footerBar .footerBar__companyBox .footerBar__companyWave {
            height: 24px;
            position: relative;
            right: 0;
            align-self: end;
        }

@media screen and (max-width: 1280px) {
    .footerBar .footerBar__imgBox .footerBar__img {
        height: 16px;
        margin: 4px 8px;
    }

    .footerBar .footerBar__companyBox .footerBar__companyText .footerBar__companyImg {
        height: 20px;
    }

    .footerBar .footerBar__companyBox .footerBar__companyText .footerBar__companyRight {
        font-size: 8.5px;
        line-height: 12px;
    }
}

@media screen and (max-width: 640px) {
    .footerBar {
        height: 64px;
    }

        .footerBar .footerBar__imgBox {
            align-items: center;
            padding-top: 0;
        }

            .footerBar .footerBar__imgBox .footerBar__img {
                display: block;
            }

        .footerBar .footerBar__companyBox {
            margin-right: 0;
        }

            .footerBar .footerBar__companyBox .footerBar__companyText {
                margin: 0 8px;
            }

                .footerBar .footerBar__companyBox .footerBar__companyText .footerBar__companyImg {
                    height: 16px;
                }

            .footerBar .footerBar__companyBox .footerBar__companyWave {
                height: 12px;
                position: absolute;
            }
}
