@charset "UTF-8";

/* ==========================================================================
   動画一覧レイアウト (products_video2026.css)
   ========================================================================== */

/* 全体枠 */
.video-container {
  margin-left: 15px;
}

/* 各STEPセクションの区切り */
.video-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.video-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 動画リスト（ベーススタイル + Flexbox横2列配置） */
.products_mov {
  margin: 0;
  padding: 0.5em;
  display: flex;
  flex-wrap: wrap;
  counter-reset: number; /* 数字をリセット */
  list-style-type: none !important; /* 数字を一旦消す */
  box-sizing: border-box;
}

/* 各動画アイテム（PC表示：横2列） */
.products_mov li {
  padding: 15px 10px;
  width: 50%; /* 横2列の指定 */
  box-sizing: border-box;
}

/* 動画タイトルの装飾 */
.video-ttl {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

/* 動画プレイヤー領域制御 */
.video-wrapper {
  text-align: center;
  width: 100%;
}

.video-wrapper video {
  width: 100%;
  max-width: 100%; /* 親要素（50%枠）に綺麗に収める */
  height: auto;    /* アスペクト比を保持 */
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
   レスポンシブ対応（スマホ・タブレット表示）
   ========================================================================== */
@media screen and (max-width: 768px) {
  .products_mov li {
    width: 100%; /* 画面幅が狭い場合は縦1列に自動切替 */
    padding: 15px 0;
  }
  
  .video-container {
    margin-left: 0; /* スマホ時の左余白調整 */
  }
}


