.p-mv,
.p-mv__container {
  position: relative;
}

.p-mv__container {
  padding: 20px 15px 6px;
}

.p-mv__bg,
.p-mv__container::before {
  position: absolute;
  background-image: linear-gradient(to right, #d03e92 0, #e78267 100%);
}

.p-mv__container::before {
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  margin-left: 6px;
  content: "";
  opacity: 0.5;
  transform: translateX(-50%);
}

.p-mv__container::after,
.p-staff__header::before {
  position: absolute;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
}

.p-mv__container::after {
  bottom: calc(-16 / 750 * 100%);
  left: 0;
  z-index: 0;
  width: calc(171 / 750 * 100%);
  padding-top: calc(306 / 750 * 100%);
  background-image: url(/recruit/assets/images/pages/b-work/index/mv_dot.png);
}

.p-mv__bg {
  bottom: calc(110 / 584 * 100%);
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  transform: skewY(-5deg);
  transform-origin: bottom left;
}

.p-mv__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 22px 0 0;
  background-color: #fff;
}

.p-mv__header {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 0 20px;
}

.p-mv__heading {
  flex-shrink: 0;
}

.p-mv__subheading {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-mv__img {
  margin-top: 20px;
}

.p-staff__container {
  padding: 33px 15px 50px;
}

.p-staff__header {
  position: relative;
  padding-top: 17px;
  text-align: center;
}

.p-staff__header::before {
  top: 0;
  left: 50%;
  z-index: -1;
  width: calc(439 / 690 * 100%);
  padding-top: calc(245 / 690 * 100%);
  background-image: url(/recruit/assets/images/pages/b-work/index/staff_header_bg.svg);
  transform: translateX(-50%);
}

.p-staff__header.effect-header[data-observe]::before {
  transform: translateX(-50%) scale(0.3);
}

.p-staff__header.effect-header[data-observe].animated::before {
  transform: translateX(-50%) scale(1);
}

.p-staff__group::before,
.p-staff__header::after {
  content: "";
  background-image: linear-gradient(to right, #d03e92 0, #e78267 100%);
}

.p-staff__header::after {
  display: block;
  width: calc(71 / 690 * 100%);
  height: 3px;
  margin: 13px auto 0;
}

.p-staff__heading,
.p-staff__subheading {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.p-staff__heading img {
  width: calc(303 / 690 * 100%);
}

.p-staff__subheading {
  margin-top: 11px;
}

.p-staff__subheading img {
  width: calc(285 / 690 * 100%);
}

.p-staff__items {
  position: relative;
  z-index: 1;
  padding: 0 15px;
  margin-top: 25px;
}

.p-staff__item {
  padding-bottom: 3px;
}

.p-staff__item-img,
.p-staff__item-img img {
  width: 100%;
}

.p-staff__item-content {
  position: relative;
  z-index: 1;
  width: calc(570 / 630 * 100%);
  margin: calc(-30 / 630 * 100%) auto 0;
  text-align: center;
}

.p-staff__group {
  position: relative;
  display: block;
  padding: 20px 0;
  background-color: #fff;
}

.p-staff__group::before {
  position: absolute;
  right: -3px;
  bottom: -3px;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.p-staff__item-heading {
  position: relative;
  display: inline-block;
  padding-right: 3px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #9b2766;
  letter-spacing: 0.04em;
}

.p-staff__item-heading svg {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 14.5px;
  height: 6px;
  margin-top: -2px;
  color: #9b2766;
  transform: translateY(-50%);
}

.p-staff__item-text {
  margin-top: 6px;
  font-size: 1.3rem;
  line-height: 1.84615;
  letter-spacing: 0.04em;
}

.p-staff__item:last-child .p-staff__item-heading {
  letter-spacing: 0;
}

.p-staff__header.effect-header .p-staff__heading,
.p-staff__header.effect-header .p-staff__subheading {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53),
    transform 0.85s cubic-bezier(0.17, 1.465, 0.415, 0.96);
  transform: translateY(40px);
}

.p-staff__header.effect-header .p-staff__heading {
  transition-delay: 0.1s;
}

.p-staff__header.effect-header .p-staff__subheading {
  transition-delay: 0.2s;
}

.p-staff__header.effect-header.animated .p-staff__heading,
.p-staff__header.effect-header.animated .p-staff__subheading {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 48em) {
  .p-mv__container {
    width: 1080px;
    padding: 40px 0 12px;
    margin: 0 auto;
  }

  .p-mv__container::before {
    width: 100%;
    height: calc(100% - 44px);
    margin-left: 12px;
  }

  .p-mv__container::after {
    bottom: -161px;
    left: -187px;
    z-index: 1;
    width: 302px;
    height: 312px;
    padding: 0;
    background-image: url(/recruit/assets/images/pages/b-work/index/mv_dot_md.png);
  }

  .p-mv__bg {
    top: auto;
    bottom: 28px;
    left: 50%;
    width: 100vw;
    min-width: 1080px;
    height: calc(452 / 1400 * 100vw);
    min-height: 410px;
    transform: translateX(-50%) skewY(-2deg);
  }

  .p-mv__content {
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .p-mv__header {
    display: block;
    padding: 11px 0 0 53px;
  }

  /* 2025対応文字一列のため、サイズ修正 */
  .p-mv__subheading {
    margin-top: 24px;
    font-size: 2.6rem;
    /* font-size: 2.4rem; */
  }

  .p-mv__img {
    flex-shrink: 0;
    width: 640px;
    margin-top: 0;
  }

  .p-staff__container {
    width: 1080px;
    padding: 38px 0 100px;
    margin: 0 auto;
  }

  .p-staff__header {
    padding-top: 62px;
  }

  .p-staff__header::before {
    width: 404px;
    height: 224px;
    padding-top: 0;
  }

  .p-staff__header::after {
    width: 71px;
    margin-top: 17px;
  }

  .p-staff__heading img {
    width: 338px;
  }

  .p-staff__subheading {
    margin-top: 16px;
  }

  .p-staff__subheading img {
    width: 320px;
    height: 19px;
  }

  .p-staff__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 40px;
    margin-top: 50px;
  }

  .p-staff__item {
    display: flex;
    width: 480px;
    padding-bottom: 5px;
  }

  .p-staff__item a {
    display: flex;
    flex-flow: column;
    width: 100%;
  }

  .p-staff__item:nth-of-type(n + 3) {
    margin-top: 80px;
  }

  .p-staff__item-img {
    flex-shrink: 0;
    overflow: hidden;
  }

  .p-staff__item-img img {
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .p-staff__item-content {
    width: 440px;
    height: 100%;
    margin-top: -30px;
  }

  .p-staff__group {
    height: 100%;
    padding: 24px 0 20px;
  }

  .p-staff__group::before {
    right: -5px;
    bottom: -5px;
    transition: 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-property: right, bottom;
  }

  .p-staff__item-heading,
  .p-staff__item-text {
    transition: opacity 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .p-staff__item-heading {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .p-staff__item-heading svg {
    right: -20px;
    width: 14px;
    height: 5px;
    margin-top: 0;
    transition: margin-right 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .p-staff__item-text {
    margin-top: 10px;
    font-size: 1.6rem;
    line-height: 1.875;
  }

  .p-staff__item a:hover .p-staff__item-img img {
    transform: scale(1.1);
  }

  .p-staff__item a:hover .p-staff__item-heading,
  .p-staff__item a:hover .p-staff__item-text {
    opacity: 0.65;
  }

  .p-staff__item a:hover .p-staff__item-heading svg {
    margin-right: -3px;
  }

  .p-staff__item a:hover .p-staff__group::before {
    right: -1px;
    bottom: -1px;
  }

  .p-staff__header.effect-header .p-staff__heading,
  .p-staff__header.effect-header .p-staff__subheading {
    transform: translateY(70px);
  }
}

@media (max-width: 47.99em) {
  .p-mv__heading {
    width: 126px;
  }

  .p-mv__subheading {
    margin-left: 17px;
    letter-spacing: 0.04em;
    font-feature-settings: "palt";
  }

  .p-staff__item+.p-staff__item {
    margin-top: 40px;
  }
}