/* Add after the existing form stylesheet; keep the server's form processing unchanged. */
body { margin: 0; background: #fff9f0; color: #33301f; font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; font-style: normal; line-height: 1.9; }
* { box-sizing: border-box; }
#wrapper { max-width: 960px; width: 92%; margin: 36px auto; }
#main, .section__body { width: 100%; }
.section, .contact-panel { padding: clamp(20px, 4vw, 32px); background: #fff; border: 1px solid #e9dcc0; border-radius: 22px; box-shadow: 0 14px 30px -24px #33301f; }
.section__ttl { color: #496348; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.6; margin: 0 0 20px; }
.table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.table th { width: 32%; text-align: left; color: #496348; font-weight: 700; }
.table th, .table td { padding: 18px 12px; border-bottom: 1px solid #e9dcc0; vertical-align: top; overflow-wrap: anywhere; background: #fff; }
input, select, textarea, button { font: inherit; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; max-width: 100%; border: 1px solid #afa78e; padding: 12px;
  border-radius: 10px; background: #fff; color: #33301f;
}
textarea { min-height: 160px; resize: vertical; }
.red, .red_txt { color: #9a3026; }
.button_box { margin: 24px 0 0; text-align: center; }
input[type="submit"], .contact-button {
  border: 1px solid #496348; background: #496348; color: #fff; padding: 12px 28px;
  border-radius: 999px; font-weight: 700; cursor: pointer;
}
input[type="submit"]:hover, .contact-button:hover { background: #3f573e; }
a { color: #496348; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #72640a; outline-offset: 4px; }
@media (max-width: 640px) {
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding: 18px 0 6px; }
  .table td { padding: 0 0 18px; }
}
