@charset "utf-8";
/* CSS Document */
body {
	Font-family:微軟正黑體,Arial;
  	margin:0 auto;
  	padding:0;
	margin:0 auto;
	}

a{text-decoration:none}
.gp{display:inline-block}

/*東立選單*/	

.btn{
	position:fixed;
	top:0;
	width:100%;
	z-index:999;
	width:100%;
	background:linear-gradient(to bottom ,#000,#000, #333);
	margin:0 auto;
	opacity: 0.9;
	text-align:center;
	box-shadow: rgba(0,0,0,.5) 0 15px 15px}
.btn img{height:4vh}
#nav{background:rgba(0,0,0,.8); min-height:5vh; text-align:center; margin-bottom:2vh}
#nav a{text-decoration:none}
#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;}
@-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);
  }
}
/*東立選單結束*/

/*主視覺*/
.pc{ display:block}
.mobi{ display:none}

#logo{height:100%; width:100%; position:absolute; z-index:2; top:0; text-align:center;}
.about{animation:linear 10s c2 forwards}
#logo img{margin:0 auto; max-width:1200px; max-height:100%;}
@media (max-width:800px){#logo img{margin:0 auto; max-width:100%;}}
@media (max-width:600px){#logo img{margin:0 auto; max-width:100%;}}
#title{width:100%; text-align:center; margin:5vh auto}
#title img{width:100%; max-width:1000px;}
/*雲霧*/
*,
*:before,
*:after {
  box-sizing: inherit;

  
}

figure {
  margin: 0;
  
}

.absolute-bg {
  position:fixed;
  top: 0;
  left: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.fog {
  position: relative;
  height: 100vh;
  width: 100%;
}
.fog__container {
  position:fixed;
  height: 100%;
  width: 100%;
  z-index:0;
  overflow: hidden;
}
.fog__img {
  position:fixed;
  height: 100vh;
  width: 300%;
}
.fog__img--first {
  background: url("../images/bg1.jpg");
  background-size: contain;
  background-repeat:repeat;
          animation: marquee 60s linear infinite;
}
.fog__img--second {
  background: url("../images/cloud.png");
  background-size: contain;
  background-repeat:repeat;
          animation: marquee 500s linear infinite;
}
@media (max-width:600px){.fog__img--first {animation: marquee 30s linear infinite;}.fog__img--second{ animation: marquee 60s linear infinite;}}

@keyframes marquee {
  0% { background-position:0 0;}
  100% {background-position:300% 0;}
}	

#menu{text-align:center; width:100%; z-index:9999; position:relative }
#menu a{display:inline-block; vertical-align:middle;margin:1vh auto; padding:0.5em 0.8em; margin-left:1vw; border: #F5CD83 2px solid; background:rgba(51,51,51,0.8); color: #F5CD83; text-shadow: #000 0 0 2px, #000 0 0 5px; font-weight:bold; letter-spacing:0.1em}
#menu a:hover{ background:#FFF; color:#000; text-shadow:none; box-shadow:#000 0 0 5px;}
@media (max-width:600px){#menu a{display:inline-block; vertical-align:middle;margin:0.5em auto; padding:0.5em 0.5em; margin-left:auto; border: #F5CD83 1.5px solid; letter-spacing:0; font-size:0.8em}}
#copy{font-size:0.6em; margin:0.5em auto; color: #333; text-shadow:#fff 0 0 5px,#fff 0 0 10px,#fff 0 0 15px; width:100%; text-align:center}
	#copy .gp{ margin-left:1.5em; margin-right:1em}	
#social{display:inline-block}
#social a{border: none; background:none; height:1.5em;margin:1vh auto; padding:0.5em 1em;}
#social a:hover{background:none;box-shadow:none}
#social img {height:1.5em; margin:0 auto;}
/*主視覺結束*/




/*各內容區塊樣式*/
.block{
	position:relative;
	color:#630;
	font-weight:bold;
	padding:2%;
	background: rgba(249,244,224,0.9);
	margin:1% auto; 
	text-shadow:0 0 5px rgba(255,255,255,1);
	border: #C96 10px double;
	width:70%;
	box-shadow: #000 0 0 25px;
	line-height:2em;
	text-align:center;
	letter-spacing:0.1em;
	}
.block h5{text-shadow:none; background:#C96; color:#FFF; line-height:1.5em; padding:0.1em 1em; width:auto}
/*書籍介紹*/

.bookcover {
	width:25%;
	max-width:300px; 
	display:inline-block; 
	text-align:center;}
.bookcover img{
	width:90%; box-shadow:rgba(0,0,0,.2) 0 0 10px}
.storyinfo{
	width:62%;
	max-width:500px;
	padding:1% 1%;
	font-weight:bold;
	line-height:2em;
	display:inline-block;
	vertical-align:top;
	text-align:left;}
.storyinfo img{width:100%; max-width:350px;}
@media (max-width:800px){
.storyinfo{display:block;margin:0 auto; text-align:center;max-width:98%}
.bookcover{display:block; text-align:center;width:60%;margin:0 auto;}
}

#other h4{color: #0C9}
/*按鈕效果*/
.readlink{
    color:#600;
	display:inline-block;
	margin:1em auto;
	font-weight:bold;
    font-size: 1.5em;
    text-transform: uppercase;
    border:1px solid #600;
    padding:1% 5%;
    border-radius: 20px 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0.1s;
}
.readlink:hover{
    color: #fff;
    background: #C00;
    border-radius: 0;
	text-shadow:none;
}
.readlink:before,
.readlink:after,
.readlink span:before,
.readlink span:after{
    content: "";
    background-color: #C00;
    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%;
}


#sppic{
	background:#FFF;
	box-shadow:#000 0 0 30px;
	border:#C96 2px solid;
	width:90%;
	margin:1% auto;
	text-align:center;
	cursor:pointer;
	}
#sppic:hover{transform:scale(1.1)}	
#sppic img:nth-child(1){ width:30%}
#sppic img:nth-child(2){ width:60%}	

	
/*商店連結（如果有的話）*/
.shop{width:100%; display:block; margin:1em auto}
.shopbn{ 
	width:5em;
	font-size:1em; 
	border: #963 2px solid;
	text-align:center; 
	display:inline-block; 
	margin:0 2%;
	margin-bottom:1em;
	color:#963; 
	padding: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;

}
.shopbn:hover{
    transform: rotateX(90deg);
}
.shopbn:before{/*翻頁效果*/
    content: attr(data-hover);
    color: #fff;
	font-weight:bold;
	padding:0.2em;
	text-align:center; 
    background: #C96; 
    border-radius: 5px 0 5px;
    transform-origin: 50% 0;
    transform: rotateX(-90deg);
    position: absolute;
    top: 100%;
    left: 0;
	width:5em;
	border: #963 2px solid;
}

/*商店連結2款*/

.shopbn2{ 
	width:5em;
	font-size:1em; 
	border: rgba(255,102,153,1) 2px solid;
	text-align:center; 
	display:inline-block; 
	margin:0 2%;
	margin-bottom:1em;
	color:rgba(255,102,153,1); 
	padding: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;
}
.shopbn2:hover{
    transform: rotateX(90deg);
}
.shopbn2:before{/*翻頁效果*/
    content: attr(data-hover);
    color: #fff;
	font-weight:bold;
	padding:0.2em;
	text-align:center; 
    background: #3CC; 
    border-radius: 5px 0 5px;
    transform-origin: 50% 0;
    transform: rotateX(-90deg);
    position: absolute;
    top: 100%;
    left: 0;
	width:5em;
	border: #3CC 2px solid;
}

.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;
}
	/*瀏覽器尺寸最大為900px時*/


@media (max-width:700px){
	#sppic img:nth-child(1){ width:100%}
	#sppic img:nth-child(2){ width:100%}	

}
@media (max-width:600px){

	.mobi{ display:block}
	.pc{ display:none}
	.topinfo{ width:100%; text-align:center}
	.sp_title{font-size:.8em; letter-spacing:normal; padding:0.2em 1em; width:100%;}
	

}	


/*3D旋轉*/

#cover {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
	margin:0 auto;
	box-sizing: border-box;
	width:100%;
	height:auto;
	margin-top:100px;
}
.carousel{
    position: relative;
    height:auto;
	width:100%;
	margin:0 auto;
    perspective: 1200px;
	display: flex;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	transform:translate(0,-8vh)
	
}
.carousel .carousel-item
{
    width: 100%;
}
.carousel .carousel-item img
{
    height: 300px;
    width:198px;
	box-shadow: rgba(0,0,0,.5) 0px 10px 10px, rgba(0,0,0,.5) 0 -5px 5px;
}

.coming{position:absolute; z-index:99; top:0; left:0; width:100%; text-align:center; color:#FFF; background:rgba(0,0,0,.8)}

.mobile{
    width: 70%;
	max-width:240px;
    height: auto;
	min-height:250px;
    position: absolute;
	top: 35%;
    left: 50%;
    z-index: 10000;
	box-sizing: border-box;
}



@media (max-width:900px){

}

@media (max-width:700px){
	.block{width:80%}
	#menu{width:100%;}
}
@media (max-width:600px){
	.mobi{ display:block}
	.pc{ display:none}
	

}	

