/* ==================================== */
/* 1. 基本設定とフォント */
/* ==================================== */
body {
    font-family: 'Inter', sans-serif; 
    background-color: #f8f9fa; 
    color: #343a40;
}


.section-padding {
    padding: 6rem 0;
}
h2 {
    font-size: 2.5rem;
    font-weight: 800; 
    margin-bottom: 0 !important;
}
h5 {
    font-weight: 700;
}
/* ==================================== */
/* 1.5. H2セクションデコレーションの追加 */
/* ==================================== */
.section-title-deco {
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}
.section-title-deco::after {
    content: '';
    display: block;
    width: 80px; /* 線の長さ */
    height: 4px;
    background-color: #3b82f6;
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

/* ==================================== */
/* 2. ヒーローセクション */
/* ==================================== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.hero-logo {
    width: 120px;
    height: 120px; 
    object-fit: cover;
    clip-path: circle(50% at 50% 50%); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.display-3 {
    font-size: 3.5rem;
}
/* ==================================== */
/* 3. コンポーネントの共通スタイル */
/* ==================================== */
.card-service {
    transition: transform 0.3s ease-in-out;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/* GitHubカードのスタイル */
.github-card {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    transition: box-shadow 0.3s;
}
.github-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
/* ==================================== */
/* 4. タブ・モバイル表示のスタイル */
/* ==================================== */
.tab-content-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    padding: 2.5rem;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    flex-wrap: wrap; 
}

@media (max-width: 767.98px) {
    .nav-tabs .nav-item {
        flex: 0 0 50%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .nav-tabs .nav-link {
        display: block;
        width: 100%; 
        padding: 0.5rem 0.25rem;
    }
}
@media (min-width: 768px) {
    .nav-tabs .nav-link {
        padding: 0.75rem 1.25rem;
    }
}

/* ナビゲーションロゴ */
.navbar-logo {
    width: 38px;
    height: 38px; 
    object-fit: cover; 
    clip-path: circle(50% at 50% 50%); 
}

/* 不要な古いCSSの削除を反映 */
.platform-item:hover { background-color: #e9ecef; }
.platform-icon { font-size: 2.5rem; color: #1e3a8a; }
.logo-placeholder { background-color: transparent; padding: 0; }

/* プライバシーポリシーの追従ボタン */
.fab-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}
/* ==================================== */
/* 5. プライバシーポリシー（サイドバー） */
/* ==================================== */
.toc-sidebar {
    position: sticky;
    top: 6rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.toc-sidebar a {
    font-size: 0.9rem;
    color: #495057;
    transition: color 0.2s;
}
.toc-sidebar a:hover {
    color: #3b82f6;
}
.toc-sidebar .toc-level-1 {
    font-weight: 700;
    margin-top: 0.5rem;
}
.toc-sidebar .toc-level-2 {
    padding-left: 1rem;
    font-size: 0.85rem;
    font-weight: 400;
}
