.yb-right-video-slide-item-video {
  line-height: 0;
}

@media screen and (max-width: 959px) {
  .yb-right-video-slide.pc {
    display: none;
  }

  .yb-right-video-slide-image {
    width: 100%;
    height: 100%;
  }

  .yb-right-video-slide.mobile {
    position: relative;
    height: 300vh;
  }

  .yb-right-video-slide-container {
    position: absolute;
    z-index: 2;
    top: 0;
  }

  .yb-right-video-slide-title {
    margin-top: 64px;
    font-size: 32px;
    line-height: 38px;
    font-weight: 800;
    text-align: center;
  }

  .yb-right-video-slide.mobile .yb-right-video-slide-items {
    margin-top: 64px;
    overflow-x: hidden;
  }

  .yb-right-video-slide-item-video video,
  .yb-right-video-slide-item-video iframe,
  .yb-right-video-slide-item-video img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 79 / 49;
    height: calc(49 / 79 * (100vw - 48px));
  }

  .yb-right-video-slide.mobile:has(.yb-right-video-slide-image) .yb-right-video-slide-items {
    margin-top: calc(11 / 17 * 100vw);
  }

  .yb-right-video-slide-item {
    margin-bottom: 40px;
  }

  .yb-right-video-slide-item-video+.yb-right-video-slide-item-title {
    margin-top: 32px;
  }

  .yb-right-video-slide-item-title {
    margin: 0 24px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
  }

  .yb-right-video-slide-item-title+.yb-right-video-slide-item-description {
    margin-top: 16px;
  }

  .yb-right-video-slide-item-description {
    margin: 0 24px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
  }

  .yb-right-video-slide-pagination {
    height: 12px;
    padding-top: 40px;
  }

  .yb-right-video-slide-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #02060B;
    width: 12px;
    height: 12px;
  }

  .yb-right-video-slide-pagination .swiper-pagination-bullet {
    background: #CCCDCE;
    width: 12px;
    height: 12px;
    transform: scale(.66);
  }
}
@media screen and (max-width: 679px) {
  .yb-right-video-slide-title {
    margin-top: 48px;
    font-size: 24px;
    line-height: 29px;
  }

  .yb-right-video-slide.mobile .yb-right-video-slide-items {
    margin-top: 48px;
  }

  .yb-right-video-slide-item-video video,
  .yb-right-video-slide-item-video iframe,
  .yb-right-video-slide-item-video img {
    border-radius: 16px;
    aspect-ratio: 343 / 212;
    height: calc(212 / 343 * (100vw - 32px));
  }

  .yb-right-video-slide.mobile:has(.yb-right-video-slide-image) .yb-right-video-slide-items {
    margin-top: calc(218 / 375 * 100vw);
  }

  .yb-right-video-slide-item {
    margin-bottom: 24px;
  }

  .yb-right-video-slide-item-video+.yb-right-video-slide-item-title {
    margin-top: 21px;
  }

  .yb-right-video-slide-item-title {
    margin: 0 12px;
    font-size: 18px;
    line-height: 24px;
  }

  .yb-right-video-slide-item-title+.yb-right-video-slide-item-description {
    margin-top: 7px;
  }

  .yb-right-video-slide-item-description {
    margin: 0 12px;
    font-size: 12px;
    line-height: 19px;
  }

  .yb-right-video-slide-pagination {
    padding-top: 24px;
  }
}

@media screen and (min-width: 960px) {
  .yb-right-video-slide.mobile {
    display: none;
  }

  .yb-right-video-slide-image-container {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .yb-right-video-slide-image {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .yb-right-video-slide-content-container {
    position: absolute;
    top: 0;
    z-index: 2;
  }

  .yb-right-video-slide-container {
    margin-left: calc(50vw + 50px);
    width: 400px;
  }

  .yb-right-video-slide-title {
    padding-top: 64px;
    font-size: 28px;
    line-height: 34px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
  }

  .yb-right-video-slide-item {
    margin-bottom: 32px;
  }

  .yb-right-video-slide-item-video video,
  .yb-right-video-slide-item-video iframe,
  .yb-right-video-slide-item-video img {
    width: 100%;
    height: 248px;
    border-radius: 12.4px;
    max-height: 248px;
    object-fit: cover;
  }

  .yb-right-video-slide-item-video+.yb-right-video-slide-item-title {
    margin-top: 24px;
  }

  .yb-right-video-slide-item-title {
    margin: 0px 16px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
  }

  .yb-right-video-slide-item-title+.yb-right-video-slide-item-description {
    margin-top: 8px;
  }

  .yb-right-video-slide-item-description {
    margin: 0 16px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
  }
}

@media screen and (min-width: 1440px) {
  .yb-right-video-slide-container {
    margin-left: calc(50vw + 84px);
    width: 516px;
  }

  .yb-right-video-slide-title {
    padding-top: 100px;
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 56px;
  }

  .yb-right-video-slide-item-video video,
  .yb-right-video-slide-item-video iframe,
  .yb-right-video-slide-item-video img {
    height: 320px;
    border-radius: 16px;
    max-height: 320px;
  }

  .yb-right-video-slide-item-title {
    font-size: 24px;
    line-height: 29px;
  }

  .yb-right-video-slide-item-title+.yb-right-video-slide-item-description {
    margin-top: 16px;
  }
}

@media screen and (min-width: 1920px) {
  .yb-right-video-slide-container {
    margin-left: calc(50vw + 120px);
    width: 580px;
  }

  .yb-right-video-slide-title {
    padding-top: 120px;
    margin-bottom: 64px;
  }

  .yb-right-video-slide-item-video video,
  .yb-right-video-slide-item-video iframe,
  .yb-right-video-slide-item-video img {
    height: 360px;
    max-height: 360px;
  }

  .yb-right-video-slide-item-title {
    margin: 0px 24px;
    font-size: 28px;
    line-height: 34px;
  }

  .yb-right-video-slide-item-title+.yb-right-video-slide-item-description {
    margin-top: 11px;
  }

  .yb-right-video-slide-item-description {
    margin: 0 24px;
    font-size: 16px;
    line-height: 22px;
  }
}