/* ========================================
   スキルページスタイル
======================================== */
.skills-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.skill-category {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
}

.skill-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.skill-category-header h3 {
    margin: 0;
    color: #1a252f;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: left;
}

.skill-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.skill-image {
    flex: 0 0 300px;
    max-width: 300px;
}

.skill-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-image img:hover {
    transform: scale(1.05);
}

.skill-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.skill-description p {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.skill-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 10px;
}

.skill-note small {
    color: #856404;
    font-size: 0.85rem;
}

/* レスポンシブ対応 - タブレット */
@media screen and (max-width: 1024px) {
    .skill-category {
        padding: 30px 20px;
    }

    .skill-content {
        flex-direction: column;
        gap: 25px;
    }

    .skill-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .skill-image img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }

    .skill-category-header h3 {
        font-size: 1.5rem;
    }

    .skill-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* レスポンシブ対応 - スマートフォン */
@media screen and (max-width: 768px) {
    .skills-section {
        padding: 10px;
    }

    .skill-category {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .skill-category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .skill-category-header h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .skill-image img {
        max-width: 100%;
    }

    .skill-tags {
        justify-content: center;
    }

    .skill-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .skill-description p {
        font-size: 0.95rem;
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .skill-category {
        padding: 15px 10px;
    }

    .skill-category-header h3 {
        font-size: 1.1rem;
    }

    .skill-description p {
        font-size: 0.9rem;
    }
}