@charset "utf-8";
#tb{
	display:grid;
	grid-template-columns:calc(25% - (100px/5)) calc(25% - (100px/5)) calc(25% - (100px/5)) calc(25% - (100px/5)) calc(25% - (100px/5));
	row-gap:20px;
	column-gap:20px;
	width:auto;
	height:auto;
	overflow:hidden;
}
.tb_item{
	display:block;
	width:auto;
	height:auto;
	overflow:hidden;
	transition:all 0.4s;
	vertical-align:top;
}
a.tb_tb{
	display:block;
	overflow:hidden;
	width:auto;
	height:auto;
	text-align:center;
}
.tb_pic{
	display:block;
	overflow:hidden;
	margin:auto;
	width:auto;
	height:auto;
	border:1px solid #ddd;
	position:relative;
	padding-bottom:100%;
}
a.tb_pic:hover .tb_modal{
	transform:scale(1,1);
	transition:all 0.4s;
}
a.tb_name{
	display:block;
	overflow:hidden;
	margin:auto;
	width:auto;
	height:auto;
	text-align:center;
	font-size:14px;
	white-space:nowrap;
	padding:10px;
}
.tb_price{
	display:block;
	overflow:hidden;
	margin:auto;
	width:auto;
	height:auto;
	text-align:center;
	font-size:12px;
	color:#f00;
}
.tb_sale{
	display:block;
	overflow:hidden;
	margin:auto;
	width:auto;
	height:auto;
	text-align:center;
	font-size:12px;
	color:#999;
	text-decoration:line-through;
}
.tb_tbody{
	display:block;
	overflow:hidden;
	margin:auto;
	width:auto;
	height:auto;
	padding-top:5px;
}
.tb_tb:hover .tb_modal{width:100%;height:100%;transition:all 0.4s;}

@media (min-width:767px) and (max-width:1000px)
{
	.tb_item{width:33.3%;transition:all 0.4s;}
	.tb_tb{margin:10px;}
	a.tb_pic{
		height:180px;
	}
}
@media (max-width:767px)
{
	.tb_item{width:50%;transition:all 0.4s;}
}
@media (max-width:480px)
{

	.tb_item{
		width:100%;
		transition:all 0.4s;
	}
	
}
