
/* 学習プラットフォーム CSS */
#learning-platform-container {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
}

.lp-header {
    background: linear-gradient(135deg, #4285f4, #5a9df7);
    color: white;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lp-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.lp-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #4285f4;
}

.lp-nav {
    display: flex;
    gap: 30px;
}

.lp-nav-item {
    background: none;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.lp-nav-item:hover, .lp-nav-item.active {
    background: rgba(255,255,255,0.2);
}

.lp-user-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4285f4;
    font-weight: bold;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lp-tab-content {
    display: none;
}

.lp-tab-content.active {
    display: block;
}

.lp-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.lp-welcome-section, .lp-progress-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.lp-welcome-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.lp-avatar {
    width: 60px;
    height: 60px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.lp-streak-calendar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.lp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.lp-calendar-day {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.lp-calendar-day.completed {
    background: #34a853;
    color: white;
}

.lp-calendar-day.today {
    background: #4285f4;
    color: white;
}

.lp-course-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.lp-course-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lp-filters {
    display: flex;
    gap: 10px;
}

.lp-filter-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.lp-filter-btn.active {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.lp-course-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.lp-course-image {
    background: #f0f0f0;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.lp-course-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.lp-price {
    font-size: 18px;
    font-weight: bold;
    color: #4285f4;
    margin: 10px 0;
}

.lp-price.free {
    color: #34a853;
}

.lp-btn {
    background: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.lp-btn:hover {
    background: #3367d6;
}

.lp-my-courses, .lp-history-content {
    padding: 40px;
    text-align: center;
    color: #666;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .lp-dashboard {
        grid-template-columns: 1fr;
    }
    
    .lp-course-cards, .lp-course-grid {
        grid-template-columns: 1fr;
    }
    
    .lp-nav {
        gap: 15px;
    }
    
    .lp-nav-item {
        padding: 6px 12px;
        font-size: 12px;
    }
}
