body {
  margin: 0;
  font-family: sans-serif;
  background: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;	/* (1) すべてのブラウザが理解できる（基本設定） */
  height: 100dvh;	/* (2) モダンなブラウザだけが上書きする（最適化） */
}

.login-box {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 320px;
}

.title-label {
  position: relative;
  left: 46%;
  transform: translateX(-50%);
  width: 120%;
  height: auto;     /* 任意の固定高さ */
}



.login-box h2 {
  text-align: center;
  margin-bottom: 1px;
  color: #333;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.login-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  background: #f08300;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #FF8500;
}

.login-btn:disabled {
    background-color: #ccc;  /* 非活性時のグレー */
    color: #666;             /* 文字色を薄めに */
    cursor: not-allowed;     /* カーソルも非活性っぽく */
    opacity: 0.7;
}


/* ポップアップのスタイル */
.popup-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: 2000;
}

.popup-container {
	background-color: #ffffff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	text-align: center;
	width: 90%;
	max-width: 400px;
}

.popup-container h3 {
	margin-top: 0;
	color: #333;
	font-size: 20px;
	margin-bottom: 15px;
}

.popup-container p {
	font-size: 16px;
	margin-bottom: 20px;
	white-space: pre-wrap;
	line-height: 1.5;
	text-align: left;
}

.popup-buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.popup-button {
	padding: 10px 25px;
	background-color: #f08300;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	min-width: 100px;
}

.popup-button:hover {
	background-color: #d07200;
}

.popup-button.secondary {
	background-color: #7f8c8d;
}

.popup-button.secondary:hover {
	background-color: #6c7a7b;
}

/* -------------------------------------- */

.admin-area {
  position: absolute;
  top: 20px;
  right: 20px;
  text-align: center;
}

.admin-label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: #555;
}

.admin-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #555;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.admin-button:hover {
  background-color: #333;
}