.p-jockeys-modal {
  .c-modal__inner {
    @media (max-width: 768px) {
      height: 100%;
      display: flex;
      align-items: center;
    }
  }
  .c-modal__sub-inner {
    @media (max-width: 768px) {
      padding-block: 0;
      width: 100%;
    }
  }
  .c-modal__content {
    background: none;
    @media (min-width: 769px) {
      max-width: 100%;
      width: 68rem;
    }
  }
  .c-modal__close {
    @media (max-width: 768px) {
      width: 3.1rem;
      position: fixed;
      top: 1.4rem;
      right: 1.7rem;
      translate: 0 0;
    }
    @media (min-width: 769px) {
      right: 0;
      top: -1.4rem;
      translate: 0 -100%;
    }
    &::before,
    &::after {
      @media (max-width: 768px) {
        width: 4.1rem;
        height: 1px;
      }
    }
  }
}

.p-jockeys-modal__title {
  background: #234EA0;
  color: #ffffff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-block: 0.9rem;
  @media (min-width: 769px) {
    flex-direction: row;
    gap: 1rem;
    padding-block: 0.8rem;
  }
}
.p-jockeys-modal__title__logo {
  width: 19rem;
  @media (min-width: 769px) {
    width: 26rem;
  }
}
.p-jockeys-modal__title__text {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  @media (min-width: 769px) {
    font-size: 1.8rem;
    margin-bottom: .3rem;
  }
}

.p-jockeys-modal__video {
  width: 100%;
  aspect-ratio: 560 / 315;
  position: relative;
  overflow: hidden;
  iframe {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.p-jockeys-modal__hide-check {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin: 3.3rem auto 0;
  @media (min-width: 769px) {
    margin-top: 2.7rem;
  }
}

.p-jockeys-modal__hide-check__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.p-jockeys-modal__hide-check__text {
  font-size: 1.5rem;
  font-weight: 500;
  padding-left: 2.9rem;
  min-height: 1.8rem;
  display: flex;
  align-items: center;
  position: relative;
  color: #ffffff;
  &::before {
    content: "";
    display: block;
    aspect-ratio: 1/1;
    height: 100%;
    border: 0.1rem solid #FF6B6D;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 2px;
  }
  &::after {
    content: "";
    display: block;
    aspect-ratio: 1.7/3;
    width: 0.7rem;
    border: solid #FFFFFF;
    border-width: 0 0.2rem 0.2rem 0;
    position: absolute;
    top: 0.1rem;
    left: 0.5rem;
    z-index: 2;
    rotate: 40deg;
  }
}
.p-jockeys-modal__hide-check__input:checked ~ .p-jockeys-modal__hide-check__text::before {
  background: #FF6B6D;
}

.p-jockeys-modal__close {
  background: #fff;
  display: flex;
  width: 24rem;
  height: 4.8rem;
  justify-content: center;
  align-items: center;
  margin: 2.3rem auto 0;
  color: #576082;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-bottom: 0.1rem;
  border: 1px solid currentColor;
  @media (min-width: 769px) {
    margin-top: 1.9rem;
  }
}