@charset "UTF-8";
/* ===================================================================
   採用サイト工房 CVフォーム本格版 共通スタイル
   LP (lp-fv-02n-124) のトンマナを継承：
   - Noto Sans JP + Outfit
   - アクセント：#2563eb / グラデ #60a5fa → #3b82f6
   - 青グラデ pulse CTA
   =================================================================== */
:root {
  --accent: #2563eb;
  --accent-dark: #1e40af;
  --accent-light: #60a5fa;
  --accent-pale: #93c5fd;
  --text: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --border: #e2e8f0;
  --border-focus: #60a5fa;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-step-active: #eff6ff;
  --error: #dc2626;
  --error-bg: #fee2e2;
  --error-border: #fca5a5;
  --success: #059669;
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-btn: 0 16px 40px rgba(59, 130, 246, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--bg-soft);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* ================ HEADER ================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  color: var(--text);
}
.logo-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 22%;
}
.logo-main { color: var(--text); }
.logo-sub { color: var(--accent); }
.header-back {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.header-back:hover { color: var(--accent); }

/* ================ STEP INDICATOR ================ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.step-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.step-item.is-active {
  background: var(--bg-step-active);
  border-color: var(--accent-light);
  color: var(--accent-dark);
}
.step-item.is-done {
  background: #e0f2fe;
  border-color: var(--accent-light);
  color: var(--accent-dark);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.step-item.is-active .step-num,
.step-item.is-done .step-num {
  background: linear-gradient(135deg, var(--accent-light) 0%, #3b82f6 100%);
}
.step-arrow { color: var(--text-faint); }

/* ================ MAIN ================ */
.main {
  flex: 1;
  padding: 48px 20px 72px;
}
.container {
  max-width: 680px;
  margin: 0 auto;
}
.container-wide { max-width: 820px; margin: 0 auto; }

/* ================ HERO ================ */
.hero {
  text-align: center;
  margin-bottom: 36px;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  background: #eff6ff;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}
.hero h1 .accent {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1e40af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ================ CARD ================ */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

/* ================ ERROR BANNER ================ */
.error-banner {
  display: none;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: #991b1b;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}
.error-banner.show { display: block; }

/* ================ FORM ================ */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.form-required {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--error);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.form-optional {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: #cbd5e1;
  font-weight: 400;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}
.form-input.invalid, .form-select.invalid, .form-textarea.invalid {
  border-color: var(--error);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}
.form-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--error);
  font-weight: 500;
}
.form-error.show { display: block; }

/* ================ PRIVACY ================ */
.privacy {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.privacy-text {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
}
.privacy-text a { color: var(--accent); text-decoration: underline; }

/* ================ SUBMIT BUTTON ================ */
.submit-wrap { text-align: center; }
.submit-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 420px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border: none;
  border-radius: 100px;
  padding: 18px 36px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: btnPulse 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(96, 165, 250, 0.4);
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
  transform: none;
}
.submit-btn .sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(96, 165, 250, 0); }
}

.secondary-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
  padding: 12px 16px;
  border-top: 1px dashed var(--border);
}
.secondary-link span {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.secondary-link:hover span { color: var(--accent-dark); }

/* ================ STEP2 : date tabs ================ */
.step2-head {
  text-align: center;
  margin-bottom: 28px;
}
.step2-head h1 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 10px;
}
.step2-sub {
  font-size: 13px;
  color: var(--text-sub);
}

.date-tabs-wrap {
  margin-bottom: 24px;
  position: relative;
}
.date-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.date-tabs::-webkit-scrollbar { height: 4px; }
.date-tabs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.date-tab {
  flex: 0 0 auto;
  min-width: 68px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.4;
  font-family: inherit;
}
.date-tab .dt-weekday { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.date-tab.has-no-slot { opacity: 0.45; cursor: not-allowed; }
.date-tab:hover:not(.has-no-slot):not(.is-active) {
  border-color: var(--accent-light);
  color: var(--accent);
}
.date-tab.is-active {
  background: linear-gradient(135deg, var(--accent-light) 0%, #3b82f6 100%);
  border-color: transparent;
  color: #fff;
}
.date-tab.is-active .dt-weekday { color: rgba(255, 255, 255, 0.85); }

/* ================ Time slots ================ */
.slot-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 14px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 8px;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.slot-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.slot-btn:hover:not(:disabled) {
  border-color: var(--accent-light);
  background: #f0f9ff;
  color: var(--accent-dark);
}
.slot-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: var(--bg-soft);
  text-decoration: line-through;
}
.slot-btn.is-selected {
  background: linear-gradient(135deg, var(--accent-light) 0%, #3b82f6 100%);
  border-color: transparent;
  color: #fff;
}

.slot-empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--bg-soft);
  border-radius: 10px;
}

.selected-bar {
  display: none;
  background: var(--bg-step-active);
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  text-align: center;
}
.selected-bar.show { display: block; }
.selected-bar .sm { font-size: 11px; color: var(--text-sub); font-weight: 500; margin-top: 2px; }

.or-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.14em;
  margin: 28px 0 20px;
  position: relative;
}
.or-divider::before, .or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--border);
}
.or-divider::before { left: calc(50% - 100px); }
.or-divider::after { right: calc(50% - 100px); }

/* ================ Thanks ================ */
.thanks-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 50%;
  margin-bottom: 28px;
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.25);
}
.icon-wrap svg { width: 40px; height: 40px; color: #fff; }

.thanks-head {
  font-size: clamp(24px, 5.5vw, 32px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text);
}
.thanks-lead {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 32px;
}

.info-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  text-align: left;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}
.info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.info-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.info-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.85;
}
.info-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-sub);
}
.info-meta strong {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  transition: color 0.2s, border-color 0.2s;
}
.back-btn:hover {
  color: var(--accent);
  border-color: var(--accent-light);
}

