@charset "UTF-8";

/*++++++++++++++++++++++++++
	背景
++++++++++++++++++++++++++*/
#wrapper {
    font:100%/1.231 'ヒラギノ角ゴ Pro','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',Osaka,sans-serif ;
	overflow:visible;
    max-width: 800px;
    width: 100%;
    margin: auto;
}
body{
    background-color: #fff;
    color: #353536;
    z-index: 100;
}
main{
    padding: 0 10px;
}


/*++++++++++++++++++++++++++
	共通コンテンツ
++++++++++++++++++++++++++*/
h2{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background: #DC000C;
    color: #fff;
    padding: 15px 0;
    margin-right: -10px;
    margin-left: -10px;
}
.sp{
    display: inline-block;
}
@media only screen and (min-width: 350px) {
.sp{
     display: none;
}
}
/*++++++++++++++++++++++++++
	    top
++++++++++++++++++++++++++*/
#top{
    background: #FFEC00;
    background-image:url(../img/main_bk2@2x.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#top img{
    padding: 20px 0 0px 0;
    vertical-align:middle;
}
#top .top_under{
    background: #DC000C;
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}
#top2{
    background: #FFEC00;
    background-image:url(../img/main_bk@2x.png);
}
#top2 img{
    padding: 0px 0 40px 0;
}
@media only screen and (min-width: 800px) {
#top .top_under{
    font-size: 20px;
}
}

/*++++++++++++++++++++++++++
	     共通
++++++++++++++++++++++++++*/
.daihatsu_logo{
    width: 100%;
    margin: auto;
    background-color: #fff;
}
.daihatsu_logo img{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding: 20px 0 10px ;
}
#ivent{
    font-size: 14px;
    text-align: center;
    line-height: 1.4em;
    overflow: hidden;
}
.under_line{
    border-bottom: solid 4px #DC000C;
    margin:0 -10px 20px -10px;
}
.color_aka{
    font-family: 'Kosugi Maru', sans-serif,'ヒラギノ角ゴ Pro','Hiragino Kaku Gothic Pro';
    font-weight: bold;
    text-align: center;
    border: solid 2px #DC000C;
    border-radius: 5px;
    font-size: 20px;
    padding: 5px 0;
    margin-bottom: 30px;
}
.color_kuro{
    font-family: 'Kosugi Maru', sans-serif,'ヒラギノ角ゴ Pro','Hiragino Kaku Gothic Pro';
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    font-size: 20px;
    padding: 5px 0;
    margin-bottom: 30px;
    margin-top: 5px;
    background-color: #FFEC00;
}
@media only screen and (min-width: 800px) {
.daihatsu_logo{
    text-align: center;
}    
.daihatsu_logo img{
    width: 600px;
    display: inline-block;
}
}

