﻿@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");


/* ---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, fREigure, 
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;
	scroll-behavior: smooth; 
	font-family:'Noto Sans TC', sans-serif;
	
}

body{
	
background:#f2bc1e;

}


 	@media screen and ( max-width: 768px ){
		*{
			box-sizing:border-box; /* 讓 padding 與 width 解除關係 */
		}
		html,body{
			-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
		}
	}

/* --電腦版型------------------------------------- */


#WRAPPER{
	width:100%; 
	min-width:1100px; 
	margin:0 auto; 
}

header{
	clear:both;
	width:100%;
	margin:0 auto;
	background-color:#727171;
	padding:5px 0;
	}	

header img{
	padding-left:15px;
	}	

	@media screen and ( max-width: 768px ){
	#WRAPPER{ min-width:100%;}
	header img{
	width:80%;
	padding-left:5px;
	}	
}
	
article{
	width:100%;
	margin:0 auto;
	}

#title{
	width:100%;
	height:350px;
	margin:0 auto;
	overflow:hidden;
background: url(images/bg.png) repeat;
text-align:center;
	}	
	
#title_m{
	display:none;
	}

 	@media screen and ( max-width: 768px ){

#title{
		display:none;
	}		

	#title_m{
		display:block;
		}

	#title_m img{
		width:100%;
		}

	}


section{
  width: 1200px;
 	height:auto;
	overflow:hidden;
  margin:20px auto 10px auto;
	background:#FFF;
  border-radius: 10px;
	}	
	
section div{
  width: 90%;
 	height:auto;
	overflow:hidden;
	margin:10px 20px;
  line-height:1.8;
  font-size:1rem;
	}	
	
section h1{
    font-size:1.25rem;
    font-weight:900;
	text-shadow: -1px -1px 0 #FFF,
              1px -1px 0 #FFF,
              -1px 1px 0 #FFF,
              1px 1px 0 #FFF;
     margin:10px auto 0 auto;
     color:#cc1625;
	}	
section p{
    font-size:1.2rem;
    font-weight:450;
	}	
	
section div h2{
    position: relative;
    display: inline-block;
    font-size: 1.85rem;
    font-weight:900;
     color:#124095;
    z-index: 1;
    padding:0 5px;
	display:inline-block;
	}	

section div h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.35em;
    background-color: #ffeb3b; /* 螢光筆顏色 */
    z-index: -1;
}

section div h2 span{
    font-size:1.25rem;
    font-weight:450;
		text-shadow:none;
		color:#666;
		padding-right:15px;
	}	
	
section div ul{
	width:100%;
  margin:10px auto ;
	font-size:1.25rem;
	line-height:1.8;
}

section div ul li {
	margin:5px 10px 5px 10px;
	font-size:1.25rem;
	color:#111;
	display:block;
}
section div ul li span{
		color:#df2f56;
   font-weight:700;
	font-size:1.5rem;
   margin-right:10px;
}
section div ul li div {
	width:30%;
	float:left;
	text-align:center;
	margin: 20px 30px 10px 0;
	padding:10px 0 20px 0;
	background:#f8f7f4;
  border-radius:20px;
}

section div ul li div span{
	margin: 0 auto;
	color:#111;
	text-shadow: -2px -2px 0 #FFF,
              2px -2px 0 #FFF,
              -2px 2px 0 #FFF,
              2px 2px 0 #FFF;
}

section div ul li div:last-child {
	width:55%;
	padding:0 0 0 0;
	margin: 20px 0 20px 10px;
}

section div ul li div img{
	width:85%;
	display:block;
	margin:5px auto;
}
section div ul li div:last-child img{
	width:auto;
	height:220px;
	margin:0 15px 0 15px;
	float:left;
}

section div ul li div:last-child ul{
	background:#CEC;
}


section div ul li div:last-child ul li img{
	background:#ECE;
	margin:5px 10px;
}


section ul.book li {
	width:230px;
	height:350px;
	float:left; 
  padding:10px 5px;
  margin:3px 10px 10px 10px;
	background:#f8f7f4;
  border-radius:20px;
	text-align:center;
}


section ul.book li img {
	width:100%;
	height:195px;
	object-fit:contain;
	margin:0 auto;
	text-align:center;
}

