@charset "utf-8";
/* CSS Document */
body {
	Font-family:微軟正黑體,Arial;
  	margin:0 auto;
  	padding:0;
	overflow-x:hidden;
	background:#000;
	}
	
a{text-decoration:none}
.gp{display:inline-block}


/*東立選單*/	

.btn{
	position:fixed;
	top:0;
	width:100%;
	z-index:999;
	width:100%;
	background:rgba(0,0,0,.7);
	margin:0 auto;
	opacity: 0.9;
	text-align:center;
	vertical-align:middle;
	padding:0.2em 0;
	}
.btn a{ font-size:1em; font-weight:bold; color:#FF6; margin:0 auto; margin-left:1em; margin-right:1em;  letter-spacing:0em;}

#nav{ min-height:5vh; text-align:center; margin-bottom:0;z-index:9999;}
#nav a:hover{color:#0CC;animation: 1s linear 0s normal none infinite jello-horizontal;}

#nav a{ margin:2%;font-size:1.1em; display:inline-block;text-decoration:none}
@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
            transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
            transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
            transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
            transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
/*東立選單結束*/
/*主視覺*/
#bg{width:100%; position:fixed; top:0; margin:0 auto; z-index:0; opacity:0.2}
#bg img{width:100%;filter: blur(2px);}

#cover{position:relative; width:100%; max-width:1000px; margin:0 auto; text-align:center; }
	#cover1,#cover2,#cover3{ position:absolute; width:100%; max-width:1000px;}
	#cover1{animation:cover1 10s linear infinite ;} 
	#cover2{animation:cover2 10s linear infinite ;} 
	#cover3{animation:cover3 10s linear infinite ;} 
	#cbg{position:relative;width:100%;animation:cbg 10s linear infinite ;}
	
		@keyframes cover1 {
			0%{ opacity:0; transform:translate(-50vw,0)}
			5%{ opacity:1; transform:translate(0,0)}
			30%{ opacity:1; transform:translate(0,0)}
			35%{ opacity:0; transform:translate(50vw,0)}
			100%{ opacity:0; transform:translate(-50vw,0)}
		}
		@keyframes cover2 {
			0%{ opacity:0; transform:translate(50vw,0)}
			5%{ opacity:1; transform:translate(0,0)}
			30%{ opacity:1; transform:translate(0,0)}
			35%{ opacity:0; transform:translate(-50vw,0)}
			100%{ opacity:0; transform:translate(50vw,0)}
		}
		@keyframes cover3 {
			0%{ opacity:0; transform:translate(-50vw,0)}
			5%{ opacity:1; transform:translate(0,0)}
			30%{ opacity:1; transform:translate(0,0)}
			35%{ opacity:0; transform:translate(50vw,0)}
			100%{ opacity:0; transform:translate(-50vw,0)}
		}
		@keyframes cbg {
			0%{ opacity:0}
			30%{ opacity:0; transform:translate(0,-10vh)}
			40%{ opacity:1; transform:translate(0,0)}
			95%{ opacity:1; transform:translate(0,0)}
			100%{opacity:0; transform:translate(0,10vh)}
			}
			


@media (max-width:600px){}

.pc{ display:block}
.mobi{ display:none}

/*主視覺結束*/




/*各內容區塊樣式*/

.block{
	position:relative;
	padding:1em 0;
	margin:0 auto; 
	text-align:center;
	width:100%;
	z-index:5;
	}
.block h1{ color:#6CC; line-height:2em;}
.block h4{ color:#999; line-height:2em; letter-spacing:0.2em}
.word{ padding:2em 10%; width:80%; background:rgba(0,0,0,.7); color:#FFF; padding-bottom:5em;}
.word p{ line-height:2.5em; font-size:0.95em; max-width:600px; margin:auto auto}

.big_title{background:url(images/book.jpg) center; background-clip:text;-webkit-background-clip: text; color: transparent;animation:bg 50s infinite linear ; font-size:1.8em;line-height:1.5em; font-weight:bold;-webkit-filter:brightness(2); height:auto}
.sp_title{color:#fff; text-align:center; border-bottom:#fff dotted 1px; padding-bottom:0.2em}
.bookcover {
	width:30%; 
	display:inline-block; 
	text-align:center;
	margin:2em auto}
.bookcover img{
	width:100%; }
.storyinfo{
	width:50%;
	padding:2% 2%;
	display:inline-block;
	vertical-align:top;
	text-align:center;
	margin:2em auto;
	}
	.storyinfo h4{color:#FFF; letter-spacing:normal;  text-shadow:none; padding:0; line-height:normal}
	.storyinfo p{text-align:left;text-indent:2em;}
	.storyinfo span{ padding:0 1.5em; background:linear-gradient(90deg, rgba(0,204,204,.0),rgba(0,204,204,1),rgba(0,204,204,1),rgba(0,204,204,1),rgba(0,204,204,1),rgba(0,204,204,1), rgba(0,204,204,.0))}
	@media (max-width:800px){
	.storyinfo{width:90%;padding:2%;display:block;margin:2em auto; text-align:center;}
	.bookcover{ display:block; text-align:center;width:60%;margin:2em auto;}
	}
	
	@media (max-width:700px){
		.bookcover{ display:block; text-align:center;width:80%;margin:0 auto;}
		.storyinfo p{text-indent:0em; text-align:center}
	}
	

/*按鈕效果*/
.readlink{
    color:#3CC;
	display:inline-block;
	font-weight:bold;
    font-size: 1.5em;
    text-transform: uppercase;
    border:2px solid #3CC;
	margin:0.5em auto;
	margin-left:1%;
	margin-right:1%;
    padding:1% 5%;
    border-radius: 20px 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0.1s;
}
.readlink:hover{
    color: #fff;
    background:linear-gradient(45deg, rgba(0,204,204,1), rgba(0,102,204,1));
    border-radius: 0;
	border:2px solid #0CC;
	text-shadow:none;
}
.readlink:before,
.readlink:after,
.readlink span:before,
.readlink span:after{
    content: "";
    background-color:linear-gradient(45deg, rgba(0,204,204,1), rgba(0,102,204,1));
    width: 0;
    height: 2px;
    position: absolute;
    top: -2px;
    right: 0;
    transition: all 0.3s ease;
}
.readlink:after,
.readlink span:after{
    width: 2px;
    height: 0;
    right: -2px;
    transition: 0.45s ease;
}
.readlink span:before{
    width: 0;
    top: auto;
    bottom: -2px;
    right: auto;
    left: 0;
}
.readlink span:after{
    right: auto;
    left: -2px;
    bottom: -2px;
    top: auto;
}
.readlink:hover:before,
.readlink:hover span:before{
    width: 100%;
}
.readlink:hover:after,
.readlink:hover span:after{
    height: 108%;
}

/*商店連結（如果有的話）*/
.shop{width:100%; display:block;}
.shopbn{ 
	width:3.5em;
	font-size:1em; 
	border:none;
	text-align:center; 
	display:inline-block;
	font-weight:bold;
	margin:0 2%;
	color:#fff;
	background:#3CC;
	padding:0 0.2em;
    text-transform: capitalize;/*翻頁效果*/
    display: inline-block;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform-origin: 50% 50% -0.6em;
    position: relative;
    transition: transform 0.3s ease;
	text-shadow:#999 2px 2px 2px;
}
.shopbn:hover{
    transform: rotateX(90deg);
}
.shopbn:before{/*翻頁效果*/
    content: attr(data-hover);
    color: #fff;
	font-weight:bold;
	padding:0.2em;
	text-align:center; 
    background:#6895ab; 
    border-radius: 5px 0 5px;
    transform-origin: 50% 0;
    transform: rotateX(-90deg);
    position: absolute;
    top: 100%;
    left: 0;
	width:3.5em;
	text-shadow:#6895ab 0 0 5px;
}
.page{/*翻頁效果*/
	width:50vw;
	display:block;
	margin:0 auto;
}
.page:before{/*翻頁效果*/
	width:50vw;
	background:rgba(0,0,0,.5);
	border: rgba(255,255,255,.8) 2px solid;
	display:block;
	margin:0 auto;
}

	

@media (max-width:900px){
	.bookcover{ display:block; text-align:center;width:80%;margin:0 auto;}

}
@media (max-width:600px){
	.readlink{width:60%; display:block;margin:0.5em auto;}

}

/*書籍結束*/


@media (max-width:700px){
	.mobi{ display:block}
	.pc{ display:none}
	.topinfo{ width:100%; text-align:center}
	.sp_title{font-size:.8em; letter-spacing:normal; padding:0.2em 1em;}	

}	

/*人物介紹*/
	.char{ height:400px; width:12vw; display:inline-block; margin:0 auto}
	.char:hover{ width:20vw;animation:charhover 0.3s linear ;}
	@keyframes charhover {
		0%{width:12vw;}
		100%{ width:20vw;}
	}
	@keyframes charbg {
		0%{}
		100%{ background-position:500% -200%}
	}
	
	#c1{background:url(images/char1bg.png);background-size:contain;animation:charbg 100s infinite linear ;}
	#c2{background:url(images/char2bg.png);background-size:contain;animation:charbg 100s infinite linear ;}
	#c3{background:url(images/char3bg.png);background-size:contain;animation:charbg 100s infinite linear ;}
	#c4{background:url(images/char4bg.png);background-size:contain;animation:charbg 100s infinite linear ;}
	#c5{background:url(images/char5bg.png);background-size:contain;animation:charbg 100s infinite linear ;}
	#c6{background:url(images/char6bg.png);background-size:contain;animation:charbg 100s infinite linear ;}
	.cinfo{	
	width:100%;
	height:100%; 
	padding:0;
	overflow:auto;
	vertical-align:top;
	text-align:center;
	scrollbar-base-color:#fff;
	text-shadow:#fff 0 0 10px;}	
	.cinfo a{ display:block; text-align:right}
	.infobox{background:rgba(255,255,255,.9); height:80%; position:relative; margin:0 auto; display:flex}
	.cinfo img{max-height:100%; margin:0 auto; display:inline-flex;vertical-align:top; position:relative;justify-content:center}
	.info{ font-size:1.1em;line-height:2.5em; padding:2%; display:inline-flex; margin:0 auto;vertical-align:middle; text-align:left; position:relative;flex-direction:column;justify-content:center}
	.info span{ background:#0CC; padding:0.1em 1em; color:#FFF; font-weight:bold}
	.info p{ text-indent:2em;}
	@media (max-width:700px){
		.infobox{height:auto; position:relative; margin-bottom:3em;display:block;}
		.cinfo img{ display:block; width:250px; height:400px;display:flex; position:relative}
		.info{ display:block;}
		}
		
	.infoicon{ display:inline-block; width:2em; height:2em; border-radius:100%; border:#0CC 3px solid; margin-right:0.5em}

