/*base
------------------*/
/*html, body, div, span, object, iframe,*/
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
/*small, strong, sub, sup, var,b, i,*/
/*dl, dt, dd, ol, ul, li,*/
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	background:transparent;
}
article,nav,section,header,footer,aside,main,address{
	display:block;
}
* {
	box-sizing: border-box;
}
nav ul,
nav li{
	list-style:none;
	margin:0;
	padding:0;
}
img {
	line-height:0;
	border:none;
	max-width:100%;
	height:auto;
	-moz-box-sizing: border-box;
 	-webkit-box-sizing: border-box;
	box-sizing:border-box;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("NotoSansJP-Regular.woff") format("woff");
}
@font-face {
  font-family: "NotoSansJP-Bold";
  src: url("NotoSansJP-Bold.woff2") format("woff2");
}
h1,h2,h3,strong,b{
	font-weight:normal;
	font-family:"NotoSansJP-Bold";
}

/*共通
---------------------------------------------------------------------*/
body {
  font-size: 14px;
}
@media screen and (min-width: 992px) {
  body {
    font-size: 18px;
  }
}
:root {
  --color-rgb:0,47,109;/*紺*/
  --color-sub:37,230,141;/*みどり*/
  --color-link:230,87,30;/*オレンジ*/
  --color-txt:0,47,109;/*紺*/
  --color-back:226,229,241;/*うすい*/
  --color-back_g:237,249,246;/*うすいみどり*/
  --color-red:200, 9, 9;/*赤*/
}

.inner {
  width: 90%;
  max-width:auto;
  margin-right: auto;
  margin-left: auto;
  padding: 3% 0;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .inner {
    max-width: 720px;
  }
}
@media screen and (min-width: 992px) {
  .inner {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .inner {
    max-width: 1200px;
  }
}

body{
	margin:0px;
	padding:0px;
	background-color:#FFF;
	color:#333;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	font-family:/*Futura,*/ Trebuchet MS,"Noto Sans JP", "メイリオ" , Meiryo , /*Yu Gothic,"游ゴシック",YuGothic,"游ゴシック体",*/ "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif, serif ,monospace;
	line-height:1.5;
}

#WRAPPER {
  margin: 0px;
  padding: 0px;
  height: 100%;
  overflow-x: hidden;
  position: relative;
}
#WRAPPER .wrapper_fixed {
  padding-top: 100px !important;
}
@media screen and (max-width: 991px) {
	.overlay {
	content: "";
	display: block;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
	background-color: rgba(0, 0, 0, 0.7);
	}
	.overlay.open {
	opacity: 1;
	visibility: visible;
	}
}
/*header
---------------------------------------------------------------------*/
#header {
  top: -100px;
  position: absolute;
  margin: 100px 0 0 0;
  padding:0px 2% 0 0;
  z-index: 11;
  width: 100%;
  background-color: rgba(255,255,255, 1);
  box-shadow:0 0 10px rgba(0,0,0,0.5);
  transition: all 0.3s ease-in;
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
  gap: 2%;
	height:90px;
}
#header #headerlogo {
  z-index: 100;
  flex-grow:2;
}
#header #headerlogo a{
	display:block;
}
@media screen and (min-width: 992px) {
  #header {
	height:140px;
  }
}
#ics{
	position:relative;
	margin-left:2%;
	flex-shrink:0;
	width:100px;
	line-height:.1;
	align-self:baseline;
	z-index: 100;
	box-shadow:0px 5px 5px rgba(0,0,0,0.25);
}
#iyoauto img{
    width:100%;
    max-width:240px;
}
#iyotetsu{
  margin: 0px 0 0;
  padding:0 0 0 0;
  line-height:1;
}
#iyotetsu img{
	width:120px;
}
@media screen and (min-width: 992px) {
	#iyoauto img{
		width:100%;
		max-width:480px;
	}
	#iyotetsu img{
		width:160px;
	}
	#ics{
		margin-top:-10px;
		margin-left:5%;
		width:15%;
		max-width:190px;
	}
}
@media screen and (min-width: 992px) and (max-width:1024px) {
	#ics{
		margin-left:2%;
	}
}
#header.fixed {
  top: 0px;
  margin: 0px 0 0 0;
  position: fixed;
  background-color: rgba(255,255,255, .9);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  height:90px;
}
#header.fixed #iyotetsu{
	display:none;
}
#header.fixed #ics{
	width:90px;
}
@media screen and (min-width: 992px) {
	#header.fixed #ics{
		width:120px;
	}
}
#header_menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  z-index: 100;

}
#header_menu li{
  display:block;
  background-color:rgba(var(--color-rgb), 1);
  border-radius:50%;
  width: 55px;
  height: 55px;
}
#header_menu li a img{
  padding:10px;
}
#menu_btn {
  position: relative;
  cursor: pointer;
  flex-shurink: 0;
}
@media screen and (min-width: 992px) {
  #menu_btn {
  }
}

