/* 新規登録の専用サイト。色と文字はサイト（テーマの asset/css/style.css）に合わせる */
:root {
  --navy: #004190;
  --navy-dark: #002d66;
  --blue: #025bc7;
  --text: #060606;
  --gray: #6c6c6c;
  --line: #d9d9d9;
  --bg: #f9f9f9;
  --bg-blue: #e9f4ff;
  --danger: #c62828;
  --danger-bg: #fff4f4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; font-size: 15px; line-height: 1.7; }
a { color: var(--blue); }
.hd { display: flex; justify-content: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid #e5e5e5; }
.main { max-width: 600px; margin: 32px auto 48px; padding: 0 16px; }
.ft { text-align: center; color: var(--gray); font-size: 12px; padding: 24px 16px; }
.loading { text-align: center; color: var(--gray); }

/* ステップの見出し */
.steps { text-align: center; margin-bottom: 20px; }
.steps__count { margin: 0; font-size: 13px; color: var(--gray); }
.steps__bar { display: flex; justify-content: center; gap: 6px; margin: 8px 0 4px; padding: 0; list-style: none; }
.steps__bar li { width: 64px; height: 4px; border-radius: 2px; background: var(--line); }
.steps__bar li.is-done { background: var(--navy); }
.steps__names { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 11px; color: var(--gray); }
.steps__names li { width: 64px; text-align: center; white-space: nowrap; }
.steps__names li.is-current { color: var(--navy); font-weight: 700; }
.title { margin: 12px 0 4px; font-size: 22px; text-align: center; }
.lead { margin: 0 0 20px; text-align: center; color: var(--gray); }

.card { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 24px 20px; }
.alert { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--danger); background: var(--danger-bg); color: var(--danger); border-radius: 6px; white-space: pre-line; }
.notice { margin: 0 0 16px; padding: 12px 14px; background: var(--bg-blue); border-radius: 6px; }

/* プラン */
.benefits { margin: 0 auto 16px; padding: 0; list-style: none; width: fit-content; }
.benefits li::before { content: "✓"; color: var(--navy); margin-right: 8px; font-weight: 700; }
.plans { display: grid; gap: 12px; }
.plan { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.plan input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.plan__body { flex: 1; }
.plan__name { font-weight: 700; }
.plan__note { font-size: 12px; color: var(--gray); }
.plan__price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.plan__price small { font-size: 12px; font-weight: 400; color: var(--gray); }
.plan.is-selected { border: 2px solid var(--navy); padding: 13px 15px; background: var(--bg-blue); }
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 400; vertical-align: 2px; }

/* フォーム */
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.req, .opt { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 3px; font-size: 11px; font-weight: 400; vertical-align: 1px; }
.req { background: var(--navy); color: #fff; }
.opt { background: #ececec; color: var(--gray); }
.input, .select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; color: inherit; }
.input:focus, .select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.input--code { font-size: 22px; letter-spacing: 0.4em; text-align: center; }
.hint { margin: 4px 0 0; font-size: 12px; color: var(--gray); }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.check { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400 !important; font-size: 14px !important; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy); flex: none; }
.section { margin: 24px 0 12px; padding-top: 16px; border-top: 1px solid #eee; font-size: 15px; }

/* ボタン */
.btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 16px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--navy); color: #fff; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-dark); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn--sub { background: #fff; color: var(--navy); border: 1px solid var(--navy); font-weight: 400; }
.btn--sub:hover { background: var(--bg-blue); }
.links { margin: 16px 0 0; text-align: center; font-size: 14px; }
.links p { margin: 6px 0; }
.link-button { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.small { font-size: 12px; color: var(--gray); text-align: center; margin: 8px 0 0; }
.summary { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.terms { margin: 12px 0 0; padding-left: 1.2em; font-size: 13px; color: var(--gray); }
.done { text-align: center; }
.done__mark { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 30px; line-height: 56px; }
