@charset "UTF-8";
/* ============================================
   クリーンライフPlus＋ サブスク登録フォーム
   Figma: registration-form (151:203 / 1440×1492)
          registration-form-sp (159:231 / 390×1385) を正とする
   ※ style.css（:rootトークン・header共通）とセットで読み込む
   ============================================ */

:root {
  /* 登録フォーム専用トークン（Figma準拠） */
  --reg-border: #e2e8f0;        /* 入力枠・カード枠 */
  --reg-bg-subtle: #f8fafc;     /* 選択プラン・同意ボックス背景 */
  --reg-link: #009cd4;          /* プライバシーポリシーリンク */
  --reg-grad-btn: linear-gradient(161deg, #009cd4 0%, #02c39a 100%); /* 送信ボタン */
}

/* ============================================
   ページ全体
   ============================================ */
.reg-page {
  background: var(--color-bg-gray);
}

/* ============================================
   メインコンテンツ（カードを中央配置＋装飾ブロブ）
   ============================================ */
.reg-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 80px 80px 100px;
  overflow: hidden;
}

/* 背景の水色ブロブ（装飾） */
.reg-main__blob {
  position: absolute;
  width: 480px;   /* SVGはブラー余白込み（ノード400px＋inset-10%） */
  height: 480px;
  pointer-events: none;
}
.reg-main__blob--left {
  left: -190px;
  top: 160px;
}
.reg-main__blob--right {
  right: -190px;
  top: 460px;
}

/* ============================================
   登録カード
   ============================================ */
.reg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  width: 800px;
  max-width: 100%;
  padding: 50px 60px;
  border-radius: 16px;
  background: #fff;
  filter: drop-shadow(0 10px 15px rgba(15, 23, 42, .05));
}
/* align-items:flex-start なので、直下の子は各自 width:100% を持つ前提で組まれている
   （.reg-card__head / .reg-section など納品CSSの各ブロックは持っている）。
   実装で足した <form> や Livewire のルート <div> にはそれが無く、内容幅まで縮む。
   すると中の .reg-submit も縮み、ボタンがカード中央より左にずれる。 */
.reg-card > * {
  width: 100%;
}

/* ---- カードヘッダー ---- */
.reg-card__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
  text-align: center;
  color: var(--color-text);
}
.reg-card__title {
  font-family: var(--font-maru);
  font-weight: 900;
  font-size: 30px;
  line-height: normal;
  white-space: nowrap;
}
.reg-card__title .br-sp { display: none; }
.reg-card__lead {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

/* ---- 区切り線（Figmaの1px線 #F1F5F9 をborderで再現） ---- */
.reg-card__divider {
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 0;
}

/* ============================================
   フォーム
   ============================================ */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.reg-form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ---- フィールド共通 ---- */
.reg-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.reg-field__label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.reg-field__label-text {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}
.reg-field__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--color-cta);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 11px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}

/* ---- テキスト入力 ---- */
.reg-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--reg-border);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 15px;
  line-height: normal;
  color: var(--color-text);
}
/* 姓・名の2分割入力（お名前・カナ共通） */
.reg-input-pair {
  display: flex;
  gap: 10px;
  width: 100%;
}
.reg-input-pair .reg-input {
  flex: 1 1 0;
  min-width: 0;
}
.reg-input::placeholder {
  color: var(--color-gray);
  opacity: 1;
}
.reg-input:focus {
  outline: 2px solid var(--color-main);
  outline-offset: -1px;
}

/* ---- パスワード（目アイコン付き） ---- */
.reg-field__password {
  position: relative;
  width: 100%;
}
.reg-field__password .reg-input {
  padding-right: 46px;
}
.reg-field__eye {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.reg-field__eye img {
  width: 20px;
  height: 20px;
}

/* ============================================
   プラン選択（ラジオカード）
   ============================================ */
.reg-plans {
  gap: 12px; /* ラベル行〜カード間 */
}
.reg-plans__cards {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}
.reg-plan {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--reg-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.reg-plan__head {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}
/* ラジオ本体（Figmaの20px円・選択時=枠2px#02c39a＋中心ドット10px） */
.reg-plan__radio {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid var(--reg-border);
  border-radius: 50%;
  background: #fff;
  flex: none;
  cursor: pointer;
}
.reg-plan__radio:checked {
  border-color: var(--color-main);
}
.reg-plan__radio:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-main);
}
.reg-plan__name {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}
.reg-plan__popular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--color-main);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 11px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}
.reg-plan__price {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}
/* 選択中カード（:has対応ブラウザ） */
.reg-plan:has(.reg-plan__radio:checked) {
  border: 2px solid var(--color-main);
  padding: 15px; /* 枠+1px分を吸収して外寸を維持 */
  background: var(--reg-bg-subtle);
}

