/* 新規登録の専用サイト。色と文字はサイト（テーマの asset/css/style.css の :root）に合わせる。
   2026-11-20 サイトの色が紺から青緑に変わったので合わせた（名前の navy・blue はサイトの変数名のまま） */
:root {
  --navy: #1f5a6e;       /* サイトの --color-navy・--color-teal */
  --navy-dark: #1c4658;  /* 左ナビのグラデーションの濃い側。hover に使う */
  --blue: #1f5a6e;       /* サイトの --color-blue（リンク・入力欄の枠） */
  --light-blue: #a6bec6; /* サイトの --color-light-blue（入力欄のフォーカスの外枠） */
  --text: #060606;
  --gray: #6c6c6c;
  --line: #d9d9d9;
  --bg: #f9f9f9;
  --bg-blue: #ebf4f5;    /* サイトの --color-bg-blue */
  --danger: #c62828;
  --danger-bg: #fff4f4;
  --orange: #d96800;     /* 年間プランの「20%お得」だけに使う */
}
* { 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; }
.ft p { margin: 0; }
.ft__company { margin-bottom: 4px !important; color: #333; font-size: 13px; }
.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; }
/* 有料プランの上の3つの特長（横並び・縦線で区切る） */
.features { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 20px; padding: 0; list-style: none; }
.features li { display: flex; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 8px; font-size: 14px; font-weight: 700; line-height: 1.55; }
.features li + li { border-left: 1px solid var(--line); }
.features li::before { content: ""; flex: none; width: 6px; height: 11px; margin: 4px 4px 0 2px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); }
.features__text span { display: inline-block; }
.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; flex: none; }
.plan__body { flex: 1; min-width: 0; }
.plan__name { font-weight: 700; }
.plan__note { font-size: 12px; color: var(--gray); }
.plan__price { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line); }
.plan__amount { font-size: 20px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.plan__amount small { font-size: 12px; font-weight: 400; color: var(--gray); }
.plan__monthly { padding: 1px 12px; border-radius: 12px; background: rgba(31, 90, 110, 0.1); font-size: 12px; white-space: nowrap; }
.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; }
.badge--deal { background: var(--orange); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* フォーム */
.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(--light-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); }
.btn--next::after { content: ""; width: 7px; height: 7px; margin-left: 14px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
/* 申し込みボタンの下のお支払い方法 */
.pay-methods { display: flex; justify-content: center; flex-wrap: wrap; row-gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--gray); }
.pay-methods li { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.pay-methods li + li { border-left: 1px solid var(--line); }
.pay-methods svg { color: var(--navy); flex: none; }
.links { margin: 16px 0 0; text-align: center; font-size: 14px; }
.links p { margin: 6px 0; }
.links--split { margin-top: 20px; padding-top: 14px; border-top: 1px solid #eee; font-size: 13px; }
.free-cta { margin-bottom: 10px; }
.free-cta p { margin: 0; }
/* 申し込みの枠の外の控えめなリンク */
.about { margin: 28px 0 0; text-align: center; font-size: 13px; color: var(--gray); }
.about p { margin: 0 0 2px; }
.about a { display: inline-flex; align-items: center; gap: 4px; }
/* お支払いの画面の支払い方法と、請求書払いの完了 */
.method svg { color: var(--navy); flex: none; }
.summary .plan__amount { font-size: 18px; }
.invoice-facts { max-width: 360px; margin: 16px auto 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; }
.invoice-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; }
.invoice-facts dt { color: var(--gray); font-size: 13px; }
.invoice-facts dd { margin: 0; font-weight: 700; }
.done .btn svg { margin-left: 6px; }
/* スマホ：特長は印を上に、プランの価格はプラン名の下の段に回す */
@media (max-width: 480px) {
  .card--plan { padding: 20px 14px; }
  .features li { flex-direction: column; align-items: center; gap: 4px; padding: 0 3px; font-size: 12px; text-align: center; }
  .features li::before { margin: 0 0 2px; }
  .plan { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 8px; }
  .plan input { grid-row: 1 / span 2; }
  .plan.method { display: flex; }
  .plan__price { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .pay-methods li { gap: 6px; padding: 0 10px; }
}
.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; }
