/* ------------------------------
  企業理念ページ
------------------------------*/
.a-philosophy__wrapper {
  padding-block: 30px 50px;
  overflow: hidden;
}

.a-philosophy__inner {
  display: grid;
  row-gap: 50px;
}

.a-philosophy__heading-wrapper {
  display: flex;
  column-gap: 20px;
}

.a-philosophy__heading {
  flex-shrink: 0;
}

.a-philosophy__heading .a-heading01__ja {
  font-size: 22px;
}

.a-philosophy__image {
  margin-right: calc(50% - 50vw);
}

.a-philosophy__image img {
  height: auto;
}

.a-philosophy__image.pc-only {
  display: none;
}

.a-philosophy__content {
  margin-top: 20px;
}

.a-philosophy__list {
  display: grid;
  row-gap: 20px;
  margin-top: 36px;
}

.a-philosophy__list-item {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.a-philosophy__number {
  color: var(--color-border);
  font-family: Helvetica, sans-serif;
  font-size: 86px;
  font-weight: 500;
  line-height: 1;
}

.a-philosophy__list-content > h3 {
  font-size: 19px;
}

.a-philosophy__text {
  margin-top: 6px;
}

.a-philosophy__message-photo {
  float: right;
  width: 140px;
  margin: -65px 0 0 16px;
  shape-outside: circle(50% at 50% 50%);
  -webkit-shape-outside: circle(50% at 50% 50%);
  shape-margin: 16px;
  -webkit-shape-margin: 16px;
}

.a-philosophy__message-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.a-philosophy__message-photo.pc-only {
  display: none;
}

.a-philosophy__message-body {
  margin-top: 20px;
}

.a-philosophy__message-text {
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}

.a-philosophy__message-name {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap: 10px;
}

.a-philosophy__message-name img {
  width: 92px;
}

@media (min-width: 1024px) {
  .a-philosophy__wrapper {
    padding-block: 100px;
  }

  .a-philosophy__box {
    display: grid;
    grid-template-columns: 180px 44% auto;
    column-gap: 50px;
    margin-right: calc(48% - 50vw);
  }

  .a-philosophy__heading-wrapper {
    display: grid;
    flex-shrink: 0;
  }

  .a-philosophy__heading {
    align-self: baseline;
  }

  .a-philosophy__heading .a-heading01__ja {
    font-size: 24px;
  }

  .a-philosophy__sub-heading {
    font-size: 24px;
  }

  .a-philosophy__sub-heading .br-sp-only {
    display: none;
  }

  .a-philosophy__image {
    margin-left: auto;
    margin-right: initial;
  }

  .a-philosophy__image.pc-only {
    display: block;
  }

  .a-philosophy__image.sp-only {
    display: none;
  }

  .a-philosophy__list {
    margin-top: 18px;
  }

  .a-philosophy__message {
    display: grid;
    grid-template-columns: 180px auto;
    column-gap: 50px;
  }

  .a-philosophy__message-photo {
    float: none;
    max-width: 225px;
    width: 100%;
    margin: 20px 0 1rem 0;
    shape-margin: 10px;
    -webkit-shape-margin: 10px;
  }

  .a-philosophy__message-photo.sp-only {
    display: none;
  }

  .a-philosophy__message-photo.pc-only {
    display: block;
  }

  .a-philosophy__message-body {
    margin-top: 26px;
  }

  .a-philosophy__message-name {
    margin-top: 48px;
  }

  .a-philosophy__message-name img {
    width: 105px;
  }

  .a-philosophy__message-text {
    letter-spacing: 0;
  }
}

@media screen and (min-width: 1440px) {
  .a-philosophy__box {
    grid-template-columns: 230px 44% auto;
  }

  .a-philosophy__heading .a-heading01__ja {
    font-size: 32px;
  }

  .a-philosophy__sub-heading {
    font-size: 32px;
  }

  .a-philosophy__message {
    grid-template-columns: 230px auto;
  }
}
