/* カテゴリー表示用のスタイル */
.c-post-categories {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.c-post-categories__label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.c-post-categories__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-post-categories__item {
    margin: 0;
}

.c-post-categories__link {
    display: inline-block;
    padding: 4px 12px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.c-post-categories__link:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

/* エリア表示用のスタイル */
.c-post-areas {
    margin: 20px 0;
    padding: 15px;
    background: #e8f4f8;
    border-radius: 6px;
    border-left: 4px solid #17a2b8;
}

.c-post-areas__label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.c-post-areas__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-post-areas__item {
    margin: 0;
}

.c-post-areas__link {
    display: inline-block;
    padding: 4px 12px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.c-post-areas__link:hover {
    background: #138496;
    color: white;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .c-post-categories,
    .c-post-areas {
        padding: 12px;
        margin: 15px 0;
    }

    .c-post-categories__list,
    .c-post-areas__list {
        gap: 6px;
    }

    .c-post-categories__link,
    .c-post-areas__link {
        padding: 3px 10px;
        font-size: 0.85em;
    }
}

/* シングルページでの表示位置調整 */
.single .c-post-categories,
.single .c-post-areas {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* アーカイブページでの表示位置調整 */
.archive .c-post-categories,
.archive .c-post-areas {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* カスタムタクソノミー表示用のスタイル */
.c-custom-taxonomy {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #28a745;
}

.c-custom-taxonomy__label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.c-custom-taxonomy__list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-custom-taxonomy__item {
    margin: 0;
}

.c-custom-taxonomy__link {
    display: inline-block;
    padding: 4px 12px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.c-custom-taxonomy__link:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

/* カスタムタクソノミー別の色分け */
.c-custom-taxonomy--column_category {
    border-left-color: #007cba;
}

.c-custom-taxonomy--column_category .c-custom-taxonomy__link {
    background: #007cba;
}

.c-custom-taxonomy--column_category .c-custom-taxonomy__link:hover {
    background: #005a87;
}

.c-custom-taxonomy--seminar_category {
    border-left-color: #fd7e14;
}

.c-custom-taxonomy--seminar_category .c-custom-taxonomy__link {
    background: #fd7e14;
}

.c-custom-taxonomy--seminar_category .c-custom-taxonomy__link:hover {
    background: #e8650e;
}

.c-custom-taxonomy--specialty {
    border-left-color: #6f42c1;
}

.c-custom-taxonomy--specialty .c-custom-taxonomy__link {
    background: #6f42c1;
}

.c-custom-taxonomy--specialty .c-custom-taxonomy__link:hover {
    background: #5a32a3;
}

.c-custom-taxonomy--area {
    border-left-color: #17a2b8;
}

.c-custom-taxonomy--area .c-custom-taxonomy__link {
    background: #17a2b8;
}

.c-custom-taxonomy--area .c-custom-taxonomy__link:hover {
    background: #138496;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .c-custom-taxonomy {
        padding: 12px;
        margin: 15px 0;
    }

    .c-custom-taxonomy__list {
        gap: 6px;
    }

    .c-custom-taxonomy__link {
        padding: 3px 10px;
        font-size: 0.85em;
    }
}