/* ============================================
   同意チェック
   ============================================ */
.reg-consent {
  width: 100%;
  padding: 20px 24px;
  border: 1px solid var(--reg-border);
  border-radius: 8px;
  background: var(--reg-bg-subtle);
}
.reg-consent__label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
/* チェックボックス本体（選択時=緑地＋白チェックSVG） */
.reg-consent__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0; /* テキスト1行目と光学的に揃える */
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  flex: none;
  cursor: pointer;
}
.reg-consent__checkbox:checked {
  border: none;
  background: var(--color-main) url("../img/reg-icon-check.svg") no-repeat center / 12px 12px;
}
.reg-consent__text {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text);
}
.reg-consent__text a {
  color: var(--reg-link);
  text-decoration: underline;
}

/* ============================================
   送信ボタン
   ============================================ */
.reg-submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.reg-submit__btn {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  padding: 18px 40px;
  border-radius: 100px;
  background: var(--reg-grad-btn);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 18px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}
.reg-submit__btn .icon-chev {
  width: 14px;
  height: 8.909px;
  transform: rotate(90deg); /* 元SVGは上向き→右向きに */
}
.reg-submit__note {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 13px;
  line-height: normal;
  color: var(--color-gray);
  text-align: center;
}

/* ============================================
   トップへ戻るリンク
   ============================================ */
.reg-back {
  display: flex;
  gap: 6px;
  align-items: center;
}
.reg-back img {
  width: 12px;
  height: 6px;
}
.reg-back span {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  color: var(--color-gray);
  text-decoration: underline;
}

/* ============================================
   SP（〜767px）Figma: registration-form-sp (159:231)
   ============================================ */
@media (max-width: 767px) {

  /* ---- ヘッダーSP上書き（style.cssのPCヘッダーを縮小） ---- */
  .reg-page .header {
    padding: 12px 16px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1));
  }
  .reg-page .header__logo img {
    width: 150px;
    height: auto;
  }
  .reg-page .header__cta {
    gap: 4px;
    height: 36px;
    padding: 10px 14px;
    border-radius: 100px;
    font-size: 11px;
  }
  .reg-page .header__cta .icon-chev {
    width: 8px;
    height: 5.091px;
  }
  /* CTA文言切替（PC=プランを選んで申し込む／SP=申し込む） */
  .reg-page .header__cta .cta-pc { display: none; }

  /* ---- メイン ---- */
  .reg-main {
    gap: 24px;
    padding: 32px 16px 48px;
  }
  .reg-main__blob {
    width: 310px;  /* ノード250px＋inset-12% */
    height: 310px;
  }
  .reg-main__blob--left {
    left: -115px;
    top: 135px;
  }
  .reg-main__blob--right {
    right: -115px;
    top: 435px;
  }

  /* ---- カード ---- */
  .reg-card {
    gap: 28px;
    width: 100%;
    padding: 32px 20px;
  }
  .reg-card__head { gap: 12px; }
  .reg-card__title {
    font-size: 20px;
    white-space: normal;
  }
  .reg-card__title .br-sp { display: inline; }
  .reg-card__lead {
    font-size: 13px;
    line-height: 20px;
    text-align: center;
  }
  /* PC専用改行はSPで解除（Figma SPは文が続けて折り返し） */
  .reg-card__lead .br-pc { display: none; }

  /* ---- フォーム ---- */
  .reg-form { gap: 28px; }
  .reg-form__fields { gap: 20px; }
  .reg-field { gap: 6px; }
  .reg-field__label { gap: 6px; }
  .reg-field__label-text {
    font-size: 14px;
    white-space: normal;
  }
  .reg-field__required { font-size: 10px; }
  .reg-input {
    padding: 12px 14px;
    font-size: 14px;
  }
  .reg-field__password .reg-input {
    padding-right: 42px;
  }
  .reg-field__eye {
    right: 14px;
    width: 18px;
    height: 18px;
  }
  .reg-field__eye img {
    width: 18px;
    height: 18px;
  }

  /* ---- プラン選択（縦積み） ---- */
  .reg-plans { gap: 10px; }
  .reg-plans__cards {
    flex-direction: column;
    gap: 12px;
  }
  .reg-plan {
    flex: none;
    width: 100%;
    gap: 8px;
    padding: 14px;
  }
  .reg-plan__head { gap: 8px; }
  .reg-plan__radio {
    width: 18px;
    height: 18px;
  }
  .reg-plan__radio:checked::after {
    width: 8px;
    height: 8px;
  }
  .reg-plan__name { font-size: 14px; }
  .reg-plan__popular {
    padding: 2px 6px;
    font-size: 10px;
  }
  .reg-plan__price { font-size: 20px; }
  .reg-plan:has(.reg-plan__radio:checked) {
    padding: 13px;
  }

  /* ---- 同意チェック ---- */
  .reg-consent { padding: 14px 16px; }
  .reg-consent__label { gap: 10px; }
  .reg-consent__checkbox {
    width: 18px;
    height: 18px;
    margin-top: 0;
  }
  .reg-consent__checkbox:checked {
    background-size: 10px 10px;
  }
  .reg-consent__text {
    font-size: 12px;
    line-height: 18px;
  }

  /* ---- 送信ボタン ---- */
  .reg-submit__btn {
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }
  .reg-submit__btn .icon-chev {
    width: 12px;
    height: 7.636px;
  }
  .reg-submit__note {
    font-size: 11px;
    line-height: 16px;
  }

  /* ---- 戻るリンク ---- */
  .reg-back span { font-size: 13px; }
}

