@charset "UTF-8";
/* 烏帽子田先生 受賞・認定 / 取得資格・修了証明 グリッド
   賞状はスキャンの向き補正・白余白トリミング済み。object-fit: contain で中央配置。 */

/* 受賞・認定（トロフィー・認定盾） */
.staff02 .awards_block .bold {
  font-weight: bold;
}
.staff02 .awards_trophies {
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.staff02 .awards_trophies .trophy {
  margin: 0;
  text-align: center;
}
.staff02 .awards_trophies .trophy_img {
  aspect-ratio: 1 / 1;
  background: #faf8f4;
  border: 1px solid #e6e1d6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.staff02 .awards_trophies .trophy_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.staff02 .awards_trophies .trophy figcaption {
  font-size: 0.78rem;
  color: #7a7a7a;
  margin-top: 10px;
  line-height: 1.5;
}

/* 取得資格・修了証明（賞状グリッド） */
.staff02 .awards_grid {
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.staff02 .awards_grid .cert {
  margin: 0;
}
.staff02 .awards_grid .cert_img {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 1px solid #e6e1d6;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(40, 36, 30, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.staff02 .awards_grid .cert_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.staff02 .awards_grid .cert figcaption {
  font-size: 0.74rem;
  color: #7a7a7a;
  margin-top: 9px;
  line-height: 1.45;
}
.staff02 .awards_grid .cert figcaption .yr {
  display: inline-block;
  font-weight: bold;
  color: #9b8c6c;
  margin-right: 0.5em;
  font-variant-numeric: tabular-nums;
}

/* スマホ（max-width: 767px）は2列 */
@media screen and (max-width: 767px) {
  .staff02 .awards_trophies {
    gap: 12px;
  }
  .staff02 .awards_trophies .trophy figcaption {
    font-size: 1rem;
  }
  .staff02 .awards_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .staff02 .awards_grid .cert figcaption {
    font-size: 0.95rem;
  }
}
