﻿@charset "utf-8";

/* CSS Document */
.information-image {
    height: 400px;
    background-image: url(/assets/images/qa-bg.png);
    background-color: #1e88e5;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    margin-top: 0px;
    text-align: center;
    position: relative;
}

    .information-image::after {
        position: absolute;
        content: '';
        display: block;
        width: 350px;
        height: 350px;
        background-image: url(/assets/images/qa-person.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        left: calc(100% - 500px);
        top: calc(100% - 350px);
    }

.title {
    color: #385eb8;
    padding-top: 150px;
    margin-left: 10%;
    text-align: left;
}

.information-image h1 {
    font-size: 2.3em;
    color: #385eb8;
    text-align: left;
}

.information-image h2 {
    margin-top: 20px;
    font-size: 1.3em;
}

.online-shopping {
    padding: 110px 0;
}

.online-item {
    display: none;
}

/*banner end*/
.qa-wrapper {
    margin: 50px auto;
}

.pointer {
    cursor: pointer;
}

.top-icon {
    margin-top: 30px;
}

    .top-icon ul {
        text-align: justify;
        position: relative;
    }

    .top-icon li {
        display: inline-block;
        vertical-align: top;
        text-align: center;
        width: 15%;
    }

        .top-icon li:hover {
            transform: scale(1.1);
            transition: ease 0.3s;
        }

    .top-icon ul:after {
        content: '';
        display: inline-block;
        width: 100%;
    }

.spot-icon {
    display: block;
    width: 100%;
    height: 90px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 25px;
}

.icon001 {
    background-image: url(/assets/images/qa-top-001.png);
}

.icon002 {
    background-image: url(/assets/images/qa-top-002.png);
}

.icon003 {
    background-image: url(/assets/images/qa-top-003.png);
}

.icon004 {
    background-image: url(/assets/images/qa-top-004.png);
}

.icon005 {
    background-image: url(/assets/images/house-index-green.png);
}
.icon006 {
    background-image: url(/assets/images/qa-top-006.png);
}

.top-icon .product-title {
    font-size: 18px;
    line-height: 1.2;
    color: #2d2d2d;
    text-align: center;
    margin-bottom: 15px;
}

/*switch*/
.qa-choose {
    margin: 50px auto;
}

.transition {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#switch {
    min-height: 67px;
    font-size: 0;
    background-color: #fff;
    border: solid 1px #bfbfbf;
    color: #949494;
    padding: 5px;
    border-radius: 40px;
}

    #switch .choice {
        font-size: 1.2rem;
        position: relative;
        padding: 5px;
        width: 50%;
        text-align: center;
        display: inline-block;
        cursor: pointer;
        -webkit-transition: all 0.2s ease;
        -moz-transition: all 0.2s ease;
        -ms-transition: all 0.2s ease;
        -o-transition: all 0.2s ease;
        transition: all 0.2s ease;
        vertical-align: middle;
    }

    #switch span {
        display: inline-block;
        width: 45px;
        height: 45px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        vertical-align: middle;
        margin-right: 10px;
    }

        #switch span.domestic {
            background-image: url(/assets/images/product-travel-domestic.png);
        }

        #switch span.foreign {
            background-image: url(/assets/images/product-travel-foreign.png);
        }
        #switch span.ins {
            background-image: url(/assets/images/product-motorlignt-ins.png);
        }

        #switch span.claims {
            background-image: url(/assets/images/product-motorlignt-claim.png);
        }

    #switch .choice.on {
        color: #2d2d2d;
        font-weight: 700;
        background-color: #e2e2e2;
        border-radius: 40px;
    }

.qa-list.hide-qa {
    display: none;
}


/*switch end*/
.qa-list-wrapper {
    font-size: 1.2em;
    line-height: 30px;
    padding: 20px 20px 20px 0;
    border-bottom: solid 1px #bfbfbf;
    position: relative;
    cursor: pointer;
}

.qa-list .qa-list-wrapper:last-child {
    border: none;
}

.qa-list-wrapper .click-icon {
    position: absolute;
    top: 20px;
    left: calc(100% - 30px);
    color: #5ca7ff;
    font-size: 1.5em;
}

.qa-list-wrapper p {
    margin-bottom: 10px;
}

.qa-list-wrapper .qa-list-text,
.qa-list-wrapper .qa-list-title {
    padding-left: 40px;
    position: relative;
}

.qa-list-wrapper .icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    text-align: center;
    color: #fff;
    line-height: 30px;
    position: absolute;
    left: 0;
    top: 1px;
}

.blue-text {
    background-color: #1e88e5;
}

.pink-text {
    background-color: #ff8a7a;
}

.qa-list-wrapper .icon.pink-text {
    font-weight: 700;
}

.qa-list-text {
    display: none;
}

.qa-list-wrapper:first-child .qa-list-text {
    display: block;
}

.qa-bottom-block {
    display: none;
}

.show-qa-block {
    display: block;
}

.key-word-search .input-group {
    width: 30%;
    margin: 0 0 0 auto;
}

    .key-word-search .input-group select {
        margin-right: 10px;
        border-radius: 35px;
        width: 45%;
        border: 1px solid #ced4da;
    }

