/*============================================================
  パスワード認証画面
*============================================================*/

/* モーダル 背景 */
.modal-auth-password-bg {
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
}

/* モーダル-エリア */
.modal-auth-password {
  display: none;
  width: 640px;
  padding: 24px 32px;
  background-color: #ffffff;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 1;
}

/* 表示テキスト */
.modal-auth-password-display-text {
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 18px;
  color: #1E2023;
}

/* パスワード入力 */
.modal-auth-password-input {
  margin-bottom: 16px;
}

.modal-auth-password-input input {
  width: 100%;
  height: 48px;
  line-height: 48px;
  border: 1px solid #DCDCDC;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  padding: 0 8px;
}

.modal-auth-password-checkbox {
  width: 100%;
  max-width: 174px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.modal-auth-password-checkbox-label {
  display: block;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  user-select: none; /* テキストの選択を防ぐ */
  font-size: 14px;
}

/* inputは非表示にする */
.modal-auth-password-checkbox-label input {
  display: none;
}

/* □ */
.modal-auth-password-checkbox-checkmark {
  position: absolute;
  top: 0; /* 上からの位置 */
  left: 0;
  height: 24px; /* 大きさ */
  width: 24px; /* 大きさ */
  border: solid 2px #d4dae2; /* 線 */
  border-radius: 4px;
  box-sizing: border-box;
}
/* ✓ */
.modal-auth-password-checkbox-checkmark:after {
  content: "";
  position: absolute;
  left: 6px; /* チェックの位置 */
  top: 2px; /* チェックの位置 */
  width: 8px; /* チェックの大きさ */
  height: 12px; /* チェックの大きさ */
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0; /* 透明にしておく */
}

/* チェックが入ったときの□ */
.modal-auth-password-checkbox-label input:checked + .modal-auth-password-checkbox-checkmark {
  background: #0AC4DD; /* チェック時の色 */
  border-color: #0AC4DD; /* チェック時の色 */
}

/* チェックが入ったときの✓ */
.modal-auth-password-checkbox-label input:checked + .modal-auth-password-checkbox-checkmark:after {
  opacity: 1; /* 透明を解除 */
}

/* 送信ボタン */
.modal-auth-password-send-button {
  width: 100px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  line-height: 48px;
  background: #0AC4DD;
  margin: auto;
  border-radius: 8px;
  cursor: pointer;
}