/*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;
}

html {
    font-size: 16px;
}

a {
    text-decoration: none;
    color: black;
}

p,
ul {
    font-size: 1rem;
    line-height: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: justify;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

a img {
    border: 0px;
}

.header {
    height: 35px;
    background-color: #424242;
}

.content {
    position: relative;
}

#back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 10;
}

map *:focus {
    outline: none;
}

.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;
    font-weight: 400;
    color: #333;
}

.top {
    background-image: url(images/9789570851533_top_bg.jpg);
    font-size: 0;
}

.top .content {
    padding-top: 50px;
    padding-bottom: 40px;
    background-image: url(images/9789570851533_top_02.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.top-title {
    width: 75%;
    max-width: 680px;
    display: inline-block;
    vertical-align: middle;
    padding-right: 40px;
}

.top-title img {
    width: 100%;
}

.book {
    width: 25%;
    padding-left: 40px;
    display: inline-block;
    text-align: center;
    position: relative;
    vertical-align: middle;
}

.book img {
    width: 100%;
}

.book p {
    text-align: center;
    margin: 20px 0 0;
    color: #002848;
}

.book span {
    padding: 3px 15px;
    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;
    color: #002848;
    border: solid 1px #002848;
    background-color: rgba(255,255,255,0.5);
}

.book span:hover {
    color: white;
    background-color: #002848;
}

.left-line {
    position: absolute;
    background-color: #a3753e;
    width: 3px;
    height: 80%;
    top: 10%;
    left: 0;
}

.section2 {
    background-image: url(images/9789570851533_s2_bg.jpg);
    background-position: center center;
    text-align: center;
}

.section2 .content {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.section2 .content::before {
    content: "";
    display: block;
    height: 6px;
    width: 90%;
    position: absolute;
    background-color: #a3753e;
    top: -3px;
    left: 5%;
}

.section2 .content::after {
    content: "";
    display: block;
    height: 6px;
    width: 90%;
    position: absolute;
    background-color: #a3753e;
    bottom: -3px;
    left: 5%;
}


.section2 h3 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.section2 h1 {
    color: #a3753e;
    font-weight: 600;
    margin-top: 0;
}

.section2 p {
    color: white;
    max-width: 830px;
    margin: 0 auto;
    padding: 0 30px;
    border-left: solid 2px white;
    border-right: solid 2px white;
}

.section3 .content {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    position: relative;
}

.section3 .content > img {
    width: 100%;
    max-width: 1112px;
}

.flip-container {
    position: absolute;
    
    -webkit-perspective: 1200;
    -moz-perspective: 1200;
    perspective: 1200;
}

.circle-1{
    left: 170px;
    top: 180px;
}

.circle-2{
    left: 740px;
    top: 150px;
}

.circle-3{
    left: 320px;
    top: 350px;
}

.circle-4{
    left: 950px;
    top: 340px;
}

.circle-5{
    left: 200px;
    top: 480px;
}

.circle-6{
    left: 570px;
    top: 500px;
}

.circle-7{
    left: 830px;
    top: 480px;
}

.flip-container:hover .creation {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}

.creation {
    width: 130px;
    height: 130px;
    float: left;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.font,
.back {
    position: absolute;
    top: 0;
    left: :0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.back {
    z-index: 800;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.creation p {
    display: block;
    width: auto;
    text-align: center;
/*    line-height: 130px;*/
    width: 130px;
    line-height: 1.5;
}

.creation p span {
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: 50px;
}

.circle-4 .font p span{
    top: 43px;
}

.font p span {
    font-size: 16px;
    color: #52c0dd;
}

.back p span {
    color: white;
    font-size: 24px;
}

.cont {
    border-radius: 50%;
    background-color: #002848;
    width: 130px;
    height: 130px;
    display: inline-block;
}

.section4{
    font-size: 0;
}

.section4 .content{
    padding-top: 50px;
    padding-bottom: 50px;
}

.authorbox{
    position: relative;
}

.authortext{
    position: relative;
    vertical-align: top;
    padding: 0 40px 0 0;
    overflow: hidden;
    background-color: #a3753e;
}

.authortext>p{
    color: white;
    margin: 30px 0 30px 30px;
}

.authortext img{
    float: left;
    max-width: 200px;
    margin-right: 30px;
}

.authorname{
    position: absolute;
    top: -40px;
    right: 0px;
    background-color: #6b461d;
    color: white;
    padding: 0 15px;
    height: 40px;
    border-radius: 20px 20px 0 0
}

.authorname p{
    display: inline-block;
    font-weight: bold;
    margin: 0;
}

.authorname p:first-of-type{
    margin-right: 10px;
    font-size: 1.3rem;
    line-height: 40px;
}

