/* =========================================================
   出張日報 提出マニュアル（スライド）
   ⚠ 16:9（1280×720）で作り、画面の大きさに合わせて丸ごと拡大縮小する。
     文字だけを縮めると、端末ごとに折り返しが変わって見切れる。
   ⚠ 文字は端末に入っているフォントだけを使う（読み込み待ちの文字化けを避ける）。
   ========================================================= */
:root {
  --mn-ink: #2b2a24;
  --mn-sub: #6f6a5f;
  --mn-green: #2d5f55;
  --mn-green-d: #1f463f;
  --mn-gold: #8c6d1f;
  --mn-ivory: #f7f5ee;
  --mn-line: #e2ded1;
  --mn-red: #b3352e;
  --mn-w: 1280px;
  --mn-h: 720px;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: #1c1b18;
  color: var(--mn-ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Noto Sans JP",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  /* 日本語を文節で折る。助詞の直前や単語の途中で切れないようにする */
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

/* ---- 台紙と拡大縮小 ---- */
.mn-stage { position: fixed; inset: 0; display: grid; place-items: center; overflow: hidden; }
.mn-scaler { width: var(--mn-w); height: var(--mn-h); transform-origin: center center; }
.mn-slide {
  position: absolute; inset: 0;
  width: var(--mn-w); height: var(--mn-h);
  background: var(--mn-ivory);
  border-radius: 6px;
  overflow: hidden;
  display: none;
  padding: 44px 56px 56px;
}
.mn-slide.is-on { display: block; }

/* ---- 見出し ---- */
.mn-eyebrow {
  display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: .1em;
  color: var(--mn-gold); margin: 0 0 8px;
}
.mn-h1 { font-size: 40px; font-weight: 800; margin: 0 0 6px; line-height: 1.24; letter-spacing: -.01em; }
.mn-lead { font-size: 19px; line-height: 1.7; color: var(--mn-sub); margin: 0; max-width: 30em; }
/* 2段組でないページは、右に画面が無いぶん1行を長く使える */
.mn-full .mn-lead { max-width: 46em; }
/* 全幅のページは、中身を上下の真ん中にそろえる（下だけ大きく空くのを防ぐ） */
.mn-full { height: 100%; display: flex; flex-direction: column; justify-content: center; }

/* ---- 2段組（左：説明／右：画面） ---- */
.mn-cols { display: grid; grid-template-columns: 1fr 336px; gap: 40px; height: 100%; align-items: center; }
/* 左（説明）は上から、右（画面）は上下の真ん中にそろえる */
.mn-cols > .mn-body { align-self: start; }
.mn-cols--wide { grid-template-columns: 1fr 300px; }
.mn-body { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.mn-body__top { flex: 0 0 auto; margin-bottom: 18px; }

/* ---- 手順のリスト ---- */
.mn-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.mn-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: start; }
.mn-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--mn-green); color: #fff;
  font-size: 16px; font-weight: 800; line-height: 34px; text-align: center;
}
.mn-num--gold { background: var(--mn-gold); }
.mn-num--red { background: var(--mn-red); }
.mn-steps b { display: block; font-size: 19px; line-height: 1.5; margin-bottom: 2px; }
.mn-steps span { display: block; font-size: 16px; line-height: 1.65; color: var(--mn-sub); }

/* ---- 注意の帯 ---- */
.mn-note {
  margin-top: 22px; padding: 14px 18px; border-radius: 12px;
  background: #fdf6f5; border: 1px solid #eccfcb; border-left: 5px solid var(--mn-red);
  font-size: 16px; line-height: 1.65;
}
.mn-note b { color: var(--mn-red); }
.mn-note--ok { background: #f2f8f4; border-color: #cbe0d2; border-left-color: var(--mn-green); }
.mn-note--ok b { color: var(--mn-green-d); }
.mn-note--gold { background: #fdf9ef; border-color: #e7d9b4; border-left-color: var(--mn-gold); }
.mn-note--gold b { color: var(--mn-gold); }

/* ---- スマホの枠に入れた画面 ---- */
.mn-phone {
  width: 100%; height: 100%; max-height: 604px;
  border: 9px solid #24231f; border-radius: 26px; background: #24231f;
  overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.22);
  display: flex;
}
.mn-phone img { width: 100%; display: block; object-fit: cover; object-position: top center; }
.mn-phone--bottom img { object-position: bottom center; }
.mn-shotcap { margin: 8px 0 0; font-size: 13px; color: var(--mn-sub); text-align: center; }

/* ---- 表紙・中扉 ---- */
/* ⚠ 表紙・中扉は端まで塗る。negative margin ＋ height:100% だと
   下に台紙の色が残る（高さは内側の箱ぶんしか伸びないため）。 */
.mn-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, #21504a 0%, #2d5f55 52%, #38705f 100%); color: #fff;
  padding: 0 84px; }
