/* ツール一覧のスタイル */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.tool-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.tool-card:hover::before {
    transform: translateX(0);
}

.tool-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: white;
}

.tool-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tool-card__description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ツールカードのアイコン色バリエーション */
.tool-card:nth-child(3n+2) .tool-card__icon {
    background: linear-gradient(135deg, #2196F3 0%, #42A5F5 100%);
}

.tool-card:nth-child(3n+3) .tool-card__icon {
    background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tool-card {
        padding: 20px;
    }
}

/* ダークモード対応（将来の拡張用） */
@media (prefers-color-scheme: dark) {
    .tool-card {
        background: #1e1e1e;
        border-color: #333;
        color: #fff;
    }
    
    .tool-card__title {
        color: #fff;
    }
    
    .tool-card__description {
        color: #ccc;
    }
    
    .tool-card:hover {
        border-color: #66BB6A;
    }
}