@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;
}
#gallery {
	padding-top: 50px;
	margin: auto;
}
.titlegreem{
	color: #7dbe37;
}

/* ++++++++++++++++++++++++++++++++++++++++++++
	売約一覧
++++++++++++++++++++++++++++++++++++++++++++++ */

.soldlist {
	width: 100%;
	max-width: 1095px;
	margin:  auto;
	
	display: grid;
    grid-template-columns: repeat(3, 1fr);
  	gap: 30px;            /* a 同士の間隔（任意） */
	padding-top: 50px;
}
.soldlist a {
	display: block;
	width: 100%;
	background: #FFFFFF;
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
	text-decoration: none;
	transition:.35s ease;
}
.soldlist a:hover {
	transform:translateY(-8px);
}
.soldlist a .textbox {
	padding: 10px;
}
.soldlist a .textbox p{
	margin-top: 0;
}
.soldlist a .textbox .name {
	font-size: 20px;
}

.soldlist a .price {
	color: #7dbe37;
	text-align: right;
}
.soldlist a .price .pricebig {
	font-size: 40px;
	font-weight: bold;
}
.soldlist img {
	width: 100%;
}

/* ++++++++++++++++++++++++++++++++++++++++++++
	詳細デザイン
++++++++++++++++++++++++++++++++++++++++++++++ */
.sale-detail{
	width: 100%;
	max-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%;
}
.gallery{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:15px;
	width: 980px;
	margin: 50px auto 0;
}
.gallery img{
	width:100%;
}
.info{
	background:#eee;
	padding:20px;
	margin-bottom:20px;
}
.soldout{
	width: 100%;
	padding: 20px 0;
	background: #7dbe37;
	text-align:  center;
	color: #FFFFFF;
	font-family: "lexend-deca", sans-serif;
	font-weight: 400;
	font-size: 30px;
}

/* ++++++++++++++++++++++++++++++++++++++++++++
	テーブルデザイン
++++++++++++++++++++++++++++++++++++++++++++++ */

.detail table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ccc; /* 下線だけ */
	margin-top: 20px;
}

.detail th,
.detail td {
  padding: 12px;
  border-bottom: 1px solid #ccc; /* 下線だけ */
}

.detail th {
	background: none; /* 背景なし */
	text-align: left;
}
/* ボタン→ */
.more {
	margin-top: 50px;
	text-align:  center;
}
.more a {
	width: 100%;
	height: 50px;
	font-size: 20px;
	padding:  10px 0;
	position:relative;
	overflow:hidden;
}
.more a::before {
	content:"";
	position:absolute;
	top:0;
	left:-100%;
	width:50px;
	height:100%;
	background:rgba(125,190,55,1);
	transition:0.6s;
transform:skewX(-25deg);
	z-index:1;
}
/* hoverで帯が通過 */
.more a:hover::before{

	left:450px;

}
.more .more-text {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	z-index:2;
	text-align:center;
	width:100%;	
}
.more .arrow {
	position:absolute;
	top:50%;
	right:20px;
	transform:translate(0%, -50%);
	z-index:2;
	text-align:center;
	
}


/* 前後ボタン→ */
.move {
	width: 90%;
	max-width: 1095px;
	margin: 50px auto 0;
	padding-bottom: 50px;
	text-align:  center;
	display: flex;
	gap: 20px;
}
.move a {
	width: 200px;
	height: 50px;
	font-size: 20px;
	padding:  10px 0;
	margin: auto;
	position:relative;
	overflow:hidden;
}
.button-off{
	display: block;
	width: 200px;
	height: 50px;
	font-size: 20px;
	padding:  10px 0;
	margin: auto;
	position:relative;
	overflow:hidden;
	background: #D3D3D3;
	
}



/* ++++++++++++++++++++++++++++++++++++++++++++
	スマホサイト用調整
++++++++++++++++++++++++++++++++++++++++++++++ */

@media screen and (max-width:980px){
	
	.content {
		background: #e0e0e0;
		padding-bottom: 50px
	}
	.content .title {
		font-size: 38px;
		padding: 40px 0 0;
	}
	.sub-title {
		font-size: 16px;
	}
	#gallery {
		padding-top: 30px;
		margin: auto;
	}
	.soldlist{
			width: 90%;
			grid-template-columns: repeat(2, 1fr);
			gap: 20px;            /* a 同士の間隔（任意） */
	}

	.soldlist a {
		width:100%;
	}
	.soldlist a .textbox .name {
		font-size: 15px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* 表示する行数 */
		overflow: hidden;
	}
	.sale-detail{
		margin:  30px auto 0;
		flex-direction: column;
		flex-direction: row-reverse;
		flex-direction: column-reverse;
	}
	.detail{
		width: 100%;
		padding: 20px;
	}
	.sale-detail .main-car-image{
		width: 100%;
	}
	.detail .name {
		font-size: 25px;
	}
	.textbox h3 {
		font-size: 15px;
		font-weight: normal;
	}
	#gallery{
		margin-top: 50px;
	}
}