/* ============================================
   job-posting.css — 求人掲載フォームページ
   ============================================ */

/* --- Honeypot --- */
.jp-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* --- Hero --- */
.jp-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1207 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid #2a2a2a;
}

.jp-hero-inner {
  max-width: 760px;
}

.jp-hero-kicker {
  font-size: 13px;
  color: #c9a84c;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 8px 0 16px;
}

.jp-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 20px;
}

.jp-hero-lead {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 600px;
}

.jp-hero-steps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.jp-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  padding: 10px 16px;
}

.jp-step span {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #c9a84c;
  line-height: 1;
}

.jp-step p {
  margin: 0;
  font-size: 13px;
  color: #ccc;
  font-weight: 500;
}

/* --- Form section --- */
.jp-form-section {
  padding: 60px 0 80px;
  background: #0f0f0f;
}

/* --- Sent box --- */
.jp-sent-box {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}

.jp-sent-icon {
  font-size: 56px;
  color: #c9a84c;
  margin-bottom: 24px;
}

.jp-sent-box h2 {
  font-size: 24px;
  color: #fff;
  margin: 0 0 16px;
}

.jp-sent-box p {
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
  margin: 0 0 32px;
}

/* --- Alert --- */
.jp-alert {
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 14px;
}

.jp-alert-error {
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #f88;
}

.jp-alert-error strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.jp-alert-error ul {
  margin: 0;
  padding-left: 20px;
}

.jp-alert-error li {
  margin-bottom: 4px;
}

/* --- Form sections --- */
.jp-section {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}

.jp-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #141414;
  border-bottom: 1px solid #2a2a2a;
}

.jp-section-num {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #c9a84c;
  line-height: 1;
  min-width: 28px;
}

.jp-section-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.04em;
}

.jp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  padding: 24px;
}

.jp-fields-benefit {
  grid-template-columns: repeat(4, 1fr);
}

.jp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jp-field.jp-field-full {
  grid-column: 1 / -1;
}

.jp-field > span {
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
}

.jp-field > span em {
  color: #e06060;
  font-style: normal;
  margin-left: 3px;
}

.jp-field input,
.jp-field select,
.jp-field textarea {
  background: #111;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 14px;
  color: #eee;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.jp-field input:focus,
.jp-field select:focus,
.jp-field textarea:focus {
  outline: none;
  border-color: #c9a84c;
  background: #151505;
}

.jp-field input::placeholder,
.jp-field textarea::placeholder {
  color: #555;
  font-size: 13px;
}

.jp-field select option {
  background: #1a1a1a;
  color: #eee;
}

.jp-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* --- Privacy / Agree --- */
.jp-section-agree {
  padding: 24px;
  background: #1a1a1a;
}

.jp-privacy-box {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.jp-privacy-box h3 {
  font-size: 13px;
  font-weight: 700;
  color: #c9a84c;
  margin: 0 0 8px;
}

.jp-privacy-box p {
  font-size: 12px;
  color: #888;
  line-height: 1.7;
  margin: 0;
}

.jp-agree-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #ccc;
}

.jp-agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #c9a84c;
  flex-shrink: 0;
  cursor: pointer;
}

.jp-agree-label span em {
  color: #e06060;
  font-style: normal;
  margin-left: 3px;
}

/* --- btn-outline override for dark page --- */
.jp-main .btn-outline {
  color: #ccc;
  border-color: #555;
  background: transparent;
}
.jp-main .btn-outline:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.08);
}

/* --- Actions --- */
.jp-form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 0 0;
}

/* --- Form note (必須項目) --- */
.jp-form-note {
  font-size: 12px;
  color: #777;
  margin: 0 0 16px;
  text-align: right;
}

.jp-form-note em {
  color: #e06060;
  font-style: normal;
}

/* --- Confirmation screen --- */
.jp-confirm-header {
  text-align: center;
  margin-bottom: 32px;
}

.jp-confirm-header h2 {
  font-size: 22px;
  color: #fff;
  margin: 0 0 8px;
}

.jp-confirm-header p {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.jp-confirm-body {
  margin-bottom: 32px;
}

.jp-confirm-section {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.jp-confirm-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #141414;
  border-bottom: 1px solid #2a2a2a;
}

.jp-confirm-section-head span {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: #c9a84c;
  font-weight: 700;
}

.jp-confirm-section-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.jp-confirm-table {
  width: 100%;
  border-collapse: collapse;
}

.jp-confirm-table tr:last-child td {
  border-bottom: none;
}

.jp-confirm-table td {
  padding: 10px 20px;
  border-bottom: 1px solid #232323;
  font-size: 13px;
  vertical-align: top;
}

.jp-confirm-table td:first-child {
  width: 38%;
  color: #888;
  font-weight: 500;
  white-space: nowrap;
}

.jp-confirm-table td:last-child {
  color: #ddd;
  word-break: break-all;
}

.jp-confirm-empty {
  color: #555;
  font-style: italic;
}

/* Back + submit buttons side by side on wide screens */
.jp-form-actions .btn + .btn {
  margin-top: 0;
}

@media (min-width: 600px) {
  .jp-form-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .jp-fields {
    grid-template-columns: 1fr;
  }
  .jp-fields-benefit {
    grid-template-columns: 1fr 1fr;
  }
  .jp-field.jp-field-full {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .jp-hero {
    padding: 56px 0 40px;
  }
  .jp-hero-steps {
    flex-direction: column;
  }
  .jp-fields-benefit {
    grid-template-columns: 1fr;
  }
  .jp-section-head {
    padding: 14px 16px;
  }
  .jp-fields {
    padding: 16px;
    gap: 12px;
  }
}

/* ============================================
   index.html — 採用担当者CTA section
   ============================================ */
.employer-cta {
  background: linear-gradient(135deg, #0e0d07 0%, #1a1506 100%);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 72px 0;
}

.employer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.employer-cta-copy {
  flex: 1;
  min-width: 260px;
}

.employer-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.employer-cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 12px;
}

.employer-cta-text {
  font-size: 14px;
  color: #888;
  line-height: 1.75;
  margin: 0;
}

.employer-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.employer-cta-sub {
  font-size: 12px;
  color: #666;
  margin: 0;
}

@media (max-width: 640px) {
  .employer-cta {
    padding: 48px 0;
  }
  .employer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .employer-cta-action {
    width: 100%;
  }
  .employer-cta-action .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
