﻿.index-about-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding: 85px 0;
    overflow: hidden;
}
#index_about{
    position: absolute;
    top: -50px;
}
.index-about-en-box{
    position: absolute;
    top: calc(50% - 300px);
    left: 0;
}
.index-about-en-box h2{
    font-family: 'Cinzel';
    font-size: 160px;
    line-height: 94px;
    letter-spacing: 0.06em;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    opacity: 0.05;
}
.index-about-sImg-box{
    width: 600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    text-align: center;
    margin-bottom: 100px;
    /* animation: about_sImg 20s linear 0s infinite both; */
}
.index-about-sImg-box img{
    animation: about_sImg 20s linear 0s infinite both;
}
@keyframes about_sImg {
    0%{
        transform: rotateZ(0);
    }
    to {
        transform: rotateZ(360deg);
    }
}
.index-about-all-box{
    width: calc(1200px + (100vw - 1200px) / 2);
    max-width: 100%;
    margin-left: auto;
    display: block;
    font-size: 0;
    position: relative;
}
.index-about-title-box{
    display: block;
    box-sizing: border-box;
    padding-left: 180px;
    margin-bottom: 35px;
}
.index-about-title-box h2{
    font-size: 38px;
    letter-spacing: 0.06em;
    line-height: 1;
    color: #000;
    font-family: "Noto Sans TC";
}
.index-about-title-box h2::first-letter{
    color: #df222a;
}
.index-about-text-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 35px 0;
    padding-left: 180px;
    background-color: #fafafa;
}
.index-about-text-box p{
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 36px;
    color: #666;
    font-weight: 300;
    font-family: "Noto Sans TC";
}
.index-about-bImg-box{
    width: 220px;
    position: absolute;
    bottom: 0;
    left: -110px;
}


@media only screen and (max-width: 1600px){
    .index-about-all-box{
        width: calc(1000px + (100vw - 1000px) / 2);
    }
}
@media only screen and (max-width: 1400px){
    .index-about-all-box{
        width: calc(800px + (100vw - 800px) / 2);
    }
}
@media only screen and (max-width: 1280px){
    .index-about-sImg-box{
        margin-bottom: 60px;
    }
    .index-about-bImg-box{
        width: 170px;
        left: -85px;
    }
    .index-about-title-box,
    .index-about-text-box{
        padding-left: 100px;
        padding-right: 20px;
    }
}
@media only screen and (max-width: 1200px){
    .index-about-sImg-box{
        width: 300px;
    }
    .index-about-all-box{
        width: calc(600px + (100vw - 600px) / 2);
    }
}
@media only screen and (max-width: 1000px){
    .index-about-box{
        padding: 60px 0;
    }
    .index-about-en-box{
        display: none;
    }
    .index-about-sImg-box{
        margin-bottom: 40px;
    }
    .index-about-all-box{
        width: calc(750px - 170px);
        margin: 0 auto;
    }
    .index-about-bImg-box{
        width: 130px;
        left: -65px;
    }
    .index-about-text-box{
        padding: 25px 0;
        padding-left: 80px;
        padding-right: 20px;
    }
    .index-about-title-box{
        margin-bottom: 25px;
        padding-left: 80px;
    }
    .index-about-title-box h2{
        font-size: 28px;
    }
}
@media only screen and (max-width: 750px){
    .index-about-box{
        padding: 40px 0;
    }
    .index-about-sImg-box{
        display: none;
    }
    .index-about-all-box{
        width: calc(550px - 170px);
        margin: 0 auto;
    }
    .index-about-bImg-box{
        width: 100px;
        left: -50px;
    }
    .index-about-text-box{
        padding: 15px 0;
        padding-left: 70px;
        padding-right: 20px;
    }
    .index-about-title-box{
        margin-bottom: 15px;
        padding-left: 70px;
    }
}
@media only screen and (max-width: 550px){
    .index-about-box{
        padding: 20px 0;
    }
    .index-about-sImg-box{
        display: none;
    }
    .index-about-all-box{
        width: 95vw;
        margin: 0 auto;
    }
    .index-about-bImg-box{
        display: none;
    }
    .index-about-text-box{
        padding: 10px;
        min-height: initial;
    }
    .index-about-title-box{
        margin-bottom: 10px;
        padding-left:10px;
    }
    .index-about-title-box h2{
        font-size: 18px;
    }
    .index-about-text-box p{
        font-size: 14px;
        line-height: 26px;
    }
}



@media only screen and (min-width: 1001px){
    .index-about-en-box,
    .index-about-sImg-box,
    .index-about-title-box h2,
    .index-about-text-box,
    .index-about-bImg-box{
        opacity: 0;
    }
    .index-about-box.anima .index-about-en-box{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .index-about-box.anima .index-about-sImg-box{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .index-about-box.anima .index-about-title-box h2{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-about-box.anima .index-about-text-box{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-about-box.anima .index-about-bImg-box{
        animation: fade 1s ease .5s 1 both;
    }
}