.pf-case {
  width: min(720px, calc(100% - 32px));
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  border: 0;
  border-radius: 20px;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: #111;
  background: #fff;
}
.pf-case::backdrop { background: rgb(17 17 17 / .55); }
.pf-case__bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(20px, 5vw, 36px);
  border-bottom: 1px solid #dedede;
  background: #fff;
}
.pf-case__bar p { margin: 0; color: #666; font-size: 14px; }
.pf-case__bar button {
  padding: 0 16px;
  border: 1px solid #dedede;
  background: #fff;
  color: #111;
  cursor: pointer;
}
.pf-case__content { padding: clamp(20px, 5vw, 36px); }
.pf-case__content h2 { margin: 4px 0 16px; font-size: clamp(26px, 5vw, 42px); text-wrap: initial; }
.pf-case__content h3 { margin: 28px 0 12px; font-size: 20px; text-wrap: initial; }
.pf-case__content p { margin: 0 0 12px; word-break: keep-all; }
.pf-case__content .pf-case__label { margin: 0; color: #8c4527; font-size: 14px; }
.pf-case__videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-case figure { margin: 0; }
.pf-case video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 20px;
  background: #111;
}
.pf-case figure.pf-case__photo { margin-top: 24px; }
.pf-case__photo img { width: 100%; border-radius: 20px; }
.pf-case figcaption { padding: 8px 0; color: #666; font-size: 14px; line-height: 1.5; }
@media (max-width: 440px) {
  .pf-case__videos { grid-template-columns: 1fr; }
}