.section5 .content{
    background-image: url(images/9789570851533_s5_bg.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    padding-top: 80px;
    padding-bottom: 50px;
    font-size: 0;
}

.guidetitle h3{
    display: inline-block;
    margin: 0;
    background-color: #002848;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 600;
    height: 45px;
    vertical-align: middle;
    line-height: 45px;
}

.guidetext{
    overflow: hidden;
}

.guidetitle p{
    display: inline-block;
    margin: 0;
    border: solid 1px #002848;
    padding-left: 15px;
    padding-right: 15px;
    height: 45px;
    vertical-align: middle;
    background-color: #fff;
    line-height: 45px;
}

.textbox:first-of-type{
    margin-top: 40px;
}

.textbox{
    margin: 30px 0;
}

.textbox h3{
    color: #002848;
    display: inline-block;
    margin: 0;
    padding-right: 15px;
    font-weight: 600;
}

.textbox p:first-of-type{
    display: inline-block;
    margin: 0;
}

.textbox p{
    margin: 10px 0 0;
}

.textbox span{
    font-size: 0.8rem;
    color: #494949;
}

.textbox a, .readtext a{
    color: #a55d05;
}

.textbox a:hover, .readtext a:hover{
    text-decoration: underline;
}

.guideline2::after{
    content: "";
    display: block;
    clear: both;
}

.guideline2 img{
    float: right;
}

.section6{
    background-color: #002848;
}

.section6 .content{
    padding-top: 50px;
    padding-bottom: 50px;
}

.section6 h3{
    color: #002848;
    background-color: #fff;
    display: inline-block;
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 600;
    height: 45px;
    line-height: 45px;
}

.section6 p{
    color: white;
    margin: 20px 0;
}

.section6 span{
    color: #ffffc2;
}

.section7 .content{
    padding-top: 50px;
    padding-bottom: 50px;
}

.readbox{
    background-color: #dadada;
    padding: 25px 30px 30px;
    background-image: url(images/9789570851533_s7_01.png);
    background-repeat: no-repeat;
    background-position: right top;
    position: relative;
}

.readbox::after{
    content: "";
    display: block;
    position: absolute;
    width: 182px;
    height: 29px;
    background-image: url(images/9789570851533_s7_02.png);
    right: 0;
    bottom: 0;
}

.readbox:nth-of-type(2){
    margin-top: 40px;
}

.readtitle h5,.readtitle h3{
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

.readtitle h5{
    width: 50px;
    height: 50px;
    background-image: url(images/9789570851533_s7_icon.svg);
    background-position: center center;
    background-size: cover;
    line-height: 50px;
    text-align: center;
    color: white;
    margin-right: 10px;
}

.readtitle h3{
    color: #002848;
}

.readtext{
    margin-top: 10px;
    margin-left: 5px;
}

.readtext p{
    margin: 0;
}

.r01{
    padding: 80px 0;
}

.r01 h4{
    margin: 0;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
    background-color: #002848;
    color: white;
    padding: 5px 10px;
}

.r01 h2{
    color: #002848;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.r01 h3{
    margin: 15px 0 30px;
    
}

.r01 h3 span{
    font-weight: normal;
    font-size: 1rem;
    color: #494949;
}


/*-----Desktop-----*/

@media only screen and (min-width: 769px) {

    .fb-top{
        left: 0;
        top: 50px;
        margin-left: 30px;
    }
    
    .header-content {
        padding-left: 30px;
        max-width: 1200px;
    }

    .content {
        max-width: 1200px;
        margin: auto;
        position: relative;
        padding: 0 100px;
    }

    .top .content {
        padding-left: 50px;
        padding-right: 50px;
    }

    .top-title img:nth-child(2) {
        display: none;
    }

    .section3 .content {
        padding-left: 0;
        padding-right: 0;
    }

}

@media only screen and (min-width: 1201px){
    
    .section3 .content h2{
        display: none;
    }
    
}


@media only screen and (max-width: 1200px){
    
    .section3 img{
        display: none;
    }
    
    .section3 .content{
        background-image: url(images/9789570851533_s3_02.jpg);
        background-size: cover;
        padding-left: 100px;
        padding-right: 100px;
    }
    
    .ocean{
    }
    
    .ocean::after{
        content: "";
        display: block;
        clear: both;
    }
    
    .flip-container{
        position: relative;
        left: auto;
        top: auto;
    }
    
    .creation{
        margin: 10px;
    }
    
    .section4 .content{
        padding-top: 100px;
    }
    
    
    
}


/*-----Medium Screen-----*/

@media only screen and (max-width: 768px) {

    .fb-top{
        left: 0;
        top: 20px;
        margin-left: 30px;
    }
    
    .header-content {
        padding-left: 30px;
    }

    .content {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .top-title {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .top-title img:first-child {
        display: none;
    }

    .top-title img {
        max-width: 420px;
    }

    .book {
        width: 80%;
        display: block;
        margin: 0 auto;
        margin-top: 30px;
        padding-left: 0;
    }

    .book img {
        max-width: 280px;
    }

    .left-line {
        display: none;
    }

}


/*-----Phone-----*/

@media only screen and (max-width: 540px) {
    
    .fb-top{
        left: 0;
        top: 20px;
        margin-left: 10%;
    }
    
    #back-to-top{
        right: 0px;
        bottom: 0px;
    }

    .header-content {
        padding-left: 10%;
        width: 100%;
    }

    .content {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .authorname{
        left: 0;
    }
    
    .authortext{
        text-align: center;
        padding: 30px;
    }
    
    .authortext p{
        margin: 0;
    }
    
    .authortext img{
        float: none;
        margin: 0;
        margin-bottom: 30px;
        width: 100%;
        max-width: 300px;
    }

}
