@charset "utf-8";
/* CSS Document */
body {
  Font-family:微軟正黑體,Arial;
  margin:0 auto;
  padding:0;
  background:url(images/bg.jpg)  no-repeat top left fixed
  /*-webkit-linear-gradient(top, #FFF 20% ,#920000 70%) fixed*/;
  background-size: cover; 
  overflow-x:hidden;
  /*animation:60s bgani infinite linear;*/
}
@keyframes bgani {
		0% { background-position:0}
		100% { background-position:bottom}
	}

	
a {text-decoration:none;}

main{ 
	width:100%; 
	margin:0 auto;
	text-align:center; 
	position:relative;
	overflow-x:hidden;
}

p{line-height:2.5em;margin:0%; text-indent:2em; text-align:left; color:#FFF; font-weight:bolder; text-shadow:#00375f 0 0 10px, #00375f 0 0 15px; }
p a{text-decoration:none;}

.block{
	display:block;
	position:relative;
	margin:0;
	padding:1%;
	width:100%;
	background: url(images/bgdeco.png) fixed top center no-repeat,-webkit-linear-gradient(top, rgba(255,255,255,0) 0% ,rgba(250,190,120,.7) 70%) ;
	background-size:contain;
	text-align:center;}
.block2{
	display:block;
	position:relative;
	color:#FFF;
	margin:2% auto;
	padding:2% auto;
	width:55%;
	background:;
	font-weight:700;
	text-align:center;
	letter-spacing:.1em;
	z-index:3;
	}

h1{ color:#FFF; text-shadow:#00375f 0 0 10px, #00375f 0 0 15px; line-height:1.5em;}
h1 span{color:#00375f; font-size:.7em;text-shadow:#FFF 0 0 5px,#FFF 0 0 7px,#FFF 0 0 9px,#FFF 0 0 11px}
.visual{
	width:100vw;
	display:block;
	position: relative;
	margin:auto;
	text-align:right;
	z-index:99}
.visual img{
	width:100%;
	max-width:1500px;}

/*cover*/
#cover{ max-width:500px; min-width:300px; display:block; margin:2% auto; position:relative; width:20vw; box-shadow:#FFF 0 0 5px}	
#cover:hover{ animation:big 0.2S ease-in both;}
@keyframes big {
		0% { transform:none; }
		100% { transform:scale(1.05); }
	}

.copyright{display:block;
  color:#a68f3d;
  font-size:9px;
  margin:2% auto;
  letter-spacing:.1em;
  line-height:3em}

/*試閱*/
.gift{ width:25%; margin:1.5% 2%; display:inline-block; vertical-align: middle; position:relative; aspect-ratio: 1 / 1;text-align:center; }
.pic1{/*橫*/ max-width:400px; width:100%; padding-top:15%}
.pic2{/*直*/ max-height:400px; height:100%}
.pic1:hover{animation:big 0.2S ease-in both;}
.pic2:hover{animation:big 0.2S ease-in both;}
@keyframes big {
		0% { transform:none; }
		100% { transform:scale(1.1); }
	}
/*youtube*/
#video{aspect-ratio: 16 / 9; width:60%}
/*price＆info*/
.price{ text-align:center; margin:2% auto; color:#00375f;text-shadow:#FFF 0 0 5px,#FFF 0 0 7px,#FFF 0 0 10px,#FFF 0 0 15px,#FFF 0 0 20px;}
.stxt{ letter-spacing:.2em; font-size:2em; line-height:3em; color:#FFF; text-shadow:#ffabd9 0 0 5px,#ffabd9 0 0 7px,#ffabd9 0 0 10px,#ffabd9 0 0 15px,#ffabd9 0 0 20px;}



.book{ display:block; margin:5% auto}
.bookcover{ display:inline-block; margin:2%; width:35%}
.bookcover img{ width:100%; box-shadow:2px 2px 5px #A6722B}
.bookcover img:hover{ animation:big 0.2S ease-in both;}
.bookgift{ display:inline-block; width:52%; margin:2%; vertical-align:top}
.bookgift img{ width:100%}



/*shop*/
.btn{
    font-size:1.2em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: .8% 2%;
    border: 2px solid #a68f3d;
	background:rgba(0,0,0,.5);
    overflow: hidden;
	margin:3% 1% 0% 1%;
    position: relative;
	display:inline-block;
	color:#EDC816;
	width:16%;
    z-index:5;
    transition: all 0.5s;
	cursor:pointer;
	}
.long{border-radius:5em;}

.btn:hover{
    color: #FFF;
	text-shadow:#a68f3d 1px 1px 4px,#a68f3d 0px 0px 10px,#a68f3d 0px 0px 10px,#a68f3d 0px 0px 10px;
    animation: swoosh 0.4s ease-out 0.2s;
	border: 2px solid #FFF;
}
.btn:before,
.btn:after{
    content: "";
    background-color:#a68f3d;
    height: 100%;
    width: 100%;
    opacity:.7;
    position: absolute;
    top: 0;
    left: -100%;
    z-index: -1;
    transition: all 0.4s ease-out 0.1s;
	
}
.btn:after{
    opacity:0;
    transform: scale(0.9,0.7);
    left: 0;
    transition: all 0.3s ease-out 0s;
}
.btn:hover:before{ left: 100%; }
.btn:hover:after{
    opacity: .3;
    transform: scale(1);
}
@keyframes swoosh{
    0%,100%{ box-shadow: 0 0 0 0 transparent; }
    50%{ box-shadow: 0 0 0 8px rgba(165,140,60,0.5); }
}
/*shop over*/
/*cast*/
.cast{
	display:block; 
	background:-webkit-linear-gradient(top, rgba(40,50,145,0) 5% ,rgba(40,50,145,.7) 80%);
	margin:2% auto;
	box-shadow:#2c3491 2px 5px 15px;
	position:relative;
	width:80vw;
	border-radius:1.5em}
.bgcolor{background:-webkit-linear-gradient(top, rgba(170,140,220,0) 5% ,rgba(170,140,220,.7) 80%);
box-shadow:#a88cde 2px 5px 15px;}
.castimg{ width:25%; display:inline-block; margin:2%; vertical-align:middle}
.castimg img{ width:100%; max-width:600px; border-radius:10em}
.castimg img:hover{ animation:cast 0.2S ease-in both;}
@keyframes cast {
		0% { transform:none; }
		100% { transform: rotate(5deg); }
	}
.casttxt{ width:55%; margin:0 1%; vertical-align:middle; display:inline-block}
.casth1{ font-size:2em; letter-spacing:.1em; margin:2% auto; font-weight:bolder; text-shadow:#FFF 0 0 5px,#FFF 0 0 8px}
.casth2{font-size:1.1em; letter-spacing:.1em; margin:2% auto;background:linear-gradient(90deg,rgba(170,140,220,0) 0%,rgba(170,140,220,.8)25%,rgba(170,140,220,.8)75%, rgba(170,140,220,0) 100%); width:80%; color:#FFF}
.casth3{font-size:1em; margin:4% auto; text-align:left; text-indent:2em; line-height:2em; color:#FFF; letter-spacing:.1em}
/*特殊標題*/	
 
.gradient3{ background:linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.8)25%,rgba(0,0,0,.8)75%, rgba(0,0,0,0) 100%); color:#6CBB5A; width:100%; margin:auto}

.gradient4{color:#FFF; text-shadow:#57BACE 0 0 5px,#57BACE 0 0 10px,#57BACE 0 0 15px,#57BACE 0 0 20px; font-size:25px; letter-spacing:.8em;  margin:3% auto; line-height:3em
}
.gradient4  span {
  position: relative;
  display: inline-block;
  -webkit-animation: jump 1.3s ease infinite;
  }
.gradient4 span:nth-child(2) {
  -webkit-animation-delay: 0.1s;
}
.gradient4 span:nth-child(3) {
  -webkit-animation-delay: 0.2s;
}
.gradient4 span:nth-child(4) {
  -webkit-animation-delay: 0.3s;
}
.gradient4 span:nth-child(5) {
  -webkit-animation-delay: 0.4s;
}
.gradient4 span:nth-child(6) {
  -webkit-animation-delay: 0.5s;
}
.gradient4 span:nth-child(7) {
  -webkit-animation-delay: 0.6s;
}
.gradient4 span:nth-child(8) {
  -webkit-animation-delay: 0.7s;
}
.gradient4 span:nth-child(9) {
  -webkit-animation-delay: 0.8s;
}
.gradient4 span:nth-child(10) {
  -webkit-animation-delay: 0.9s;
}
.gradient4 span:nth-child(11) {
  -webkit-animation-delay: 1s;
}
.gradient4 span:nth-child(12) {
  -webkit-animation-delay: 1.1s;
}
@-webkit-keyframes jump {
  0%{ top:0}
  50% {top:15px}
  100% {top:0} }
  
/*特殊標題結束*/	
/*固定選單*/	

#menu {
	position:fixed !important;
	top:0;
	left:0;
	z-index:1001;
	margin:1%;
	font-weight:bold;
	}
.combobox{
	width:65px;
	aspect-ratio: 1 / 1;
	opacity:1;
	margin:0px auto;
	cursor:pointer;
	}
.combobox img{ width:100%; text-align:center}

#menu:hover .selector{ display:block;}
.selector{ 
	position:absolute;
	display:none;
	width:150px;
	font-size:16px;
	color:#AA8CDC;
	padding-top:60px;left:0px;
	}
.selector:hover{ display:block;}
.selector a{ color:#AA8CDC;text-decoration:none; font-weight:bold;}
.selector span{ display:block;background:#FFF; padding:8 10;text-align:center; margin:4% auto; cursor:pointer;box-shadow:#AA8CDC 0 0 8px}
.selector span:hover{transform:scale(1.1);transition: 0.5s ease; color:#FFF; background:#AA8CDC}

/*背景閃爍*/
.starlight{
	width: 100%;
	height: 100%;
	position:fixed;
	z-index:-10;
	padding:0;
	margin:0;
}

/*背景閃爍*/



@media (max-width:600px){
.block2{width:90%; margin-left:4%}
.cover{ position:relative;width:90vw; text-align:center; margin:auto; display:block;}
.btn{
	margin:4% auto;
	display:block;
	text-align:center;
	width:45%;}
#video{ width:95%}
.gift{ width:70%; margin:3% auto; display:block; vertical-align: middle; position:relative; aspect-ratio: 1 / 1;text-align:center; }
}

#nav{ min-height:1vh; text-align:center; margin-bottom:0;z-index:B6DDFE9; margin-top:1em}
#nav a{color:#572A1B;animation: 1s linear 0s normal none infinite jello-horizontal;margin:1%;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);
  }
}

