.recruit-form-section {
  position: relative;
  padding: 1em;
  background: linear-gradient(to bottom, #fff7f9, #fefefe);
  font-family: 'Yu Mincho', serif;
  color: #333;
  overflow: hidden;
  z-index: 1;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,192,203,0.2) 20%, transparent 70%) center/8% 8%, 
              radial-gradient(circle, rgba(255,182,193,0.2) 15%, transparent 60%) center/12% 12%;
  animation: floatBackground 15s linear infinite;
  filter: blur(4px);
  opacity: 0.5;
}

@keyframes floatBackground {
  0% { background-position: 0 0, 100% 100%; }
  50% { background-position: 50% 50%, 0% 100%; }
  100% { background-position: 0 0, 100% 100%; }
}

.recruit-form-section > *:not(.animated-bg) {
  position: relative;
  z-index: 2;
}

.form-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}

.form-header h2 {
  font-size: 2.6rem;
  color: #c45085;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.form-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.recruit-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  padding: 0 1rem;
}

.recruit-form label {
  font-weight: bold;
  color: #a03c6c;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.recruit-form input,
.recruit-form select,
.recruit-form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  font-family: 'Yu Mincho', serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.recruit-form input:focus,
.recruit-form select:focus,
.recruit-form textarea:focus {
  outline: none;
  border-color: #e88db0;
  box-shadow: 0 0 0 3px rgba(232, 141, 176, 0.2);
}

.recruit-form textarea {
  resize: vertical;
  min-height: 140px;
}

input[type="file"] {
  padding: 1rem;
  border: 1px dashed #ccc;
  background-color: #fafafa;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}

.submit-button {
  background-color: #e88db0;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  justify-self: center;
  width: fit-content;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
  background-color: #d36896;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .form-header h2 {
    font-size: 2.2rem;
  }

  .form-header p {
    font-size: 1rem;
  }

  .submit-button {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .form-header h2 {
    font-size: 1.8rem;
  }

  .form-header p {
    font-size: 0.95rem;
  }

  .recruit-form input,
  .recruit-form select,
  .recruit-form textarea {
    font-size: 0.95rem;
    padding: 0.8rem;
  }

  input[type="file"] {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .submit-button {
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
  }
}
