@charset "utf-8";
#banner {
	background-image: url(../upload/b_products.jpg);
}
#main {
	display: flex;
	margin: 30px auto;
}
#categories {
	flex: 0 0 250px;
	padding-right: 30px;
	border-right: 1px solid #ccc;
}
#categories .title, #products .title {
	padding: 8px 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
}
#categories>p * {
	clear: both;
}
#categories>p>strong {
	display: block;
	padding: 10px 0 0px;
	overflow: hidden;
}
#categories>p a {
	margin-left: 10px;
	text-decoration: underline;
}
#categories>p>a {
	float: left;
	margin-left: 30px;
}
#categories>p a.s {
	color: #f50;
}
#products {
	flex: 1 1 0;
	padding-left: 30px;
}
#products .title font {
	color: red;
}
#products .title font:before, #products .title font:after {
	content: '"';
	color: #000;
}
#p_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 10px 0;
	grid-gap: min(2vw, 25px);
}
#p_list a {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
}
#p_list a figure {
	width: 100%;
	aspect-ratio: 4/3;
	border-bottom: 1px solid #ccc;
}
#p_list a h3 {
	margin: 10px;
	max-height: 50px;
	font-size: 15px;
	line-height: 25px;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
#p_list>p {
	grid-column: 1/-1;
	text-align: center;
	padding: 100px 0;
}
@media screen and (max-width:991px){
	#categories {
		display: none;
	}
	#products {
		padding: 0;
	}
}
@media screen and (max-width:600px){
	#p_list {
		grid-template-columns: repeat(2, 1fr);
	}
}




