﻿.index-about-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-about-all-box{
    width: 1920px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding-top: 40px;
}
.index-about-info-box{
    width: 100%;
    height: 100%;
}
.index-about-info-img-box{
    width: 50%;
    height: 25vw;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}
.index-about-info-img{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-about-info-text-box{
    width: 50%;
    height: 25vw;
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 135px;
}
.index-about-info-title{
    font-size: 16px;
    font-family: "微軟正黑體";
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.index-about-info-text{
    font-size: 16px;
    color: #555;
    line-height: 2;
    letter-spacing: 1px;
}
.index-about-info-box:nth-child(even){
    display: flex;
    display: -webkit-flex;
    flex-direction:row-reverse;
}
.index-about-follow-box{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 80px 0;
}
.index-about-follow-title{
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 2px;
}
.index-about-follow-btn{
    display: inline-block;
    vertical-align: middle;
    font-size: 60px;
    margin: 0 70px;
    transition: all .3s linear;
}

@media only screen and (max-width: 1280px){
    .index-about-info-text-box{
        padding: 0 70px;
    }
    .index-about-info-title,
    .index-about-info-text{
        font-size: 14px;
    }
}
@media only screen and (max-width: 1000px){
    .index-about-info-text-box{
        padding: 35px;
        width: 100%;
        height: initial;
        display: block;
    }
    .index-about-info-img-box{
        width: 100%;
        height: calc(100vw * 0.5);
    }
    .index-about-info-box:nth-child(even){
        display: block;
    }
}
@media only screen and (max-width: 550px){
    .index-about-all-box{
        padding-top: 20px;
    }
    .index-about-info-text-box{
        padding: 15px;
    }
    .index-about-info-title,
    .index-about-info-text{
        font-size: 12px;
    }
    .index-about-follow-box{
        padding: 40px 0;
    }
    .index-about-follow-title{
        font-size: 20px;
    }
    .index-about-follow-btn{
        font-size: 30px;
        margin: 0 20px;
    }
}


/*------hover------*/
.index-about-follow-btn-fb:hover{
    color: #4267b2;
}
.index-about-follow-btn-ig:hover{
    color: #c30093;
}

/*animation*/

@media only screen and (min-width: 1001px){
    .index-about-info-img-box,
    .index-about-info-text-box{
        opacity: 0;
    }
    .index-about-info-box:nth-child(1) .index-about-info-img-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .index-about-info-box:nth-child(1) .index-about-info-text-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-about-info-box:nth-child(2) .index-about-info-img-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-about-info-box:nth-child(2) .index-about-info-text-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}
