@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700;800&family=Klee+One:wght@400;600&display=swap');

/* =========================================
   Design Tokens
========================================= */
:root {
    --navy-900: #0f1f3d;
    --navy-700: #1e3a6e;
    --navy-200: #c8d4e8;
    --navy-100: #e8edf6;
    --navy-50:  #f4f6fb;

    --text-primary:   #0f1f3d;
    --text-secondary: #4a5a72;
    --text-muted:     #8fa0b5;

    --surface:  #ffffff;
    --bg:       #f4f6fa;
    --border:   rgba(15, 31, 61, 0.09);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --shadow-sm: 0 1px 3px rgba(15, 31, 61, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 31, 61, 0.09);
    --shadow-lg: 0 8px 28px rgba(15, 31, 61, 0.12);
}

/* =========================================
   Base
========================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic",
                 "Meiryo", Arial, sans-serif;
    background-color: var(--bg);
    margin: 0;
    padding-top: 72px;
    color: var(--text-primary);
    -webkit-text-size-adjust: 100%;
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* =========================================
   ブックマークボタン
========================================= */

/* 政治家ページ（ヒーロー内） */
.pol-bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.pol-bookmark-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}
.pol-bookmark-btn.bookmarked {
    background: rgba(30, 100, 220, 0.22);
    border-color: rgba(30, 100, 220, 0.55);
    color: #a8c4ff;
}
.pol-bookmark-btn.bookmarked i { color: #5b9bff; }
.pol-bookmark-btn i { font-size: 0.9rem; transition: transform 0.15s; }
.pol-bookmark-btn:active i { transform: scale(1.2); }
.pol-bookmark-label { font-size: 0.8rem; }

/* 注目の政治家カード内 */
.pol-feat-bookmark {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    width: 100%;
    padding: 5px 0;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.pol-feat-bookmark:hover {
    border-color: #1e64dc;
    color: #1e64dc;
    background: rgba(30, 100, 220, 0.05);
}
.pol-feat-bookmark.bookmarked {
    background: rgba(30, 100, 220, 0.08);
    border-color: rgba(30, 100, 220, 0.4);
    color: #1e64dc;
}
.pol-feat-bookmark i { font-size: 0.75rem; }

/* 選挙カード内ブックマーク */
.card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.card-footer-row .card-footer-hint {
    margin: 0;
    padding: 0;
    border: none;
}
.elec-card-bookmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.elec-card-bookmark:hover {
    border-color: #1e64dc;
    color: #1e64dc;
    background: rgba(30, 100, 220, 0.06);
}
.elec-card-bookmark.bookmarked {
    background: rgba(30, 100, 220, 0.1);
    border-color: rgba(30, 100, 220, 0.45);
    color: #1e64dc;
}