.color_aka a{text-decoration:none; color:#DC000C ;}
.color_aka a:link{text-decoration:none; color:#DC000C ;}
.color_aka a:visited{text-decoration:none; color:#DC000C ;}
.color_aka a:hover{text-decoration:none; color:#DC000C ;}
.color_aka a:active {text-decoration:none; color:#DC000C ;}

.color_kuro a{text-decoration:none; color:#001976 ;}
.color_kuro a:link{text-decoration:none; color:#001976 ;}
.color_kuro a:visited{text-decoration:none; color:#001976 ;}
.color_kuro a:hover{text-decoration:none; color:#001976 ;}
.color_kuro a:active {text-decoration:none; color:#001976 ;}

.txt_1 a{text-decoration:none; color:#353536 ;}
.txt_1 a:link{text-decoration:none; color:#353536 ;}
.txt_1 a:visited{text-decoration:none; color:#353536 ;}
.txt_1 a:hover{text-decoration:underline; color:#353536 ;}
.txt_1 a:active {text-decoration:none; color:#353536 ;}

/*++++++++++++++++++++++++++
	     tab内容 content
++++++++++++++++++++++++++*/
.magin_b{
    margin-bottom: 30px;
}
.magin_t{
    margin-top: 40px;
}
.magin_l{
    margin-left:10px;
}
.magin_lr{
    margin-left:10px;
    margin-right:10px;
}
.magin_minus{
    margin-left: -10px;
    margin-right: -10px;
}
.pad_t{
    padding-top: 40px;
}

.magin_t_minus{
    margin-top: -7%;
}
.content p{
    font-size: 14px;
    line-height: 1.5em;
}
.content .bg_2 li{
    margin-left:10px;
    margin-right:10px;
}
/*++.txt++*/
.content .txt_1{
    margin-top: 20px;
    margin-bottom: 40px;
    text-align:left;
}
.content .txt_2{
    margin: 20px 10px 0px 10px;
    padding-bottom: 40px;
    color: #F4F4F4;
    text-align: left;
}
.content .txt_3{
    margin: 20px 10px 20px 10px;
    color: #F4F4F4;
    text-align: left;
}
/*++.bg+++*/
.content .bg_1{
    text-align: center;
    background: #FFF3D8;
    margin: 0 -10px;
    padding: 30px 0;
}
.content .bg_2{
    text-align: center;
    background: #001976;
    margin: 0 -10px;
    padding: 20px 0;
}
@media only screen and (min-width: 800px) {
.content p{
    font-size: 15px;
}  
.magin_t_minus{
    margin-top: -55px;
}    
}
/*++++++++++++++++++++++++++
	     tenpo
++++++++++++++++++++++++++*/
.tenpo h3{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
}
.tenpo h4{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background: #DC000C;
    color: #fff;
    padding: 10px 0;
    margin-top: 40px;
}
.tenpo{
    margin-bottom: 40px;
}
.tenpo p{
    font-size: 14px;
    line-height: 1.5em;
}
.tenpo li{
    padding: 24px 0;
}
.tenpo .tenpo_line{
    border-bottom: solid 1px #E4E4E4;
}

@media only screen and (min-width: 800px) {
.tenpo li{
    display: inline-block;
    width: 395px;
}
}

/*++++++++++++++++++++++++++
	フッター
++++++++++++++++++++++++++*/
footer{
    background: #DC000C;
    padding: 30px 10px;;
    font-size: 11px;
    text-align: center;
    color: #fff;
}
/*--------------------------------------
		pagetop
---------------------------------------*/
#btn_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    }

#btn_top a {
    background: #898989;
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    display: block;
    border-radius: 5px;
    }

#btn_top a:hover {
    text-decoration: none;
    background-color: #898989;
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
    }

.vr-wrap {
    width: 960px;
    min-height: 480px;
    box-sizing: border-box;
    padding: 25px;
    margin: 0 auto;
    }

/*  ------------------------------------------------------
common-contact-menu
------------------------------------------------------  */
ul.contact-menu {
    width: 1000px;
    margin: 60px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }
ul.contact-menu li{
    width: 23%;
    position: relative;
    }
ul.contact-menu li a {
    display: block;
    text-decoration: none;
    height: 54px;
    font-size: 17px;
    line-height: 55px;
    font-weight: bold;
    color: #222;
    border: 1px solid #e60012;
    border-radius: 5px;
    padding: 0;
    text-indent: 1.5em;
    transition: 0.3s;
    position: relative;
}

ul.contact-menu li a:hover{
    color:#FFF;
    background:#e60012;
    transition:0.3s;
    }

ul.contact-menu li a::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    top: -2px;
    margin-right: 15px;
    transition: 0.3s;
    }

ul.contact-menu li:nth-child(1) a::before{
  background-image: url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_test-drive.svg');
}
ul.contact-menu li:nth-child(2) a::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_inspection.svg');
}
ul.contact-menu li:nth-child(3) a::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_meeting.svg');
}
ul.contact-menu li:nth-child(4) a::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_catalog.svg');
}

ul.contact-menu li a:hover::before{
  transition:0.3s;
}
ul.contact-menu li:nth-child(1) a:hover::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_test-drive_white.svg');
}
ul.contact-menu li:nth-child(2) a:hover::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_inspection_white.svg');
}
ul.contact-menu li:nth-child(3) a:hover::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_meeting_white.svg');
}
ul.contact-menu li:nth-child(4) a:hover::before{
  background-image:url('https://www.n-daihatsu.co.jp/wp/wp-content/themes/n-daihatsu/img/svg/icon_catalog_white.svg');
}



@media only screen and (max-width: 799px) {
ul.contact-menu {
    width: 94%;
    margin: 30px auto 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }
ul.contact-menu li{
    width: 100%;
    position: relative;
    margin: 0 auto 20px;
    }

}