<style>
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .img-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .img-row img {
    width: 100%;
    max-width: calc(50% - 10px); /* PCで横に2枚 */
    height: auto;
  }

  /* スマホでは縦並び */
  @media (max-width: 600px) {
    .img-row {
      flex-direction: column;
    }
    .img-row img {
      max-width: 100%;
    }
  }
  .text-image-box {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .text-image-box .text {
    flex: 1; /* テキスト部分が広がる */
    font-size: 16px;
    line-height: 1.6;
  }

  .text-image-box img {
    width: 250px; /* 好きなサイズに調整可能 */
    height: auto;
    flex-shrink: 0; /* 画像が押しつぶされない */
  }

  /* ▼ スマホでは縦並びに変更 */
  @media (max-width: 600px) {
    .text-image-box {
      flex-direction: column;
      align-items: flex-start;
    }
    .text-image-box img {
      width: 100%;
      max-width: 300px; /* お好みで調整 */
    }
  }
</style>