/* 全体のスタイル設定 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0; /* 背景色を設定 */

  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-callout: none;
}
#container {
  margin: 40px auto;
  width: 90%;
  max-width: 1200px;
  min-width: 300px;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #f0f0f0;
}
#message {
  height: 20px;
  padding: 0 10px;
}
.menu {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}
.menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
}

#fadelayer {
  position: fixed;
  z-index: 99999;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
}

.modal {
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.modal.show {
  transform: translateY(0);
}

.modal-header {
  padding: 1rem;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-content {
  padding: 1rem;
}

.open-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.open-btn:hover {
  background-color: #0056b3;
}
