/* Y'S GEAR : db-models.css */


/*======================================================================*
 *  [ dbModelWrap | モデル一覧ページ ] 
 *======================================================================*/

.dbModelWrap {
	float: right;
	width: 76.5%;
	padding: 0 0 0 2.05%;
	box-sizing: border-box;
	font-size: 13px;
	font-size: 1.3rem;
}
.dbModelWrap h2 {
	float: left;
	font-family: 'Lato', sans-serif;
	font-size: 35px;
	font-size: 3.5rem;
	font-weight: 300;
	line-height: .8;
}

.dbModelWrap header {
	overflow: hidden;
}
.dbModelWrap header li {
	list-style-type: none;
}
.dbModelWrap header li a {
	font-size: 13px;
	font-size: 1.3rem;
}


/*======================================================================*
 *  [ saleType | 販売形態 ] 
 *======================================================================*/

.saleType {
	float: right;
	margin: 0 -1px;
}
.saleType li {
	float: left;
	padding: 0 1px;
	box-sizing: border-box;
}
.saleType li a {
	display: block;
	padding: 12px 15px 7px 15px;
	border-bottom: 5px solid #fff;
	line-height: 1;
	text-align: center;
}
.saleType li.active a {
	font-weight: bold;
}
.saleType li a:hover {
	border-color: #ccc !important;
}


/*======================================================================*
 *  [ modelType | モデルタイプ ] 
 *======================================================================*/

.modelType {
	margin: 0 -1px 30px -1px;
	border-top: 1px solid #464646;
	clear: both;
}
.modelType li {
	display: table;
	float: left;
	border: 1px solid transparent;
	box-sizing: border-box;
}
.modelType li a {
	display: table-cell;
	height: 50px;
	background: #e9e9e9;
	color: #b5b5b5;
	line-height: 1.2;
	text-align: center;
	vertical-align: middle;
}
.modelType li.active a, 
.modelType li.active a:hover {
	color: #fff !important;
}


/*======================================================================*
 *  [ modelBox | モデルボックス ] 
 *======================================================================*/

.modelBox h3 {
	overflow: hidden;
	height: 0;
	width: 0;
	text-indent: 100%;
	white-space: nowrap;
}


/*======================================================================*
 *  [ modelList | モデル一覧 ] 
 *======================================================================*/

.modelList {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-align-items：stretch;
	align-items：stretch;
	margin: 0 0 40px 0;
	padding: 1px 0 0 1px;
}

.modelList a {
	position: relative;
	display: block;
	width: 25.13%;
	margin: -1px 0 0 -1px;
	padding: 15px 10px;
	border: 1px solid #bfc0c0;
	box-sizing: border-box;
	color: #000;
}
.modelList a:hover {
	z-index: 1;
}

/* [ name | モデル名 ] */
.modelList .name {
	display: block;
	position: relative;
	margin: 5px 0 0 0;
	padding: 0 0 0 12px;
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1.2;
}
.modelList .name:before {
	display: block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 5px;
	height: 5px;
	border-top: 2px solid #ccc;
	border-right: 2px solid #ccc;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	content: "";
}


/*======================================================================*
 *  [ modelList | モデル一覧（IE9） ] 
 *======================================================================*/

.modelList:after {
	display: block;
	clear: both;
	content: "";
}
:root .modelList a {
	float: left\0/;
}
:root .modelList a:nth-child(4n+1) {
	clear: both\0/;
}


/*======================================================================*
 *  [ Media Queries 768 ] 
 *======================================================================*/

@media screen and (max-width: 768px) {
	
	/*==================================================================*
	 *  [ modelList | モデル一覧 ] 
	 *==================================================================*/
	
	.modelList a {
		width: 33.5%;
	}
	:root .modelList a:nth-child(4n+1) { /* [ IE9 ] */
		clear: none\0/;
	}
	:root .modelList a:nth-child(3n+1) { /* [ IE9 ] */
		clear: both\0/;
	}
	
}


