.p-movieModal {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  overflow: visible;
  border: none;
  outline: none;
  justify-content: center;
  align-items: center;
  @media all and (min-width: 1024px) {
    width: 800px;
    border-radius: 80px;
    aspect-ratio: 1156/760;
  }
  @media not all and (min-width: 1024px) {
    border-radius: 24px;
    aspect-ratio: 343/206;
    width: calc(100vw - 32px);
  }
}

.p-movieModal::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}

.p-movieModal__overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 29;
  width: 100%;
  height: 100%;
  display: none;
}

.p-movieModal[open] + .p-movieModal__overlay {
  display: block;
}

.p-movieModal__main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  iframe {
    aspect-ratio: 16/9;
    display: block;
  }
  @media all and (min-width: 1024px) {
    iframe {
      width: calc(100% - 150px);
    }
  }
  @media not all and (min-width: 1024px) {
    iframe {
      width: calc(100% - 32px);
    }
  }
}

.p-movieModal__button {
  position: absolute;
  padding-bottom: 0.3em;
  border: var(--secondary-color) solid 0.3rem;
  border-radius: 2.5rem;
  background: #fff;
  box-shadow: 0 0.5rem 0 var(--secondary-color);
  transition: all 0.12s ease 0s;
  transition-property: all;
  display: flex;
  align-items: center;
  justify-content: center;
  & i {
    width: 26px;
    height: 18px;
    display: block;
    background: url('../../../../images/common/right-arrow_2.svg') center
      no-repeat;
  }
  svg {
    translate: 0 3px;
  }
  @media (any-hover: hover) {
    &:hover {
      transform: translateY(0.5rem);
      box-shadow: 0 0 0 var(--secondary-color);
    }
  }
  @media all and (min-width: 1024px) {
    width: 56px;
    height: 56px;
    right: -37px;
    top: -37px;
  }
  @media not all and (min-width: 1024px) {
    width: 48px;
    height: 48px;
    right: 0;
    top: -60px;
  }
}
