/* 絆太郎 操作マニュアル 共通スタイル
   スタッフ用・事業所管理者用・本部管理者用の3種で共有する */
* { box-sizing: border-box; }
body {
  margin: 0; background: #eef1f6; color: #1d252e;
  font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", Meiryo, sans-serif;
  font-size: 16px; line-height: 1.95; -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
.wrap { max-width: 760px; margin: 0 auto; background: #fff; }

/* 表紙 */
header { color: #fff; padding: 40px 24px 34px; }
header.staff { background: linear-gradient(135deg, #1A237E 0%, #283593 100%); }
header.office { background: linear-gradient(135deg, #12513a 0%, #1b6e4c 100%); }
header.super { background: linear-gradient(135deg, #4a3410 0%, #8a6720 100%); }
header .badge {
  display: inline-block; font-size: 12px; letter-spacing: .16em; font-weight: 700;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
}
header h1 { font-size: 27px; line-height: 1.5; margin: 0 0 12px; font-weight: 700; }
header p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.9); line-height: 1.85; }
header .meta { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2);
  font-size: 12.5px; color: rgba(255,255,255,.65); }

/* もくじ */
.toc { background: #f7f9fc; padding: 20px 24px; border-bottom: 1px solid #e4e9f0; }
.toc div.t { font-size: 12px; color: #7a8698; letter-spacing: .1em; font-weight: 700; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 14.5px; color: #35415a; }
.toc li { margin-bottom: 5px; }
.toc a { color: #1A237E; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

section { padding: 32px 24px; border-bottom: 1px solid #eceff4; }
section:last-of-type { border-bottom: none; }
h2 { font-size: 21px; line-height: 1.55; margin: 0 0 6px; font-weight: 700; }
h2 .no { color: #9aa4b2; font-size: 15px; margin-right: 10px; font-weight: 700; }
h2 + .sub { color: #6b7684; font-size: 14.5px; margin: 0 0 18px; }
h3 { font-size: 16.5px; margin: 28px 0 10px; font-weight: 700; }
p { margin: 0 0 16px; }
.lead { color: #46525f; }

figure { margin: 18px 0 22px; }
figure img { width: 100%; height: auto; display: block; border-radius: 10px;
  border: 1px solid #dde3ec; box-shadow: 0 2px 8px rgba(29,37,46,.09); }
figure figcaption { font-size: 13px; color: #78838f; margin-top: 8px; line-height: 1.75; }

.steps { counter-reset: s; margin: 6px 0 20px; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 13px 0 13px 50px;
  border-bottom: 1px solid #f0f2f6; font-size: 16px; }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 11px;
  width: 32px; height: 32px; border-radius: 50%; background: #38424e; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.steps small { display: block; color: #78838f; font-size: 13.5px; line-height: 1.7; margin-top: 2px; }

.note { border-left: 3px solid #b88835; background: #fdf9f1; padding: 16px 18px;
  margin: 20px 0; font-size: 15px; line-height: 1.9; border-radius: 0 8px 8px 0; }
.note.ok { border-left-color: #1B6E4C; background: #f0f7f3; }
.note.warn { border-left-color: #A8560B; background: #fdf5ea; }
.note b { display: block; margin-bottom: 4px; }

ul.plain { list-style: none; padding: 0; margin: 0 0 18px; }
ul.plain li { padding-left: 26px; position: relative; margin-bottom: 10px; line-height: 1.85; }
ul.plain li::before { content: '✓'; position: absolute; left: 0; color: #1B6E4C; font-weight: 700; }
ul.dot { padding-left: 1.3em; margin: 0 0 18px; }
ul.dot li { margin-bottom: 8px; }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 14px 0 20px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e9edf3; vertical-align: top; }
th { background: #f7f9fc; font-size: 12.5px; color: #6b7684; font-weight: 700; white-space: nowrap; }
.scroll { overflow-x: auto; }

.kbd { display: inline-block; background: #f1f4f8; border: 1px solid #d9e0e9;
  border-radius: 5px; padding: 1px 8px; font-size: 13.5px; font-weight: 700; color: #35415a; }

footer { background: #1d252e; color: rgba(255,255,255,.8); padding: 28px 24px;
  font-size: 14px; line-height: 1.9; }
footer strong { color: #fff; }
footer .small { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 16px;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }

.nav-other { padding: 22px 24px; background: #f7f9fc; border-top: 1px solid #e4e9f0; font-size: 14px; }
.nav-other a { display: inline-block; margin-right: 14px; color: #1A237E; }

@media (min-width: 800px) {
  body { padding: 26px 0; }
  .wrap { border-radius: 6px; overflow: hidden; box-shadow: 0 4px 26px rgba(29,37,46,.1); }
}
@media print {
  body { background: #fff; padding: 0; }
  .wrap { box-shadow: none; max-width: 100%; }
  .toc, .nav-other { break-after: avoid; }
  section { break-inside: avoid-page; }
  figure img { box-shadow: none; }
}
