@charset "utf-8";

/*----------------------------------------------
 フェアページのみ適応
------------------------------------------------*/
.fair_box_wrap {}
.fair_box {
  margin-bottom: 3%;
}
/*CSSアニメーション囲み*/
.fair_ani_box {
  position: relative;
  overflow: hidden;
}

/*メインビジュアル
------------------------------*/
.fair_mv_wrap {
}
.fair_mv_box {
  position: relative;
  overflow: hidden;
}
.fair_mv_title {
  position: absolute;
  top: 22%;
  left: 0;
}
.fair_mv_title img {
  width: 100%;
}

.fair_present_text {
  position: absolute;
  top: 1%;
  left: 1%;
  width: calc(394 / 750 * 100%);
  max-width: 394px;
}
.fair_present_text {
  position: absolute;
  top: 17%;
  left: 4%;
  width: calc(394 / 750 * 100%);
  max-width: 394px;
}
.fair_fm802_text {
  position: absolute;
  top: 27%;
  left: 4%;
  width: calc(364 / 750 * 100%);
  max-width: 364px;
}

.fair_mini_text {
  position: absolute;
  top: 0;
  left: 0;
}
.fair_roox_new {
  position: absolute;
  top: 23%;
  right: 5%;
  width: calc(172 / 750 * 100%);
  max-width: 172px;
}

.fair_car_text {
  position: absolute;
  top: 0;
  left: 0;
}
.fair_cp_40 {
  position: absolute;
  top: 27%;
  left: 4%;
}
.fair_cp_20 {
  position: absolute;
  top: 58%;
  left: 9%;
  width: calc(290 / 750 * 100%);
  max-width: 290px;
}
.fair_cp_10 {
  position: absolute;
  top: 58%;
  left: 57%;
  width: calc(290 / 750 * 100%);
  max-width: 290px;
}

/* あわせておすすめ
------------------------------------------------*/
.fair_bn_box {
}

/*リンク
------------------------------------------------*/
.image-map {
  position: relative;
  width: 100%;
  max-width: 750px; /* 任意 */
  margin: 0 auto;
}

.image-map img {
  width: 100%;
  height: auto;
  display: block;
}

.link-area {
  position: absolute;
  display: block;
  /* 透過で見えなくする */
  background-color: rgba(255, 0, 0, 0); /* テスト時に可視化 */
}

/* 座標は画像の比率で%で指定（例：画像上の位置） */
.fair_box .area_car_btn {
  top: calc(0 / 220 * 100%);
  left: calc(60 / 750 * 100%);
  width: calc(620 / 750 * 100%);
  height: calc(100 / 220 * 100%);
}
/*.fair_box .area_cp_kounyu {
  top: calc(350 / 470 * 100%);
  left: calc(50 / 750 * 100%);
  width: calc(650 / 750 * 100%);
  height: calc(80 / 470 * 100%);
}*/
.fair_usp_wrap .area_lineup {
  top: calc(240 / 390 * 100%);
  left: calc(55 / 750 * 100%);
  width: calc(630 / 750 * 100%);
  height: calc(110 / 390 * 100%);
}


/*
.fair_car_wrap .area_x-trail {
  top: calc(350 / 420 * 100%);
  left: calc(40 / 750 * 100%);
  width: calc(310 / 750 * 100%);
  height: calc(70 / 420 * 100%);
}
.fair_car_wrap .area_kicks {
  top: calc(370 / 525 * 100%);
  left: calc(190 / 750 * 100%);
  width: calc(370 / 750 * 100%);
  height: calc(70 / 525 * 100%);
}
.fair_car_wrap .area_serena {
  top: calc(260 / 395 * 100%);
  left: calc(190 / 750 * 100%);
  width: calc(370 / 750 * 100%);
  height: calc(70 / 395 * 100%);
}
.fair_car_wrap .area_leaf {
  top: calc(350 / 420 * 100%);
  left: calc(405 / 750 * 100%);
  width: calc(310 / 750 * 100%);
  height: calc(70 / 420 * 100%);
}

.fair_car_wrap .area_note {
  top: calc(380 / 500 * 100%);
  left: calc(195 / 750 * 100%);
  width: calc(370 / 750 * 100%);
  height: calc(70 / 500 * 100%);
}
.fair_car_wrap .area_aura {
  top: calc(380 / 500 * 100%);
  left: calc(195 / 750 * 100%);
  width: calc(370 / 750 * 100%);
  height: calc(70 / 500 * 100%);
}
.fair_car_wrap .area_sakura {
  top: calc(350 / 420 * 100%);
  left: calc(40 / 750 * 100%);
  width: calc(310 / 750 * 100%);
  height: calc(70 / 420 * 100%);
}
.fair_car_wrap .area_roox {
  top: calc(260 / 395 * 100%);
  left: calc(190 / 750 * 100%);
  width: calc(370 / 750 * 100%);
  height: calc(70 / 395 * 100%);
}

.fair_car_wrap .area_dayz {
  top: calc(360 / 470 * 100%);
  left: calc(40 / 750 * 100%);
  width: calc(310 / 750 * 100%);
  height: calc(70 / 470 * 100%);
}

.fair_car_wrap .area_elgrand {
  top: calc(620 / 710 * 100%);
  left: calc(210 / 750 * 100%);
  width: calc(320 / 750 * 100%);
  height: calc(60 / 710 * 100%);
}

*/