/* PC側：SP専用CTA文言を隠す */
@media (min-width: 768px) {
  .reg-page .header__cta .cta-sp { display: none; }
}

/* ============================================================
   ▼▼ 以下、会員登録導線（signup-guide / register-sent /
      register-address / register-payment / register-confirm /
      register-done）用の共通コンポーネント追記 ▼▼
   ※ 既存 register.html のトークン・パターンを継承
   ============================================================ */

/* ============================================
   ステップインジケーター（登録フロー共通）
   ①お客様情報→②メール認証→③ご住所→④お支払い→⑤確認
   状態: .is-done（完了）/ .is-current（現在地）/ 無印（未到達）
   ============================================ */
.reg-steps {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reg-step {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
/* 円と円をつなぐ線（2番目以降の左側に引く） */
.reg-step + .reg-step::before {
  content: "";
  position: absolute;
  top: 13px; /* 円28pxの中心 */
  left: calc(-50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--reg-border);
}
.reg-step.is-done + .reg-step::before,
.reg-step.is-done + .reg-step.is-current::before {
  background: var(--color-main);
}
.reg-step__num {
  position: relative; /* 線より手前 */
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--reg-border);
  border-radius: 50%;
  background: #fff;
  font-family: "DIN 2014", "Barlow", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: var(--color-gray);
}
.reg-step.is-done .reg-step__num {
  border-color: var(--color-main);
  background: var(--color-main) url("../img/reg-icon-check.svg") no-repeat center / 14px 14px;
  color: transparent; /* 数字をチェックに置き換え */
}
.reg-step.is-current .reg-step__num {
  border-color: var(--color-main);
  color: var(--color-main);
}
.reg-step__label {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 12px;
  line-height: normal;
  color: var(--color-gray);
  white-space: nowrap;
}
.reg-step.is-done .reg-step__label { color: var(--color-main); }
.reg-step.is-current .reg-step__label {
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================
   カード内セクション（見出し＋本文の汎用ブロック）
   ============================================ */
.reg-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.reg-section__title {
  padding-left: 12px;
  border-left: 4px solid var(--color-main);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-text);
}
.reg-section__text {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}
.reg-section__text a,
.reg-note a {
  color: var(--reg-link);
  text-decoration: underline;
}
/* 補足注記（小さめグレー） */
.reg-note {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray);
}

/* ============================================
   プラン簡易表（signup-guide）
   ============================================ */
.reg-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-noto);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}
.reg-plan-table th,
.reg-plan-table td {
  padding: 12px 14px;
  border: 1px solid var(--reg-border);
  text-align: left;
  vertical-align: middle;
}
.reg-plan-table thead th {
  background: var(--reg-bg-subtle);
  font-weight: 700;
  white-space: nowrap;
}
.reg-plan-table td .reg-plan__popular {
  margin-left: 6px;
  vertical-align: middle;
}
.reg-plan-table__price {
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================
   セレクトボックス（住所・生年月日）
   ============================================ */
.reg-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1px solid var(--reg-border);
  border-radius: 8px;
  background: #fff url("../img/faq-chevron.svg") no-repeat right 14px center / 13px auto;
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 15px;
  line-height: normal;
  color: var(--color-text);
  cursor: pointer;
}
.reg-select:focus {
  outline: 2px solid var(--color-main);
  outline-offset: -1px;
}

/* 任意バッジ（必須バッジのグレー版） */
.reg-field__optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--color-gray);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 11px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}

