.work-video {
  position: relative;
}

.work-video > img {
  display: block;
}

.work-video-player,
.work-video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-video [hidden],
.work-video-error[hidden] {
  display: none !important;
}

.work-video-player {
  display: block;
  background: #171411;
  object-fit: contain;
}

.work-video-play {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fffdf8;
  cursor: pointer;
}

.work-video-play-content {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 14px;
  pointer-events: none;
}

.work-video-play-circle {
  display: grid;
  place-items: center;
  width: clamp(32px, 14%, 80px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 253, 248, 0.85);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.work-video-triangle {
  width: 34%;
  height: auto;
  margin-left: 3px;
}

.work-video-play-label {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.32em;
  line-height: 1;
  padding-left: 0.32em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.work-video-play:focus-visible {
  outline: 2px solid #fffdf8;
  outline-offset: -6px;
}

.work-video-play:disabled {
  cursor: wait;
}

.work-video.is-playing > img {
  visibility: hidden;
}

.work-video-error {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.work-video-error a {
  display: block;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .work-video-play-content { gap: 10px; }
  .work-video-play-label { font-size: 9px; }

  .work-detail-visual .work-video-note {
    right: calc((100% - 100vw) / 2 + 16px);
    color: var(--muted);
    pointer-events: none;
  }
}

.work-video--news > img { width: 100%; height: auto; display: block; margin: 0; }
.work-video--news { aspect-ratio: var(--poster-ratio); }

.omo7-work-page .work-video { aspect-ratio: 9 / 16; }
.omo7-work-page .work-video > img { height: auto; aspect-ratio: 9 / 16; }
