@charset "utf-8";
/* CSS Document */
/* 汎用 */
html{scroll-padding-top: 170px;}
body{
	background: #f3ebe0;
}
.wrap {
	width: 90%;
	margin: 0 auto;
}
.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.even {flex-direction: row-reverse;}

/*==================================================
ヘッダー
===================================*/
header {
	height: 130px;
	/*margin: 1em 1em 0 3em;*/
	margin: 1em 1em 0 1em;
}
header h1{
    text-align: center;
	margin: 0.5em auto;
	letter-spacing: 0.1em;
	width: 50%;
}
header h1 a{
	color: #333;
}
header .header_text{
	overflow: hidden;
}
header .sab{
	float: left;
}
header .tel{
	float: right;
	letter-spacing: 0.1em;
}
header .tel a{
	color: #333;
}
header .tel span{
	margin-left: 0.5em;
}

/*==================================================
TOP画像
===================================*/
#mainvisual{
	padding-top: 5%;
}
#mainvisual .wrap{
	width: 95%;
}
#mainvisual h2{
    color: #333;
    text-align: left;
    letter-spacing: 8px;
    position: absolute;
    /*top: 6.5em;*/
	top: 8em;
    left: 2em;
    z-index: 5;
}
#mainvisual p {
    position: relative;
    top: 10.5em;
    left: 2.5em;
    border-bottom: 3px solid;
    width: 30%;
    padding-bottom: 0.3em;
    letter-spacing: 0.1em;
}

/*==================================================
about
===================================*/
#about{
	overflow: hidden;
	margin: 5em 0;
}
#about .wrap
{
    max-width: 1200px;
    margin: 0 auto;
}
#about h3{
	text-align: center;
	letter-spacing: 0.1em;
	margin-bottom: 0.5em;
}
#about .about_left{
	float: left;
	width: 50%;
}
#about .about_right{
	float: right;
	width: 45%;
}
#about .about_sab{
	letter-spacing: 0.1em;
}
#about .about_hr{
	border: 2px solid;
    width: 30%;
    margin: 1em 0 2em;
}
/*==================================================
カンセイモータースのサービス
===================================*/
#service{
	overflow: hidden;
	margin: 5em 0;
}
#service h4{
	text-align: center;
    margin-bottom: 1em;
}
#service ul{
	width: 100%;
	margin: 0 auto;
}#service img{
	margin-bottom: 1em;
}
#service .service_01,#service .service_02,
#service .service_03,#service .service_04,
#service .service_05{
	width: 31%;
	float: left;
}
#service .service_02,#service .service_03,
#service .service_05{
	margin-left: 2em;
}
#service .service_01,#service .service_02,
#service .service_03{
	margin-bottom: 5em;
}

/* ボタン
------------------------*/
.service_btn{
	background: url("../img/btn02.jpg");
	background-position: center;
	background-repeat: no-repeat;
	width: 200px;
	height: 47px;
    margin-top: 1em;
}
.service_btn a{
	color: #fff;
	padding: 0.4em 0;
	display: block;
}

/*==================================================
NEWS
===================================*/
#news{
    width: 90%;
    margin: 0 auto;
	background: #fff;
	border-radius:10px;
	padding: 2em;
    overflow: hidden;
}
#news .news_hr{
	border: 2px solid;
    width: 20%;
    margin: 1em 0 2em;
}
#news .news_left{
	float: left;
}
#news dl{
	float: left;
	width: 70%;
    margin-left: 5em;
    margin-top: 1em;
}
#news dl a{
	color: #333;
}
#news dt{
	margin-right: 3em;
}
#news dd{
	margin-left: 8em;
}
.dot_hr{
	border: none;
	border-top: 2px dotted #707070;
	margin: 2em 0;
}
/* スクロールバー
--------------------------------*/
.scroller {
	height: 120px;
	overflow-y: scroll;
}
.scroller::-webkit-scrollbar {
    width: 16px;
}
.scroller::-webkit-scrollbar-track {
    background-color: #e4e4e4;
/*   border-radius: 100px;*/
}
.scroller::-webkit-scrollbar-thumb {
    background-color: #dd740b;
/*   border-radius: 100px;*/
}
/*==================================================
CONTACT
==================================*/
#contact{
	background:url("../img/contact_bg.jpg");
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 6em;
	margin: 5em 0;
	overflow: hidden;
}
#contact .contact_left{
	float: left;
	color: #fff;
}
#contact .contact_left img{
	margin-right: 1em;	
}
#contact .contact_left h4{
	letter-spacing: 0.1em;
}
#contact .contact_left p{
	margin-left: 10em;
}
#contact .contact_right{
	float: right;
	margin-top: 1em;
}
#contact .contact_right a{
	display: block;
}
/*==================================================
footer nav
===================================*/
#footer_nav{
	margin: 5em 0;
	overflow: hidden;
}

#footer_nav .footer_left{
	/*float: left;*/
	width: 50%;
	margin: 0 auto;
}
#footer_nav .footer_left h3{
	letter-spacing: 0.1em;
}
#footer_nav .footer_left a{
	color: #333;
}

#footer_nav .footer_right{
	width: 40%;
	margin: 0 auto;
}
#footer_nav .footer_right ul{
	float: left;
}
#footer_nav .footer_right li{
	margin: 1em 0 2em;
}
#footer_nav .footer_menu{
	margin-left: 3em;
}
#footer_nav .footer_menu2{
	margin-left: 6em;
}
#footer_nav .footer_menu a,
#footer_nav .footer_menu2 a{
	color: #333;
}

.footer_hr{
	width: 20%;
	border-bottom: 3px solid #dd740b;
	margin-top: -2em;
}







/*==================================================
Goole map
===================================*/
#store_map{
	margin-bottom: 10em;
}
#store_map iframe{
	margin: 0 auto;
}



















/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*
IE11対策
----------------------------*/
_:-ms-lang(x)::-ms-backdrop,
.d-demo {
  display: -ms-grid;
  overflow: hidden;
}
/*----------------------------*/

.d-demo__wrap {
  display: flex;
  overflow: hidden;
}

.d-demo__list {
  display: flex;
  list-style: none;
}

.d-demo__list--left{
animation :infinity-scroll-left 95s infinite linear 0.5s both;
}

.d-demo__item {
  width: calc(150vw / 6);
}
.d-demo__item > img{
   width: 95%;
}


/*==================================================
フッター
===================================*/
#footer {

}
.copyright {
	padding: 15px 0;
	color: #333;
	text-align: center;
	letter-spacing: 0.1em;
}

/*==================================================
ページトップボタン
===================================*/
#page_top{
	width: 160px;
    height: 115px;
    position: fixed;
    right: 0px;
    bottom: 60px;
    background: url(../img/icon_top.png);
    background-repeat: no-repeat;
    z-index: 999;
}
#page_top a{
	position: relative;
	display: block;
	width: 160px;
    height: 115px;
	text-decoration: none;
}
#page_top a::before{
	font-size: 30px;
	color: #fff;
	position: absolute;
	width: 30px;
	height: 30px;
	top: -5px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}





/*==================================================
ふわっ
===================================*/

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
  transform: translateX(100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}












