/* p-change
---------------------------------------------------------------------------- */
.p-change {
  padding-block: 8rem 10rem;
}

.p-change-lead {
  font-size: 1.6rem;
  line-height: 1.8125;
  letter-spacing: 0.06em;
  font-weight: 400;
  text-align: center;
  margin-block: 2.6rem 7.45rem;
}

.p-change-box {
  counter-reset: num;
  padding-block: 7rem 6rem;
  padding-inline: 7rem 6rem;
  background-color: #EAF0FD;
  position: relative;
}

.p-change-box-speechBubble-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
}

.p-change-box-speechBubble {
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  width: 75.2rem;
  padding-block: 1.4rem;
  background: linear-gradient(135deg, rgb(69, 97, 165) 0%, rgb(7, 49, 144) 100%);
  border-radius: 10vmax;
  position: relative;
}

.p-change-box-speechBubble::before {
  content: "";
  width: 100%;
  height: 1.1rem;
  background: linear-gradient(135deg, rgb(69, 97, 165) 0%, rgb(7, 49, 144) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  translate: 0 100%;
  clip-path: polygon(48.0053191489% 0, 51.9946808511% 0, 50% 100%);
}

.p-change-box-list:not(:last-of-type) {
  margin-bottom: 3rem;
  padding-bottom: 2.7rem;
  background-size: 1.2rem 0.1rem;
  background-image: linear-gradient(to right, #BEBEBE 0.6rem, transparent 0.6rem);
  background-position: left bottom;
  background-repeat: repeat-x;
}

.p-change-box-list:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.p-change-box-term {
  display: flex;
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.p-change-box-term em {
  color: var(--col-main);
}

.p-change-box-term-img {
  width: 3.2rem;
  aspect-ratio: 32/41;
  margin-right: 1rem;
  position: relative;
}

.p-change-box-term-img::before {
  counter-increment: num 1;
  content: "0" counter(num);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  width: max-content;
  font-family: "Roboto";
  color: var(--col-main);
  position: absolute;
  top: 0.83rem;
  left: 50%;
  translate: -50%;
}

.p-change-box-term-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-change-box-desc {
  font-size: 1.6rem;
  line-height: 1.8125;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.p-change-box-desc-inner {
  display: flex;
  justify-content: center;
  gap: 0 4rem;
  margin-top: 4rem;
}

.p-change-box-desc-img:nth-of-type(1) {
  width: 54rem;
  aspect-ratio: 540/360;
}

.p-change-box-desc-img:nth-of-type(2) {
  width: 24rem;
  aspect-ratio: 240/360;
}

.p-change-box-desc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media screen and (max-width: 767px) {
  .p-change {
    padding-block: 13.3333333333vw;
  }
  .p-change-lead {
    font-size: 4.2666666667vw;
    margin-block: 8vw 22.4vw;
  }
  .p-change-box {
    padding-block: 20vw 8vw;
    padding-inline: 5.3333333333vw;
  }
  .p-change-box-speechBubble-wrap {
    translate: -50% -56%;
  }
  .p-change-box-speechBubble {
    font-size: 5.3333333333vw;
    line-height: 1.3;
    width: 78.9333333333vw;
    padding-block: 3.0666666667vw;
  }
  .p-change-box-speechBubble::before {
    height: 2.9333333333vw;
    clip-path: polygon(44.9324324324% 0, 55.0675675676% 0, 50% 100%);
  }
  .p-change-box-list:not(:last-of-type) {
    margin-bottom: 5.3333333333vw;
    padding-bottom: 4.8vw;
    background-size: 3.2vw 0.2666666667vw;
    background-image: linear-gradient(to right, #BEBEBE 1.6vw, transparent 1.6vw);
  }
  .p-change-box-term {
    display: flex;
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 3.2vw;
  }
  .p-change-box-term-img {
    width: 8.5333333333vw;
    aspect-ratio: 32/41;
    margin-right: 2.6666666667vw;
  }
  .p-change-box-term-img::before {
    font-size: 4.8vw;
    top: 4.2666666667vw;
  }
  .p-change-box-desc {
    font-size: 4.2666666667vw;
  }
  .p-change-box-desc-inner {
    gap: 0 4vw;
    margin-top: 4.2666666667vw;
  }
  .p-change-box-desc-img:nth-of-type(1) {
    width: 51.7333333333vw;
    aspect-ratio: 194/130;
  }
  .p-change-box-desc-img:nth-of-type(2) {
    width: 22.9333333333vw;
    aspect-ratio: 86/130;
  }
}
