body {
    margin: 0;
    font-family: Orbitron, Arial;
}
h1, h2 , h3 {
  margin: 0%;
    font-weight: 200;
}
/* メニューバーの背景色と高さを設定 */
.topnav {
    height: min-content;
    width: min-content;
    overflow: hidden;
    position: fixed;
    width: 230px;
}
  
/* メニューアイテムのスタイルを設定 */
.topnav a {
  background-color: #333;
  width: 65%;
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 0px 40px 0px 40px;
  text-decoration: none;
  font-size: 120%;
  line-height: 50px;
  transition: all 0.3s ease-in-out; /* アニメーションの効果と時間を設定 */
}
  
/* メニューアイテムにマウスオーバーしたときのスタイルを設定 */
.topnav a:hover {
  background-color: #ddd;
  color: black;
  transform: scale(1.1); /* アイテムを少し大きくする */
}
  
/* アクティブなメニューアイテムのスタイルを設定 */
.topnav a.active {
  background-color: #00b170;
  color: white;
}
.header {
  background-image: url(../img/header.jpg);
  background-size: cover;
  color: #fff;
}
.header-inner h1 {
  border-bottom: 1px solid white;
  background-color: #00000065;
}
.header-inner {
  padding: 20% 0% 17% 20%;
  font-size: 150%;
}
.contents {
  display: flex;
}
.filter-buttons {
  height: 600px;
  background-color: #ffffff;
  width: 30%;
}
.filter-buttons button {
  font-family: Orbitron, Arial;
  padding: 15px 20px;
  margin-right: 10px;
  font-size: 90%;
  width: 100%;
  cursor: pointer;
  background-color: #f0f0f0;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #002880;
}
.filter-buttons button:hover {
  font-size: 90%;
  cursor: pointer;
  background-color: #007bff;
  color: #ffffff;
  border-bottom: 1px solid #002880;
}

.filter-buttons button.active {
  background-color: #002880;
  color: white;
}
.bar {
  background-color: #000000;
  padding: 0.5%;
}
.news-list {
  margin-left: 1%;
  height: 600px;
  overflow: scroll;
  width: 70%;
}
.news-item {
  padding: 25px 10px 15px 10px;
  border-bottom: 1px solid #ddd;
  font-size: 105%;
}
.news-item a {
  color: #000000;
  font-size: 90%;
  transition: all 0.3s ease-in-out;
}
.news-item a:hover {
  color: #2b2b2b93;
  transform: scale(1.05);
}
.news-item.hidden {
  display: none;
}
.category {
  font-weight: bold;
  color: #555;
}
.category0 {
    background-color: #009e9e;
    padding: 12px 21px;
    border-radius: 3px;
    color: #ffffff;
    font-size: 80%;
}
.category1 {
    background-color: #bb9f00;
    padding: 12px 21px;
    border-radius: 3px;
    color: #ffffff;
    font-size: 80%;
}
.category2 {
    background-color: #d10050;
    padding: 12px 21px;
    border-radius: 3px;
    color: #ffffff;
    font-size: 80%;
}
.category3 {
    background-color: #0c4a6e;
    padding: 12px 21px;
    border-radius: 3px;
    color: #ffffff;
    font-size: 80%;
}
.category4 {
    background-color: #ea580c;
    padding: 12px 21px;
    border-radius: 3px;
    color: #ffffff;
    font-size: 80%;
}
.fottar {
  background-color: #000000;
  color: #fff;
  padding: 1%;
  text-align: center;
}