@charset "UTF-8";

#top{
	position:relative;
	margin-top: 10px;
}

#top .top-bg{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height: 230px;
	overflow:hidden;
	z-index:0;
}

#top .top-bg img{
	width: 100%;
	object-fit:contain;
	object-position: 50% 100%;
	display:block;
}

.top-inner h1{
	color:#fff;
	font-weight:bold;
	font-size:30px;
	position: absolute;
	top: 35px;
}

.top{
	background:#f2f2f2;
	padding:80px 0;
}

.top-inner{
	width: min(1240px,90%);
	margin:0 auto;
}

.top-box{
	background:#fff;
	border-radius:18px;
	padding: 71px 38px 90px;
	position:relative;
	overflow:hidden;
	margin: 30px 0 0;
}



#txt{
	list-style:none;
	margin:0;
	padding:0;
	display:grid;
	grid-template-columns:1fr 520px;
	gap:40px;
	align-items:start;
}

#txt li{
	margin:0;
	padding:0;
}

#txt li:first-child > div{
	font-size: 20px;
	font-weight:800;
	margin:0 0 14px;
	line-height:1.6;
}

#txt li:first-child p{
	margin:0;
	line-height:1.9;
	color:#222;
	font-size: 16px;
}

#txt li img{
	width:100%;
	height:auto;
	display:block;
	border-radius:14px;
}



.contact{
	background:#f2f2f2;
	padding: 100px 0 180px;
	margin-top: 20px;
}

.contact-inner{
	width:1000px;
	margin:0 auto;
}

.contact-box{
	background:#fff;
	border-radius:18px;
	padding:60px;
	box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.contact-form{
	margin:0;
}

.form-group{
	padding:0 0 44px;
	border-bottom:1px solid #e9e9e9;
}

.form-group + .form-group{
	padding-top:44px;
}

.form-ttl{
	position:relative;
	font-size:20px;
	font-weight:700;
	margin:0 0 30px;
	padding-bottom:12px;
	border-bottom:1px solid #cecece;
}

.form-ttl::after{
	content:"";
	position:absolute;
	left:0;
	bottom:-1px;
	width:90px;
	height:2px;
	background:#e60012;  
}

.form-row{
	display:grid;
	grid-template-columns:220px 1fr;
	gap:24px;
	align-items:center;
	padding:12px 0;
}

.form-row.is-top{
	align-items:start;
}

.form-label{
	font-size:13px;
	color:#666;
	display:flex;
	align-items:center;
	gap:10px;
	line-height:1.4;
}

.req{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	height:18px;
	padding:0 8px;
	border-radius:4px;
	background:#e60012;
	color:#fff;
	font-size:11px;
	font-weight:800;
	line-height:1;
	white-space:nowrap;
}

.form-field{
	min-width:0;
}

.form-input{
	width:320px;
	max-width:100%;
	height:38px;
	border:1px solid #d9d9d9;
	border-radius:6px;
	padding:0 12px;
	font-size:14px;
	box-sizing:border-box;
	background:#fff;
	outline:none;
}

.form-input.is-wide{
	width:520px;
	max-width:100%;
}

.form-input:focus{
	border-color:#e60012;
}

.form-textarea{
	width:520px;
	max-width:100%;
	border:1px solid #d9d9d9;
	border-radius:6px;
	padding:10px 12px;
	font-size:14px;
	box-sizing:border-box;
	background:#fff;
	outline:none;
	resize:vertical;
}

.form-textarea:focus{
	border-color:#e60012;
}

.form-select{
	width:240px;
	max-width:100%;
	height:38px;
	border:1px solid #d9d9d9;
	border-radius:6px;
	padding:0 40px 0 12px;
	font-size:14px;
	box-sizing:border-box;
	background:#fff;
	outline:none;
	-webkit-appearance:none;
	appearance:none;
	background-image:url("/usedcar/images/select-circle.svg");
	background-repeat:no-repeat;
	background-size:20px auto;
	background-position:right 12px center;
}

.form-select:focus{
	border-color:#e60012;
}

.form-radio{
	display:flex;
	gap:20px;
	align-items:center;
	flex-wrap:wrap;
}

.radio{
	display:flex;
	align-items:center;
	gap:8px;
	font-size:14px;
	color:#222;
}

.radio input{
	width:16px;
	height:16px;
}

.form-cta{
	display:flex;
	justify-content:center;
	padding-top:44px;
	gap: 20px;
}

.form-btn{
	width:240px;
	height:50px;
	border:0;
	border-radius:999px;
	color:#fff;
	font-weight:800;
	letter-spacing:.08em;
	cursor:pointer;
	background:linear-gradient(90deg,#e60012 0%,#f08a00 100%);
}

.form-btn:hover{
	opacity:0.85;
}

.btn-contact{
	cursor: pointer;
	border-radius: 100px;
	padding: 0 40px;
	border: 1px solid #9f9f9f;
	font-weight: bold;
}

.edit_errors{
	text-align: center;
    color: red;
    font-weight: bold;
    font-size: 18px;
    line-height: 30px;
    margin: 20px 0;
}

.comp{
	margin: 100px auto;
	text-align: center;
	font-size: 18px;
}
.comp a{
	cursor: pointer;
}

@media screen and (max-width:768px){
	.contact{padding: 50px 0 80px;}
	.contact-inner{width:min(1000px,90%);}
	.contact-box{padding: 40px 24px;}
	.form-row{grid-template-columns:1fr;gap:10px;padding:14px 0;}
	.form-label{font-size:12px;}
	.form-input{width:100%;}
	.form-input.is-wide{width:100%;}
	.form-textarea{width:100%;}
	.form-select{width:100%;}
	.form-cta{padding-top:34px;}
	.form-btn{width:100%;max-width:320px;}

	.edit_errors {font-size:16px;}

	.comp{font-size:16px;}
}
