.talent-pool__voice-title {
  margin-bottom: 24px;
  & h2 {
    font-size: 24px;
  }
}

.talent-pool__graph {
  display: flex;
  flex-direction: column;
  gap: 46px;
  justify-content: center;
  margin: 0;
  padding: 0;
  align-items: center;
}

.talent-pool__graph-item {
  list-style: none;
  width: 100%;
}

.talent-pool__graph-item:nth-of-type(2) img {
  margin-right: -11px;
}

.talent-pool__graph-item:nth-of-type(3) img {
  margin-left: 0;
}

.talent-pool__graph-item {
  flex: 1; /* 均等な幅 */
  height: 30vw; /* 固定の高さ */
  max-height: 400px; /* 最大高さ */
  text-align: center;
}

.talent-pool__graph-item img {
  object-fit: cover; /* 画像をトリミングしてボックスに収める */
  object-position: center; /* トリミング位置 */
  overflow: visible;
  max-width: 100%;
}

.talent-pool__note {
  text-align: right;
  margin: 40px 0 30px 0;
  font-size: 12px;
}

.talent-pool {

  & .customer-voice__header {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    flex-direction: column;
  }

  & .customer-voice__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  & .customer-voice__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  & .customer-voice__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  & .customer-voice__name {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
  }

  & .customer-voice__age {
    font-size: 16px;
    margin: 0;
  }

  & .customer-voice__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  & .customer-voice__quote {
    font-size: 16px;
    line-height: 1.5;
  }

  & .customer-voice__card {
    background-color: var(--background-color-secondary);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (width >= 1200px) {
  .talent-pool {
    & .column-title {
      margin-bottom: 54px;
    }

    .talent-pool__voice-title {
      margin-bottom: 40px;

      & h2 {
        font-size: 32px;
      }
    }

    & .talent-pool__note {
      margin-top: 50px;
    }

    & .customer-voice__card {
      min-width: 462px;
      padding: 16px 24px;
    }

    & .customer-voice__icon {
      width: 64px;
      height: 64px;
    }

    & .customer-voice__header {
      gap: 16px;
      flex-direction: row;
    }

    & .customer-voice__name {
      font-size: 24px;
    }

    & .customer-voice__age {
      font-size: 18px;
    }

    & .customer-voice__price {
      flex-direction: row;
    }

    & .customer-voice__quote {
      font-size: 18px;
    }

    & .talent-pool__graph {
      flex-direction: row;
      gap: 50px;
    }

    .talent-pool__graph-item:nth-of-type(3) img {
      margin-left: -30px;
    }

    & .talent-pool__graph-item {
      position: relative;

      &:not(:last-child)::after {
        content: '';
        display: block;
        width: 1px;
        height: 100%;
        background-color: var(--color-grey-500);
        position: absolute;
        right: -20px;
        top: 0;
      }
    }
  }
}
