.search-form-wrapper {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.portal-list-category {
    display: inline-block;
    background: #ff4f01;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 13px;
    vertical-align: middle;
}

.portal-list-date {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.portal-list-date i {
    margin-right: 4px;
}

.no-results {
    color: #6c757d;
}

h1,
.portal-list-wrapper h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 50px;
}


.blog-detail-wrapper {
    width: 800px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #ff4f01;
    text-decoration: none;
}

.blog-article {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.blog-category {
    background: #ff4f01;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
}

.blog-date {
    color: #6c757d;
}

.blog-date i, .blog-category i {
    margin-right: 5px;
}

.blog-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 12px;
    line-height: 1.4;
    color: #333;
}

.blog-thumbnail {
    margin-bottom: 30px;
    text-align: center;
}

.blog-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.related-articles {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.related-title {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ff4f01;
    padding-bottom: 10px;
}

.related-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-link {
    text-decoration: none;
    color: inherit;
}

.related-thumbnail {
    height: 150px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-thumbnail {
    color: #6c757d;
    font-size: 17px;
}

.related-info {
    padding: 15px;
}

.related-category {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 8px;
    display: inline-block;
}

.related-title-text {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #333;
}

.related-date {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 0;
}

.blog-footer {
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 15px;
    }

    .blog-category {
        font-size: 14px;
    }

    .blog-date {
        font-size: 16px;
    }
    
    .blog-detail-wrapper {
        padding: 10px;
    }
    
    .blog-article {
        padding: 20px 15px;
    }
    
    .blog-title {
        font-size: 28px;
    }
    
    .blog-content {
        font-size: 18px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .related-articles {
        padding: 20px 15px;
    }
    
    .blog-footer .d-flex {
        flex-direction: column;
        gap: 10px;
    }
}

.preview-controls {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.preview-controls .btn {
    min-width: 120px;
    height: auto;
    white-space: nowrap;
    padding: 8px 16px;
}

.preview-notice {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ffeaa7;
    text-align: center;
}

.preview-notice i {
    margin-right: 8px;
}

.gap-3 {
    gap: 1rem !important;
}

.blog_save_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    text-align: center;
    background: #ff4f01;
    color: white;
    border: 2px solid #ff4f01;
}
.blog_back_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    text-align: center;
    border: 2px solid #000;
    background: #fff;
}
