/* 橋坂情報技術の強みセクション - 正しいセレクタで修正 */

/* 強みリストのカウンターをリセット */
.strengths-list {
    counter-reset: none !important;
    overflow: visible !important;
    padding-top: 40px !important;
    margin-top: 4rem !important;
}

/* 強みアイテムの調整 */
.strength-item {
    position: relative !important;
    padding-top: 60px !important; /* 数字のためのスペース確保 */
    overflow: visible !important;
    margin-top: 30px !important;
    counter-increment: none !important;
}

/* 既存の::after（数字表示）を上書き */
.strength-item::after {
    content: attr(data-number) !important; /* データ属性から数字を取得 */
    counter-increment: none !important;
    position: absolute !important;
    top: 10px !important; /* -20px → 10px に大幅に変更 */
    left: 25px !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    z-index: 100 !important;
}

/* nth-childで直接数字を指定 */
.strength-item:nth-child(1)::after {
    content: '1' !important;
}

.strength-item:nth-child(2)::after {
    content: '2' !important;
}

.strength-item:nth-child(3)::after {
    content: '3' !important;
}

.strength-item:nth-child(4)::after {
    content: '4' !important;
}

/* 上部バー（::before）の位置も調整 */
.strength-item::before {
    content: '' !important;
    position: absolute !important;
    top: 5px !important; /* 0 → 5px に調整 */
    left: 0 !important;
    right: 0 !important;
    height: 5px !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

/* タイトルの位置調整 */
.strength-item h3 {
    margin-top: 1.5rem !important;
    padding-top: 0 !important;
}

/* 親要素のオーバーフロー設定 */
.about-section {
    overflow: visible !important;
}

.about-container {
    overflow: visible !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .strengths-list {
        padding-top: 30px !important;
    }
    
    .strength-item {
        padding-top: 50px !important;
        margin-top: 25px !important;
    }
    
    .strength-item::after {
        top: 8px !important;
    }
}