

/*見出しテスト*/
.demo {
  width: 500px;
  margin: 0 auto;
  padding: 10px 0;
  font-family: sans-serif;
  font-size: 20px;
  color:#C60000;
}
.heading {
  margin: 10px 0
}
 .facebook{
	        	margin-top:10px;
	        }
	        ul.sns_panel{
	        	display: flex;
	        	flex-wrap: wrap;
	        	justify-content: center;
	        		        	margin-bottom: 50px;

	        }
	        ul.sns_panel li img{
	        	width:80%;
	        	padding-right: 15px;
	        }
.demo7 .heading {
  position: relative;
  height: 50px;
  padding: 0;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #C60000;
  line-height: 50px;
}
.demo7 .heading .caption{
  position: absolute;
  right: 0;
  top: 0;
  padding-left: 25px;
  padding-right: 40px;
  background: #C60000;
  color: #fff;
}
.demo7 .heading .caption:before{
  display: block;
  content: ' ';
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  right: 99.9%;
  top: 0;
  border: 0 solid transparent;
  border-width: 50px 37px 0 0;
  border-right-color:#C60000;
}
.demo7 .heading .title{
  float: left;
  padding-left: 20px;
}
/*見出しテストここまで*/

.midashi-top{
	margin-top:50px;
	margin-bottom: 10px;
	text-align: center;
	
}
.midashi-top2{
	margin-top:10px;
	margin-bottom: 10px;
	text-align: center;
	
}
.cont_block{
	width: 80%;
	margin:0 auto;
	text-align: center;
}
.sukima{
	margin-top:20px;
}
.midashi_block{
	margin-top:50px;
	margin-bottom: 50px;
	padding:15px;
	background-color: #fff;
	text-align: center;
}
.midashi_block2{
	padding:15px;
	
	text-align: center;
}
.rogo-s{
	width: 35px;
	display: inline-block;
	vertical-align: bottom;
}
.rogo-s2
{
	width: 35px;
	display: block;
	vertical-align: bottom;
	margin:0 auto;
	margin-bottom: 5px;
}
.midashi2{
	display: block;
	font-weight: bold;
	font-size: 1.6em;
	vertical-align: bottom;
	margin-bottom: 5px;
}



.midashi3 {
	font-weight: bold;
	font-size: 1.6em;
	vertical-align: bottom;
display: flex;
align-items: center;
margin-bottom:5px;
}
.midashi3:before,
.midashi3:after {
border-top: 22px solid #C60000;
padding-bottom: 2px;
border-bottom:10px solid #000;
content: "";
flex-grow: 1;
}
.midashi3:before {
margin-right: 1rem;
}
.midashi3:after {
margin-left: 1rem;
}

.midashi_en3{
	font-weight: bold;
	font-size: 0.8em;
	color:#C60000;
	}

.midashi4{
	font-weight: bold;
	font-size: 2.4em;
	vertical-align: bottom;
display: flex;
align-items: center;
margin-bottom:5px;
}
.midashi4:before,
.midashi4:after {
border-top: 1px solid #C60000;
content: "";
flex-grow: 1;
}
.midashi4:before {
margin-right: 1rem;
}
.midashi4:after {
margin-left: 1rem;
}

.midashi_en4{
	font-weight: bold;
	font-size: 0.8em;
	color:#C60000;
	}


.midashi_en2{
	display: block;
	font-size:0.8em;
	font-weight: bold;
	padding-left: 15px;
	color: #c60000;

}

.midashi{
	display: inline-block;
	font-weight: bold;
	font-size: 1.6em;
	vertical-align: bottom;
}

.midashi_en{
	display: inline-block;
	font-size:0.8em;
	font-weight: bold;
	padding-left: 15px;
	color: #c60000;

}
.midashi_sub{
	font-size: 1.0em;
	line-height: 1.65;
	font-weight: 600;
}
.hidari{
	display: inline-block;
	width: 50%;
	margin-right: 15px;
	vertical-align: top;
}
.migi{
	display: inline-block;
	width: 45%;
	vertical-align: top;
	top: 0;
    right: 0;
    text-align: right;    
}

.migi img{
	width: 100%;
	vertical-align: middle;
	
}
.res_img{
width:100%;
max-width: 100%;
height: auto;

}


.hidari_sns{
	display: inline-block;
	width: 75%;
	margin-right: 20px;
	vertical-align: top;
}
.migi_sns{
	margin-top:30px;
	display: inline-block;
	width: 20%;
	vertical-align: top;
  float: right;
}
/*ここからsp*/

