/* topsales internal links / related / gojuon v1 */
.topsales-content-grid{width:100%}
.topsales-page-sidebar{display:none}
.topsales-related-box,.topsales-kana-box,.topsales-related-bottom{box-sizing:border-box}
.topsales-related-bottom{margin:34px 0 26px;border-top:1px solid #d7dde6;border-bottom:1px solid #d7dde6;padding:22px 0}
.topsales-related-box h2,.topsales-kana-box h2{font-size:1.08rem;margin:0 0 14px;padding:0 0 10px;border-bottom:2px solid #334155}
.topsales-related-list{list-style:none;margin:0;padding:0}
.topsales-related-list li{border-bottom:1px solid #e5e7eb;padding:10px 0}
.topsales-related-list li:last-child{border-bottom:0}
.topsales-related-list a{display:block;color:#1f2937;text-decoration:none;line-height:1.55;font-weight:600}
.topsales-related-list a:hover{text-decoration:underline}
.topsales-related-list span{display:block;color:#64748b;font-size:.85rem;margin-top:3px}
.topsales-muted{color:#64748b}
.topsales-kana-box{margin-top:24px}
.topsales-kana-details{border-bottom:1px solid #e5e7eb;padding:8px 0}
.topsales-kana-details summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:8px;align-items:center}
.topsales-kana-details summary::-webkit-details-marker{display:none}
.topsales-kana-details summary a{color:#111827;text-decoration:none;font-weight:700}
.topsales-kana-details summary span{color:#64748b;font-size:.9rem}
.topsales-kana-children{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:9px 0 4px}
.topsales-kana-children a{display:flex;justify-content:space-between;gap:4px;border:1px solid #d7dde6;padding:5px 6px;color:#334155;text-decoration:none;background:#fff;font-size:.9rem}
.topsales-kana-children a:hover{background:#f8fafc;text-decoration:underline}
.topsales-kana-children span{color:#64748b;font-size:.82rem}
.topsales-kana-more{margin:14px 0 0;text-align:right}
.topsales-kana-more a{color:#1d4ed8;text-decoration:none}
.topsales-kana-more a:hover{text-decoration:underline}

.gojuon-page h1{font-size:1.65rem;margin:0 0 18px}
.gojuon-lead{color:#475569;margin-bottom:24px}
.gojuon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:22px 0}
.gojuon-card,.gojuon-section{border:1px solid #d7dde6;background:#fff;padding:16px;margin:0 0 18px}
.gojuon-card h2,.gojuon-section h2{font-size:1.08rem;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #e5e7eb}
.gojuon-card h2 a,.gojuon-section h2 a{color:#111827;text-decoration:none}
.gojuon-card h2 span,.gojuon-section h2 span,.gojuon-page h1 span{color:#64748b;font-size:.92rem;margin-left:.3em}
.gojuon-children{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.gojuon-children a{border:1px solid #d7dde6;padding:7px 8px;text-decoration:none;color:#334155;background:#fff;display:flex;justify-content:space-between}
.gojuon-article-list{list-style:none;margin:0;padding:0}
.gojuon-article-list li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e5e7eb}
.gojuon-article-list a{color:#1f2937;text-decoration:none;font-weight:600}
.gojuon-article-list a:hover{text-decoration:underline}
.gojuon-article-list span{white-space:nowrap;color:#64748b;font-size:.86rem}
.gojuon-breadcrumb{color:#64748b;font-size:.92rem}
.gojuon-pager{display:flex;gap:10px;justify-content:center;margin:24px 0}
.gojuon-pager a{border:1px solid #d7dde6;padding:8px 14px;background:#fff;text-decoration:none;color:#1f2937}
.gojuon-empty{color:#64748b}

@media (min-width:1024px){
  main.wrap.page-shell{max-width:1180px}
  .topsales-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}
  .topsales-page-sidebar{display:block;position:sticky;top:18px}
  .topsales-page-sidebar .topsales-related-box,.topsales-page-sidebar .topsales-kana-box{border:1px solid #d7dde6;background:#fff;padding:16px}
}
@media (max-width:640px){
  .gojuon-article-list li{display:block}
  .gojuon-article-list span{margin-top:4px;display:block}
  .gojuon-children,.topsales-kana-children{grid-template-columns:repeat(3,minmax(0,1fr))}
}
