#external-links {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
}

#external-links .external-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

#external-links .external-links-list li {
  display: block;
  text-align: center;
  border: 1px solid #ccc;           /* 枠線 */
  border-radius: 6px;               /* 角丸 */
  padding: 1rem;
  background-color: #fff;
  width: 180px;                     /* 幅を180pxに固定 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影で立体感 */
}

#external-links .external-links-list img {
  max-width: 100%;                 /* カード幅に合わせる */
  max-height: 80px;                /* 高さ制限 */
  object-fit: contain;
  margin-bottom: 0.5rem;
}

#external-links .external-links-list a {
  color: #0066cc;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

#external-links .external-links-list a:hover {
  text-decoration: underline;
}
