/* ========================================================
   習い事パスポート | Base Styles & Design Tokens
   ======================================================== */
:root {
    /* ブランドカラー */
    --bg-main:          #FFFFFF;
    --bg-section:       #F4F8FA;
    --bg-section-warm:  #FFF8F0;
    --ims-primary:      #0095D9;
    --ims-primary-dark: #007BB5;
    --ims-accent:       #FF9500;
    --ims-accent-dark:  #E07800;
    --charcoal:         #1A1A2E;
    --text-main:        #2C2C3E;
    --text-light:       #6B7280;
    --text-muted:       #9CA3AF;

    /* カテゴリーカラー */
    --red-active:     #FF4560;
    --blue-intel:     #00A0E9;
    --green-disco:    #00C27C;
    --gold-certified: #FFB703;

    /* ネオブルータリズム */
    --border-color: #2e2e2e;
    --shadow-sm:    2px 2px 0 var(--border-color);
    --shadow-md:    4px 4px 0 var(--border-color);
    --shadow-lg:    6px 6px 0 var(--border-color);

    /* トランジション */
    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in:   cubic-bezier(0.55, 0, 1, 0.45);
    --t-fast:    0.15s;
    --t-base:    0.25s;
    --t-slow:    0.4s;

    /* スペーシング */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  40px;
    --space-xl:  64px;

    /* 角丸 */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-pill: 50px;
}

/* --- ベースリセット --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6, .title-bold {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    margin-top: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--charcoal);
}

a { text-decoration: none; color: inherit; transition: color var(--t-base), background var(--t-base); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }

/* --- 共通コンテナ --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- セクション余白 --- */
.section { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }

/* --- セクションラベル（タグ付き見出し前のpill） --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ims-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

/* --- テキストユーティリティ --- */
.text-primary  { color: var(--ims-primary); }
.text-accent   { color: var(--ims-accent); }
.text-muted    { color: var(--text-muted); }
.text-light    { color: var(--text-light); }
.text-sm       { font-size: 13px; }
.text-xs       { font-size: 11px; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }
.lead          { font-size: 17px; font-weight: 700; line-height: 1.9; color: var(--text-main); }
