/* ========================================
   ニキビ跡クレーター治療LP - Form Styles
   Matches existing nikibi LP form patterns
   ======================================== */

.form-wrap-content {
  padding: 0;
  max-width: 800px;
  margin: 0 auto 32px;
}

/* WordPress MW WP Form integration styles */
.form-wrap tr {
  margin: 24px auto;
  display: flex;
  align-items: flex-start;
}

.form-wrap th {
  display: flex;
  flex-direction: column-reverse;
  align-items: baseline;
  width: 200px;
  font-size: 18px;
  color: #3E3A39;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  letter-spacing: 0.01em;
}

.form-wrap td {
  flex: 1;
  display: flex;
}

.required {
  font-weight: normal;
  font-size: 10px;
  color: #E60012;
  border: solid 1px #E60012;
  padding: 4.5px 12px 4px;
  border-radius: 6.75px;
  background: white;
}

.ninni {
  font-weight: normal;
  font-size: 10px;
  color: #1E5199;
  border: solid 1px #1E5199;
  padding: 4.5px 12px 4px;
  border-radius: 6.75px;
  background: white;
}

.validation_message {
  display: none;
  color: #E60012;
  font-size: 14px;
  line-height: 44px;
  margin: 0 0 0 24px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  border: solid 1px #595757;
  border-radius: 7px;
  font-size: 16px;
  padding: 10px 16px;
  width: 100%;
  max-width: 500px;
  font-family: 'Noto Sans JP', sans-serif;
}

input::placeholder {
  font-size: 16px;
  color: #B5B5B6;
}

select {
  border: solid 1px #595757;
  border-radius: 7px;
  font-size: 16px;
  padding: 10px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  background: white;
}

textarea {
  border: solid 1px #595757;
  border-radius: 7px;
  font-size: 16px;
  padding: 10px 16px;
  width: 100%;
  max-width: 500px;
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 120px;
  resize: vertical;
}

input[type="radio"] {
  margin-right: 6px;
}

.form-wrap label {
  cursor: pointer;
  margin-right: 16px;
  font-size: 15px;
}

/* Submit button */
input[type="submit"],
button[type="submit"] {
  display: inline-block;
  background: var(--orange-color);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 64px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  box-shadow: 0 4px 12px rgba(237, 114, 27, 0.3);
  font-family: 'Noto Sans JP', sans-serif;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  opacity: 0.8;
}

/* SP form adjustments */
@media screen and (max-width: 1100px) {
  .form-wrap tr {
    flex-direction: column;
    gap: 8px;
  }

  .form-wrap th {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .form-wrap td {
    width: 100%;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    max-width: 100%;
    font-size: 16px;
  }

  select {
    width: 100%;
    font-size: 16px;
  }
}
