/* --------------------------------------------------
 * 講師陣のダイジェスト動画（template-lp-recor-1-with-form.php で /gakuen/lp-recor-1/・lp-recor-2-3/・lp-recor-2-4/ のときだけ読み込む）
 * -------------------------------------------------- */

/* 背景画像の上に枠・動画・見出し・音声ボタン・内容カード・YouTube ボタンを重ねる。
   style.css の #wrapper img・.point2-video video の指定を上書きするため !important を使う */
.point2-video.digest {
  position: relative;
  height: auto !important;
}

.digest img {
  display: block;
  max-width: none !important;
}

.digest .digest__bg {
  position: static;
  width: 100% !important;
  height: auto !important;
}

.digest .digest__frame {
  position: absolute;
  z-index: 1;
  top: 35.015% !important;
  left: -0.235% !important;
  width: 100.353% !important;
  height: auto !important;
}

.digest .digest__video {
  position: absolute;
  z-index: 2;
  top: 37.448% !important;
  left: 4.583% !important;
  width: 90.599% !important;
  height: auto !important;
  margin: 0;
  transform: none;
  border-radius: 6px;
  background: #000;
  aspect-ratio: 771 / 481;
  object-fit: contain;
}

.digest .digest__title {
  position: absolute;
  z-index: 3;
  top: 34.896% !important;
  left: 24.442% !important;
  width: 51.469% !important;
  height: auto !important;
}

.digest .digest__sound {
  position: absolute;
  z-index: 4;
  top: 37.9% !important;
  left: 86.5% !important;
  width: 6.6% !important;
  margin: 0;
  padding: 1%;
  border: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 1;
}

.digest .digest__sound img {
  width: 100% !important;
  height: auto !important;
}

.digest .digest__card {
  position: absolute;
  z-index: 3;
  top: 68.012% !important;
  left: 9.636% !important;
  width: 80.729% !important;
  height: auto !important;
}

.digest .digest__full {
  position: absolute;
  z-index: 3;
  top: 91.751% !important;
  left: 20.329% !important;
  width: 59.577% !important;
}

.digest .digest__full img {
  width: 100% !important;
  height: auto !important;
}
