@charset "UTF-8";
/* CSS Document */

@media screen and (min-width: 320px) {
  /* スマホ用レイアウト 320px以上の範囲に収めるデザインはこの中に記述 */
  /*==============================================================
    　　にじいろの療育と活動
  ==============================================================*/
  .support-activities__title {
    font-size: 24px;
    color: var(--color-text-sub);
    text-align: center;
    letter-spacing: 0.03em;
    font-weight: 450;
    margin-bottom: 40px;
  }

  .chart-img {
    width: 100%;
    height: auto;
    margin-bottom: 48px;
  }

  .lead {
    font-size: 16px;
    line-height: 2.25;
    letter-spacing: 0.03em;
    font-weight: 400;
  }

  .image-box {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    row-gap: 32px;
    padding: 32px 0 0;
  }

  .image-item {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 300 / 208;
  }

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

  /* 画像表示位置 */
  .image-item.item-02 img {
    object-position: 40% 50%;
    filter: brightness(1.14);
  }

  .image-item.item-03 img {
    object-position: 0% 100%;
  }

  .image-item.item-04 img {
    object-position: 68% 50%;
  }


}

@media screen and (min-width: 640px) {
  /* タブレット用レイアウト 640px以上の範囲に収めるデザインはこの中に記述 */
  /*==============================================================
    　　TB_にじいろの療育と活動
  ==============================================================*/
  .support-activities__title {
    font-size: 37px;
    margin-bottom: 46px;
    line-height: 1.6;
    white-space: nowrap;
  }

  .chart-img {
    padding: 20px 45px 20px 65px;
  }

  .image-item {
    border-radius: 30px;
  }

  .image-box {
    padding: 60px 0 0;
  }

  /* 画像表示位置 */
  .image-item.item-04 img {
    object-position: 70% 50%;
  }

}

@media screen and (min-width: 1024px) {
  /* パソコン用レイアウト 1024px以上の範囲に収めるデザインはこの中に記述 */
  /*==============================================================
    　　PC_にじいろの療育と活動
  ==============================================================*/
  .support-activities__title {
    font-size: 40px;
  }

  .lead-box {
    display: grid;
    grid-template-columns: 1fr 51.34%;
    column-gap: 48px;
    padding-top: 28px;
  }

  .chart-img {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 20px;
  }

  .image-box {
    padding: 64px 0 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 36px;
  }

  /* 画像表示位置 */
  .image-item.item-04 img {
    object-position: 80% 50%;
  }


}

@media screen and (min-width: 1400px) {
  /* PC全画面用レイアウト 1400px以上の範囲に収めるデザインはこの中に記述 */
  /*==============================================================
    　　PC-gib_にじいろの療育と活動
  ==============================================================*/


}