@charset "utf-8";

#delete {
	padding: 0 10px;
	font-size: 12px;
}
@media screen and (min-width: 641px) {

	input[type="submit"], button#delete{
		-webkit-appearance: none;
	}

	
	ul.item_list {
		position: relative;
		width: 840px;
	}

	ul.item_list li{
		display: block;
		float: left;
		width: 260px;
		list-style: none;
		margin: 10px 10px 0 0;
		min-height: 390px;
		padding: 10px 0;
		text-align: center;
		border: 1px solid #000;
	}
	
	ul.item_list li.punchcard{
		width: 530px;
	}
	
	ul.item_list li.punchcard,
	ul.item_list li.punchcard_thin{
		height: 500px;
	}
	
	ul.item_list li img {
		margin-top: 5px;
	}
	
	input[type="number"]{
		width: 80px;
		margin: 3px 0;
		-moz-appearance:textfield;
	}
	input[type="number"]::-webkit-outer-spin-button,
	input[type="number"]::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}
	
	ul.item_list li ul.WPC_list li{
		display: inline-block;
		float:none;
		width:auto;
		margin: 0 10px 0 0;
		padding: 0;
		min-height: 1px;
		height: auto;
		border: none;
	}
	ul.item_list li ul.WPC_list li:nth-child(odd){
		clear: both;
	}

	.item_photo {
		margin-bottom: 0;
	}
	
	#button_submit {
		position: fixed;
		left: 50%;
		margin-left: 410px;
		margin-bottom: 5px;
		color: #fff;
		padding: 12px 30px 12px 60px;
		text-align: left;
		font-size: 13px;
		background: url(/img/icon_cart.png) no-repeat left 15px center;
		background-size: 20% auto;
		background-color: #F0980E;
		border: 2px solid #b46e00;
		border-radius: 4px;
	}
	
	#button_submit span {
		font-size: 16px;
	}
	
	.submit_detail {
		display: none;
	}
	
	#button_submit:hover,
	#button_submit:focus{
		background-color: #fdae39;
	}
	

	#recalculation {
		padding: 10px 60px;
	}
	
	.item_total {
		margin: 15px 0 0;
		padding: 15px 0 0;
		text-align: right;
		font-size: 20px;
		border-top: 1px solid #ccc;
	}
	
	.item_total span{
		font-size: 26px;
		color: #f00;
	}
	
	#rtn_list {
		display: block;
		float: left;
		width: 100px;
		margin-top: 10px;
		padding: 15px 40px;
		color: #333;
		text-decoration: none;
		text-align: center;
		background: #e6e6e6;
		border: 1px solid #aaa;
		border-radius: 4px;
	}
	
	#rtn_list:hover,
	#rtn_list:focus{
		background-color: #eee;
	}
	
	#order {
		display: block;
		float: right;
		color: #fff;
		width: 180px;
		padding: 10px 60px;
		font-size: 13px;
		text-decoration: none;
		text-align: center;
		line-height: 1.6;
		border: 1px solid #9b5f00;
		border-radius: 4px;
		background: #F0980E;
	}
	
	#order span{
		font-size: 18px;
	}
	
	#order:hover,
	#order:focus{
		background-color: #fdae39;
	}
}
@media screen and (max-width: 640px) {

	.submit_detail {
		color: #fff;
		margin: 10px 0;
		padding: 12px 30px 12px 60px;
		text-align: left;
		font-size: 13px;
		background: url(/img/icon_cart.png) no-repeat left 15px center;
		background-size: 15% auto;
		background-color: #F0980E;
		border: 2px solid #b46e00;
		border-radius: 4px;
	}
	
	.submit_all {
		display: none;
	}
	
	ul.item_list li{
		display: block;
		list-style: none;
		margin: 10px; 
		padding: 10px 0;
		text-align: center;
		border: 1px solid #000;
	}
	ul.item_list li img {
		width: 100%;
		height: auto;
		margin-top: 5px;
	}
	ul.item_list li ul.WPC_list li{
		display: block;
		float:none;
		width:auto;
		margin: 0 10px 0 0;
		padding: 0;
		min-height: 1px;
		height: auto;
		border: none;
	}

	input[type="number"]{
		width: 80px;
		margin: 3px 0;
	}
	
	.item_photo {
		margin-bottom: 0;
	}
	
	th.photo_img,
	td.photo_img{
		display: none;
	}
	.item_total {
		margin: 15px 0;
		padding: 15px 0;
		text-align: right;
		font-size: 18px;
		border-top: 1px solid #ccc;
	}

	.item_total span{
		font-size: 20px;
		color: #f00;
	}

	#rtn_list {
		display: none;
	}


	#order {
		display: block;
		color: #fff;
		padding: 10px 0;
		font-size: 13px;
		text-decoration: none;
		text-align: center;
		line-height: 1.6;
		border: 1px solid #9b5f00;
		border-radius: 4px;
		background: #F0980E;
	}

	#order span{
		font-size: 18px;
	}

}