﻿.about-page-box{
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    padding-top: 200px;
    padding-bottom: 50px;
}
.about-page-top-img-box{
    width: 1200px;
    max-width: 100%;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.about-page-story-box{
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}
.about-page-story{
    width: 100%;
    height: 100%;
    position: relative;
    top: -145px;
    left: 0;
    background-color: #fff;
    padding: 50px 45px;
    box-sizing: border-box;
}
.about-page-story-title-c-box{
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
.about-page-story-title-h2{
    display: inline-block;
    vertical-align: middle;
    font-size: 34px;
    font-weight: bold;
    color: #d0011b;
    transform: skewX(-10deg);
    position: relative;
}
.about-page-story-edit-box{
    font-size: 18px;
    min-height: 600px;
    color: #555;
    font-weight: lighter;
    margin-top: 40px;
    line-height: 2;
}
.about-page-story-back-box{
    margin-top: 50px;
    width: 100%;
    text-align: center;
}
.about-page-story-back{
    width: 260px;
    height: 60px;
    font-size: 26px;
    font-family: "comfortaa";
    font-weight: lighter;
    display: inline-block;
    color: #888;
    background-color: #fff;
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 10px 40px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all .2s linear;
}
.about-page-story-back:hover{
    color: #fff;
    background-color:#d0011b;
}
@media only screen and (max-width: 1200px){
    .about-page-top-img-box{
        width: 1000px;
    }
    .about-page-story-box{
        width: 800px;
    }
}
@media only screen and (max-width: 1000px){
    .about-page-box{
        padding-top: 60px;
    }
    .about-page-top-img-box{
        width: 800px;
        height: 500px;
    }
    .about-page-story-box{
        width: 700px;
    }
}
@media only screen and (max-width: 800px){
    .about-page-top-img-box{
       
        height: 400px;
    }
    .about-page-story-box{
        width: 90%;
    }
}
@media only screen and (max-width: 550px){
    .about-page-story-box{
        
    }
    .about-page-story-title-h2{
        font-size: 24px;
    }
    .about-page-story-edit-box{
        margin-top: 30px;
        font-size: 14px;
    }
    .about-page-story-back{
        width: 150px;
        height: 40px;
        padding: 5px 0;
        text-align: center;
        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-page-top-img-box{
        opacity: 0;
        animation: topenter 1s linear  both;
    }
    .about-page-story{
        opacity: 0;
        animation: upfedenter 1s linear  both;
    }
}

@media only screen and (max-width: 550px){
    .about-page-story{
        padding: 15px 10px;
    }
    .about-page-story-edit-box{
        min-height: inherit;
    }
    .about-page-story{
        padding: 15px 10px;
        top: -90px;
    }
    .about-page-box{
        padding-bottom: 0;
    }
}