/* =============================================
   FOUNDER PROFILES Section
   画像: absolute bottom:0 でボーダーに密着
   テキスト回り込み: 不可視 float + shape-outside
   ============================================= */

.founder-section {
  padding: 155px 0 0;
  overflow: hidden;
  border-bottom: 1px solid #000000;
}

.founder-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-side);
  position: relative;
  display: flow-root;
}

/* ---- 画像（絶対配置）: デスクトップでは非表示、タブレット/SPで使用 ---- */
.founder-section__image {
  display: none;
}

/* ---- 左カラム ---- */
.founder-section__left {
  width: 50%;
  position: relative;
  z-index: 2;
}

/* 左カラムの画像: 表示もシェイプも兼ねる */
.founder-section__shape-left {
  float: right;
  width: 41.04vw;
  height: auto;
  margin: -304px -20vw 0 20px;
  shape-outside: url('../../img/founder_profile.png');
  shape-image-threshold: 0.1;
  shape-margin: 10px;
}

/* ---- 右カラム ---- */
.founder-section__right {
  position: absolute;
  top: 75px;
  right: var(--spacing-side);
  width: 46%;
  z-index: 1;
}

/* 不可視 float: 右カラム回り込み */
.founder-section__shape-right {
  float: left;
  width: 41.04vw;
  height: auto;
  opacity: 0;
  margin: -100px 20px 0 -20vw;
  shape-outside: url('../../img/founder_profile.png');
  shape-image-threshold: 0.1;
  shape-margin: 10px;
}

.founder-section__name-en {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0.19em;
  color: var(--color-black);
}

.founder-section__profile-en {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-top: 16px;
}

.founder-section__name-ja {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.19em;
  color: var(--color-black);
  margin-top: 40px;
}

.founder-section__profile-ja {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-top: 24px;
}

/* ============ ワイドモニター: vwをpx固定（1440px基準） ============ */
@media (min-width: 1441px) {
  .founder-section__shape-left {
    width: 591px;
    margin: -304px -288px 0 20px;
  }

  .founder-section__shape-right {
    width: 591px;
    margin: -100px 20px 0 -288px;
  }

  .founder-section__right {
    width: 46%;
  }
}

/* ============ 中間幅（タブレット） ============ */
@media (max-width: 1200px) {
  .founder-section {
    padding-top: 80px;
  }

  .founder-section__inner {
    min-height: auto;
  }

  /* FOUNDER PROFILES を一行に */
  .founder-section__title-en br {
    display: none;
  }

  .founder-section__left {
    width: 68%;
  }

  .founder-section__shape-left {
    display: none;
  }

  .founder-section__name-ja {
    margin-top: 32px;
  }

  /* 画像: 右下に配置、ボーダーに密着 */
  .founder-section__image {
    display: block;
    position: absolute;
    bottom: 0;
    left: auto;
    right: -13vw;
    transform: none;
    z-index: 0;
    pointer-events: none;

    & img {
      width: 60vw;
      height: auto;
      display: block;
    }
  }

  /* 右カラム */
  .founder-section__right {
    position: static;
    width: 55%;
    margin-top: 40px;
  }

  .founder-section__shape-right {
    display: none;
  }
}

/* ============ スマホ ============ */
@media (max-width: 768px) {
  .founder-section {
    padding-top: 60px;
  }

  .founder-section__inner {
    min-height: auto;
  }

  .founder-section__left {
    width: 100%;
  }

  .founder-section__image {
    display: flex;
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 24px;

    & img {
      width: 80%;
      max-width: 320px;
      height: auto;
    }
  }

  .founder-section__right {
    position: static;
    width: 100%;
    margin-top: 32px;
  }

  .founder-section__shape-left,
  .founder-section__shape-right {
    display: none;
  }

  .founder-section__name-ja {
    font-size: 28px;
    margin-top: 24px;
  }

  .founder-section__name-en {
    font-size: 22px;
  }

  /* FOUNDER PROFILES が画面幅に収まるよう縮小 */
  .founder-section__title-en {
    font-size: clamp(28px, 9vw, 40px);
    word-break: keep-all;
  }
}
