/* デジタル庁デザインシステム（DADS）に沿う：青1色・本文16px（最小14px）・フォーカスは黒4px＋黄 */
:root {
  --blue: #0031d8;
  --blue-dark: #00118f;
  --blue-bg: #e8f1fe;
  --ink: #1a1a1a;
  --sub: #4d4d4d;
  --line: #cccccc;
  --bg: #f8f8fb;
  --error: #ce0000;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif; font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0 16px; margin-bottom: 24px; }
h1 { font-size: 28px; margin: 0 0 4px; line-height: 1.4; }
h2 { font-size: 20px; margin: 0 0 16px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.badge { display: inline-block; margin-left: 12px; font-size: 14px; padding: 2px 10px; border: 1px solid var(--blue); color: var(--blue); border-radius: 4px; vertical-align: middle; }
.lead { margin: 0; color: var(--sub); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.btn { display: inline-block; font: inherit; font-size: 16px; padding: 10px 20px; border-radius: 8px; border: 1px solid var(--blue); background: #fff; color: var(--blue); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--blue-bg); text-decoration: underline; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn[disabled] { background: #cccccc; border-color: #cccccc; color: #666; cursor: not-allowed; text-decoration: none; }
.btn.small { font-size: 14px; padding: 6px 14px; }
.btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
:focus-visible { outline: 4px solid #000; outline-offset: 2px; box-shadow: 0 0 0 2px #ffd43d; }
input[type=password], input[type=number] { font: inherit; padding: 8px 12px; border: 1px solid #767676; border-radius: 8px; }
input[type=number] { width: 110px; }
.drop { display: block; border: 2px dashed var(--blue); border-radius: 8px; padding: 32px; text-align: center; background: var(--blue-bg); cursor: pointer; margin-bottom: 16px; }
.drop.over { background: #d0e2fd; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-main { display: block; font-size: 17px; color: var(--blue-dark); font-weight: bold; }
.drop-sub { display: block; font-size: 14px; color: var(--sub); }
.info { display: grid; grid-template-columns: max-content 1fr; gap: 2px 16px; margin: 0 0 16px; font-size: 15px; }
.info dt { color: var(--sub); }
.info dd { margin: 0; }
.options label { font-weight: bold; }
.hint { font-size: 14px; color: var(--sub); }
.error { color: var(--error); font-weight: bold; min-height: 1.7em; }
.steps { margin: 0 0 12px; padding-left: 1.4em; }
.steps li { color: var(--sub); }
.steps li.doing { color: var(--blue); font-weight: bold; }
.steps li.done { color: var(--ink); }
.steps li.done::after { content: "（完了）"; color: #118a3a; font-size: 14px; margin-left: 6px; }
.bar { height: 8px; background: #e6e6e6; border-radius: 4px; overflow: hidden; }
.bar div { height: 100%; width: 0; background: var(--blue); transition: width .3s; }
.status { font-size: 15px; color: var(--sub); }
.summary { border-collapse: collapse; margin-bottom: 16px; min-width: 520px; }
.summary th, .summary td { border: 1px solid var(--line); padding: 6px 14px; text-align: left; font-size: 15px; }
.summary th { background: #f2f2f2; }
.summary td.num { text-align: right; }
.legend { font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 4px; vertical-align: -2px; }
.canvas-box { border: 1px solid var(--line); overflow: auto; max-height: 820px; background: #fff; }
.canvas-box canvas { display: block; width: 100%; height: auto; }
.check-list { columns: 3; font-size: 15px; padding-left: 1.2em; }
.foot { font-size: 14px; color: var(--sub); padding-bottom: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
