#title{
  display: flex;
  align-items: center;
  gap: 20px;
}

table {
  border-collapse: collapse; 
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  width: 100%;
  table-layout: fixed;
}

caption {
  padding: 10px;
  font-weight: bold;
  text-align: left;
}

tr{
  font-size: 16px;
}

th{
  border-right: 2px solid rgb(140 140 140);
  border-bottom: 2px solid rgb(140 140 140);
  text-align: left;
  padding-left: 15px;
  background-color: #e3e3e3;
}

table td{
  border: 2px solid rgb(140 140 140);
  padding: 10px 15px;
}

/* ポップアップ表示の設定 */
#flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.left {
  width: 45%;
}

.right{
  width: 50%;
  margin-left: 15px;
}

.popBody {
  font-family: 'メイリオ', sans-serif;
  padding: 20px;
  margin: 0;
  text-align: center;
}

.timestamp {
  font-size: 12px;
  color: #666;
  text-align: right;
  margin-bottom: 10px;
}
.region {
  color: red;
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}
.text {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 16px;
  margin: 20px 0;
}
button {
  margin-top: 10px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #0078d7;
  color: white;
}
button:hover {
  background-color: #005fa3;
}

/* 複数のポップアップモーダル */
.popup-modal {
  position: fixed;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  min-width: 300px;
  max-width: 600px;
}

/* ポップアップの配置(左から右へ階段状に表示) */
.popup-modal:nth-of-type(1) {
  top: 100px;
  left: 50px;
}

.popup-modal:nth-of-type(2) {
  top: 130px;
  left: 80px;
}

.popup-modal:nth-of-type(3) {
  top: 160px;
  left: 110px;
}

.popup-modal:nth-of-type(4) {
  top: 190px;
  left: 140px;
}

.popup-modal:nth-of-type(5) {
  top: 220px;
  left: 170px;
}

/* ポップアップの内容部分 */
.popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

/* タイムスタンプ */
.popup-timestamp {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  text-align: right;
  font-family: sans-serif;
}

/* 地域名 */
.popup-region {
  margin: 0 0 10px 0;
  color: red;
  font-size: 24px;
  font-weight: bold;
}

/* メッセージテキスト */
.popup-text {
  margin: 10px 0;
  white-space: pre-wrap;
  line-height: 1.6;
  text-align: center;
  font-size: 16px;
  font-family: 'メイリオ', sans-serif;
  color: #333;
}

/* OKボタン */
.popup-close-btn {
  margin-top: 10px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: #0078d7;
  color: white;
}

.popup-close-btn:hover {
  background-color: #005fa3;
}

/* 項目のボタンの設定 */
#jisin, #taifu, #tyui, #nankai{
  margin-left: 10px;
}

#checkRadio{
  font-size: 18px;
  margin-bottom: 10px;
}

/* 「発生内容」色分け */
.tyuiColor{
  color: black;
  background-color: yellow;
}

.keihoColor{
  background-color: red;
  color: white;
}

.tokubetu{
  background-color: black;
  color: white;
}