﻿/* =========================================================
    GLOBAL BASE STYLE
========================================================= */

/* ベースフォント */
html, body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #222;
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

/* リンク */
a {
    text-decoration: none;
}

.nav-link {
    font-weight: 500;
    color: #222 !important;
    transition: color 0.15s ease-in-out;
}

    .nav-link:hover {
        color: #0d6efd !important;
    }

/* Google Fonts ブランドロゴ */
.brand-logo {
    height: 30px;
}

/* サブロゴ（Portal 名） */
.brand-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #777;
    margin-top: 1px;
}


/* muted テキストはやや濃く */
.text-muted {
    color: #6c757d !important;
}

/* =========================================================
    HEADER / FOOTER
========================================================= */

header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

footer {
    background-color: #fafafa;
    border-top: 1px solid #e5e5e5;
}

/* =========================================================
    SECTION LAYOUT
========================================================= */

section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 992px) {
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

section h2 {
    font-weight: 700;
    margin-bottom: 2.2rem;
}

/* HERO テキスト幅の制限 */
.top-section-text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
    HERO BUTTONS
========================================================= */

.hero-btn {
    padding: 0.7rem 2rem;
    font-weight: 600;
    border-radius: 6px;
}

/* =========================================================
    DEMO CARDS
========================================================= */

.demo-card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1.2rem;
    text-align: center;
    background-color: #fff;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

    .demo-card i {
        color: #333;
    }

    .demo-card h6 {
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .demo-card p {
        margin: 0;
        font-size: 0.85rem;
        color: #666;
    }

    .demo-card:hover {
        background-color: #f9f9f9;
        border-color: #bbb;
    }

/* カードリンク */
.demo-link {
    color: #222;
}

    .demo-link:hover {
        color: #000;
    }

/* モバイル対応 */
@media (max-width: 575px) {
    .demo-card {
        margin-bottom: 1rem;
    }
}

/* =========================================================
    BUTTONS
========================================================= */

.btn-dark {
    border-radius: 6px;
    font-weight: 600;
}

/* =========================================================
    SIDEBAR (User / Executive / Consultant / Curriculum 共通)
========================================================= */

.sidebar {
    width: 220px;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 1.5rem;
}

    .sidebar .sidebar-brand {
        line-height: 1.2;
    }

    .sidebar .nav-link {
        color: #444 !important;
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
        border-radius: 4px;
    }

        .sidebar .nav-link:hover {
            background-color: #f0f0f0;
            color: #000 !important;
        }

        .sidebar .nav-link.active {
            font-weight: 600;
            background-color: #e6e6e6;
        }

/* =========================================================
    CARDS (汎用カード)
========================================================= */

.card-simple,
.dashboard-card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1.5rem;
    background: #fff;
    transition: background-color 0.15s ease-in-out;
}

    .card-simple:hover,
    .dashboard-card:hover {
        background-color: #fafafa;
    }

/* =========================================================
    PROGRESS BAR
========================================================= */

.progress {
    height: 6px;
}

.progress-bar {
    background-color: #222;
}

/* =========================================================
    LIST GROUP
========================================================= */

.list-group-item {
    border: none;
    padding-left: 0;
    padding-right: 0;
}

/* =========================================================
    FORM
========================================================= */

form .form-control,
form textarea {
    padding: 0.6rem 0.75rem;
}

.btn:focus,
.form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* =========================================================
    UTILITY CLASSES
========================================================= */

.small-muted {
    font-size: 0.85rem;
    color: #777;
}


/* DEMO CARD ROLE COLORS — safely overriding border */
.demo-role-accent {
    height: 4px;
    width: 100%;
    border-radius: 0 0 6px 6px;
    margin-top: -4px; /* カードに密着させる */
}

/* role colors */
.role-user-accent {
    background-color: #0d6efd;
}

.role-hr-accent {
    background-color: #20c997;
}

.role-executive-accent {
    background-color: #6610f2;
}

.role-curriculum-accent {
    background-color: #fd7e14;
}

.role-consultant-accent {
    background-color: #6f42c1;
}

.role-rag-accent {
    background-color: #198754;
}


/* HERO styling */
.hero-section {
    background-image: url('/images/bg-1.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Title with slight weight + clean spacing */
.hero-title {
    font-size: 2.4rem;
    line-height: 1.35;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Buttons */
.hero-buttons .btn {
    border-radius: 6px;
    font-weight: 600;
}

/* Demo button (outlined, modern) */
.hero-demo-btn {
    border: 2px solid #222;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

    .hero-demo-btn:hover {
        background-color: #222;
        color: #fff;
    }

/* Primary button */
.hero-primary-btn {
    transition: opacity 0.2s ease-in-out;
}

    .hero-primary-btn:hover {
        opacity: 0.85;
    }

/* Responsive */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.scroll-down-indicator {
    color: #555;
    font-size: 1.8rem;
    display: inline-block;
    animation: bounce 1.6s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

footer {
    font-size: 0.9rem;
}

.footer-link {
    color: #bbbbbb;
    text-decoration: none;
}

    .footer-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

footer h6 {
    color: #ffffff;
}

.brand-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.profile-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover; 
    object-position: center; 
}

.profile-circle-lg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.article h2{
    padding-top:50px;
}

.article h3 {
    padding-top: 40px;
}