/* ------------------ 本人認証 ------------------ */

/* 画面全体を覆う半透明オーバーレイ */
#auth-div {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ポップアップ本体 */
#auth-popup {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 40px 30px 30px 30px;
  width: 80vw;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}

.auth-button {
  background: #7c6f6f;
  color: #fff;
  border: none;  /* 枠線を消す */
  cursor: pointer;
  padding: 6px;
  width: 50%;
  border-radius: 8px;
  margin: 8px auto 0 auto;  /* 中央寄せ */
  text-align: center;
  display: block;
  font-size: 0.85em;
  transition: background-color 0.3s;
  float: none;  /* floatを無効化 */
}

#close-auth-button {
  color: #000000;
  position: absolute;
  top: 8px; right: 12px;
  background: transparent;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

/* フォーム内の入力フィールド */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
  color: #333;
}

/* ヘッダー、ラベル */
h2, label, p {
  color: #333;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* 画像コンテナ */
#auth-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* 画像スタイル（幅80%） */
#auth-image-container img {
  width: 90%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}


/* ------------------ 本人認証 ------------------ */