/*画像のサイズw750ｘh620*/
#service .area1 {
  top: calc(510 / 620 * 100%);
  left: calc(150 / 750 * 100%);
  width: calc(460 / 750 * 100%);
  height: calc(90 / 620 * 100%);
}
/*画像のサイズw750ｘh600*/
#service .area2 {
  top: calc(370 / 600 * 100%);
  left: calc(150 / 750 * 100%);
  width: calc(460 / 750 * 100%);
  height: calc(90 / 600 * 100%);
}

/*画像のサイズw750ｘh550*/
#info .area1 {
  top: calc(390 / 550 * 100%);
  left: calc(150 / 750 * 100%);
  width: calc(460 / 750 * 100%);
  height: calc(120 / 550 * 100%);
}




/*スライダー設定
---------------------------------------------------*/
/*.fair_slider {
  background: url("../img/fair/fair2/bg_slide.png") center top / 100% auto;
}
.fair_slider .slider_fair_wrap {
  width: 100%;
  max-width: 750px;
	margin: 0 auto;
  padding-bottom: 3%;
  overflow: hidden;
}
.fair_slider .slider_fair_box {
}
.fair_slider .slider_fair {
  max-width: 750px;
  margin: 0 auto;
}
.fair_slider .slick-slide img {
  background: none;
}*/

/*画像一つ分*/
/*.fair_slider .slider_fair div img {
  padding: 0 2.6%;

}
@media only screen and ( max-width: 749px ) {
  .slider_fair {
  }
}*/
/*-----------矢印表示：画像バージョン----------*/
/*.slider_fair .slick-next{
	right: 0!important;
}
.slider_fair .slick-prev{
	left: 0!important;
}
.slider_fair .slick-next:before{
	background: url("../img/fair/fair2/slider/arrow_r.png");
	background-size: contain!important;
	background-repeat: no-repeat!important;
}
.slider_fair .slick-prev:before{
	background: url("../img/fair/fair2/slider/arrow_l.png");
	background-size: contain!important;
	background-repeat: no-repeat!important;
}
.slider_fair .slick-arrow {
	z-index: 2!important;
	width: 50px!important;
	height: 200px!important;
}
.slider_fair .slick-arrow:before {
	content:""!important;
	width: 100%!important;
	height: 100%!important;
	position: absolute;
	top: 0;
	left: 0;
	opacity:1!important;
}

@media only screen and ( max-width: 599px ) {
  .slider_fair .slick-next{
    right: 10px!important;
  }
  .slider_fair .slick-prev{
    left: 10px!important;
  }
  .slider_fair .slick-arrow {
    z-index: 2!important;
    width: 30px!important;
    height: 120px!important;
  }
}*/


/* Dots の設定
---------------------------------------------------*/
/*.fair_slider .slick-dotted.slick-slider {
  margin-bottom: 0;
}

.fair_slider .slick-dots {
  position: absolute;
  bottom: -20px;
  list-style: none;
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
}
.fair_slider .slick-dots li {
  position: relative;
  display: inline-block;
  height: 20px;
  width: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}
.fair_slider .slick-dots li button {
  border: 0;
  background: transparent;
  display: block;
  height: 20px;
  width: 20px;
  outline: none;
  line-height: 0px;
  font-size: 0px;
  color: transparent;
  padding: 5px;
  cursor: pointer;
}

.fair_slider .slick-dots li button:hover,
.fair_slider .slick-dots li button:focus {
  outline: none;
}
.fair_slider .slick-dots li button:hover:before{
  opacity: 1;
}
.fair_slider .slick-dots li button:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "•";
  width: 20px;
  height: 20px;
  font-family: "slick";
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #BA9930;
  opacity: 0.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fair_slider .slick-dots li.slick-active button:before {
  color: #BA9930;
  opacity: 0.75;
}*/
/*スライダー設定ここまで
---------------------------------------------------*/