#menu_btn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 15px;
  height: 2px;
  border-radius: 5px;
  background: #FFF;
  width: 45%;
}
#menu_btn span:nth-of-type(1) {
  top: 15px;
}
#menu_btn span:nth-of-type(2) {
  top: 25px;
}
#menu_btn span:nth-of-type(3) {
  top: 35px;
}
#menu_btn.active span:nth-of-type(1) {
  top: 21px;
  left: 15px;
  transform: translateY(6px) rotate(-45deg);
  width: 45%;
}
#menu_btn.active span:nth-of-type(2) {
  opacity: 0;
}
#menu_btn.active span:nth-of-type(3) {
  top: 33px;
  left: 15px;
  transform: translateY(-6px) rotate(45deg);
  width: 45%;
}
#menu_btn.fixed {
}


@media screen and (min-width: 992px) {
  #mainnavi {
    display: block;
  }
  #mainnavi .pcmenu{
	display:flex;
	gap:1em;
	justify-content:center;
	flex-grow:2;
  }
  #header:not(.fixed) .pcmenu{
	margin-top:30px;
  }
  .pcmenu li{
	font-size: clamp(1rem, 1vw, 1.2rem);
  }
  .pcmenu a{
	color:rgba(var(--color-rgb), 1);
	transition: all 0.2s;
  }
  .pcmenu a:hover{
	color:rgba(var(--color-sub) ,1);
  }
  .pcmenu a.current{
	color:rgba(var(--color-sub) ,1);
  }
  .pcmenu a:after{
	content:'';
	display:block;
	background-color:rgba(var(--color-sub) ,1);
	height:2px;
	width:0%;
	border-radius:5px;
	transition: all 0.2s ;
 }
  .pcmenu a:hover:after,
  .pcmenu a.current:after{
	width:100%;
  }
  #mainnavi .contact_tel{
    display: none;
  }
}
@media screen and (max-width: 991px) {
	#mainnavi {
	background-color: rgba(var(--color-back), .9);
	position: fixed;
	z-index: 20;
	margin: 0;
	clear: both;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
	left: 0%;
	top: 0%;
	padding: 20px 5% 10%;
	width: 100vw;
	max-height: auto;
	height: 100vh;
	transform: translate(0, 0);
	}
	#mainnavi.open {
	opacity: 1;
	visibility: visible;
	}
	#mainnavi ul{
		margin:90px 0 20px 0;
		border-bottom:1px dotted rgb(var(--color-rgb));
	}
	#mainnavi ul li{
		margin:0;
		padding:0;
	}
	#mainnavi ul a{
		color:rgb(var(--color-rgb));
		display:block;
		padding:1em;
		border-top:1px dotted rgb(var(--color-rgb));
		display:flex;
		justify-content:space-between;
		align-items:center;
	}
	#mainnavi ul a:after{
		content:'';
		border-top:2px solid rgb(var(--color-rgb));
		border-right:2px solid rgb(var(--color-rgb));
		width:.8em;
		height:.8em;
		line-height:1;
		transform: rotate(45deg);
	}
}

/*footer
------------------*/
#footer{
	padding:0 0 30px;
}

#footer .inner{
}

#copyright{
	text-align:center;
	font-size:12px;
	padding:0;
	margin:0 0;
}