/*======================================================================*
 *  [ Media Queries 730 ] 
 *======================================================================*/

@media screen and (max-width: 730px) {
	
	/*==================================================================*
	 *  [ dbModelWrap | モデル一覧ページ ] 
	 *==================================================================*/
	
	.dbModelWrap {
		float: none;
		width: 100%;
		margin: 0 0 50px 0;
		padding: 0 20px;
	}
	
	/*==================================================================*
	 *  [ modelList | モデル一覧 ] 
	 *==================================================================*/
	
	.modelList a {
		width: 25.13%;
	}
	:root .modelList a:nth-child(4n+1) { /* [ IE9 ] */
		clear: both\0/;
	}
	:root .modelList a:nth-child(3n+1) { /* [ IE9 ] */
		clear: none\0/;
	}
	
}


/*======================================================================*
 *  [ Media Queries 667 ] 
 *======================================================================*/

@media screen and (max-width: 667px) {
	
	/*==================================================================*
	 *  [ modelList | モデル一覧 ] 
	 *==================================================================*/
	
	.modelList a {
		width: 33.49%;
	}
	:root .modelList a:nth-child(4n+1) { /* [ IE9 ] */
		clear: none\0/;
	}
	:root .modelList a:nth-child(3n+1) { /* [ IE9 ] */
		clear: both\0/;
	}
	
}


/*======================================================================*
 *  [ Media Queries 568 ] 
 *======================================================================*/

@media screen and (max-width: 568px) {
	
	/*==================================================================*
	 *  [ dbModelWrap | モデル一覧ページ ] 
	 *==================================================================*/
	
	.dbModelWrap {
		padding: 0 10px;
	}
	.dbModelWrap h2 {
		float: none;
		margin: 0 0 10px 0;
	}
	
	.dbModelWrap header {
		margin: 0 -10px;
		padding: 0 10px;
	}
	
	
	/*======================================================================*
	 *  [ saleType | 販売形態 ] 
	 *======================================================================*/
	
	.saleType {
		float: none;
		padding: 0 9px;
		margin: 0 -10px 10px -10px !important;
		border-bottom: 1px solid #464646;
	}
	.saleType li a {
		padding-right: 5px;
		padding-left: 5px;
		font-size: 12px !important;
		font-size: 1.2rem !important;
	}

	
	/*==================================================================*
	 *  [ modelType | モデルタイプ ] 
	 *==================================================================*/
	
	.modelType {
		margin: 0 -1px;
		border-top: none;
		clear: both;
	}
	.modelType li.active {
		display: none;
	}
	
	
	/*==================================================================*
	 *  [ modelBox | モデルボックス ] 
	 *==================================================================*/
	
	.modelBox h3 {
		height: auto;
		width: auto;
		margin: 1px 0 3px 0;
		padding: 16px 10px;
		color: #fff;
		font-size: 13px;
		font-size: 1.3rem;
		font-weight: normal;
		line-height: 1.4;
		text-align: center;
		text-indent: 0;
	}
	
	
	/*==================================================================*
	 *  [ modelList | モデル一覧 ] 
	 *==================================================================*/
	
	.modelList {
		display: block;
		padding: 0;
	}
	
	.modelList a {
		width: 100%;
		margin: -1px 0 0 0;
		padding: 25px 30px 25px 95px;
	}
	.modelList a:before {
		display: block;
		position: absolute;
		top: 50%;
		right: 10px;
		width: 10px;
		height: 10px;
		margin: -7px 0 0 0;
		border-top: 3px solid #bfc0c0;
		border-right: 3px solid #bfc0c0;
		content: "";
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.modelList a:after {
		display: block;
		clear: both;
		content: "";
	}
	
	/* [ name | モデル名 ] */
	.modelList .name {
		margin: 0;
		padding: 0;
	}
	.modelList .name:before {
		display: none;
	}
	
	/* [ サムネイル ] */
	.modelList img {
		position: absolute;
		top: 50%;
		left: 10px;
		width: 75px;
		margin: -23px 0 0 0;
	}
	
}

