.search-container {
    max-width: 800px;
    margin: 50px auto 30px;
}

/* 検索ボックスのスタイル */
.search-box {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-box:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.search-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    outline: none;
    background: transparent;
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 20px;
}

/* 検索アイコン（SVG） */
.search-icon::before {
    content: "?";
}

/* 結果表示エリア */
.results-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 結果カード */
.result-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.result-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4b95a2 100%);
}

.result-item.high-priority::before {
    background: linear-gradient(135deg, #1a1a1a 0%, #922f3d 100%);
    width: 6px;
}

.result-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-content {
    color: #666;
    line-height: 1.6;
}

/* 重要バッジ */
.badge {
    background: linear-gradient(135deg, #f5576c 0%, #44171d 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* 検索結果なしの表示 */
.no-results {
    text-align: center;
    color: #575757;
    font-size: 18px;
    margin-top: 50px;
}

/* 検索中の表示 */
.searching {
    text-align: center;
    margin-top: 30px;
}
.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #667eea;
    border-radius: 50%;
    border-top: 4px solid #fff;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}


/* 関連情報 */.related-info {
    max-width: 800px;
    margin: 30px auto 0;
    animation: fadeIn 0.5s ease;
}

.related-info h3 {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 18px;
    font-weight: 600;
}