@charset "UTF-8";
/*
  video-card-grid.css
  動画サムネカードを2列グリッド（SPで1列）で並べる汎用スタイル。
  HTML側のクラス: .c-videoCardGrid / __item / __trigger / __thumb / __caption
*/

.c-videoCardGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.c-videoCardGrid__item {
  border-radius: 6px;
  overflow: visible;
  background: transparent;
}
.c-videoCardGrid__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.c-videoCardGrid__trigger:focus-visible {
  outline: 2px solid #3471b0;
  outline-offset: 2px;
}
.c-videoCardGrid__thumb {
  display: block;
  overflow: hidden;
  line-height: 0;
}
/* common.css 側の #main-category img を上書きするため、現サイト DOM 構造に依存した詳細度で指定 */
#wrapper #contents #main-column #main-category .c-videoCardGrid__thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: opacity 0.2s ease;
}
.c-videoCardGrid__item:hover .c-videoCardGrid__thumb img {
  opacity: 0.92;
}
.c-videoCardGrid__caption {
  display: block;
  margin: 10px 4px 0;
  padding: 12px 14px !important;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.6;
  background: #ededed;
}

@media screen and (max-width: 767px) {
  .c-videoCardGrid {
    grid-template-columns: 1fr;
  }
}
