/*Google fonts*/
/*黑體*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/*楷體*/
@import url(https://fonts.googleapis.com/earlyaccess/cwtexkai.css);
/*明體*/
@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);

*{
    font-family: "Noto Sans TC","微軟正黑體", "sans-serif";
    box-sizing: border-box;
/*    transition-duration: 0.5s;*/
}

body, html{
    width: 100%;
    margin: 0px;
    padding: 0px;
}

body{
    background-image: url(images/9789570851045_bg.jpg);
    background-repeat: repeat-y;
    background-attachment: fixed;
    background-size: 100%;
}

a{
    text-decoration: none;
    color: black;
}

a img{
    border: 0px;
}

.content{
    position: relative;
}

.header{
    height: 35px;
    background-color: #424242;
}

.header-content{
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-40%);
}

.footer{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #999;
    clear: left;
}

.footer h5{
    margin: 0px;
    letter-spacing: 4px;
    font-weight: 400;
}

img{
    border: 0px;
}

#back-to-top{
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 10;
}

map *:focus{
    outline: none;
}

.top{
    background-image: url(images/9789570851045a_01.png);
    background-repeat: no-repeat;
    background-position: center top;
    height: 640px;
}

.top .content{
/*    height: 640px;*/
}

.fb-like{
    left: 30px;
    bottom: -100px;
    z-index: 8;
}

.top-d{
    position: relative;
    top: 110px;
    margin: auto;
    display: block;
    max-width: 100%;
}

.coupon{
    position: absolute;
    right: 0;
    bottom: -100px
}

.slogan{
    padding: 50px 0;
}

.s1{
    display: table;
    margin: 0 auto;
}

.s-text{
    display: inline-block;
    text-align: center;
    padding: 0 50px;
}

.s-text h3{
    margin: 0;
    font-weight: inherit;
    color: #A7763D;
}

.s-text p:nth-of-type(2){
    background-color: #AD1F25;
    color: white;
    padding: 0 20px;
}

.rec{
    padding-bottom: 50px;
}

.rec-title{
    text-align: center;
    font-size: 0;
}

.rec1{
    background-color: #D3C7BA;
    padding: 20px;
    width: 85%;
    margin: 0 auto;
    position: relative;
    margin-bottom: 10px;
    display: table;
}

.rec1::before{
    content: "";
    display: block;
    width: 10px;
    height: 40px;
    background-color: #D87570;
    position: absolute;
    left: 0px;
    top: calc(50% - 20px);
}

.name{
    display: table-cell;
    vertical-align: middle;
    width: 20%;
    padding-left: 10px;
    padding-right: 20px;
}

.rec-text{
    display: table-cell;
    vertical-align: middle;
    width: 80%;
}

.name h3{
    margin: 0;    
}

.name h6{
    margin: 0;
    font-weight: inherit;
}

.rec-text h4{
    margin: 0;
    color: #822D2B;
}

.rec-text a{
    color: #FF451F;
}

.rec-text a:hover{
    text-decoration: underline;
}

.rec2{
    text-align: center;
    margin-top: 30px;
    padding: 0 20px;
}

.rec2 span{
    font-weight: bold;
}

.sell{
    background-image: url(images/9789570851045a_09.jpg);
    height: 700px;
    background-position: top center;
}

.book-back{
    width: 580px;
    height: 580px;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    right: 20px;
    top: 60px;
    z-index: 1;
}

.book{
    position: absolute;
    z-index: 2;
    width: 580px;
    height: 580px;
    right: 20px;
    top: 60px;
    text-align: center;
}

.book img{
    width: auto;
    height: auto;
    max-height: 80%;
}

.book span{
    padding: 5px 20px;
    margin-left: 12px;
    font-weight: bold;
    transition-duration: 0.5s;
    -moz-transition-duration: 0.5s; /* Firefox 4 */
    -webkit-transition-duration: 0.5s; /* Safari 和 Chrome */
    -o-transition-duration: 0.5s; /* Opera */
    font-weight: 400;
    background-color: #D87570;
    color: black;
}

.book span:hover{
    background-color: #822D2B;
    color: white;
}

.preface{
    padding: 50px 0;
}

.preface-text{
    width: 85%;
    background-color: #E5C77F;
    margin: 0 auto;
    padding: 12px;
}

.preface-line{
    border: solid 2px white;
    padding: 25px 35px;
}

.preface-line img{
    float: left;
    margin-right: 20px;
}

