  #movie-button {
  width:80px;height:80px;
  position:absolute;right:40px;bottom:40px;/*親要素に対する位置指定*/
  cursor:pointer;/*カーソルを指に変更*/
  z-index:1;
}
.movie-button {
  display:flex;justify-content:center;align-items:center;/*#video-buttonの中央に配置*/
}
.movie-button span {
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  color:#CF000F;font-size:1.2rem;
}
.movie-button span i {
  font-size:2.6vw;/*アイコンの大きさを指定*/
}

/*ここから*/

.home-movieslider {
padding:7em 0 0 0;
}


@media screen and (max-width: 736px) {

  .home-movieslider .inner .headding {
    padding: 60px 25px 90px
  }
  .home-movieslider .inner .headding .between {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
  }
  .home-movieslider .inner .headding .between .text-primary {
    margin-bottom: 20px
  }
  
  }
 
#videoModal{
width: 100%; height: 100% position: fixed top: 0; left: 0;
}



/* スライダー全体 */
#top-movie-slider {
    position: relative;
    width: 88%; /* 動画の横幅に合わせる */
    height: auto; /* 動画の縦幅に合わせる */
    overflow: hidden;
	    margin: 0 auto;
}

@media screen and (max-width: 736px) {
#top-movie-slider {
 width: 370px;
}
}


#top-movie-slider .video-js {
    width: 363px;
    height: 204px;

}

.video-slider-container {
      position: relative;
      width: 100%;
      overflow: hidden;
	      background-color: #e3f5fb;
    padding: 2em 0;

  }

  .video-slider {
      display: flex;
      transition: margin-left 0.5s ease-in-out;
      width: fit-content;
	   gap: 10px; /* 動画間に10pxのスペースを入れる */
  }

  .video-item {
      
  }
  

.slider-btn {
     position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    cursor: pointer;
    padding: 10px;
    font-size: 28px;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    border: 5px solid transparent;
}
  
.slider-btn::before {
     content: "";
    position: absolute;
    top: -5px;
    left: -8px;
    width: calc(100% + 9px);
    height: calc(100% + 7px);
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(90deg, #0280e0, #00b2db);
    -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;

}


  #prev-btn {
      left: 11px;
  }

  #next-btn {
      right: 10px;
	  
  }

  
#prev-btn::before {
  -webkit-transition: height .25s ease-out .25s;
    transition: height .25s ease-out .25s;
	}
	

/* モーダルのスタイル */
.modal-movie {
    display: none;  /* 初期状態では非表示 */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* 背景の暗くなる部分 */
}

/* モーダル内のコンテンツを中央に配置 */
.modal-content-movie {
    /*background-color: #fefefe;*/
    margin: 15% auto;  上下に余白を確保 
    padding: 20px;
    width: 80%;  /* モーダルの幅を80%に設定 */
    height: 80%;  /* モーダルの高さを80%に設定 */
    max-width: 830px; /* 最大幅を900pxに設定（必要に応じて調整） */
    max-height: 512px; /* 最大高さを600pxに設定（必要に応じて調整） */
	  pointer-events: auto;
}



@media screen and (max-width: 736px) {
.modal-content-movie {
/*width: 100%;
max-height: fit-content;*/
width: 90%;
 position: relative;
        max-height: fit-content;
        margin: 20% auto 0 auto !Important;

}
}



/* モーダル内の動画の設定 */
#modalVideo {
    width: 100% !important;  /* 幅を100%に設定 */
    height: 100% !important;  /* 高さを100%に設定 */
    object-fit: contain;  /* 動画がアスペクト比を維持しながら収まるように調整 */
}

/* モーダルの閉じるボタン */
.close-movie {
    color: #000000;
    font-size: 50px;
    font-weight: bold;
	z-index: 9999;
    position: sticky;
	background-color: #fff;
	 cursor: pointer;
	    /*position: absolute;
		  top: 10px; right: 15px;*/
}


}

.close-movie:hover,
.close-movie:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.video-wrapper {
    position: relative; /* ボタンを正しく配置 */
    display: inline-block;
}

.video-item {
    position: relative; /* 各動画にボタンを表示 */
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #203156;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 35px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    /*z-index: 2;  他の要素の下にならないように */
}


@media screen and (max-width: 736px) {
.play-button {
    width: 30px;
    height: 35px;
}
}



.play-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}




/* モーダルのスタイル */
.modal {
    display: none; /* デフォルトで非表示 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 半透明の背景 */
    overflow: auto;
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* サムネイル画像のスタイル */
.thumbnail {
    cursor: pointer;
    max-width: 100%;
}


.home-movieslider .swiper-button2 {
  top: calc(50% - 120px);
  width: 59px;
  height: 59px;
  right: 7.5%;
  z-index: 2;
}
.swiper-button2 {
  position: absolute;
  -webkit-transition:
.25s;
  transition:
.25s;
  border-radius:
100px;
  overflow:
hidden;
  background-color: transparent;
}

.home-movieslider .swiper-button-next2, .home-movieslider .swiper-button-prev2 {
  background-size: 20.8px 20.8px;
}
.swiper-button-next2, .swiper-button-prev2 {
  width: 100%;
  height: 100%;
  background-image: url(/recruit/assets/images/common/swiper-arrow.svg);
  -webkit-transform:
translate(50%, -50%);
  transform: translate(50%, -50%);
  right: 50%;
  margin-top: 0;
  outline:
none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.swiper-button-next2, .swiper-container-rtl2 .swiper-button-prev2 {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
  right: 10px;
  left: auto;
}
.swiper-button-next2, .swiper-button-prev2 {
  position: absolute;
  top: 50%;
  width: 27px;
  height: 44px;
  margin-top: -22px;
  z-index: 10;
  cursor: pointer;
  background-size: 27px 44px;
  background-position:
center;
  background-repeat: no-repeat;}
  
  
  
  
  
  .video-js {
  width: 300px !important;
  height: 155px !important;
  background-color: transparent !important;
}

@media screen and (max-width: 736px) {
  .video-js {
  width: 100% !important;
}
}



















