/* 汎用の muted（ダーク背景に最適化） */
.text-muted {
    color: rgba(255,255,255,0.68) !important;
}

/* ===== 関連記事カード ===== */
.blog-card-custom {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 0.8rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.blog-card-custom:hover {
    border-color: #dc3545;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.25);
    transform: translateY(-3px);
}

/* サムネイル */
.blog-card-thumb {
    height: 200px;
    object-fit: cover;
}
.blog-card-thumb.placeholder {
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.2);
}

/* 本文 */
.blog-card-custom .card-body {
    padding: 1rem;
}
.blog-card-custom .card-title {
    font-size: 1rem;
}
.blog-card-custom .card-text {
    font-size: 0.85rem;
}

/* ページネーションをブログカードの色に統一 */
.pagination .page-link {
    background-color: #1f1f2e;
    color: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #555;
    padding: 0.5rem 0.75rem;
    margin: 0 0.2rem;
}
.pagination .page-link:hover {
    background-color: #dc3545;
    border-color: #b52d3a;
    color: #fff;
}
.pagination .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #b52d3a;
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    background-color: #2a2a3c;
    color: #888;
    cursor: not-allowed;
}

.stylish-divider {
    width: 80px;
    border: 2px solid #dc3545;
    border-radius: 2px;
}

.blog-thumbnail-wrapper {
    max-width: 800px;
    overflow: hidden;
}

.hover-zoom {
    transition: transform 0.4s ease;
}

.hover-zoom:hover {
    transform: scale(1.03);
}

.blog-content {
    max-width: 800px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ブログ本文内の画像をレスポンシブ化 */
.blog-content img,
.blog-thumbnail-wrapper img {
    max-width: 100%;  /* 親要素の幅を超えない */
    height: auto;     /* 縦横比を維持 */
}

/* 必要であればサムネイルも同じ */
.blog-thumbnail-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.blog-content p {
    margin: 0;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* ===== ブログ本文内のテーブル ===== */
.blog-content table {
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: #1e1e1e;
    /* ダーク背景 */
    border: 1px solid #2a2a2a;
    border-radius: 0.6rem;
    overflow: hidden;
}

.blog-content th,
.blog-content td {
    padding: 0.9rem 1rem;
    border: 1px solid #2a2a2a;
    color: rgba(255, 255, 255, 0.85);
}

.blog-content th {
    background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
    color: #fff;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #dc3545;
    /* 赤ラインでアクセント */
}

.blog-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
    /* ストライプ調 */
}

.btn-share {
    border-radius: 50px;
    font-weight: bold;
    padding: 0.4rem 1rem;
    color: #fff;
}

.x-btn {
    background: #1DA1F2;
}
.x-btn:hover, .x-btn:focus {
    background: #1DA1F2;
    border: 1px solid rgba(255, 255, 255);
}

.fb-btn {
    background: #3b5998;
}
.fb-btn:hover, .fb-btn:focus {
    background: #3b5998;
    border: 1px solid rgba(255, 255, 255);
}

.line-btn {
    background: #00B900;
}
.line-btn:hover, .line-btn:focus {
    background: #00B900;
    border: 1px solid rgba(255, 255, 255);
}

.section-title {
    border-left: 4px solid #dc3545;
    padding-left: 0.5rem;
}

/* 洗練された広告枠 */
.ad-box {
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: #ddd;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-box::before {
    content: "広告";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #ff4d6d;
    letter-spacing: 1px;
}

.list-box{
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    color: #ddd;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-thumb {
    height: 200px;
    object-fit: cover;
}