/* 生年月日（年/月/日の3連セレクト） */
.reg-birth {
  display: flex;
  gap: 12px;
  width: 100%;
}
.reg-birth__item {
  display: flex;
  flex: 1;
  gap: 8px;
  align-items: center;
}
.reg-birth__item .reg-select { flex: 1; }
.reg-birth__unit {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
}

/* 郵便番号（短め入力） */
.reg-input--zip {
  width: 220px;
  max-width: 100%;
}

/* ============================================
   サービス対象住所（上記と同じ／別住所入力）
   ============================================ */
.reg-altaddr {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 20px 24px;
  border: 1px dashed var(--reg-border);
  border-radius: 8px;
  background: #fff;
}
/* 「上記の住所と同じ」チェックON中は薄く表示（入力不可の想定） */
.reg-altaddr.is-muted {
  opacity: .45;
}
.reg-altaddr.is-muted .reg-input,
.reg-altaddr.is-muted .reg-select {
  background-color: var(--reg-bg-subtle);
}

/* ============================================
   確認テーブル（register-confirm）
   ============================================ */
.reg-confirm {
  width: 100%;
  border-top: 1px solid var(--reg-border);
}
.reg-confirm__row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 4px;
  border-bottom: 1px solid var(--reg-border);
}
.reg-confirm__label {
  flex: none;
  width: 180px;
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}
.reg-confirm__value {
  flex: 1;
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}
.reg-confirm__value .reg-plan__popular {
  margin-left: 6px;
  vertical-align: middle;
}
.reg-confirm__edit {
  flex: none;
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.6;
  color: var(--reg-link);
  text-decoration: underline;
  white-space: nowrap;
}

/* ============================================
   カードブランド表記（register-payment）
   ============================================ */
.reg-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reg-brands__item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--reg-border);
  border-radius: 6px;
  background: #fff;
  font-family: "DIN 2014", "Barlow", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}

/* ============================================
   静的デモ用リンク囲み（実装時は削除される想定）
   ============================================ */
.reg-demo {
  width: 100%;
  padding: 14px 16px;
  border: 1px dashed var(--color-gray);
  border-radius: 8px;
  background: var(--reg-bg-subtle);
  font-family: var(--font-noto);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray);
  text-align: center;
}
.reg-demo a {
  color: var(--reg-link);
  text-decoration: underline;
}

/* ============================================
   完了マーク（register-sent / register-done）
   ============================================ */
.reg-done-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--color-main) url("../img/reg-icon-check.svg") no-repeat center / 34px 34px;
}

/* CTAをリンク（aタグ）で使う場合の下線消し */
a.reg-submit__btn {
  text-decoration: none;
}

/* ============================================
   登録導線 追加分のSP（〜767px）
   ============================================ */
@media (max-width: 767px) {

  /* ---- ステップインジケーター ---- */
  .reg-step { gap: 4px; }
  .reg-step + .reg-step::before {
    top: 11px; /* 円24pxの中心 */
    left: calc(-50% + 17px);
    width: calc(100% - 34px);
  }
  .reg-step__num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .reg-step.is-done .reg-step__num {
    background-size: 12px 12px;
  }
  .reg-step__label { font-size: 10px; }

  /* ---- セクション ---- */
  .reg-section { gap: 10px; }
  .reg-section__title {
    padding-left: 10px;
    font-size: 15px;
  }
  .reg-section__text {
    font-size: 13px;
    line-height: 1.7;
  }
  .reg-note {
    font-size: 11px;
    line-height: 1.6;
  }

  /* ---- プラン簡易表 ---- */
  .reg-plan-table { font-size: 12px; }
  .reg-plan-table th,
  .reg-plan-table td { padding: 10px 8px; }

  /* ---- セレクト・生年月日 ---- */
  .reg-select {
    padding: 12px 36px 12px 14px;
    background-position: right 12px center;
    background-size: 12px auto;
    font-size: 14px;
  }
  .reg-birth { gap: 8px; }
  .reg-birth__item { gap: 6px; }
  .reg-birth__unit { font-size: 13px; }
  .reg-input--zip { width: 180px; }

  /* ---- サービス対象住所 ---- */
  .reg-altaddr {
    gap: 16px;
    padding: 14px 16px;
  }

  /* ---- 確認テーブル（ラベルと値を縦積み） ---- */
  .reg-confirm__row {
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 12px 2px;
  }
  .reg-confirm__label {
    width: auto;
    flex: 1;
    font-size: 13px;
  }
  .reg-confirm__edit {
    order: 2; /* ラベル行の右端へ */
    font-size: 12px;
  }
  .reg-confirm__value {
    order: 3;
    flex: none;
    width: 100%;
    font-size: 14px;
  }

  /* ---- カードブランド ---- */
  .reg-brands__item {
    padding: 5px 12px;
    font-size: 12px;
  }

  /* ---- デモ用リンク ---- */
  .reg-demo {
    padding: 12px 14px;
    font-size: 12px;
  }

  /* ---- 完了マーク ---- */
  .reg-done-mark {
    width: 60px;
    height: 60px;
    background-size: 28px 28px;
  }
}

