/* ===== ROUTE WEATHER ガイド記事 共通スタイル ===== */
:root {
  --bg: #0d0f14; --surface: #161921; --surface2: #1e2230;
  --border: rgba(255,255,255,0.07); --accent: #e8a020;
  --ok: #2ecc8a; --warn: #f0a030; --ng: #e84040;
  --text: #e8e6e0; --muted: #7a7870;
}
:root[data-theme="light"] {
  --bg: #f5f4ef; --surface: #ffffff; --surface2: #eeece4;
  --border: rgba(0,0,0,0.09); --text: #211f1a; --muted: #83807d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: 'Noto Sans JP', sans-serif; font-weight: 400; }
a { color: var(--accent); }

/* ヘッダー（ツールページと共通の見た目） */
.site-header { padding: 14px 24px; border-bottom: 0.5px solid var(--border); display: flex; align-items: center; gap: 12px; }
.site-logo { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: .06em; color: var(--accent); line-height: 1; text-decoration: none; }
.site-tagline { font-size: 11px; color: var(--muted); }
.theme-toggle { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; }
.theme-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--surface2); border: 0.5px solid var(--border); border-radius: 6px; color: var(--muted); font-size: 14px; cursor: pointer; }
.theme-btn.active { border-color: var(--accent); color: var(--accent); }
@media (max-width: 480px) { .site-header { padding: 12px 16px; } .site-tagline { display: none; } }

/* 本文 */
.article { max-width: 680px; margin: 0 auto; padding: 32px 20px 80px; font-size: 16px; line-height: 1.9; letter-spacing: .02em; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }
.article h1 { font-size: 26px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.article-meta { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.lead { padding: 18px 20px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px; margin-bottom: 1.6em; }
.toc { margin: 0 0 2em; padding: 16px 20px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px; font-size: 15px; }
.toc-title { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.article h2 { font-size: 22px; font-weight: 700; line-height: 1.5; margin: 64px 0 20px; padding: 0 0 10px 14px; border-left: 4px solid var(--accent); border-bottom: 0.5px solid var(--border); scroll-margin-top: 16px; }
.article h3 { font-size: 18px; font-weight: 700; line-height: 1.5; margin: 36px 0 10px; }
.article h3::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.article p { margin-bottom: 1.2em; }
.article ul, .article ol.list { margin: 0 0 1.2em; padding: 16px 20px 16px 2.2em; background: var(--surface); border: 0.5px solid var(--border); border-radius: 8px; }
.article li { margin-bottom: 6px; }
.article li:last-child { margin-bottom: 0; }
.article strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(232,160,32,.3) 62%); }
.table-wrap { overflow-x: auto; margin: 4px 0 1.2em; }
.article table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.article th, .article td { border: 0.5px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--surface2); font-weight: 700; white-space: nowrap; }
.article td:first-child { white-space: nowrap; font-weight: 500; }
.source { font-size: 12px; color: var(--muted); margin-top: -0.6em; }
.point { padding: 14px 18px; border-left: 3px solid var(--warn); background: rgba(240,160,48,.08); border-radius: 0 8px 8px 0; margin-bottom: 1.2em; }

/* ツールへの導線 */
.cta { margin: 2em 0; padding: 22px 20px; text-align: center; background: var(--surface); border: 1px solid rgba(232,160,32,.45); border-radius: 12px; }
.cta p { margin-bottom: 12px; font-size: 15px; }
.cta-btn { display: inline-block; background: var(--accent); color: #000; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 8px; }
.cta-btn:hover { opacity: .88; }

/* 記事カード一覧（ガイドトップ・関連記事） */
.card-list { display: grid; gap: 12px; margin: 0 0 1.2em; list-style: none; padding: 0 !important; background: none !important; border: none !important; }
.card-list li { margin: 0; }
.card { display: block; padding: 16px 18px; background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); transition: border-color .2s; }
.card:hover { border-color: var(--accent); }
.card-title { font-weight: 700; line-height: 1.6; }
.card-desc { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

.site-footer { border-top: 0.5px solid var(--border); padding: 24px 20px 40px; text-align: center; font-size: 12px; color: var(--muted); }
.site-footer a { color: var(--muted); }
