@charset "UTF-8";
/* CSS Document */
/* CSS単独ファイル SCSSなし */

/*エントリーボタン*/
.kv-linkbtn__item a {
  background: rgb(127 166 237);
}

.kv-linkbtn__item a span.entry::after {
  border-right-color: rgb(127 166 237);
  border-top-color: rgb(127 166 237);
}

/*ビデオ追加　モーダル表示*/
.workStyleWrap_innerList-videoWrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.video-item {
  width: 50%;
  aspect-ratio: 5 / 6;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

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

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
}

.modal-content video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 8px;
}

.close-button {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.close-button:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  /* .video-item {
						width: 100%;
					} */

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button::after {
    border-width: 12px 0 12px 20px;
  }
}

@media (max-width: 480px) {
  .close-button {
    top: -30px;
    right: -20px;
  }
}
