/* 動画で知るタクセル セクション（recruit-dynamic.js が描画） */
#movie .inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.movie-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px;
}
.movie-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.movie-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: #111; cursor: pointer; overflow: hidden; border: 0; padding: 0;
}
.movie-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.movie-thumb:hover img { transform: scale(1.05); }
.movie-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(214,0,28,.92); transition: background .2s ease, transform .2s ease;
}
.movie-thumb:hover .movie-play { background: rgba(214,0,28,1); transform: translate(-50%, -50%) scale(1.08); }
.movie-play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff;
}
.movie-meta { padding: 18px 20px 22px; }
.movie-cat {
  display: inline-block; font-size: 11px; letter-spacing: .04em; color: #d6001c;
  border: 1px solid #d6001c; border-radius: 3px; padding: 2px 10px; margin-bottom: 10px;
}
.movie-meta h3 { font-size: 17px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; }
.movie-meta p { font-size: 13.5px; line-height: 1.7; color: #555; margin: 0; }
.movie-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.movie-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.movie-fallback { text-align: center; padding: 24px; }
.movie-fallback a { color: #d6001c; font-weight: 700; text-decoration: underline; }

@media screen and (max-width: 900px) {
  .movie-list { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media screen and (max-width: 600px) {
  .movie-list { grid-template-columns: 1fr; gap: 24px; }
  .movie-play { width: 56px; height: 56px; }
  .movie-meta h3 { font-size: 16px; }
}
