@charset "UTF-8";
/* 利用マニュアル 共通スタイル（docs/manual-src/manual.css が原本） */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: #232830;
  background: #f4f5f7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: #1c62b9; }
a:hover { color: #16508f; }

code {
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
  font-size: .88em;
  background: #eef0f3;
  border: 1px solid #dfe3e8;
  border-radius: 3px;
  padding: .1em .4em;
  word-break: break-all;
}

/* ---------------- ヘッダ / フッタ ---------------- */

.hd {
  background: #2f3238;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.hd-in {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
}
/* マニュアル一覧へ戻る導線。ロゴではないので控えめに見せる */
.hd-back {
  color: #cfe0f7;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #565b64;
  border-radius: 4px;
  padding: 4px 12px;
  white-space: nowrap;
}
.hd-back:hover { background: #3d424a; color: #fff; }

.hd-t {
  font-size: 13.5px;
  color: #c8ccd3;
  border-left: 1px solid #4a4e56;
  padding-left: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 一覧ページは左に戻り導線がないので区切り線を出さない */
.hd-t-main { border-left: 0; padding-left: 0; font-size: 14.5px; color: #e4e7eb; }
.hd-link {
  margin-left: auto;
  color: #cfe0f7;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #565b64;
  border-radius: 4px;
  padding: 4px 12px;
  white-space: nowrap;
}
.hd-link:hover { background: #3d424a; color: #fff; }

.ft {
  max-width: 940px;
  margin: 0 auto;
  padding: 22px 20px 40px;
  border-top: 1px solid #e0e4e9;
  color: #7b818b;
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.ft-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.ft-links a { color: #4a6c9b; text-decoration: none; }
.ft-links a:hover { color: #1c62b9; text-decoration: underline; }
.ft-copy { margin-left: auto; white-space: nowrap; }

@media (max-width: 640px) {
  .ft-copy { margin-left: 0; }
}

/* ---------------- レイアウト ---------------- */

.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}

.lead {
  padding: 40px 0 8px;
}
.lead h1 {
  font-size: 27px;
  line-height: 1.4;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: .01em;
}
.lead h1 small {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #6b717b;
  margin-top: 6px;
}
.lead p { margin: 0 0 6px; color: #444a54; }
.lead .ver { font-size: 13.5px; color: #7a808a; }

/* ---------------- 目次 ---------------- */

.toc {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 18px 24px 20px;
  margin: 26px 0 8px;
}
.toc h2 {
  font-size: 13px;
  color: #6b717b;
  letter-spacing: .1em;
  margin: 0 0 10px;
  border: 0;
  padding: 0;
}
.toc ol {
  margin: 0;
  padding-left: 1.5em;
  columns: 2;
  column-gap: 34px;
}
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------------- セクション ---------------- */

section {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 8px 34px 32px;
  margin: 22px 0;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e6e9ed;
  scroll-margin-top: 70px;
}
h2 .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-right: 11px;
  border-radius: 50%;
  background: #1c62b9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  vertical-align: 2px;
}
section[id] { scroll-margin-top: 62px; }

h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-left: 11px;
  border-left: 4px solid #1c62b9;
  line-height: 1.5;
}
h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: #333a44;
}

p { margin: 0 0 14px; }

ul, ol { margin: 0 0 16px; padding-left: 1.7em; }
li { margin: 5px 0; }

/* ---------------- 手順リスト ---------------- */

ol.steps {
  list-style: none;
  counter-reset: st;
  padding: 0;
  margin: 16px 0 20px;
}
ol.steps > li {
  counter-increment: st;
  position: relative;
  padding: 14px 18px 14px 58px;
  margin: 0 0 10px;
  background: #f7f9fb;
  border: 1px solid #e2e7ec;
  border-radius: 6px;
}
ol.steps > li::before {
  content: counter(st);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1c62b9;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
ol.steps > li b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 2px;
}

/* ---------------- 注意書き ---------------- */

.note {
  border: 1px solid #dfe3e8;
  border-left: 5px solid #9aa2ad;
  border-radius: 5px;
  background: #fafbfc;
  padding: 14px 20px;
  margin: 18px 0 22px;
}
.note b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.note p { margin: 0 0 6px; font-size: 14.3px; }
.note p:last-child { margin-bottom: 0; }
.note ul { margin-bottom: 0; font-size: 14.3px; }

.note-info   { border-left-color: #3d84d6; background: #f3f8fd; }
.note-info b { color: #1a5397; }

.note-ok     { border-left-color: #34a06a; background: #f2faf5; }
.note-ok b   { color: #1d7048; }

.note-warn   { border-left-color: #e0a52c; background: #fdf9ef; }
.note-warn b { color: #8f6410; }

.note-danger   { border-left-color: #d0483f; background: #fdf4f3; }
.note-danger b { color: #a3312a; }

/* ---------------- 画像 ---------------- */

figure {
  margin: 18px 0 26px;
}
figure img {
  display: block;
  width: 100%;
  border: 1px solid #d5dae0;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(20,30,50,.08);
  background: #fff;
}
a.zoom {
  display: block;
  position: relative;
}
a.zoom:hover img { border-color: #1c62b9; }
a.zoom::after {
  content: "クリックで拡大";
  position: absolute;
  right: 9px;
  bottom: 9px;
  background: rgba(25,32,44,.72);
  color: #fff;
  font-size: 11.5px;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity .12s;
  pointer-events: none;
}
a.zoom:hover::after { opacity: 1; }
figcaption {
  margin-top: 8px;
  font-size: 12.8px;
  color: #79808a;
  text-align: center;
}

/* ---------------- 表 ---------------- */

.tbl-scroll {
  overflow-x: auto;
  margin: 14px 0 20px;
  -webkit-overflow-scrolling: touch;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 14.2px;
  background: #fff;
}
th, td {
  border: 1px solid #dfe3e8;
  padding: 9px 13px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
th {
  background: #f2f4f7;
  font-weight: 700;
  white-space: nowrap;
}
tr:nth-child(even) td { background: #fbfcfd; }

/* ---------------- FAQ ---------------- */

details {
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  margin: 0 0 9px;
  background: #fff;
  overflow: hidden;
}
details[open] { background: #fdfdfe; }
summary {
  cursor: pointer;
  padding: 13px 18px 13px 42px;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  position: relative;
  line-height: 1.6;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 13px;
  color: #1c62b9;
  font-weight: 700;
}
summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 13px;
  color: #9aa2ad;
  font-size: 13px;
}
details[open] summary::after { content: "－"; }
summary:hover { background: #f5f8fb; }

details .body {
  padding: 4px 18px 14px 42px;
  border-top: 1px solid #eceff2;
  font-size: 14.4px;
}
details .body p:last-child,
details .body ul:last-child { margin-bottom: 0; }

/* ---------------- お問い合わせ ---------------- */

.contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  border: 1px solid #cfdcec;
  border-left: 5px solid #1c62b9;
  border-radius: 5px;
  background: #f3f8fd;
  padding: 16px 22px;
  margin: 16px 0 20px;
}
.contact-label {
  font-size: 13px;
  font-weight: 700;
  color: #1a5397;
  letter-spacing: .04em;
}
.contact-mail {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  word-break: break-all;
}

/* ---------------- マニュアル一覧 ---------------- */

.m-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 26px 0 8px;
}
.m-card {
  display: block;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  padding: 22px 24px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.m-card:hover {
  border-color: #1c62b9;
  box-shadow: 0 4px 14px rgba(28,98,185,.13);
  transform: translateY(-2px);
  color: inherit;
}
.m-card h2 {
  font-size: 17px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.m-card p {
  font-size: 13.8px;
  color: #5c636e;
  margin: 0 0 12px;
  line-height: 1.75;
}
.m-go {
  font-size: 13.2px;
  color: #1c62b9;
  font-weight: 700;
}

/* ---------------- 狭い画面 ---------------- */

@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 14px; }
  section { padding: 6px 18px 26px; }
  .lead { padding: 28px 0 4px; }
  .lead h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  .toc ol { columns: 1; }
  .toc { padding: 16px 18px; }
  ol.steps > li { padding: 12px 14px 12px 50px; }
  ol.steps > li::before { left: 12px; }
  .m-grid { grid-template-columns: 1fr; }
  summary { padding: 12px 34px 12px 36px; }
  details .body { padding: 4px 16px 12px 36px; }
  .hd-t { display: none; }
}

/* ---------------- 印刷 ---------------- */

@media print {
  body { background: #fff; }
  .hd, .ft, .toc { display: none; }
  section { border: 0; padding: 0; margin: 0 0 18px; break-inside: auto; }
  figure img { box-shadow: none; }
  details { border: 0; }
  details .body { display: block !important; }
  summary::after { content: ""; }
}
