@charset "utf-8";

/* ////////////////////////////////////////////////////////////
	File Name	sell.css
*/

/*============================================================
	メイン
*/
.main-index {
	background: transparent url(../images/sell/main_index.jpg) 50% 100% no-repeat;
}
.main-index .container {
	display: block;
	padding: 30px 0 350px 0;
}
.main-index .inner {
	display: block;
	text-align: center;
}
.main-index .inner .h {
	font-weight: bold;
	font-size: 30px;
	line-height: 1.5;
}
.main-index .inner .h span {
	color: #be1211;
}
.main-index .inner p {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.8;
}

/*============================================================
	メイン（下層）
*/
.main {
	background-image: url(../images/sell/main.jpg);
}

/*============================================================
	中古車ラインナップ
*/
.lineup {
	padding: 50px 0;
	background-color: #f2f2f2;
}
.lineup .unit-head {
	padding: 0;
}
.lineup .list {
	margin: 0 -7px;
	padding-top: 20px;
}
.lineup .list li {
	float: left;
	margin: 15px 0;
	padding: 0 7px;
	width: 20%;
}
.lineup .list li .block {
	display: block;
	padding: 5px;
	height: 100%;
	background-color: #ffffff;
	text-decoration: none;
	color: #333333;
	-webkit-transition: opacity 0.4s ease;
	   -moz-transition: opacity 0.4s ease;
	    -ms-transition: opacity 0.4s ease;
	        transition: opacity 0.4s ease;
}
.lineup .list li .block:hover {
	opacity: 0.7;
}
.lineup .list li .block img {
	width: 100%;
}
.lineup .list li .block .text {
	padding: 5px;
	font-size: 13px;
}
.lineup .list li .block .text .h {
	margin: 5px 0;
	font-weight: bold;
	font-size: 15px;
	line-height: 1.5;
}
.lineup .list li .block .text .price {
	font-weight: bold;
	font-size: 24px;
	line-height: 1.3;
	color: #c80d00;
}
.lineup .list li .block .text .price span {
	padding-left: 3px;
	font-size: 13px;
}

/*============================================================
	ご購入までの流れ
*/
.flow {

}
.flow ul li .num {
	position: absolute;
	z-index: 1;
	top: -10px; left: 0;
	display: block;
	width: 48px;
	background-color: #003399;
	border: 2px solid #ffffff;
	border-radius: 50%;
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	line-height: 44px;
	color: #ffffff;
}

/*============================================================
	詳細
*/
.detail {
	padding: 0 0 60px 0;
}
/* ギャラリー */
.detail .gallery {
	overflow: hidden;
}
.detail .gallery img {
	width: 100%;
	height: auto;
}
.detail .gallery .image {
	position: relative;
	float: left;
	width: 785px;
}
.detail .gallery .image .base {
	position: relative;
	width: 100%; height: 0;
	padding-top: 65.987%;
}
.detail .gallery .image ul,
.detail .gallery .image ul li {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: #000000;
}
.detail .gallery .image ul li {
	display: none;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
}
.detail .gallery .image ul li.current {
	display: block;
}
.detail .gallery .thumb {
	float: right;
	width: 180px;
}
.detail .gallery .thumb ul {
}
.detail .gallery .thumb ul li {
	margin-bottom: 14px;
}
.detail .gallery .thumb ul li:last-child {
	margin-bottom: 0;
}
.detail .gallery .thumb ul li div {
	position: relative;
	padding-top: 66.2%;
	height: 0;
	background-color: #eeeeee;
}
.detail .gallery .thumb ul li a {
	display: block;
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
}
.detail .gallery .thumb ul li a span {
	position: relative;
	display: block;
	width: 100%;
}
.detail .gallery .thumb ul li a span:after {
	content: '';
	position: absolute;
	top: 0; left: 0;
	bottom: 0; right: 0;
	display: block;
	border: 2px solid #be001b;
	opacity: 0;
}
.detail .gallery .thumb ul li a.current span:after {
	opacity: 1;
}
/* 表 */
.detail .table {
	margin: 40px -5px 20px -5px;
}
.detail .table table {
	float: left;
	margin: 0 5px;
	width: 500px;
	border: 1px solid #b5b5b5;
	border-right: 0;
	border-bottom: 0;
}
.detail .table table th,
.detail .table table td {
	padding: 8px 10px;
	border: 1px solid #b5b5b5;
	border-left: 0;
	border-top: 0;
	font-size: 13px;
	line-height: 1.6;
}
.detail .table table th {
	white-space: nowrap;
	width: 1px;
	background-color: #f1f1f1;
	border-right: 0;
	font-weight: bold;
}
.detail .table table td {
	border-left: 0;
}
/* ボタン */
.detail .btn {
	margin-top: 50px;
}

/* ////////////////////////////////////////////////////////////
	ブレイクポイント
*/
@media screen and (max-width: 680px) {

	/*============================================================
		メイン
	*/
	.main-index {
		-webkit-background-size: 400px 117px;
		background-size: 400px 117px;
	}
	.main-index .container {
		padding: 20px 0 120px 0;
	}
	.main-index .inner .h {
		font-size: 15px;
		line-height: 1.5;
	}
	.main-index .inner p {
		margin-top: 5px;
		font-size: 10px;
		line-height: 1.8;
	}

	/*============================================================
		中古車ラインナップ
	*/
	.lineup {
		padding: 20px 0;
	}
	.lineup .list {
		margin: 0 -5px;
		padding-top: 10px;
	}
	.lineup .list li {
		margin: 5px 0;
		padding: 0 5px;
		width: 50%;
	}
	.lineup .list li .block {
		padding: 5px;
	}
	.lineup .list li .block .text {
		padding: 2px;
		font-size: 10px;
	}
	.lineup .list li .block .text .h {
		margin: 5px 0;
		font-size: 11px;
		line-height: 1.5;
	}
	.lineup .list li .block .text .price {
		font-size: 18px;
		line-height: 1.3;
	}
	.lineup .list li .block .text .price span {
		padding-left: 2px;
		font-size: 10px;
	}

	/*============================================================
		ご購入までの流れ
	*/
	.flow ul li .num {
		top: -10px; left: 0;
		width: 44px;
		font-size: 16px;
		line-height: 40px;
	}

	/*============================================================
		詳細
	*/
	.detail {
		padding: 0 0 20px 0;
	}
	/* ギャラリー */
	.detail .gallery .image {
		float: none;
		width: 100%;
		overflow: hidden;
	}
	.detail .gallery .thumb {
		float: none;
		width: auto;
	}
	.detail .gallery .thumb ul {
		margin: 0 -2px;
		padding-top: 10px;
	}
	.detail .gallery .thumb ul li {
		float: left;
		margin-bottom: 0;
		padding: 0 2px;
		width: 25%;
	}

	/* 表 */
	.detail .table {
		margin: 20px 0 10px 0;
	}
	.detail .table table {
		float: none;
		margin: 0;
		width: 100%;
	}
	.detail .table table:last-child {
		border-top: 0;
	}
	.detail .table table th,
	.detail .table table td {
		padding: 5px 5px;
		font-size: 10px;
		line-height: 1.6;
	}
	.detail .table table th {
		width: 104px;
	}
	/* ボタン */
	.detail .btn {
		margin-top: 20px;
	}

}