@charset 'UTF-8';

/* 役員紹介コンテンツ内-sp
      ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
body .is-layout-flex {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 28px;
  margin: 0 0 80px;
}

body .page-outer__main .is-layout-flex:last-of-type {
  margin: 0;
}

body .is-layout-flex .wp-block-column-is-layout-flow:nth-of-type(1) {
  width: 100%;
}

body .is-layout-flex .wp-block-column-is-layout-flow:nth-of-type(2) {
  width: 100%;
}

.wp-block-column-is-layout-flow img {
  width: 100%;
  height: auto;
}

.wp-block-column-is-layout-flow p strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color03);
}

.wp-block-column-is-layout-flow p:has(strong) {
  margin: 0 0 16px;
}

.wp-block-heading {
  font-size: 20px;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--color03);
}

.wp-block-column-is-layout-flow p {
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

@media screen and (min-width: 577px) {
  /* 役員紹介コンテンツ内-tb
      ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
  body .is-layout-flex {
    row-gap: 56px;
    margin: 0 0 160px;
  }

  body .page-outer__main .is-layout-flex:last-of-type {
    margin: 0;
  }

  .wp-block-column-is-layout-flow p strong {
    font-size: 28px;
  }

  .wp-block-column-is-layout-flow p:has(strong) {
    margin: 0 0 32px;
  }

  .wp-block-heading {
    font-size: 40px;
    margin: 0 0 56px;
  }

  .wp-block-column-is-layout-flow p {
    font-size: 28px;
  }
}

@media screen and (min-width: 769px) {
  /* 役員紹介コンテンツ内-pc
      ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
  body .is-layout-flex {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    row-gap: 0px;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
    margin: 0 0 64px;
  }

  body .is-layout-flex .wp-block-column-is-layout-flow:nth-of-type(1) {
    width: calc(100% - 20px - 63%);
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
  }

  body .is-layout-flex .wp-block-column-is-layout-flow:nth-of-type(2) {
    width: calc(100% - 20px - 37%);
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
  }

  .wp-block-column-is-layout-flow p:has(strong) {
    margin: 0 0 24px;
  }

  .wp-block-column-is-layout-flow p strong {
    font-size: 18px;
  }

  .wp-block-heading {
    font-size: 24px;
    margin: 0 0 34px;
  }

  .wp-block-column-is-layout-flow p {
    font-size: 16px;
    line-height: 1.6;
  }
}
