/* section-subtitle
================================================ */
.section-subtitle {
  position: relative;
  width: fit-content;
  padding: 20px 0 20px 40px;
  transform: translateX(-100%);
  opacity: 0;
}

.section-subtitle-text {
  position: relative;
  z-index: 2;
  font-size: 35px;
  color: #fff;
  font-weight: 600;
}

.section-subtitle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #152a6d;
}

.section-subtitle-bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: -110px;
  width: 80px;
  height: 100%;
  background-color: #152a6d;
  transform: skewX(-40deg) translateX(-100%);
  z-index: 1;
}

.section-subtitle-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 30px;
  height: 100%;
  background-color: #152a6d;
  transform: skewX(-40deg) translateX(-100%);
  z-index: 1;
}

/* SP
================================================ */
@media screen and (width <= 750px) {
  .section-subtitle {
    padding: calc(12 / 375 * 100vw) 0 calc(12 / 375 * 100vw) calc(20 / 375 * 100vw);
  }

  .section-subtitle-text {
    font-size: calc(18 / 375 * 100vw);
  }

  .section-subtitle-bg::before {
    right: calc(-135 / 375 * 100vw);
    width: calc(90 / 375 * 100vw);
  }

  .section-subtitle-bg::after {
    right: calc(-90 / 375 * 100vw);
    width: calc(20 / 375 * 100vw);
  }
}
