@charset "UTF-8";

/*
 * 使い方マニュアル（/adnalytics/help/）。LPの styles.css（色・フォント・ヘッダー・フッター）の上に、読み物のための見た目だけを足す。
 * 方針: 文章が主役。枠と色を足して目立たせるのではなく、罫線と余白で区切り、強調は本当に必要なところだけにする。
 * 色は、紺（本文・見出し）と、ミント（いま見ている場所・番号の丸・リンクの下線）だけ。グラデーション・絵文字・影は使わない。左寄せ。
 */

/* LPのstyles.cssは、html に固定ヘッダー分の scroll-padding-top を持つ。ここは、見出しごとの scroll-margin-top で決めるので、二重にならないよう外す */
:root { scroll-padding-top: 0; }
.page-help { background: var(--white); --hh: 69px; --bar: 52px; }
.help-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.help-skip { position: absolute; left: 12px; top: -48px; z-index: 200; padding: 8px 14px; background: var(--navy); color: var(--white); font-size: 14px; }
.help-skip:focus { top: 8px; }
.page-help :focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 2px; }

/* 上の帯（索引へ・検索・製品へ）。罫線だけ */
.help-bar { position: sticky; top: var(--hh); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.help-bar-inner { display: flex; align-items: center; gap: 28px; width: min(1240px, calc(100% - 48px)); height: var(--bar); margin: 0 auto; }
.help-bar-title { flex: none; font-size: 15px; font-weight: 700; color: var(--navy); }
.help-bar-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.help-bar-links { display: flex; gap: 20px; margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.help-bar-links a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* 検索の欄 */
.help-search { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 440px; }
.help-search[hidden] { display: none; }
.help-search-icon { position: absolute; left: 12px; width: 18px; height: 18px; fill: none; stroke: #6B7A8D; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.help-search input { width: 100%; height: 36px; padding: 0 40px 0 38px; border: 1px solid #C9D3DE; border-radius: 8px; background: var(--white); font: inherit; font-size: 14px; color: var(--navy); letter-spacing: .02em; appearance: none; }
.help-search input::placeholder { color: #7B8898; }
.help-search input:focus { outline: none; border-color: var(--navy); }
.help-search input::-webkit-search-cancel-button { appearance: none; }
.help-search-key { position: absolute; right: 10px; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #C9D3DE; border-radius: 4px; font: 500 12px/1 var(--latin); color: #6B7A8D; pointer-events: none; }
.help-search input:focus ~ .help-search-key { display: none; }
.help-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; max-height: min(70vh, 560px); overflow: auto; min-width: min(440px, calc(100vw - 32px)); border: 1px solid #C9D3DE; border-radius: 8px; background: var(--white); }
.help-results[hidden] { display: none; }
.help-results-count { padding: 10px 16px 4px; font-size: 12px; color: #6B7A8D; }
.help-results ul { padding-bottom: 6px; }
.help-results a { display: grid; gap: 2px; padding: 10px 16px; border-left: 2px solid transparent; }
.help-results a:hover, .help-results a.is-active { border-left-color: var(--mint-dark); background: var(--paper); }
.help-results .r-where { font-size: 12px; color: #6B7A8D; }
.help-results .r-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.help-results .r-snippet { font-size: 13px; line-height: 1.7; color: var(--muted); }
.help-results mark { background: none; color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.help-results-empty { padding: 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.help-results-empty a { display: inline; padding: 0; border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.help-search-hero { max-width: 560px; margin: 28px 0 0; }
.help-search-hero input { height: 48px; padding-left: 44px; border-radius: 10px; font-size: 16px; }
.help-search-hero .help-search-icon { left: 15px; width: 20px; height: 20px; }
.help-search-hero .help-search-key { right: 14px; }
.help-search-hero .help-results { min-width: 0; }

/* 全体の組み */
.help-main { padding: 40px 0 112px; outline: none; }
.help-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 200px;
  gap: 48px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  align-items: start;
}

/* 左: 章の一覧。いま見ている章は、左に細い線と、太さで示す */
.help-side { position: sticky; top: calc(var(--hh) + var(--bar) + 28px); max-height: calc(100vh - var(--hh) - var(--bar) - 56px); overflow: auto; padding-bottom: 8px; }
.help-side-back { display: inline-block; margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.help-side-back::before { content: "← "; }
.help-side-back:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.help-toc-title { margin-bottom: 8px; font-size: 12px; color: #6B7A8D; letter-spacing: .06em; }
.help-chapters ol { display: grid; font-size: 14px; line-height: 1.55; }
.help-chapters li a { display: flex; gap: 10px; padding: 6px 0 6px 12px; border-left: 2px solid transparent; }
.help-chapters li a { color: var(--muted); }
.help-chapters li a:hover { color: var(--navy); }
.help-chapters li[aria-current="page"] a { border-left-color: var(--mint-dark); color: var(--navy); font-weight: 700; }
.help-chapters .num { flex: none; width: 1.6em; font-family: var(--latin); color: #8795A6; }
.help-chapters li[aria-current="page"] .num { color: var(--navy); }
.help-chapters-sp { display: none; }
/* いま見ている章の下の節の一覧。右の目次が出ない幅（1001〜1279px）でだけ出す */
.help-chapters .help-chapter-sections { display: none; }
.help-chapter-sections a { display: flex; gap: 8px; padding: 4px 0 4px 14px; margin-left: 12px; border-left: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }
.help-chapter-sections a:hover { color: var(--navy); }
.help-chapter-sections a[aria-current="location"] { border-left-color: var(--mint-dark); color: var(--navy); font-weight: 700; }
.help-chapter-sections .num { flex: none; font-family: var(--latin); color: #8795A6; }

/* 右: このページの内容。いま見ている節は、線と太さで示す */
.help-toc-side { position: sticky; top: calc(var(--hh) + var(--bar) + 28px); max-height: calc(100vh - var(--hh) - var(--bar) - 56px); overflow: auto; }
.help-page-toc ol { display: grid; font-size: 13px; line-height: 1.55; border-left: 1px solid var(--line); }
.help-page-toc li ol { border: 0; margin-bottom: 4px; }
.help-page-toc a { display: flex; gap: 8px; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); }
.help-page-toc li li a { padding-left: 38px; font-size: 12.5px; }
.help-page-toc a:hover { color: var(--navy); }
.help-page-toc a[aria-current="location"] { border-left-color: var(--mint-dark); color: var(--navy); font-weight: 700; }
.help-page-toc a[data-parent] { color: var(--navy); }
.help-page-toc .num { flex: none; font-family: var(--latin); color: #8795A6; }

/* キャラクター（飾りの画像。大きさは、画像ごとに style="--cw" で決める） */
.chara { display: block; flex: none; width: var(--cw); height: auto; max-width: none; user-select: none; pointer-events: none; }
.help-head.has-chara { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
.help-head.has-chara .chara-head { align-self: end; justify-self: end; margin-bottom: 4px; }
.callout-title { display: flex; align-items: center; gap: 8px; }
.blk-label { display: flex; align-items: center; gap: 8px; }
.help-results-empty-wrap { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.help-results-empty-wrap .help-results-empty { padding: 0; }

/* 本文の頭 */
.help-article { min-width: 0; }
.help-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; font-size: 13px; color: #6B7A8D; }
.help-crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.help-head { padding-bottom: 8px; }
.help-kicker { font-size: 13px; color: #6B7A8D; letter-spacing: .06em; }
.help-head h1 { margin-top: 6px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.4; color: var(--navy); font-weight: 700; letter-spacing: .01em; }
.help-lead { margin-top: 16px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.help-updated { margin-top: 12px; font-size: 13px; color: #6B7A8D; }

/* 本文の頭の「この章の内容」（節と小見出し。右の目次とは別に、本文の中に置く。罫線と余白だけ） */
.help-toc { margin: 28px 0 0; padding: 16px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.help-toc ol { display: grid; gap: 1px; font-size: 14px; line-height: 1.7; }
.help-toc ol ol { margin: 0 0 4px; }
.help-toc a { display: flex; gap: 10px; padding: 3px 0; color: var(--ink); }
.help-toc a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint-dark); text-underline-offset: 3px; }
.help-toc .num { flex: none; width: 2.4em; font-family: var(--latin); color: #8795A6; }
.help-toc li li a { padding-left: calc(2.4em + 10px); font-size: 13px; color: var(--muted); }

/* 本文 */
.help-body { margin-top: 40px; font-size: 16px; line-height: 1.95; color: var(--ink); }
.help-body > * + * { margin-top: 18px; }
.help-body h2 { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 24px; line-height: 1.5; color: var(--navy); font-weight: 700; scroll-margin-top: calc(var(--hh) + var(--bar) + 24px); }
.help-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.help-body h2 + * { margin-top: 16px; }
.help-body h2 .num { margin-right: 10px; font-family: var(--latin); font-weight: 500; color: #8795A6; }
.help-body h3 { margin-top: 44px; font-size: 18px; line-height: 1.6; color: var(--navy); font-weight: 700; scroll-margin-top: calc(var(--hh) + var(--bar) + 24px); }
.help-body h3 + * { margin-top: 12px; }
.help-body .anchor { margin-left: 8px; font-size: .75em; color: #B8C3CF; text-decoration: none; opacity: 0; }
.help-body h2:hover .anchor, .help-body h3:hover .anchor, .help-body .anchor:focus { opacity: 1; }
.help-body ul, .help-body ol { display: grid; gap: 10px; }
.help-body ul > li { position: relative; padding-left: 1.25em; }
.help-body ul > li::before { content: ""; position: absolute; left: .15em; top: .95em; width: 5px; height: 5px; border-radius: 50%; background: #8795A6; }
/* 手順は、番号だけを置く（丸や色の塗りはしない） */
.help-body ol.help-steps { counter-reset: step; gap: 14px; }
.help-body ol.help-steps > li { position: relative; padding-left: 2.2em; counter-increment: step; }
.help-body ol.help-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.6em; font-family: var(--latin); font-weight: 700; color: #8795A6; text-align: right; }
.help-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.help-body a:hover { text-decoration-thickness: 2px; }
.help-body code { padding: 1px 5px; border-radius: 4px; background: var(--paper); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; }
.help-body strong { font-weight: 700; }
.soon { color: #8795A6; cursor: default; }

/* 画面に出ている名前（ボタン・タブ・メニュー）。枠はつけず、薄い地色だけ */
.ui { padding: 1px 5px; border-radius: 4px; background: #EEF2F6; font-size: .94em; white-space: nowrap; }
/* 表と一覧の中では、地色をつけず、かぎ括弧だけで示す（地色が並びすぎないように） */
.table-wrap .ui, .help-defs .ui { padding: 0; background: none; font-size: 1em; white-space: normal; }
.table-wrap .ui::before, .help-defs .ui::before { content: "「"; }
.table-wrap .ui::after, .help-defs .ui::after { content: "」"; }

/* 画像の番号（本文の「((1))」。画像に描き込んだ番号の丸と同じ） */
.mk {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.45em; height: 1.45em; margin: 0 .1em;
  border: 2px solid var(--mint); border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--latin); font-size: .78em; font-weight: 800; line-height: 1;
  vertical-align: .08em;
}

/*
 * 小見出しつきのまとまり（できること・押す場所・起きること・うまくいかないとき・数字・上限）。
 * 枠では囲まず、小さな見出しと、線の入れ方で区別する（種類ごとに、線の位置を変える）。
 */
.blk-label { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.blk > * + * { margin-top: 10px; }
.blk-can { padding-top: 14px; border-top: 1px solid var(--line); }
.blk-where { padding-left: 16px; border-left: 2px solid #C9D3DE; }
.blk-result { padding-top: 2px; }
.blk-trouble { padding-left: 16px; border-left: 2px solid #D9A25B; }
.blk-limits { padding: 14px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }

/* 補足・注意・ヒント: 左の線だけ。種類は、線の色と、見出しの文字で分ける */
.callout { padding-left: 16px; border-left: 2px solid #C9D3DE; font-size: 15px; line-height: 1.9; }
.callout > * + * { margin-top: 8px; }
.callout-title { font-size: 14px; font-weight: 700; }
.callout-warn { border-left-color: #D9A25B; }
.callout-tip { border-left-color: var(--mint-dark); }

/* 表: 横の罫線だけ */
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.table-wrap th, .table-wrap td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { padding-top: 0; border-bottom: 1px solid var(--navy); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.table-wrap tbody th { font-weight: 700; white-space: normal; min-width: 6em; }

/* 言葉と意味（2列の表）: 左に言葉、右に説明 */
.help-defs { display: block; }
.help-defs > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.help-defs > div:last-child { border-bottom: 1px solid var(--line); }
.help-defs dt { font-size: 15px; font-weight: 700; line-height: 1.8; }
.help-defs dd { font-size: 15px; line-height: 1.9; }

/*
 * 画面の写真。実寸（撮った幅の半分）で、左に寄せる。枠は細い線だけ。
 * 拡大の入口は、右下の小さな虫眼鏡。説明は、画像の下に、小さく。
 */
.help-shot { margin: 28px 0 0; }
.help-shot-link { position: relative; display: block; width: 100%; max-width: var(--w, 100%); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.help-shot img { display: block; width: 100%; height: auto; }
.help-zoom { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--white); border: 1px solid #C9D3DE; }
.help-zoom svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }
.help-shot-link:hover .help-zoom { border-color: var(--navy); }
.help-shot figcaption { margin-top: 10px; max-width: 38em; font-size: 13px; line-height: 1.8; color: var(--muted); }
.help-shot.is-aside { display: flex; align-items: flex-start; gap: 28px; }
.help-shot.is-aside .help-shot-link { flex: none; width: var(--w); }
.help-shot.is-aside figcaption { flex: 1 1 0; min-width: 0; margin-top: 0; padding-top: 4px; font-size: 14px; }
.help-shots-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 32px; margin: 28px 0 0; }
.help-shots-row .help-shot { margin: 0; flex: 0 1 auto; width: min(100%, var(--w)); }
.help-shots-row .help-shot-link { max-width: none; }

/* 解決しないときは・前後の章・索引へ */
.help-contact { margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.9; color: var(--muted); }
.help-contact-title { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--navy); }
.help-contact a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint-dark); text-underline-offset: 3px; }
.help-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.help-pager a { display: block; font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.help-pager a:hover { text-decoration: underline; text-decoration-color: var(--mint-dark); text-underline-offset: 4px; }
.help-pager small { display: block; font-size: 12px; font-weight: 400; color: #6B7A8D; }
.help-pager .prev small::before { content: "← "; }
.help-pager .next small::after { content: " →"; }
.help-pager .next { text-align: right; }
.help-backindex { margin-top: 32px; font-size: 14px; }
.help-backindex a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.help-backindex a::before { content: "← "; }
.help-backindex a:hover { color: var(--navy); }

/* 上に戻る */
.help-top { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border: 1px solid #C9D3DE; border-radius: 20px; background: var(--white); color: var(--navy); font-size: 13px; font-weight: 700; }
.help-top[hidden] { display: none; }
.help-top svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.help-top:hover { border-color: var(--navy); }

/* 索引（トップ）。上に、大きな検索と、キャラクター。その下は、区画ごとに、白いカード（細い線の囲い・角丸・影なし）。背景は、うすい灰色 */
.help-main-index { padding-top: 0; padding-bottom: 96px; background: var(--paper); }
.help-hero { padding: 28px 0 48px; background: var(--navy); color: var(--white); }
.help-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "crumbs crumbs" "head chara" "search chara" "pop chara";
  column-gap: 40px;
  align-items: start;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding-right: max(0px, min(240px, calc(100% - 1048px))); /* 下のカード（最大1000px）の右端に、キャラクターをそろえる */
}
.help-hero .help-crumbs { grid-area: crumbs; margin-bottom: 28px; }
.help-hero-head { grid-area: head; }
.help-hero .help-search-hero { grid-area: search; width: 100%; }
.help-hero .help-popular { grid-area: pop; }
.help-hero-chara { position: relative; grid-area: chara; align-self: end; justify-self: end; }
/* キャラクターの背に、ミントのうすい円（平らな面。紺の帯の上でも、紺のヘッドセットと輪郭が分かれる） */
.help-hero-chara::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: var(--mint-soft); }
.chara-hero { position: relative; margin-bottom: -4px; }
.help-hero h1 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.4; color: var(--white); font-weight: 700; letter-spacing: .01em; }
.help-hero-call { margin-top: 12px; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.6; font-weight: 500; color: #DCE6F2; }
.help-hero .help-crumbs { color: #A9B8CB; }
.help-hero .help-crumbs a:hover { color: var(--white); }
.help-hero .help-search .help-search-icon { stroke: var(--navy); }
.help-hero .help-search-hero { max-width: 680px; margin-top: 24px; }
.help-hero .help-search-hero input { height: 58px; padding-left: 52px; border: 3px solid var(--mint); border-radius: 10px; font-size: 17px; background: var(--white); }
.help-hero .help-search-hero input:focus { border-color: var(--white); outline: 3px solid var(--mint); outline-offset: 0; }
.help-hero .help-search-hero .help-search-icon { left: 18px; width: 22px; height: 22px; stroke: var(--navy); }
.help-popular { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 18px; font-size: 14px; }
.help-popular[hidden] { display: none; }
.help-popular-label { color: #A9B8CB; }
.help-keyword { padding: 0; border: 0; background: none; font: inherit; color: var(--white); text-decoration: underline; text-decoration-color: var(--mint-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.help-keyword:hover { text-decoration-thickness: 3px; color: var(--mint); }
.help-wrap-index { grid-template-columns: minmax(0, 1fr); }
.help-wrap-index .help-article { max-width: 1000px; }
.help-idx { margin-top: 20px; padding: 28px 32px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.help-idx:first-child { margin-top: 32px; }
.help-idx h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; line-height: 1.5; color: var(--navy); font-weight: 700; }
.help-idx-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--mint-soft); }
.help-idx-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.help-idx-lead { margin-top: 8px; max-width: 40em; font-size: 15px; line-height: 1.9; color: var(--muted); }
.help-idx .help-links { margin-top: 12px; }
.help-links li a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--navy); }
.help-links li:first-child a { border-top: 1px solid var(--line); }
.help-links li a:hover .t { text-decoration: underline; text-decoration-color: var(--mint-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.help-links .m { flex: none; align-self: center; padding: 1px 8px; border-radius: 999px; background: var(--mint-soft); font-size: 12px; line-height: 1.7; color: var(--navy); }
.help-links li a:hover .m { background: var(--mint); }
.help-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.help-col { padding: 20px 22px 16px; background: var(--paper); border-radius: 10px; }
.help-col h3 { font-size: 16px; line-height: 1.6; color: var(--navy); font-weight: 700; }
.help-col > p { margin-top: 6px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.help-col .help-links { margin-top: 14px; }
.help-col-link { margin-top: 10px; }
.help-idx-help { background: var(--mint-soft); border-color: #BDEFE3; }
.help-idx-help .help-col { background: var(--white); }
.help-idx-help .help-idx-icon { background: var(--white); }
.help-col-link a, .help-col > p a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint-dark); text-underline-offset: 3px; }
.help-screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 40px; margin-top: 16px; }
.help-screens a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--navy); }
.help-screens a:hover { text-decoration: underline; text-decoration-color: var(--mint-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.help-notices { margin-top: 12px; }
.help-notices li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.help-notices li:first-child { border-top: 1px solid var(--line); }
.help-notices time { font-size: 13px; color: #6B7A8D; }
.help-notices a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint-dark); text-underline-offset: 3px; }
.help-index-list { display: block; margin-top: 12px; }
.help-index-list li > a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.help-index-list li:first-child > a { border-top: 1px solid var(--line); }
.help-index-list li > a:hover strong { text-decoration: underline; text-decoration-color: var(--mint-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.help-index-list .num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--mint-soft); font-family: var(--latin); font-size: 14px; font-weight: 700; color: var(--navy); }
.help-index-list li > a:hover .num { background: var(--mint); }
.help-index-list .t { display: grid; gap: 2px; min-width: 0; }
.help-index-list strong { color: var(--navy); font-size: 16px; font-weight: 700; }
.help-index-list small { font-size: 13px; line-height: 1.8; color: var(--muted); }
.help-note { margin-top: 40px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.help-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }

/* 画像の拡大。はじめは画面に収め、押すと実寸にして動かして見られる */
.hlb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(11,31,58,.92); }
.hlb[hidden] { display: none; }
.hlb-stage { max-width: 96vw; max-height: 94vh; overflow: auto; }
.hlb-img { display: block; max-width: 96vw; max-height: 92vh; width: auto; height: auto; cursor: zoom-in; }
.hlb.is-full .hlb-img { max-width: none; max-height: none; cursor: zoom-out; }
.hlb-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); cursor: pointer; }
.hlb-close svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
html.hlb-open { overflow: hidden; }

/* 広い画面でないときは、右の目次を出さず、本文の頭の目次を出す */
@media (max-width: 1279px) {
  .help-wrap { grid-template-columns: 220px minmax(0, 1fr); }
  .help-toc-side { display: none; }
}
@media (min-width: 1001px) and (max-width: 1279px) {
  .help-chapters .help-chapter-sections { display: grid; margin: 2px 0 8px; }
}

/* 狭い画面: 章の一覧は、本文の頭で開閉する。帯の検索は、2段目に回す */
@media (max-width: 1000px) {
  .help-bar { position: static; }
  .help-bar-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px 20px; }
  .help-bar-links { margin-left: auto; }
  .help-search { order: 3; flex: 1 1 100%; max-width: none; }
  .help-search-key { display: none; }
  .help-search input { padding-right: 12px; }
  .help-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .help-side { display: none; }
  .help-chapters-sp { display: block; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .help-chapters-sp summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
  .help-chapters-sp summary::-webkit-details-marker { display: none; }
  .help-chapters-sp summary::after { content: "＋"; order: 3; color: #6B7A8D; }
  .help-chapters-sp[open] summary::after { content: "－"; }
  .help-chapters-sp summary span { margin-left: auto; font-weight: 400; color: var(--muted); }
  .help-chapters-sp .help-toc-title { display: none; }
  .help-chapters-sp nav { padding-bottom: 12px; }
  .help-body h2, .help-body h3 { scroll-margin-top: 88px; }
}
@media (max-width: 600px) {
  .page-help { --hh: 69px; }
  .help-main { padding: 24px 0 88px; }
  .help-wrap, .help-wrap-index, .help-bar-inner { width: calc(100% - 32px); }
  .help-bar-links { display: none; }
  .help-body { font-size: 15px; }
  .help-body h2 { margin-top: 56px; padding-top: 24px; font-size: 21px; }
  .help-pager { grid-template-columns: 1fr; gap: 16px; }
  .help-pager .next { text-align: left; }
  .help-defs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .help-shot.is-aside { display: block; }
  .help-shot.is-aside figcaption { margin-top: 10px; padding-top: 0; font-size: 13px; }
  .ui { white-space: normal; }
  .help-top { right: 16px; bottom: 16px; }
  .help-top span { display: none; }
  .help-top { width: 40px; padding: 0; justify-content: center; }
  /* 表は、1行を縦に積む（見出しの文字を、各セルの前に出す） */
  .table-wrap { overflow: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { display: none; }
  .table-wrap tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 1px solid var(--line); }
  .table-wrap th, .table-wrap td { padding: 2px 0; border: 0; }
  .table-wrap td::before { content: attr(data-label); display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #6B7A8D; }
  .help-index-list li > a { padding: 14px 0; }
  .help-hero { padding: 20px 0 28px; }
  .help-hero-inner { width: calc(100% - 32px); grid-template-areas: "crumbs crumbs" "head chara" "search search" "pop pop"; column-gap: 12px; }
  .help-hero .help-crumbs { margin-bottom: 18px; }
  .help-hero .help-search-hero { margin-top: 20px; }
  .chara-hero { width: calc(var(--cw) * .56); margin-bottom: 0; }
  .help-hero { padding: 20px 0 32px; }
  .help-idx h2 { gap: 10px; font-size: 19px; }
  .help-idx-icon { width: 32px; height: 32px; border-radius: 9px; }
  .help-idx-icon svg { width: 18px; height: 18px; }
  .help-idx-help .help-col { background: var(--white); border-radius: 10px; padding: 16px 16px 10px; }
  .help-head.has-chara { column-gap: 14px; }
  .chara-head { width: calc(var(--cw) * .68); }
  .help-idx { padding: 22px 18px 24px; border-radius: 12px; }
  .help-cols { gap: 0; }
  .help-col { padding: 18px 0 8px; background: none; border-radius: 0; }
  .help-col + .help-col { border-top: 1px solid var(--line); margin-top: 10px; }
  .help-idx-help .help-cols { gap: 12px; }
  .help-idx-help .help-col + .help-col { border-top: 0; margin-top: 0; }
  .help-wrap-index .help-article { max-width: none; }
  .help-hero .help-search-hero input { height: 52px; font-size: 16px; padding-left: 46px; }
  .help-notices li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (min-width: 601px) and (max-width: 1000px) {
  .chara-hero { width: calc(var(--cw) * .8); }
  .chara-head { width: calc(var(--cw) * .85); }
}
@media print {
  .chara { display: none; }
  .site-header, .help-bar, .help-side, .help-toc-side, .help-top, .help-pager, .help-backindex, .site-footer, .help-skip, .help-zoom { display: none !important; }
  .help-wrap { display: block; width: 100%; }
  .help-body a { text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