.preface-line p{
    margin-left: 83px;
    text-align: justify;
}

.preface-line a{
    color: #FF451F;
}

.preface-line a:hover{
    text-decoration: underline;
}

.read{
    padding: 50px 0 ;
}

.read-shadow{
    width: 78%;
    margin: 0 auto;
/*    height: 400px;*/
    position: relative;
    margin-bottom: 200px;
/*    box-shadow: 10px 10px rgba(183,171,156,0.4);*/
    font-size: 0;
}

.read-left, .read-right{
    float: left;
}

.read-left2, .read-right2{
    float: right;
}


.read-shadow::after{
    content: "";
    display: block;
    clear: both;
}

.r2{
    background-color: #E5C3BD;
    padding: 60px 40px;
    height: 400px;
    position: relative;
    text-align: justify;
}

.r2 a{
    background-color: #8B1F25;
    color: white;
    padding: 0 10px;
}

.more{
    display: inline-block;
    position: absolute;
    right: 40px;
}

.more2{
    display: inline-block;
    position: absolute;
    left: 40px;
}

.r2::before{
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    background-image: url(images/9789570851045a_12.png);
    position: absolute;
    top: -35px;
    left: 35px;
}

.middle-img{
    display: block;
    width: 156px;
    height: 130px;
    position: absolute;
    bottom: -70px;
    left: 35px;
}

.middle-img2{
    display: block;
    width: 156px;
    height: 130px;
    position: absolute;
    bottom: -70px;
    right: 70px;
}

.read-left, .read-right2{
    max-width: 55%;
    height: 400px;
    overflow: hidden;
}

.r1{
    overflow: hidden;
}

.r1 img{
    max-width: 100%;
    width: auto;
    height: auto;
    min-width: 380px;
}

.circle{
    width: 170px;
    height: 170px;
    position: absolute;
    background-color: #D87570;
    border-radius: 100%;
    z-index: -1;
    bottom: -100px;
    left: 70px;
}

.circle2{
    width: 170px;
    height: 170px;
    position: absolute;
    background-color: #D87570;
    border-radius: 100%;
    z-index: -1;
    bottom: -100px;
    right: 35px;
}

.read-right, .read-left2{
/*    height: 100%;*/
    max-width: 45%;
    overflow: hidden;
}

.author{
    background-color: #2D1D19;
    color: white;
    padding: 80px 0;
    text-align: justify;
}

.a-text{
    width: 90%;
    margin: auto;
}

.author img{
    float: left;
    margin-right: 30px;
}

