html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

.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;
}

/* サイドバーのスタイル */
.sidebar-left, .sidebar-right {
    background-color: #f8f9fa;
}

.sidebar-right {
    background: linear-gradient(to right, #ffffff, #f0f0f0);
}

/* サイドバーのスタイル改善 */
.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;
}

/* フッターを下部に固定 */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .sidebar-left, .sidebar-right {
        display: none;
    }

    main.col-md-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}
