/* 検索結果カード */
.course-item {
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-bottom: 1rem;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.course-item-header {
    background: #f8f9fa;
    padding: .5rem .8rem;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    font-size: 1rem;
}

.course-number {
    background: #666;
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 8px;
    font-size: .7rem;
    display: inline-block;
}

.course-body {
    padding: 12px;
}

.course-icon {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.info-label {
    color: #666;
    font-weight: normal;
    font-size: 11px;
    width: 60px;
    display: inline-block;
}

.info-value {
    color: #333;
    font-size: 11px;
}

.course-description {
    color: #666;
    font-size: 11px;
    line-height: 1.3;
    margin: 8px 0;
}

.btn-custom {
    font-size: 10px;
    padding: 3px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.btn-outline-secondary {
    border-color: #ddd;
    color: #333;
}

.btn-outline-secondary:hover {
    background: #e8f4fd;
    border-color: #ddd;
    color: #333;
}

.custom-checkbox {
    font-size: 10px;
    color: #666;
    margin-top: 8px;
}

.custom-checkbox .form-check-input {
    margin-top: 1px;
}

.info-row {
    margin-bottom: 3px;
}

/* 詳細検索画面 */
.search-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.form-label {
    font-weight: bold;
    color: #495057;
}

/* 分類検索画面 */
.grid-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.grid-item h6 {
    color: #6BBE92;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6BBE92;
}

.grid-item ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.grid-item li {
    padding: 3px 0;
}

.grid-item a {
    color: #495057;
    text-decoration: none;
}

.grid-item a:hover {
    color: #6BBE92;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-columns {
        columns: 1;
    }
}