body {
    background: #eee;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

/* banner */
.banner{
    height:950px;
    width: 100%;
    background-image:url(../images/classic/banner.png);
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-size: cover; 
}

.page-title{
    position: relative;
    max-width: 100px;
    top:60%;
    left: 10%;
}

.bannerText{
    position: relative;
    width: 670px;
    right: 10px;
    top: 20px;
    font-size: 35px;
}


.text a:hover{
    color: red;
    -webkit-transition: all 0.4s ease-out ;
    transition: all 0.4s ease-out ;
}

.wrap1{
    width: 100%;
    background-color: rgb(242, 242, 242);
    position: relative;
}
.wrap1 .pic{
    width: 70%;
    height: 100%;
}

.wrap1 .pic img{
    width: 100%;
    vertical-align: bottom;
}

.wrap1 .text{
    width: 35%;
    background-color: rgb(223, 223, 223);
    position: absolute;
    top: 40%;
    left: 65%;
    padding: 5% 0 5% 10% ;
}

.wrap1 .text p{
    width: 70%;
    padding-bottom: 5px;
    border-bottom: 3px solid red;
    font-size: 35px;
}

.wrap1 .text a{
    display: block;
    margin-top: 10px;
    text-decoration: underline;
    width: 70px;
}

.wrap2{
    width: 100%;
    background-color: rgb(223, 223, 223);
    position: relative;
}

.wrap2 .pic{
    width: 70%;
    margin-left: 30%;
    height: 100%;
}

.wrap2 .pic img{
    width: 100%;
    vertical-align: bottom;
}

.wrap2 .text{
    width: 35%;
    background-color: rgb(242, 242, 242);
    position: absolute;
    top: 45%;
    padding: 5% 10% 5% 0 ;
    text-align: right;
}

.wrap2 .text p{
    width: 70%;
    padding-bottom: 5px;
    border-bottom: 3px solid red;
    font-size: 35px;
    margin-bottom: 10px;
    float: right;
}

.wrap2 .text a{
    display: block;
    text-decoration: underline;
    clear: both;
}


/*解析度在1366像素下的樣式*/
@media screen and (max-width: 1366px) {
    .banner{
        background-position: 50% 40%;
    }

    .page-title img{
        width: 200px;
        padding: 0 5%;
    }

    .bannerText{
        width: 600px;
        /* right: 500px; */
        font-size: 30px;
    }
    .wrap1 .text p, .wrap2 .text p{
        font-size: 27px;
    }
}


/*解析度在1024像素下的樣式*/
@media screen and (max-width: 1024px) {
    .banner{
        height:800px;
    }

    .page-title img{
        width: 200px;
        padding: 0 5%;
    }

    .wrap1 .text, .wrap2 .text{
        top: 35%;
    }

    .wrap1 .text p, .wrap2 .text p{
        font-size: 20px;
    }
}

/*解析度在768像素下的樣式*/
@media screen and (max-width: 768px) {
    .banner{
        height:50vh;
        background-attachment: local;
        margin-bottom: 270px;
        background-position: 100% 40%;
        
    }

    .page-title{
        top:115%;
        left: 10%;
    }

    .page-title img{
        width: 130px;
        padding: 0 5%;
    }
    
    .bannerText{
        max-width: 400px;
        font-size: 20px;
        right: 10px;
        top: 20px;
    }

    .wrap1 .pic{
        width: 100%;
    }

    .wrap1 .text{
        position: relative;
        width: 50%;
        left: 0;
        top: 0;
        margin: auto;
        padding: 10% 0;
        background-color: transparent;
    }

    .wrap1 .text p{
        text-align: center;
        margin: auto;
        font-size: 25px;
        width: 100%;
    }

    .wrap1 .text a{
        text-align: center;
        margin: 15px auto 0;
    }

    .wrap2 .pic{
        width: 100%;
        margin-left: 0;
    }

    .wrap2 .text{
        position: relative;
        width: 50%;
        left: 0;
        top: 0;
        margin: auto;
        padding: 10% 0;
        background-color: transparent;
    }

    .wrap2 .text p{
        text-align: center;
        margin: auto;
        float: none;
        font-size: 25px;
        width: 100%;
    }

    .wrap2 .text a{
        text-align: center;
        margin: 15px auto 0;
    }
    
}


/*解析度在580像素下的樣式*/
@media screen and (max-width: 580px) {
    .page-title img{
        padding: 0 5%;
    }

    .bannerText{
        max-width: 350px;
        right: 0px;
        top:25px;
    }

    .wrap1 .text, .wrap2 .text{
        top: 30%;
    }
    
}


/*解析度在414像素下的樣式*/
@media screen and (max-width: 414px) {

    .page-title img{
        width: 110px;
        padding: 0 5%;
        margin-bottom: 20px;
    }

    .bannerText{
        right: 7px;
        top:0px;
        font-size: 18px;
        max-width: 300px;
    }

    .wrap1 .text p, .wrap2 .text p{
        font-size: 20px;
    }

}

/*解析度在320像素下的樣式*/
@media screen and (max-width: 320px) {
    
    .bannerText{
        font-size: 15px;
        /* top: 10px; */
        right: 0px;
        max-width: 250px;
    }

    .wrap1 .text, .wrap2 .text{
        top: 20%;
    }
    
    .wrap1 .text p, .wrap2 .text p{
        font-size: 18px;
    }
}