﻿.about-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    margin-bottom: 40px;
}
.about-info-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 80px 0;
}
.about-info-title-box{
    display: inline-block;
    vertical-align: top;
}
.about-info-title{
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #64bcc1;
    letter-spacing: 6px;
    transform: skewX(-10deg);
}
.about-info-text-box{
    width: calc(100% - 136px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 40px;
    position: relative;
} 
.about-info-text {
    font-size: 16px;
    line-height: 2;
}
.about-info-text p{
    color: #555;
    font-weight: lighter;
    letter-spacing: 1px;
}
.about-info-line{
    display: block;
    width: 1px;
    height: 100%;
    background-color: #d1d1d1;
    position: absolute;
    left: 15px;
    top: 0;
}
.about-exp-box{
    background-color: #f5f5f5;
    position: relative;
}
.about-exp{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.about-exp-title-box{
    text-align: center;
    box-sizing: border-box;
    padding: 40px 0;
}
.about-exp-title{
    font-size: 28px;
    font-weight: bold;
    color: #61942d;
    transform: skewX(-10deg);
    letter-spacing: 6px;
}
.about-exp-info-box{
    box-sizing: border-box;
    padding-bottom: 30px;
}
.about-exp-info{
    width: 190px;
    height: 60px;
    display: inline-flex;
    vertical-align: middle;
    font-size: 14px;
    color: #333;
    background-color: #ddd;
    text-align: center; 
    flex-direction:column;
    justify-content: center;
    align-items: center;
    margin-left: 12px;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 0 10px;
    cursor: default;
    position: relative;
}
.about-exp-info:after{
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #64bcc1;
    transition: all .3s linear;
}
.about-exp-info:nth-child(6n + 1){
    margin-left: 0;
}
.about-exp-linetop{
    width: 1300px;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #61942d;
    max-width: 100%;
}
.about-exp-linebottom{
    width: 1300px;
    height: 2px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #64bcc1;
    max-width: 100%;
}


/*-----------hover----------*/
.about-exp-info:hover:after{
    width: 100%;
}





@media only screen and (max-width: 1200px){
    .about-info-box,
    .about-exp{
        width: 1000px;
    }
    .about-exp-linetop,
    .about-exp-linebottom{
        width: 80%;
    }
    .about-exp-info:nth-child(n) {
        margin-left: 12.5px;
    }
    .about-exp-info:nth-child(5n + 1) {
        margin-left: 0;
    }
}




@media only screen and (max-width: 1000px){
    .about-info-box,
    .about-exp{
        width: 800px;
    }
    .about-exp-info:nth-child(n) {
        margin-left: 13.333px;
    }
    .about-exp-info:nth-child(4n + 1) {
        margin-left: 0;
    }
    .about-info-title,
    .about-exp-title{
        font-size: 26px;
    }
    .about-info-text{
        font-size: 14px;
    }
}
@media only screen and (max-width: 800px){
    .about-info-box,
    .about-exp{
        width: 600px;
    }
    .about-info-box{
        padding: 40px 0;
    }
    .about-exp-info:nth-child(n) {
        margin-left: 15px;
    }
    .about-exp-info:nth-child(3n + 1) {
        margin-left: 0;
    }
    .about-info-title-box{
        display: block;
        margin-bottom: 30px;
    }
    .about-info-line{
        display: none;
    }
    .about-info-text-box{
        width: 100%;
        padding-left: 0;
    }
}
@media only screen and (max-width: 600px){
    .about-info-box,
    .about-exp{
        width: 400px;
    }
    .about-info-box{
        padding: 20px 0;
    }
    .about-exp-info:nth-child(n) {
        margin-left: 20px;
    }
    .about-exp-info:nth-child(2n + 1) {
        margin-left: 0;
    }
    .about-info-title-box{
        display: block;
        margin-bottom: 15px;
    }
    .about-info-line{
        display: none;
    }
    .about-info-text-box{
        width: 100%;
        padding-left: 0;
    }
    .about-info-title, .about-exp-title{
        font-size: 22px;
    }
    .about-exp-title-box{
        padding: 20px 0;
    }
    .about-info-text,
    .about-exp-info{
        font-size: 12px;
    }
}

@media only screen and (max-width: 600px){
    .about-info-box,
    .about-exp{
        width: 300px;
    }
    .about-exp-info{
        width: 147px;
        padding: 0 3px;
        margin-bottom: 6px;
    }
    .about-exp-info:nth-child(n) {
        margin-left: 6px;
    }
    .about-exp-info:nth-child(2n + 1) {
        margin-left: 0;
    }
}

/*animation*/
/*<-------------動畫------------->*/


@keyframes animation_ch_about_line {
    0%{
        width: 0;
    }
    to {
        opacity: 1;
    }
}
@media only screen and (min-width: 1001px){
    .about-info-title,
    .about-info-line,
    .about-info-text,
    .about-exp-linetop,
    .about-exp-linebottom,
    .about-exp-title,
    .about-exp-info{
        opacity: 0;
    }
    .about-info-title.active{
        animation: animation_ltor_skewX 1s ease both;
    }
    .about-info-line.active{
        animation: animation_heighttoall 1s linear both;
    }
    .about-info-text.active{
        animation: animation_rtol 1s ease both;
    }
    .about-exp-linetop.active,
    .about-exp-linebottom.active{
        animation: animation_ch_about_line 1s ease both;
    }
    .about-exp-title.active{
        animation: animation_ttob_skewX 1s ease both;
    }
    .about-exp-info.active{
        animation: animation_btot 1s ease both;
    }
}

