.requrement-wrapper {
  display: flex;
  width: 100%;
  padding: 160px 0 72px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background: linear-gradient(
    161deg,
    #8c66ff 10.46%,
    #9360ff 29.16%,
    #8dfaca 73.33%
  );
  position: relative;
  overflow: hidden;
}

.requirements-text {
  width: 1440px;
}

.requrements-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 0; /* 基準層 */
}

.requrements-title-img {
  display: flex;
  width: 264.64px;
  height: 110px;
  padding: 26px 0 26.195px 0;
  justify-content: center;
  align-items: center;
}

.requrements-main-item-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 0;
}

.requrements-main-item-img {
  width: 337px;
  height: 308px;
  position: relative; /* stacking順を確定させる */
  z-index: 0;
}

.requrements-detail-wrapper {
  display: flex;
  width: 810px;
  height: 402px;
  padding: 42px 80px 42px 130px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 48px;
  background: var(--White, #fff);
  box-shadow: 8px 12px 0 0 #8b65ff;
  z-index: initial;
  position: relative;
}

.requrements-detail-sub-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 100;
}

.requrements-detail-item-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.requrements-detail-item-text {
  color: #1e285c;

  /* PC/H4/JP */
  font-family: "M PLUS 1p";
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.requrements-l-apple-img {
  position: absolute;
  left: -300px;
  top: -280px;
  width: 336.872px;
  height: 441.548px;
  flex-shrink: 0;
  z-index: -1;
}

.requrements-r-apple-img {
  position: absolute;
  right: -263px;
  bottom: -60px;
  width: 336.872px;
  height: 441.548px;
  flex-shrink: 0;
  z-index: -1;
}

.apple-img {
  width: 336.872px;
  height: 441.548px;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .requrement-wrapper {
    display: flex;
    width: 100%;
    padding: 40px 0 72px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: linear-gradient(
      161deg,
      #8c66ff 10.46%,
      #9360ff 29.16%,
      #8dfaca 73.33%
    );
    position: relative;
    overflow: hidden;
  }

  .requirements-text {
    width: 100%;
    max-width: 398px;
  }

  .requrements-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .requrements-title-img {
    display: flex;
    width: 264.64px;
    height: 110px;
    padding: 26px 0 26.195px 0;
    justify-content: center;
    align-items: center;
  }

  .requrements-main-item-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .requrements-main-item-wrapper > :nth-child(1),
  .requrements-main-item-wrapper > :nth-child(3) {
    margin-left: 90px;
  }
  .requrements-main-item-wrapper > :nth-child(2) {
    margin-right: 90px;
  }

  .requrements-main-item-img {
    width: 194px;
    height: 178px;
    z-index: 1;
  }

  .requrements-detail-wrapper {
    display: flex;
    width: auto;
    max-width: 343px;
    height: auto;
    padding: 32px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
    background: var(--White, #fff);
    box-shadow: 6px 8px 0 0 #8b65ff;
    z-index: initial;
    position: relative;
  }

  .requrements-detail-sub-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .requrements-detail-item-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .requrements-detail-item-text {
    color: #1e285c;

    /* PC/H4/JP */
    font-family: "M PLUS 1p";
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .requrements-detail-item-img {
    width: 16px;
    height: 16px;
  }

  .requrements-l-apple-img {
    position: absolute;
    left: -80px;
    top: -750px;
    width: 205.992px;
    height: 270px;
    flex-shrink: 0;
    z-index: -1;
  }

  .requrements-r-apple-img {
    position: absolute;
    right: -50px;
    bottom: 580px;
    width: 199.867px;
    height: 261.972px;
    flex-shrink: 0;
    z-index: -1;
  }

  .apple-img {
    width: 199.867px;
    height: 261.972px;
    flex-shrink: 0;
    position: absolute;
    z-index: -1;
  }
}
