@charset "utf-8";
/* CSS Document */

.content {
	background: #e0e0e0;
	padding-bottom: 50px
}
.content .title {
	font-size: 48px;
	text-align: center;
	font-family: "lexend-deca", sans-serif;
	font-weight: 400;
	font-style: normal;
	padding: 70px 0 0;
}
.sub-title {
	text-align: center;
	font-size: 18px;
	font-weight: normal;
}
.titlegreem{
	color: #7dbe37;
}

/* ++++++++++++++++++++++++++++++++++++++++++++
	詳細デザイン
++++++++++++++++++++++++++++++++++++++++++++++ */
.sale-detail{
	width: 1095px;
	margin:  50px auto 0;
	display: flex;        /* 横並びにする */
  	gap: 30px;            /* a 同士の間隔（任意） */
	background: #FFFFFF;
	justify-content: space-between;
}
.detail{
	width: 495px;
	padding: 20px;
}
.detail .name{
	font-size: 30px;
	font-weight: bold;
	margin: auto;
}
.sale-detail .main-car-image{
	width: 700px;
}
.sale-detail .main-car-image img {
	width:100%;
}

.car-box {
	width: 800px;
	margin:  auto;
	display: flex;
	justify-content: space-between;
	background: #FFFFFF;
	padding: 30px;
	margin-top: 50px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.car-box .car-info {
	width: 410px;
}
.car-box .carimage {
	width: 300px;
}
.car-box .carimage img {
	width:100%;
}
/* ++++++++++++++++++++++++++++++++++++++++++++
	車両情報テーブルデザイン
++++++++++++++++++++++++++++++++++++++++++++++ */

.car-box table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid #ccc; /* 下線だけ */
	margin-top: 20px;
}

.car-box th,
.car-box td {
	padding: 12px;
	border-bottom: 1px solid #ccc; /* 下線だけ */
}
.car-box th {
	background: none; /* 背景なし */
	text-align: left;
}
.car-box tr:last-child th,
.car-box tr:last-child td {
	border-bottom: none;
}

/* ++++++++++++++++++++++++++++++++++++++++++++
	お問い合わせフォーム部分
++++++++++++++++++++++++++++++++++++++++++++++ */
.contact-box{
	width: 100%;
	max-width: 800px;
	padding: 30px;
	margin: 50px auto 0;
	background-color: #FFFFFF;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-box h3{
	font-size: 29px;
}
.thanks-text{
	margin-top: 29px;
}
.contact-box dl {
  width: 100%;
  margin: 0;
}

.contact-box dt,
.contact-box dd {
  margin: 0;
  padding: 15px 10px;
  border-bottom: 1px solid #ccc;
}

/* 横並び */
.contact-box dl {
  display: grid;
  grid-template-columns: 180px 1fr;
}

/* dt側 */
.contact-box dt {
  font-weight: bold;
}

/* dd側 */
.contact-box dd {
}

/* 最後の線を消す */
.contact-box dt:last-of-type,
.contact-box dd:last-of-type {
  border-bottom: none;
}

input{
	width: 100%;
    height: 40px;
	padding:  2px 10px;
	background-color: #F9F9F9;
    border: 1px solid #ccc;
    border-radius: 3px;
}
textarea{
	width: 100%;
    height: 100px;
	padding:  2px 10px;
	background-color: #F9F9F9;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.contact-tel{
	text-align: center;
	margin: 50px auto;
}
/* 電話での問い合わせ */
.tel-button {
	width: 350px;
	margin: auto;
	display: flex;
	align-items: center; /* 垂直方向（上下）の中央揃え */
	justify-content: center; /* 水平方向（左右）の中央揃え */
	gap: 15px;
	text-decoration: none;
	font-size: 40px;
	color: #000000;
}
.tel-button img {
	height: 40px;
}
/* ボタン→ */
.contact-button {
	text-align: center;
}
.contact-button .message {
	text-align: center;
}
.form-bt button,
.contact-button button {
	width: 200px;
	height: 50px;
	font-size: 20px;
	padding:  10px 0;
	color: #FFFFFF;
	background: #282828;
	text-decoration: none;
	text-align: center;
	margin:  50px auto 0;
	cursor:pointer;
}
.back button {
	background: #4389BC;
}
.form-bt {
	display: flex;
	justify-content: center;
	align-items: center;
	gap:50px;
}

@media screen and (max-width:980px){
	.content .title {
		font-size: 38px;
		padding: 40px 0 0;
	}
	.sub-title {
		font-size: 16px;
	}
	
	.car-box {
		display: flow;
		width: 100%;
	}
	.car-box .car-info{
		width: 100%;
	}
	.car-box .carimage{
		width: 100%;
	}
	.contact-box dl{
		display: flow;
	}
	.contact-box dt{
		border-bottom: none;
		padding-bottom: 0;
	}
	.form-bt button{
		width: 170px;
	}
	.form-bt {
		gap:20px;
	}
}