@charset "UTF-8";
/* CSS Document */
/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;

}
.tab li a{
    display: block;
    background: #ddd;
    margin: 0 2px;
    padding: 10px 20px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
	background:#731F31;
	color: #FFFFFF;
	border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}


/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:50px 50px;
	/*	border: 2px solid #ddd;*/
	border: 2px solid #CCCCCC;
	height: auto;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.sub_artcle h4 {
	font-size: 1.13em;
	margin-bottom: 10px;
}

.d_img_all {
	width: 100%;
	margin-top: 50px;
	margin-bottom: 50px;
}
.d_img_left {
	width: 45%;
	float: left;
	text-align: center;
	margin-top: 30px;
}
.d_img_right {
	width: 45%;
	float: right;
	text-align: center;
	margin-top: 30px;
}
/*自動車*/
.d_img_left_01 {
	width: 45%;
	float: left;
	margin-top: 10px;
}
.d_img_right_01 {
	width: 45%;
	float: right;
	margin-top: 10px;
}
.d_img_left_02 {
	width: 50%;
	float: left;
	margin-top: 10px;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@media screen and (max-width: 768px){
	
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	background: #fff;
	padding:5%;
	/*	border: 2px solid #ddd;*/
	border: 2px solid #CCCCCC;
	height: auto;
}	
	/*自動車*/
.d_img_left_01 {
	width: 96%;
	float: none;
margin-left:auto;
margin-right: auto;
	margin-top: 20px;
}
.d_img_right_01 {
	width: 96%;
	float: none;
margin-left:auto;
margin-right: auto;
	margin-top: 20px;
}
.d_img_left_02 {
	width: 96%;
	float: none;
margin-left:auto;
margin-right: auto;
	margin-top: 10px;
}
.d_img_left {
	width: 96%;
	float: none;
margin-left:auto;
margin-right: auto;
	text-align: center;
	margin-top: 30px;
}
.d_img_right {
	width: 96%;
	float: none;
margin-left:auto;
margin-right: auto;
	text-align: center;
	margin-top: 30px;
}
}
