@charset "utf-8";

/*-----------------------------------------------------------------

Car comparison table 

-----------------------------------------------------------------*/
/*-----------------------------------------------------------------
 table wrap
-----------------------------------------------------------------*/
#comparisonTable .tableWrap{
	padding-top: 30px;
}
.carSingle #comparisonTable .arrowTxt{
	top: 12px;
}
@media screen and (min-width:768px){
	#comparisonTable .tableWrap{
		padding-top: 0px;
	}
}


/*-----------------------------------------------------------------
 table 内
-----------------------------------------------------------------*/
.carSingle #comparisonTable .tableScroll table{
	width: 700px;
}

.carSingle #comparisonTable table td:nth-child(1){
	width: 13%;
}

.carSingle #comparisonTable table td:nth-child(2),
.carSingle #comparisonTable table td:nth-child(3),
.carSingle #comparisonTable table td:nth-child(4){
	width: 29%;
}

.carSingle #comparisonTable table.secondTable td{
	border-top: 1px solid var(--color-primary);
}

@media screen and (min-width:960px){
	.carSingle #comparisonTable .tableScroll table{
		width: 960px;
	}
}


/*-----------------------------------------------------------------
	開閉ボタン
-----------------------------------------------------------------*/
#comparisonTable .tableSlideBtn{
	width: 300px;
	height: 56px;
	margin: 20px auto;
	position: relative;
	border-radius: 100px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
	color: #0A0E1F;
	border: 2px solid var(--color-primary);
	background: #ffffff;
	position: relative;
	padding: 0;
	transition: all .4s;
}
#comparisonTable .tableSlideBtn:hover{
	color: #ffffff;
  background: var(--color-primary);
}
#comparisonTable .tableSlideBtn::after{
	content: "更に詳しい比較をみる";
	font-size: 16px;
	line-height: 50px;
	display: block;
}
#comparisonTable .tableSlideBtn.open::after{
	content: "更に詳しい比較を閉じる";
}
#comparisonTable .tableSlideBtn::before{
	position: absolute;
	content:"";
	top: 0;
	bottom: 0;
	right: 20px;
	margin: auto;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--color-primary);
	border-right: 2px solid var(--color-primary);
	transform:rotate(135deg);
	transition: all .4s;
}
#comparisonTable .tableSlideBtn:hover::before{
	border-top: 2px solid #Fff;
	border-right: 2px solid #Fff;
}
#comparisonTable .tableSlideBtn.open::before{
	transform:rotate(-45deg);
}

.carSingle #comparisonTable .secondTableWrap{
	display: none;
}
