﻿.index-about-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-about-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 90px;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 120px;
    padding-bottom: 80px;
}
.index-about-b-img-box{
    width: initial;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}
.index-about-b-img{
    width: 580px;
    height: 480px;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-about-l-box{
    width: calc(100% - 600px);
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    position: relative;
    z-index: 1;
}
.index-about-t-box{
    margin-bottom: 20px;
}
.index-about-t-s-img{
    width: 240px;
    height: 220px;
    display: inline-block;
    vertical-align: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-about-title{
    width: calc(100% - 260px);
    font-size: 48px;
    font-family: "Noto Sans TC";
    font-weight: 700;
    color: #000;
    display: inline-block;
    vertical-align: bottom;
    line-height: 42px;
    letter-spacing: 2px;
    margin-left: 20px;
}
.index-about-b-s-img{
    width: 300px;
    height: 240px;
    display: inline-block;
    vertical-align: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-about-text-box{
    width: calc(100% - 325px);
    display: inline-block;
    vertical-align: bottom;
    margin-left: 25px;
    position: relative;
}
.index-about-text{
    font-size: 14px;
    color: #000;
    letter-spacing: 1px;
    line-height: 2;
}
.index-about-text-t{
    margin-bottom: 10px;
}
.text-logo{
    font-weight: bold;
    font-size: 18px;
    color: #905e27;
}
.text-b{
    font-size: 18px;
    font-weight: bold;
}
.index-about-bc-box{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
}
.index-about-bc{
    width: 800px;
    max-width: 100%;
    height: 680px;
    display: inline-block;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}
.index-about-bc-img{
    position: absolute;
    top: -40px;
    right: -25px;
}
.index-about-more-box{
    position: absolute;
    bottom: -35px;;
    right: 20px;
}
.index-about-more{
    font-size: 14px;
    font-family: "Noto Sans TC";
    letter-spacing: 2px;
    color: #000;
    position: relative;
}
.index-about-more:after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
}


@media only screen and (max-width: 1300px){
    .index-about-all-box{
        width: 1200px;
    }
    .index-about-b-img{
        width: 530px;
        height: 440px;
    }
    .index-about-l-box{
        width: calc(100% - 550px);
    }
    .index-about-t-s-img{
        width: 220px;
        height: 200px;
    }
    .index-about-b-s-img{
        width: 275px;
        height: 220px;
    }
    .index-about-title{
        font-size: 44px;
    }
    .index-about-text-box{
        width: calc(100% - 300px);
    }
    .text-b{
        font-size: 16px;
    }
    .index-about-bc{
        height: 620px;
    }
}
@media only screen and (max-width: 1200px){
    .index-about-all-box{
        width: 1000px;
    }
    .index-about-b-img{
        width: 430px;
        height: 356px;
    }
    .index-about-l-box{
        width: calc(100% - 450px);
    }
    .index-about-t-s-img{
        width: 170px;
        height: 156px;
    }
    .index-about-b-s-img{
        width: 225px;
        height: 180px;
    }
    .index-about-title{
        font-size: 40px;
        margin-left: 10px;
    }
    .index-about-text-box{
        width: calc(100% - 240px);
        margin-left: 15px;
    }
    .index-about-text-t{
        margin-bottom: 5px;
    }
    .text-b{
        font-size: 14px;
    }
    .index-about-text{
        font-size: 12px;
    }
    .index-about-bc{
        height: 540px;
    }
}
@media only screen and (max-width: 1000px){
    .index-about-all-box{
        width: 750px;
        margin: 30px auto;
        padding: 0;
        background-color: #f5f5f5;
    }
    .index-about-bc-box{
        display: none;
    }
    .index-about-t-s-img,
    .index-about-b-s-img{
        display: none;
    }
    .index-about-title,
    .index-about-text-box{
        width: 100%;
        margin-left: 0;
    }
    .index-about-title{
        font-size: 36px;
    }
    .index-about-l-box{
        margin-left: 10px;
    }
    .index-about-t-box{
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 750px){
    .index-about-all-box{
        width: 550px;
    }
    .index-about-l-box,
    .index-about-b-img-box{
        margin-left: 0;
        width: 100%;
        display: block;
    }
    .index-about-b-img{
        width: 100%;
        height: 455px;
    }
    .index-about-l-box{
        box-sizing: border-box;
        padding: 15px;
    }
    .index-about-more-box{
        bottom: 15px;
    }
    .index-about-title{
        font-size: 32px;
    }
    .index-about-text div{
        display: none;
    }
}
@media only screen and (max-width: 550px){
    .index-about-all-box{
        width: 400px;
    }
    .index-about-b-img{
        height: 330px;
    }
    .index-about-more{
        font-size: 12px;
    }
    .index-about-title{
        font-size: 28px;
    }
    .text-logo{
        font-size: 16px;
    }
}
@media only screen and (max-width: 400px){
    .index-about-all-box{
        width: 300px;
    }
    .index-about-l-box{
        padding: 5px;
    }
    .index-about-title{
        font-size: 24px;
    }
    .text-logo{
        font-size: 14px;
    }
    .index-about-text{
        line-height: 1.8;
    }
    .index-about-more-box{
        bottom: 5px;
        right: 5px;
    }
}



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

@media only screen and (min-width: 1001px){
    .index-about-b-img-box,
    .index-about-t-box,
    .index-about-b-s-img,
    .index-about-text-box,
    .index-about-more,
    .index-about-bc-box{
        opacity: 0;
    }
    .index-about-b-img-box.anima,
    .index-about-more.anima{
        animation: fadeInLeft 1s ease 0s both;
    }
    .index-about-t-box.anima{
        animation: fadeInRight 1s ease 0s both;
    }
    .index-about-b-s-img.anima,
    .index-about-text-box.anima,
    .index-about-bc-box.anima{
        animation: fade 1s ease 0s both;
    }
    .index-about-bc-box.anima .index-about-bc-img{
        animation: fadeInDown 1s ease .5s both;
    }
}