@charset "utf-8";
/* CSS Document */

/*=======================
gallery
=======================*/
/*フィルタリング*/
.l-container .c-list__item {
	display: block;
	animation: fadeIn 1.5s ease 0s 1 normal;
}
@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}
.c-list__item.is-hide {
	display: none;
}
/* -- 処理と関係ないスタイル -- */
.l-container [data-filter-trigger] {
	display: inline-block;
	text-align: center;
	padding: 8px 22px;
	margin-bottom: 34px;
	margin-right: 10px;
	min-width: 50px;
	min-height: 39px;
	line-height: normal;	
	cursor: pointer;
	transition: all 0.2s;
	border-radius: 30px;
	border: 1px solid #A7A7A7;
	font-weight: normal;
	background-color: #ffffff;
}
.l-container [disabled] {
	background-color: #A7A7A7;
	pointer-events: none;
	cursor: not-allowed;
	color: #ffffff;
}
.l-container [data-filter-trigger].is-active {
	background: #EB5505;
	color: #fff;
	border: 1px solid #EB5505;
}
.l-container [data-filter-trigger]:hover {
	background: #EB5505;
	color: #fff;
	border: 1px solid #EB5505;
}
/*セレクトボックス*/
.l-container .gallery_list .photo:nth-of-type(n+2) {
	display: none;
}
.l-container .selectmenu_wrapper {
	display: flex;
	padding-bottom: 12px;
	margin-bottom: 40px;
	border-bottom: solid 1px #EB5505;
}
.l-container .selectmenu_wrapper .h2_style {
	width: 960px;
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.l-container .selectmenu_wrapper .selectmenu {
	text-align: center;
	font-size: 15px;
	display: inline-block;
	position: relative;
	vertical-align: middle;
	cursor: pointer;
}
.l-container .selectmenu_wrapper .selectmenu::before {
	position: absolute;
	top: 18px;
	right: 16px;
	width: 0;
	height: 0;
	border-width: 7px 5px 0 5px;
	border-style: solid;
	border-color: #A7A7A7 transparent transparent transparent;
	content: "";
	pointer-events: none;
}
.l-container .selectmenu_wrapper .selectmenu select {
	width: 200px;
	appearance: none;
	padding: 11px 15px 8px;
	padding-right: 1em;
	border: 1px solid #A7A7A7;
	border-radius: 5px;
	outline: 0;
	background: #fff;
	background-image: none;
	box-shadow: none;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	cursor: pointer;
	font-size: 18px;
	font-family: Arial;
	line-height: 1.2;
}
.l-container .gallery_image_wrap {
	display: flex;
	flex-wrap: wrap;
}
.l-container .gallery_image_wrap li {
	margin: 5px 5px 0 0;
	overflow: hidden;
}
.l-container .gallery_image_wrap li .img-box {
	width: 270px;
	height: 270px;
	display: block;
}
.l-container .gallery_image_wrap li .img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease-in-out;
}
.l-container .gallery_image_wrap li .img-box:hover img,
.l-container .gallery_image_wrap li .img-box:active img {
	transform: scale(1.1,1.1);
}
/*モーダル*/
.l-container .modal-block {
	display: none;
	position: fixed;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	margin: 0 auto;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
}
.l-container .img-section {
	position: relative;
	margin: 0 auto;
	max-width: 80%;
	height: auto;
}
.l-container .img-section img {
	position: relative;
	margin: 0 auto;
	border-radius: 3px;
	border: 4px solid #fff;
	max-height: 90vh;
}
.l-container .modal-block .close_btn {
	opacity: .7;
	position: relative;
	cursor: pointer;
}
.l-container .modal-block .close_btn span {
	display: block;
	width: 30px;
	height: 30px;
	background: url("/content/dam/au-com/motorsport/automs/assets/images/close.png?scl=1&fmt=webp-alpha") top right no-repeat;
	position: absolute;
	right: 0;
	top: -35px;
}
/* ~767px For SP 
=================================*/
@media screen and (max-width: 767px) {
	/*フィルタリング*/
	.l-container [data-filter-trigger] {
		padding: 5px 14px;
		margin-bottom: 7px;
		margin-right: 3px;
		min-width: 50px;
		min-height: 30px;
	}
	.l-container .gallery_image_wrap {
		margin-right: -5px;
	}
	.l-container .gallery_image_wrap li {
		margin: 5px 5px 0 0;
	}
	.l-container .gallery_image_wrap li .img-box {
		width: calc(calc(100vw + 5px) / 2 - 15px);
		height: calc(calc(100vw + 5px) / 2 - 15px);
	}
	/*セレクタトボックス*/
	.l-container .selectmenu_wrapper {
		border: none;
		flex-direction: column;
		margin-bottom: 30px;
		padding: 0;
	}
	.l-container .selectmenu_wrapper .h2_style {
		width: auto;
		margin: 0 0 20px;
		padding: 0 0 10px;
		border-bottom: solid 1px #EB5505;
	}
	.l-container .selectmenu_wrapper .selectmenu select {
		width: 100%;
	}
	.l-container .img-section {
		max-width: 90vw;
	}
	/*モーダル*/
	.l-container .modal-block .close_btn span {
		width: 20px;
		height:20px;
		background: url("/content/dam/au-com/motorsport/automs/assets/images/close.png?scl=1&fmt=webp-alpha") no-repeat top right / 20px 20px;
		top: -23px;
	}
}
/* 768px~1099 For タブレット 
=================================*/
@media print, screen and (min-width: 768px) and (max-width: 1099px) {
	.l-container .gallery_list {
		padding: 0 10px;
	}
	.l-container .gallery_image_wrap li .img-box {
		width: calc(100vw / 3 - 25px);
		height: calc(100vw / 3 - 25px);
	}
}