﻿.index-about-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    z-index: 3;
}
.index-about{
    display: block;
    width: 1560px;
    height: 100%;
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}
.index-about-left{
    width: 50%;
    height: 100%;
    padding-right: 8px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    margin: 130px 0;
}
.index-about-title{
    font-size: 28px;
    font-weight: bold;
    transform: skewX(-10deg);
    letter-spacing: 5px;
    color: #333;
}
.index-about-text{
    width: 100%;
    display: block;
    margin-top: 30px;
    margin-bottom: 35px;
}
.index-about-text p{
    display: block;
    font-size: 16px;
    color: #555;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 2.2;
    font-style: italic;
}
.index-about-more-box{
    width: 180px;
    display: block;
    box-sizing: border-box;
    padding: 8px 0;
    border-bottom: 1px solid #d1d1d1;
}
.index-about-more{
    width: calc(100% - 14px);
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
    letter-spacing: 4px;
    transition: all .3s linear; 
}
.index-about-more-arrow{
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
    font-weight: lighter;
    transition: all .3s linear; 
}
.index-about-img-box{
    width: 50%;
    height: 100%;
    display: inline-flex;
    vertical-align: middle;
    position: relative;
    align-items:center;
}
.index-about-img{
    position: absolute;
    width: 900px;
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 2;
}

/*----------hover----------*/
.index-about-more-box:hover .index-about-more{
    color: #61942d;
}
.index-about-more-box:hover .index-about-more-arrow{
    color: #61942d;
    animation: arrow_rtol .8s ease infinite alternate;
}

@keyframes arrow_rtol {
    0%{
        transform: translateX(0);
    }
    to {
        transform: translateX(5px);
    }
}


@media only screen and (max-width: 1800px){
    .index-about-img{
        width: 780px;
        height: 520px;
    }
}
@media only screen and (max-width: 1560px){
    .index-about{
        width: 1360px;
    }
    .index-about-img{
        width: 680px;
        height: 453.333px;
    }
    .index-about-text{
        box-sizing: border-box;
        padding-right: 10px;
    }
}
@media only screen and (max-width: 1360px){
    .index-about{
        width: 1200px;
    }
    .index-about-img{
        width: 600px;
        height: 400px;
    }
}
@media only screen and (max-width: 1200px){
    .index-about{
        width: 1000px;
    }
    .index-about-img{
        width: 500px;
        height: 333.3333px;
    }
}
@media only screen and (max-width: 1000px){
    .index-about{
        width: 750px;
    }
    .index-about-img-box{
        display: none;
    }
    .index-about-left{
        width: 100%;
        margin: 50px 0;
    }
}
@media only screen and (max-width: 750px){
    .index-about{
        width: 550px;
    }
}
@media only screen and (max-width: 550px){
    .index-about{
        width: 400px;
    }
    .index-about-title{
        font-size: 22px;
    }
    .index-about-text p{
        font-size: 14px;
    }
    .index-about-more-box{
        padding: 5px 0;
        width: 130px;
    }
    .index-about-text{
        padding: 0;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    .index-about-left{
        margin-top: 20px;
        margin-bottom: 30px;
    }
}
@media only screen and (max-width: 400px){
    .index-about{
        width: 300px;
    }
}

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

@keyframes animation_rtol_skewX {
    0%{
        transform: translateX(50px) skewX(-10deg);
    }
    to {
        transform: translateX(0px) skewX(-10deg);
        opacity: 1;
    }
}
@keyframes animation_ltor_skewX {
    0%{
        transform: translateX(-50px) skewX(-10deg);
    }
    to {
        transform: translateX(0px) skewX(-10deg);
        opacity: 1;
    }
}
@keyframes animation_ttob_skewX {
    0%{
        transform: translateY(-50px) skewX(-10deg);
    }
    to {
        transform: translateX(0px) skewX(-10deg);
        opacity: 1;
    }
}
@keyframes animation_btot_skewX {
    0%{
        transform: translateY(50px) skewX(-10deg);
    }
    to {
        transform: translateX(0px) skewX(-10deg);
        opacity: 1;
    }
}
@media only screen and (min-width: 1001px){
    .index-about-title,
    .index-about-more-box,
    .index-about-text,
    .index-about-img-box{
        opacity: 0;
    }
    .index-about-title.active{
        animation: animation_ltor_skewX 1s ease both;
    }
    .index-about-more-box.active{
        animation: animation_ltor 1s ease both;
    }
    .index-about-text.active{
        animation: animation_fade 1s ease both;
    }
    .index-about-img-box.active{
        animation: animation_rtol 1s ease both;
    }
}