* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Yu Gothic UI', sans-serif; line-height: 1.7; color: #1a1a2e; background: #f8f9fa; }
.container { max-width: 720px; margin: 0 auto; padding: 40px 24px; }
h1 { font-size: 1.5rem; margin-bottom: 8px; color: #0f172a; }
.subtitle { font-size: 0.85rem; color: #64748b; margin-bottom: 32px; }
h2 { font-size: 1.1rem; margin: 28px 0 8px; color: #312e81; border-left: 3px solid #6366f1; padding-left: 10px; }
h3 { font-size: 1rem; margin: 20px 0 6px; color: #312e81; }
p, li { font-size: 0.95rem; margin-bottom: 8px; }
ul, ol { padding-left: 20px; margin-bottom: 12px; }
code { background: #f1f5f9; padding: 1px 5px; border-radius: 3px; font-size: 0.9em; }
pre { background: #1e1e2e; color: #cdd6f4; padding: 16px; border-radius: 6px; overflow-x: auto; margin: 12px 0; font-size: 0.85rem; line-height: 1.5; }
pre code { background: none; padding: 0; color: inherit; }
.lang-toggle { text-align: right; margin-bottom: 20px; }
.lang-toggle button { background: #e2e8f0; border: none; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-size: 0.85rem; }
.lang-toggle button.active { background: #6366f1; color: #fff; }
.section-ja, .section-en { display: none; }
.section-ja.visible, .section-en.visible { display: block; }
.nav-links { margin-bottom: 24px; font-size: 0.85rem; }
.nav-links a { color: #6366f1; text-decoration: none; margin-right: 16px; }
.nav-links a:hover { text-decoration: underline; }
.manual-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.manual-table th, .manual-table td { border: 1px solid #e2e8f0; padding: 8px 12px; text-align: left; }
.manual-table th { background: #f1f5f9; color: #312e81; font-weight: 600; }
.manual-table td { background: #fff; }
.info-box { background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 8px; padding: 16px; margin: 16px 0; }
.info-box p { font-size: 0.9rem; color: #3730a3; margin-bottom: 0; }
.warn-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 16px; margin: 16px 0; }
.warn-box p { font-size: 0.9rem; color: #92400e; margin-bottom: 0; }
.pro-badge { background: #f59e0b; color: #fff; font-size: 0.7rem; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: middle; }
.footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid #e2e8f0; font-size: 0.8rem; color: #94a3b8; text-align: center; }
.chapter-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 16px; border-top: 1px solid #e2e8f0; font-size: 0.85rem; }
.chapter-nav a { color: #6366f1; text-decoration: none; }
.chapter-nav a:hover { text-decoration: underline; }
.screenshot { margin: 20px 0; text-align: center; }
.screenshot img { max-width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.screenshot .caption { font-size: 0.8rem; color: #64748b; margin-top: 8px; font-style: italic; }
