/*==========================
以下、CSV組み込み時に
testdrive.cssに追加するCSS
==========================*/
/* リストボックスを非表示 */
.testdrivelist_cont_box,
.testdrivelist_cont_box_sp {
	display: none;
}

/* 画像の高さを自動に */
#testdrivelist_cont .testdrivelist_cont_wrap .testdrivelist_cont_box a .carimg img,
#testdrivelist_cont .sp_testdrivelist_cont_wrap .testdrivelist_cont_box .carimg img {
	height: auto;
	display: block;
	background-color: #FFF;
}

#testdrivelist_cont .testdrivelist_cont_wrap .testdrivelist_cont_box a .carimg {
	min-height: 0.85rem;
/*	background-image: url(../img/testdrive_car/no_image.png);*/
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 86%;
}

#testdrivelist_cont .sp_testdrivelist_cont_wrap .testdrivelist_cont_box .carimg {
	min-height: 1.10rem;
/*	background-image: url(../img/testdrive_car/no_image.png);*/
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 86%;
}

/* リンク無効時の挙動 */
#testdrivelist_cont .testdrivelist_cont_wrap .testdrivelist_cont_box a.disable {
	pointer-events: none;
	cursor: default;
}

.contact_confirm_carinfo .title {
	min-width: 2.20rem;
}

#t_car_count .counter {
	font-size: 0.16rem;
	padding-bottom: 0.10rem;
}

@media screen and (max-width: 599px) {
	#t_car_count .counter {
		font-size: 0.14rem;
		padding-bottom: 0.15rem;
	}
}

#t_car_count span {
	font-size: 0.26rem;
	color: #00428e;
	display: inline-block;
	padding: 0 0.06rem;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	position: relative;
	top: 0.02rem;
}

/* 該当車種がない場合 */
#nocar_text_wrap {
/*	display: none;*/
}

#nocar_text_wrap .nocar_box {
	text-align: center;
	padding-bottom: 1.00rem;
}

@media screen and (max-width: 599px) {
	#nocar_text_wrap .nocar_box {
		padding-bottom:0.60rem;
	}
}

#nocar_text_wrap .nocar_box .text {
	font-size: 0.18rem;
	display: none;
	padding-top: 1.00rem;
}

#nocar_text_wrap.nocar .text {
	display: block;
	padding-top: 1.00rem;
}

@media screen and (max-width: 599px) {
	#nocar_text_wrap .nocar_box .text {
		font-size: 0.15rem;
		padding-top: 0.20rem;
	}
}

#nocar_text_wrap .nocar_box .back_btn {
	max-width: 3.00rem;
	margin: auto;
	padding-top: 0.40rem;
}

@media screen and (max-width: 599px) {
	#nocar_text_wrap .nocar_box .back_btn {
		padding-top: 0.30rem;
	}
}

#nocar_text_wrap .nocar_box .back_btn a {
	width: 100%;
	background: #00428e;
	color: #fff;
	text-decoration: none;
	display: block;
	text-align: center;
	padding: 0.15rem 0 0.17rem;
	box-sizing: border-box;
	border-radius: 0.05rem;
	font-size: 0.16rem;
	font-weight: 600;
	position: relative;
}

@media screen and (max-width: 599px) {
	#nocar_text_wrap .nocar_box .back_btn a {
		font-size: 0.15rem;
	}
}

#nocar_text_wrap .nocar_box .back_btn a:hover {
	opacity: 0.7;
}

#nocar_text_wrap .nocar_box .back_btn a span::before {
	content: "";
	width: 0.12rem;
	height: 0.12rem;
	background-image: url(../common/img/icon_right_bold_white.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	transform: rotate(-180deg);
	position: absolute;
	left: 0.15rem;
	top: 40%;
	transition: all 0.3s;
}

#nocar_text_wrap .nocar_box .back_btn a:hover span::before {
	left: 0.10rem;
}

/*==========================
以下、CSV組み込み時に
試乗車予約フォームに表示するサンプル
※組み込みの必要なし
==========================*/
#debag_box {
	background-color: #FFF;
	padding: 0.20rem;
	color: #000;
	margin-top: 0.20rem;
	display: none;
}

