@charset "utf-8";

* { margin: 0; padding: 0; }

html { font-size: 62.5%; scroll-behavior: smooth; list-style: none; list-style-position: outside; font-family: -apple-system, Segoe UI, Helvetica Neue, Hiragino Kaku Gothic ProN, meiryo, sans-serif; line-height: 1.4; color: #222; }
img { vertical-align: bottom; }
a:hover { opacity: 0.9; }
a { outline: none; }
li { list-style: none; }

/****************

header

****************/

header { background: #f8f8f8; width: 100%; }
header .header-wrap { /*width: 980px;*/ }	
.logo-wrap { text-align: center; margin: 0% auto; }
.logo-wrap img { max-width: 980px; width: 100%; }

/****************

contents-wrap

****************/

#contents-wrap { width: 980px; margin: 0 auto; font-size: 1.4rem; line-height: 1.7; }
#contents-wrap img { display: block; max-width: 100%; margin: 0 auto; }

@media screen and (max-width: 979px) {
	#contents-wrap { width: 100%; }	
}

.bg-set1 { background: url("../images/bg1.webp") repeat-y; background-size: contain; }
.bg-set2 { background: url("../images/bg2.webp") repeat-y; background-size: contain; padding-top: 5%;}


/****************

Car Navigation

****************/
.nav-title { padding: 1% 15% 1% 15%; }
.nav-box { padding: 0% 10% 8% 10%; }
.nav-box .nav-btn { display: flex; justify-content: space-between; flex-wrap: wrap; }
.nav-box .nav-btn .item { width: 23%; padding: 1% 0; }
.nav-link { display: inline-block; position: relative; overflow: hidden; transition: transform 0.3s ease; }
.nav-link img { display: block; width: 100%; height: auto; }
.nav-link .img-hover { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.3s ease; }
.nav-link::after { content: ""; position: absolute; top: 0; left: -150%; width: 70%; height: 100%; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100% ); transform: skewX(-25deg); }
.nav-link:hover { transform: scale(1.05); }
.nav-link:hover .img-hover { opacity: 1; }
.nav-link:after { animation: shine 1.2s ease-in-out infinite; }

@media screen and (max-width: 979px) {
	.nav-title { padding: 1% 8% 2% 8%; }
	.nav-box .nav-btn .item { width: 48%; padding: 1% 0; }
}

/*********************

Car LineUp

**********************/
.slideBox1, .slideBox2, .slideBox3 { margin: 4% 0 5% 0; }

.swiper-wrapper { margin-top: 0%; margin-bottom: 0%; position: inherit; }
.swiper-slide { margin-bottom: 4%; background: none; }
.swiper-button-next, .swiper-container-rtl .swiper-button-prev { right: 4% !important; }
.swiper-button-prev, .swiper-container-rtl .swiper-button-next { left: 4% !important; }
.swiper-button-prev,
.swiper-button-next { width: 50px !important; height: 50px !important; background-size: 50px 50px !important; top: 40% !important; }
.swiper-pagination-bullet { margin: 1% !important; border: solid 2px #2e3192 !important; width: 15px !important; height: 15px !important; background: transparent !important; opacity: 1 !important; border-radius: 0 !important; }
.swiper-pagination-bullet-active { background: #2e3192 !important; }
.swiper-pagination { bottom: 0% !important; }

.swiper-button-next { background-image: url("../images/s-next.png"); }
.swiper-button-prev { background-image:  url("../images/s-next.png"); transform: scale(-1, 1); }
.swiper-button-next:after, .swiper-button-prev:after { content: '' !important; }
.swiper-button-next svg,
.swiper-button-prev svg { display: none !important; }

@media screen and (max-width: 979px) {
	.swiper-button-prev, .swiper-button-next { width: 25px !important; height: 25px !important; background-size: 25px 25px !important; top: 48% !important; }
	.swiper-pagination-bullet { width: 5px !important; height: 5px !important; }
}

.carbtn-wrap { padding: 1% 10%; }
.carbtn-wrap ul { display: flex; justify-content: space-between; }
.carbtn-wrap ul li { width: 48%; }
.carbtn-wrap ul li a { display: inline-block; }
.carbtn-wrap ul li a img { filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.2)); }

.separate-bar { margin: 6% 0 7% 0; }
.hojyo-wrap { margin: 6% 0 0% 0; }

/*********************

sns

**********************/

.sns-wrap { margin: 5% 12.5%; }
.sns-wrap .sns-title { padding: 3% 5% 1% 5%; }
.sns-wrap ul { display: flex; justify-content: space-between; align-items: center; }
.sns-wrap ul li { list-style: none; width: 100%; margin: 1% 5%; }

/** space **/
.mb2 { margin-bottom: 2%; }
.mb3 { margin-bottom: 3%; }
.mb5 { margin-bottom: 5%; }
.mb6 { margin-bottom: 6%; }
.mb10 { margin-bottom: 10%; }
.mt5 { margin-top: 5%; }
.mt10 { margin-top: 10%; }
.pt2 { padding-top: 2%; }
.pt5 { padding-top: 5%; }
.pb5 { padding-bottom: 5%; }
.pb8 { padding-bottom: 8%; }
.pb2 { padding-bottom: 2%; }


/****************

bottom

****************/
.campaign-wrap { padding: 10% 10% 3% 10%; }
.zancre-wrap { padding: 3% 10%; }

.cation-wrap, .cation-wrap2 { padding: 0 2%; font-size: clamp(12px, 1.3vw, 14px); line-height: 1.2; color: #1a1a1a; }
.cation-wrap span { font-size: clamp(13px, 1.5vw, 15px); color: #ea1c24; font-weight: 600; line-height: 1.8; }
.miniCaption { border: #333 1px solid; padding: 5px; text-align: center; font-size: clamp(14px, 1.8vw, 18px); margin: 5% 2% 5% 2%;  letter-spacing: 0.1em; }

/****************

footer-fixed-btn

****************/

#fixed-footer { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.8); text-align: center; z-index: 1000; opacity: 0; transform: translateY(100%); transition: all .5s ease; }
#fixed-footer.show { opacity: 1; transform: translateY(0); }
#fixed-footer ul { display: flex; max-width: calc(980px - 10%); text-align: center; margin: 0 auto; padding: 1.5% 5% 1% 5%; }
#fixed-footer ul li { margin: 0 1%; list-style: none; }
#fixed-footer ul li img { width: 100%; transition: .3s ease; filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2)); }
#fixed-footer ul li img:hover { transform: scale(1.05);  }

.page-top { position: fixed; right: 10px; bottom: 10px; background: rgba(0, 0, 0, 0.9); color: #fff; padding: 10px 15px; text-align: center; text-decoration: none; opacity: 0; transform: translateY(20px); transition: all .5s ease; z-index: 1001; }
.page-top.show { opacity: 1; transform: translateY(0); }
.page-top i { font-size: 3rem; display: block; text-align: center; }
.page-top p { font-size: 8px; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif"; text-align: center; }

@media screen and (max-width: 979px) {
	#fixed-footer ul { display: flex; max-width: calc(980px - 2%); padding: 1.5% 1% 1% 1%; }
	.page-top { position: fixed; bottom: 45px; right: 5px; padding: 3px 5px; }
	.page-top i { font-size: 2.6rem; display: block; }
}

/***************

animation

****************/

@keyframes btn-ani {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { transform: scale(4) rotate(45deg); opacity: 1; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

@keyframes scale-ani {
  0%,100% {
    transform: scale(0.97);
  }
  50% {
    transform: scale(1);
  }
}

@keyframes shine {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}







