@charset "UTF-8";
/* ==========================================================================
   勤怠コンプラガード 操作フローデモ
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:root {
  --navy: #0F1633;
  --navy-2: #1A2450;
  --panel: #1D2649;
  --panel-2: #26315C;
  --teal: #0E7C7B;
  --teal-lt: #7FD6D3;
  --line: #2A3560;
  --text: #DBE4FB;
  --muted: #8FA3C8;
}

body.is-locked { overflow: hidden; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  min-height: 100vh; color: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 12px 124px;
}

/* ---------- サイトバー ---------- */
.sitebar {
  width: calc(100% + 24px); background: rgba(15, 22, 51, .82); border-bottom: 1px solid var(--line);
  margin: 0 -12px 16px; padding: 10px 16px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.sitebar__logo img { height: 30px; width: auto; }
.sitebar__links { display: flex; gap: 10px; align-items: center; }
.sitebar__link {
  font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap;
  border-radius: 999px; padding: 7px 15px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
}
.sitebar__link:hover { background: rgba(255, 255, 255, .24); }
.sitebar__link--doc { background: rgba(127, 214, 211, .16); border-color: rgba(127, 214, 211, .5); }

.wrap { width: 100%; max-width: 1240px; }

/* ---------- 見出し・注意書き ---------- */
.demo-title { font-size: 18px; margin: 4px 0 10px; text-align: center; font-weight: 800; }
.notice {
  display: flex; align-items: flex-start; gap: 8px; justify-content: center;
  max-width: 780px; margin: 0 auto 14px; text-align: left;
  font-size: 12px; font-weight: 600; line-height: 1.7; color: #FFE9B8;
  background: rgba(255, 193, 7, .10); border: 1px solid rgba(255, 193, 7, .38);
  border-radius: 10px; padding: 9px 16px;
}
.notice span:first-child { flex: none; }

/* ---------- 章・ステップ ---------- */
.chapbar { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.chapbar .c {
  background: var(--panel-2); color: #9FB0DA; padding: 5px 14px; border-radius: 18px;
  font-size: 12px; cursor: pointer; border: 1px solid transparent; transition: .15s;
}
.chapbar .c:hover { color: #fff; }
.chapbar .c.on { background: #2F3C6E; color: #fff; border-color: #4A5891; }

.steps { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.steps .d {
  background: var(--panel); color: var(--muted); padding: 4px 9px; border-radius: 14px;
  font-size: 11px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: .15s;
}
.steps .d:hover { color: #fff; }
.steps .d.active { background: var(--teal); color: #fff; border-color: var(--teal-lt); font-weight: 700; }
.steps .d.done { color: #C3CFF0; }

/* ---------- スクリーンショット ---------- */
.shot {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}
.shot img { width: 100%; }

/* ---------- 下部ナビ ---------- */
.navbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(15, 22, 51, .97); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; padding: 12px 20px;
  backdrop-filter: blur(6px);
}
.cap { flex: 1; color: var(--text); font-size: 14px; line-height: 1.6; }
.cap .n { color: var(--teal-lt); font-weight: 700; margin-right: 8px; }
.cnt { color: var(--muted); font-size: 12px; white-space: nowrap; }
.nb {
  background: var(--panel-2); color: #fff; border: 1px solid #3B4878;
  border-radius: 8px; padding: 10px 18px; font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: .15s;
}
.nb:hover:not(:disabled) { background: #33406F; }
.nb:disabled { opacity: .35; cursor: default; }
.nb.primary { background: var(--teal); border-color: var(--teal-lt); }
.nb.primary:hover { background: #12908F; }

/* ==========================================================================
   同意画面
   ========================================================================== */
.consent {
  position: fixed; inset: 0; z-index: 100;
  background: linear-gradient(160deg, #1A2450, #0B1029);
  display: flex; align-items: center; justify-content: center; padding: 24px 16px;
  overflow-y: auto;
}
.consent[hidden] { display: none; }
.consent__box {
  width: min(600px, 100%); background: #fff; color: #22262E;
  border-radius: 18px; padding: 40px 36px 34px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.consent__logo { height: 40px; width: auto; margin: 0 auto 22px; }
.consent__title {
  font-size: 21px; font-weight: 900; color: #17366E; margin: 0 0 20px; line-height: 1.5;
}
.consent__lead {
  background: #FFF6E5; border: 1px solid #F5D08A; border-radius: 12px;
  padding: 18px 20px; margin: 0 0 22px; text-align: left;
  font-size: 15px; font-weight: 700; line-height: 1.85; color: #7A4A05;
}
.consent__lead .mark { display: block; font-size: 22px; margin-bottom: 4px; }
.consent__list { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; }
.consent__list li {
  position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.85; color: #4A5462;
}
.consent__list li::before {
  content: ""; position: absolute; left: 4px; top: .78em;
  width: 6px; height: 6px; border-radius: 50%; background: #346CB4;
}
.consent__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: #EF3F26; color: #fff; border: none; border-radius: 999px;
  padding: 17px 24px; font-size: 16.5px; font-weight: 900; cursor: pointer;
  box-shadow: 0 8px 22px rgba(239, 63, 38, .34); transition: .18s;
}
.consent__btn:hover { background: #D62A12; transform: translateY(-2px); }
.consent__back {
  display: inline-block; margin-top: 16px; font-size: 13px; color: #5A6472;
  text-decoration: underline; text-underline-offset: 3px;
}
.consent__back:hover { color: #EF3F26; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
/* スマホ：画面キャプチャは横スクロールで見やすい大きさを保つ */
.shot-hint { display: none; }

@media (max-width: 780px) {
  body { padding-bottom: 152px; }
  .shot { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .shot img { width: auto; min-width: 900px; max-width: none; }
  .shot-hint {
    display: block; text-align: center; font-size: 11px; color: var(--muted);
    margin-top: 8px;
  }
  .sitebar { padding: 9px 12px; }
  .sitebar__logo img { height: 26px; }
  .sitebar__link { font-size: 11px; padding: 6px 12px; }
  .demo-title { font-size: 15.5px; }
  .notice { font-size: 11.5px; padding: 8px 12px; }
  .steps { max-height: 84px; overflow-y: auto; }
  .navbar { flex-wrap: wrap; padding: 10px 14px; gap: 8px 10px; }
  .cap { order: -1; flex-basis: 100%; font-size: 12.5px; }
  .cnt { flex: 1; }
  .nb { padding: 9px 14px; font-size: 12.5px; }
  .consent__box { padding: 30px 22px 26px; }
  .consent__title { font-size: 18px; }
  .consent__lead { font-size: 14px; padding: 15px 16px; }
}

/* ==========================================================================
   収録内容（目次）
   ========================================================================== */
.toc { margin-top: 40px; }
.toc__title {
  font-size: 17px; font-weight: 800; text-align: center; margin: 0 0 6px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.toc__lead { text-align: center; font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.toc__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px;
}
.toc__chap {
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.toc__chap-name {
  font-size: 13px; font-weight: 800; color: var(--teal-lt); margin: 0 0 10px;
  letter-spacing: .06em;
}
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list li + li { margin-top: 4px; }
.toc__list a {
  display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none;
  transition: background-color .15s;
}
.toc__list a:hover { background: rgba(127, 214, 211, .12); }
.toc__list b { display: block; font-size: 13px; font-weight: 700; color: #E6EDFF; }
.toc__list span { display: block; font-size: 11.5px; line-height: 1.7; color: var(--muted); margin-top: 2px; }

@media (max-width: 780px) {
  .toc__grid { grid-template-columns: 1fr; }
  .toc__title { font-size: 15.5px; }
}