/*main
---------------------------------------------------------------------*/
#main {
  margin-top: 90px;
}
@media screen and (min-width: 992px) {
  #main {
	margin-top: 140px;
  }
}
@media screen and (max-width: 991px) {
	#main h1.title{
		width:120%;
	}
	#main h1.title img{
		width:100%;
		display:block;
		margin:0 0 0 -8.5%;
	}
}
#maincol {
  overflow: hidden;
  margin: 0px auto 0px;
  padding: 0px 0px 0;
  position: relative;
  z-index: 9;
}

#maincol article {
  margin: 0px 0 0px;
  padding:80px 0;
}
@media screen and (max-width: 991px) {
	#maincol article {
	padding:30px 0;
	}
}

#maincol article:nth-of-type(2n) {
}

.fadein {
  opacity: 0;
  transform: translateY(50px);
}

#maincol article:nth-of-type(1) .inner,
.fadein.view {
  animation-name: fadeUpAnime;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
}

@keyframes fadeUpAnime {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  50% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

p {
  margin: 0 0 1em;
}

h2 {
  color: rgba(var(--color-txt) ,1);
  font-size: 1.6em;
  font-size: clamp(1.8rem, 2vw, 3rem);
  margin: 0 0 1em;
  padding: 20px 0;
}
h2 small {
  font-weight: normal;
  display:block;
}

h3 {
  color: rgba(var(--color-txt) ,1);
  font-size: clamp(1.25rem, 0.8446088795rem + 0.8456659619vw, 1.5rem);
  margin: 1em 0 0.5em;
  padding:20px 0;
}
h3:after{
	content:'';
	background-color:rgba(var(--color-sub) ,1);
	height:3px;
	width:25%;
	display:block;
	border-radius:3px;
}
@media screen and (max-width: 767px){
}

a {
  text-decoration: none;
  color: rgba(var(--color-link),1);
  transition: all 0.2s;
}
a:hover {
  color:rgba(var(--color-sub) ,1);;
}
.tel-phone a{
  color:#FFF;
}
.linkbtn a {
  display: inline-block;
  position: relative;
  padding: 0.5em 1.5em;
  text-decoration: none;
  background-color: rgba(var(--color-txt) ,1);
  color: #FFF;
  border: solid 1px #FFF;
  border-radius:50px;
  font-size:1.2em;
}
.linkbtn a:hover {
  background-color: #FFF;
  color: rgba(var(--color-txt) ,1);
  border: solid 1px rgba(var(--color-txt) ,1);
}

em{
	color:#D00;
	font-style:normal;
}
.red{
	color:#D00;
}
.blue{
	color:rgba(var(--color-txt) ,1);
}
.white{
	color:#FFF;
}
.center{
	text-align:center;
}
.txtleft{
	text-align:left;
}
.txtright{
	text-align:right;
}
.large{
	font-size:120%;
}
.u_line{
  background: linear-gradient(transparent 60%, rgba(255,240,0,0.5) 60%) no-repeat;
}

.backimage{
	margin:0px 0;
	padding:30px 5%;
	background-image:url(../img/back.svg);
	background-position: 0px -150px;
	background-repeat:no-repeat;
	border-radius:10px;
	background-size:cover;
	color:#FFF;
	box-shadow:5px 5px 10px rgba(0,0,0,0.5);
}

@media screen and (min-width: 768px) {
	.flex_box{
		display:flex;
		gap:20px;
	}
	.flex_box table{
		width:50% !Important;
	}
}
/*table*/
table caption{
	text-align:left;
}
table.default{
	border-collapse:collapse;
	margin:0px 0 20px 0;
}
table.default th,
table.default td{
	padding: 10px 10px;
	border:0;
	text-align:left;
	vertical-align:top;
}
table.default tr{
	border-bottom: solid 1px rgba(var(--color-rgb),1);
}

table.default th{
	font-weight: normal;
}
table.default td{
}
table.default thead th,
table.default thead td{
	text-align:center;
}

table.widthmax{
	width:100%;
}

@media screen and (max-width: 767px){

	table{
	font-size:90%;
	}
	table.default th,
	table.default td{
	}
	
	.cellblock{
	}
	table.cellblock th,
	table.cellblock td{
	}
	table.cellblock th{
		display:block;
	}
	table.cellblock td{
		display:block;
	}
}

/*news
---------------------------------------------------------------------*/
#news{
}
#maincol article#news {
  padding:80px 0 0;
}
#maincol article#news .inner {
  padding: 3% 0 0;
}

