@charset "UTF-8";
/* CSS Document */

.clr {
  clear: both;
}

.gslide_wrap {
  max-width: 1024px !important;
  margin: 40px auto !important;
  text-align: center;
}

.gslide_wrap li img {
  width: 100% !important;
}

#carousel {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.thumbnail .slick-slide {
  max-width: 50px;
  margin-right: 5px;
}

.is-xs {
  max-width: 1024px !important;
  margin: 0 auto !important;
  text-align: center;
  font-size: 13px;
  line-height: 1.2rem;
  /* line-height: 2.5rem; */
}

.al_c {
  font-size: 18px;
  margin-top: 15px;
}

.modelroom_ctns {
  padding: 100px 0 0;
}

.modelroom_ctns h2 {
  text-align: center;
  color: #231815;
  font-size: 30px;
  letter-spacing: 5px;
}

@media screen and (max-width: 1025px) {
  .gslide_wrap {
    margin: 20px auto !important;
  }

  .al_c {
    font-size: 16px;
    margin-top: 10px;
  }

  .modelroom_ctns {
    padding: 60px 0 0;
  }

  .modelroom_ctns h2 {
    font-size: 25px;
  }

  .is-xs {
  font-size: 11px;
}
}

.swiperMain .swiper-slide {
  position: relative;
}

.swiperMain .swiper-slide img {
  width: 100%;
  height: auto;
}

/* サムネイルスライダーの調整 */
.swiperThumbnail .swiper-slide {
  /* opacity: 0.6; */
  cursor: pointer;
  width: 50px !important;
}

.swiperThumbnail .swiper-slide:hover {
  opacity: 1;
}

/* サムネイルスライダー内で余白を確保 */
.swiperThumbnail .swiper-wrapper {
  display: flex;
  justify-content: center;
}

/* その他のスタイル */
.swiperMain .swiper-slide {
  position: relative;
}

.swiperMain .swiper-slide img {
  width: 100%;
  height: auto;
}

.al_c {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  font-size: 16px;
  text-align: center;
}

/* prevボタンの画像 */
.swiper-button-prev::after {
  background-image: url("../images/arrow_prev.png"); /* prevボタンの画像パス */
  background-size: contain; /* 画像のサイズをボタンに合わせる */
  background-repeat: no-repeat; /* 画像の繰り返しを防止 */
  background-color: #fff;
  width: 40px; /* ボタンの幅（画像サイズに合わせて調整） */
  height: 40px; /* ボタンの高さ（画像サイズに合わせて調整） */
  position: absolute;
  top: 50%;
  left: 10px; /* 必要に応じて位置調整 */
  transform: translateY(-50%);
  z-index: 10; /* ボタンが他の要素に隠れないように */
  font-size: 0;
}

/* nextボタンの画像 */
.swiper-button-next::after {
  background-image: url("../images/arrow_next.png"); /* nextボタンの画像パス */
  background-size: contain; /* 画像のサイズをボタンに合わせる */
  background-repeat: no-repeat; /* 画像の繰り返しを防止 */
  background-color: #fff;
  width: 40px; /* ボタンの幅（画像サイズに合わせて調整） */
  height: 40px; /* ボタンの高さ（画像サイズに合わせて調整） */
  position: absolute;
  top: 50%;
  right: 10px; /* 必要に応じて位置調整 */
  transform: translateY(-50%);
  z-index: 10; /* ボタンが他の要素に隠れないように */
  font-size: 0;
}

@media screen and (max-width: 480px) {
  .swiperThumbnail .swiper-slide {
    width: 30px !important;
  }

  .al_c {
    font-size: 12px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    width: 30px; /* ボタンの幅（画像サイズに合わせて調整） */
    height: 30px; /* ボタンの高さ（画像サイズに合わせて調整） */
    left: 2%; /* 必要に応じて位置調整 */
  }
}
