/* =====================================================================
   資料センター(資料ダウンロード)の部品 .dc(inc/documents.php の ips_site_docs_center())
   /new/documents/ と WEBオーダーの資料ページ(固定ページ order-documents)で共通。
   WEBオーダーにはサイトのトークン(site.css)が無いため、.dc の中で色・書体を決める(サイトのトークンがあればそれを使う)。
   Cocoon の本文の見出し・リスト・リンクの飾りが掛からないように、.dc.dc で打ち消す
   1. トークン・打ち消し  2. 検索  3. 目的から探す  4. 本体(絞り込み・ご案内)  5. パスワード
   6. 件数・並び順・条件  7. 一覧の行  8. 0件の時・技術情報  9. パスワードの入力(ダイアログ)  10. 狭い画面の帯
   ===================================================================== */

/* 1. トークン・打ち消し ------------------------------------------------ */
.dc {
  --dc-ink: var(--ink, #0b1e33); --dc-ink-2: var(--ink-2, #46586b); --dc-muted: var(--muted, #56677a);
  --dc-navy: var(--navy, #0c253e); --dc-blue: var(--blue, #0068c4); --dc-blue-h: var(--blue-hover, #00539e); --dc-tint: var(--blue-tint, #e3f0fc);
  --dc-line: var(--line, #dde4ec); --dc-line-2: var(--line-2, #c5d1dc); --dc-line-s: var(--line-strong, #8193a6);
  --dc-s2: var(--surface-2, #f3f6f9); --dc-s3: var(--surface-3, #e8eef4); --dc-err: var(--signal-strong, #c7372d);
  --dc-r: var(--radius, 4px); --dc-rl: var(--radius-lg, 10px); --dc-focus: var(--focus, #1d82e6);
  --dc-head: var(--font-head, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif);
  --dc-en: var(--font-en, "Helvetica Neue", Arial, sans-serif);
  --dc-ease: var(--ease, cubic-bezier(.22, .61, .36, 1));
  /* 固定ヘッダーの下端(documents.js が測って --dc-hdr に入れる。無ければサイトのヘッダーの高さ) */
  --dc-top: calc(var(--dc-hdr, var(--header-h, 0px)) + 16px);
  position: relative; color: var(--dc-ink); font-size: 1rem; line-height: 1.75; letter-spacing: .03em;
}
.dc, .dc *, .dc *::before, .dc *::after { box-sizing: border-box; }
.dc.dc :is(h2, h3, h4, p, ul, li, dialog, form, fieldset) { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.dc.dc :is(h2, h3, h4) { position: static; height: auto; min-height: 0; line-height: 1.5; font-size: 1rem; }
.dc.dc :is(h2, h3, h4) span { position: static; padding: 0; }
.dc.dc :is(h2, h3, h4)::before, .dc.dc :is(h2, h3, h4)::after { content: none; }
.dc.dc :is(ul, li) { list-style: none; }
.dc.dc a { color: inherit; text-decoration: none; box-shadow: none; }
.dc.dc button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.dc.dc .icon { display: block; width: 1.25em; height: 1.25em; flex-shrink: 0; }
.dc [hidden] { display: none !important; }
.dc :focus-visible { outline: 2px solid var(--dc-focus); outline-offset: 2px; }
.dc.dc .dc-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.dc.dc .num-font { font-family: var(--dc-en); font-variant-numeric: tabular-nums; }
.dc.dc .dc-nw { white-space: nowrap; }
.dc.dc .phr { word-break: keep-all; overflow-wrap: anywhere; }
.dc.dc .count {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border: 1px solid transparent; border-radius: var(--dc-r);
  background: var(--dc-s3); color: var(--dc-ink-2); font-family: var(--dc-en); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0; line-height: 1;
}
/* 0件の種類: 件数の箱を消し、名前と件数を控えめな色に(白地に 5.6:1。0件の時に11個の箱が並んで騒がしくならないように) */
.dc.dc .count.is-zero { background: transparent; border-color: transparent; color: var(--dc-muted); font-weight: 600; }

/* ボタン(検索・確認・並べ替え・すべて見る) */
.dc.dc .dc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border: 1px solid transparent; border-radius: var(--dc-r);
  font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--dc-ease), color .18s var(--dc-ease), border-color .18s var(--dc-ease);
}
.dc.dc .dc-btn .icon { width: 18px; height: 18px; }
.dc.dc .dc-btn--primary { background: var(--dc-blue); color: #fff; }
.dc.dc .dc-btn--sub { min-height: 44px; padding: 8px 16px; border-color: var(--dc-line-2); background: #fff; color: var(--dc-ink); font-size: .875rem; }
.dc.dc .dc-btn--block { width: 100%; }
.dc.dc .dc-linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dc.dc .dc-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 12px; border: 1px solid var(--dc-line-2); border-radius: var(--dc-r); background: #fff;
  font-family: var(--dc-head); font-size: .875rem; font-weight: 700; color: var(--dc-ink); line-height: 1.4; white-space: nowrap; transition: border-color .18s var(--dc-ease), background-color .18s var(--dc-ease);
}
/* 押せる範囲を上下に 2px ずつ広げる(見た目 40px・押せる範囲 44px) */
.dc.dc .dc-chip::after { content: ""; position: absolute; inset: -2px 0; }
.dc.dc .dc-chip--x { background: var(--dc-tint); border-color: transparent; color: #00509a; }
.dc.dc .dc-chip--x .icon { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) {
  .dc.dc .dc-btn--primary:hover { background: var(--dc-blue-h); }
  .dc.dc .dc-btn--sub:hover { border-color: var(--dc-navy); background: var(--dc-s2); }
  .dc.dc .dc-linkbtn:hover { text-decoration-thickness: 2px; }
  .dc.dc .dc-chip:hover { border-color: var(--dc-navy); background: var(--dc-s2); }
  .dc.dc .dc-chip--x:hover { background: #d3e7fa; }
}

/* 2. 検索 ------------------------------------------------------------- */
.dc.dc .dc-search { padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--dc-line); border-radius: var(--dc-rl); background: #fff; box-shadow: 0 1px 2px rgba(11, 30, 51, .04), 0 8px 24px rgba(11, 30, 51, .05); }
.dc.dc .dc-search__label { display: flex; align-items: center; gap: 8px; font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
.dc.dc .dc-search__label .icon { width: 20px; height: 20px; color: var(--dc-blue); }
.dc.dc .dc-search__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
.dc.dc .dc-search__row input {
  width: 100%; height: auto; min-height: 52px; margin: 0; padding: 10px 14px; border: 1px solid var(--dc-line-s); border-radius: var(--dc-r); background: #fff; box-shadow: none;
  font: inherit; font-size: 1rem; color: var(--dc-ink); -webkit-appearance: none; appearance: none; transition: border-color .18s var(--dc-ease), box-shadow .18s var(--dc-ease);
}
.dc.dc .dc-search__row input::placeholder { color: var(--dc-muted); opacity: 1; }
.dc.dc .dc-search__row input:focus { outline: none; border-color: var(--dc-blue); box-shadow: 0 0 0 3px rgba(29, 130, 230, .22); }
.dc.dc .dc-search__row .dc-btn { min-height: 52px; padding-inline: 28px; }
.dc.dc .dc-search__hint { margin-top: 8px; font-size: .75rem; line-height: 1.7; color: var(--dc-muted); }
/* 入力中の件数(押すと結果へ) */
.dc.dc .dc-qcount {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; margin-top: 10px; padding: 6px 8px 6px 14px;
  border-radius: var(--dc-r); background: var(--dc-tint); color: var(--dc-navy); font-family: var(--dc-head); font-size: .875rem; font-weight: 700; text-align: left;
}
.dc.dc .dc-qcount__n b { margin-right: 2px; font-size: 1.125rem; }
.dc.dc .dc-qcount__go { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; color: #00509a; }
.dc.dc .dc-qcount__go .icon { width: 16px; height: 16px; transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .dc.dc .dc-qcount:hover .dc-qcount__go { text-decoration: underline; text-underline-offset: 3px; } }
.dc.dc .dc-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; }
.dc.dc .dc-examples__k { margin-right: 4px; font-size: .75rem; font-weight: 700; color: var(--dc-muted); font-family: var(--dc-head); }
.dc.dc .dc-examples .dc-chip { font-weight: 500; font-family: inherit; }
@media (min-width: 1024px) { .dc.dc .dc-examples .dc-chip { min-height: 36px; } .dc.dc .dc-examples .dc-chip::after { inset: -4px 0; } }

/* 3. 目的から探す ------------------------------------------------------
   カード: 1px の枠・角丸・左上に薄い色の円のアイコン・右上に件数。条件を選んでいる時(data-cond)は1行のチップに縮める */
.dc.dc .dc-entries { margin-top: 16px; }
.dc.dc .dc-entries__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; align-items: start; }
.dc.dc .dc-entries__list > li { height: 100%; }
.dc.dc .dc-entry {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "icon title n" "icon sub sub"; align-items: start; gap: 2px 12px;
  height: 100%; min-height: 76px; padding: 14px; align-content: start; border: 1px solid var(--dc-line); border-radius: var(--dc-rl); background: #fff;
  transition: border-color .18s var(--dc-ease), background-color .18s var(--dc-ease), box-shadow .18s var(--dc-ease);
}
.dc.dc .dc-entry[aria-current="true"] { background: var(--dc-tint); border-color: var(--dc-blue); }
.dc.dc .dc-entry__icon { grid-area: icon; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dc-tint); color: var(--dc-blue); }
.dc.dc .dc-entry__icon .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.dc.dc .dc-entry[aria-current="true"] .dc-entry__icon { background: #fff; }
.dc.dc .dc-entry__title { grid-area: title; align-self: center; min-height: 24px; font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1rem; font-weight: 700; letter-spacing: .04em; line-height: 1.45; }
.dc.dc .dc-entry__sub { grid-area: sub; font-size: .75rem; line-height: 1.6; color: var(--dc-muted); text-wrap: pretty; }
.dc.dc .dc-entry__n { grid-area: n; padding-top: 2px; font-size: .75rem; font-weight: 700; color: var(--dc-muted); white-space: nowrap; font-family: var(--dc-head); line-height: 1.5; }
.dc.dc .dc-entry__n .num-font { margin-right: 1px; font-size: .875rem; font-weight: 800; color: var(--dc-navy); }
@media (hover: hover) and (pointer: fine) { .dc.dc .dc-entry:hover { border-color: var(--dc-blue); box-shadow: 0 6px 18px rgba(11, 30, 51, .07); } }
@media (min-width: 1024px) {
  .dc.dc .dc-entries__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  /* 5列ではアイコンを上に置き、題を1行に(「取扱説明書・設定資料」だけ件数の位置がずれないように) */
  .dc.dc .dc-entry { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "icon n" "title title" "sub sub"; gap: 6px 8px; padding: 12px 14px 14px; }
  .dc.dc .dc-entry__icon { width: 36px; height: 36px; }
  .dc.dc .dc-entry__title { font-size: .9375rem; margin-top: 2px; }
}
/* 600〜1023px: 6列の格子で上の段3枚・下の段2枚(5枚の時に右下が空かないように) */
@media (min-width: 600px) and (max-width: 1023px) {
  .dc.dc:not([data-cond]) .dc-entries__list[data-n="5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dc.dc:not([data-cond]) .dc-entries__list[data-n="5"] > li { grid-column: span 2; }
  .dc.dc:not([data-cond]) .dc-entries__list[data-n="5"] > li:nth-child(n+4) { grid-column: span 3; }
}
/* スマホ: 2列の小さなカード(説明は省く。アイコン・名前・件数) */
@media (max-width: 599px) {
  .dc.dc .dc-entries__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dc.dc .dc-entry { grid-template-columns: 32px minmax(0, 1fr); grid-template-areas: "icon title" "icon n"; min-height: 60px; padding: 10px; gap: 0 8px; align-items: center; }
  .dc.dc .dc-entry__sub { display: none; }
  .dc.dc .dc-entry__icon { width: 32px; height: 32px; }
  .dc.dc .dc-entry__icon .icon { width: 16px; height: 16px; }
  .dc.dc .dc-entry__title { font-size: .875rem; min-height: 0; }
  .dc.dc .dc-entry__n { padding-top: 0; line-height: 1.3; }
  .dc.dc .dc-entries__list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* 条件を選んでいる時: 1行の横に送るチップ(高さ 44px)。今の結果に近い所へ早く着くように */
.dc.dc[data-cond] .dc-entries__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.dc.dc[data-cond] .dc-entries__list::-webkit-scrollbar { display: none; }
.dc.dc[data-cond] .dc-entries__list > li { flex: 0 0 auto; height: auto; }
.dc.dc[data-cond] .dc-entry { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px 4px 6px; border-radius: var(--dc-r); white-space: nowrap; }
.dc.dc[data-cond] .dc-entry__icon { width: 32px; height: 32px; }
.dc.dc[data-cond] .dc-entry__icon .icon { width: 16px; height: 16px; }
.dc.dc[data-cond] .dc-entry__title { min-height: 0; margin: 0; font-size: .875rem; }
.dc.dc[data-cond] .dc-entry__sub { display: none; }
.dc.dc[data-cond] .dc-entry__n { padding: 0; }
.dc.dc[data-cond] .dc-entries { margin-top: 12px; }

/* 4. 本体: 絞り込み(左)と一覧(右)。1023px以下は絞り込みを一覧の上の横に送る帯に ----------------- */
.dc.dc .dc-body { display: grid; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.dc.dc[data-cond] .dc-body { margin-top: 20px; }
@media (min-width: 1024px) { .dc.dc .dc-body { grid-template-columns: 236px minmax(0, 1fr); gap: 40px; align-items: start; } }
@media (min-width: 1280px) { .dc.dc .dc-body { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; } }
.dc.dc .dc-side { min-width: 0; }
/* 左の欄は画面の高さに収まる範囲で固定(種類が増えて収まらない時は欄の中だけスクロール) */
@media (min-width: 1024px) and (min-height: 640px) {
  .dc.dc .dc-side { position: sticky; top: var(--dc-top); max-height: calc(100vh - var(--dc-top) - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 2px 4px 2px 2px; margin: -2px -4px -2px -2px; }
}
.dc.dc .dc-side__title { margin-bottom: 8px; font-family: var(--dc-head); font-feature-settings: "palt"; font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--dc-ink-2); }
.dc.dc .dc-cats { display: grid; gap: 2px; }
.dc.dc .dc-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: var(--dc-r);
  font-family: var(--dc-head); font-feature-settings: "palt"; font-size: .875rem; font-weight: 700; letter-spacing: .04em; line-height: 1.45; color: var(--dc-ink);
  transition: background-color .18s var(--dc-ease), color .18s var(--dc-ease);
}
.dc.dc .dc-cat[aria-current="true"] { background: var(--dc-navy); color: #fff; }
.dc.dc .dc-cat.is-zero:not([aria-current="true"]) { color: var(--dc-muted); font-weight: 600; }
/* 0件の時だけ、種類の上に「条件をクリア」 */
.dc.dc .dc-side__clear { margin-bottom: 12px; }
.dc.dc .dc-side__clear .dc-btn { width: 100%; color: var(--dc-blue); }
.dc.dc .dc-side__clear .icon { width: 16px; height: 16px; }
@media (max-width: 1023px) { .dc.dc .dc-side__clear { flex: 0 0 auto; margin: 0; } .dc.dc .dc-side__clear .dc-btn { width: auto; padding-inline: 12px; } }
.dc.dc .dc-cat[aria-current="true"] .count { background: rgba(255, 255, 255, .16); border-color: transparent; color: #fff; }
.dc.dc .dc-oldwrap { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--dc-line); }
.dc.dc .dc-old { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; border-radius: var(--dc-r); font-family: var(--dc-head); font-size: .875rem; font-weight: 700; color: var(--dc-ink); }
.dc.dc .dc-old__l { flex: 1 1 auto; }
.dc.dc .dc-old__box { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--dc-line-s); border-radius: var(--dc-r); background: #fff; color: transparent; }
.dc.dc .dc-old__box .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.dc.dc .dc-old:is([aria-pressed="true"], [data-on="1"]:not([aria-pressed])) .dc-old__box { border-color: var(--dc-blue); background: var(--dc-blue); color: #fff; }
@media (hover: hover) and (pointer: fine) { .dc.dc .dc-cat:not([aria-current="true"]):hover, .dc.dc .dc-old:hover { background: var(--dc-s2); } }
.dc.dc .dc-help { margin-top: 20px; padding: 14px 16px; border-radius: var(--dc-rl); background: var(--dc-s2); font-size: .875rem; line-height: 1.7; color: var(--dc-ink-2); }
.dc.dc .dc-help .dc-side__title { margin-bottom: 4px; }
.dc.dc .dc-help__links { display: grid; gap: 0; }
.dc.dc .dc-help__link { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--dc-head); font-weight: 700; color: var(--dc-ink); }
.dc.dc .dc-help__link .icon { width: 20px; height: 20px; color: var(--dc-blue); }
.dc.dc .dc-help__link > span { display: grid; line-height: 1.4; }
.dc.dc .dc-help__k { font-size: .75rem; color: var(--dc-muted); }
.dc.dc .dc-help__link .num-font { font-size: 1.0625rem; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .dc.dc .dc-help__link:hover > span { text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 1023px) {
  .dc.dc .dc-filter .dc-side__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dc-filter { display: flex; align-items: center; gap: 8px; }
  /* 種類の横に送る帯: 続きがある側だけフェード(documents.js が data-at-start / data-at-end を付ける) */
  .dc.dc .dc-cats {
    --fl: 24px; --fr: 28px;
    display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 4px; scroll-padding-inline: 32px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  }
  .dc.dc .dc-cats[data-at-start] { --fl: 0px; }
  .dc.dc .dc-cats[data-at-end] { --fr: 0px; }
  .dc.dc .dc-cats::-webkit-scrollbar { display: none; }
  .dc.dc .dc-cats > li { flex: 0 0 auto; scroll-snap-align: start; }
  .dc.dc .dc-cat { min-height: 44px; padding: 6px 10px 6px 12px; border: 1px solid var(--dc-line-2); background: #fff; white-space: nowrap; }
  .dc.dc .dc-cat[aria-current="true"] { border-color: var(--dc-navy); }
  .dc.dc .dc-oldwrap { flex: 0 0 auto; margin: 0; padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--dc-line); }
  .dc.dc .dc-old { min-height: 44px; padding: 6px 4px; white-space: nowrap; }
  .dc.dc .dc-old .count { display: none; }
  .dc-side .dc-help { display: none; }
}
@media (min-width: 1024px) { .dc.dc .dc-main > .dc-help { display: none; } }
/* 0件の時は、0件の案内(NO MATCH)にお問い合わせ・電話をまとめる(同じ案内を2回出さない) */
.dc.dc[data-empty] .dc-help { display: none !important; }
/* 1024px以上でも画面が低い時(高さ 980px 未満)は、ご案内を一覧の後に置き、左の欄は種類と旧版だけにする(固定した欄が画面に収まるように) */
@media (min-width: 1024px) and (max-height: 979px) { .dc.dc .dc-side .dc-help { display: none; } .dc.dc .dc-main > .dc-help { display: block; margin-top: 32px; } }
@media (max-width: 767px) {
  .dc.dc .dc-filter { flex-wrap: wrap; }
  .dc.dc .dc-cats { flex-basis: 100%; }
  .dc.dc .dc-oldwrap { padding: 0; border: 0; }
  /* 検索の補足は読み上げだけ(入力欄の説明として残す) */
  .dc.dc .dc-search__hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* 5. パスワード: 1行の帯(鍵の円・件数・「パスワードを入力」)。入力欄はボタンで開く ---------------- */
.dc.dc .dc-main { min-width: 0; }
.dc.dc .dc-pass {
  --c: var(--dc-line-s);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; margin-bottom: 24px; padding: 12px 16px 12px 14px;
  border: 1px solid var(--dc-line); border-radius: var(--dc-rl); background-color: var(--dc-s2); scroll-margin-top: var(--dc-top);
  /* 四隅の印(サイトのファインダーの語彙) */
  background-image:
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)),
    linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-repeat: no-repeat;
  background-size: 10px 1.5px, 1.5px 10px, 10px 1.5px, 1.5px 10px, 10px 1.5px, 1.5px 10px, 10px 1.5px, 1.5px 10px;
  background-position: 5px 5px, 5px 5px, calc(100% - 5px) 5px, calc(100% - 5px) 5px, 5px calc(100% - 5px), 5px calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) calc(100% - 5px);
}
.dc.dc .dc-pass__head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.dc.dc .dc-pass__icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--dc-navy); box-shadow: inset 0 0 0 1px var(--dc-line); }
.dc.dc .dc-pass__icon .icon { width: 20px; height: 20px; }
.dc.dc .dc-pass__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; min-width: 0; }
.dc.dc .dc-pass__title { font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; color: var(--dc-ink); white-space: nowrap; }
.dc.dc .dc-pass__lead { font-size: .875rem; line-height: 1.7; color: var(--dc-ink-2); }
.dc.dc .dc-pass__lead b { font-size: 1rem; color: var(--dc-ink); }
.dc.dc .dc-pass__side { display: flex; align-items: center; justify-content: flex-end; }
.dc.dc .dc-pass__toggle { color: var(--dc-navy); }
.dc.dc .dc-pass__toggle .icon { width: 16px; height: 16px; }
/* 帯全体を1つのボタンにする時(狭い画面の控えめな帯)の文と印。ほかの時は出さない */
.dc.dc .dc-pass__toggle-q, .dc.dc .dc-pass__toggle > .icon:last-child { display: none; }
.dc.dc .dc-pass__form { grid-column: 1 / -1; display: grid; gap: 4px; max-width: 560px; padding-top: 12px; border-top: 1px solid var(--dc-line); }
.dc.dc .dc-pass.is-collapsed .dc-pass__form:not(:target) { display: none; }
.dc.dc .dc-pass__label { display: block; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; }
.dc.dc .dc-pass__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.dc.dc input[type="password"] {
  width: 100%; height: auto; min-height: 48px; margin: 0; padding: 8px 12px; border: 1px solid var(--dc-line-s); border-radius: var(--dc-r); background: #fff; box-shadow: none;
  font: inherit; font-size: 1rem; color: var(--dc-ink); letter-spacing: .1em;
}
.dc.dc input[type="password"]:focus { outline: none; border-color: var(--dc-blue); box-shadow: 0 0 0 3px rgba(29, 130, 230, .22); }
.dc.dc input[type="password"][aria-invalid="true"] { border-color: var(--dc-err); }
.dc.dc input[type="password"][aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(199, 55, 45, .2); }
.dc.dc .dc-pass__help { margin-top: 6px; font-size: .75rem; line-height: 1.7; color: var(--dc-muted); }
.dc.dc .dc-pass__help a, .dc.dc .dc-empty__pending a, .dc.dc .dc-tel { color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; }
.dc.dc .dc-pass__msg { margin: 2px 0 6px; padding: 8px 12px; border-radius: var(--dc-r); background: #fff; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; line-height: 1.7; color: var(--dc-err); }
.dc.dc .dc-pass__msg--ok, .dc.dc .dc-pass__msg--locked { color: var(--dc-ink); }
/* パスワードの案内から来た時(この資料はパスワードが必要です)は情報の色(青と鍵の印)。赤は誤入力の時だけ */
.dc.dc :is(.dc-pass__msg--need, .dc-pass__msg--expired) { position: relative; padding-left: 36px; background: var(--dc-tint); color: #00467f; }
.dc.dc :is(.dc-pass__msg--need, .dc-pass__msg--expired)::before {
  content: ""; position: absolute; left: 12px; top: 11px; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='1.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='1.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dc.dc .dc-pass__tel { margin-bottom: 6px; font-size: .875rem; line-height: 1.8; color: var(--dc-ink); }
.dc.dc .dc-tel { display: inline-block; padding-block: 8px; font-weight: 700; white-space: nowrap; }
/* 案内の文の中の電話番号は文の行の高さのまま(文中のリンク) */
.dc.dc .dc-pass__help .dc-tel { padding-block: 0; }
.dc.dc .dc-pass__done { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 16px; }
.dc.dc .dc-pass__until { font-size: .875rem; line-height: 1.7; color: var(--dc-ink-2); }
/* 入力済み・パスワード不要の端末: 鍵を外した表示 */
.dc.dc.is-unlocked .dc-pass, .dc.dc .dc-pass.is-open { --c: var(--dc-blue); }
.dc.dc.is-unlocked .dc-pass__icon, .dc.dc .dc-pass.is-open .dc-pass__icon { color: var(--dc-blue); }
.dc.dc.is-unlocked .dc-pass__toggle { display: none; }
.dc.dc.is-unlocked .dc-pass__form, .dc.dc.is-unlocked .dc-pass__msg--need, .dc.dc.is-unlocked .dc-pass__msg--ng, .dc.dc.is-unlocked .dc-pass__msg--expired { display: none; }
/* 条件があって結果にパスワードが必要な資料が無い時は、題とボタンだけの控えめな帯 */
.dc.dc .dc-pass[data-quiet].is-collapsed { padding-block: 6px; background-color: transparent; }
.dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__lead { display: none; }
.dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__icon { width: 32px; height: 32px; background: var(--dc-s2); }
.dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__title { font-size: .875rem; color: var(--dc-ink-2); }
/* 狭い画面: 説明は件数まで(一度入力した後の期間はダイアログ・入力欄の説明にある) */
@media (max-width: 599px) { .dc.dc .dc-pass__more { display: none; } }
@media (max-width: 479px) {
  .dc.dc .dc-pass { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dc.dc .dc-pass__head { align-items: flex-start; }
  .dc.dc .dc-pass__side { justify-content: stretch; }
  .dc.dc .dc-pass__toggle { width: 100%; }
  /* 条件があって結果にパスワードが必要な資料が無い時: 帯全体を「取扱説明書など n件はパスワードが必要 ›」の1つのボタンに(題がボタンの下に潜らないように。題は読み上げ用に残す) */
  .dc.dc .dc-pass[data-quiet].is-collapsed { display: block; padding: 0; border: 0; background: none; }
  .dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__toggle { justify-content: flex-start; width: 100%; min-height: 44px; padding: 8px 12px; gap: 8px; border-color: var(--dc-line); background: var(--dc-s2); color: var(--dc-ink-2); font-size: .875rem; text-align: left; white-space: normal; }
  .dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__toggle-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__toggle-q { display: inline; flex: 1 1 auto; min-width: 0; font-weight: 700; }
  .dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__toggle-q b { font-family: var(--dc-en); color: var(--dc-ink); }
  .dc.dc .dc-pass[data-quiet].is-collapsed .dc-pass__toggle > .icon:last-child { display: block; width: 18px; height: 18px; margin-left: auto; transform: rotate(-90deg); color: var(--dc-blue); }
}

/* 6. 件数・並び順・条件(結果の見出しが固定ヘッダーのすぐ下に来るように scroll-margin) -------------- */
.dc.dc .dc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-bottom: 12px; scroll-margin-top: var(--dc-top); }
.dc.dc .dc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; font-family: var(--font-display, var(--dc-head)); font-feature-settings: "palt"; font-size: clamp(1.25rem, 1.08rem + .7vw, 1.625rem); font-weight: 700; letter-spacing: .04em; line-height: 1.45; color: var(--dc-ink); scroll-margin-top: var(--dc-top); }
.dc.dc .dc-result:focus { outline: none; }
.dc.dc .dc-result:focus-visible { outline: 2px solid var(--dc-focus); outline-offset: 4px; }
.dc.dc .dc-result__n { font-family: var(--dc-head); font-size: .875rem; font-weight: 700; color: var(--dc-muted); white-space: nowrap; }
.dc.dc .dc-result__n .num-font { margin-right: 2px; font-size: 1.25rem; color: var(--dc-navy); }
/* 資料が0件で技術情報の記事が当たった時: 見出しに記事の件数も */
.dc.dc .dc-result__tech { margin-left: -8px; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; color: var(--dc-muted); white-space: nowrap; }
.dc.dc .dc-result__tech .num-font { font-size: 1.25rem; color: var(--dc-navy); }
.dc.dc .dc-sort { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.dc.dc .dc-sort label { font-family: var(--dc-head); font-weight: 700; color: var(--dc-ink-2); white-space: nowrap; }
.dc.dc .dc-sort select {
  min-height: 44px; margin: 0; padding: 6px 36px 6px 12px; border: 1px solid var(--dc-line-s); border-radius: var(--dc-r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346586b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  font: inherit; font-size: 1rem; color: var(--dc-ink); -webkit-appearance: none; appearance: none; cursor: pointer;
}
.dc.dc .dc-note { display: grid; gap: 2px; width: 100%; font-size: .875rem; line-height: 1.7; color: var(--dc-ink-2); }
.dc.dc .dc-note > span { position: relative; padding-left: 18px; }
.dc.dc .dc-note > span::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--dc-blue); }
.dc.dc .dc-note__syn::before { background: transparent !important; border: 1.5px solid var(--dc-line-s); }
.dc.dc .dc-note b { color: var(--dc-ink); font-family: var(--dc-head); }
.dc.dc .dc-active { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; width: 100%; }
.dc.dc.has-js .dc-sort .dc-btn { display: none; }

/* 7. 一覧の行 -----------------------------------------------------------
   行のどこを押しても操作のリンクになる(.dc-act::after を行いっぱいに)。ボタンは2番目の強さ(白地・青い枠)で、行にホバーした時だけ塗る */
.dc.dc .dc-group:not([hidden]) ~ .dc-group { margin-top: 32px; }
.dc.dc .dc-group__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 2px solid var(--dc-navy); font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1.125rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; color: var(--dc-ink); }
/* 型番の補足(「この機種の資料」の後の型番)。型番は折り返さない */
.dc.dc .dc-group__for { font-family: var(--dc-en); font-size: 1rem; font-weight: 800; letter-spacing: .02em; color: var(--dc-navy); white-space: nowrap; }
.dc.dc .dc-group--flat { border-top: 2px solid var(--dc-navy); }
/* 型番で探した時の2段: 「この機種の資料」は青の太い線と淡い地の見出し、「〇〇 共通の資料」は種類のまとまりごとに先頭の数件 */
.dc.dc .dc-tier--own .dc-group__title { margin-bottom: 2px; padding: 10px 12px; border-bottom-color: var(--dc-blue); border-radius: var(--dc-r) var(--dc-r) 0 0; background: var(--dc-tint); }
.dc.dc .dc-tier--own .dc-group__title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--dc-blue); }
.dc.dc .dc-sub + .dc-sub { margin-top: 4px; }
.dc.dc .dc-sub__title { display: flex; align-items: baseline; gap: 8px; padding: 14px 0 2px; font-family: var(--dc-head); font-feature-settings: "palt"; font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--dc-ink-2); }
.dc.dc .dc-sub__n { font-size: .75rem; color: var(--dc-muted); }
.dc.dc .dc-sub__n .num-font { margin-right: 1px; font-size: .875rem; color: var(--dc-navy); }
.dc.dc .dc-sub__more { padding: 10px 0 6px; }
.dc.dc .dc-sub__more .icon { width: 16px; height: 16px; }
/* 「〇〇 n件をすべて見る」: 狭い画面では、まとまりの名前と「n件をすべて見る」の間で折り返す(ボタンが横にはみ出さない) */
.dc.dc :is(.dc-sub__more, .dc-group__more) .dc-btn--sub { max-width: 100%; white-space: normal; text-align: left; justify-content: flex-start; }
.dc.dc .dc-btn__t { min-width: 0; }
.dc.dc .dc-btn__l { word-break: keep-all; overflow-wrap: anywhere; }
/* まとまりを開く間は、スクロールの自動の補正で位置が動かないように(位置は documents.js が合わせる) */
.dc.dc.is-opening { overflow-anchor: none; }
/* 行は描画を省く(content-visibility)。推定の高さは幅の段ごとの実寸に近い値(# での着地のずれを小さく) */
.dc.dc .dc-row {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 4px 18px; padding: 16px 12px 16px 4px;
  border-bottom: 1px solid var(--dc-line); content-visibility: auto; contain-intrinsic-size: auto 136px; transition: background-color .18s var(--dc-ease);
  scroll-margin-top: calc(var(--dc-top) + var(--dc-float-h, 0px));
}
@media (max-width: 1023px) { .dc.dc .dc-row { contain-intrinsic-size: auto 160px; } }
@media (max-width: 599px) { .dc.dc .dc-row { contain-intrinsic-size: auto 210px; } }
/* 行・仕様書への # で開いた時・パスワードの入力の後の戻り先では、描画を省かない(推定の高さで着地がずれないように) */
.dc.dc.is-cv-off .dc-row { content-visibility: visible; }
.dc.dc .dc-row.is-target { background: var(--dc-tint); box-shadow: inset 0 0 0 2px var(--dc-blue); }
.dc.dc .dc-row--old { background: repeating-linear-gradient(135deg, rgba(232, 238, 244, .5) 0 8px, transparent 8px 16px); }
.dc.dc .dc-row:has(.dc-act:focus-visible) { background: var(--dc-s2); }
.dc.dc .dc-fmt {
  display: grid; place-items: center; align-content: center; gap: 2px; width: 44px; height: 54px; margin-top: 2px; border: 1px solid var(--dc-line-2); border-radius: var(--dc-r);
  background: linear-gradient(225deg, var(--dc-s3) 0 9px, #fff 9px); font-family: var(--dc-en); font-size: .75rem; font-weight: 800; letter-spacing: .04em; color: var(--dc-ink-2);
}
.dc.dc .dc-fmt--pdf { color: var(--dc-navy); }
.dc.dc .dc-fmt--zip { color: var(--dc-blue); }
.dc.dc .dc-fmt--web { border-style: dashed; }
.dc.dc .dc-fmt--video { border-color: var(--dc-navy); background: #fff; color: var(--dc-navy); }
.dc.dc .dc-row__main { min-width: 0; }
.dc.dc .dc-row__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .75rem; line-height: 1.5; color: var(--dc-muted); }
.dc.dc .dc-row__cat { font-family: var(--dc-head); font-weight: 700; }
.dc.dc[data-sort="cat"] .dc-row:not([data-cat="spec"]) .dc-row__cat { display: none; }
.dc.dc .dc-tag { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 1px 7px; border: 1px solid var(--dc-line-2); border-radius: var(--dc-r); background: #fff; font-family: var(--dc-head); font-size: .75rem; font-weight: 700; color: var(--dc-ink-2); white-space: nowrap; }
.dc.dc .dc-tag--lock { border-color: var(--dc-line-s); color: var(--dc-ink); }
.dc.dc .dc-tag--new { border-color: transparent; background: var(--dc-tint); color: #00509a; }
.dc.dc .dc-tag--rel { border-color: var(--dc-blue); color: #00509a; }
.dc.dc .dc-tag--own { border-color: transparent; background: var(--dc-navy); color: #fff; }
.dc.dc.is-unlocked .dc-tag--lock { border-color: var(--dc-line-2); color: var(--dc-muted); }
.dc.dc .dc-row__title { margin-top: 2px; font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; color: var(--dc-ink); }
.dc.dc .dc-row__model { margin-right: 10px; font-family: var(--dc-en); letter-spacing: .02em; white-space: nowrap; }
.dc.dc .dc-row__name { font-size: .9375rem; font-weight: 500; font-family: inherit; color: var(--dc-ink-2); }
.dc.dc .dc-row__alias { margin-right: 10px; font-size: .75rem; font-weight: 700; color: var(--dc-muted); }
.dc.dc .dc-row__alias .alias-k { margin-right: 4px; }
.dc.dc .dc-row__note { margin-top: 2px; font-size: .875rem; line-height: 1.75; color: var(--dc-ink-2); }
.dc.dc .dc-row__meta { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 4px; font-size: .75rem; line-height: 1.7; color: var(--dc-muted); font-variant-numeric: tabular-nums; }
.dc.dc .dc-row__meta li { display: inline-flex; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.dc.dc .dc-row__k { flex-shrink: 0; font-weight: 700; font-family: var(--dc-head); white-space: nowrap; }
/* 操作のボタン: 行の右(599px以下は本文の下)。パスワードが必要な資料は、入力済みの端末だけ「ダウンロード」 */
/* ボタンの枠は1種類(1px の --line-strong・青の文字)。違いはアイコン(↓ ダウンロード / ↗ 開く / ▶ 動画 / 鍵 パスワード)だけで示す */
.dc.dc .dc-act {
  position: static; align-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: 148px; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--dc-line-s); border-radius: var(--dc-r); background: #fff; color: var(--dc-blue); scroll-margin-top: calc(var(--dc-top) + var(--dc-float-h, 0px));
  font-family: var(--dc-head); font-feature-settings: "palt"; font-size: .875rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; white-space: nowrap;
  transition: background-color .18s var(--dc-ease), color .18s var(--dc-ease), border-color .18s var(--dc-ease);
}
.dc.dc .dc-act::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dc.dc .dc-act > span:not(.dc-sr) { display: inline-flex; align-items: center; gap: 8px; }
.dc.dc .dc-act .icon { width: 18px; height: 18px; }
.dc.dc .dc-act.dc-act--lock .dc-act__open { display: none; }
.dc.dc.is-unlocked .dc-act.dc-act--lock .dc-act__lock { display: none; }
.dc.dc.is-unlocked .dc-act.dc-act--lock .dc-act__open { display: inline-flex; }
@media (hover: hover) and (pointer: fine) {
  .dc.dc .dc-row:hover { background: var(--dc-s2); }
  .dc.dc .dc-row--old:hover { background: repeating-linear-gradient(135deg, rgba(232, 238, 244, .9) 0 8px, var(--dc-s2) 8px 16px); }
  .dc.dc .dc-row:hover .dc-act { background: var(--dc-blue); border-color: var(--dc-blue); color: #fff; }
  .dc.dc .dc-row:hover .dc-i { color: inherit !important; }
}
.dc.dc .dc-row:active { background: var(--dc-s2); }
.dc.dc .dc-group__more { padding: 16px 0 4px; }
/* 600〜767px: ボタンは右の列のまま(右半分が空かないように)。599px以下は本文の下に */
@media (max-width: 767px) {
  .dc.dc .dc-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px 0; }
  .dc.dc .dc-fmt { width: 40px; height: 48px; font-size: .6875rem; }
  .dc.dc .dc-act { min-width: 0; }
  .dc.dc .dc-row__title { font-size: 1rem; }
}
@media (max-width: 599px) {
  .dc.dc .dc-row { grid-template-columns: 40px minmax(0, 1fr); }
  .dc.dc .dc-act { grid-column: 2; justify-self: start; }
}

/* 8. 0件の時・技術情報の記事 ---------------------------------------------- */
.dc.dc .dc-empty { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px 28px; align-items: start; margin-top: 8px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--dc-rl); background: var(--dc-s2); }
/* 小さな画面(404 の NO SIGNAL と同じ語彙。飾りなので読み上げない) */
.dc.dc .dc-empty__screen {
  position: relative; display: grid; place-items: center; height: 120px; overflow: hidden; border-radius: var(--dc-r); border: 1px solid #1c3550;
  background: radial-gradient(120% 90% at 50% 45%, #0d2036 0%, #06111f 62%, #030a14 100%); color: #fff; font-family: var(--dc-en); letter-spacing: .16em;
}
.dc.dc .dc-empty__screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(124, 200, 255, .05) 0 1px, transparent 1px 3px); }
.dc.dc .dc-empty__ch { position: absolute; top: 8px; left: 8px; padding: 1px 6px; border-radius: var(--dc-r); background: rgba(6, 18, 32, .72); font-size: .75rem; font-weight: 700; line-height: 1.5; }
.dc.dc .dc-empty__sig { position: relative; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--dc-r); background: rgba(2, 10, 20, .88); font-size: .875rem; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.dc.dc .dc-empty__zero { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; line-height: 1.5; color: #b4c4d5; }
.dc.dc .dc-empty__zero i { width: 7px; height: 7px; border-radius: 50%; background: #7cc8ff; }
.dc.dc .dc-empty__body { min-width: 0; }
.dc.dc .dc-empty__title { font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.dc.dc .dc-empty__list { display: grid; gap: 0; margin-top: 8px; font-size: .875rem; line-height: 1.6; }
.dc.dc .dc-empty__list > li > a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 18px; color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; }
.dc.dc .dc-empty__list > li > a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--dc-blue); }
/* 電話の相談が早い言葉(リセット・故障など)の時に先頭に出す電話の案内 */
.dc.dc .dc-empty__list > li > a.dc-empty__tel-link { gap: 10px; margin-bottom: 4px; padding: 10px 12px; border-radius: var(--dc-r); background: #fff; color: var(--dc-ink); text-decoration: none; font-family: var(--dc-head); font-weight: 700; }
.dc.dc .dc-empty__list > li > a.dc-empty__tel-link::before { content: none; }
.dc.dc .dc-empty__tel-link .icon { width: 20px; height: 20px; color: var(--dc-blue); }
.dc.dc .dc-empty__tel-link .num-font { color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dc.dc .dc-empty__pending { display: grid; gap: 8px; margin-top: 14px; }
.dc.dc .dc-empty__pending > li { padding: 12px 14px; border-radius: var(--dc-r); background: #fff; font-size: .875rem; line-height: 1.8; }
.dc.dc .dc-empty__pending b { font-family: var(--dc-en); }
.dc.dc .dc-empty__pending-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.dc.dc .dc-empty__pending-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 599px) {
  .dc.dc .dc-empty { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dc.dc .dc-empty__screen { height: 96px; }
}
.dc.dc .dc-tech { margin-top: 28px; padding: 16px 18px 8px; border: 1px solid var(--dc-line); border-radius: var(--dc-rl); background: #fff; }
/* 資料が0件の時は、答えになる記事を NO MATCH の案内より先に(見出しのすぐ下) */
.dc.dc[data-empty] .dc-tech { margin: 8px 0 16px; border-color: var(--dc-blue); }
.dc.dc .dc-tech__title { font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1rem; font-weight: 700; letter-spacing: .04em; color: var(--dc-ink); }
.dc.dc .dc-tech__list { margin-top: 6px; }
.dc.dc .dc-tech__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: baseline; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--dc-line); }
.dc.dc .dc-tech__list > li:last-child .dc-tech__item { border-bottom: 0; }
.dc.dc .dc-tech__date { font-size: .75rem; font-weight: 700; color: var(--dc-muted); }
.dc.dc .dc-tech__t { font-family: var(--dc-head); font-weight: 700; font-size: .9375rem; line-height: 1.6; color: var(--dc-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 104, 196, .35); }
@media (hover: hover) and (pointer: fine) { .dc.dc .dc-tech__item:hover .dc-tech__t { text-decoration-color: currentColor; } }
@media (max-width: 479px) { .dc.dc .dc-tech__item { grid-template-columns: minmax(0, 1fr); } }

/* 9. パスワードの入力(ダイアログ) ---------------------------------------- */
.dc.dc .dc-dialog {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px clamp(20px, 4vw, 32px) 20px; border: 0; border-radius: var(--dc-rl);
  background: #fff; color: var(--dc-ink); box-shadow: 0 24px 64px rgba(6, 21, 39, .32); overflow: auto;
}
/* 幕はサイトのほかのダイアログと同じ値(濃紺の半透明+ぼかし) */
.dc.dc .dc-dialog::backdrop { background: var(--scrim, rgba(6, 21, 39, .55)); -webkit-backdrop-filter: blur(var(--scrim-blur, 4px)); backdrop-filter: blur(var(--scrim-blur, 4px)); }
.dc.dc .dc-dialog__close { position: absolute; top: 8px; right: 8px; }
.dc.dc .dc-dialog__close button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--dc-ink-2); }
.dc.dc .dc-dialog__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dc-s2); color: var(--dc-navy); }
.dc.dc .dc-dialog__icon .icon { width: 26px; height: 26px; }
.dc.dc .dc-dialog__title { margin-top: 14px; font-family: var(--dc-head); font-feature-settings: "palt"; font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.dc.dc .dc-dialog__doc { margin-top: 4px; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; line-height: 1.7; color: var(--dc-ink-2); }
.dc.dc .dc-dialog__form { display: grid; gap: 8px; margin-top: 16px; }
.dc.dc .dc-dialog__row { display: grid; gap: 8px; }
.dc.dc .dc-dialog__go-s { display: none; }
.dc.dc .dc-dialog__msg { min-height: 0; margin-top: -2px; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; line-height: 1.7; color: var(--dc-err); }
.dc.dc .dc-dialog__ask { margin-top: 0; }
.dc.dc .dc-dialog__msg:empty { display: none; }
.dc.dc .dc-dialog .dc-btn { width: 100%; }

.dc.dc .dc-dialog[aria-busy="true"] .dc-btn { opacity: .6; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .dc.dc .dc-dialog__close button:hover { background: var(--dc-s2); } }
@media (prefers-reduced-motion: no-preference) {
  .dc.dc .dc-dialog[open] { animation: dc-in .2s var(--dc-ease); }
  @keyframes dc-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
}
/* スマホ(599px以下): 画面の上に寄せる(キーボードが開いても、誤りの文と入力欄が見える範囲に残るように) */
@media (max-width: 599px) { .dc.dc .dc-dialog { margin: 16px auto auto; max-height: calc(100dvh - 32px); } }
/* 横向きのスマホ(高さ 500px 以下): 飾りを外し、入力欄とボタンを横に並べる(キーボードが出ても入力欄が隠れないように上に寄せる) */
@media (max-height: 500px) {
  .dc.dc .dc-dialog { width: min(560px, calc(100vw - 32px)); margin-top: 8px; padding: 16px 20px 12px; }
  .dc.dc .dc-dialog__icon { display: none; }
  .dc.dc .dc-dialog__title { margin-top: 0; padding-right: 44px; font-size: 1rem; }
  .dc.dc .dc-dialog__doc { margin-top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dc.dc .dc-dialog__form { margin-top: 8px; gap: 4px; }
  .dc.dc .dc-dialog__row { grid-template-columns: minmax(0, 1fr) auto; }
  .dc.dc .dc-dialog .dc-btn { width: auto; min-height: 48px; margin-top: 0; }
  .dc.dc .dc-dialog__go { display: none; }
  .dc.dc .dc-dialog__go-s { display: inline; }
  .dc.dc .dc-dialog .dc-pass__help:not(.dc-dialog__ask) { display: none; }
}

/* 10. 狭い画面の帯: 一覧を読んでいる間、ヘッダーのすぐ下に今の条件・件数と「検索・絞り込み」へ戻るボタン -------- */
.dc.dc .dc-float {
  position: fixed; left: 0; right: 0; top: var(--dc-float-top, 0px); z-index: 45; padding: 6px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dc-line); box-shadow: 0 6px 16px rgba(11, 30, 51, .08);
  opacity: 0; transform: translateY(-8px); transition: opacity .2s var(--dc-ease), transform .2s var(--dc-ease);
}
.dc.dc .dc-float.is-in { opacity: 1; transform: none; }
.dc.dc .dc-float__btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 4px; font-family: var(--dc-head); font-size: .875rem; font-weight: 700; color: var(--dc-ink); text-align: left; }
.dc.dc .dc-float__btn > .icon { width: 18px; height: 18px; color: var(--dc-blue); }
.dc.dc .dc-float__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc.dc .dc-float__n { flex: 0 0 auto; color: var(--dc-muted); }
.dc.dc .dc-float__n b { margin-right: 1px; color: var(--dc-navy); }
.dc.dc .dc-float__go { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--dc-blue); border-radius: var(--dc-r); color: var(--dc-blue); }
@media (min-width: 1024px) { .dc.dc .dc-float { display: none !important; } }
/* 横向きのスマホ: 帯は低く(48px) */
@media (max-height: 500px) { .dc.dc .dc-float { padding-block: 2px; } .dc.dc .dc-float__btn { min-height: 44px; } .dc.dc .dc-float__go { min-height: 32px; } }
@media (prefers-reduced-motion: reduce) { .dc.dc .dc-float { transition: none; } }

/* 描画の軽さ: 一覧の行(件数が増える)では、見出しの均等な折り返し(balance)・文節の自動判定(auto-phrase)・段落の整え(pretty)を使わない。
   資料名の改行位置はサーバーで入れた文節の区切り(.phr)で決まる */
.dc.dc .dc-row :is(h4, p, li, span) { text-wrap: wrap; word-break: normal; }
.dc.dc .dc-row .phr { word-break: keep-all; }

/* 行のアイコン(CSS の図。inline SVG より文書の要素が少ない。線の太さはサイトのアイコンにそろえる) */
.dc.dc .dc-i { display: inline-block; flex-shrink: 0; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--dc-i) center / contain no-repeat; mask: var(--dc-i) center / contain no-repeat; }
.dc.dc .dc-i--dl { --dc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 19.5h14'/%3E%3C/svg%3E"); }
.dc.dc .dc-i--out { --dc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); }
.dc.dc .dc-i--play { --dc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 5.5v13l10.5-6.5Z'/%3E%3C/svg%3E"); }
.dc.dc .dc-i--lock { --dc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='1.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2.5'/%3E%3C/svg%3E"); }
.dc.dc .dc-tag .dc-i { width: 13px; height: 13px; }
.dc.dc .dc-fmt .dc-i { width: 16px; height: 16px; }


/* 359px以下: 検索のボタンを入力欄の下に(入力欄の例文が切れないように) */
@media (max-width: 359px) {
  .dc.dc .dc-search__row { grid-template-columns: minmax(0, 1fr); }
  .dc.dc .dc-search__row .dc-btn { min-height: 48px; }
}
