/* やさしい解説(/kaisetsu/)だけで読むスタイル */
.ks-fig { display: block; width: 100%; height: auto; margin: 8px 0 16px; }
.ks-big { font-size: var(--text-lg); line-height: 1.8; font-weight: 500; }
.ks-box { background: var(--teal-50); border-radius: 16px; padding: 16px 18px; margin: 0 0 20px; }
.ks-box > :last-child { margin-bottom: 0; }
.ks-cards { display: grid; gap: 12px; margin: 0 0 20px; }
.ks-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--border-default); border-radius: 14px; padding: 14px; }
.ks-card svg { flex: 0 0 56px; width: 56px; height: 56px; }
.ks-card b { display: block; margin-bottom: 2px; color: var(--ink-900); font-size: var(--text-lg); }
.ks-card p { margin: 0; line-height: 1.75; }
.ks-shot { display: block; width: 100%; max-width: 440px; height: auto; margin: 10px auto 14px; border: 1px solid var(--border-default); border-radius: 12px; }
.ks-how { list-style: none; margin: 0 0 20px; padding: 0 !important; }
.ks-how li { position: relative; padding: 0 0 14px 42px; line-height: 1.8; }
.ks-how li > i { position: absolute; left: 0; top: 2px; width: 30px; height: 30px; line-height: 30px; text-align: center; font-style: normal; font-weight: 700; border-radius: 50%; background: #d6336c; color: #fff; }
.ks-how b { color: var(--ink-900); }
.ks-try { border: 3px solid #37a37d; border-radius: 16px; padding: 16px 18px; margin: 0 0 20px; }
.ks-try__t { margin: 0 0 6px; font-weight: 700; font-size: var(--text-lg); color: #1f7a5b; }
.ks-check { list-style: none; padding: 0 !important; margin: 0 0 16px; }
.ks-check li { padding-left: 32px; position: relative; margin-bottom: 8px; line-height: 1.7; }
.ks-check li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 6px; background: #37a37d; color: #fff; font-weight: 700; }
.ks-btn { display: block; text-align: center; font-weight: 700; font-size: var(--text-lg); color: #fff !important; background: var(--teal-700); border-radius: 14px; padding: 16px; text-decoration: none; margin: 8px 0 20px; }
.ks-btn:hover { opacity: .9; }
.ks-table { width: 100%; border-collapse: collapse; margin: 0 0 10px; font-size: var(--text-sm); }
.ks-table caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.ks-table th, .ks-table td { border: 1px solid var(--border-default); padding: 10px; text-align: left; vertical-align: top; line-height: 1.6; }
.ks-table thead th { background: var(--teal-50); }
.ks-note { font-size: var(--text-sm); color: var(--text-muted); }
.ks-terms { margin: 0 0 14px; }
.ks-terms dt { font-weight: 700; color: var(--ink-900); margin-top: 12px; }
.ks-terms dd { margin: 2px 0 0; line-height: 1.75; padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle); }
.doc details.ks-more > summary { cursor: pointer; font-weight: 700; color: var(--text-link); padding: 10px 0; }
.ks h3 { margin: 24px 0 8px; font-size: var(--text-lg); font-weight: 700; color: var(--ink-900); }
.ks-index { display: grid; gap: 10px; margin: 0 0 16px; }
.ks-index__item { display: block; border: 1px solid var(--border-default); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--text-body) !important; }
.ks-index__item:hover { background: var(--teal-50); }
.ks-index__item b { display: block; color: var(--teal-700); margin-bottom: 2px; }
.ks-index__item span { font-size: var(--text-sm); line-height: 1.7; }
.ks-toc { background: var(--teal-50); border-radius: 14px; padding: 14px 18px; margin: 0 0 24px; }
.ks-toc__t { margin: 0 0 6px; font-weight: 700; color: var(--ink-900); }
.ks-toc ol { margin: 0; padding-left: 1.5em; }
.ks-toc li { margin-bottom: 4px; line-height: 1.6; }
.ks h2 { scroll-margin-top: 16px; }
@media (min-width: 640px) {
  .ks-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .ks-cards--3 .ks-card { flex-direction: column; }
}
