@charset "euc-jp";
.slider {
  position: relative;
}
.bx-viewport {
  border: none !important;
  left: 0 !important;
}
#slider div {
  width: 100% !important;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.banner img:hover {
  transform: scale(1.02);
}

.banner-section {
  text-align: center;
  margin: 30px 0;
  padding: 20px 0;
}

.banner-section .banner {
  display: inline-block;
  margin: 0 auto;
}

.am_link {
  margin-bottom: 50px;
}

.more_prd {
  display: none;
  background-color: #aaa;
  color: #fff;
  font-size: 123.076%;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.free_space_block {
  margin-top: 3em;
}

.rank-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  background: #fff;
  border-radius: 24px;
  padding: 4px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  width: fit-content;
}

/* メダル共通スタイル */
.medal {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.6),
              0 2px 5px rgba(0,0,0,0.2);
}

/* リボン装飾 */
.medal::before,
.medal::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 12px;
  background: linear-gradient(to bottom, #d33, #a00);
  top: 25px;
  border-radius: 2px;
}
.medal::before { left: 4px; transform: rotate(15deg); }
.medal::after { right: 4px; transform: rotate(-15deg); }

.medal-1 {
  background: radial-gradient(circle at 30% 30%, #fff9c4, #ffd700 70%, #b8860b 100%);
}
.medal-2 {
  background: radial-gradient(circle at 30% 30%, #f0f0f0, #c0c0c0 70%, #a9a9a9 100%);
}
.medal-3 {
  background: radial-gradient(circle at 30% 30%, #ffcc99, #cd7f32 70%, #8b4513 100%);
}

.rank-number {
  color: #333;
  text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

.rank-badge--1, .rank-badge--2, .rank-badge--3 {
  border: 2px solid gold;
}

/* ---- SOLD OUT リボンバッジ ---- */
.soldout-badge {
  position: absolute;
  top: 10px;
  left: -10px;
  z-index: 20;
  background: #b60000;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  text-transform: uppercase;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.2);
  border-radius: 4px;
  transform: rotate(-8deg);
}

/* ランキングセクション専用 SOLD OUT バッジ */
.prd_seller_block .soldout-badge {
  position: absolute;
  top: 60px; 
  left: 10px;
  background: #d60000;
  color: #fff;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 30;
  transform: none;
}

.prd_seller_block .prd_lst_unit {
  position: relative;
}

.prd_lst_unit img {
  position: relative;
}

.prd_lst_unit {
  position: relative;
}


/* スマホ用調整 */
@media (max-width: 768px) {
  .soldout-badge {
    font-size: 11px;
    padding: 4px 12px;
    left: -6px;
    top: 6px;
    transform: rotate(-6deg);
  }
  
  .banner {
    max-width: 100%;
    width: 100%;
  }
  
  .banner-section {
    padding: 15px;
    margin: 20px 0;
  }
  
  .banner img {
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .banner {
    max-width: 100%;
  }
  
  .banner-section {
    padding: 10px;
  }
}
