@charset "utf-8";
.case {
  margin: 0.5em;
  background-color: #fff;
}
.case ul {
  display: flex;
  flex-direction: row; /* 横並び */
  justify-content: center; /* 中央寄せ */
  gap: 15px; /* 隙間 */
  list-style: none;
  padding: 0;
  margin: 0;
}
.case li {
  list-style: none;
  margin: 1%;
  display: inline-block;
  width: 45%;
  vertical-align: middle;
  text-decoration: none;
  text-align: left;
  transition-duration: 0.3s;
}

.case_img {
  width: 20%;
}

.movie {
  border-radius: 10px;
  padding: 2%;
  text-align: center;
  width: 50%;
}
.movie iframe {
  width: 100%;
  height: auto;
}
.movie_img {
  width: 100% !important;
}
.js-modal-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

/* サムネイル画像（レスポンシブ対応） */
.js-modal-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* ホバー時に画像を少し拡大して「押せる感」を出す */
.js-modal-btn:hover img {
  transform: scale(1.05);
}

/* 再生アイコン（丸い背景） */
.js-modal-btn .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(230, 0, 18, 0.8); /* 背景色（例：赤） */
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

/* 再生アイコンの中の「▶」マーク（CSSで三角形を作成） */
.js-modal-btn .play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%; /* 三角形の位置調整で少し右に */
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #ffffff; /* 白い三角形 */
}

/* ホバー時にアイコンの色を濃くする */
.js-modal-btn:hover .play-icon {
  background-color: rgba(230, 0, 18, 1);
}

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