.whatsnew{
}
.whatsnew div{
	display:flex;
	gap:2em;
	border-bottom:1px solid rgba(var(--color-txt) ,1);
	padding:0.5em;
}
.whatsnew dt{
	margin:0;
}
.whatsnew dd{
	margin:0;
}

/*maker
---------------------------------------------------------------------*/
/*
#maincol article#maker{
	margin:-1px 0;
	padding:180px 0 0;
	background-image:url(../img/back.svg),url(../img/back_w.svg);
	background-repeat: no-repeat, no-repeat;
	background-position:0 80px, 0 -1px;
	background-color: rgba(var(--color-rgb), 1);
	color:#FFF;
}
@media screen and (max-width: 991px) {
	#maincol article#maker{
		padding:80px 0 0;
	}
}
*/

#maincol article#maker h2.backimage{
	font-size: clamp(1.6rem, calc(4vw + 0.8rem), 3.5rem);
	font-size: clamp(2rem, 5vw, 4rem);
	padding:1.2em 0.5rem;
	margin:3% 0 0 0;
	background-color: rgba(var(--color-red), 1);
	background: linear-gradient(60deg, rgba(var(--color-red), 1) 50%, rgba(160,9,9,1) 66%, rgba(var(--color-red), 1) 80%);
	min-height:240px;
	text-align:center;
	color:#FFF;
	/*text-shadow:2px 2px 5px rgba(0,0,0,0.5);*/
	display:flex;
	flex-direction:column;
	justify-content:center;
	border-radius:0;
	letter-spacing:-0.05em;
}
#maincol article#maker h2.backimage span.tel-phone{
	margin-top:1rem;
	letter-spacing:none;
}
#maincol article#maker h3{
	/*color:#FFF;*/
}
.lineup{
	display:flex;
	flex-wrap:wrap;
	gap:1.5%;
	list-style:none;
	margin:0 0 1em;
	padding:0;
}
.lineup li{
	width:23.5%;
	font-size:1.15em;
	margin:0 0 1.5%;
	padding:0.75rem 1rem;
	border-radius:10px;
	background-color:#FFF;
	box-shadow:3px 3px 10px rgba(0,0,0,0.3);
	color: rgba(var(--color-txt), 1);

}
@media screen and (max-width: 767px) {
	.lineup{
		justify-content:space-between;
	}
	.lineup li{
		width:48%;
		margin:0 0 0.7em;
	}
}
.lineup li.other{
	flex-grow:2;
}
/*
.contact_tel.backimage.taten{
	background-color: rgba(var(--color-red), 1);
	color:#FFF;
}
.contact_tel.backimage.taten dt{
	font-size: clamp(1.5rem, 3vw, 2.5em);
	margin:0.5em 0 0.25em;
	text-align:left;
	letter-spacing:-0.08em;
}
*/
/*used
---------------------------------------------------------------------*/
/*
#maincol article#used{
	background:url(../img/back_n.svg) no-repeat 0 0 ;
}
*/
.used_car_list{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	justify-content:space-around;
	flex-wrap:wrap;
	gap:2%;
}
.used_car_list li{
	max-width:480px;
	width:48%;
	border:solid 2px rgba(var(--color-rgb), 1);
}
.used_car_list li strong{
	display:block;
	padding:0.5em 1em;
	font-weight:bold;
	font-size:1.15em;
}
@media screen and (max-width: 767px) {
	.used_car_list{
		flex-direction:column;
		align-items:center;
	}
	.used_car_list li{
		width:90%;
		margin-bottom:10px;
	}
}
/*flow
---------------------------------------------------------------------*/

