@charset "utf-8";

/*----------------------------------------------
 車両情報ページのみ適応
------------------------------------------------*/
.newcarArea {
  background: #DEDEDE;
}
.newcar_box {
  margin: 0 auto 3%;
}



/*フェアはこちら---*/
.newcar_fair_box_wrap {
  background: #212121;
  overflow: hidden;
  padding: 3% 0 10%;
}
.newcar_fair_title {
  padding: 0 0 2%;
}

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

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

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

/* 座標は画像の比率で%で指定（例：画像上の位置） */

/*画像のサイズw750ｘh120*/
.area_btn {
  top: calc(10 / 120 * 100%);
  left: calc(180 / 750 * 100%);
  width: calc(400 / 750 * 100%);
  height: calc(80 / 120 * 100%);
}

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

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

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

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

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

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

.fair_bound_img2 {
  animation: simple-scale 1.5s ease-in-out infinite;
}

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


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