@charset "UTF-8";
@import url(cmn.css);
@import url(base.css);

/*--------------------------------------------------*/

.cate{
	margin-bottom: 40px;
}
.cate ul{
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	text-align: center;
}
.cate ul li{
	display: flex;
	align-items: stretch;
	justify-content: center;
}
.cate ul li a{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	text-decoration: none;
	font-size: 1.7rem;
	border: 1px solid #ccc;
	margin-right: 10px;
	transition: 0.2s;
}
.cate ul li a:hover{
	background: #f9f9f9;
	color: #000;
	border: 1px solid #222;
}
@media screen and (max-width: 850px){
	.cate{
		width: calc(100% + 30px);
		margin-left: -15px;
		position: relative;
		background: #f5f5f5;
		padding: 20px 0;
		margin-bottom: 30px;
	}
	.cate:before,
	.cate:after{
		content: "";
		width: 30px;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		pointer-events: none;
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100 */
		background: -moz-linear-gradient(left,  rgba(245,245,245,1) 0%, rgba(245,245,245,0) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(left,  rgba(245,245,245,1) 0%,rgba(245,245,245,0) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to right,  rgba(245,245,245,1) 0%,rgba(245,245,245,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
	}
	.cate:after{
		left: auto;
		right: 0;
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
		background: -moz-linear-gradient(left,  rgba(245,245,245,0) 0%, rgba(245,245,245,1) 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(left,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to right,  rgba(245,245,245,0) 0%,rgba(245,245,245,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
	}
	.cate ul{
		flex-wrap: nowrap;
		white-space: nowrap;
		overflow: auto;
		width: 100%;
		overflow: auto;
		padding: 0 20px;
		overflow: auto;
	}
	.cate ul:before,
	.cate ul:after{
		content: "";
		display: block;
		width: 5px;
		height: 5px;
		border-right: 1px solid #111;
		border-bottom: 1px solid #111;
		position: absolute;
		top: calc(50% - 3px);
		left: 10px;
		transform: rotate(135deg);
		z-index: 5;
		pointer-events: none;
	}
	.cate ul:after{
		left: auto;
		right: 10px;
		transform: rotate(-45deg);
	}
	.cate ul li a{
		margin-right: 5px;
		white-space: nowrap;
		background: #fff;
	}
	.cate ul li:last-child a{
		margin-right: 20px;
	}
}

/*--------------------------------------------------*/

.items{
	margin-bottom: 40px;
}
.items .wrap{
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.item{
	width: calc(33.3% - 16.6px);
	margin-bottom: 25px;
	margin-right: 25px;
	line-height: 1.35;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
}
.item:nth-of-type(3n){
	margin-right: 0;
}
.item a{
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	text-decoration: none;
	transition: 0.2s;
	border: 1px solid #ccc;
}
.item a:hover{
	color: #000;
	background: #f9f9f9;
	border: 1px solid #222;
}
.item .content{
	width: calc(100% - 150px);
	padding: 20px 15px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}
.item .content h3{
	font-size: 1.65rem;
	margin-bottom: 5px;
}
.item .content p.meta{
	color: #666;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.item .content p.price{
}
.item .img{
	width: 150px;
	padding-bottom: 150px;
	position: relative;
}
.item .img img{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}
@media screen and (max-width: 1300px){
	.item{
		width: calc(50% - 12.5px);
	}
	.item:nth-of-type(3n){
		margin-right: 25px;
	}
	.item:nth-of-type(2n){
		margin-right: 0;
	}
}
@media screen and (max-width: 850px){
	.items{
		margin-bottom: 30px;
	}
	.items .wrap{
		border-top: 1px solid #ccc;
	}
	.item{
		width: 100%;
		margin-right: 0 !important;
		margin-bottom: 0;
		border-bottom: 1px solid #ccc;
	}
	.item a{
		background: none !important;
		border: none !important;
		padding: 20px 0;
		align-items: center;
	}
	.item .content{
		padding: 0 15px 0 0;
		width: calc(100% - 100px);
	}
	.item .img{
		width: 100px;
		padding-bottom: 100px;
	}
	.item .content p.meta{
		-webkit-line-clamp: 2;
	}
}
@media screen and (max-width: 400px){
	.item a{
		padding: 15px 0;
	}
	.item .content{
		width: calc(100% - 70px);
	}
	.item .img{
		width: 70px;
		padding-bottom: 70px;
	}
	.item .content p.meta{
		margin-bottom: 10px;
	}
}