body {
  padding: 0;
  margin: 0;
}

html,
body,
#mapdiv {
  height: 100%;
  width: 100%;
}

figure,
figcaption {
  margin: 5px auto 0;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.current {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.f16px{
  font-size: 16px;
}

.leaflet-popup-content {
  margin: 0;
  width: 220px !important;
}

.leaflet-popup-content-wrapper {
  text-align: center;
}

.leaflet-popup-content p {
  margin: 0 5px 0 !important;
  text-align: left;
}

.leaflet-popup-content span {
  color: blue;
}

.red {
  color: #ff4e46 !important;
}

.green {
  color: #005133 !important;
}

.bg-caution {
  background-color: rgba(255, 255, 0, 0.3);   /* 危険度 2〜3 */
}

.bg-warning {
  background-color: rgba(255, 165, 0, 0.3);   /* 危険度 4〜5 */
}

.bg-danger {
  background-color: rgba(255, 0, 0, 0.3);   /* 危険度 6以上 */
}

/* モバイル用 */
@media (max-width: 767px) {
  .current {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
  }
  
  .f16px{
    font-size: 14px;
  }
  
  .leaflet-popup-content {
    width: 200px;
    margin: 5px;
  }

  .leaflet-popup-content-wrapper {
    text-align: center;
  }
  
  .leaflet-popup-content p {
    margin: 0 5px 0;
  }
}