@charset "utf-8";
header #header_menu {
	background-color: transparent;
}
header.active #header_menu {
	background-color: #1A1A1A;
}
header h1 img {
	filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.5));
}
section {
	padding: 3em 0;
}
#fv {
	width: 100%;
	height: calc(100svh - 60px);
	padding: 0;
	position: relative;
}
#fv .top_slide {
	width: 100%;
	height: 100%;
}
#fv .top_slide div {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 100%;
	margin: 0;
}
#fv .top_slide div.img01 {
	background-image: url("../img/slide/01.webp");
}
#fv .top_slide div.img02 {
	background-image: url("../img/slide/02.webp");
}
#fv .top_slide div.img03 {
	background-image: url("../img/slide/03.webp");
}
#fv .top_slide div.img04 {
	background-image: url("../img/slide/04.webp");
}
#fv .top_slide div.img05 {
	background-image: url("../img/slide/05.webp");
}
#fv .top_slide div.img06 {
	background-image: url("../img/slide/06.webp");
}
#fv .top_slide div.img07 {
	background-image: url("../img/slide/07.webp");
}
#fv .top_slide div.img08 {
	background-image: url("../img/slide/08.webp");
}
#fv .top_slide div.img09 {
	background-image: url("../img/slide/09.webp");
}
#fv .top_slide div.img10 {
	background-image: url("../img/slide/10.webp");
}
#fv .top_slide .slick-dots {
    bottom: 0.5rem;
    z-index: +1;
}
#fv #h2box {
	width: calc(100% - 10em);
	background-color: rgba(51,204,204,0.4);
	color: #FFF;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 500;
	text-align: center;
	padding: 2em;
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#fv #h2box h2 {
	font-size: clamp(2.25rem, 5.63vw, 4.5rem);
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 0.5em;
}
#fv #h2box p {
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #FFF;
	font-size: clamp(0.75rem, 1.88vw, 1.5rem);
	padding: 0.5em 0;
}
#fv #h2box span {
	display: inline-block;
}
#fv a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 7em;
	height: 6.2em;
	padding-top: 0.8em;
	background: var(--grad);
	border-radius: 50%;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
	color: #FFF;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 500;
	font-size: var(--f36);
	font-style: normal;
	line-height: 1.2;
	text-align: center;
	position: absolute;
	right: 1rem;
	bottom: 2rem;
}
#intro {
	background: url("../img/cloud.png") no-repeat right top / 50% auto,
				url("../img/shisa.png") no-repeat left bottom / 50% auto,
				url("../img/kaiteki_bg.webp") no-repeat center bottom / cover;
}
#intro p span, #intro p a {
	color: var(--main);
	font-size: 1.1em;
	font-weight: 600;
}
#service {
	text-align: center;
}
#service ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#service ul li {
	width: 48%;
	margin-top: 2em;
}
#service ul li h4 {
	color: var(--main);
	font-size: var(--f20);
	margin-top: 0.5em;
}
#lineup .subtxt {
	margin-top: 2em;
}
#lineup ul {}
#lineup ul#toyota {}
#lineup ul#toyota > li {
	background-color: #FFF;
	width: calc(100% - 2em);
	padding: 1em;
	position: relative;
	margin-bottom: 1em;
}
#lineup ul#toyota li img.car {
	width: 100%;
	height: 16em;
	display: block;
	object-fit: cover;
}
#lineup ul#toyota li img.long {
	width: 100px;
	height: auto;
	display: block;
	position: absolute;
	left: 2em;
	top: 14em;
}
#lineup ul#toyota li .car_name {
	color: var(--main);
	font-size: var(--f24);
	font-weight: 600;
	margin-top: 1em;
}
#lineup ul.icon {
	display: flex;
	justify-content: space-between;
	column-gap: 0.5em;
	margin-bottom: 0.5em;
}
#lineup ul#other {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 2em;
}
#lineup ul#other li {
	background-color: #FFF;
	width: calc(48% - 2em);
	padding: 1em;
	margin-bottom: 1em;
}
#lineup ul#other li .car {
	width: 100%;
	height: 8em;
	display: block;
	object-fit: cover;
	margin-bottom: 0.5em;
}
#lineup ul#other li .car_name {
	color: var(--main);
	font-size: var(--f24);
	font-weight: 600;
	margin-bottom: 0.5em !important;
	text-align: center;
}
#lineup ul.icon img {
	width: 100%;
	height: auto;
}
#lineup a.detail {
	display: block;
	width: 100%;
	height: 2.4em;
	line-height: 2.4em;
	background-color: #33CCCC;
	border-radius: 5px;
	color: #FFF;
	font-size: var(--f20);
	font-weight: 600;
	text-align: center;
}
#news .gallery {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
 	justify-content: space-between;
 	margin: 0;
	padding: 0;
}
#news .gallery-item {
	width: 48%;
 	position: relative;
	margin-bottom: 15px;
}
#news .gallery-item:before {
	content: "";
	display: block;
	padding-top: 100%;
}
#news .gallery-item img, .gallery-item video {
	position: absolute;
 	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	object-fit: cover;
}
#news a.insta {
	display: block;
	width: 240px;
	margin: 2em auto 0;
}
#news a.insta img {
	display: block;
	width: 100%;
	height: auto;
}
footer #main_footer {
	padding-top: 0;
}
footer #shopinfo {
	padding-bottom: 0;
}
footer #shopinfo .shop .map {
	width: 100%;
	max-width: 900px;
	aspect-ratio: 2 / 1;
}
footer #shopinfo .shop .map iframe {
	width: 100%;
	height: 100%;
}
footer #shopinfo .shop .info p {
	border-bottom: solid 1px #999;
	font-size: var(--f24);
	font-weight: 600;
}
footer #shopinfo .shop .info dl {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin: 1em 0 2em;
}
footer #shopinfo .shop .info dl dt {
	width: 4em;
}
footer #shopinfo .shop .info dl dd {
	width: calc(100% - 5em);
	position: relative;
	padding-left: 1em;
}
footer #shopinfo .shop .info dl dd:before {
	content: '：';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