#maincol article#flow{
	margin:-1px 0;
	padding:240px 0 0;
	background-image:url(../img/back.svg),url(../img/back_w.svg);
	background-repeat: no-repeat, no-repeat;
	background-position:0 80px, 0 -1px;
	background-color: rgba(var(--color-rgb), 1);
}
@media screen and (max-width: 991px) {
	#maincol article#flow{
		padding:80px 0 0;
	}
}
#flow h2{
  color:#FFF;
  font-size: clamp(1.6rem, 3vw, 3.5rem);
}

dl.car_flow{
	margin:80px 0;
}
dl.car_flow div {
  position: relative;
  background-color:rgba(var(--color-back), 1);
  padding:30px 5%;
  margin: 0 0 60px;
  border-radius:10px;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.5));
}
dl.car_flow div:nth-of-type(1){
	z-index:5;
	background-color:rgba(var(--color-back_g), 1);
}
dl.car_flow div:nth-of-type(2){
	z-index:4;
}
dl.car_flow div:nth-of-type(3){
	z-index:3;
	background-color:rgba(var(--color-back_g), 1);
}
dl.car_flow div:nth-of-type(4){
	z-index:2;
}

dl.car_flow dt{
  font-weight:bold;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: rgba(var(--color-txt), 1);
  display: flex;
  align-items:center;
}
dl.car_flow dt span{
}
dl.car_flow dt em {
  color: rgba(var(--color-txt), 1);
  font-size: clamp(2.25rem, -0.182346723rem + 5.0739957717vw, 4rem);
  font-family: Trebuchet MS;
  margin: -0.2em 10px 0px 10px;
  font-style:italic;
}

dl.car_flow div:not(:last-child):after {
  content: "";
  position:absolute;
  height: 80px;
  width: calc(100% - 10px);
  left:5px;
  bottom: -79px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background-color:rgba(var(--color-back), 1);
  z-index:5;
}
dl.car_flow div:nth-of-type(odd):after {
  background-color:rgba(var(--color-back_g), 1);
}

dl.car_flow dd{
	display:flex;
	align-items:center;
	margin:0;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
}
dl.car_flow dd img {
	width:120px;
	margin-right:30px;
}

@media screen and (max-width: 767px) {
	dl.car_flow dd{
		flex-direction:column;
	}
	dl.car_flow dd img{
		margin:auto;
	}
}


/*contact
---------------------------------------------------------------------*/

#maincol article#contact{
	background:url(../img/back_n.svg) no-repeat 0 0 ;
	background-size:100%;
}

.backimage.contact_tel{
	background-color: rgba(var(--color-rgb), 1);
	color:#FFF;
}
@media screen and (max-width: 767px) {
	#maincol article#contact .contact_tel{
		margin:-30px 0 0;
	}
}

.contact_tel dt{
	font-size: clamp(2rem, 5vw, 4rem);
	margin:0.5em 0 0.25em;
	text-align:center;
	font-family:"NotoSansJP-Bold";
}
.contact_tel dd{
}
.contact_tel dd.time{
	margin:0 0 0.5em;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
}
.contact_tel .tel-phone{
	margin:0 0 ;
	text-align:center;
	font-size: clamp(2.5rem, 6vw, 6rem);
}
.contact_tel .tel-phone:before{
	content:'';
	display:inline-block;
	vertical-align:middle;
	margin-right:10px;
	width: clamp(3rem, 6vw, 6rem);
	height: clamp(3rem, 6vw, 6rem);
	background:url(../img/tel.svg) no-repeat 0 -0.1em;
}


/*shop
---------------------------------------------------------------------*/
#shop .flex_box{
	align-items:center;
}
@media screen and (max-width: 767px) {
	#shop .flex_box table{
		width:100%;
	}
}
@media screen and (min-width: 768px) {
	#shop .flex_box p{
		width:50%;
	}
}
.gmap{
	display:block;
	width:100%;
	margin:50px auto;
	height:360px;
}

/*pc-sp
---------------------------------------------------------------------*/

@media screen and (max-width: 991px) {
  .sp {
    display: block !important;
  }
  .pc{
    display: none;
  }
}
@media screen and (min-width: 992px) {
  .pc {
    display: block;
  }
  .sp{
    display: none !important;
  }
}
@media screen and (min-width: 992px) and (orientation: portrait){
}

