@charset "utf-8";
/***************************************************
  filename : new_member.css
***************************************************/

/* ─── ページ全体 ─── */
.reg_det {
  background: var(--app-bg-cr);
}
.reg_det #wrapper {
  background: none;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media screen and (max-width:600px) {
  .reg_det #wrapper {
    display: block;
  }
}
.reg_det #contents {
  background: none;
  flex: 1;
}
.reg_det footer {
  position: relative;
  height: 40px;
  background-color: #7AD64B;
}
.users_newreg {
  padding-top: 60px;
  padding-bottom: 100px;
}
/* ─── ステップインジケーター（カード内）─── */
.reg_step {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}
.reg_step ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  counter-reset: step;
}
.reg_step ul::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}
.reg_step li {
  counter-increment: step;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}
.reg_step li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d8d8d8;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1;
}
.reg_step li.crt::before {
  background: var(--app-main-txt);
  box-shadow: 0 0 0 4px rgba(122,214,75,.2);
}
.reg_step li.done::before {
  content: '✓';
  background: #b8e49a;
}
.reg_step_ti {
  font-size: 12px;
  font-weight: bold;
  color: #bbb;
  margin: 0 0 3px;
  text-align: center;
  line-height: 1.3;
}
.reg_step li.crt .reg_step_ti { color: #222; }
.reg_step li.done .reg_step_ti { color: #888; }
.reg_step_com {
  font-size: 11px;
  color: #ccc;
  text-align: center;
  line-height: 1.4;
  margin: 0;
  padding: 0 4px;
}
.reg_step li.crt .reg_step_com { color: #999; }
@media screen and (max-width:480px) {
  .reg_step_com { display: none; }
}

/* ─── カード ─── */
.reg_card {
  width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  padding: 40px 48px 48px;
}
@media screen and (max-width:640px) {
  .reg_card {padding: 24px 20px 36px;width: 100%;}
}

/* ─── カードタイトル ─── */
.reg_card_title {
  width: fit-content;
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 0 auto 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--app-main-txt);
}

/* ─── セクション区切り ─── */
.reg_section_label {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .08em;
  color: var(--app-main-txt);
  text-transform: uppercase;
  margin: 28px 0 14px;
  padding-left: 8px;
  border-left: 3px solid var(--app-main-txt);
}
.reg_section_label:first-of-type { margin-top: 0; }

/* ─── フォーム全体 ─── */
.reg_form { display: flex; flex-direction: column; gap: 0; }

/* ─── フィールド ─── */
.reg_field { margin-bottom: 18px; }
.reg_field:last-child { margin-bottom: 0; }

/* 横並び2列ラッパー */
.reg_row2_wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.reg_row2_wrap .reg_field { 
  flex: 1; 
  min-width: 0; 
  margin-bottom: 0; 
  max-width: fit-content;
}
.reg_input[name="name_sei"], .reg_input[name="name_mei"],
.reg_input[name="name_sei_kana"], .reg_input[name="name_mei_kana"]{
    max-width: 180px;
}
@media screen and (max-width:600px) {
  .reg_row2_wrap {gap: 5px;}
  .reg_row2_wrap .reg_field { margin-bottom: 18px; }
  
  .reg_input[name="name_sei"], .reg_input[name="name_mei"],
  .reg_input[name="name_sei_kana"], .reg_input[name="name_mei_kana"]{
      max-width: unset;
  }
}

/* ─── ラベル ─── */
.reg_label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.4;
}
.reg_req {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  background: #e05252;
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.5;
}
.reg_opt {
  display: inline-block;
  font-size: 10px;
  color: #999;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.5;
}

/* ─── インプット共通 ─── */
.reg_input {
  width: 100%;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.reg_input::placeholder{
  color: #ddd;
}
.reg_input:focus {
  outline: none;
  border-color: var(--app-main-txt);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122,214,75,.15);
}
.reg_input_lg  { max-width: 100%; }
.reg_input_zip { max-width: 80px; }

/* ─── セレクト ─── */
.reg_select {
  width: 100%;
  max-width: 220px;
  padding: 10px 32px 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s;
}
.reg_select:focus {
  outline: none;
  border-color: var(--app-main-txt);
  box-shadow: 0 0 0 3px rgba(122,214,75,.15);
}

/* ─── 郵便番号行 ─── */
.reg_zip_row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.reg_zip_sep { color: #666; }
.reg_zip_btn {
  padding: 9px 14px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.reg_zip_btn:hover { background: #222; }

/* ─── ラジオグループ ─── */
.reg_radio_group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 2px;
}
.reg_radio_label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  transition: border-color .15s, background .15s;
}
.reg_radio_label:hover { border-color: var(--app-main-txt); background: #f3fde8; }
.reg_radio_label input[type="radio"] { accent-color: var(--app-main-txt); }
.reg_radio_label input[type="radio"]:checked + span { color: var(--app-main-txt); font-weight: bold; }
.reg_radio_label:has(input:checked) {
  border-color: var(--app-main-txt);
  background: #edf9e0;
}

/* ─── 入力パネル ─── */
.reg_panel { display: none; }
.reg_panel.active { display: block; }

.reg_panel_nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.reg_panel_nav .reg_btn_back { margin-right: auto; }
.reg_panel_nav button.reg_btn_primary { min-width: 120px; }

@media screen and (max-width:480px) {
  .reg_panel_nav { flex-direction: column-reverse; gap: 8px; }
  .reg_panel_nav button { width: 100%; min-width: 0; }
}

/* ─── 条件フィールド ─── */
.reg_conditional { display: none; }

/* ─── ヒント ─── */
.reg_hint {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* ─── フィールド単位のリアルタイムエラー ─── */
.reg_field_error {
  display: block;
  font-size: 12px;
  color: #c00;
  margin-top: 4px;
  min-height: 1em;
}
.reg_field_error:empty { margin-top: 0; }

/* ─── 区切り線 ─── */
.reg_divider {
  height: 1px;
  background: #eee;
  margin: 4px 0 8px;
}

/* ─── 送信ボタン ─── */
.reg_actions { margin-top: 32px; text-align: center; }
button.reg_btn_primary {
  display: inline-block;
  min-width: 200px;
  padding: 14px 36px;
  background: var(--app-main-txt);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity .2s;
}
button.reg_btn_primary:hover { opacity: .85; }
@media screen and (max-width:480px) {
  button.reg_btn_primary { width: 100%; }
}

/* ─── エラーボックス ─── */
.reg_errors {
  background: #fff0f0;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 24px;
  color: #c00;
  font-size: 14px;
  line-height: 1.8;
}

/* ─── 確認画面 ─── */
.reg_confirm_note {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.reg_confirm_table { border-top: 1px solid #eee; }
.reg_confirm_row {
  display: flex;
  align-items: baseline;
  padding: 11px 4px;
  border-bottom: 1px solid #eee;
  gap: 12px;
}
.reg_clabel {
  flex: 0 0 140px;
  font-size: 13px;
  color: #888;
}
.reg_cval {
  font-size: 15px;
  color: #222;
  word-break: break-all;
}
.reg_confirm_actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
button.reg_btn_back {
  display: inline-block;
  min-width: 120px;
  padding: 13px 28px;
  background: #fff;
  border: 2px solid #bbb;
  color: #555;
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s;
}
button.reg_btn_back:hover { background: #f5f5f5; }

/* ─── 仮登録完了 / メール認証 ─── */
.reg_complete {
  text-align: center;
  padding: 16px 0 8px;
}
.reg_complete_icon {
  font-size: 52px;
  margin-bottom: 16px;
  color: var(--app-main-txt);
}
.reg_complete_icon_ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--app-main-txt);
  color: #fff;
  font-size: 32px;
  margin-bottom: 16px;
}
.reg_complete_title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin: 0 0 20px;
}
.reg_complete_body {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 16px;
}
.reg_complete_note {
  font-size: 13px;
  color: #999;
}
.reg_card_title_err {
  border-color: #e05252;
  color: #c00;
}

/* ─── 完了画面（既存）─── */
.NewRegThkBox { padding: 1px 40px 40px; }
.reg_det .ThkSysPass {
  background: #FDE8EB;
  border: none;
  width: 80%;
  margin: auto;
  color: var(--app-main-c-txt);
}
@media screen and (max-width:540px) {
  .NewRegThkBox { padding: 1px 20px 40px; margin-bottom: 48px; }
  .reg_clabel { flex: 0 0 110px; }
}
