@charset "UTF-8";

/* モーダルウィンドウのスタイル */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.modal-overlay .modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.modal-overlay .modal-content h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 18px;
  font-weight: bold;
}

.modal-overlay .modal-content p {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #666;
  text-align: left;
}

.modal-overlay .modal-content a {
  color: #007bff;
  text-decoration: underline;
}

.modal-overlay .modal-content a:hover {
  text-decoration: none;
}

.modal-overlay .modal-agree-button {
  background-color: #00B900;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-overlay .modal-agree-button:hover {
  background-color: #008500;
}

.modal-overlay .modal-disagree-button {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-left: 10px;
}

.modal-overlay .modal-disagree-button:hover {
  background-color: #545b62;
}

.modal-overlay .modal-button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-overlay.modal-hidden {
  visibility: hidden;
  opacity: 0;
}
