.p-slider {
  position: relative;
}
.p-slider-content {
  width: 100%;
  height: 100%;
  background: #000;
  color: rgba(0, 0, 0, 0);
}
.p-slider-content_item {
  width: 100vw;
}
.p-slider-content__img {
  width: 100%;
  object-fit: cover;
}
.p-slider-content__item {
  position: relative;
  width: 100vw;
}
@media screen and (max-width: 780px) {
  .p-slider-content__item {
    height: 100vw !important;
  }
}
.p-slider-content__item > iframe,
.p-slider-content__item > img {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 780px) {
  .p-slider-content__item.slick-current > iframe {
    transform: scale(2);
    transform-origin: right bottom;
  }
}
.p-slider-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  list-style: none;
}
.p-slider-nav__button {
  position: relative;
  width: 100px;
  height: 25px;
  margin-inline: 20px;
  cursor: pointer;
  overflow: hidden;
}
@media screen and (max-width: 780px) {
  .p-slider-nav__button {
    margin-inline: 10px;
  }
}
.p-slider-nav__button::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.p-slider-nav__button.current .p-slider-nav__indicator {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}
#js-hero-slider-input {
  display: none;
}
