/* common.css — サイト共通CSS（ヘッダー・フッター・モバイルCTA・変数） */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #f59e0b;
    --text: #1a1a2e;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --success: #16a34a;
    --radius: 12px;
}

/* ── ヘッダー ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); z-index: 100; border-bottom: 1px solid #e2e8f0; }
.site-header .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .logo { font-size: 20px; font-weight: 900; color: var(--primary); text-decoration: none; }
.site-header nav a { margin-left: 24px; font-size: 14px; color: var(--text-light); text-decoration: none; font-weight: 500; }
.site-header nav a:hover { color: var(--primary); }
.header-cta { background: var(--success); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 700; }
.header-cta:hover { background: #15803d; }

/* ── フッター ── */
.site-footer { padding: 40px 0; background: var(--bg-dark); color: #94a3b8; font-size: 13px; }
.site-footer .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer nav a { color: #94a3b8; text-decoration: none; margin-left: 16px; }
.site-footer nav a:hover { color: #fff; }

/* ── モバイル固定CTA ── */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 12px 16px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 99; text-align: center; }
.mobile-cta a { display: block; background: #06c755; color: #fff; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; }

/* ── レスポンシブ ── */
@media (max-width: 768px) {
    .site-header nav { display: none; }
    .mobile-cta { display: block; }
    body { padding-bottom: 80px; }
}