.mn-cover .mn-h1 { font-size: 56px; color: #fff; margin-bottom: 16px; }
.mn-cover .mn-lead { color: #dfeae4; font-size: 21px; max-width: 36em; }
.mn-cover__mark { font-size: 15px; letter-spacing: .18em; color: #b9d3c7; margin: 0 0 18px; font-weight: 700; }
.mn-cover__foot { margin-top: 32px; font-size: 16px; color: #cfe1d8; }

/* 中扉：大きな番号を左に置き、右に見出しを並べる（横に広く使う） */
.mn-divider { position: absolute; inset: 0; display: flex; align-items: center; gap: 60px;
  padding: 0 96px; background: #22443e; color: #fff; }
.mn-divider .mn-h1 { color: #fff; font-size: 50px; margin-bottom: 10px; }
.mn-divider .mn-lead { color: #cfe1d8; max-width: 24em; font-size: 20px; }
.mn-divider__no { font-size: 220px; font-weight: 800; color: #48786b; line-height: .82; margin: 0;
  flex: 0 0 auto; letter-spacing: -.04em; }
.mn-divider__txt { min-width: 0; }

/* ---- 流れの図 ---- */
.mn-flow { display: flex; align-items: stretch; gap: 12px; margin-top: 26px; }
.mn-flow__box {
  flex: 1; background: #fff; border: 1px solid var(--mn-line); border-radius: 14px;
  padding: 24px 18px; text-align: center; border-top: 5px solid var(--mn-green);
}
.mn-flow__box.is-gold { border-top-color: var(--mn-gold); }
.mn-flow__box.is-red { border-top-color: var(--mn-red); }
.mn-flow__box em { display: block; font-style: normal; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; color: var(--mn-sub); margin-bottom: 6px; }
.mn-flow__box b { display: block; font-size: 21px; line-height: 1.4; margin-bottom: 6px; }
.mn-flow__box span { display: block; font-size: 14.5px; line-height: 1.6; color: var(--mn-sub); }
.mn-flow__arrow { display: flex; align-items: center; color: #b8b2a3; font-size: 26px; font-weight: 700; }

/* ---- 表 ---- */
.mn-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16.5px; }
.mn-table th, .mn-table td { border: 1px solid var(--mn-line); padding: 11px 14px; text-align: left; line-height: 1.6; }
.mn-table th { background: #ece9df; font-weight: 700; width: 34%; }
.mn-table td { background: #fff; }

/* ---- チェックリスト ---- */
.mn-check { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin-top: 22px; list-style: none; padding: 0; }
.mn-check li { display: grid; grid-template-columns: 26px 1fr; gap: 11px; align-items: start;
  font-size: 17px; line-height: 1.6; }
.mn-check i { width: 26px; height: 26px; border: 2px solid var(--mn-green); border-radius: 6px;
  color: var(--mn-green); font-style: normal; font-weight: 800; text-align: center; line-height: 22px; font-size: 16px; }

/* ---- 画面の中の言葉を示す印 ---- */
.mn-key { display: inline-block; padding: 1px 8px; border-radius: 6px;
  background: #e4efec; color: var(--mn-green-d); font-weight: 700; }
.mn-key--gold { background: #f6eed9; color: var(--mn-gold); }
.mn-key--red { background: #fbeceb; color: var(--mn-red); }

/* ---- 下の帯（ページ番号・操作） ---- */
.mn-foot { position: absolute; left: 56px; right: 56px; bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #9a948a; pointer-events: none; }
/* 表紙・中扉の上では、下の文字を明るくする（緑の上で読めるように） */
.mn-slide--dark .mn-foot { color: #8fb3a6; }
.mn-bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center;
  justify-content: center; gap: 10px; padding: 10px; background: rgba(20,19,16,.82); }
.mn-bar button { border: 1px solid #4a4740; background: #2c2a25; color: #efece4;
  border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit; }
.mn-bar button:hover { background: #3a372f; }
.mn-bar__page { color: #cdc8bd; font-size: 14px; min-width: 78px; text-align: center;
  font-variant-numeric: tabular-nums; }

/* ---- 印刷（1枚＝1ページ） ---- */
@media print {
  @page { size: 297mm 167mm; margin: 0; }
  body { background: #fff; }
  .mn-stage { position: static; display: block; overflow: visible; }
  .mn-scaler { width: auto; height: auto; transform: none !important; }
  .mn-slide { position: static; display: block !important; width: 297mm; height: 167mm;
    border-radius: 0; page-break-after: always; }
  .mn-bar { display: none; }
}
