﻿.about-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 110px 0;
}
.about-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 100px;
}
.about-title-box{
    text-align: center;
    margin: 140px 0;
    box-sizing: border-box;
    padding-left: 0.06em;
}
.about-title-box h2{
    font-family: "Noto Serif TC";
    font-weight: 900;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0.06em;
    color: #a72a2e;
}
.about-title-box h3{
    font-family: "Roboto";
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.06em;
    color: #000;
}
.about-info-box{
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
}
.about-info-left-box{
    width: 600px;
    margin-right: 40px;
    position: relative;
}
.about-info-left-box::before{
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    box-sizing: border-box;
    border-top: 1px solid #78161b;
    border-left: 1px solid #78161b;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s linear;
}
.about-info-left-box::after{
    content: "";
    width: 30px;
    height: 30px;
    display: block;
    box-sizing: border-box;
    border-bottom: 1px solid #78161b;
    border-right: 1px solid #78161b;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all .3s linear;
}
.about-info-right-box{
    width: 640px;
}
.about-name-box{
    font-family: "Noto Serif TC";
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    color: #78161b;
    letter-spacing: 0.06em;
}
.about-text-box{
    margin-top: 20px;
}
.about-text-box p{
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #666;
    letter-spacing: 0.06em;
    line-height: 2;
    font-size: 18px;
    margin-bottom: 40px;
}
.about-text-box p:last-child{
    margin-bottom: 0;
}
.about-info-form-box{
    font-family: "Noto Sans TC";
    transform: skewX(-10deg);
    color: #000;
    letter-spacing: 0.06em;
    line-height: 1;
    font-size: 20px;
    margin-top: 50px;
}

.about-list-box{
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
    margin-top: 160px;
}
.about-list-left-box{
    width: 600px;
    height: 340px;
    margin-left: 40px;
    position: relative;
}
.about-list-right-box{
    width: 640px;
}



@media only screen and (max-width: 1280px){
    .about-all-box{
        width: 1000px;
    }
    .about-info-right-box{
        width: 420px;
    }
    .about-info-left-box{
        width: 500px;
    }
    .about-list-right-box{
        width: 500px;
    }
    .about-list-left-box{
        width: 420px;
        height: calc((340 / 600) * 420px);
    }
}
@media only screen and (max-width: 1000px){
    .about-all-box{
        width: 750px;
        padding-bottom: 40px;
    }
    .about-title-box{
        margin: 80px 0;
    }
    .about-list-left-box{
        height: calc((340 / 600) * 325px);
    }
}
@media only screen and (max-width: 768px){
    .about-box{
        padding: 85px 0;
    }
    .about-all-box{
        width: 550px;
        padding-bottom: 0;
    }
    .about-title-box{
        margin: 40px 0;
    }
    .about-info-box{
        flex-direction: column;
    }
    .about-info-left-box{
        width: 100%;
        height: 300px;
        display: block;
        margin-right: 0;
    }
    .about-info-right-box{
        width: 100%;
        display: block;
        margin-top: 40px;
    }
    .about-list-box{
        flex-direction: column-reverse;
        margin-top: 80px;
    }
    .about-list-left-box{
        width: 100%;
        display: block;
        height: calc((340 / 600) * 550px);
        margin-left: 0;
    }
    .about-list-right-box{
        width: 100%;
        display: block;
        margin-top: 40px;
    }
    .about-title-box h2{
        font-size: 26px;
    }
    .about-title-box h3{
        font-size: 16px;
    }
}
@media only screen and (max-width: 550px){
    .about-box{
        padding-bottom: 20px;
    }
    .about-all-box{
        width: calc(100vw - 40px);
    }

    .about-title-box{
        margin: 20px 0;
    }
    .about-title-box h2{
        font-size: 20px;
    }
    .about-title-box h3{
        font-size: 14px;
        line-height: 1.6;
    }
    .about-info-left-box{
        height: 160px;
        box-sizing: border-box;
        padding: 20px 0;
    }
    .about-info-left-box.img > span{
        height: calc(100% - 40px);
    }
    .about-info-right-box{
        margin-top: 20px;
    }
    .about-name-box{
        font-size: 18px;
    }
    .about-text-box{
        margin-top: 10px;
    }
    .about-text-box p{
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .about-info-form-box{
        margin-top: 20px;
        font-size: 18px;
    }

    .about-list-box{
        margin-top: 40px;
    }
    .about-list-left-box{
        height: calc((340 / 600) * (100vw - 40px));
    }
    .about-list-right-box{
        margin-top: 20px;
    }
}



@media only screen and (min-width: 769px){
    .about-title-box h2,
    .about-title-box h3,
    .about-info-left-box,
    .about-info-right-box,
    .about-list-left-box,
    .about-list-right-box{
        opacity: 0;
    }
    .about-title-box.anima h2{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .about-title-box.anima h3{
        animation: fade 1s ease 0s 1 both;
    }
    .about-info-left-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .about-info-right-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .about-list-left-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .about-list-right-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}