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

#notice .notice-table > ul {
  padding-left: 0;
  margin-left: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none; /* 必要なら */
}

#notice .notice-table {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  background-color: #fdfdfd;
  border-radius: 8px;
  overflow: hidden;
  max-height: 300px;      /* 高さを制限 */
  overflow-y: auto;       /* 縦スクロールバーを自動で表示 */
}

#notice .notice-table li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #ddd;
  background-color: #fdfdfd;
}

#notice .notice-table li:last-child {
  border-bottom: none;
}

#notice .notice-table time {
  flex-shrink: 0;
  width: 120px;
  color: #555;
  font-size: 0.9rem;
  margin-right: 1rem;
}

#notice .notice-table a {
  color: #0066cc;
  text-decoration: none;
}

#notice .notice-table a:hover {
  text-decoration: underline;
}
