/* banner */

.content{ 
	margin: 0 auto;
	position: relative;
	width: 100%;
	max-width: 1280px;	
	overflow-x: hidden;
	overflow-y: hidden;
}

.banner{
	position: relative;
}

.b_edit{
	padding: 0 10px 10px 10px;
}

.bannerimg{ 
	overflow:hidden; 
	box-sizing: border-box;
	position: relative;
}

.banner_d{
	max-width: 100%;
	height: auto;
}  

.banner_m{
	display: none;
}                                                                                                   

/* 左右切換鈕 */

.arrow_l, .arrow_r{
	position: absolute;
	width: 30px;
	height: 100%;
	background-color: #2E385A;
	color: #fff;
	font-size: 1.5em;
	display: flex;
	justify-content:center;
	align-items:center;
	z-index: 1;
}

.arrow_r{
	position: absolute;
	right: 0;
}


/* 圓點切換 */


.banner_menu  {
	width:100%;
	height: 15px;
	text-align: center;
	position: absolute;
	bottom: 55px;
}

.banner_menu:after{
	content: '';
	display: block;
	clear: both;
}

.round {
	width:100%;
	position: absolute;
	text-align: center;
}

.round li, .round a {
	width: 15px;
	height: 15px;
	display: inline-table;
	border-radius: 50%;
}

.round li a{
	background-color: #fff; 
	margin: 0 6px;
	display: inline-block;
}

.round li a.active {
	background-color: #2E385A;
}

.round li a:hover {
	background-color: #2E385A;
}
	
.bannerimg.bannerMobile{
	display: none;
}

@media screen and (max-width: 1023px){
	.b_edit{
		padding: 0 15px 15px 15px;
	}
}

@media screen and (max-width: 767px){
	
	.b_edit{
		padding: 0 10px 10px 10px;
	}
	
	.bannerimg.bannerPC{
		display: none;
	}
	.bannerimg.bannerMobile{
		display: block;
	}
	.banner_d{
		display: none;
}  
	.banner_m{
		display: block;
		width: 100%;
		height: auto;
	}  
	
	.arrow_l, .arrow_r{
		width: 20px;
	}

	.banner_menu  {
		bottom: 40px;
	}
	
}


/* 商品block */

.p_edit{
	padding: 0 10px 10px 10px;
	width: 100%;
	box-sizing: border-box;
}

.p_edit:after{
	content: '';
	display: block;
	clear: both;
}

.p_block:last-child{
	margin-right: 0px;
}

.p_block{
	float: left;
	width: 19.2%;
	margin-right:1%; 
	position: relative;
}



.product_d{
	max-width: 100%;
	height: auto;
}

.p_name{
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(45,56,90,0.6) ;
	top: 0;
	left: 0;		
}

.p_info{
	padding:10% 0px;
	box-sizing: border-box;
	width: 80%;
	height: 50%;
	display: block;
	outline: 2px solid #fff;
	position: absolute;
	top: 25%;
	left: 10%;
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 1.3em;
	vertical-align: middle;
}

.p_name_en{
	word-wrap: break-word;
	display: block;
	line-height: 1.4em;
	font-size: 0.9em;
}


@media screen and (max-width: 1023px){
	.p_edit{
		padding: 0 15px 15px 15px;
	}

	.p_info{
		font-size: 0.9em;

	}

	.p_name_en{
		font-size: 1em;
	}


}

@media screen and (max-width: 767px){
	
	.p_edit{
		padding: 0 10px 10px 10px;
	}

	.p_block{
		float: none;
		width: 100%;
		display: table;
		margin-bottom: 10px;
	}

	.p_img, .p_name{
		display: table-cell;
	}

	.p_img{
		width: 40%;
	}

	.product_d{
		max-width: 100%;
		height: auto;
	}

	.p_name{
		width: 60%;
		left: 0;
		background-color:#fff; 
		vertical-align: middle;
		position: static;
	}

	.p_info{
		width: 100%;
		height: auto;
		text-align: left;
		padding: 0 0 0 30px;
		outline: 0px;
		font-size: 1.6em;
		position: static;
		color: #2E385A;
	}

	.p_name_en{
		font-size: 0.8em;
		
	}
}

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

	.p_info{
		font-size: 1.1em;
	}

	.p_name_en{
		font-size: 0.8em;
		
	}
}
