@charset "UTF-8";
/* ==================================== */
/* プレーヤー全体とコンテナのスタイル */
/* ==================================== */
.showcase-container {
  margin-bottom: 0px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-player-container {
  width: 300px;
  height: 169px;
  padding: 0px;
  margin: 0 0 7px 0;
  border: 1px solid #ddd;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.main-player-container iframe {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
}

.vimeo-player-gallery-wrapper {
  width: 300px;
}

/* ==================================== */
/* プレイリストとアイテムのスタイル */
/* ==================================== */
.playlist-container {
  position: relative;
  width: 293px;
  max-height: 500px;
  background-color: transparent;
  overflow-y: scroll;
  border: 1px solid #ddd;
  padding: 3px;
}

.video-container {
  border-top: 1px solid #eee;
  margin-bottom: 4px;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  background: #eee;
  background: -webkit-linear-gradient(#fff, #eee 80%, #ddd);
  background: -o-linear-gradient(#fff, #eee 80%, #ddd);
  background: -moz-linear-gradient(#fff, #eee 80%, #ddd);
  background: linear-gradient(#fff, #eee 80%, #ddd);
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative; /* ここを追加: 擬似要素の基準位置とするため */
  padding-left: 9px; /* ここを追加: 縦線のスペースを確保 */
}

/* 各動画のサムネイル左横に緑の短い縦線を配置 */
.video-container::before {
  content: '';
  position: absolute;
  /* padding-leftと縦線の幅を考慮してleftを調整 */
  left: 5px; /* ★変更: padding-leftが10pxで、線幅が3pxの場合、(10px-3px)/2 = 3.5px なので、約4pxに設定 */
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 48px;
  background-color: #004000;
  border-radius: 1.5px;
  transition: background-color 0.3s ease;
}

/* ホバー時に黄土色に変える */
.video-container:hover::before {
  background-color: #B8860B; 
}

.video-info {
  flex-grow: 1;
  margin-left: 10px; /* 縦線との間にスペースを確保するため、元の値から調整が必要な場合あり */
  padding-top: 2px;
  padding-right: 2px;
  padding-bottom: 5px;
}

/* ==================================== */
/* サムネイルと再生ボタンのスタイル */
/* ==================================== */
/* サムネイルを囲むラッパーのスタイル */
.video-thumbnail-wrapper {
  position: relative;
  width: 85px;
  height: 48px;
  margin: 5px;
  overflow: hidden;
  display: block;
  flex-shrink: 0; /* ここを追加 */
}

/* サムネイル画像自体のスタイル */
.video-thumbnail {
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  object-fit: cover;
  display: block;
}

/* 再生ボタンのアイコン（擬似要素）の初期設定 */
.video-thumbnail-wrapper::before {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.3em;
  color: white;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

/* ホバー時に再生ボタンを表示 */
.video-container:hover .video-thumbnail-wrapper::before {
  opacity: 1;
}

/* ホバー時にサムネイルを少し暗くする */
.video-container:hover .video-thumbnail {
  opacity: 0.8;
}

/* ==================================== */
/* テキストとタイトルのスタイル */
/* ==================================== */
.video-container h3 {
  font-size: 13px;
  color: #555;
  transition: color 150ms 0s ease-out;
  padding-top: 3px;
  margin-bottom: 0px;
  line-height: 1.2;
}

.video-container h3:hover {
  color: #222;
}

.video-container.active h3 {
  color: #222;
}

.video-description {
  font-size: 10px;
  color: #666;
  margin-top: 2px;
  line-height: 1.2;
  padding-bottom: 5px;
}

/* ==================================== */
/* スクロールバーのカスタマイズ */
/* ==================================== */
.playlist-container::-webkit-scrollbar {
  width: 11px;
  height: auto;
  background: #eee;
}

.playlist-container::-webkit-scrollbar-thumb {
  background: #ccc;
}

.playlist-container::-webkit-scrollbar-thumb:hover {
  background: #a9a9a9;
}

.playlist-container::-webkit-scrollbar-thumb:active {
  background: #696969;
}

.playlist-container::-webkit-scrollbar-button:single-button {
  background-color: #eee;
  display: block;
  border-style: solid;
  height: 15px;
  width: 16px;
}

.playlist-container::-webkit-scrollbar-button:single-button:hover {
  background-color: #a9a9a9;
}

.playlist-container::-webkit-scrollbar-button:single-button:active {
  background-color: #696969;
}

.playlist-container::-webkit-scrollbar-button:single-button:vertical:decrement {
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #696969 transparent;
}

.playlist-container::-webkit-scrollbar-button:single-button:vertical:decrement:active {
  border-color: transparent transparent #ffffff transparent;
}

.playlist-container::-webkit-scrollbar-button:single-button:vertical:increment {
  border-width: 8px 8px 0px 8px;
  border-color: #696969 transparent transparent transparent;
}