/* =========================================================
   ゆい♡らぶ 新規登録ページ専用スタイル（女性版・男性版共通）
   - .cp-register スコープで既存CSSと干渉しない
   - 女性版：ピンク基調 / 男性版：ブルー基調
========================================================= */

.cp-register {
  font-family: 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', 'Meiryo', 'Noto Sans JP', sans-serif;
  background: #fafbfd;
  color: #2d2440;
  font-size: 17px;
  line-height: 1.95;
  padding-bottom: 80px;
}
.cp-register *,
.cp-register *::before,
.cp-register *::after { box-sizing: border-box; }

/* =========================================================
   サービス内容ページ：新規登録セクション
========================================================= */
.register-entry {
  padding: 64px 20px;
  background:
    radial-gradient(ellipse at top right, #ffe8f1 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, #e3f0ff 0%, transparent 60%),
    linear-gradient(180deg, #fff8fb 0%, #f6fbff 100%);
  border-top: 1px solid #f4e4ec;
  border-bottom: 1px solid #f4e4ec;
}
.register-entry-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.register-entry-title {
  font-size: 1.7rem;
  color: #d96b9e;
  margin: 0 0 12px;
  font-weight: bold;
}
.register-entry-lead {
  color: #5a4a5f;
  font-size: 1rem;
  line-height: 1.95;
  margin: 0 0 32px;
}
.register-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.register-entry-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 22px;
  padding: 32px 26px 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  border: 3px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  text-align: center;
}
.register-entry-card:hover, .register-entry-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}
.register-entry-card--female {
  border-color: #ffcfdc;
  background: linear-gradient(135deg, #fff8fb 0%, #fff 60%, #fff5f8 100%);
}
.register-entry-card--female:hover { border-color: #f8a5c2; }
.register-entry-card--male {
  border-color: #cfe6ff;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 60%, #f4f8ff 100%);
}
.register-entry-card--male:hover { border-color: #74b9ff; }

.register-entry-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 8px;
}
.register-entry-card h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
}
.register-entry-card--female h3 { color: #d96b9e; }
.register-entry-card--male h3 { color: #5a9cf5; }
.register-entry-card p {
  font-size: 0.98rem;
  color: #4a3a5f;
  line-height: 1.85;
  margin: 0 0 18px;
}
.register-entry-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.register-entry-card--female .register-entry-btn {
  background: linear-gradient(90deg, #f8a5c2 0%, #ff8fb1 100%);
  box-shadow: 0 4px 12px rgba(248, 165, 194, 0.4);
}
.register-entry-card--male .register-entry-btn {
  background: linear-gradient(90deg, #74b9ff 0%, #5a9cf5 100%);
  box-shadow: 0 4px 12px rgba(116, 185, 255, 0.4);
}
.register-entry-note {
  font-size: 0.88rem;
  color: #8a7a8f;
  margin: 0;
}

/* =========================================================
   登録ページ ヒーロー
========================================================= */
.cp-register-hero {
  padding: 140px 20px 56px;
  text-align: center;
  border-bottom: 1px solid #f4e4ec;
  position: relative;
}
.cp-register-hero--female {
  background:
    radial-gradient(ellipse at top right, #ffe8f1 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, #f8e4ff 0%, transparent 55%),
    linear-gradient(180deg, #fff8fb 0%, #fef5fa 100%);
}
.cp-register-hero--male {
  background:
    radial-gradient(ellipse at top right, #e3f0ff 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, #f0fbff 0%, transparent 55%),
    linear-gradient(180deg, #f6fbff 0%, #f0f6fc 100%);
}
.cp-register-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cp-register-badge {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.cp-register-hero--female .cp-register-badge {
  background: linear-gradient(90deg, #f8a5c2 0%, #c9a3e6 100%);
  box-shadow: 0 4px 14px rgba(201, 163, 230, 0.35);
}
.cp-register-hero--male .cp-register-badge {
  background: linear-gradient(90deg, #74b9ff 0%, #5a9cf5 100%);
  box-shadow: 0 4px 14px rgba(116, 185, 255, 0.35);
}
.cp-register-hero h1 {
  font-size: 1.8rem;
  margin: 0 auto 14px;
  line-height: 1.55;
  font-weight: bold;
}
.cp-register-hero--female h1 { color: #d96b9e; }
.cp-register-hero--male h1 { color: #5a9cf5; }
.cp-register-lead {
  font-size: 1rem;
  color: #5a4a5f;
  line-height: 1.95;
  margin: 0;
}

/* =========================================================
   登録ページ コンテナ
========================================================= */
.cp-register-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
}

/* 安心メッセージ */
.cp-register-trust {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  margin-top: 40px;
  box-shadow: 0 4px 18px rgba(248, 165, 194, 0.1);
  border: 1px solid #ffe4ee;
}
.cp-register-trust--male {
  border-color: #cfe6ff;
  box-shadow: 0 4px 18px rgba(116, 185, 255, 0.1);
}
.cp-register-trust h2 {
  font-size: 1.3rem;
  text-align: center;
  margin: 0 0 22px;
}
.cp-register-trust h2 { color: #d96b9e; }
.cp-register-trust--male h2 { color: #5a9cf5; }
.cp-register-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cp-register-trust-list li {
  padding: 12px 0;
  border-bottom: 1px dashed #ebe8ee;
  font-size: 0.98rem;
  line-height: 1.85;
}
.cp-register-trust-list li:last-child { border-bottom: none; }
.cp-register-trust-list strong { color: #2d2440; }

/* =========================================================
   フォーム
========================================================= */
.cp-register-form-section {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  margin-top: 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #ebe8ee;
}
.cp-register-form-section h2 {
  font-size: 1.4rem;
  text-align: center;
  margin: 0 0 8px;
  color: #2d2440;
}
.cp-register-form-lead {
  text-align: center;
  font-size: 0.95rem;
  color: #6a5a6f;
  margin: 0 0 28px;
}

.cp-form-row {
  margin-bottom: 22px;
}
.cp-form-row label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #2d2440;
  margin-bottom: 8px;
}
.cp-form-row label small {
  display: block;
  font-size: 0.82rem;
  color: #8a7a8f;
  font-weight: normal;
  margin-top: 2px;
  line-height: 1.5;
}
.cp-form-row input[type="text"],
.cp-form-row input[type="email"],
.cp-form-row select,
.cp-form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0d6e8;
  border-radius: 12px;
  font-size: 1rem;
  color: #2d2440;
  background: #fafbfd;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cp-register--female .cp-form-row input[type="text"]:focus,
.cp-register--female .cp-form-row input[type="email"]:focus,
.cp-register--female .cp-form-row select:focus,
.cp-register--female .cp-form-row textarea:focus {
  outline: none;
  border-color: #f8a5c2;
  box-shadow: 0 0 0 3px rgba(248, 165, 194, 0.2);
}
.cp-register--male .cp-form-row input[type="text"]:focus,
.cp-register--male .cp-form-row input[type="email"]:focus,
.cp-register--male .cp-form-row select:focus,
.cp-register--male .cp-form-row textarea:focus {
  outline: none;
  border-color: #74b9ff;
  box-shadow: 0 0 0 3px rgba(116, 185, 255, 0.2);
}
.cp-form-row textarea { resize: vertical; min-height: 80px; }

.cp-form-checkbox label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-weight: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}
.cp-form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 4px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.cp-form-checkbox a { color: #d96b9e; text-decoration: underline; }
.cp-register--male .cp-form-checkbox a { color: #5a9cf5; }

.cp-required {
  display: inline-block;
  background: #ff6f9c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* 送信ボタン */
.cp-register-submit {
  width: 100%;
  padding: 22px 28px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border: none;
  letter-spacing: 0.05em;
  font-family: inherit;
  color: #fff;
  margin-top: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cp-register-submit:hover, .cp-register-submit:focus {
  transform: translateY(-2px);
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.cp-register--female .cp-register-submit {
  background: linear-gradient(90deg, #ff6f9c 0%, #ff8fb1 100%);
  box-shadow: 0 6px 22px rgba(255, 111, 156, 0.45);
}
.cp-register--male .cp-register-submit {
  background: linear-gradient(90deg, #5a9cf5 0%, #74b9ff 100%);
  box-shadow: 0 6px 22px rgba(116, 185, 255, 0.45);
}
.cp-register-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cp-register-form-note {
  font-size: 0.88rem;
  color: #8a7a8f;
  text-align: center;
  margin: 16px 0 0;
}

/* =========================================================
   完了メッセージ
========================================================= */
.cp-register-done {
  margin-top: 40px;
}
.cp-register-done-inner {
  background: linear-gradient(135deg, #fff8fb 0%, #fff 60%, #f4f8ff 100%);
  border-radius: 22px;
  padding: 48px 32px;
  text-align: center;
  border: 2px solid #ffcfdc;
  box-shadow: 0 8px 28px rgba(248, 165, 194, 0.15);
}
.cp-register--male .cp-register-done-inner {
  border-color: #cfe6ff;
  box-shadow: 0 8px 28px rgba(116, 185, 255, 0.15);
}
.cp-register-done-icon {
  font-size: 4rem;
  margin-bottom: 12px;
}
.cp-register-done h2 {
  font-size: 1.5rem;
  color: #d96b9e;
  margin: 0 0 16px;
}
.cp-register--male .cp-register-done h2 { color: #5a9cf5; }
.cp-register-done p {
  font-size: 1rem;
  color: #4a3a5f;
  line-height: 1.95;
  margin: 0 0 24px;
}
.cp-register-line-btn {
  display: inline-block;
  padding: 18px 34px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
  transition: transform 0.15s;
}
.cp-register-line-btn:hover { transform: translateY(-2px); color: #fff; }

.cp-register-done-back {
  margin: 24px 0 0;
}
.cp-register-done-back a {
  color: #8a7a8f;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px dotted #d4c8d8;
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 720px) {
  .register-entry { padding: 44px 18px; }
  .register-entry-title { font-size: 1.6rem; }
  .register-entry-lead { font-size: 1.05rem; line-height: 1.85; }
  .register-entry-grid { grid-template-columns: 1fr; gap: 18px; }
  .register-entry-card { padding: 30px 24px 26px; }
  .register-entry-emoji { font-size: 3.2rem; }

  .cp-register-hero { padding: 100px 18px 50px; }
  .cp-register-hero h1 { font-size: 1.65rem; line-height: 1.5; }
  .cp-register-lead { font-size: 1.05rem; line-height: 1.95; }

  .cp-register-trust { padding: 28px 22px; margin-top: 28px; }
  .cp-register-trust h2 { font-size: 1.35rem; }
  .cp-register-trust-list li { font-size: 1rem; line-height: 1.85; }

  .cp-register-form-section { padding: 30px 22px; margin-top: 24px; }
  .cp-register-form-section h2 { font-size: 1.4rem; }
  .cp-form-row label { font-size: 1.05rem; }

  /* iPhone自動ズーム防止：input は最低16px */
  .cp-form-row input[type="text"],
  .cp-form-row input[type="email"],
  .cp-form-row select,
  .cp-form-row textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  .cp-form-checkbox label {
    font-size: 1rem;
    line-height: 1.85;
  }
  .cp-form-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  .cp-register-submit { font-size: 1.2rem; padding: 20px 24px; }

  .cp-register-done-inner { padding: 36px 22px; }
  .cp-register-done h2 { font-size: 1.4rem; }
  .cp-register-done p { font-size: 1rem; line-height: 1.85; }
  .cp-register-line-btn { font-size: 1.1rem; padding: 18px 28px; }
}

/* ===========================
   エラーメッセージ（フォーム送信失敗時）
=========================== */
.cp-register-error {
  margin: 18px 0;
  padding: 14px 18px;
  background: #fff0f3;
  border: 1px solid #ffb3c1;
  border-left: 4px solid #ff4d6d;
  border-radius: 8px;
  color: #8a1c2e;
  font-size: 0.95rem;
  line-height: 1.6;
}
.cp-register-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none !important;
}