/*車種情報
---------------------------------------------------*/
.fair_car_box {
  position: relative;
}







/* 動画：埋込自動再生
------------------------------------------------*/
.fair_movie_wrap {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}
.fair_movie_box {
	position: relative !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
}
.fair_movie_box iframe {
  position: absolute !important;
  top: 0;
  left: 0;
	/*position: relative;*/
	width: 100%;
	height: 100%;
  object-fit: cover;
  pointer-events: none; /* iframe自体へのクリックも念のため無効化 */
}
.fair_movie_box .fair_movie_cover {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
  cursor: default;
}






/*タブタイトル部分
---------------------------------*/
.tabs_control {
  position: relative;
}

/*タブの固定のための設定*/
/*.tabset1 .tab_topmenu {
  position: sticky;
  top: var(--sticky-top, 0px);
  z-index: 100;
}*/


/*タブ全体を囲む
---------------------------------*/
.tabArea {}
.tabs_wrap {
	width: 100%;
  margin: 0 auto 0;
}
.tabs {
}
@media only screen and ( max-width: 749px ) {
  .tabs {

  }
}
/*タブ
.tabset_shiharai：おまとめ/BVC
---------------------------------*/
.tab_title {
  
}
.tabset_shiharai .tabs ul {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
}

.tabset1 .tabs{
	width: 100%;
	max-width: 750px;
	margin: 2% auto;
  padding-bottom: 0;
}

.tabset1 .tabs ul {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
}

/*.tabset2 .tabs ul{
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
}*/

.tabset_shiharai .tabs ul,
.tabset1 .tabs ul,
.tabset2 .tabs ul {
	list-style: none outside none;
	margin: 0 auto;
	font-size: 0;
}

/*共通支払いタブ*/
.tabset_shiharai .tabs li {
	width: calc(100% / 2);/*タブ数*/
	margin: 0 auto 0;
	display: inline-block;
}
/*車種タブなど*/
.tabset1 .tabs li {
	width: calc(100% / 2);
	margin: 0 auto 0;
	display: inline-block;
}
/*.tabset2 .tabs li {
	width: calc(100% / 2);
	margin: 0 auto 0;
	display: inline-block;
}*/

