﻿/* ---reset.css--- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1; 
}
ol, ul, li{
	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;
}
/* ---reset.css--- */
a { text-decoration:none;}

html {	
	-webkit-text-size-adjust:none;

}

body{

font-family: Noto Sans TC,sans-serif;arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;
	background-color:#f3aeb2;
	margin-bottom:0;
	padding-bottom:0px;
	font-family: MyHelvetica;
	src: local("Helvetica Neue Bold"),
		local("HelveticaNeue-Bold"),
		url(MgOpenModernaBold.ttf);
}


 	@media screen and ( max-width: 768px ){
		*{
			box-sizing:border-box; /* 讓 padding 與 width 解除關係 */
		}
		html,body{
			-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
		}
	}
/* --電腦版型------------------------------------- */

#WRAPPER{ position:relative; width:100%; min-width:1200px; margin:0 auto; overflow:hidden;}
 	@media screen and ( max-width: 768px ){
		#WRAPPER{ min-width:100%;}
	}
header{
	clear:both;
	width:100%;
	margin:0 auto;
	background-color:#727171;
	}

	
article{
	width:100%;
	margin:0 auto;
}



#title{
	width:100%;
 	height:auto;
	overflow:hidden;
	margin:0 auto;
	font-weight: bold;
   background:url(images/bg.png) 70% 30% no-repeat;
	 background-size:cover;
 	}
	
#title_pc{
	width:100%;
 	height:auto
	overflow:hidden;
	margin:0 auto;
	padding:0;
	}
	
	
 #title_mobile{
	display:none;
	}
	@media screen and ( max-width: 768px ){
		#title_pc{	display:none;}
		#title_mobile{	display:block;}
		#title_mobile img{width:100%;}
	}	

#title_img{
	width:60%;
	height:auto;
	overflow:hidden;
	margin-left:50px;
	}
		
#bg1_img{ 
	width:28%;
	height:auto;
	right:0;
	overflow:hidden;position:absolute;margin-right:8%;
}
#info_img{ 
	width:26%;
	position:absolute;
	right:0;
	margin-top:18%;margin-right:8%;
}

/*MENUTOP選單*/
menu{
	width:100%;
	height: auto;
	overflow: hidden;background:#FFF;
  }
menu ul{
		width:1150px;height: auto;overflow: hidden;
	color:#FFF;
	margin:0 auto;
	}
menu li{
	float:left;
	width:auto;
	height:50px;
	background: #e96187;
	border-radius: 50px; 
	border: #FFF double 3px;
	margin:10px;
	padding:15px;text-align:center; display: flex; align-items: center;
}

menu li:last-child{	
	background: #009FCC;
}
menu li:last-child a{
	color:#FFF;font-weight: bold;
	font-size:20px;text-align:center;

}
menu li a{
	color:#FFF;font-weight: bold;
	font-size:25px;text-align:center;
}


menu li:hover{
	color:#FFF;font-weight: bold;
	font-size:26px;
	background: #3398fe;
}


	@media screen and ( max-width: 768px ){

	menu ul{
		width:100%;
		}
	menu li{
		width:auto;margin:0 auto;
		margin-top:5px;
		margin-bottom:5px;
		text-align:center;
	
	}

}	
	

section{
	width:100%;
	margin:0 auto;
	height:auto;
	overflow:hidden;
	margin-top:80px;
	}
section div{
	width:1200px;
	margin:0 auto;
	height:auto;
	overflow:hidden;
	}
	

h1{
	color:#fff;
 	font-size: 55px;
  line-height: 30px;
	letter-spacing: 4px; 
	position:absolute;
	margin-top:-20px;
	 -webkit-text-stroke: 5px #8f1d7e;
    text-shadow:
       5px 5px 0 #FFF,
     -1px -1px 0 #FFF,  
      1px -1px 0 #FFF,
      -1px 1px 0 #FFF,
       1px 1px 0 #FFF;
       z-index:99;
}




#info{
	width:100%;margin:0 auto;margin-bottom:40px;
	background:#F8DBED;
	border-radius:50px;	opacity:0.9;
	}



#txt{
	width:1300px;margin:0 auto;height:auto;
	overflow:hidden;
	font-size:18px;
	color:#41108F;
	line-height:1.5;
	letter-spacing: 3px;
	padding:30px;
	}

h2{
	font-size:30px;color:#571113;line-height:2;
	}	
	
#txt span{
font-weight: bold;
	font-size:20px;
	}



#book h4{
	width:100px;
	height:auto;
	margin:0 auto;
	margin-top:5px;
	background:#333;
	padding:5px;
}
#book h4 a{
	color:#FFF;
	font-size:18px;
}

#sample{
 	width:810px;
 	height:auto;overflow:hidden;

}

#sample h2{
	color:#770077;
}




	
 	@media screen and ( max-width: 768px ){


section{
	margin-top:50px;
	}
section div{
	width:95%;
	}

h1{
 	font-size: 40px;
}
#info div{
margin-top:5px;
margin-bottom:0;
	}