section ul.book li h2{
	height:40px;
	font-size:1rem;
  align-content: center; 
	text-align:center;
	line-height:1.3;
    position: static;
}
section ul.book li h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background:none;
    z-index: -1;
}
section ul.book li h3{
	font-size:0.95rem;
	color:#333;
	line-height:1.5;
}
section ul.book li h3 span{
	font-size:1.25rem;
	color:#d20962;
	font-weight:700;
}

section ul.book li img.shop {
	width:35px;
	height:auto;
	margin:8px auto 0 auto;
}


footer{
	clear:both;
	width:100%;
	margin:0 auto;
	background:#4B3100;
	color:#FFF;
	padding:8px 0;
	text-align:center;
	font-size:0.85rem;
	line-height:1.5;
}



	@media screen and ( max-width: 768px ){

section{
  width: 100%;
  margin:0 auto 30px auto;
  border-radius: 5px;
	}	
	
section div{
  width: 95%;
	margin:10px auto;
	}	
	
section h1{
    font-size:1.425rem;
	}	
section p{
    font-size:1.185rem;
	}	
	
section div h2{
    font-size: 1.35rem;
    padding:0 5px;
	}	

section div h2::before {
	display:none;
}

section div h2 span{
    font-size:0.95rem;
		padding-right:10px;
	}	
	

section div ul li {
	font-size:1.125rem;
}
section div ul li span{
	font-size:1.2rem;
   margin-right:5px;
}
section div ul li div {
	width:98%;
	float:none;
	margin: 20px auto 0 auto;
	padding:10px 0 10px 0;
}

section div ul li div:last-child {
	width:98%;
	margin: 0 auto 0 auto;
	padding:0 0 0 0;
}

section div ul li div img{
	width:60%;
	height:auto;
}
section div ul li div:last-child img{
	width:auto;
	height:200px;
	margin:0 5px 0 5px;
}


section ul.book li {
	width:48%;
  margin:3px 1% 10px 1%;
}


section ul.book li img {
	width:100%;
	height:180px;
}

section ul.book li img.shop {
	width:30px;
}


footer{
	font-size:0.75rem;
	line-height:1.5;
}

footer span{
	display:block;
}

}



button {
		border:none;
   cursor: pointer;
    border-radius: 4px;
    background: #ffe113;
    color: #26435f;
    font-size: 1.655rem;
    font-weight: bold;
    transition-duration: 0.4s;
    box-shadow: 0 5px 5px #26435f;
  letter-spacing: 3px;
  	padding:3px 15px;
  display:inline-block;
  margin:10px auto 0 auto;
	}

button:hover {
    background: #26435f;
    box-shadow: 0px 2px 10px 5px #fff69d;
    color: #ffe113;
}
	

/* -- sidemanu for pc -- */
.side-menu{
	position: fixed;
	width: 110px;
	top:20%;
	right:0;
	padding: 0;
	box-sizing: border-box;
	opacity:0.75; 
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	z-index:999999;
	font-size:1.05rem;
	text-align:center;
}
label a{
	display: block;
	color: #FFF;
	text-decoration: none;
	font-weight: 550;
	letter-spacing: 2px;
	margin:15px 0;
	background:#e50061;
	padding: 8px ;
}

label ul.area2 li{ 
	margin:5px 0;
}
label ul.area2 li:nth-last-child(1){ 
}



@media screen and ( max-width: 768px ){	

	
/* -- sidemanu for pc -- */
.side-menu{
	width: 60px;
	top:25%;
	right:0;
	padding:3px;
	font-size:0.955rem;
}

}




#car{ /* 購物車 */
	width:145px;
  position:fixed;
  z-index:999999;
}

#car a{ /* 購物車 */
width:25px;
  height:auto;
	margin:0 auto;
	border-radius: 15px;
	background: #ff4f81;
  color:#FFF;
  font-size:1.15rem;
  text-align:center;
  padding:5px 3px;
  position:fixed;
	display:inline-block;
  top:42px;
	right:5px;
	box-shadow: 0 5px 15px #193047;
  border:1px solid #EEE;
  font-weight:800;
  line-height:1.2;
}


iframe{ /* 購物車 */
width:140px;
  position:fixed;
  right:40px;
  top:42px;
  height:180px;
  overflow:hidden;
}  

@media screen and ( max-width: 768px ){	

	#car{ /* 購物車 */
		width:auto;
	}
	
	#car a{ /* 購物車 */
	width:35px;
	  height:auto;
		margin:0 auto;
		border-radius: 5px;
	  font-size:1.15rem;
	  top:80%;
	  line-height:1.5;
	}

	iframe{
	display:none;
	}
}