/* ================ Spinner / Loading ================ */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.loading::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================ FOOTER ================ */
.footer {
  background: #0f172a;
  color: #fff;
  padding: 32px 20px;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  display: inline-flex;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-logo-main { color: #fff; }
.footer-logo-sub { color: var(--accent-light); }
.footer-text { font-size: 12px; color: rgba(255, 255, 255, 0.7); margin-bottom: 4px; }
.footer-copy { font-size: 11px; color: rgba(255, 255, 255, 0.45); margin-top: 8px; }

/* ================ RESPONSIVE ================ */
@media (max-width: 640px) {
  .main { padding: 32px 14px 56px; }
  .card { padding: 26px 18px; border-radius: 14px; }
  .hero { margin-bottom: 26px; }
  .form-group { margin-bottom: 18px; }
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* iOS ズーム防止 */
    padding: 13px 14px;
  }
  .submit-btn { padding: 16px 24px; font-size: 15px; }
  .submit-btn .sub { letter-spacing: -0.01em; }
  .privacy { padding: 14px 16px; }
  .step-indicator { font-size: 11px; gap: 6px; flex-wrap: wrap; }
  .step-item { padding: 5px 10px 5px 7px; }
  .date-tab { min-width: 62px; padding: 9px 10px; font-size: 12.5px; }
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
  .slot-btn { padding: 11px 8px; font-size: 13.5px; }
  .selected-bar { padding: 12px 14px; font-size: 13px; }
  .or-divider::before, .or-divider::after { width: 48px; }
  .or-divider::before { left: calc(50% - 72px); }
  .or-divider::after  { right: calc(50% - 72px); }
  .icon-wrap { width: 68px; height: 68px; margin-bottom: 22px; }
  .icon-wrap svg { width: 34px; height: 34px; }
  .info-box { padding: 20px 20px; border-radius: 12px; }
}
@media (min-width: 1024px) {
  .main { padding: 64px 20px 88px; }
  .card { padding: 44px 40px; }
}
@media (min-width: 1440px) {
  .card { padding: 52px 48px; }
}

/* ================ SLOT TAKEN MODAL ================ */
/* step2 で日時選択時、submit-step2.php が 409 slot_taken を返した場合の通知モーダル
   - 中央配置・既存トーン継承（青グラデアクセント・角丸・Noto Sans JP）
   - 背景クリック／ESC／ボタンで閉じる
   - iOS WebKit 対策：position: fixed + inset:0、overscroll-behavior: contain、-webkit-tap-highlight-color */
.slot-taken-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
}
.slot-taken-modal[hidden] { display: none !important; }
.slot-taken-modal.is-open { display: flex; }

.slot-taken-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: slotTakenBackdropIn 0.18s ease-out;
}

.slot-taken-modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25), 0 4px 12px rgba(15, 23, 42, 0.1);
  text-align: center;
  animation: slotTakenCardIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.slot-taken-modal__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1e40af 100%);
}

.slot-taken-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--accent);
  margin-bottom: 18px;
}

.slot-taken-modal__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.slot-taken-modal__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub);
  margin: 0 0 24px;
  /* CJK 単語の途中で折らない（句読点でのみ折る）／長すぎる単語のフォールバック */
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.slot-taken-modal__btn {
  width: 100%;
  max-width: 320px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border: none;
  border-radius: 100px;
  padding: 15px 28px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.slot-taken-modal__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.35);
}
.slot-taken-modal__btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}
.slot-taken-modal__btn:focus-visible {
  outline: 3px solid var(--accent-pale);
  outline-offset: 2px;
}

@keyframes slotTakenBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slotTakenCardIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .slot-taken-modal { padding: 16px; }
  .slot-taken-modal__card { padding: 28px 18px 24px; border-radius: 18px; }
  .slot-taken-modal__icon { width: 52px; height: 52px; margin-bottom: 16px; }
  .slot-taken-modal__icon svg { width: 28px; height: 28px; }
  .slot-taken-modal__title { font-size: 17px; }
  .slot-taken-modal__body { font-size: 13px; line-height: 1.8; margin-bottom: 22px; }
  .slot-taken-modal__btn { font-size: 14.5px; padding: 14px 24px; }
}
@media (max-width: 360px) {
  /* iPhone SE 旧型等の極狭幅：さらに padding/フォントを詰める */
  .slot-taken-modal { padding: 12px; }
  .slot-taken-modal__card { padding: 26px 14px 22px; }
  .slot-taken-modal__title { font-size: 16px; }
  .slot-taken-modal__body { font-size: 12.5px; }
}

/* スクロール固定（モーダル表示中は body スクロールを止める） */
body.slot-taken-modal-open {
  overflow: hidden;
}

/* ================ AGREE CHECKBOX (利用規約・プライバシーポリシー同意) ================ */
.cv-agree {
  margin: 24px 0 16px;
  padding: 0;
}
.cv-agree__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
}
.cv-agree__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1.5px solid #d1d5db;
  border-radius: 3px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.cv-agree__label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cv-agree__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.cv-agree__text a {
  color: var(--accent);
  text-decoration: underline;
}
.cv-agree__text a:hover {
  color: var(--accent-dark);
}

/* PC専用：余白を拡張＋文字色を明示再宣言（CSS変数解決失敗・上書きへの保険）。
   SP（@media max-width: 640px）と完全排他で SP 動作1pxも変えない。 */
@media (min-width: 641px) {
  .cv-agree {
    margin: 28px 0 28px;
  }
  .cv-agree__text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #64748b;
  }
  .cv-agree__text a {
    color: #3b82f6;
  }
  .cv-agree__text a:hover {
    color: #2563eb;
  }
}
