* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    background: #f4f6f8;
    color: #222;
}
a { color: #1a5fb4; text-decoration: none; }
a:hover { text-decoration: underline; }

.help-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a5fb4;
    color: #fff;
    padding: 10px 16px;
}
.help-topbar a { color: #fff; }
.help-topbar-title { font-weight: bold; }

.help-layout {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

.help-sidebar {
    width: 220px;
    flex-shrink: 0;
    padding: 20px 12px;
    position: sticky;
    top: 0;
}
.help-sidebar h2 {
    font-size: 13px;
    color: #666;
    margin: 16px 0 6px;
    padding: 0 8px;
}
.help-sidebar h2:first-child { margin-top: 0; }
.help-sidebar a {
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}
.help-sidebar a:hover { background: #e8edf3; text-decoration: none; }
.help-sidebar a.active { background: #1a5fb4; color: #fff; }

.help-content {
    flex: 1;
    min-width: 0;
    background: #fff;
    margin: 20px 20px 40px 0;
    padding: 24px 28px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.help-content h1 { font-size: 20px; margin: 0 0 16px; }
.help-content h2 { font-size: 16px; margin: 28px 0 10px; border-bottom: 2px solid #eef2f6; padding-bottom: 6px; }
.help-content p { line-height: 1.7; }
.help-content ol, .help-content ul { line-height: 1.8; padding-left: 22px; }
.help-content code {
    background: #f0f2f5;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 13px;
}

.help-breadcrumb { font-size: 13px; color: #888; margin-bottom: 12px; }

.help-note {
    background: #fff8e1;
    border: 1px solid #f0dca0;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 16px 0;
    font-size: 14px;
}
.help-note strong { color: #a67c00; }

.help-shot {
    border: 1px solid #ddd;
    border-radius: 6px;
    max-width: 100%;
    margin: 8px 0 16px;
    display: block;
}

.help-pager {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.help-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.help-index-card {
    display: block;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px 14px;
    color: #222;
}
.help-index-card:hover { border-color: #1a5fb4; background: #f8faff; text-decoration: none; }
.help-index-card .num { color: #1a5fb4; font-weight: bold; font-size: 13px; }
.help-index-card .label { display: block; margin-top: 4px; font-size: 14px; }

@media (max-width: 720px) {
    .help-layout { flex-direction: column; }
    .help-sidebar { width: 100%; position: static; }
    .help-content { margin: 12px; }
}
