@charset "UTF-8";

.testdrive{
}
.testdrive h2{
    font-size: 2.4rem;
    /* color: #fff; */
    margin: 0 0 1.8rem 0;
}
.testdrive h2 span{
	font-size:1.6rem;
	margin:0 0 0 1em;
}
.testcar-list{}
.testcar-list ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin:0 0 1.4rem 0;
}
.testcar-list ul li{width:  210px;padding:  10px;margin:  0 0 10px 0;background: #eee;position: relative;}
.testcar-list ul::before{
  content:"";
  display: block;
  width: 230px;
  order:1;
}
.testcar-list ul::after{
  content:"";
  display: block;
  width: 230px;
}

.testcar-list ul {
  position: relative;
}
.testcar-list ul li.new{
	position:relative;
	overflow: hidden;
	}
.testcar-list ul li.new:before{
	content: "NEW";
	display: inline-block;
	position: absolute;
	padding: 5px 0;
	right: -40px;
	top: 15px;
	width: 140px;
	text-align: center;
	font-size: 16px;
	line-height: 14px;
	background: #910a2c;
	color: #fff;
	letter-spacing: 0.05em;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	box-shadow: 0 0 0 2px #910a2d;
	border-top: dashed 1px rgba(255, 255, 255, 0.65);
	border-bottom: dashed 1px rgba(255, 255, 255, 0.65);
}



.testcar-list ul li.coming-soon:before{
	content: "近日公開予定";
	display: block;
	background: rgba(255,255,255,0.4);
	width: 100%;
	height: 100%;
	line-height: 197px;
	position: absolute;
	top: 0;
	left: 0;
	vertical-align: middle;
	text-align: center;
	font-size: 24px;
	color: #f00;
}


.testcar-list ul li p.img{}
.testcar-list ul li p.img img{width: 100%;}
.testcar-list ul li p.text{
    font-size: 12px;
    margin-left: 5px;
}
.testcar-list ul li p.text span{
	font-size:10px;
}
.testcar-list ul li h4{
    /* color: #f3f3f3; */
}

@media screen and (max-width: 640px) {
.testdrive{
    margin-top: 4rem;
}
.testdrive h2{
    font-size: 2.1rem;
}
.testdrive h2 span{
	font-size: 1.4rem;
	display:  block;
	margin: .5em 0 0 0;
}
.testcar-list{}
.testcar-list ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.testcar-list ul li{width: 80%;padding: 1.8rem;margin: 0 auto 1.8rem auto;/* background: #333; */}
.testcar-list ul li p.img{
    width:  80%;
    margin: 2% auto;
