:root {
  color-scheme: light;
  font-family: system-ui, "Yu Gothic UI", Meiryo, sans-serif;
  background: #f8f7f2;
  color: #18332e;
  line-height: 1.65;
  --green: #185846;
  --line: #c5d5ca;
  --muted: #4a6259;
}

* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; }
.shell { width: min(100% - 32px, 54rem); margin-inline: auto; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; min-height: 56px; align-items: center; font-weight: 800; text-decoration: none; }
main { padding-block: clamp(24px, 6vw, 64px); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.75rem, 5.6vw, 3.35rem); line-height: 1.25; letter-spacing: -.035em; }
h2 { margin-block: 32px 14px; font-size: 1.45rem; line-height: 1.3; }
h3 { font-size: 1.2rem; line-height: 1.35; }
p + p, h1 + p, h3 + p { margin-top: .7em; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #96601c;
  outline-offset: 3px;
}
button, input, select { font: inherit; min-width: 0; }
button, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
button:hover:not(:disabled) { border-color: var(--green); }
button:disabled { color: #5d6a64; background: #eef0ed; cursor: default; }
.primary { background: var(--green); border-color: var(--green); color: #fff; }
.primary:hover:not(:disabled) { background: #113f33; }
button[aria-pressed="true"] { background: #dcefe3; border-color: var(--green); color: #153f33; }

.hero, .panel {
  padding: clamp(20px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.hero { background: #e4efe6; }
.hero h1 { max-width: 19em; }
.hero p { max-width: 42em; }
.hero .primary { margin-top: 22px; }
.panel { background: #fff; }
.examples ul, .cards, .selected-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.examples li, .card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.footer { padding: 24px 0; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer a { display: inline-block; margin-block: 8px; }
.progress, .selected-count, .pick-count, .industry { color: var(--muted); font-size: .875rem; font-weight: 700; }
.progress { margin-bottom: 10px; }
.selected-count, .filters, .other, fieldset { margin-top: 16px; }
.selected-list { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
.selected-list:empty { margin-top: 0; }
.selected-list li { max-width: 100%; }
label { display: block; font-weight: 700; }
input[type="search"], input[type="text"], select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
}
.filters, .actions, .choices { display: flex; flex-wrap: wrap; gap: 8px; }
.actions { margin-top: 20px; }
.filters button { padding-inline: 10px; }
.work-list {
  display: grid;
  gap: 6px;
  max-height: 17rem;
  overflow: auto;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.work-list button { justify-content: flex-start; text-align: left; }
.other .actions { margin-top: 0; }
.other select { width: auto; max-width: 100%; }
.other label + input { margin-bottom: 8px; }
fieldset { min-inline-size: 0; margin-inline: 0; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
legend { font-weight: 800; padding-inline: 6px; max-width: 100%; }
.choices { margin-top: 6px; }
.choices button { flex: 1 1 13rem; text-align: left; justify-content: flex-start; }
.answer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 16rem;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.answer:has(:checked) { background: #dcefe3; border-color: var(--green); }
.answer input { accent-color: var(--green); flex: none; }
.result-hero { background: #dcece1; border-top: 5px solid var(--green); }
.catch { font-size: clamp(1.15rem, 3vw, 1.55rem); font-weight: 800; }
.notice { padding: 12px 16px; margin-top: 14px; border-left: 4px solid #8b622e; background: #f4ead6; }
.bars { display: grid; gap: 12px; margin: 0; padding-left: 1.5em; font-weight: 700; }
.bar { height: 10px; background: #dbe6de; border-radius: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.reason { border-left: 3px solid #a4bfad; padding-left: 10px; }
.job-links { display: grid; margin-top: 8px; }
.job-links a { display: flex; align-items: center; min-height: 44px; font-weight: 650; }
@media (min-width: 680px) {
  .cards, .examples ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
