@charset "utf-8";
/* CSS Document */

/* ----------------------------------------
    dress
---------------------------------------- */

#dress {
	margin: 0 auto;
	width: 970px;
	z-index: 9;
}
#dress li {
	float: left;
	display: block;
	margin-right: 10px;
}

#detail li {
	display: none;
	position: absolute;
	left: 50%;
	top: 0;
	margin: 210px auto 0 -450px;
	width: 900px;
	z-index: 9;
}
#detail li.on {
	display: list-item;
}


/*------------- detail -------------*/ 

#product {
	margin: 0 auto 100px;
	width: 900px;
	z-index: 9;
}
#product .image {
	float: left;
	/*padding-bottom: 25px;*/
	width: 400px;
	/*background: url(../detail/img/cursor.png) center bottom no-repeat;*/
}

#product .detail {
	float: right;
	width: 470px;
}
p.name {
	padding: 0 0 10px;
	margin-bottom: 15px;
	font-size: 14px;
	color: #5a3c00;
	border-bottom: 1px solid #5a3c00;
}
p.dress-txt {
	line-height: 1.8;
	margin-bottom: 30px;
}
p.price {
	display: block;
	color: #5a3c00;
	margin-bottom: 7px;
}

a.back {
	margin: 50px auto 0;
	display: block;
	width: 180px;
	height: 30px;
	background: url(../detail/img/btn_back.png) no-repeat;
}
a.back:hover {
	opacity: 0.7;
}

/* ++++++++++++++++++++++++++++++++++++++++

	for SP
	
++++++++++++++++++++++++++++++++++++++++ */

@media screen and (max-width: 767px) {
	#dress,
	#product {
		padding-bottom: 10%;
		margin: auto;
		width: 87.5%;
	}
	#dress li {
		width: 32%;
		margin-right: 2%;
		margin-bottom: 4%;
	}
	#dress li:nth-child(3n) {
		margin-right: 0;
	}
	#dress li img {
		display: block;
	}
	
	#product .image {
		float: none;
		margin: auto;
		width: 100%;
	}
	.image img {
		display: block;
	}
	
	#product .detail {
		float: none;
		width: 100%;
		margin-bottom: 5%;
	}
	
	p.name {
		padding: 0 0 5px;
		margin-top: 10px;
		margin-bottom: 9px;
	}
	p.dress-txt {
		line-height: 1.8;
		margin-bottom: 10px;
	}
	
	a.back {
		display: none;
	}
}