#debag_box .debag_title {
	font-size: 0.16rem;
	font-weight: 600;
	padding-bottom: 0.15rem;
	line-height: 1.55;
}

#debag_box .debag_title span {
	display: block;
	font-size: 0.14rem;
	font-weight: 400;
	line-height: 1.3;
}

@media screen and (max-width: 599px) {
	#debag_box .debag_title span {
		font-size: 0.12rem;
	}
}

#debag_box .debag_item_box .list {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.15rem;
	line-height: 1.65;
}

@media screen and (max-width: 599px) {
	#debag_box .debag_item_box .list {
		font-size: 0.13rem;
		letter-spacing: 0;
		line-height: 1.3;
		overflow: auto;
	}
}

#debag_box .debag_item_box .list .debag_item_title {
	width: 2.00rem;
	font-weight: 600;
}

@media screen and (max-width: 599px) {
	#debag_box .debag_item_box .list .debag_item_title {
		width: 100%;
	}
}

#debag_box .debag_item_box .list .debag_item_text {
	width: calc(100% - 2.00rem);
}

@media screen and (max-width: 599px) {
	#debag_box .debag_item_box .list .debag_item_text {
		width: 100%;
		padding-bottom: 0.10rem;
		word-break: break-all;
		font-size: 0.12rem;
	}
}

#debag_box .debag_item_box .list .debag_item_text pre {
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}

#debag_box .debag_item_box .list .debag_item_text pre span {
	color: red;
	font-weight: 600;
}

#debag_box .debag_item_box .text {
	font-size: 0.11rem;
	color: #000;
	font-weight: 400;
	margin: 0;
	padding: 0;
	text-align: left;
	padding-top: 0.10rem;
}

/*==========================
デバッグ用ボックス
==========================*/
#testdrive_debag {
	position: fixed;
	width: 100%;
	box-sizing: border-box;
	bottom: 0;
	left: 0;
	z-index: 10;
	background-color: rgba(230, 230, 230, 0.95);
	padding: 0.20rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
	transition: all 0.3s;
	color: #000;
	display: none;
}

/* トグルボックス */
#testdrive_debag .debag_toggle {
	width: 0.24rem;
	height: 0.14rem;
	background-image: url(../common/img/icon_right_blue.svg);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	transform: rotate(90deg);
	top: 0.15rem;
	right: 0.20rem;
	cursor: pointer;
}

/* デバッグボックス閉じる */
#testdrive_debag.close {
	background-color: rgba(1, 62, 137, 0.95);
	color: #FFF;
}

@media screen and (max-width: 599px) {
	#testdrive_debag.close {
		background-color: rgba(1, 62, 137, 0.95);
		color: #FFF;
	}
}

#testdrive_debag.close .debag_toggle {
	transform: rotate(-90deg);
	background-image: url(../common/img/icon_right_white.svg);
	top: 0.30rem;
}

#testdrive_debag .sec_title {
	width: 100%;
	text-align: center;
	font-size: 0.24rem;
	font-weight: 600;
	cursor: pointer;
}

@media screen and (max-width: 599px) {
	#testdrive_debag .sec_title {
		width: 100%;
		text-align: center;
		font-size: 0.20rem;
		font-weight: 600;
	}
}

#testdrive_debag .list_wrap {
	width: 100%;
	max-width: 10.00rem;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#testdrive_debag .list {
	width: 48%;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	font-size: 0.15rem;
	align-content: baseline;
	padding-top: 0.30rem;
}

@media screen and (max-width: 599px) {
	#testdrive_debag .list {
		width: 46.5%;
	}
}

#testdrive_debag.close .list {
	display: none;
}

#testdrive_debag .list .title {
	width: 100%;
	font-weight: 600;
	padding-bottom: 0.10rem;
	border-bottom: 1px solid #666;
	margin-bottom: 0.10rem;
}

#testdrive_debag .list .link_wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
}

#testdrive_debag .list .link_wrap .link {
	width: 50%;
	padding-bottom: 0.10rem;
	font-size: 0.14rem;
}

@media screen and (max-width: 599px) {
	#testdrive_debag .list .link_wrap .link {
		width: 100%;
		font-size: 0.13rem;
	}
}

#testdrive_debag .list .link_wrap .link a {
	color: #00428e;
}
