@charset "utf-8";

/*==============================================================================
  パスワード照会・再設定ページ
  対象: passwordconf.html (#pswRef) / forgot_password.html (#pswMod)
  ファイル: common/css/forgot_password.css
==============================================================================*/

/* ─── ページ背景 ──────────────────────────────────────────────────────────── */

#pswRef,
#pswMod {
  background: var(--ka-bg-soft, #faf7f4);
}

/* ─── コンテナ ────────────────────────────────────────────────────────────── */

#pswRef .pswWrap,
#pswMod .pswWrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 16px 14px 40px;
}

/* ─── フォームカード ──────────────────────────────────────────────────────── */

#pswRef .pswInner,
#pswMod .pswInner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ─── 各フォームブロック ─────────────────────────────────────────────────── */

#pswRef .pswBox,
#pswMod .pswBox {
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#pswRef .pswBox:last-child,
#pswMod .pswBox:last-child {
  border-bottom: none;
}

/* ─── ラベル ─────────────────────────────────────────────────────────────── */

#pswRef .pswBox p.item,
#pswMod .pswBox p.item {
  font-size: 15px;
  font-weight: 600;
  color: var(--ka-ink, #332d28);
  border-bottom: 1px solid #e0dbd4;
  padding: 14px 0 6px;
  margin: 0 0 10px;
}

#pswRef .pswBox .item .req,
#pswMod .pswBox .item .req {
  color: #e60012;
  margin-left: 1em;
  font-weight: normal;
  font-size: 13px;
}

/* ─── インプット ─────────────────────────────────────────────────────────── */

#pswRef input[type="text"],
#pswRef input[type="tel"],
#pswRef input[type="email"],
#pswRef input[type="password"],
#pswMod input[type="text"],
#pswMod input[type="tel"],
#pswMod input[type="email"],
#pswMod input[type="password"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  height: auto;
  margin-top: 4px;
}

#pswRef input:focus,
#pswMod input:focus {
  outline: none;
  border-color: var(--ka-orange, #FF6500);
  box-shadow: 0 0 0 2px rgba(255, 101, 0, 0.12);
}

/* ─── パスワード入力行（目アイコン付き） ─────────────────────────────────── */

#pswRef .pswBox p.data,
#pswMod .pswBox p.data {
  margin: 0;
  display: flex;
  align-items: center;
}

#pswRef .pswBox p.data input,
#pswMod .pswBox p.data input {
  flex: 1;
  margin-top: 0;
}

/* ─── ご注意エリアのテキスト ─────────────────────────────────────────────── */

#pswRef .pswBox > p,
#pswMod .pswBox > p {
  font-size: 13px;
  color: var(--ka-subtext, #756d66);
  line-height: 1.75;
  margin: 0 0 6px;
}

#pswRef .pswBox > p:first-child,
#pswMod .pswBox > p:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--ka-ink, #332d28);
  margin-top: 14px;
}

/* ─── 送信ボタンラッパー ─────────────────────────────────────────────────── */

#pswRef .btmail,
#pswRef .btnSend,
#pswMod .btmail,
#pswMod .btnSend {
  text-align: center;
  margin-top: 24px;
}

/* ─── 完了ページレイアウト（passwordconfcomp.html） ─────────────────────── */

.pswCompletePage {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 0 40px;
}

.pswCompleteHeader {
  text-align: center;
  margin-bottom: 28px;
}

.pswCompleteIcon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ka-orange-soft, #fff2e8);
  color: var(--ka-orange, #FF6500);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pswCompleteTitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--ka-ink, #332d28);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ─── メッセージカード ────────────────────────────────────────────────────── */

.pswCompleteBody {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 24px 20px;
  margin-bottom: 32px;
}

.pswCompleteInfo p {
  font-size: 15px;
  color: var(--ka-ink, #332d28);
  line-height: 1.75;
  margin: 0 0 10px;
}

.pswCompleteInfo p:last-child { margin-bottom: 0; }

.pswCompleteNote {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 20px;
  margin-top: 20px;
}

.pswCompleteNoteTitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--ka-subtext, #756d66);
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.pswCompleteNote ul {
  padding-left: 18px;
  margin: 0 0 16px;
}

.pswCompleteNote li {
  font-size: 13px;
  color: var(--ka-subtext, #756d66);
  line-height: 1.75;
  margin-bottom: 8px;
}

.pswCompleteNoteContact {
  font-size: 13px;
  color: var(--ka-subtext, #756d66);
  line-height: 1.75;
  margin: 0;
}

/* ─── アクションボタン ────────────────────────────────────────────────────── */

.pswCompleteActions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pswCompleteActions .btnLogin,
.pswCompleteActions .btnTop {
  margin: 0;
}

.pswCompleteActions a {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid #C2B8AE;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ka-ink, #332d28);
  text-decoration: none;
  min-width: 180px;
  text-align: center;
  transition: border-color 0.15s, color 0.15s;
}

.pswCompleteActions a:link,
.pswCompleteActions a:visited { color: var(--ka-ink, #332d28); }

.pswCompleteActions a:hover {
  border-color: var(--ka-orange, #FF6500);
  color: var(--ka-orange, #FF6500);
}

/* ─── エラーメッセージ用（フォームページ） ──────────────────────────────── */

#pswRef .headTit,
#pswMod .headTit {
  font-size: 15px;
  padding: 0 4px;
  margin-bottom: 16px;
  min-height: 1em;
}

/* ─── Tablet (481px+) ─────────────────────────────────────────────────────── */

@media only screen and (min-width: 481px) {
  #pswRef .pswWrap,
  #pswMod .pswWrap {
    padding: 24px 20px 48px;
  }

  #pswRef .pswBox,
  #pswMod .pswBox {
    padding: 0 24px 20px;
  }
}
