/* ==========================================================================
   /join/ ・ /join-complete/ — 申込みページ (LINE もパスワードも使わない経路)
   --------------------------------------------------------------------------
   99% がスマホなのでモバイル優先。色は既存の紺×ゴールドに揃える。
   このページの目的は「迷わせないこと」なので、装飾より押し間違えない大きさを優先する。
   ========================================================================== */

.p-join {
  --join-navy: #1a2540;
  --join-navy-2: #24314f;
  --join-gold: #e7c887;
  --join-gold-2: #c9a96a;
  --join-text: #eaf0fb;
  --join-muted: #9aa8c4;
  background: var(--join-navy);
  color: var(--join-text);
  min-height: 70vh;
  padding: 28px 16px 56px;
}

.p-join__inner {
  max-width: 560px;
  margin: 0 auto;
}

/* ---- 見出し ---- */
.p-join__head { text-align: center; margin-bottom: 24px; }

.p-join__brand {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--join-gold-2);
  margin: 0 0 10px;
}

.p-join__title {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.p-join__lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--join-muted);
  margin: 0;
}

.p-join__lead strong { color: var(--join-gold); }

/* ---- プラン ---- */
.p-join__plans { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }

.p-join__plan {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 44px 16px 16px;
  background: var(--join-navy-2);
  border: 2px solid rgba(154, 168, 196, .28);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.p-join__plan:hover { border-color: rgba(231, 200, 135, .5); }

.p-join__plan.is-selected {
  border-color: var(--join-gold);
  background: #2a3757;
}

/* ラジオ自体は隠す (行全体が押せる) */
.p-join__plan input { position: absolute; opacity: 0; width: 0; height: 0; }

.p-join__plan-body { display: block; flex: 1; }

.p-join__plan-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.p-join__plan-price { display: block; margin-bottom: 8px; }
.p-join__plan-yen { font-size: 22px; font-weight: 700; color: var(--join-gold); }
.p-join__plan-unit { font-size: 12px; color: var(--join-muted); margin-left: 4px; }

.p-join__plan-feats { display: flex; flex-wrap: wrap; gap: 6px; }

.p-join__plan-feat {
  font-size: 12px;
  line-height: 1.5;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(154, 168, 196, .16);
  color: #cdd7ea;
}

/* 選択マーク */
.p-join__plan-check {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(154, 168, 196, .5);
}

.p-join__plan.is-selected .p-join__plan-check {
  border-color: var(--join-gold);
  background: var(--join-gold);
}

.p-join__plan.is-selected .p-join__plan-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--join-navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---- 進むボタン ---- */
.p-join__submit {
  display: block;
  width: 100%;
  padding: 17px 16px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: var(--join-navy);
  background: linear-gradient(180deg, var(--join-gold) 0%, var(--join-gold-2) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(231, 200, 135, .22);
  transition: opacity .15s;
}

.p-join__submit:hover { opacity: .92; }
.p-join__submit:disabled { opacity: .6; cursor: default; }
.p-join__submit--link { text-decoration: none; margin-top: 8px; }

/* ---- 注記・エラー ---- */
.p-join__error {
  display: none;
  margin: 0 0 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #ffd9d9;
  background: rgba(190, 60, 60, .18);
  border: 1px solid rgba(240, 120, 120, .45);
  border-radius: 10px;
}

.p-join__error.is-visible { display: block; }

.p-join__notes {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--join-muted);
}

.p-join__notes li { padding-left: 16px; position: relative; }
.p-join__notes li::before { content: '・'; position: absolute; left: 0; }

.p-join__legal,
.p-join__login {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.85;
  text-align: center;
  color: var(--join-muted);
}

.p-join__legal a,
.p-join__login a,
.p-join__next-text a {
  color: var(--join-gold);
  text-decoration: underline;
}

/* ---- 完了ページ ---- */
.p-join--complete .p-join__state { text-align: center; margin-bottom: 22px; }

.p-join__state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  font-size: 26px;
  font-weight: 700;
  color: var(--join-navy);
  background: var(--join-gold);
  border-radius: 50%;
}

.p-join__plan-done {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--join-gold);
  border: 1px solid var(--join-gold-2);
  border-radius: 999px;
}

.p-join__next {
  margin-top: 22px;
  padding: 16px;
  background: var(--join-navy-2);
  border-radius: 12px;
}

.p-join__next-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--join-gold);
}

.p-join__next-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #cdd7ea;
}

.p-join__next-text strong { color: #fff; }

/* ---- PC ---- */
@media (min-width: 768px) {
  .p-join { padding: 44px 20px 72px; }
  .p-join__title { font-size: 25px; }
  .p-join__lead { font-size: 15px; }
}

/* ==========================================================================
   メールアドレスの入力・確認・訂正 (2026-08-07 追加)
   Stripe はメールを検証しないので、打ち間違いに気づける最後の場所がここになる。
   40〜50代が中心なので、入力欄も文字も大きめに取る。
   ========================================================================== */

.p-join__field {
  margin: 18px 0 4px;
  text-align: left;
}

.p-join__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--join-gold);
  margin: 0 0 6px;
}

