/* =================================================================
 * amsti.jp 共通スタイル（site.css）
 * 新しい記事・コンテンツページ用の共通デザイン土台。
 * head.php で $page['site_css'] = true を指定すると読み込まれる。
 * 既存ページ（トップ/ヘルプ/特商法/問い合わせ）は各自のCSSを持つため
 * 影響しない。新規記事はこの1ファイルを読むだけで体裁が揃う。
 * ================================================================= */
:root{
	--navy-900:#12284e; --navy-800:#1c3a6e; --navy-700:#2a4d8a;
	--gold:#c1bb96; --gold-deep:#9a8f63;
	--bg:#f3f4f7; --surface:#ffffff; --ink:#1a1f2e; --ink-soft:#5b6275;
	--line:#e3e6ec; --line-strong:#cbd0da;
	--success:#2f8f5b; --warning:#d96e1d; --info:#2a6f97;
	--success-bg:#e6f1ea; --warning-bg:#fdecdc; --info-bg:#e4edf2;
	--radius:12px; --radius-sm:8px;
	--shadow-sm:0 1px 3px rgba(18,40,78,.07);
	--shadow-md:0 6px 20px rgba(18,40,78,.10);
	--font:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic UI","Meiryo",system-ui,-apple-system,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--ink);background:var(--surface);line-height:1.9;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:760px;margin:0 auto;padding:0 24px}

/* ---- ヘッダー ---- */
.site-head{background:var(--navy-900);position:sticky;top:0;z-index:50}
.site-head .wrap{max-width:980px;display:flex;align-items:center;justify-content:space-between;height:60px}
.site-head .brand{color:#fff;font-weight:700;font-size:18px;text-decoration:none}
.site-head .brand small{display:block;font-weight:400;font-size:11px;color:rgba(255,255,255,.6)}
.site-head .cta{color:var(--navy-900);background:var(--gold);font-size:13.5px;font-weight:700;text-decoration:none;border-radius:999px;padding:8px 16px;transition:.15s}
.site-head .cta:hover{background:#cfc9a8}

/* ---- 記事ヒーロー ---- */
.page-hero{background:linear-gradient(165deg,var(--navy-900) 0%,var(--navy-800) 100%);color:#fff;padding:46px 0 42px}
.page-hero .kicker{font-size:12.5px;font-weight:700;letter-spacing:.08em;color:var(--gold);text-transform:uppercase;margin-bottom:12px}
.page-hero h1{font-size:28px;font-weight:700;line-height:1.45}
.page-hero p.lead{margin-top:14px;color:rgba(255,255,255,.82);font-size:15px}

/* ---- 本文 ---- */
.article{padding:44px 0 8px}
.article h2{font-size:22px;font-weight:700;color:var(--navy-900);line-height:1.5;margin:40px 0 14px;padding-left:13px;border-left:4px solid var(--gold)}
.article h3{font-size:17.5px;font-weight:700;color:var(--navy-800);margin:28px 0 10px}
.article p{font-size:15.5px;margin:0 0 16px}
.article a{color:var(--info);text-decoration:underline;text-underline-offset:2px}
.article a:hover{color:var(--navy-700)}
.article ul,.article ol{margin:0 0 18px;padding-left:1.4em}
.article li{font-size:15.5px;margin-bottom:8px}
.article strong{color:var(--navy-900);font-weight:700}
.article figure{margin:24px 0}
.article figure img{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.article figcaption{font-size:13px;color:var(--ink-soft);text-align:center;margin-top:8px}

/* 表 */
.article table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:14.5px}
.article th,.article td{border:1px solid var(--line-strong);padding:10px 13px;text-align:left;vertical-align:top}
.article th{background:var(--bg);font-weight:700;color:var(--navy-900)}

/* コールアウト（注意・ポイント） */
.callout{border-radius:var(--radius);padding:16px 20px;margin:22px 0;font-size:14.5px;line-height:1.8}
.callout--note{background:var(--info-bg);border:1px solid #cfe0ea}
.callout--warn{background:var(--warning-bg);border:1px solid #f3d6b8}
.callout--ok{background:var(--success-bg);border:1px solid #c9e4d4}
.callout strong{display:block;margin-bottom:4px}

/* CTA ボタン */
.btn-cta{display:inline-flex;align-items:center;gap:8px;background:var(--gold);color:var(--navy-900);font-weight:700;font-size:15px;text-decoration:none;border-radius:var(--radius-sm);padding:13px 26px;transition:.15s}
.btn-cta:hover{background:#cfc9a8;box-shadow:var(--shadow-md)}

/* 記事末の誘導カード */
.promo{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;margin:36px 0;text-align:center}
.promo h3{font-size:18px;color:var(--navy-900);margin-bottom:8px}
.promo p{font-size:14.5px;color:var(--ink-soft);margin-bottom:18px}

/* ---- フッター ---- */
.site-foot{background:var(--navy-900);color:rgba(255,255,255,.72);padding:40px 0 28px;margin-top:48px}
.site-foot .wrap{max-width:980px}
.site-foot .cols{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.10)}
.site-foot a{color:rgba(255,255,255,.72);text-decoration:none;font-size:13.5px;display:block;padding:4px 0}
.site-foot a:hover{color:var(--gold)}
.site-foot h5{color:#fff;font-size:13px;font-weight:700;margin-bottom:10px}
.site-foot .copy{padding-top:18px;font-size:12.5px;color:rgba(255,255,255,.5)}

@media(max-width:600px){
	.page-hero h1{font-size:23px}
	.article h2{font-size:19px}
	.site-head .brand small{display:none}
}
