﻿@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:#f7c8c9;
}

 	@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:1200px; 
	margin:0 auto; 
    background: linear-gradient(to right,#e5e5e5 1px,transparent 1px),
     linear-gradient(to bottom,#e5e5e5 1px,transparent 1px);
     background-repeat: repeat;/* 默认为 repeat */
     background-size: 5px 5px;
}

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



article{
	width:100%;
	margin:0 auto;
	}

.title{
	width:100%;
	height:560px;
	margin:0 auto;
	text-align:center;
	background:url(images/bg.png) ;
	background-size:cover;
	}	
	
.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:0 auto 0 auto;
  text-align:center;
	}	

section div.product {
	margin:20px auto;
	text-align:center;
}

.product .icon{
	height:70px;
	position: absolute;
	margin-left:-70px;
}

.product .icon1{
	height:50px;
	position: absolute;
	margin-left:-70px;
	margin-top:10px;
}


.product h1 {
	display:inline-block;
	font-size:1.75rem;
	font-weight:bold;
	margin:10px auto ;
	LETTER-SPACING:3px;
	color:#e50061;
	padding:5px 15px; 
	text-align:center;
	background:#edecea;
}

h2 {
	width:auto;
	display:block;
	font-size:1.15rem;
	font-weight:550;
	margin:10px auto ;
	LETTER-SPACING:2px;
	color:#111;
	padding:5px 15px; 
	text-align:center;

}

.product-list {
	width:1200px;
			list-style: none;
		padding: 0;
		
	margin:10px auto;
		display:inline-block; /* 預設區塊模式 */
  text-align:center;
}



.product-item {
	width:180px;
	height:auto;
	overflow: hidden;
	float:left;
    padding: 10px 5px;
		margin:5px 5px ; 
    background:rgba(242,242,242,0.35);
    border-radius: 5px;

}
.product-item_JET {
	width:30%;
	height:auto;
	overflow: hidden;
	float:left;
    padding: 10px 5px;
		margin:5px 5px ; 
    background:rgba(242,242,242,0.55);
    border-radius: 5px;

}
.product-item_book {
	width:23%;
	height:auto;
	overflow: hidden;
	float:left;
    padding: 10px 5px;
		margin:5px 5px ; 
    background:rgba(242,242,242,0.55);
    border-radius: 5px;

}

.product-image  {
	width:100%;
	height:200px;
	margin:0 auto;
	text-align:center;
	object-fit:contain;
}

.product-image a img {
	width:100%;
	height:200px;
	object-fit:contain;
	text-align:center;
}


.product-title {	
	overflow:hidden;
	margin:3px auto;
	font-size: 1rem;
	font-weight: 500; 
  align-content: center;
	line-height:1.3;
}

.product-title a{	
	color:#333;
}

.product-price {
}

.product-price span{
	display:block;
	line-height:1.15;
}
mark{
	color:#e50061;
		font-size:1.35rem;
		font-weight:700;
    display:inline-block;
    background:none;
    padding:5px;
    
}
	
.product-button button {
    padding: 8px 10px;
    background: #d32f2f;
    color: #FFF;
    border: 1px solid #d32f2f;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin:15px 3px 0px 3px;
}

.product-button button:hover {
    background: #FFF;
    color:#d32f2f;
}

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%;
  padding: 0 5px 10px 5px;
  margin:0 auto 10px auto;
	}	
	
section div.product {
	margin:10px auto;
	text-align:center;
}

.product .icon{
	height:60px;
}

.product .icon1{
	height:40px;
}


.product h1 {
	font-size:1.5rem;
}

h2 {
	font-size:1.05rem;
	padding:5px 5px; 

}

.product-list {
	width:100%;
}



.product-item {
	width:48%;
    padding: 10px 5px;
		margin:5px 1% ; 

}
.product-item_book {
	width:47%;
	height:auto;
	overflow: hidden;
	float:left;
    padding: 10px 5px;
		margin:5px 5px ; 
    background:rgba(242,242,242,0.55);
    border-radius: 5px;

}


.product-image  {
	width:100%;
	height:200px;
	margin:0 auto;
	text-align:center;
	object-fit:contain;
}

.product-image a img {
	width:100%;
	height:200px;
	object-fit:contain;
	text-align:center;
}


.product-title {	
	overflow:hidden;
	margin:3px auto;
	font-size: 1rem;
	font-weight: 500; 
  align-content: center;
	line-height:1.3;
}

.product-title a{	
	color:#333;
}

.product-price {
}

.product-price span{
	display:block;
	line-height:1.15;
}
mark{
	color:#e50061;
		font-size:1.35rem;
		font-weight:700;
    display:inline-block;
    background:none;
    padding:5px;
    
}
	
.product-button button {
    padding: 8px 10px;
    background: #d32f2f;
    color: #FFF;
    border: 1px solid #d32f2f;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin:15px 3px 0px 3px;
}

.product-button button:hover {
    background: #FFF;
    color:#d32f2f;
}
	
footer{
	font-size:0.75rem;
	line-height:1.5;
}

footer span{
	display:block;
}


}
	


/* -- sidemanu for pc -- */
.side-menu{
	position: fixed;
	width: 120px;
	top:30%;
	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;
	background:#111;
}
label a{
	display: block;
	color: #FFF;
	text-decoration: none;
	font-weight: 550;
	letter-spacing: 2px;
	margin:5px 0;
	background:#e4002b;
	padding: 8px 3px ;
}
label mark{
	width: 100%;
	margin: 0;
	color:#111;
	background:yellow;
	font-size:1rem;
	padding: 8px 0;

}

label ul.area2 li{ 
	margin:0 0 5px 0;
	color: #FFF;
}
label ul.area2 li div{ 
	margin:3px 0;
}
label ul.area2 li div a{ 
	letter-spacing: 1px;
	margin:3px 0;
	background:none;
	padding: 1px 0;
	display: inline-block;
}

label ul.area2 li div a:hover{ 
	background:#e4002b;
	color: #FFF;
	font-size:1.15rem;
	
}

label ul.area2 li div span{ 
	display:block;
	margin:5px 0;
}

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

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

}


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

#car a{ /* 購物車 */
width:133px;
  height:auto;
	margin:0 auto;
	background: #ff4f81;
  color:#FFF;
  font-size:1.15rem;
  text-align:center;
  padding:5px 3px;
  position:fixed;
	display:inline-block;
  top:168px;
	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:3px;
  top:3px;
  height:165px;
  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;
		right:0;
	}

	iframe{
	display:none;
	}
}
