/* ==========================================
   itLecture 共通レイアウトスタイル
   ========================================== */

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* ナビゲーションバー */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: #ffffff;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.navbar-brand {
    font-weight: 700;
    color: #0d6efd !important;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-link {
    font-weight: 500;
    color: #555 !important;
    transition: all 0.2s;
    margin-right: 0.5rem;
}
.nav-link:hover {
    color: #0d6efd !important;
    transform: translateY(-1px);
}

/* メインコンテンツエリア（共通カード風） */
main.pb-3 {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    min-height: 70vh;
}

/* フッター */
footer {
    background-color: #fff;
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 1px solid #eaeaea !important;
    font-size: 0.9rem;
}

/* 強調ボタン */
.nav-btn-highlight {
    background-color: #0d6efd;
    color: white !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    box-shadow: 0 2px 5px rgba(13, 110, 253, 0.3);
    text-decoration: none;
}
.nav-btn-highlight:hover {
    background-color: #0b5ed7;
    color: white !important;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

/* ==========================================
   講義・コンテンツ用スタイル
   ========================================== */

/* 文字のマーカー風強調表示 */
.text-highlight {
    color: #d63384;
    font-weight: 700;
    background-color: rgba(214, 51, 132, 0.1);
    padding: 0 4px;
    border-radius: 4px;
}

/* ページ内リンク（目次）をスムーズにスクロール */
html {
    scroll-behavior: smooth;
}

/* フッターのプライバシーポリシー用リンクの調整 */
footer a.hover-underline:hover {
    text-decoration: underline !important;
    color: #0d6efd !important; /* ホバー時にプライマリカラーにする */
}