/*共通支払いタブ*/
.tabset_shiharai .tabs ul li:nth-child(1) a {
	background: url("../img/fair/tab1.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset_shiharai .tabs ul li:nth-child(2) a {
	background: url("../img/fair/tab2.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset_shiharai .tabs ul li:nth-child(1) a:hover {
	background: url("../img/fair/tab1_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset_shiharai .tabs ul li:nth-child(2) a:hover {
	background: url("../img/fair/tab2_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset_shiharai .tabs ul li:nth-child(1).active a {
	background: url("../img/fair/tab1_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}
.tabset_shiharai .tabs ul li:nth-child(2).active a {
	background: url("../img/fair/tab2_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}

/*車種情報タブなど
------------------------------------------------------*/
/*.tabset1 .tabs ul li:nth-child(1) a {
	background: url("../img/fair/fair1/tab1.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset1 .tabs ul li:nth-child(2) a {
	background: url("../img/fair/fair1/tab2.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset1 .tabs ul li:nth-child(1) a:hover {
	background: url("../img/fair/fair1/tab1_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset1 .tabs ul li:nth-child(2) a:hover {
	background: url("../img/fair/fair1/tab2_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset1 .tabs ul li:nth-child(1).active a {
	background: url("../img/fair/fair1/tab1_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}
.tabset1 .tabs ul li:nth-child(2).active a {
	background: url("../img/fair/fair1/tab2_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}*/

/*車種情報タブなど
------------------------------------------------------*/
/*.tabset2 .tabs ul li:nth-child(1) a {
	background: url("../img/fair/fair1/tab1.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset2 .tabs ul li:nth-child(2) a {
	background: url("../img/fair/fair1/tab2.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}*/
/*.tabset2 .tabs ul li:nth-child(3) a {
	background: url("../img/fair/fair1/tab3.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}*/

/*.tabset2 .tabs ul li:nth-child(4) a {
	background: url("../img/fair/fair1/tab4.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}*/

/*.tabset2 .tabs ul li:nth-child(1) a:hover {
	background: url("../img/fair/fair1/tab1_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}
.tabset2 .tabs ul li:nth-child(2) a:hover {
	background: url("../img/fair/fair1/tab2_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}*/
/*.tabset2 .tabs ul li:nth-child(3) a:hover {
	background: url("../img/fair/fair1/tab3_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}*/
/*.tabset2 .tabs ul li:nth-child(4) a:hover {
	background: url("../img/fair/fair1/tab4_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	transition:background .3s;
}*/
/*.tabset2 .tabs ul li:nth-child(1).active a {
	background: url("../img/fair/fair1/tab1_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}
.tabset2 .tabs ul li:nth-child(2).active a {
	background: url("../img/fair/fair1/tab2_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}*/
/*.tabset2 .tabs ul li:nth-child(3).active a {
	background: url("../img/fair/fair1/tab3_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}*/
/*.tabset2 .tabs ul li:nth-child(4).active a {
	background: url("../img/fair/fair1/tab4_on.png") no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;  
	-o-background-size: cover; 
}*/


.tab_title a {
	display: block;
}

.tabs a  {
	color: #fff;
	display: block;
	text-decoration: none;
	white-space: nowrap;
}

/*.tabs ul li a img {
	opacity: 1;
}
.tabs ul li a:link img:hover {
	opacity: 1;
}
*/
/*現在のタブ
---------------*/
.active {
}
.active a {
	color: white;
}
.tabs ul li.active a img {
}


/*タブコンテンツを囲む
---------------------------------*/
#tab-1 {
}
#tab-2 {
}

/*----------------------------------------------------------
　画像エフェクト
-----------------------------------------------------------*/
/*ふわふわ*/
.fair_floating_img {
  animation: fair_floating 2s ease-in-out infinite;
}

@keyframes fair_floating {
  0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(10px);
  }
}
.fair_floating_img2 {
  animation: floating2 1.5s ease-in-out infinite;
}

@keyframes floating2 {
  0% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(5px);
  }
}

/* 縮小拡大 */
.fair_bound_img {
  animation: simple-scale 1.5s ease-in-out infinite;
}

@keyframes simple-scale {
  0% {
    transform: scale(0.75);
  }
  50% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(0.75);
  }
}

.fair_bound_img2 {
  animation: simple-scale 2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes simple-scale {
  0% {
    transform: scale(0.75);
  }
  50% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(0.75);
  }
}
/* シンプル一発バウンス */
.fair_simple_bound {
  animation:boyoyon_pattern1 4s ease-in-out infinite;
}
@keyframes boyoyon_pattern1{
  0%,50%   { transform:scale(1); }
  58%      { transform:scale(0.85); }
  66%      { transform:scale(1.22); }
  74%      { transform:scale(0.94); }
  82%      { transform:scale(1.06); }
  90%      { transform:scale(0.98); }
  100%     { transform:scale(1); }
}

/* =============================================
   ① 左からスライドイン（滑らか・透明から）
   ============================================= */
.slidein_left {
  animation: slideInLeft 0.7s ease-out both;
}

/* =============================================
   ① - bounce 左からスライドイン（弾む）
   ============================================= */
.slidein_left_bounce {
  animation: slideInLeft 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =============================================
   ② 右からスライドイン（滑らか・透明から）
   ============================================= */
.slidein_right {
  animation: slideInRight 0.7s ease-out both;
}

/* =============================================
   ② - bounce 右からスライドイン（弾む）
   ============================================= */
.slidein_right_bounce {
  animation: slideInRight 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =============================================
   ③ 下から上にスライドイン（滑らか・透明から）
   ============================================= */
.slidein_up {
  animation: slideInUp 0.7s ease-out both;
}
@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =============================================
   ④ 上から下にスライドイン（滑らか・透明から）
   ============================================= */
.slidein_down {
  animation: slideInDown 0.7s ease-out both;
}
@keyframes slideInDown {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =============================================
   共通：アニメーション前の非表示状態
   ============================================= */
.anim-hidden {
  opacity: 0;
  animation: none;
}
.anim-hidden.slidein_left,
.anim-hidden.slidein_left_bounce {
  transform: translateX(-100%);
}
.anim-hidden.slidein_right,
.anim-hidden.slidein_right_bounce {
  transform: translateX(100%);
}
.anim-hidden.slidein_up {
  transform: translateY(40px);
}
.anim-hidden.slidein_down {
  transform: translateY(-40px);
}

/*非表示 ------------------------------*/
