/* =========================================================
   外勤マニュアル（進捗アプリの使い方）＝ pages/manual-sales.html
   ご指示 2026-10-19「どんな人でも直感的にわかるように。長い文章は入れないで、
   簡単な文字や表記で。機能紹介・どう使うか・何の入力項目か」。
   ⚠ スマホで縦に読む1枚のページ（横長のスライドにしない）。
   ⚠ 色は進捗アプリ（shinchoku.css）にそろえる。アプリの続きに見えるように。
   ⚠ 文は短く。1つの文はおおむね40字まで（検査で見張る）。
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Helvetica Neue", Meiryo, "Yu Gothic", "Noto Sans JP", Arial, sans-serif;
  background: #EEF2F7;
  color: #0F172A;
  font-size: 15px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.ms-wrap { max-width: 560px; margin: 0 auto; padding: 0 12px 40px; }

/* ---- 上の帯（戻る・題名） ---- */
.ms-top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-bottom: 1px solid #E2E8F0;
  padding: 10px 12px; margin: 0 -12px 12px;
}
.ms-back {
  border: 1px solid #CBD5E1; background: #fff; color: #1E40AF; font: inherit; font-size: 13px;
  border-radius: 999px; padding: 5px 12px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.ms-top__t { font-weight: 700; font-size: 15px; }

/* ---- もくじ（7つの画面） ---- */
.ms-lead { font-size: 13px; color: #475569; margin: 0 2px 8px; }
.ms-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.ms-toc a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #fff; border: 1px solid #DBEAFE; border-radius: 12px; padding: 12px 6px;
  color: #0F172A; text-decoration: none; font-weight: 700; font-size: 14px;
}
.ms-toc a .i { font-size: 24px; line-height: 1.2; }
.ms-toc a small { font-weight: 400; font-size: 11px; color: #64748B; }
.ms-toc a.is-here { border: 2px solid #1E40AF; background: #EFF6FF; }

/* ---- 画面ごとの説明 ---- */
.ms-sec { background: #fff; border-radius: 14px; padding: 14px 14px 12px; margin-bottom: 14px; border: 1px solid #E2E8F0; }
.ms-sec.is-here { border: 2px solid #1E40AF; }
.ms-h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 18px; }
.ms-h2 .i { font-size: 22px; }
.ms-can {
  margin: 0 0 10px; padding: 6px 10px; border-radius: 8px;
  background: #EFF6FF; color: #1E40AF; font-weight: 700; font-size: 14px;
}
.ms-lbl {
  display: inline-block; margin: 10px 0 6px; padding: 1px 10px; border-radius: 999px;
  background: #0F172A; color: #fff; font-size: 12px; font-weight: 700;
}
/* 使い方 ①②③ */
.ms-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ms-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; font-size: 14px; }
.ms-steps .n {
  width: 24px; height: 24px; border-radius: 50%; background: #1E40AF; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.ms-steps b { color: #1E40AF; }
/* 入れる項目（項目 → 何を入れる） */
.ms-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ms-tbl th, .ms-tbl td { padding: 6px 6px; border-bottom: 1px solid #E2E8F0; text-align: left; vertical-align: top; }
.ms-tbl th { width: 42%; font-weight: 700; color: #0F172A; }
.ms-tbl td { color: #334155; }
.ms-tbl .auto { color: #64748B; font-size: 12px; }
.ms-tag {
  display: inline-block; font-size: 11px; padding: 0 6px; border-radius: 4px; margin-left: 4px; vertical-align: 1px;
}
.ms-tag--must { background: #FEE2E2; color: #B91C1C; }
.ms-tag--any { background: #F1F5F9; color: #64748B; }
.ms-tag--auto { background: #ECFDF5; color: #047857; }
/* ひとこと（気をつけること） */
.ms-note {
  margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: #FFF7ED; color: #9A3412; font-size: 13px;
}
.ms-note p { margin: 0; }
.ms-note p + p { margin-top: 3px; }
.ms-more { display: inline-block; margin-top: 10px; font-size: 13px; color: #1E40AF; }
.ms-totop { display: block; text-align: right; font-size: 12px; color: #64748B; margin-top: 8px; text-decoration: none; }

/* ---- 画面の見本（進捗アプリと同じ色で描いた小さな絵）----
   ⚠ 写真ではない。押す所が分かれば足りるので、要るものだけ描く。 */
.ms-shot {
  margin: 10px 0 4px; padding: 10px; border-radius: 12px; background: #EEF2F7;
  border: 1px dashed #CBD5E1; font-size: 12px;
}
.ms-shot__cap { display: block; font-size: 11px; color: #64748B; margin-bottom: 6px; }
.ms-card { background: #fff; border-radius: 10px; padding: 10px; }
.ms-card + .ms-card { margin-top: 6px; }
.ms-btn {
  display: block; text-align: center; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 13px;
  background: #1E40AF; color: #fff; margin-top: 6px;
}
.ms-btn--teal { background: #0F766E; }
.ms-btn--line { background: #fff; color: #1E40AF; border: 1px solid #93C5FD; }
.ms-row { display: grid; grid-template-columns: 38% 1fr; gap: 6px; align-items: center; padding: 4px 0; border-bottom: 1px solid #F1F5F9; }
.ms-row:last-child { border-bottom: 0; }
.ms-row span:first-child { color: #475569; }
.ms-in { border: 1px solid #CBD5E1; border-radius: 6px; padding: 4px 6px; background: #fff; min-height: 26px; }
.ms-in--auto { background: #F1F5F9; color: #64748B; }
.ms-chip { display: inline-block; border: 1px solid #CBD5E1; border-radius: 999px; padding: 1px 8px; margin: 2px 2px 0 0; background: #fff; }
.ms-chip.on { background: #DBEAFE; border-color: #1E40AF; color: #1E40AF; font-weight: 700; }
/* 進捗の数字（shinchoku.css の .stat-block / .stat-cell と同じ色） */
.ms-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ms-stat div { text-align: center; padding: 6px 4px; border-radius: 6px; background: #EFF6FF; }
.ms-stat small { display: block; font-size: 10px; color: #64748B; }
.ms-stat b { font-size: 13px; color: #1E40AF; }
/* シフトのカレンダー（shinchoku.css の .cal-day と同じ色） */
.ms-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.ms-cal .wd { font-size: 10px; color: #64748B; }
.ms-cal .d { height: 38px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; }
.ms-cal .d b { font-size: 12px; }
.ms-cal .on { background: #EFF6FF; color: #1E40AF; border: 1px dashed #93C5FD; }
.ms-cal .off { background: #F8FAFC; color: #94A3B8; border: 1px dashed #CBD5E1; }
.ms-cal .tap { outline: 2px solid #C2410C; outline-offset: 1px; }
/* 押す所の印 */
.ms-here { outline: 3px solid #F97316; outline-offset: 2px; border-radius: 8px; }
/* もくじのまとまり（下のメニューの4つ・2026-10-30） */
.ms-toc__grp { grid-column: 1 / -1; margin: 6px 2px -2px; font-size: 12px; font-weight: 700; color: #1E40AF; }
.ms-toc__grp:first-child { margin-top: 0; }
