
/*------商品表示部分 catalog.html------*/

.item{
	width: 300px;
	height: auto;
	margin: 15px;
	border-radius: 5px;
	box-shadow: 0 2px 5px #ccc;
	background-color: #ffffff;
	display:inline-block;
}
 img{
	border-radius: 5px;
	max-width: 100%;
	/*height: auto;*/
}

.name{
	padding: 10px 10px 5px 10px;
}

.price{
	padding: 5px 10px 5px 10px;
	font-weight: bold;
}

.msg{
	padding: 5px 10px 5px 10px;
}

.fo{
	padding: 5px 10px 10px 10px;
}

.item_list{
	display: flex;
	flex-wrap: wrap;
	width: 700px;
	margin: 0 auto;
	padding:0px
}
.item_list li{
	width: 25%;
	list-style: none;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.item_list li table{
	margin: 0 auto;
}

/*----品名でテーブルの高さが狂うのを防止。----*/

b.titlebox {
	display: block;
	height: 45px;
	overflow-y: auto;
}
/*----正方形でトリミング----*/

.item_list li .crop img, img.crop{
	width: 120px;
	height: 120px;
	object-fit: cover;
	cursor: zoom-in;
}

.crophide {
    display: none; /*---イランサムネ消す---*/
}

.button_box{
	display: inline-block;
	width: 16px;
	height: 31px;
	position: relative;
	top: 12px;
}

.up{
	border: 0px;
	width: 15px;
	height: 15px;
	background: url("../cart_img/up.gif") no-repeat;
}

.down{
	border: 0px;
	width: 15px;
	height: 15px;
	background: url("../cart_img/down.gif") no-repeat;
}


/*------商品表示部分 catalog2.html------*/

.tb_item{
	margin: 20px auto;
	border-collapse:collapse;
}
.tb_item td{
	border:1px solid #cccccc;
	border-collapse:collapse;
}

.tb_item td img{
	border-width: 0;
	vertical-align: bottom
}

.tb_item td table td{
	border-width:0;
}

.button_cart{
	width: 180px;
	margin: 0px 10px 10px auto;
	position: sticky;
	top: 100px;
	z-Index: 2;
	text-align: right;
}


/*------部品-------*/

.new{
	position: relative;
	bottom: 2px;
}

/*------以下はスマートフォン用の表示-------*/

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

	/*------商品表示部分 catelog.html-------*/

	.item_list{
		width: 98%;
	}
	.item_list li{
		width: 100%;
		margin-bottom: 10px;
		padding-bottom: 10px;
		border-bottom-style: solid;
		border-bottom-color: #cccccc;
		border-bottom-width: 1px;
	}
	.item_list li table{
		margin: 0 auto 0 0;
		width: 98%;
	}

	.item_list li table tr {
		display: block;
		width: auto;
	}
	.item_list li table td {
		display: block;
		border: none;
		justify-content: flex-start;
		text-align: left;
		width: 100%;
	}

	.item_list li table td table td:first-child{
		/*display: none;*/
	}
	.item_list li table td table{
		margin-bottom: 15px;
	}

	/*------商品表示部分 catelog2.html-------*/
	
	.tb_item{
		border: none;
		width: 98%;
	}

	.tb_item tr {
		display: block;
		width: auto;
		border-bottom-style: solid;
		border-bottom-color: #cccccc;
		border-bottom-width: 1px;
		padding-bottom: 5px;
		margin-bottom: 10px;
	}
	.tb_item td {
		display: block;
		border: none;
		justify-content: flex-start;
		text-align: left;
		padding: 2px;
		width: 100%;
	}

	.tb_item td:last-child {
		border-bottom: none;
	}
	
	.tb_item td:first-child {
		text-align: left;
	}
	.tb_item td:first-child img{
		width: auto;
		height: auto;
	}
	
	.tb_item td table tr{
		border-bottom-width: 0px;
		padding-bottom: 0px;
		margin-bottom: 10px;
	}
	
	.button_box{
		width: 85px;
		height: 34px;
		top: 0px;
	}
	
	.up{
		width: 37px;
		height: 35px;
		background-color: #999999;
		border-radius: 4px;
		border-style: solid;
		border-color: #666666;
		border-width: 1px;
		box-shadow: 1px 1px 1px 1px #888888 inset;
		color: #ffffff;
		text-decoration: none;
		background: url("../cart_img/up_b.gif") no-repeat;
		position: relative;
		top: 13px;
	}
	.down{
		width: 37px;
		height: 35px;
		background-color: #999999;
		border-radius: 4px;
		border-style: solid;
		border-color: #666666;
		border-width: 1px;
		box-shadow: 1px 1px 1px 1px #888888 inset;
		color: #ffffff;
		text-decoration: none;
		background: url("../cart_img/down_b.gif") no-repeat;
		position: relative;
		top: 13px;
	}
	
	
	/*------部品-------*/
	
	.new{
		bottom: 7px;
	}

.item_list li .crop img, img.crop{
	width: 200px;
	height: 200px;
	object-fit: cover;
}

}



a:link {
text-decoration: none;
-webkit-transition: all 0.5s;
transition: all 0.5s;
}
/*
a:visited {
text-decoration: none;
color:#0033cc;
}
*/
a:active {
text-decoration: none;
color:#0033cc;
}
a:hover {
text-decoration: none;
color:#33cc00;
position:relative;top:-1px;left:-1px;
}
