@charset "UTF-8";

.testdrive .title h1 {
	padding-bottom: .2em;
	margin-bottom: 30px;
	border-bottom: 1px solid #333;
}

.testdrive .title .access {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.testdrive .title .access a {
	padding: .8em 1em;
	color: #fff;
	background-color: #333;
	border: 2px solid transparent;
	border-radius: 10em;
}

.testdrive .title .access a:hover {
	color: #333;
	background-color: transparent;
	border-color: #333;
}

.testdrive .title .img {
	margin-top: 20px;
}

.testdrive .flow h2 {
	padding-bottom: .2em;
	margin-bottom: 30px;
	font-size: 1.2em;
	border-bottom: 1px solid #333;
}

.testdrive .flow article + article {
	margin-top: 50px;
}

.testdrive .flow article .inner {
	padding: 40px	2%;
	background-color: #fff;
}

.testdrive .flow article h3 {
	margin-bottom: 1em;
	background-color: #ddd;
}

.testdrive .flow article h3 span {
	position: relative;
	display: inline-block;
	padding: .4em 1em;
	color: #fff;
	font-size: 1.2em;
	background-color: #444;
}

.testdrive .flow article h3 span::after {
	position: absolute;
	top: 50%;
	left: 100%;
	content: " ";
	height: 0;
	width: 0;
	margin-top: -1.1em;
	border: solid transparent;
	border-width: 1.1em;
	border-left-color: #444;
	pointer-events: none;
}

.testdrive .flow article p strong {
	padding: 0 .1em;
	color: #f35765;
}

.testdrive .flow article .more {
	padding: 1em;
	margin-top: 1em;
	font-size: .9em;
	border: 2px solid #888;
	border-radius: 4px;
}

.testdrive .form_reservewrapper {
	margin-top: 100px;
}

.testdrive .testdrive_list {
	margin-top: 40px;
}

.testdrive .testdrive_list h3 {
	font-weight: bold;
	text-align: center;
}

.testdrive .testdrive_list ul {
	display: flex;
	flex-wrap: wrap;
}

.testdrive .testdrive_list ul li {
	width: 20%;
	padding: 2em 1em!important;
	margin: 0!important;
}

.testdrive .testdrive_list ul .stop {
	position: relative;
}

.testdrive .testdrive_list ul .stop::after {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 1em;
	color: #fff;
	text-align: center;
	background-color: rgba(0, 0, 0, .6);
	z-index: 1;
	white-space: pre;
}

.testdrive .testdrive_list ul .stop_until::after {
  height: 30%;
  width: 80%;
  margin: calc( (100% - 30%) / 2 ) calc( (100% - 80%) / 2 );
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  background-color: rgba(192, 57, 43, .8);
}

.testdrive .testdrive_list ul li a {
  display: flex;
  flex-direction: column;
  height: 100%;
	text-align: center;
}

.testdrive .testdrive_list ul li a img {
	width: 100%;
}

.testdrive .testdrive_list ul li a:hover {
	opacity: .8;
}

.testdrive .testdrive_list ul li a p {
	margin-top: auto;
	font-size: .9em;
}

.testdrive .confirm article {
	text-align: center;
}

.testdrive .confirm article strong {
	color: #f35765;
}

.testdrive .confirm article .box .modal_btn {
	display: inline-block;
	padding: .8em 1em;
	margin: 1em;
	background: #ccc;
	border-radius: 4px;
}

@media screen and (max-width: 959px) {
	.testdrive .title .access {
		flex-wrap: wrap;
	}

	.testdrive .title .access a {
		display: block;
		width: 100%;
		margin-top: 1em;
		text-align: center;
	}

	.testdrive .testdrive_list ul li {
		width: 25%;
		padding: 1em .6em!important;
	}
}

@media screen and (max-width: 559px) {
	.testdrive .flow article .inner {
		padding: 20px	4%;
		background-color: #fff;
	}

	.mitsumori dd .three_columns .wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
		margin-top: 0;
	}

	.testdrive .testdrive_list ul li {
		width: calc(100% / 3);
	}
}