@charset "utf-8";

/* =========================================================
   新規登録・ログイン・認証ダイアログ専用
   既存CSSとの競合回避のため regdlg- プレフィックスを付与
   ========================================================= */

/* 画面全体ラッパー
   - 480pxを超える横幅部分はグレー
   - PCでもスマホ幅表示を維持
*/
/*---- 2026.03.15 ADD[E] 新規登録フォーム -----*/

#regDialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

#regDialog::backdrop {
  /* background: rgba(0, 0, 0, 0.25); */
  background: #808080;
}

.regdlg-app {
  width: 100%;
  min-height: 100vh;
  background: #808080;
  display: flex;
  justify-content: center;
}

/* オーバーレイ */
.regdlg-overlay {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  /* background: rgba(128, 128, 128, 0.55); */
  background: #808080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 8px;
  box-sizing: border-box;
}

/* ダイアログ本体 */
.regdlg-modal {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 58px 18px 48px;
  box-sizing: border-box;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
}

/* フォーム */
.regdlg-form {
  width: 100%;
}

/* 項目間 */
.regdlg-field + .regdlg-field {
  margin-top: 26px;
}

/* ラベル */
.regdlg-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  line-height: 1.4;
}

.regdlg-label-text {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

/* 必須バッジ */
.regdlg-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #ef2d8e;
  background: #ff5cab;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* 入力欄
   既存CSSに input, textarea 全体指定があるため
   この専用クラスで必要値を上書き
*/
.regdlg-input {
  display: block;
  width: 100%;
  height: 31px;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  background: #ffffff;
  color: #111111;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 31px;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.regdlg-input:focus {
  border-color: #ff5cab;
  box-shadow: 0 0 0 2px rgba(255, 92, 171, 0.12);
}

/* 既存アカウント文言 */
.regdlg-login-text {
  margin: 26px 0 8px;
  text-align: center;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

/* エラーメッセージ表示領域 */
.regdlg-message-area {
  min-height: 52px;
  margin: 8px 0 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* 新規登録エラーメッセージ */
.regdlg-message {
  width: 100%;
  margin: 0;
  text-align: left;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  white-space: pre-line;
}

/* 専用リンク
   既存 a / a:hover の影響を受けにくいよう専用クラス指定
*/
.regdlg-login-link,
.regdlg-login-link:link,
.regdlg-login-link:visited {
  color: #ff5cab;
  text-decoration: none;
  font-weight: 700;
}

.regdlg-login-link:hover,
.regdlg-login-link:active {
  color: #ff5cab;
  text-decoration: underline;
}

/* ボタン領域 */
.regdlg-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ボタン共通
   既存 .btn とは別名にして競合回避
*/
.regdlg-btn {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* 登録ボタン */
.regdlg-btn-submit {
  width: 100%;
  height: 34px;
  border: 1px solid #ef4da1;
  border-radius: 5px;
  background: #ff5cab;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: 34px;
  text-align: center;
}

.regdlg-btn-submit:hover {
  background: #f34ca0;
}

/* キャンセル */
.regdlg-btn-cancel {
  color: #ff5cab;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.regdlg-btn-cancel:hover {
  text-decoration: underline;
}

/* 視覚非表示 */
.regdlg-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* スマホ */
@media screen and (max-width: 480px) {
  .regdlg-overlay {
    padding: 48px 8px;
  }

  .regdlg-modal {
    padding: 58px 18px 48px;
  }
}

/*---- 2026.03.15 ADD[E] 新規登録フォーム -----*/

/*---- 2026.03.16 ADD[S] 認証フォーム -----*/
/* ===== 認証フォーム専用 ===== */

.regdlg-field-verify {
  margin-top: 0;
}

.regdlg-guide-area {
  min-height: 28px;
  margin: 0 0 14px;
}

.regdlg-guide {
  margin: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  white-space: pre-line;
}

.regdlg-otp-receiver {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.regdlg-otp-wrap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
}

.regdlg-otp-box {
  width: 37px;
  height: 42px;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 42px;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.regdlg-otp-box:focus {
  border-color: #ff5cab;
  box-shadow: 0 0 0 2px rgba(255, 92, 171, 0.12);
}

.regdlg-message-area-verify {
  min-height: 52px;
  margin: 4px 0 18px;
}

.regdlg-resend-area {
  margin-top: 18px;
  text-align: left;
}

.regdlg-btn-link {
  color: #ff5cab;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.regdlg-btn-link:hover {
  text-decoration: underline;
}
/*---- 2026.03.16 ADD[E] 認証フォーム -----*/

/*---- 2026.04.28 ADD[S] 新デザインコンバージョン後追加 -----*/
[hidden] {
  display: none !important;
}

.regdlg-otp-box {
  ime-mode: disabled; /* 一部ブラウザのみ */
}
/*---- 2026.04.28 ADD[E] 新デザインコンバージョン後追加 -----*/