.gift-tab-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 16px;
  background-color: #f9f9f9;
}

.gift-tab-list {
  display: flex;
  gap: 12px;
}

.gift-tab {
  flex: 0 0 auto;
  width: 60px; /* ✅ タブ幅を固定に近づける */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 12px;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-align: center;
}

.gift-tab:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gift-tab.active {
  border: 1px solid #ff5e5e;
  background-color: #fff5f5;
  box-shadow: 0 2px 8px rgba(255, 94, 94, 0.15);
}

.gift-tab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 4px;
}

.gift-tab span {
  font-size: 12px;
  color: #444;
  font-weight: 500;
  line-height: 1.2;
  word-break: break-word;
}

@media screen and (min-width: 768px) {
  .gift-tab {
    
    width: 100px; /* ✅ タブ幅を固定に近づける */
    
  }

  .gift-tab img {
    width: 50px;
    height: 50px;
    
  }
}

/* ▼ 2列目：企業ロゴ用のサイズ拡大 */
.shop-tab .gift-tab {
  width: 80px;
}

.shop-tab .gift-tab img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 4px;
}

.gift-tab h3 {
  font-size: 10px;
  color: #444;
  text-align: center;
}

.shop-tab .gift-tab h3 {
  font-size: 10px;
  color: #444;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .shop-tab .gift-tab {
    
    width: 150px; /* ✅ タブ幅を固定に近づける */
    
  }

  .shop-tab .gift-tab img {
    width: 120px;
    height: 120px;
    
  }
}
