.p-about {
  display: grid;
  gap: 30px;
}

.p-about__content {
  display: flex;
  gap: 38px;
  align-items: center;
  justify-content: center;
}

.p-about__message {
  display: grid;
  gap: 30px;
  font-size: 17px;
  font-weight: bold;
  line-height: 38px;
  text-align: center;
}

.p-about__line p {
  margin: 0;
}

@media (max-width: 1024px) {
  .p-about__content {
    gap: 24px;
  }

  .p-about__message {
    gap: 22px;
    font-size: 16px;
    line-height: 2;
  }

  .p-about__character {
    width: clamp(110px, 18vw, 170px);
    height: auto;
  }
}

@media (max-width: 767px) {
  .p-about {
    gap: 22px;
  }

  .p-about__content {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 8px 0;
    min-height: 210px;
  }

  .p-about__message {
    gap: 16px;
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
    max-width: 270px;
    position: relative;
    z-index: 2;
  }

  .p-about__character {
    position: absolute;
    top: 50%;
    height: auto;
    transform: translateY(-50%);
    z-index: 1;
  }

  .p-about__character--left {
    left: -36px;
  }

  .p-about__character--right {
    right: -36px;
  }
}
