:root {
  color: #111;
  background: #fff;
  font-family: "Times New Roman", Times, serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  background: #fff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.folio {
  width: 100%;
  margin: 0;
  padding: 0 0 10px;
}

.folio:last-child {
  padding-bottom: 0;
}

.page-shell,
.video-sheet {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
  container-type: inline-size;
}

.page-shell.landscape,
.video-sheet {
  width: min(100%, calc((100svh - 10px) * 1.5454545));
  margin-inline: auto;
  aspect-ratio: 17 / 11;
}

.cover-shell {
  width: 100%;
  margin-inline: 0;
  aspect-ratio: 17 / 11;
  background: #a3000b;
}

.page-shell > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-shell > img {
  object-fit: cover;
  transform: scale(1.02);
}

.box-video-page {
  position: absolute;
  inset: 0 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.box-local-video {
  display: block;
  width: 48%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border: 0;
  background: #111;
}

.box-video-caption {
  position: absolute;
  right: 0;
  bottom: 4.5%;
  left: 0;
  color: #111;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.25;
  text-align: center;
}

.box-video-title {
  font-size: 0.94cqw;
}

.box-video-info {
  margin-top: 0.15cqw;
  font-size: 0.78cqw;
  white-space: nowrap;
}

.video-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 5.5%;
  padding: 7.5% 5.45%;
}

.film {
  min-width: 0;
}

.film-player {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: #fff;
  background: #090909;
  cursor: pointer;
}

.film-player img,
.film-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.film-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.02);
  transition: background 180ms ease;
}

.film-player:hover::after,
.film-player:focus-visible::after {
  background: rgba(0, 0, 0, 0.13);
}

.film-player:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.play-mark {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: clamp(42px, 4.4vw, 66px);
  height: clamp(42px, 4.4vw, 66px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 9px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.film-player:hover .play-mark,
.film-player:focus-visible .play-mark {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.06);
}

.play-mark span {
  position: absolute;
  left: 54%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #111;
  transform: translate(-50%, -50%);
}

.film-caption {
  margin-top: clamp(7px, 0.7vw, 11px);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1.2;
}

.film-title {
  font-size: 12px;
}

.film-info {
  font-size: 10px;
}

.film-caption a {
  color: inherit;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.folio-index {
  position: fixed;
  z-index: 10;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(10px, env(safe-area-inset-bottom));
  padding: 4px 6px;
  color: rgba(17, 17, 17, 0.62);
  background: rgba(255, 255, 255, 0.82);
  font: 12px/1.1 Arial, sans-serif;
  letter-spacing: 0.035em;
  backdrop-filter: blur(5px);
}

.noscript {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font: 16px/1.4 Arial, sans-serif;
}

@media (max-width: 700px) and (orientation: portrait) {
  .video-sheet {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4%;
    padding: 7.5% 4%;
  }

  .folio-index {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .play-mark,
  .film-player::after {
    transition: none;
  }
}
