﻿.about-box{
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    padding-top: 60px;
    padding-bottom: 50px;
    overflow: hidden;
}
.about-banner-bc-box{
    width: 100%;
  
    display: block;
    margin-top: 20px;
    position: relative;
}
.about-banner-bc{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background-image: url(../img/front/about-banner-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 23%;
}
.about-banner-bc-mash{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.3;
}
#about .kaka-shop-page-title{
    position: absolute;
    top: 45%;
    width: 100%;
    color: #fff;
    text-shadow: black 1px 1px 1px;
}
#about .kaka-shop-page-title-x{
    color: #fff;
}
.about-info-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 200px;
    font-size: 0;
    position: relative;
}
.about-info{
    width: 800px;
    max-width: 100%;
    height: 600px;
    display: block;
    padding: 0 20px;
    padding-top: 120px;
    padding-right: 0;
    box-sizing: border-box;
    position: relative;
    background-color: #fff;
    z-index: 5;
}
.about-info-img-box{
    width: 50%;
    height: 500px;
    display: block;
    background-image: url(../img/front/about-info-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-100px);
    z-index: 5;
}
.about-info-c-box{
    display: inline-block;
    vertical-align: top;
    padding-right: 10px;
    width: 25px;
    box-sizing: border-box;
    padding-top: 13px;
}
.about-info-title-box-h2{
    width: calc(100% - 25px);
    display: inline-block;
    vertical-align: top;
    font-size: 34px;
    font-weight: bold;
    color: #d0011b;
    transform: skewX(-10deg);
    position: relative;
}
.about-info-text-box-p{
    width: 560px;
    max-width: 100%;
    font-size: 18px;
    color: #555555;
    line-height: 2;
    letter-spacing: 1px;
    margin-top: 35px;
    margin-bottom: 50px;
    overflow:hidden; 
    text-overflow:ellipsis;
    display:-webkit-box; 
    -webkit-box-orient:vertical;
    -webkit-line-clamp:5; 
}
.about-info-more-box{
    width: 260px;
    max-width: 100%;
    height: 60px;
    display: block;
    background-color: #d0011b;
    text-align: center;
    padding: 10px 0;
    box-sizing: border-box;
}
.about-info-more{
    font-size: 26px;
    font-family: "comfortaa","微軟正黑體";
    font-weight: bold;
    color: #fff;
}
.about-info-more-arrows{
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
}
.about-info-bg-box{
    bottom: 18.3%;
    right: -30%;
    display: block;
    position: absolute;
    z-index: 1;
}

