/*=================================================
 general
=================================================*/
@import url(//fonts.googleapis.com/css?family=Montserrat:9000);

/*
body {
	font-size: 12px;
}

ul, dl, dt, dd {
	margin: 0;
	padding: 0;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

*:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: #fff;
	color: #999;
	text-align: center;
}

body a, body a:visited {
	color: #999;
	text-decoration: none;
}

body a:hover {
	color: #777;
}

h1 {
	font-size: 36px;
	font-family: "Montserrat", sans-serif;
	color: #53E2E4;
	margin: 10px auto 30px;
}
*/



.unby-brand-list-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.unby-brand-list-control-box {
	display: flex;
	justify-content: center;
	margin: 0 auto 2rem auto;
}

.filter-controls {
	display: block;
	width: 240px;
	margin-right: 1rem;
}
.filter-controls:nth-of-type(even) {
	margin-right: 0;
}

.form-control {
	width: 100%;
	height: 40px;
	padding: 0 20px;
	border: 2px solid #ccc;
	border-radius: 3px;
	background-color: #ffffff;
	color: #666;
	font-size: 1rem;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form-control:focus {
	outline: 0;
	border-color: #0CAAF5;
}

.unby-brand-list-container .unby-brand_item {
	display: block;
	position: absolute;
	margin: 1em;
	z-index: 1;
	width: calc(16.667% - 1em*2);
	height: calc(16.667vh - 1em*2);

	-webkit-transition: -webkit-transform .6s ease;
	transition: -webkit-transform .6s ease;
	transition: transform .6s ease;
	transition: transform .6s ease, -webkit-transform .6s ease;
}

.unby-brand-list-container .grid {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.item-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: table;
}

.custom-content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	background: #fff;
	color: #666;
}

.unby-brand_item > .item-content > a > .custom-content > img {
	border: 1px #dddddd solid;
}

.unby-brand_item > .item-content > a > .brand-unby-original::after {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.1em 0.3em;
	content: "UNBY";
	color: #feffff;
	background-color: rgba(33,157,221,.5);
}

.unby-brand_item > .item-content > a > .brand-in-house::after {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0.1em 0.3em;
	content: "代理店";
	color: #feffff;
	background-color: rgba(255,69,0,.5);
}

.unby-brand_item > .item-content > a > .custom-content > dl {
	margin: 1rem 0 0 0;
}

.unby-brand_item > .item-content > a > .custom-content > dl > dd {
	font-size: 0.8333em;
}

@media (max-width: 877px) {

	.unby-brand-list-container .unby-brand_item {
		/*
		width: calc(33.33% - 11px);
		height: calc(33.33vw - 11px);
		*/
		width: 100%;
	}

}

@media (max-width: 640px) {

	.unby-brand-list-container .unby-brand_item {
		width: calc(50% - 24px);
		height: calc(50vw - 24px);
		/*
		width: 50%;
		height: auto;
		margin: 0;
		border: 1px solid #dddddd;
		box-sizing: border-box;
		*/
	}

	.item-content {
		display: block;
	}

	.item-content > a {
		display: block;
	}

	.item-content > a > .custom-content {
		/*
		display: flex;
		justify-content: center;
		*/
	}

	/*
	.unby-brand_item > .item-content > a > .custom-content > img {
		display: none;
	}
	*/

	.unby-brand_item > .item-content > a > .custom-content > dl {
		margin: 0;
		padding: 1em;
	}

	.unby-brand_item > .item-content > a > .custom-content > dl > dt, .unby-brand_item > .item-content > a > .custom-content > dl > dd {
		word-break: break-all
	}

	.form-control {
		padding: 0 0.6rem;
		font-size: 16px;
	}


}