/* 特設ページ（dbs/・scs/）だけで使う部品。土台は site.css（色・書体・余白は DESIGN.md）。
   2026-11-15 案C：DBS の中身はそのまま、外側（メニュー・フッター・色・書体）を新サイトにそろえた */
.sec { --tk-muted: var(--muted); --tk-line: var(--line); --tk-card: var(--night-2); --tk-accent: var(--brand-hi); }
.sec--paper { --tk-muted: var(--muted-dark); --tk-line: var(--paper-2); --tk-card: #fff; --tk-accent: var(--brand); }
.sec--brand { --tk-muted: rgba(255, 255, 255, .78); --tk-line: rgba(255, 255, 255, .25); --tk-card: rgba(255, 255, 255, .1); --tk-accent: #fff; }
.tk-text { max-width: 760px; }
.tk h3 { font-family: var(--f-head); font-weight: 700; margin: 0; line-height: 1.5; }
.tk .todo { display: inline-block; background: #FFF4CC; color: #7A5A00; font-size: 12.5px; padding: 0 6px; border-radius: 4px; margin-left: 4px; }
.tk-k { font-size: 13px; font-weight: 700; color: var(--tk-muted); letter-spacing: .06em; margin: 0 0 10px; }
.tk-src { font-size: 12.5px; color: var(--tk-muted); margin-top: 18px; line-height: 1.75; }
.tk-note { font-size: 13.5px; color: var(--tk-muted); margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--tk-line); line-height: 1.8; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.phero .tk-basis { display: inline-block; margin-left: 12px; font-size: 12px; letter-spacing: .04em; color: var(--muted); text-transform: none; }
.phero .tk-no { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; letter-spacing: 0; margin-right: 6px; }
.toc a[aria-current="page"] { color: #fff; border-color: var(--brand-hi); background: rgba(47, 134, 230, .18); }

/* 大きな数字 */
.tk-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; }
.tk-nums b { display: block; font-family: var(--f-num); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; color: var(--tk-accent); font-feature-settings: "tnum" 1; }
.tk-nums span { display: block; margin-top: 10px; color: var(--tk-muted); font-size: 14.5px; }

/* 2つ並べ */
.tk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.tk-panel { background: var(--tk-card); border: 1px solid var(--tk-line); border-radius: 20px; padding: 28px; }
.tk-panel h3 { font-size: 18px; margin: 10px 0 12px; }
.tk-panel p { margin: 0; color: var(--tk-muted); font-size: 14.5px; }
.tk-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--tk-accent); border: 1px solid currentColor; border-radius: 999px; padding: 1px 10px; }
.tk-tag--on { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 760px) { .tk-two { grid-template-columns: 1fr; } }

/* 番号付きの一覧（やること） */
.tk-duties { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: d; }
.tk-duties li { counter-increment: d; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--tk-line); }
.tk-duties li::before { content: counter(d, decimal-leading-zero); font-family: var(--f-num); font-weight: 700; color: var(--tk-accent); font-size: 14px; }
.tk-duties h3 { font-size: 17px; }
.tk-duties p { margin: 3px 0 0; font-size: 14px; color: var(--tk-muted); }
.tk-art { font-size: 12.5px; color: var(--tk-muted); white-space: nowrap; }
@media (max-width: 560px) { .tk-duties li { grid-template-columns: 34px 1fr; } .tk-art { grid-column: 2; } }
.tk-plain { list-style: none; padding: 0; margin: 26px 0 0; }
.tk-plain li { padding: 16px 0; border-bottom: 1px solid var(--tk-line); }

/* ページへのカード */
.tk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; }
.tk-card { display: flex; flex-direction: column; gap: 8px; background: var(--tk-card); border: 1px solid var(--tk-line); border-radius: 20px; padding: 26px; text-decoration: none; color: inherit; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.tk-card:hover { transform: translateY(-3px); border-color: var(--tk-accent); }
.tk-card .n { font-family: var(--f-num); font-weight: 700; font-size: 13px; color: var(--tk-accent); }
.tk-card h3 { font-size: 20px; }
.tk-card p { margin: 0; color: var(--tk-muted); font-size: 14.5px; flex: 1; }
.tk-card .go { font-size: 13.5px; font-weight: 700; color: var(--tk-accent); }

/* 引用（ガイドライン・制度の文書） */
.tk-quote { margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--brand); }
.tk-quote ul { margin: 0; padding: 0; list-style: none; }
.tk-quote li { padding: 12px 0; font-size: 16.5px; line-height: 1.85; }
.tk-quote strong { background: linear-gradient(transparent 62%, rgba(0, 91, 172, .18) 62%); }

/* 3つの手順 */
.tk-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 30px; }
.tk-cols h3 { font-size: 19px; margin: 12px 0 8px; }
.tk-cols p { color: var(--tk-muted); font-size: 15px; margin: 0; }
.tk-step { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--f-num); font-weight: 700; align-items: center; justify-content: center; font-size: 14px; }
@media (max-width: 760px) { .tk-cols { grid-template-columns: 1fr; gap: 26px; } }

