html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.main-container {
    display: flex;
    flex-direction: row;
    min-height: 80vh;
}

/* 左サイドバー */
.sidebar-left {
    width: 15%;
    background-color: #f0f0f0;
    padding: 1rem;
}

/* メインコンテンツ */
.main-content {
    width: 70%;
    padding: 1rem;
    background-color: #e0fff9;
}

/* 右サイドバー */
.sidebar-right {
    width: 15%;
    padding: 1rem;
    background: linear-gradient(to right, #ffffff, #50e3c2);
}

/* モバイル対応（レスポンシブ） */
@media screen and (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar-left, .sidebar-right, .main-content {
        width: 100%;
    }
}

/* サイドバーのスタイル改善 */
.sidebar-menu {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.sidebar-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

    .sidebar-header h5 {
        margin-bottom: 0;
        color: #343a40;
    }

.nav-pills .nav-link {
    padding: 10px 15px;
    margin-bottom: 8px;
    color: #495057;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .nav-pills .nav-link:hover {
        background-color: #e9ecef;
    }

    .nav-pills .nav-link.active {
        background-color: #007bff;
        color: white;
    }

    .nav-pills .nav-link i {
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }

.sidebar-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}
