body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

h1 {
  text-align: center;
  color: #333;
  background-image: url("../images/background.jpg"); /* 背景画像を設定 */
  background-size: flex; /* 画像を要素のサイズに収める */
  background-position: center; /* 画像を中央に配置 */
  background-repeat: no-repeat; /* 画像を繰り返さない */
  padding: 20px; /* 見出しの内側に余白を追加 */
  border-radius: 8px; /* 角を丸くする */
  margin: 0 auto; /* 横方向の余白を追加 */
  width: 70%; /* 横方向の余白分を引いた幅を設定 */
}

h2 {
  text-align: center;
  color: #333;
}

h2 {
  font-family: "M PLUS 1p", sans-serif;
  text-align: center;
  color: #000000;
}

.form-container {
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-container input,
.form-container select,
.form-container button,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-container textarea {
  height: 150px; /* テキストエリアの高さを調整 */
  resize: vertical; /* ユーザーが高さを調整できるようにする */
}

.form-container button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.form-container button:hover {
  background-color: #0056b3;
}

.button-clear-filter {
  background-color: #656565;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.button-clear-filter:hover {
  background-color: #1c1c1c;
}

.button-toggle-data {
  background-color: #46d449;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.button-toggle-data:hover {
  background-color: #268528;
}

.table-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th,
table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

table th {
  background-color: #f4f4f4;
}

/* 削除ボタンのスタイル */
button.delete-entry-button {
  background-color: #dc3545; /* 赤色 */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

button.delete-entry-button:hover {
  background-color: #c82333; /* 濃い赤色 */
}

.link-container {
  text-align: center;
  margin: 20px 0;
}

.link-container a {
  color: #007bff;
  text-decoration: none;
}

.link-container a:hover {
  text-decoration: underline;
}
