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

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; background: #fff; color: #333; line-height: 1.8; }
header { border-bottom: 1px solid #eee; padding: 20px 0; }
.header-inner { max-width: 900px; margin: 0 auto; padding: 0 20px; text-align: center; }
.site-name { font-size: 26px; font-weight: 700; color: #333; margin-bottom: 6px; }
.site-desc { font-size: 14px; color: #888; }
.container { max-width: 900px; margin: 48px auto; padding: 0 20px; }
.page-title { font-size: 14px; color: #888; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.article-card { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s; text-decoration: none; color: inherit; display: block; }
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.card-img-tag { width: 100%; height: 160px; object-fit: cover; }
.card-img-placeholder { width: 100%; height: 160px; background: #f3f4f6; }
.card-body { padding: 16px; }
.card-category { display: none; }
.card-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.card-date { font-size: 12px; color: #aaa; }
.header-image { width: 100%; max-height: 300px; overflow: hidden; }
.header-image img { width: 100%; height: 300px; object-fit: cover; }
.top-body { font-size: 15px; line-height: 1.9; color: #444; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid #f0f0f0; }
.top-body p { margin-bottom: 16px; }
.bottom-body { font-size: 15px; line-height: 1.9; color: #444; margin-top: 32px; padding-top: 32px; border-top: 1px solid #f0f0f0; }
.bottom-body p { margin-bottom: 16px; }
.bottom-body h2 { font-size: 22px; font-weight: 700; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--color, #4f46e5); }
.bottom-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; padding-left: 10px; border-left: 3px solid var(--color, #4f46e5); }
.bottom-body ul { padding-left: 24px; margin: 12px 0; }
.bottom-body ul li { margin: 6px 0; list-style: disc; }
.top-body h2 { font-size: 22px; font-weight: 700; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--color, #4f46e5); }
.top-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; padding-left: 10px; border-left: 3px solid var(--color, #4f46e5); }
.top-body ul { padding-left: 24px; margin: 12px 0; }
.top-body ul li { margin: 6px 0; list-style: disc; }
.box-point { background: #f0f7ff; border-left: 4px solid #3b82f6; border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 20px 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: 20px 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: 28px 0; }
.box-summary-title { font-weight: 700; color: #15803d; font-size: 16px; margin-bottom: 14px; }
.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; }
.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; }
.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; }
.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; }
.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; }
.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; }
.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-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.tag-cloud-title { font-size: 13px; color: #888; margin-bottom: 10px; }
.tag-cloud a { display: inline-block; font-size: 13px; padding: 5px 14px; border-radius: 20px; background: var(--color-light, #f0f0f0); color: var(--color, #333); text-decoration: none; border: 1px solid var(--color, #ddd); transition: opacity 0.15s; }
.tag-cloud a:hover { opacity: 0.7; }
.tag-desc { font-size: 15px; line-height: 1.9; color: #444; margin-bottom: 28px; }
.tag-desc p { margin-bottom: 20px; }
.tag-desc h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.tag-desc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
footer { border-top: 1px solid #eee; padding: 28px 0; margin-top: 60px; text-align: center; font-size: 13px; color: #ccc; }

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