/* Fukui's Seafood Heritage — interview interest page.
   White paper, near-black ink (the card's #231f20), one column, lots of air. */

:root {
  --ink: #231f20;
  --muted: #5f5b5c;
  --line: #cfcccc;
  --paper: #ffffff;
  --error: #b3261e;
  --gutter: clamp(20px, 6vw, 48px);
  --font: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) body, html:lang(ja) body { line-height: 1.8; }

main, .bar, footer {
  max-width: 38rem;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ── language switch ─────────────────────────────── */
.bar { display: flex; justify-content: flex-end; padding-top: 20px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 15px; color: var(--muted); }
.lang button {
  font: inherit; color: var(--muted); background: none; border: 0;
  padding: 10px 8px; min-height: 44px; cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 0.35em; }

/* ── hero (mirrors the business card) ────────────── */
.hero { padding-top: clamp(40px, 10vw, 88px); }
.eyebrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.eyebrow p { margin: 0; font-size: 16px; }
.hook { width: 22px; height: 35px; flex: none; color: var(--ink); }
h1 {
  margin: clamp(40px, 9vw, 72px) 0 0;
  font-size: clamp(40px, 10.5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}
html:lang(ja) h1 { letter-spacing: 0.02em; line-height: 1.2; }
.affil { margin: 20px 0 0; color: var(--muted); font-size: 16px; }

/* ── intro ───────────────────────────────────────── */
.intro { padding-top: clamp(40px, 9vw, 64px); }
.intro p { margin: 0 0 1em; max-width: 34em; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 28px; margin-top: 16px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 0;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1.3;
  text-decoration: none; text-align: center; cursor: pointer;
}
.button:hover { background: #000; text-decoration: none; }
.button[disabled] { opacity: 0.55; cursor: progress; }
@media (max-width: 520px) { .button { width: 100%; } }

/* ── form ────────────────────────────────────────── */
.register { padding-top: clamp(72px, 16vw, 120px); scroll-margin-top: 16px; }
.register:focus { outline: none; }
h2 { font-size: 24px; line-height: 1.3; margin: 0 0 12px; font-weight: 700; }
.note { margin: 0 0 32px; color: var(--muted); }

.field { margin: 0 0 28px; padding: 0; border: 0; min-width: 0; }
label, legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.hint { margin: -4px 0 8px; font-size: 15px; color: var(--muted); }

input[type="text"], input[type="email"], textarea, select {
  display: block; width: 100%;
  min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; }
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23231f20' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
[aria-invalid="true"] { border-color: var(--error) !important; }

.choices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.choice, .check { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; min-height: 44px; cursor: pointer; }
.check { align-items: flex-start; }
.check span { padding-top: 10px; }
input[type="radio"], input[type="checkbox"] {
  width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink);
}
.check input { margin-top: 11px; }

.err { margin: 8px 0 0; color: var(--error); font-size: 15px; }
.summary { border-left: 3px solid var(--error); padding: 10px 14px; margin: 0 0 28px; color: var(--error); }
.summary a { color: var(--error); }

.privacy { font-size: 15px; color: var(--muted); margin: 0 0 24px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success { border-top: 1px solid var(--ink); padding-top: 24px; }
.success:focus { outline: none; }
.success h3 { font-size: 22px; margin: 0 0 8px; line-height: 1.35; }
.success p { margin: 0 0 8px; }

/* ── contact & footer ────────────────────────────── */
.contact { padding-top: clamp(72px, 16vw, 120px); }
.contact h2 { font-size: 16px; margin: 0 0 6px; }
.contact p { margin: 0 0 32px; overflow-wrap: anywhere; }
.team { list-style: none; margin: 0; padding: 0; }

footer { padding-top: 72px; padding-bottom: max(40px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
footer p { margin: 0; }
