.certified-section {
  margin: 1rem auto;
  padding: 1rem;
  max-width: 1000px;
}

.certified-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.certified-description {
  display: block;
  max-width: 450px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
}

.certified-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

/* 共通のスロットを用意 */
.certified-thumb {
  width: clamp(100px, 18vw, 160px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.certified-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--boost, 1));
  transition: transform 0.3s ease;
}

.certified-thumb img:hover {
  transform: scale(calc(var(--boost, 1) * 1.05));
}

/* ===== グッドギビング横バナー画像（ライト／ダーク共用） ===== */
.ggm-banner2 {
  margin: 2rem auto 0;
  width: 100%;          /* 親コンテナは横いっぱい */
  text-align: center;   /* 中の画像を中央寄せ */
}

.ggm-banner2 a {
  display: inline-block;  /* 画像サイズにフィットさせる */
}

/* ★画像は「原寸を上限」にして、狭い画面では縮小だけする */
.ggm-banner2-img {
  display: block;
  max-width: 100%;     /* 親より大きくならない */
  height: auto;        /* 縦横比を維持 */
  margin: 0 auto;      /* 中央配置 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .certified-description {
    font-size: clamp(0.7rem, 2.5vw, 1rem);
    max-width: 95%;
    line-height: 1.6;
  }

  .certified-list {
    gap: 2rem;
  }

  .certified-thumb {
    width: clamp(90px, 26vw, 160px);
  }

  /* バナーは width:100% のままでOK（自動で縮小） */
}
