/* Shared styles for the plain sub-pages (contact / privacy / terms / 404). */
:root {
  --bg: #06040a;
  --surface: #0f0c16;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f2f8;
  --muted: #b3adc0;
  --accent: #f7b0ff;
  --accent-2: #8b5cff;
  --danger: #ff8a8a;
  --ok: #8ef0b5;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }

.site-header, .site-footer { border-color: var(--line); }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 20px 16px;
}
.site-header img { width: 132px; height: auto; display: block; }
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 80px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.25; margin: 0 0 12px; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: 20px; margin: 40px 0 8px; font-weight: 600; }
p, li { color: var(--muted); }
.lead { font-size: 18px; margin-bottom: 32px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; color: var(--muted); }
th { color: var(--text); background: var(--surface); font-weight: 600; }
.todo { background: rgba(255, 200, 0, 0.12); color: #ffd666; padding: 0 4px; border-radius: 3px; }

/* form */
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
label { font-weight: 500; color: var(--text); }
.req { color: var(--accent); margin-left: 2px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 160px; resize: vertical; }
.hint { font-size: 13px; color: var(--muted); }
.consent { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--surface); }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: #fff; color: #0a0810; justify-self: start;
}
.btn[disabled] { opacity: .55; cursor: progress; }
.status { min-height: 1.7em; margin: 0; }
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }

.contact-direct { margin: 0 0 32px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.contact-direct p { margin: 4px 0; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner { max-width: 1080px; margin: 0 auto; padding: 28px 16px 40px; font-size: 13px; color: var(--muted); }
.site-footer .inner p { margin: 2px 0; }
.site-footer nav { display: flex; gap: 16px; margin-bottom: 12px; }
.site-footer nav a { color: var(--text); text-decoration: none; }

@media (max-width: 480px) {
  .site-header nav { gap: 14px; font-size: 15px; }
  .btn { width: 100%; justify-self: stretch; }
}