.p-join__input {
  width: 100%;
  box-sizing: border-box;
  background: var(--join-navy-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 14px 14px;
  color: #fff;
  font-size: 16px; /* 16px 未満だと iOS が自動ズームする */
  line-height: 1.5;
}
.p-join__input:focus {
  outline: none;
  border-color: var(--join-gold);
  box-shadow: 0 0 0 3px rgba(231, 200, 135, 0.18);
}
.p-join__input::placeholder { color: #6f7d99; }

.p-join__hint {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--join-muted);
}

/* --- 打ち間違い候補 --- */
.p-join__suggest {
  margin: 8px 0 0;
  font-size: 13px;
  color: #ffd98a;
}
.p-join__suggest[hidden] { display: none; }
.p-join__suggest-btn {
  background: none;
  border: none;
  border-bottom: 1px dashed #ffd98a;
  color: #ffd98a;
  font-size: 13px;
  font-weight: 700;
  padding: 0 1px 1px;
  cursor: pointer;
}

/* --- 完了ページ: 送信先の確認 --- */
.p-join__mailcheck {
  margin: 22px 0 0;
  padding: 18px 16px;
  background: var(--join-navy-2);
  border: 1px solid rgba(231, 200, 135, 0.3);
  border-radius: 12px;
  text-align: left;
}

.p-join__mailcheck-label {
  margin: 12px 0 4px;
  font-size: 12px;
  color: var(--join-muted);
}

.p-join__mailcheck-mail {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  word-break: break-all;
  line-height: 1.5;
}

.p-join__next-text--warn { color: #ffd98a; }

.p-join__linkbtn {
  margin-top: 12px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--join-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.p-join__linkbtn[hidden] { display: none; }

.p-join__fixbox {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.p-join__fixbox[hidden] { display: none; }

.p-join__submit--sm {
  margin-top: 12px;
  font-size: 14px;
  padding: 13px 16px;
}

.p-join__mailcheck-done {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: rgba(76, 175, 130, 0.14);
  border: 1px solid rgba(76, 175, 130, 0.45);
  border-radius: 8px;
  font-size: 13.5px;
  color: #8fdcb6;
  line-height: 1.8;
}
.p-join__mailcheck-done[hidden] { display: none; }

/* ==========================================================================
   決済の前に知っておきたいこと (2026-08-07 追加)
   「プランを押した瞬間に決済ボタンしか無い」状態が怖い、という指摘への対応。
   ⚠️ 内容は正本 project-status.html / LP にあるものだけ。文字量は増やしすぎない
      (お客様の声「文字が多すぎて途中から飽きる」を踏まえ、要点だけ)。
   ========================================================================== */

.p-join__reassure {
  margin: 26px 0 6px;
  text-align: left;
}

.p-join__re-title {
  margin: 24px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--join-gold);
  letter-spacing: 0.03em;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(231, 200, 135, 0.22);
}
.p-join__reassure > .p-join__re-title:first-child { margin-top: 0; }

.p-join__re-lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--join-muted);
}

.p-join__re-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--join-muted);
}

/* --- 申し込み後の流れ --- */
.p-join__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-join__step {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.p-join__step:last-child { border-bottom: none; }

.p-join__step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--join-gold);
  color: var(--join-navy);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

.p-join__step-body {
  font-size: 13px;
  line-height: 1.8;
  color: #cdd7ea;
}
.p-join__step-body strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

/* --- カリキュラム --- */
.p-join__curriculum {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-join__curriculum li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 13px;
  line-height: 1.7;
  color: #cdd7ea;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}
.p-join__curriculum li:last-child { border-bottom: none; }

.p-join__cur-num {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  background: rgba(231, 200, 135, 0.16);
  border: 1px solid rgba(231, 200, 135, 0.4);
  color: var(--join-gold);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

/* --- 講師 --- */
.p-join__teacher {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px;
  background: var(--join-navy-2);
  border-radius: 10px;
}

.p-join__teacher-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(231, 200, 135, 0.45);
}

.p-join__teacher-name {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.p-join__teacher-salon {
  margin: 0 0 7px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--join-gold);
}

.p-join__teacher-bio {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #cdd7ea;
}

/* --- 安心材料 (決済ボタンの直前に置く) --- */
.p-join__safety {
  list-style: none;
  margin: 20px 0 0;
  padding: 14px 15px;
  background: rgba(76, 175, 130, 0.09);
  border: 1px solid rgba(76, 175, 130, 0.32);
  border-radius: 10px;
}

.p-join__safety li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #cdd7ea;
}
.p-join__safety li:last-child { margin-bottom: 0; }
.p-join__safety li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 0;
  color: #8fdcb6;
  font-weight: 700;
}
.p-join__safety strong { color: #fff; }

/* ---- PC ---- */
@media (min-width: 768px) {
  .p-join__teacher-photo { width: 84px; height: 84px; }
  .p-join__step-body, .p-join__curriculum li { font-size: 13.5px; }
}

/* ==========================================================================
   確認コード（決済の直前・2026-08-08）
   PC で申し込んでスマホでメールを見る人が数字を「読んで打ち直す」ので、
   桁が数えやすいよう字間を広く・大きくする。
   ========================================================================== */

.p-join__verify {
  margin: 16px 0 0;
  padding: 16px 14px;
  background: var(--join-navy-2);
  border: 1px solid rgba(231, 200, 135, 0.35);
  border-radius: 12px;
}

.p-join__verify-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--join-text);
}
.p-join__verify-lead strong { color: var(--join-gold); }

.p-join__code {
  width: 100%;
  box-sizing: border-box;
  background: var(--join-navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 14px 12px;
  color: #fff;
  font-size: 28px; /* 桁を読み違えないように大きく。16px 未満は iOS が自動ズームする */
  letter-spacing: 0.42em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.p-join__code:focus {
  outline: none;
  border-color: var(--join-gold);
  box-shadow: 0 0 0 3px rgba(231, 200, 135, 0.18);
}
.p-join__code::placeholder { color: #55628021; letter-spacing: 0.42em; }

.p-join__verify-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--join-muted);
}

.p-join__verify-actions {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--join-muted);
}
.p-join__verify-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--join-gold);
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.p-join__verify-sep { margin: 0 8px; opacity: 0.6; }
