.page-about {
  .page-about__philosophy {
    padding: clamp(4rem, 3.648rem + 1.5vw, 5rem)
      clamp(1.5rem, 0.268rem + 5.26vw, 5rem);

    .page-about__inner {
      width: 100%;
      max-width: 80rem;
      margin-inline: auto;
    }

    .page-about__philosophy__figure {
      margin-top: clamp(2.5rem, 2.324rem + 0.75vw, 3rem);
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      column-gap: 1rem;
      row-gap: 0.5rem;
      place-items: center;
      width: fit-content;
      max-width: 100%;
      margin-inline: auto;
      justify-content: center;
    }

    .page-about__philosophy__figure__item--2 {
      order: -1;
      grid-column: 1 / span 2;
    }

    .page-about__philosophy__figure__item {
      position: relative;
      width: clamp(9.375rem, 6.954rem + 10.33vw, 16.25rem);
      height: auto;
      aspect-ratio: 1;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      p {
        position: absolute;
        inset: 0;
        text-align: center;
        align-self: center;
        font-size: clamp(1rem, 0.912rem + 0.38vw, 1.25rem);
        font-weight: 500;
        line-height: 1.3;
        padding: 1em;
      }
    }

    .page-about__philosophy__figure__item__cross-icon {
      display: none;
      position: relative;
      width: 16px;

      &::before,
      &::after {
        position: absolute;
        transform-origin: center;
        content: '';
        display: block;
        width: 16px;
        height: 1px;
        background-color: var(--primary);
        border-radius: 1px;
      }

      &::before {
        rotate: 45deg;
      }

      &::after {
        rotate: -45deg;
      }
    }

    @media (min-width: 768px) {
      .page-about__philosophy__figure {
        grid-template-columns: 1fr auto 1fr auto 1fr;
      }

      .page-about__philosophy__figure__item__cross-icon {
        display: block;
      }

      .page-about__philosophy__figure__item--2 {
        order: 0;
        grid-column: 3 / span 1;
      }
    }

    h3 {
      text-align: center;
      font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
      font-weight: bold;
      margin-top: clamp(2rem, 1.648rem + 1.5vw, 3rem);
    }

    .page-about__philosophy__text {
      margin-top: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
      font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
      line-height: 1.8;

      @media (min-width: 580px) {
        text-align: center;
      }
    }
  }

  .page-about__thoughts {
    padding: clamp(4rem, 3.648rem + 1.5vw, 5rem)
      clamp(1.5rem, 0.268rem + 5.26vw, 5rem);
    background-color: var(--secondary);

    @media (min-width: 768px) {
      padding-left: clamp(1.5rem, -0.613rem + 9.01vw, 7.5rem);
      padding-right: clamp(1.5rem, -1.493rem + 12.77vw, 10rem);
    }

    .page-about__thoughts__inner {
      width: 100%;
      max-width: calc(1160 / 16 * 1rem);
      margin-inline: auto;
    }

    img {
      width: 90%;
      max-width: 406px;
      margin-inline: auto;
      display: block;
      height: auto;
    }

    p {
      line-height: 1.8;
    }

    @media (max-width: 768px) {
      img {
        margin-top: clamp(2.5rem, 2.324rem + 0.75vw, 3rem);
      }

      p {
        margin-top: clamp(2rem, 0.944rem + 4.51vw, 5rem);
      }
    }

    @media (min-width: 768px) {
      .page-about__thoughts__inner {
        display: grid;
        grid-template-columns: 1fr max(1fr, 35%);
        row-gap: clamp(2.5rem, 2.324rem + 0.75vw, 3rem);
        column-gap: clamp(2rem, 0.944rem + 4.51vw, 5rem);
      }

      picture {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
      }

      .c-section-title {
        align-self: end;
      }

      p {
        grid-column: 1;
        grid-row: 2;
      }
    }
  }

  .page-about__company-message {
    padding: clamp(4rem, 3.648rem + 1.5vw, 5rem)
      clamp(1.5rem, 0.268rem + 5.26vw, 5rem);

    .page-about__company-message__inner {
      width: 100%;
      max-width: 80rem;
      margin-inline: auto;
      display: grid;
      gap: clamp(2rem, 1.56rem + 1.88vw, 3.25rem);

      @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;

        .page-about__company-message__images {
          order: -1;
        }
      }
    }

    .page-about__company-message__content {
      h2 {
        font-size: clamp(1.25rem, 0.986rem + 1.13vw, 2rem);
        font-weight: bold;
        color: var(--foreground-enhanced);
      }

      p {
        margin-top: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
        font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
        line-height: 1.8;
      }
    }

    .page-about__company-message__images {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: clamp(0.25rem, 0.162rem + 0.38vw, 0.5rem);

      img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
        display: block;
      }

      .page-about__company-message__images__item--2,
      .page-about__company-message__images__item--3 {
        width: 69.18032787%;
        aspect-ratio: 211 / 245;
      }

      .page-about__company-message__images__item--2 {
        place-self: end start;
      }

      .page-about__company-message__images__item--3 {
        place-self: start end;
      }
    }
  }

  .page-about__company-info {
    padding: clamp(4rem, 3.648rem + 1.5vw, 5rem)
      clamp(1.5rem, 0.268rem + 5.26vw, 5rem);
    background-color: var(--secondary);

    .page-about__company-info__inner {
      width: 100%;
      max-width: calc(960 / 16 * 1rem);
      margin-inline: auto;
    }

    .page-about__company-info__content {
      margin-top: clamp(2.5rem, 2.324rem + 0.75vw, 3rem);
      border-top: 1px solid #cfddf1;

      @media (min-width: 768px) {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
      }
    }

    .page-about__company-info__content__item {
      padding: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
      border-bottom: 1px solid #cfddf1;
      display: grid;
      gap: calc(16 / 16 * 1rem);

      @media (min-width: 768px) {
        grid-column: 1 / -1;
        grid-template-columns: subgrid;
        align-items: baseline;
      }

      &:nth-child(even) {
        background-color: var(--background);
      }
    }

    .page-about__company-info__content__item__title {
      font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
      font-weight: bold;
      line-height: 1.2;
      min-width: 10em;
    }

    .page-about__company-info__content__item__value {
      font-size: calc(14 / 16 * 1rem);
      line-height: 1.8;

      a {
        text-decoration: underline;
      }
    }
  }
}
