@charset "UTF-8";

/* ==========================================================
   その他のスキー・スノボ特集（SP：〜600px）
   HTML は共通JS（/fair/special/assets/js/common_slider.js）が #recommend_slider に出力する
   ・表示枚数は共通JSで2枚に固定 → スライダーの幅を2枚分にして、1枚目が中央に来るようにずらす
   ・隣のスライドはスライダーからはみ出させて見せる（#other で切る）
   ・スライド間隔は共通JSの 10px ＋ スライド内側の余白で、デザインの 38px（5.0667vw）にする
   数値はデザイン（幅750px）の px ÷ 7.5 ＝ vw
   ========================================================== */
#other {
  display: block;
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* 見出しはページ側（heading02）に置くので、JS が出力する見出しは隠す */
#other::before,
#other::after {
  display: none;
  content: none;
}

#other h2 {
  display: none;
}

/* スライド1枚の幅 S ＝ 79.4667vw（596px）＋ 左右の余白（5.0667vw − 10px）
   スライダーの幅 ＝ S × 2 ＋ 10px、左端 ＝ 中央 − S ÷ 2 */
#other .carousel_wrap {
  position: static;
  width: calc(169.0667vw - 10px);
  margin: 0 0 0 calc(7.7333vw + 5px);
  overflow: visible;
  transform: none;
}

#other .carousel_wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#other .carousel_wrap ul li {
  height: auto;
  padding: 0 calc(2.5333vw - 5px);
  box-sizing: border-box;
  transition: .2s;
  cursor: pointer;
}

#other .carousel_wrap ul li:hover {
  -webkit-filter: brightness(1.1);
  filter: brightness(1.1);
}

#other .carousel_wrap ul li a {
  display: block;
  color: #fff;
  text-decoration: none;
  outline: none;
}

#other .carousel_wrap ul li img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3.2vw;
}

/* タイトル（2列目までの横幅）＋ 出発地の箱 ＋ 説明 */
#other .carousel_wrap ul li .text {
  display: grid;
  grid-template-columns: 17.4667vw 1fr;
  column-gap: 2vw;
  align-items: start;
  margin-top: 2.6667vw;
  background: none;
}

#other .carousel_wrap ul li p {
  margin: 0;
  color: #fff;
}

/* タイトル：高さは自動（3行目以降は「…」） */
#other .carousel_wrap ul li .ttl {
  display: -webkit-box;
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 4.8vw;
  font-weight: 900;
  font-feature-settings: "palt";
  line-height: 1.3889;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#other .carousel_wrap ul li .from {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 13.0667vw;
  margin-top: 3.0667vw;
  padding: 1.0667vw;
  box-sizing: border-box;
  background: #3f58b3;
  font-size: 4vw;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

#other .carousel_wrap ul li .from::before,
#other .carousel_wrap ul li .from::after {
  content: none;
}

/* 説明は3行まで（それ以上は「…」） */
#other .carousel_wrap ul li .cont {
  display: -webkit-box;
  margin-top: 1.8667vw;
  overflow: hidden;
  font-size: 3.4667vw;
  line-height: 1.4615;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#other .carousel_wrap .swiper-button-prev,
#other .carousel_wrap .swiper-button-next {
  display: none;
}

/* ページ送り：バー。件数が多いときはバーを縮めて1行に収める */
#other .carousel_wrap .swiper-pagination {
  display: flex;
  justify-content: center;
  position: relative;
  bottom: 0;
  left: calc(-7.7333vw - 5px);
  width: 100vw;
  margin-top: 10.1333vw;
  padding: 0 5.3333vw;
  box-sizing: border-box;
}

#other .carousel_wrap .swiper-pagination .swiper-pagination-bullet {
  flex: 0 1 12.6667vw;
  min-width: 2.6667vw;
  height: 2.9333vw;
  margin: 0 .8vw;
  border-radius: 1.4667vw;
  background: #3bcbd1;
  opacity: 1;
}

#other .carousel_wrap .swiper-pagination .swiper-pagination-bullet-active {
  background: #f9ff4b;
}
