* { box-sizing: border-box; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  background: #f7f5f2;
  color: #333;
  margin: 0;
  padding: 20px;
  line-height: 1.7;
}
.container {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
h1 {
  font-size: 22px;
  border-bottom: 3px solid #c9a87c;
  padding-bottom: 12px;
  margin-top: 0;
  color: #6b4f2a;
}
.form-row {
  margin-bottom: 24px;
}
label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
.required {
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
}
textarea { resize: vertical; }
.note {
  font-size: 13px;
  color: #777;
  margin-top: 8px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}
button {
  cursor: pointer;
  border: none;
  border-radius: 5px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
}
.submit-row button,
.btn-primary {
  background: #c9a87c;
  color: #fff;
  width: 100%;
}
.submit-row button:hover,
.btn-primary:hover {
  background: #b3925f;
}
.btn-secondary {
  background: #eee;
  color: #333;
  margin-right: 10px;
}
.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}
.error-box {
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #a94442;
  padding: 14px 18px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.error-box ul { margin: 0; padding-left: 20px; }
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}
.confirm-table th, .confirm-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.confirm-table th {
  width: 35%;
  color: #6b4f2a;
  white-space: nowrap;
}