/* 商品 */
.tk-prods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 26px; }
.tk-prod { padding: 22px 0; border-top: 1px solid var(--tk-line); }
.tk-prod small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--tk-muted); margin-bottom: 4px; }
.tk-prod h3 { font-size: 19px; margin-bottom: 6px; }
.tk-prod p { font-size: 15px; color: var(--tk-muted); margin: 0 0 6px; }
.tk-prod a { font-size: 13.5px; color: var(--tk-accent); }
@media (max-width: 760px) { .tk-prods { grid-template-columns: 1fr; } }

/* 表 */
.tk-table-wrap { overflow-x: auto; margin-top: 28px; }
.tk-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.tk-table th, .tk-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--tk-line); vertical-align: top; }
.tk-table th { font-size: 12.5px; color: var(--tk-muted); font-weight: 700; letter-spacing: .04em; }
.tk-table td.n { font-family: var(--f-num); font-weight: 700; text-align: right; white-space: nowrap; }
.tk-table tr.hl td { background: rgba(0, 91, 172, .08); }

/* 前へ・次へ */
.tk-pager { display: flex; justify-content: space-between; gap: 14px; }
.tk-pg { flex: 1; text-decoration: none; color: inherit; background: var(--tk-card); border: 1px solid var(--tk-line); border-radius: 16px; padding: 18px 22px; font-weight: 700; }
.tk-pg small { display: block; font-weight: 400; color: var(--tk-muted); font-size: 12.5px; }
.tk-pg--next { text-align: right; }

/* その場で診断 */
.tk-check { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 34px; align-items: start; }
.tk-qs { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.tk-q { border: 1px solid var(--tk-line); margin: 0; padding: 20px 22px; background: var(--tk-card); border-radius: 18px; }
.tk-q legend { float: left; width: 100%; font-weight: 700; font-size: 15.5px; line-height: 1.6; margin-bottom: 12px; display: flex; gap: 10px; }
.tk-qn { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; font-family: var(--f-num); }
.tk-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-opt { font-family: inherit; font-size: 14px; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--tk-line); background: transparent; color: inherit; cursor: pointer; transition: transform 100ms ease-out, background 120ms, color 120ms; }
.tk-opt:active { transform: scale(.96); }
.tk-opt[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tk-result { position: sticky; top: 100px; background: var(--tk-card); border: 1px solid var(--tk-line); border-radius: 18px; padding: 24px; }
.tk-result .rtype { font-family: var(--f-head); font-size: 21px; font-weight: 700; line-height: 1.45; margin: 0 0 6px; }
.tk-result .rtype small { display: block; font-family: var(--f-body); font-size: 13.5px; color: var(--tk-muted); font-weight: 500; }
.tk-result ul { list-style: none; margin: 14px 0 0; padding: 0; }
.tk-result li { padding: 12px 0; border-top: 1px solid var(--tk-line); }
.tk-result li a { font-weight: 700; text-decoration: none; color: var(--tk-accent); }
.tk-result li p { font-size: 13.5px; color: var(--tk-muted); margin: 2px 0 0; line-height: 1.6; }
.tk-result .muted, .tk-result .rcount { font-size: 13.5px; color: var(--tk-muted); }
.tk-result .acts { display: flex; gap: 10px; margin: 18px 0 0; }
.tk-result .acts button { font-family: inherit; font-size: 13.5px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--tk-line); background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 900px) { .tk-check { grid-template-columns: 1fr; } .tk-result { position: static; } }

/* セミナー */
.tk-event { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; }
.tk-event dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 24px 0 0; }
.tk-event dt { color: var(--tk-muted); font-size: 13.5px; }
.tk-event dd { margin: 0; font-weight: 700; }
@media (max-width: 760px) { .tk-event { grid-template-columns: 1fr; } }

/* 特設ページの注記（フッターの上） */
.tk-legal { padding-block: 36px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tk-legal p { margin: 0 0 6px; max-width: 60em; }

@media print {
  .hdr, .drawer, .phero, .sec:not(.tk-checksec), .ftr, .tk-legal, .tk-result .acts, .progress { display: none !important; }
  body, .tk-checksec { background: #fff !important; color: #000 !important; }
  .tk-check { grid-template-columns: 1fr; } .tk-result { position: static; }
  .rv { opacity: 1 !important; transform: none !important; }
}

/* コラムの本文（2026-11-15） */
.col-body { font-size: 16.5px; line-height: 2; }
.col-body h2 { font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.45; margin: 56px 0 16px; }
.col-body h2:first-child { margin-top: 0; }
.col-body h3 { font-size: 18px; margin: 32px 0 10px; }
.col-body p { margin: 0 0 18px; }
.col-body ul, .col-body ol { margin: 0 0 20px; padding-left: 1.4em; }
.col-body li { margin-bottom: 6px; }
.col-body a { color: var(--brand); word-break: break-all; }
