* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

.app {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  height: 40px;
  background-color: lightgray;
  box-sizing: border-box;
  padding: 5px 15px;
}

.header_btn {
  float: right;
  text-align: center;
  margin: 0 5px;
}

.main {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 40px);
}

.sidebar {
  width: 240px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #fafafa;
}

.content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#map {
  width: 100%;
  height: 100%;
}

/* make .content a positioning context so panels can be placed over the map */
.content {
  position: relative;
}

/* info panel common */
.info-panel {
  position: absolute;
  background: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  color: #222;
  max-width: 360px;
  font-size: 14px;
}

.info-panel h3 {
  margin: 0 0 8px 0;
  font-size: 15px;
  border-bottom: 2px solid #d9eaf6;
  padding-bottom: 6px;
}

.info-panel .close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

#info-top-left {
  top: 12px;
  left: 12px;
}

#info-top-right {
  top: 12px;
  right: 12px;
  overflow-y: auto;
  height: 500px;
}

#info-bottom-right {
  bottom: 20px;
  right: 12px;
}

.flex-content {
  flex-grow: 1;
  background-color: palegoldenrod;
  box-sizing: border-box;
  border: 8px solid green;
}

.fixed-content {
  height: 128px;
  background-color: thistle;
  box-sizing: border-box;
  border: 8px solid darkmagenta;
}

.button {
  display: block;
  width: auto;
  height: 50px;
}

.button li a {
  text-align: center;
  text-decoration: none;
  display: block;
  color: black;
}

.button li a:hover {
  background-color: #007bff;
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 2px 4px gray;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 0; /* または gap: 10px; で均等な間隔 */
}

input {
  border: none;
  margin: 0;
  background-color: #fafafa;
}

input:hover {
  border: groove;
}

.btn {
  font-size: 14px;
  border: 1px solid #666;
  text-align: center;
  max-width: 200px;
  margin: 20px auto;
  font-family: "Noto Serif JP", serif;
}

.btn a {
  color: #666;
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
}
