﻿h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}
.skill-block {
    margin-top:2rem;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: translateY(-3px);
    }

.icon {
    font-size: 2em;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 4px;
    text-align:left;
}

.sub-info {
    font-size: 0.8rem;
    color: #666;
    text-align:left;
}

.level-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient( #42a5f5 calc(var(--percent) * 1%), #e0e0e0 0% );
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
}
.level-circle-s {
    width: 45px;
    height: 45px;
    margin:10px;
    border-radius: 50%;
    background: conic-gradient( #42a5f5 calc(var(--percent) * 1%), #e0e0e0 0% );
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
}

/* レベルごとのカラー（円グラフのベース色変更） */
.level-5 {
    --percent: 100;
    background: conic-gradient(#1976d2 100%, #e0e0e0 0%);
}

.level-4 {
    --percent: 80;
    background: conic-gradient(#43a047 80%, #e0e0e0 0%);
}

.level-3 {
    --percent: 60;
    background: conic-gradient(#fbc02d 60%, #e0e0e0 0%);
}

.level-2 {
    --percent: 40;
    background: conic-gradient(#fb8c00 40%, #e0e0e0 0%);
}

.level-1 {
    --percent: 20;
    background: conic-gradient(#e53935 20%, #e0e0e0 0%);
}
