.container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

form {
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-top: 10px;
}

form input,
form select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button[type="submit"] {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

/* テーブルのスタイル */
table {
  width: 100%;
  border-collapse: collapse; /* 枠線を一つにまとめる */
  margin-top: 20px;
}

th, td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ccc; /* 薄い灰色の枠線 */
}

th {
  background-color: #f8f8f8; /* テーブルヘッダーの背景色 */
}

tr:nth-child(even) {
  background-color: white; /* 偶数行の色を白に設定 */
}

tr:nth-child(odd) {
  background-color: white; /* 奇数行も白に設定 */
}

button {
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #0056b3;
}

/* リストスタイル */
ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  background-color: #f0f0f0;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
}

/* フォームとテーブルの幅を合わせるための調整 */
input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"],
button[type="button"] {
  width: 100%;
}

/* モーダルのスタイル */
.modal {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 背景を暗くする */
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#calendar {
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  overflow: hidden; /* スクロールバーを非表示に */
}