footer #shopinfo .shop .info dl dd span {
	display: inline-block;
}

@media screen and (min-width: 768px) {
	#fv #h2box {
		width: 60%;
		max-width: 1000px;
		padding: 3em;
		top: 50%;
	}
	#intro {
		background: url("../img/cloud.png") no-repeat right top / auto 70%,
					url("../img/shisa.png") no-repeat left bottom / auto 70%,
					url("../img/kaiteki_bg.webp") no-repeat center bottom / cover;
	}
	#service ul li {
		width: 24%;
	}
	#lineup ul#toyota {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin-top: 2em;
	}
	#lineup ul#toyota > li {
		width: calc(48% - 2em);
		max-width: 600px;
		margin-bottom: 2em;
	}
	#lineup ul#other li {
		width: calc(31% - 2em);
		max-width: 400px;
		margin-bottom: 2em;
	}
	#lineup ul#other li .car {
		height: 10em;
	}
	#news .gallery-item {
  		width: 24%;
	}
	
	footer #shopinfo .shop {
		display: flex;
		justify-content: space-between;
		margin-bottom: 3em;
	}
	footer #shopinfo .shop .map {
		width: calc(70% - 3em);
	}
	footer #shopinfo .shop .info {
		width: 30%;
	}
}
@media screen and (min-width: 960px) {
	header h1 img {
		filter: drop-shadow(5px 5px 4px rgba(0,0,0,0.5));
	}
	section {
		padding: 4em 0;
	}
	#fv {
		height: 100vh;
	}
	#fv a {
		display: none;
	}
	#service ul li img {
		width: 160px;
		height: auto;
	}
	#lineup ul#toyota li img.car {
		height: 20em;
	}
	#lineup ul#toyota li img.long {
		width: 140px;
		top: 17em;
	}
	#lineup ul#other li .car {
		height: 14em;
	}
	#news a.insta {
		width: 360px;
	}
}
@media screen and (min-width: 1280px) {
	#lineup ul#toyota li img.long {
		top: 18em;
	}
}