/* ============================================================
   ▼▼ 2026-07-29 確定仕様（税込表示／月払い・年払い選択／
      初月無料・先払い月末決済／紹介者入力）対応の追加分 ▼▼
   ※ 既存記述は変更せず、ここから下に追記
   ============================================================ */

/* ============================================
   割引バッジ（10%OFF）
   使用: signup-guide のプラン表 th、register のお支払い方法カード
   ============================================ */
.reg-badge-off {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--color-cta);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 11px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

/* 本文中の強調（税込金額・無料期間などの読み落とし防止） */
.reg-section__text strong {
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================
   プランカードの金額まわり（register）
   「980円/月（税込）」＋「年払い 10,584円（税込）」
   ============================================ */
.reg-plan__tax {
  margin-left: 2px;
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 13px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}
.reg-plan__yearly {
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-gray);
}

/* ============================================
   お支払い方法（月払い／年払い）ラジオカード
   ※ ラジオ本体は .reg-plan__radio のスタイルを流用
   ============================================ */
.reg-cycles {
  gap: 12px; /* ラベル行〜カード間（.reg-plans と同値） */
}
.reg-cycles__cards {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}
.reg-cycle {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--reg-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.reg-cycle__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.reg-cycle__name {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}
.reg-cycle__head .reg-badge-off {
  margin-left: 0; /* headのgapで間隔を確保するため相殺 */
}
.reg-cycle__price {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 24px;
  line-height: normal;
  color: var(--color-text);
  white-space: nowrap;
}
.reg-cycle__unit {
  margin-left: 2px;
  font-size: 13px;
}
.reg-cycle__desc {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-gray);
}
/* 選択中カード（:has対応ブラウザ／.reg-plan と同じ挙動） */
.reg-cycle:has(.reg-plan__radio:checked) {
  border: 2px solid var(--color-main);
  padding: 15px; /* 枠+1px分を吸収して外寸を維持 */
  background: var(--reg-bg-subtle);
}

/* ============================================
   決済タイミングの例示ボックス
   （signup-guide / register-payment）
   ============================================ */
.reg-billing-example {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--reg-border);
  border-radius: 8px;
  background: var(--reg-bg-subtle);
}
.reg-billing-example__title {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}
.reg-billing-example__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.reg-billing-example__list > li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.reg-billing-example__term {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--color-main);
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 12px;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}
.reg-billing-example__body {
  flex: 1;
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text);
}

/* ============================================
   追加分のSP（〜767px）
   ============================================ */
@media (max-width: 767px) {

  /* ---- 割引バッジ ---- */
  .reg-badge-off {
    padding: 2px 5px;
    font-size: 10px;
  }

  /* ---- プランカードの金額 ---- */
  .reg-plan__tax { font-size: 12px; }
  .reg-plan__yearly { font-size: 11px; }

  /* ---- お支払い方法カード（縦積み） ---- */
  .reg-cycles { gap: 10px; }
  .reg-cycles__cards {
    flex-direction: column;
    gap: 12px;
  }
  .reg-cycle {
    flex: none;
    width: 100%;
    gap: 8px;
    padding: 14px;
  }
  .reg-cycle__head { gap: 8px; }
  .reg-cycle__name { font-size: 14px; }
  .reg-cycle__price { font-size: 20px; }
  .reg-cycle__unit { font-size: 12px; }
  .reg-cycle__desc {
    font-size: 11px;
    line-height: 1.6;
  }
  .reg-cycle:has(.reg-plan__radio:checked) {
    padding: 13px;
  }

  /* ---- 決済タイミングの例示ボックス（ラベルを上に積む） ---- */
  .reg-billing-example { padding: 14px 16px; }
  .reg-billing-example__title { font-size: 13px; }
  .reg-billing-example__list { gap: 12px; }
  .reg-billing-example__list > li {
    flex-direction: column;
    gap: 4px;
  }
  .reg-billing-example__term {
    min-width: 0;
    padding: 2px 8px;
    font-size: 11px;
  }
  .reg-billing-example__body {
    font-size: 12px;
    line-height: 1.7;
  }
}