.author h5{
    color: #D87570;
    display: inline-block;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.author h2{
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

.r01{
    padding: 50px 0;
    text-align: justify;
}

.r01 .content{
    padding: 0 40px;
}

.r01 h5, .r01 h2{
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: middle;
}

.r01 h5{
    color: #AD1F25;
    margin-right: 10px;
}

.r01 h4{
    margin: 10px 0 20px;
}


/*-----Desktop-----*/

@media only screen and (min-width: 769px){
    
    html{
        font-size: 18px;
    }
    
    p{
        font-size: 1rem;
        line-height: 2rem;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    .header-content{
        padding-left: 30px;
        max-width: 1200px;
    }
    
    .content{
        max-width: 1200px;
        margin: auto;
    }
    
    .top-m{
        display: none;
    }
    
    .s-text h3{
        font-size: 1rem;
    }
    
    .s-text p{
        font-size: 1.3rem;
    }
    
    .s-text p:first-of-type{
        line-height: 1.8rem;
        margin-bottom: 10px;
    }
    
    .name h3{
        font-size: 1.3rem;
    }
    
    .name h6{
        font-size: 0.8rem;
    }
    
    .rec-text h4{
        font-size: 1.3rem;
    }
    
    .rec-text p{
        font-size: 1rem;
        line-height: 1.5rem;
        margin-top: 10px;
    }
    
    .rec2 span{
        font-size: 1.3rem;
    }
    
}

/*-----Pad-----*/
@media only screen and (max-width: 768px){
    
    html{
        font-size: 16px;
    }
    
    .header-content{
        padding-left: 30px;
    }
    
    p{
        font-size: 1rem;
        line-height: 2rem;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    .coupon{
        display: none;
    }
    
    .top-m{
        display: none;
    }
    
    .s-text{
        padding: 0 30px;
    }
    
    .s-text h3{
        font-size: 1rem;
    }
    
    .s-text p{
        font-size: 1.3rem;
    }
    
    .s-text p:first-of-type{
        line-height: 1.8rem;
        margin-bottom: 10px;
    }
    
    .s1 img{
        display: none;
    }
    
    .name h3{
        font-size: 1.3rem;
    }
    
    .name h6{
        font-size: 0.8rem;
    }
    
    .rec-text h4{
        font-size: 1.3rem;
    }
    
    .rec-text p{
        font-size: 1rem;
        line-height: 1.5rem;
        margin-top: 10px;
    }
    
    .rec2 span{
        font-size: 1.3rem;
    }
    
    .book-back, .book{
        width: 500px;
        height: 500px;
        top: 100px;
        left: 0;
        right: 0;
        margin: auto;
    }
    
    .book{
        top: 130px;
    }
    
    .read-shadow{
        box-shadow: none;
        margin-bottom: 80px;
    }
    
    .read-left, .read-right, .read-left2, .read-right2{
        float: inherit;
        max-width: 100%;
    }
        
    .read-left, .read-right2{
        height: inherit;
    }
    
    .r2{
        height: auto;
    }
    
    .read-right, .read-left2{
        height: 400px;
        position: relative;
    }
    
    .read-right img, .read-left2 img{
        min-height: 100%;
        min-width: 100%;
    }
    
    .middle-img, .middle-img2{
        bottom: 320px;
        left: 30px;
        z-index: 1;
    }
    
    .circle, .circle2{
        display: none;
    }
    
    .more2{
        display: inline-block;
        position: absolute;
        right: 40px;
        left: inherit;
    }
    
    .a-text img{
        float: inherit;
        display: block;
        margin: 0 auto 30px;
        max-width: 100%;
    }
    
}


/*-----Phone-----*/

@media only screen and (max-width: 540px){
    
    html{
        font-size: 10px;
    }
    
    #back-to-top{
        right: 20px;
        bottom: 20px;
    }
    
    .content{
        padding-left: 7.5%;
        padding-right: 7.5%;
    }
    
    .header-content{
        padding-left: 10%;
        width: 100%;
    }
    
    .top .content{
        width: 100%;
        padding: 0;
    }
    
    .fb-like{
        bottom: -30px;
    }
    
    p{
        font-size: 1.6rem;
        line-height: 2.8rem;
    }
    
    .top{
        background-image: none;
        height: auto;
    }
    
    .top-d{
        display: none;
    }
    
    .top-m{
        display: block;
        margin: auto;
        max-width: 100%;
    }
    
    .s-text{
        padding: 0;
    }
    
    .s-text h3{
        font-size: 1.5rem;
    }
    
    .s-text p{
        font-size: 1.8rem;
    }
    
    .s-text p:first-of-type{
        line-height: 2.2rem;
        margin-bottom: 10px;
    }
    
    .rec1{
        display: block;
        width: 100%;
    }
    
    .rec1::before{
        top: 20px;
    }
    
    .name{
        display: block;
        width: 100%;
        padding: 0;
    }
    
    .rec-text{
        display: block;
        width: 100%;
    }
    
    .name h3{
        font-size: 1.8rem;
    }
    
    .name h6{
        font-size: 1rem;
    }
    
    .rec-text h4{
        font-size: 2.2rem;
        margin-top: 10px
    }
    
    .rec-text p{
        font-size: 1.6rem;
        line-height: 2rem;
        margin-top: 0px;
    }
    
    .rec2 span{
        font-size: 2rem;
    }
    
    .sell{
        height: 500px;
        background-size: cover;
    }
    
    .book-back, .book{
        width: 350px;
        height: 350px;
        top: 75px;
    }
    
    .preface-line{
        padding: 20px;
    }
    
    .preface-line img{
        float: inherit;
        display: block;
        margin: 0 auto;
    }
    
    .preface-line p{
        margin: 0;
        margin-top: 15px;
    }
    
    .read-shadow{
        width: 100%;
    }
    
    .middle-img, .middle-img2{
        bottom: 150px;
    }
    
    .read-right, .read-left2{
        height: 250px;
        position: relative;
    }
    
    .read-right img, .read-left2 img{
        position: absolute;
        bottom: -30px;
        z-index: -5;
    }
    
    .modal h3{
        font-size: 2.2rem;
    }
    
    .a-text h5{
        font-size: 1.3rem;
    }
    
    .a-text h2{
        font-size: 2.2rem;
    }
    
    .r01 h2{
        font-size: 2.2rem;
        margin: 0;
    }
    
    .r01 h5{
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
}