.m-cmp_spotlight-wrapper {
  position: relative;
  display: block;
  border: 2px solid red;
  padding: 10px;
  margin-top: 31px;
  width: 100%;
  height: 100%;
}

/* ad用の特別対策 */
.m-cmp_spotlight-wrapper * {
  text-indent:initial;
}

.m-cmp_spotlight-wrapper__title {
  position: absolute;
  top: -31px;
  left: -2px;
  font-size: 11px;
  font-weight: bold;
  line-height:1;
  background-color: red;
  color: #fff;
  padding: 10px;
}

.m-cmp_spotlight-list-container {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 9999;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  max-height: 80vh;
  display: flex;
}

.m-cmp_spotlight-list-container.is-closed {
  transform: translateY(-50%) translateX(calc(-100% + 25px));
}

.m-cmp_spotlight-list-label {
  position: absolute;
  right: 0;
  top: 50%;
  width: 25px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border-radius: 0 5px 5px 0;
}

/* 矢印を疑似要素で表示 */
.m-cmp_spotlight-list-label::before {
  content: '◀';
  transition: transform 0.2s ease;
}

.m-cmp_spotlight-list-label:hover::before {
  transform: translateX(-2px);
}

/* 閉じている時 */
.is-closed .m-cmp_spotlight-list-label::before {
  content: '▶';
}

.is-closed .m-cmp_spotlight-list-label:hover::before {
  transform: translateX(2px);
}

.m-cmp_spotlight-list {
  position: relative;
  font-size: 11px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  margin-right: 25px;
  max-height: 80vh;
  overflow-y: auto;
}

/* スクロールバーのスタイリング */
.m-cmp_spotlight-list::-webkit-scrollbar {
  width: 6px;
}

.m-cmp_spotlight-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.m-cmp_spotlight-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.m-cmp_spotlight-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.m-cmp_spotlight-list .m-cmp_spotlight-list {
  position: initial;
  top: initial;
  left: initial;
  z-index: initial;
  transform: initial;
  background: none;
  padding: 0 0 0 10px;
  margin-right: 0;
  max-height: none;
  overflow: visible;
}

/* リストアイテムのスタイル（グラデーション＋影） */
.m-cmp_spotlight-list__item {
  list-style: none;
  padding: 6px 10px;
  margin: 3px 0;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
  /* レベル1（最上位） */
  background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 100%);
}

/* レベル2 */
.m-cmp_spotlight-list .m-cmp_spotlight-list__item {
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
  box-shadow: inset 15px 0 0 -13px rgba(255,255,255,0.2);
}

/* レベル3 */
.m-cmp_spotlight-list .m-cmp_spotlight-list .m-cmp_spotlight-list__item {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  box-shadow: inset 30px 0 0 -26px rgba(255,255,255,0.2);
}

/* レベル4以降 */
.m-cmp_spotlight-list .m-cmp_spotlight-list .m-cmp_spotlight-list .m-cmp_spotlight-list__item {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  box-shadow: inset 45px 0 0 -39px rgba(255,255,255,0.2);
}

/* ホバー効果 */
.m-cmp_spotlight-list__item:hover {
  background-color: rgba(255,255,255,0.15);
  transform: translateX(3px);
}

/* ホバー時に子要素も少し明るく */
.m-cmp_spotlight-list__item:hover > .m-cmp_spotlight-list > .m-cmp_spotlight-list__item {
  opacity: 0.85;
}