@charset "UTF-8";
/* これが無いとモーダルウィンドウ表示の際に余白が出る */
*{
  margin: 0px;
  padding: 0px;
}
/* モーダル全体(背景＋本体) */
.modal{
  display: none;
  position: fixed;
  justify-content: center;
  aline-items: center;
  top: 0;
  height: 100vh;
  width: 100%;
  margin: 0 auto;
  overflow: auto;
}
/* モーダル本体 */
.modal-content{
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: scroll; /* はみ出た部分はスクロールさせる */
  height: 95%;/* これが無いと「overflow:scroll」が利かない */
  width: 80%;/* これが無いと「overflow:scroll」が利かない */
}
.modaal-video .modaal-inner-wrapper{
  padding:5px;
}
/* モーダル背景 */
.modal-bg{
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video iframe {
  position: absolute;
  top: 80px;
  right: 0;
  width: 100%;
  height: 100%;
}