@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@1,500&family=Noto+Sans+TC:wght@500&family=Qwitcher+Grypen&family=Ubuntu&display=swap');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background-color: #ffe8c0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* eric reset end */

/* 基礎程式碼 */
body{
    font-family: Arial,'黑體-繁','Heiti TC','微軟正黑體','Microsoft JhengHei', Helvetica, sans-serif;
}

img{
    display: block;
    width: 100%;
}

/* header */
/* 小型設備 */
@media (max-width:767px) {
    .header{
        background-image: url(../images/color-pencil.jpg);
        background-position: bottom;
        height: 30vh;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .header{
        background-image: url(../images/color-pencil.jpg);
        background-repeat: no-repeat;
        background-position: bottom;
        height: 40vh;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .header{
        background-image: url(../images/輪播背景.png);
        background-repeat: no-repeat;
        background-position: center;
        height: 80vh;
    }
}
/* iPad Pro */
@media (min-width:1025px) {
    .header{
        height: 110vh;
    }
}

/* 小型設備 */
@media (max-width:767px) {
    .logo{
        width: 400px;
        padding: 15px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .logo{
        width: 600px;
        padding: 40px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .logo{
        padding: 15px;
        width: 300px;
    }
}

/* story */
.story{
    border-top: 5px solid #ffbb46;

}

/* 小型設備 */
@media (max-width:767px) {
    .story{
        height: 160vh;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .story{
        height: 80vh;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .story{
        height: 80vh;
    }
}

.title-top{
    font-size: 9rem;
    font-family: 'Qwitcher Grypen', cursive;
    color: #283C6F;
    text-align: center;
    margin: 15px;
}

.title-bottom{
    font-size: 2rem;
    font-family: 'Noto Sans TC', sans-serif;
    color: #5DC3F3;
    text-align: center;
    margin: 10px;
}



/* 小型設備 */
@media (max-width:767px) {
    .content{
        display: flex;
        flex-direction: column;
    }
    .content-left{
        margin-left: 10%;
    }
    .content-right{
        margin-left: 10%;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .content{
        display: flex;
        flex-direction: column;        
    }
    .content-left{
        margin-left: 20%;
    }
    .content-right{
        margin-left: 20%;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .content{
        display: flex;
        flex-direction: row;
    }
    .content-left{
        margin-left: 10%;
    }
    .content-right{
        margin-left: 10%;
    }
}
/* iPad Pro */
@media (min-width:1025px) {
    .content-left{
        margin-left: 20%;
    }
}

.content-left{
    margin-top: 90px;
    text-align: left;
}

.content-left p, .content-right p{
    padding: 5px;
}

.content-right{
    margin-top: 90px;
    text-align: left;
}

/* character */
.character{
    border-top: 5px solid #ffbb46;
    overflow: hidden;
}

/* 小型設備 */
@media (max-width:767px) {
    .character{
        height: 440vh;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .character{
        height: 400vh;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .character{
        height: 350vh;
    }
}

/* role1 */
.role{
    background-color: #BDA8AB;
    border-radius: 25px;
    border: 5px solid #283C6F;
    position: relative;
}

/* 小型設備 */
@media (max-width:767px) {
    .role{
        width: 380px;
        height: 500px;
        margin-top: 200px;
        margin-left: 5px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .role{
        width: 400px;
        height: 490px;
        margin-top: 200px;
        margin-left: 130px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .role{
        width: 800px;
        height: 400px;
        margin-top: 200px;
        margin-left: 800px;
    }
}

/* 小型設備 */
@media (max-width:767px) {
    .name-title{
        display: flex;
        flex-direction: column;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .name-title{
        display: flex;
        flex-direction: column;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .name-title{
        display: flex;
        flex-direction: row;
    }
}

.name{
    font-family: 'Noto Sans TC', sans-serif;
    margin: 5px;
    color: #283C6F;
}

/* 小型設備 */
@media (max-width:767px) {
    .name{
        font-size: 4rem;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .name{
        font-size: 4rem;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .name{
        font-size: 5rem;        
    }
}

.cv{
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 3rem;
    color: #5DC3F3;
}

/* 小型設備 */
@media (max-width:767px) {
    .cv{
        margin: 15px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .cv{
        margin: 20px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .cv{
        margin: 20px;
    }
}

.data{
    border: 2px solid #355183;
    width: 283px;
    height: 83px;
    margin: 40px;
}

.data-top, .data-bottom{
    display: flex;
}

.data li dl{
    display: flex;
}

.data li dl dt, .data li dl dd{
    text-align: center;
    width: 70px;
    height: 40px;
    line-height: 40px;
    border-right: 1px solid #355183;
    border-bottom: 1px solid #355183;
    color: #283C6F;
}

/* 小型設備 */
@media (max-width:767px) {
    .background1{
        display: none;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .background1{
        display: none;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .background1{
        display: block;
        width: 1400px;
        position: absolute;
        top: -420px;
        right: -1100px;
    }
}

.role-post{
    display: flex;
}


.role-post img{
    width: 150px;
    position: absolute;
    top: 190px;
    right: 100px;
    animation: post 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    animation-direction: alternate;
}

@keyframes post{
    from{
        right: -500px;
        transform: rotate(-360deg);
    }
    to{
        right: 100px;
    }
}

.role-text{
    margin-left: 20px;
}

.role-text p{
    margin: 20px;
}

/* role2 */
.role2{
    background-color: #BDA8AB;
    border-radius: 25px;
    border: 5px solid #283C6F;
    position: relative;
}

/* 小型設備 */
@media (max-width:767px) {
    .role2{
        width: 380px;
        height: 500px;
        margin-top: 200px;
        margin-left: 5px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .role2{
        width: 400px;
        height: 490px;
        margin-top: 200px;
        margin-left: 130px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .role2{
        width: 800px;
        height: 400px;
        margin-top: 200px;
        margin-left: 130px;
    }
}

.data2{
    border: 2px solid #355183;
    width: 283px;
    height: 83px;
}

/* 小型設備 */
@media (max-width:767px) {
    .data2{
        margin: 40px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .data2{
        margin: 40px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .data2{
        margin: 40px 0 0 415px;
    }
}

.data2 li dl{
    display: flex;
}

.data2 li dl dt, .data2 li dl dd{
    text-align: center;
    width: 70px;
    height: 40px;
    line-height: 40px;
    border-right: 1px solid #355183;
    border-bottom: 1px solid #355183;
    color: #283C6F;
}



/* 小型設備 */
@media (max-width:767px) {
    .background2{
        display: none;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .background2{
        display: none;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .background2{
        display: block;
        width: 1400px;
        position: absolute;
        left: -900px;
        bottom: 15px;
    }
}

.role-post2 img{
    width: 150px;
    position: absolute;
    top: 160px;
    left: 80px;
    animation: post2 5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    animation-direction: alternate;
}

@keyframes post2{
    from{
        left: -300px;
        transform: rotate(360deg);
    }
    to{
        left: 80px;
    }
}

/* 小型設備 */
@media (max-width:767px) {
    .role-text2{
        margin: 20px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .role-text2{
        margin-left: 20px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .role-text2{
        margin: 20px 0 0 230px;
    }
}

.role-text2 p{
    margin: 20px;
}


/* news */
.news{
    border-top: 5px solid #ffbb46;
    position: relative;
}

/* 小型設備 */
@media (max-width:767px) {
    .news{
        height: 100vh;   
        background-image: none;    
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .news{
        height: 110vh;
        background-image: none;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .news{
        height: 110vh;
        background-image: url(../images/news-bg.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
}

/* 小型設備 */
@media (max-width:767px) {
    .news-content{
        margin: 15px 20px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .news-content{
        margin: 50px 110px;     
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .news-content{
        margin: 120px 480px;        
    }
}

.news-text{
    margin: 0 0 45px;
}

.news-text span{
    margin: 0 15px;
    color: #355183;
}

.news-text a{
    text-decoration: none;
    color: #BDA8AB;;
}

/* button */
.button {
    background: #3498db;
    width: 120px;
    padding: 10px 0;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 3px;
}

/* 小型設備 */
@media (max-width:767px) {
    .button{
        position: absolute;
        left: 50%;
        top: 90%;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .button{
        position: absolute;
        left: 50%;
        top: 70%;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .button{
        position: absolute;
        left: 50%;
        top: 70%;

    }
}

.button p {
    font-family: "Roboto";
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
.button:hover {
    cursor: pointer;
}
.button:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 10%;
    border-radius: 50%;
    background-color: #927608;
    opacity: 0.4;
    bottom: -30px;
}

/* music */
.music{
    border-top: 5px solid #ffbb46;
}

/* 小型設備 */
@media (max-width:767px) {
    .music{
        height: 150vh;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .music{
        height: 80vh;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .music{
        height: 110vh;
    }
}

.cd{
    background-color: #ffe8c0;
    border: 2px solid #355183;
    border-radius: 20px;
}

/* 小型設備 */
@media (max-width:767px) {
    .cd{
        width: 390px;
        margin: 0;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .cd{
        width: 830px;
        margin: 0;
    }
}

/* 大型設備 */
@media (min-width:992px) {
    .cd{
        width: 830px;
        margin: 0 30%;
    }
}

.cd h2{
    font-weight: 600;
    font-size: 2rem;
    font-family: 'Noto Sans TC', sans-serif;
    border-bottom: 2px solid #355183;
    text-align: center;
    margin: 20px;
    padding-bottom: 20px;
}


.cd-text p{
    margin: 20px 40px;
}

/* 小型設備 */
@media (max-width:767px) {
    .cd-content{
        display: flex;
        flex-direction: column;
    }
    .cd-img{
        width: 385px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .cd-content{
        display: flex;
        flex-direction: row;        
    }
    .cd-img{
        width: 470px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .cd-content{
        display: flex;
        flex-direction: row;        
    }
    .cd-img{
        width: 470px;
    }
}

/* footer */
footer{
    border-top: 5px solid #ffbb46;
}

/* 小型設備 */
@media (max-width:767px) {
    .footer{
        display: flex;
        flex-direction: column;
    }
    .menu{
        display: flex;
        flex-direction: column;
    }
    .menu li{
        width: 90px;
        margin: 10px 110px;
    }
    .menu li a{
        font-size: 2rem;
        width: 160px;
        height: 55px;
        line-height: 55px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .footer{
        display: block;
    }
    .menu{
        display: flex;
        flex-direction: column;
    }
    .menu li{
        width: 240px;
        margin: 30px 245px;
    }
    .logo2{
        padding: 15px;
        width: 300px;
    }
    .menu li a{
        font-size: 3rem;
        width: 270px;
        height: 80px;
        line-height: 80px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .footer{
        display: flex;
        flex-direction: row;
    }
    .menu{
        display: flex;
        flex-direction: row;
    }
    .menu li{
    width: 90px;
    margin: 40px;
    }
    .logo2{
        padding: 15px;
        width: 300px;
    }
    .menu li a{
        font-size: 1.5rem;
        font-weight: 600;
        width: 130px;
        height: 50px;
        line-height: 50px;
    }
}

.menu li a{
    display: block;
    color: #355183;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
}

.menu li a:hover{
    border: 1px solid #355183;
    background-color: #fff9ef;
}

.media{
    display: flex;
}

/* 小型設備 */
@media (max-width:767px) {
    .media li a img{
        width: 50px;
        margin: 20px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    .media li a img{
        width: 140px;
        margin: 20px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    .media li a img{
        width: 50px;
        margin: 20px;
    }
}

small{
    color: #355183;
}

#gotop{
    display: none;
    position: fixed;
    bottom: 0;
    right: -50px;
}

/* 小型設備 */
@media (max-width:767px) {
    #gotop{
        position: fixed;
        bottom: 0;
        right: -50px;
    }
}
/* 中型設備 */
@media (min-width:768px) {
    #gotop{
        position: fixed;
        bottom: 0;
        right: 0px;
    }
}
/* 大型設備 */
@media (min-width:992px) {
    #gotop{
        position: fixed;
        bottom: 0;
        right: -50px;
    }
}

#gotop img{
    width: 250px;
    cursor: pointer;
}