#txt{
	width:100%;
	font-size:18px;
	line-height:1.5;
	}
	
h2{
	font-size:20px;color:#571113;line-height:2;
	}	
		
#txt span{
	padding-top:50px;
	}
}	


#BOX{
background:#EEE;
padding:20px;
 	height:auto;overflow:hidden;	
	}
	

#book{
 	width:320px;
 	height:auto;overflow:hidden;
 	margin:0 auto;
 	text-align:center;
	float:left;
	font-size:20px;	line-height:1.5;
}

#book img{
 	width:200px;
 	height:auto;
}


#book span{
	color:#FF0088;
}
#book .small{
	font-size:18px;
}
 	@media screen and ( max-width: 768px ){

	
#book{
 	width:80%;
	float:none;
	font-size:25px;
}

#book h4{
	width:50%;
}
#book h4 a{
	color:#FFF;
	font-size:20px;
}

#sample{
 	width:100%;
	padding-top:30px;

}
#sample h2{
	font-size:20px;
	background-color:#feda00;
}
}	





	
/*SAMPLE*/
		#warm_box {
		width:100%;
		text-align: center;
		margin: 0 auto;
		padding:5px;
		}
		#warm_box ul{
		text-align: center;
		margin: 0 auto;
		}
     #warm_box li {
		text-align: center;
		width:220px;
		float:left;
		padding: 5px 5px;border-radius: 5px;
		border: 2px solid #fff;
		background-color: #fff;
		margin:10px;
		padding:10px;
		}	
		#warm_box img {
		width: 100%;
		height:auto;
		}
	     #warm_box h2 {
	font-size:25px;color:#571113;line-height:2;text-align:left;
		}		
		
	 @media screen and ( max-width: 768px ){
 		#warm_box {
 		width:100%;
		display:block;
		}
		#warm_box li {
			width:28%;
			height:auto;
			overflow: hidden;
			float:left;
			margin:2 auto;
			margin-left:5px;
        }	
		#warm_box img {
		width: 100%;
		height:auto;
		}
	 }
	 

			
	
footer{
	clear:both;
	width:100%;
	margin:0 auto;
	background-color:#A00;
	height:auto;
	padding:10px;
}

footer p{
	font-size:13px;
	text-align:center;
	line-height:1.8;
	color:#FFF;
}







#car{ /* 購物車 */
            text-align: left;
	width:40px;
	right:60px;
  position:fixed; 	top:15px;
  z-index:99999;
}

#car span{ /* 購物車 */
	display:block;
	margin:0 auto;
  background-color:#F00;
  color:#FFF;
  font-size:17px;
  text-align:center;
   border-radius:5px;
   padding:2px;
}

#car_number{ /* 購物車數量 */
	width: 15px;
	height: 15px;
	border-radius:999em;
	background-repeat: no-repeat;
	right: 55px;
  position:fixed; 	top: 10px;
	color:#FFFFFF;
	background-color:#900;
	font-size:11px;
	text-align:center;
	padding-top:1px;
  z-index:9999;
}
iframe{ /* 購物車 */
width:150px;
  position:absolute;
  right:25px;
  top:25px;
  height:auto;
  overflow:hidden;
}  

@media screen and ( max-width: 768px ){	
#car{ /* 購物車 */
	width:40px;
	height:40px;
	right:20px;
  position:fixed;
  top:30px;
  z-index:9999;
  color:#FFF;
  font-size:13px;
}
#car_number{ /* 購物車數量 */
	width: 15px;
	height: 15px;
	border-radius:999em;
	background-repeat: no-repeat;
	right: 15px;
  position:fixed; 	top: 25px;
	color:#FFFFFF;
	background-color:#900;
	font-size:11px;
	text-align:center;
	padding-top:1px;
}

iframe{ /* 購物車 */
	display:none;
}  
	
}


/*sale*/
		#sale_box {
		width:1200px;
		height:auto;
		overflow:hidden;
		margin:0 auto;
		margin-top:30px;
		margin-bottom:20px;
		margin-left:30px;
		padding:10px;
		}
		

		#sale_box #book {
	 	width:240px;
	 	height:auto;overflow:hidden;
	 	text-align:center;
		float:left;
		font-size:20px;	line-height:1.5;
		margin:10px;
		padding-top:10px;
		padding-bottom:10px;
		}
		
#sale_box #book div {
	 	width:80%;
	 	height:280px;
		}
		#sale_box #book img {
	 	width:100%;
	 	height:auto;
		}		
		
		
		
		
		
		#sale_box #book img {
	 	width:100%;
	 	height:auto;
		}	
		
		
		
				#sale_box #book h4{
	width:80%;font-size:20px;
}
@media screen and ( max-width: 768px ){	

		#sale_box {
		width:100%;
		padding:10px;
		margin:0px;
		}

		#sale_box #book {
	 	width:44%;height:auto;
		padding-top:0;
		}
		#sale_box #book img {
	 	width:100%;
		}

		#sale_box #book h4{
	width:80%;
}
		#sale_box #book a{
	color:#FFF;
	font-size:18px;
}

}
	
		
		