.about-info-box:nth-child(even) .about-info-img-box{
    width: 50%;
    height: 500px;
    display: block;
    background-image: url(../img/front/about-info2-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(200px);
    z-index: 5;
}
.about-info-box:nth-child(even){
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 250px;
    font-size: 0;
    position: relative;
    text-align: right;
}
.about-info-box:nth-child(even) .about-info{
    width: 800px;
    max-width: 100%;
    height: 600px;
    display: inline-block;
    padding: 0 20px;
    padding-top: 120px;
    padding-left: 0;
    box-sizing: border-box;
    position: relative;
    background-color: #fff;
    z-index: 5;
}
.about-info-box:nth-child(even) .about-info-img-box{
    width: 50%;
    height: 500px;
    display: block;
    background-image: url(../img/front/about-info2-img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(200px);
    z-index: 5;
}
.about-info-box .about-info-title{
    font-size: 0;
}
.about-info-box:nth-child(even) .about-info-title{
    width: 560px;
    max-width: 100%;
    display: inline-block;
    text-align: left;
}
.about-info-box:nth-child(even) .about-info-c-box{
  
    text-align: left;
}
.about-info-box:nth-child(even) .about-info-title-box-h2{
    display: inline-block;
    vertical-align: middle;
    font-size: 34px;
    font-weight: bold;
    color: #d0011b;
    transform: skewX(-10deg);
    position: relative;
    text-align: left;
}
.about-info-box:nth-child(even) .about-info-text-box{
    float: right;
}
.about-info-box:nth-child(even) .about-info-text-box-p{

    text-align: left;

}
.about-info-box:nth-child(even) .about-info-more-right-box{
    width: 560px;
    max-width: 100%;
    display: inline-block;
    text-align: left;
}
.about-info-box:nth-child(even) .about-info-more-box{
    width: 260px;
    max-width: 100%;
    height: 60px;
    background-color: #d0011b;
    text-align: center;
    padding: 10px 0;
    box-sizing: border-box;
    display: inline-block;
    clear: both;
}

.about-info-box:nth-child(even) .about-info-more-arrows{
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
}
.about-info-box:nth-child(even) .about-info-bg-box{
    bottom: inherit;
    right: inherit;
    top: 15.3%;
    left: -29.5%;
    display: block;
    position: absolute;
    z-index: 1;
}
.about-info-more-box:hover{
    background-color: #840011;
}
.about-info-box:nth-child(even) .about-info-more-box:hover{
    background-color: #840011;
}



@media only screen and (max-width: 1366px){
    .about-page-story-edit-box{
        min-height: 300px;
    }
}



@media only screen and (max-width: 1200px){
    .about-info-box,
    .about-info-box:nth-child(even){
        width: 1000px;
    }
    .about-info,
    .about-info-box:nth-child(even) .about-info{
        width: 600px;
    }
    .about-info-text-box-p,
    .about-info-box:nth-child(even) .about-info-text-box-p,
    .about-info-box:nth-child(even) .about-info-more-right-box,
    .about-info-box:nth-child(even) .about-info-title{
        width: 460px;
    }
}
@media only screen and (max-width: 1000px){
    .about-info-c-box{
        padding-top: 3px;
    }

    .about-info-title-box-h2{
        font-size: 24px;
    }
    .about-info-box,
    .about-info-box:nth-child(even){
        width: 800px;
    }
    .about-info,
    .about-info-box:nth-child(even) .about-info{
        width: 500px;
    }
    .about-info-text-box-p,
    .about-info-box:nth-child(even) .about-info-text-box-p,
    .about-info-box:nth-child(even) .about-info-more-right-box,
    .about-info-box:nth-child(even) .about-info-title{
        width: 360px;
    }
    .about-box{
        padding-top: 60px;
    }
    .about-banner-bc-box{
        margin-top: 0;
    }
}
@media only screen and (max-width: 800px){
    .about-info-box,
    .about-info-box:nth-child(even){
        width: 550px;
        margin-top: 50px;
        text-align: left;
        margin-bottom: 0;
    }
    .about-info-box:nth-child(even) .about-info-box{
        margin-bottom: 0;
    }
    .about-info,
    .about-info-box:nth-child(even) .about-info{
        width: 100%;
        height: inherit;
        padding: 40px 20px; ;
    }
    .about-info-img-box,
    .about-info-bg-box,
    .about-info-box:nth-child(even) .about-info-img-box,
    .about-info-box:nth-child(even) .about-info-bg-box{
        display: none;
    }
    .about-info-text-box-p,
    .about-info-box:nth-child(even) .about-info-text-box-p{
        width: 100%;
    }
}
@media only screen and (max-width: 550px){

    .about-info-c-box{
        padding-top: 0px;
    }
    .about-info-box,
    .about-info-box:nth-child(even){
        width: 95%;
    }
    .about-info-text-box-p{
        font-size: 16px;
    }
    .about-info,
    .about-info-box:nth-child(even) .about-info{
        padding: 20px;
    }
    .about-info-text-box-p,
    .about-info-box:nth-child(even) .about-info-text-box-p{
        text-align: justify;
        margin: 20px 0;
        margin-top: 3px;
        line-height: 1.6;
        font-size: 16px;
    }
    .about-info-title-box-h2,
    .about-info-box:nth-child(even) .about-info-title-box-h2{
        font-size: 20px;
    }
    .about-info-more-box,
    .about-info-box:nth-child(even) .about-info-more-box{
        height: 40px;
        padding: 5px 0;
    }
    .about-info-more,
    .about-info-box:nth-child(even) .about-info-more,
    .about-info-more-arrows,
    .about-info-box:nth-child(even) .about-info-more-arrows{
        font-size: 20px;
    }

}
/*<---------------------動畫------------------------>*/
@keyframes leftenter{
  0% {
    opacity: 0;
    transform:  translateX(-80px);
  }
  100% {
    opacity: 1;
  }
}
@keyframes upfedenter{
  0% {
    transform:  translateY(40px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes rightfedenter{
  0% {
    transform:  translateX(140px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes topenter{
  0% {
    transform:  translateY(-80px);
  }
  100% {
    opacity: 1;
  }
}
@media only screen and (min-width: 1001px){
   .about-info-img-box{
        opacity: 0;
    }
    .about-info{
        opacity: 0;
    }
    .about-info-img-box.active{
        animation: upfedenter 1s linear  both;
    }
    .about-info.active{
        animation: topenter 1s linear  both;
    }
    .about-info-box:nth-child(even) .about-info-img-box{
        opacity: 0;
    }
    .about-info-box:nth-child(even) .about-info{
        opacity: 0;
    }
    .about-info-box:nth-child(even) .about-info-img-box.active{
        animation: upfedenter 1s linear  both;
    }
    .about-info-box:nth-child(even) .about-info.active{
        animation: upfedenter 1s linear  both;
    }
}