@media screen and (min-width:641px) {

/*------------------------------------------------------------------------------------------------------------------
　商品一覧
-------------------------------------------------------------------------------------------------------------------*/

.rank {
	text-align:left;
	font-size:18px;
}

.list {
	list-style:none;
}
	.list li a {
		border:#9f9f9f solid 1px;
		border-radius:7px;
		margin-bottom:10px;
		padding:10px;
		position:relative;
	}
	.list li a:after {
		content:"";
		clear:both;
		display:block;
	}
		.list li a .photo {
			float:left;
			width:139px;
			margin-right:10px;
		}
			.list li .photo img {
				max-width:139px;
			}
		.list li a p {
			font-size:22px;
			float:left;
			width:320px;
          color:#333333 !important;
		}
			.list li a p .price {
				color:#f00;
				font-size:24px;
			}
			.list li a p .comment {
				color:#999;
				font-size:18px;
			}
		
		.list a .ar {
			background:url(../image/ar.png) no-repeat;
			width:20px; height:50px;
			position:absolute;
			top: 50%; right:18px;
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			transform: translateY(-50%);
		}

/*------------------------------------------------------------------------------------------------------------------
　商品詳細
-------------------------------------------------------------------------------------------------------------------*/

.detail-photo {
	text-align:center;
	width:100%;
}
	.detail-photo img {
		max-width:522px;
	}

.detail-title {
	color:#f66200;
	margin-top:20px;
}
.button {
	width:450px;
}

}

@media screen and (max-width:640px) {
	
/*------------------------------------------------------------------------------------------------------------------
　商品一覧
-------------------------------------------------------------------------------------------------------------------*/

.rank {
	text-align:left;
	font-size:18px;
}

.list {
	list-style:none;
}
	.list li a {
		border:#9f9f9f solid 1px;
		border-radius:7px;
		margin-bottom:10px;
		padding:10px;
		position:relative;
	}
	.list li a:after {
		content:"";
		clear:both;
		display:block;
	}
		.list li a .photo {
			float:left;
			width:139px;
			margin-right:10px;
		}
			.list li .photo img {
				max-width:139px;
			}
		.list li a p {
			font-size:22px;
			float:left;
			width:320px;
          color:#333333 !important;
		}
			.list li a p .price {
				color:#f00;
				font-size:24px;
			}
			.list li a p .comment {
				color:#999;
				font-size:18px;
			}
		
		.list a .ar {
			background:url(../image/ar.png) no-repeat;
			width:20px; height:50px;
			position:absolute;
			top: 50%; right:18px;
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			transform: translateY(-50%);
		}

/*------------------------------------------------------------------------------------------------------------------
　商品詳細
-------------------------------------------------------------------------------------------------------------------*/

dd {
  margin:0;
  padding:0;
  margin-bottom:20px;
}
dd.last {
  margin-bottom:0px;
}
  
.detail-photo {
	text-align:center;
	width:100%;
}
	.detail-photo img {
		max-width:522px;
	}

.detail-title {
	color:#f66200;
	margin-top:20px;
}
.button {
	width:450px;
}	

.detail_btn {
	width:420px;
	height:90px;
	text-align:center;
	-webkit-transform-origin:top;
	-moz-transform-origin:top;
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	padding-top:0px;
	padding-bottom:50px;
	position:relative;
}

.detail_btn input {
	position:absolute;
	top:5px;
	left:48px;
}

.detail_btn a {
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	position:absolute;
}

.detail_btn a:nth-child(1){ top:0; right:-17px; }
.detail_btn a:nth-child(2){ top:0px; right:-17px; }
.detail_btn a:nth-child(3){ top:30px; right:-17px; }
.detail_btn a:nth-child(4){ top:60px; right:-17px; }

.detail_btn img {
	display:inline;
}

.subimg img.thumbnail {
  width:500px;
  height:auto;
}

.subimg.last, .subimg:last-of-type {
  margin-bottom:0;
  }
  
}