/* ===== 自動生成CSS ===== */
/* テーマカラー変数 */
:root {
  --color: #d4a017;
  --color-light: #d4a01722;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif; background: #fff; color: #333; line-height: 1.9; font-size: 16px; }
header { border-bottom: 1px solid #eee; padding: 16px 0; }
.header-inner { max-width: 680px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.site-name { font-size: 18px; font-weight: 700; color: #333; text-decoration: none; }
.site-name:hover { opacity: 0.7; }
nav a { font-size: 13px; color: #888; text-decoration: none; margin-left: 16px; }
nav a:hover { color: #333; }
.container { max-width: 680px; margin: 48px auto; padding: 0 20px; }
.article-category { display: inline-block; font-size: 12px; border: 1px solid; padding: 2px 10px; border-radius: 3px; margin-bottom: 16px; text-decoration: none; }
.article-title { font-size: 28px; font-weight: 700; line-height: 1.4; margin-bottom: 16px; letter-spacing: -0.02em; }
.article-meta { font-size: 13px; color: #aaa; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.eyecatch { width: 100%; border-radius: 8px; margin-bottom: 36px; object-fit: cover; max-height: 420px; }
.article-body { font-size: 16px; line-height: 1.9; color: #444; }
.article-body p { margin-bottom: 24px; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid; color: #222; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; padding-left: 12px; border-left: 3px solid; color: #222; }
.article-body ul { padding-left: 24px; margin: 16px 0; }
.article-body ul li { margin: 8px 0; list-style: disc; }
.article-body ol { padding-left: 24px; margin: 16px 0; }
.article-body ol li { margin: 8px 0; list-style: decimal; }
.article-body strong { font-weight: 700; color: #222; }
.article-body a { text-decoration: underline; }
.article-body a:hover { opacity: 0.8; }
.box-point { background: #f0f7ff; border-left: 4px solid #3b82f6; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 28px 0; }
.box-point-title { font-weight: 700; color: #1d4ed8; margin-bottom: 10px; font-size: 14px; }
.box-warning { background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 28px 0; }
.box-warning-title { font-weight: 700; color: #92400e; margin-bottom: 10px; font-size: 14px; }
.box-summary { background: #f0fdf4; border: 2px solid #22c55e; border-radius: 10px; padding: 24px; margin: 32px 0; }
.box-summary-title { font-weight: 700; color: #15803d; font-size: 16px; margin-bottom: 14px; }
.ranking-item { display: flex; align-items: center; gap: 16px; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 20px; margin: 10px 0; }
.rank-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.rank-1 { background: #fef3c7; color: #92400e; }
.rank-2 { background: #f3f4f6; color: #374151; }
.rank-3 { background: #fef3c7; color: #78350f; opacity: 0.7; }
.rank-other { background: #f3f4f6; color: #6b7280; }
.rank-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.rank-desc { font-size: 13px; color: #6b7280; }
blockquote { border-left: 3px solid #d1d5db; padding: 12px 20px; margin: 24px 0; color: #6b7280; font-style: italic; }
.img-figure { margin: 28px 0; text-align: center; }
.img-figure img { max-width: 100%; border-radius: 8px; }
.img-figure figcaption { font-size: 12px; color: #9ca3af; margin-top: 8px; }
hr.divider { border: none; border-top: 1px solid #e5e7eb; margin: 36px 0; }
footer { border-top: 1px solid #eee; padding: 32px 0; margin-top: 60px; text-align: center; font-size: 13px; color: #ccc; }
.article-tags { margin-top: 32px; padding-top: 20px; border-top: 1px solid #f0f0f0; display: flex; flex-wrap: wrap; gap: 8px; }
.check-list { list-style: none; padding: 0; margin: 16px 0; }
.check-item { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 15px; }
.check-icon { color: #22c55e; font-weight: 700; flex-shrink: 0; }
.merit-box { background: #f0fdf4; border-left: 4px solid #22c55e; border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.merit-title { font-weight: 700; color: #15803d; margin-bottom: 10px; font-size: 14px; }
.merit-box ul { padding-left: 20px; }
.merit-box ul li { margin: 6px 0; }
.demerit-box { background: #fff1f2; border-left: 4px solid #f43f5e; border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0; }
.demerit-title { font-weight: 700; color: #be123c; margin-bottom: 10px; font-size: 14px; }
.demerit-box ul { padding-left: 20px; }
.demerit-box ul li { margin: 6px 0; }
.step-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid #e5e7eb; border-radius: 8px; margin: 10px 0; }
.step-num { background: var(--color, #4f46e5); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.step-text { font-size: 15px; line-height: 1.7; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; margin: 12px 0; }
.faq-q { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: #f8fafc; font-weight: 700; }
.faq-a { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; background: var(--color, #4f46e5); color: #fff; }
.faq-icon-a { background: #f59e0b; }
.balloon { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
.balloon-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.balloon-icon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.balloon-icon-placeholder { width: 40px; height: 40px; border-radius: 50%; background: var(--color, #4f46e5); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.balloon-name { font-size: 12px; font-weight: 700; color: var(--color, #4f46e5); }
.balloon-text { font-size: 15px; line-height: 1.7; }
.cta-box { text-align: center; margin: 32px 0; }
.cta-btn { display: inline-block; background: var(--color, #4f46e5); color: #fff !important; padding: 14px 40px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; transition: opacity 0.15s; }
.cta-btn:hover { opacity: 0.85; }
.profile-box { border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px 24px; margin: 24px 0; background: #f8fafc; }
.profile-content { font-size: 14px; line-height: 1.8; color: #444; }
.related-box { border-left: 3px solid var(--color, #4f46e5); padding: 10px 16px; margin: 16px 0; background: #f8fafc; border-radius: 0 6px 6px 0; }
.related-link { text-decoration: none; color: var(--color, #4f46e5); font-size: 14px; font-weight: 500; }
.related-link:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.content-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.content-table th { background: var(--color, #4f46e5); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; }
.content-table td { padding: 10px 14px; border-bottom: 1px solid #e5e7eb; }
.content-table tr:nth-child(even) td { background: #f8fafc; }

.tag-link { display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 20px; background: var(--color-light, #f0f0f0); color: var(--color, #333); text-decoration: none; border: 1px solid var(--color, #ddd); }
.tag-link:hover { opacity: 0.8; }
@media (max-width: 680px) { .container { margin: 32px auto; } .article-title { font-size: 22px; } }

/* ===== カスタムCSS（ここに追記） ===== */
