:root {
  color-scheme: light;
  --page: #edf2f0;
  --surface: #fffefa;
  --ink: #1e2b2b;
  --muted: #667473;
  --line: #d4ddda;
  --accent: #16736f;
  --accent-hover: #0f5754;
  --notice: #8a3d31;
  --soft: #f4f7f5;
  --font-body: "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--page); font-family: var(--font-body); line-height: 1.65; }
button, input, select, textarea { font: inherit; }
.page-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px; }
.support-shell { width: min(1080px, 100%); display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.media-panel { position: relative; min-height: 100%; margin: 0; border-right: 1px solid var(--line); background: #dfe8e5; }
.media-panel picture, .media-panel img { display: block; width: 100%; height: 100%; }
.media-panel img { min-height: 720px; object-fit: cover; object-position: 72% center; }
.form-panel { padding: 40px 48px 48px; }
.form-header { margin-bottom: 32px; }
.site-label { margin: 0 0 8px; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .05em; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.25; letter-spacing: -.03em; }
.form-header > p:last-child { margin: 0; color: var(--muted); font-size: .92rem; }
form { display: grid; gap: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .86rem; font-weight: 700; }
.field label span { margin-left: 8px; color: var(--accent); font-size: .68rem; }
.field-help, .security-note { margin: 0; font-size: .76rem; line-height: 1.5; }
.field-help { color: var(--muted); }
.security-note { color: var(--notice); }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 12px; color: var(--ink); background: white; outline: none; }
textarea { min-height: 136px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid rgba(22, 115, 111, .14); outline-offset: 0; }
.privacy { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.privacy summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.privacy p:last-child { margin-bottom: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
button { min-height: 48px; border: 1px solid var(--accent); border-radius: 5px; padding: 12px 16px; color: white; background: var(--accent); font-weight: 700; cursor: pointer; }
button:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .6; }
.form-status { display: none; margin: 0; padding: 12px; border-left: 3px solid currentColor; background: var(--soft); font-weight: 700; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: var(--accent-hover); }
.form-status.is-error { color: var(--notice); }
.trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 820px) {
  .page-wrap { padding: 0; place-items: stretch; }
  .support-shell { grid-template-columns: 1fr; border: 0; border-radius: 0; }
  .media-panel { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .media-panel img { min-height: 260px; height: 42vw; max-height: 390px; object-position: center 42%; }
  .form-panel { padding: 32px 24px 48px; }
}
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .form-panel { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