@media screen and (max-width: 640px) {
.hidari_sns{
	display: block;
	width: 100%;
	vertical-align: top;
}
.migi_sns{
	margin-top:20px;
	display: block;
	width: 80%;
	margin: 0 auto;
	vertical-align: top;
	text-align: center;
}
}
/*spここまで
/*事業内容*/
@media only screen and (max-width: 750px) {
	.jigyo_panel{
	width: 95%;
	display: block !important;
	margin: 0 auto;
	}
	.jigyo_box{
	display: block !important;
	width: 100% !important;;
}
}
.jigyo_panel{
	width: 95%;
	display: table;
	margin: 0 auto;
	text-align: center;
	}
.jigyo_box{
	display: table-cell;
	width: 50%;
}
.moji{
	vertical-align: middle;
	text-align: center;
}
/*事業内容ここまで*/
.l-card3 {
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 1px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block;
    vertical-align: top;
}
.spec_side{
	line-height: 1.4em;
}
.youtube{
	padding:30px;
}
.side_bot{
	text-align: center;
	width: 100%;
	margin: 0 auto;
}
#wp-calendar{
	width: 50%;
	margin:0 auto;
	position: relative;
}
/*767px以下（スマホ用）*/
    @media screen and (max-width: 767px) {
        .facebook{width: 100%;
        max-width: 500px;}
}
 @media screen and (min-width: 768px) {
        .facebook {
        	width:100%;
	        max-width: 500px;}}

.jigyo_panel1{
	display: flex;
	flex-wrap:wrap;
	width: 95%;
	margin:0 auto;
	height: 143px;
	vertical-align: middle;
	justify-content: center;
	align-items: center;
	border:0.5px #999 solid;
	margin-bottom: 5px;
}

.jigyo_photo{
	width: 25%;
	align-self: flex-start;
}
.jigyo_moji_naka{
	width: 45%;
	text-align: center;
	vertical-align: middle;
}
.jigyo_moji_link{
	width: 30%;
}
@media only screen and (max-width: 750px) {
	.jigyo_panel1{
	display: flex;
	flex-wrap:wrap;
	width: 95%;
	margin:0 auto;
	height: auto;
	vertical-align: middle;
	justify-content: center;
	align-items: center;
	border:0.5px #999 solid;
	margin-bottom: 5px;
	text-align: center;
}
	.jigyo_photo{
	width: 100% !important;
	margin-bottom:15px;
}
.jigyo_moji_naka{
	width: 100% !important;
	text-align: center;
	vertical-align: middle;
}
.jigyo_moji_link{
	width: 100% !important;
}
}
.jigyo_box2{
	display: table-cell;
	width: 25%;
}
.jigyo_box3{
	display: table-cell;
	width: 35%;
	position: relative;
}
.btn-flat-border {
    margin: 50px;
    width: 50% !important;
    display: inline-block;
    padding: 1em 1em;
    text-decoration: none;
    color: #C60000;
    border: solid 2px #C60000;
    border-radius: 3px;
    transition: .4s;
    text-align: center;
}
/*新車動画*/
.douga_panel{
	display: flex;
	justify-content: center;
	width:100%;
	margin: 0 auto;
  align-items: center;
  position:relative;
}
.douga_waku{
  width: 48%;
  bottom:0;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}
.douga_box_maker{
height: 150px;
  width:50%;
  margin: 0 auto;
  text-align: center;
}
.douga_box_maker img{

  margin: 0 auto;
}
.douga_box{
  position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
.douga_box iframe{
  margin-top: auto;
 
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     position:absolute;
  bottom: 0px;
  padding-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}
.douga_box_in{
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.douga_mi{

  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #C60000;/*上線*/
  border-bottom: solid 3px #c60000;/*下線*/
  margin-bottom: 15px;
}
ul.sns_panel li{
	padding:5px;
	background-color: #fff;
	border: 0.5px solid #333;
	margin:5px;
	text-align: center;
}
h2.newcar_m{
 color: #555;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #555;/*上線*/
  border-bottom: solid 3px #555;/*下線*/
  text-align: center;
  margin:20px !important;

}
@media screen and (max-width: 650px){
  .l-card_top{
    width: 95% !important;
    margin: 0 auto !important;
  }
}
ul.card_box_top_z{
  display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
 display: flex;
-ms-flex-wrap: wrap;
 -webkit-flex-wrap: wrap;
flex-wrap: wrap;

}

li.l-card_top_z{
  display: flex;
overflow: hidden;
    width: 31%;
    padding: 0;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.1);
       vertical-align: top;
    flex-direction: column;
    position: relative;
    align-items: center;
}
.otoibot{
  display: block;
    width: 230px;
    height: 50px;
    border-radius: 4px;
    background: #C60000;
    
    bottom: 0;
    right: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff !important;
    text-align: center;
    box-sizing: border-box;
    padding: 13px 5px 0 0;
    margin-top: auto;
    margin-bottom: 15px;
}