#stereogram-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #000;
  overflow: hidden;
  position: relative;
}

#stereogramCanvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* スマホ時の回転対応 */
@media (max-width: 768px),
(hover: none) and (pointer: coarse) {
  #stereogramCanvas.rotated {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center center;
    width: 100vh;
    height: 100vw;
    max-width: 100vh;
    max-height: 100vw;
  }
}
