/**
 * ACF Block: プロフィール
 */

.acf-block-profile {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 4.75rem;
  margin-bottom: 2.25rem;

  @media screen and (max-width: 540px) {
    display: block;
  }
}

.acf-block-profile__image {
  flex-shrink: 0;
  width: 9.38rem;
  height: 9.38rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;

  @media screen and (max-width: 540px) {
    width: 7.5rem;
    height: 7.5rem;
  }

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

.acf-block-profile__image img {
  width: 100% !important;
  height: auto;
  display: block;
}

.acf-block-profile__content {
  flex: 1;

  @media screen and (max-width: 540px) {
    margin-top: -7.5rem;
  }
}

.acf-block-profile__position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: var(--green-900, #006E09);
  font-family: "Zen Maru Gothic";
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  border-radius: 3.125rem;
  background: var(--graygreen-200, #EBEFE7);
  position: relative;
  margin-bottom: 0.5rem;

  @media screen and (max-width: 540px) {
    margin-left: 8.25rem;
  }

  &::after {
    content: "";
    width: 0.44rem;
    height: 0.44rem;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background-color: #EBEFE7;
    position: absolute;
    bottom: -0.44rem;
    left: 1rem;
  }
}

.acf-block-profile__name {
  color: var(--black-700, #333);
  font-family: "Zen Maru Gothic";
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  /* 1.575rem */
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;

  @media screen and (max-width: 540px) {
    margin-left: 8.25rem;
  }
}

.acf-block-profile__kana {
  color: var(--black-700, #333);
  font-family: Roboto;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  /* 1.225rem */
}

.acf-block-profile__text {
  line-height: 1.8;

  @media screen and (max-width: 540px) {
    margin-top: 4.5rem;
    font-size: 0.875rem;
  }
}