.key-word-search {
    margin-bottom: 50px;
}

    .key-word-search .input-group input {
        border-radius: 35px 0 0 35px !important;
    }

    .key-word-search .btn {
        border-radius: 0 35px 35px 0;
    }

.qa-table {
    margin-top: 20px;
}

    .qa-table .table .thead-dark th {
        background-color: #ff8a7a;
        border: solid 1px #fff;
    }

    .qa-table .table td {
        border: solid 1px #ff8a7a;
    }

/*qa css*/
.house-tab ul {
    margin-bottom: 30px;
    text-align: justify;
    display: block;
    border-bottom: none;
    margin-top: 30px;
}

.qa-nav-item {
    width: 17%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    font-size: 17px;
}

.house-tab ul:after {
    content: '';
    display: inline-block;
    width: 100%;
}

.qa-nav-item span {
    font-size: 20px;
    padding: 10px 5px;
    border: solid 1px #1e88e5;
    color: #1e88e5;
    border-radius: 10px;
    width: 100%;
    display: block;
}

    .qa-nav-item span.active {
        background-color: #1e88e5;
        color: #fff;
        position: relative;
    }

        .qa-nav-item span.active:after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 12px 11px 0 11px;
            border-color: #1e88e5 transparent transparent transparent;
            position: absolute;
            bottom: -12px;
            left: calc(50% - 11px);
        }






@media (min-width: 1380px) {
    .container {
        max-width: 1450px;
    }
}

@media(max-width:1200px) {
    .information-image::after {
        width: 280px;
        height: 280px;
        left: calc(100% - 330px);
    }
}

/*ipad & smartphone*/
@media(max-width:991px) {
    .information-image {
        margin-top: 0;
    }

    .online-item {
        display: block;
    }

    .information-image {
        background-size: cover;
        background-position: left;
    }

    .title {
        color: #385eb8;
        padding-top: 120px;
        margin-left: 5%;
        text-align: left;
    }

    .information-image::after {
        width: 250px;
        height: 250px;
        left: calc(100% - 300px);
        top: calc(100% - 250px);
    }

    .qa-list-wrapper .click-icon {
        position: absolute;
        top: 25px;
        left: calc(100% - 25px);
        color: #5ca7ff;
        font-size: 1.2em;
    }
}

/*under ipad*/
@media(max-width:767px) {
    .information-image::after {
        width: 250px;
        height: 250px;
        left: calc(100% - 300px);
        top: calc(100% - 250px);
    }

    .information-image h1 {
        font-size: 1.7em;
    }

    .information-image h2 {
        font-size: 1.2em;
        line-height: 30px;
    }

    .title {
        padding-top: 60px;
    }

    .information-image::after {
        width: 200px;
        height: 200px;
        left: calc(100% - 260px);
        top: calc(100% - 220px);
    }

    .qa-wrapper,
    .qa-choose {
        margin: 20px 0;
    }

    .top-icon {
        margin-top: 0;
    }

        .top-icon li {
            display: block;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            padding: 20px 10px;
            border-radius: 10px;
            margin-bottom: 20px;
            width: 100%;
        }

    .spot-icon {
        display: inline-block;
        width: 50px;
        height: 50px;
        margin-right: 10px;
        vertical-align: middle;
        margin-bottom: 0;
    }

    .top-icon .product-title {
        display: inline-block;
        width: calc(100% - 100px);
        text-align: left;
        vertical-align: middle;
        text-decoration: none;
        margin-bottom: 0;
    }

    .qa-nav-item {
        width: 22%;
    }

        .qa-nav-item span {
            font-size: 16px;
            padding: 10px 0;
        }
}

@media(max-width:480px) {
    .top-icon li:hover {
        transform: scale(1);
    }

    #switch {
        border: none;
        border-bottom: solid 2px #bfbfbf;
        /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); */
        border-radius: 0;
    }

        #switch span {
            display: block;
            margin: 0 auto 10px;
            filter: grayscale(100%);
        }

        #switch .choice.on span {
            filter: grayscale(0%);
        }

        #switch .choice.on {
            background-color: transparent;
            border-radius: 0;
            position: relative;
        }

            #switch .choice.on:before {
                content: '';
                display: block;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 15px 15px 0 15px;
                border-color: #fff transparent transparent transparent;
                position: absolute;
                top: calc(100% + 4px);
                left: calc(50% - 15px);
                z-index: 2
            }

            #switch .choice.on:after {
                content: '';
                display: block;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 17px 17px 0 17px;
                border-color: #bfbfbf transparent transparent transparent;
                position: absolute;
                top: calc(100% + 6px);
                left: calc(50% - 17px);
                z-index: 1;
            }

    .qa-table .table .thead-dark {
        display: none;
    }

    .qa-table .table td {
        display: block;
        border-bottom: none;
    }

        .qa-table .table td:last-child {
            border-bottom: solid 1px #ff8a7a;
        }

        .qa-table .table td::before {
            display: block;
            color: #ff8a7a;
            font-weight: 700;
        }

    td.xxl::before {
        content: '大型重型電動機車:';
    }

    td.xl::before {
        content: '普通重型電動機車:';
    }

    td.m::before {
        content: '普通輕型電動機車:';
    }

    td.sm::before {
        content: '小型輕型電動機車: ';
    }


    .key-word-search .input-group {
        width: 100%;

    }
}
