.award_title {
}

.award-swiper {
  overflow: visible;
  /* height: 50vw; */
}

.award_content {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow: visible;
}

.award-swiper .swiper-slide {
  flex-shrink: 0;
  width: 30.74670571010249vw;
  max-width: 500px;
  max-height: 635px;
  /* height: 38.79941434846266vw; */
  /* transform-origin: center 135vw; - JavaScript側で動的に設定 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.award-swiper .gold {
  padding: unset;
}

/* スライド内のコンテンツを縮小 */
.award-swiper .swiper-slide .slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-swiper .swiper-slide .award_thumb_box {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  min-width: 250px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  box-sizing: border-box;
  margin: 0 auto;
  flex-shrink: 0;
}

.award-swiper .swiper-slide .award_thumb_box::before {
  width: 100% !important;
  height: 100% !important;
}

.award-swiper .swiper-slide .award_thumb_box.gold {
  height: 75% !important;
}

.award-swiper .swiper-slide .award_thumb_box.gold::before {
  width: 100% !important;
  height: 119.5% !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.award-swiper .swiper-slide .award_thumb_box.silver {
  /* height: 93% !important; */
}

.award-swiper .swiper-slide .award_thumb_box.silver::before {
  width: 100% !important;
  height: 100% !important;
}

.award-swiper .swiper-slide .award_thumb {
  max-width: 70%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.award-swiper .swiper-slide .award_thumb_box.gold .award_thumb {
  max-width: 65%;
  max-height: 65%;
}

.award-swiper .swiper-slide .award_thumb:hover {
  transform: translate(-50%, -50%);
}

.award-swiper .swiper-slide .award_label.gold {
  position: absolute;
  top: -15%;
  right: -15%;
  z-index: 10;
}

.award-swiper .swiper-slide .award_label.silver {
  top: -6%;
  right: -5%;
}

@media screen and (min-width: 1640px) {
  .award-swiper .swiper-slide {
  }
}

/* ナビゲーションとページネーションのコンテナ */
.swiper-navigation-container {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 10;
  width: auto;
  min-width: 200px;
}

/* ナビゲーションボタンのスタイル */
.award-swiper .swiper-button-prev,
.award-swiper .swiper-button-next {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background-color: transparent;
  background-image: url("../img/jpm_museum/arrow_slider.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin-top: 0;
  box-sizing: border-box;
  aspect-ratio: 1 / 1;
}

.award-swiper .swiper-button-prev {
  transform: rotate(180deg);
}

.award-swiper .swiper-button-next {
  transform: none;
}

.award-swiper .swiper-button-prev::after,
.award-swiper .swiper-button-next::after {
  display: none;
}

/* ページネーションのスタイル */
.award-swiper .swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: unset;
}

.award-swiper .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: #ffe372;
  opacity: 1;
  position: relative;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

/* アクティブ時のみ星型 */
.award-swiper .swiper-pagination-bullet-active {
  width: 35px;
  height: 35px;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}

.award-swiper .swiper-pagination-bullet-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 35px;
  background-image: url("../img/jpm_museum/star_indicator.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
}

.award-swiper .swiper-pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  margin-top: 116px;
}

@media screen and (max-width: 860px) {
  .award-swiper .swiper-pagination-wrapper {
    margin-top: 40px;
  }
}

.award-swiper .swiper-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: auto;
}

/* レスポンシブ対応でgoldフレームの中央配置を修正 */
@media screen and (max-width: 1500px) {
  .award-swiper .swiper-slide .award_thumb_box.gold::before {
    width: 100% !important;
    height: 119.5% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

@media screen and (max-width: 500px) {
  .award-swiper .swiper-slide .award_thumb_box.gold::before {
    width: 100% !important;
    height: 120.8% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .award-swiper .swiper-slide .award_thumb_box.gold .award_thumb {
    max-width: 65% !important;
    max-height: 65% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}
