body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
}

.form-container {
  max-width: 600px;
  margin: 5px auto;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  align-items: center;
  margin-top: 15px;
  gap: 15px;
}

.form-row label {
  flex: 0 0 200px;
  font-weight: bold;
  margin-top: 0;
}

.form-row input,
.form-row select,
.form-row textarea {
  flex: 1;
  padding: 10px;
  margin-top: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.required {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  height: 100px;
}

.agreement {
  margin: 20px 0;
  font-size: 14px;
}

button {
  background-color: #f08100;
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

button:hover {
  background-color: #d96e00;
}

.agreement-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.agreement-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.terms-link {
  color: #007bff;
  text-decoration: underline;
}

/* Honeypot field styling */
input[name="website"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* reCAPTCHA v3 is invisible, no additional styling needed */

/* スマホ用CSS */
@media (max-width: 767px) {
  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .form-row label {
    flex: none;
    width: 100%;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    flex: none;
    width: 100%;
  }

  input, textarea {
    width: 94%;
  }
}