﻿.faq-info-box{
    display:block; 
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
}
.faq-info{
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 0;
    z-index: 5;
    position: relative;
}
.faq-info-title-box{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.faq-info-title-ch{
    font-size: 24px;
    font-family: 'noto sans tc';
    font-weight: 700;
    color: #8bb639;
    display: block;
    vertical-align: bottom;
    line-height: 1;
    letter-spacing: 1px;
}
.faq-info-title-en{
    font-size: 16px;
    line-height: 2;
    font-family: 'roboto';
    font-weight: 100;
    color: #d1d1d1;
    display: block;
    letter-spacing: 4px;
}
.faq-info-qa-box{
    position: relative;
    padding: 80px 0;
}
.faq-info-qa{
    margin-bottom: 80px;
}
.faq-info-q-box{
    position: relative;
    cursor: pointer;
}
.faq-info-q-text{
    width: 100%;
    display: block;
    position: relative;
    padding: 7.5px 40px;
    box-sizing: border-box;
    transition: all .2s linear;
}
.faq-info-q-text-span{
    font-size: 16px;
    color: #333;
    letter-spacing: 2px;
    transition: all .2s linear;
}
.faq-info-q{
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 1.4;
    box-sizing: border-box;
    padding-right: 3px;
    background-color: #8bb639;
    border-radius: 50%;
    text-align: center;
    color: #f5f5f5;
    font-family: "roboto";
    font-weight: 700;
    font-style: italic;
    position: absolute;
    left: -20px;
    top: 0;
    z-index: 1;
}
.faq-info-q-text-span:after{
    content: '\f0da';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    font-size: 20px;
    color: #888;
    position: absolute;
    top: 0;
    right: 20px;
    line-height: 40px;
    transition: all .2s linear;
}
.faq-info-q-text.active{
    background-color: #8bb639;
}
.faq-info-q-text-span.active{
    color: #fff;
}
.faq-info-q-text-span.active:after{
    color: #fff;
    transform: rotateZ(90deg);
}
.faq-info-a-box{
    position: relative;
    z-index: 1;
    background-color: #f5f5f5;
    padding-bottom: 5px;
}
.faq-info-a-text{
    width: 100%;
    min-height: 280px;
    display: block;
    position: relative;
    padding: 40px;
    padding-bottom: 20px;
    box-sizing: border-box;
    background-color: #f5f5f5;
}
.faq-info-a-edit{
    font-size: 14px;
    color: #555;
    letter-spacing: 2px;
    line-height: 1.6;
}
.faq-info-a{
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 1.4;
    box-sizing: border-box;
    padding-right: 3px;
    background-color: #f5f5f5;
    border-radius: 50%;
    text-align: center;
    color: #8bb639;
    font-family: "roboto";
    font-weight: 700;
    font-style: italic;
    position: absolute;
    left: -20px;
    top: 20px;
    z-index: 1;
    transform: translateX(20px);
    transition: all .3s linear;
}
.faq-info-a.active{
    transition: all .3s linear .3s;
    transform: translateX(0px);
}
.faq-info-qa-line{
    width: 1px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ccc;
}

.faq-info-a-download-box{
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    padding: 0 5px;
}
.faq-info-a-download{
    width: calc((100% - 15px) / 4 );
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-right: 5px;
    text-align: left;
}
.faq-info-a-download:last-child{
    margin-right: 0;    
}
.faq-info-a-download p{
    width: 70px;
    font-size: 12px;
    color: #fff;
    box-sizing: border-box;
    padding: 0 5px;
    border: 1px solid #333;
    border-left: none;
    background-color: #333;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: top;
    line-height: 24px;
}
.faq-info-a-download p>i{
    margin-right: 2px;
}
.faq-info-a-download span{
    width: calc(100% - 70px);
    font-size: 12px;
    color: #555;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #888;
    box-sizing: border-box;
    padding: 0 5px;
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
}
.download-pdf p{
    border: 1px solid #da1418;
    background-color: #da1418;
}
.download-word p{
    border: 1px solid #2b579a;
    background-color: #2b579a;
}
.download-excel p{
    border: 1px solid #217346;
    background-color: #217346;
}
.download-powerpoint p{
    border: 1px solid #b7472a;
    background-color: #b7472a;
}




/*<-------hover------->*/
.faq-info-q-box:hover .faq-info-q-text{
    background-color: #8bb639;
}
.faq-info-q-box:hover .faq-info-q-text-span{
    color: #fff;
}
.faq-info-q-box:hover .faq-info-q-text-span:after{
    color: #fff;
    transform: rotateZ(90deg);
}


@media only screen and (max-width: 1000px){
    .faq-info{
        width: 93%;
    }
}
@media only screen and (max-width: 800px){
    .faq-info-q-text-span{
        font-size: 14px;
    }
    .faq-info-a-edit{
        font-size: 12px;
    }
    .faq-info-q,
    .faq-info-a{
        width: 36px;
        height: 36px;
        font-size: 26px;
        padding-right: 0;
        left: -18px;
    }
    .faq-info-q-text-span:after{
        line-height: 40px;
    }
    .faq-info-title-ch{
        font-size: 20px;
    }
    .faq-info-title-en{
        font-size: 14px;
    }
    .faq-info-title-box{
        padding: 20px 0; 
    }
    .faq-info-box{
        padding-top: 0;
        padding-bottom: 30px;
    }
}
@media only screen and (max-width: 600px){
    .faq-info-q-text{
        padding: 4px 40px;
    }

    .faq-info-q-text-span:after{
        line-height: 33px;
    }
    .faq-info-q,
    .faq-info-a{
        width: 26px;
        height: 26px;
        font-size: 20px;
        padding-right: 1px;
        left: -13px;
    }
    .faq-info-a-download:nth-child(n){
        width: calc((100% - 5px) / 2 );
        margin-right: 5px;
    }
    .faq-info-a-download:nth-child(even){
        margin-right: 0;
    }
    .faq-info-a-download:nth-child(n + 3){
        margin-top: 5px;
    }
}
@media only screen and (max-width: 400px){
    .faq-info-q-text{
        padding: 2px 40px;
    }
    .faq-info-q-text-span{
        font-size: 12px;
    }

    .faq-info-q-text-span:after{
        line-height: 33px;
    }
    .faq-info-q,
    .faq-info-a{
        width: 23px;
        height: 23px;
        font-size: 18px;
        padding-right: 1px;
        left: -11px;
    }
    .faq-info-q-text-span:after{
        line-height: 26px;
        font-size: 14px;
    }
    .faq-info-a-download:nth-child(n){
        width: 100%;
        margin-right: 0;
        margin-top: 5px;
    }
}
/*animation*/
/*<-------------動畫------------->*/
@keyframes faq_fedfromtop {
    0%{
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes faq_fedfrombottom {
    0%{
        transform: translateY(150px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes faq_fed {
    0%{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes faq_line {
    0%{
        height: 0;
    }
    to {
        height: 100%;
    }
}
@media only screen and (min-width: 1001px){
    .faq-info-title-ch{
        animation: faq_fedfromtop 1.5s ease both;
    }
    .faq-info-title-en{
        animation: faq_fed 1s ease 1.5s both;
    }
    .faq-info-qa{
        animation: faq_fedfrombottom 1.5s ease both;
    }
    .faq-info-qa-line{
        animation: faq_line 1.5s ease 1.5s both;
    }
}