.column-post {
    margin-bottom: 60px;
}


.column-post .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-header {
    text-align: left;
    margin-bottom: 40px;
}

.entry-title {
    font-size: 32px;
    margin: 15px 0;
    line-height: 1.4;
    font-weight: bold;
}

.entry-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.reading-time {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.last-updated {
    color: #666;
    font-size: 14px;
    text-align: right;
    margin-bottom: 30px;
}

.entry-header:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #ddd;
    margin-top: 20px;
}

.thumbnail-wrap {
    position: relative;
    padding-top: 40%; /* 5:2のアスペクト比に変更（より高く） */
    margin-bottom: 40px;
    overflow: hidden;
}

.thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 2px dotted #996767;
    padding: 10px;
}

.content-section {
    margin-bottom: 50px;
}

.section-heading {
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: bold;
}

.section-heading-h2 {
    font-size: 24px;
    padding: 15px 20px;
    background: #752d39;
    color: #fff;
    margin-bottom: 30px;
}

.section-heading-h3 {
    font-size: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #752d39;
    color: #752d39;
    margin-bottom: 20px;
}

.section-heading-h4 {
    font-size: 18px;
    color: #752d39;
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
    line-height: 1.4;
}

.section-heading-h4:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #752d39;
    border-radius: 50%;
}

.section-heading-h4:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 18px;
    background: rgba(45, 140, 60, 0.1); /* 緑色の薄い背景 */
    border-radius: 3px;
    z-index: -1;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.section-image {
    position: relative;
    padding-top: 33.333%; /* 3:1のアスペクト比 */
    margin: 30px 0;
    overflow: hidden;
}

.section-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .entry-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .section-heading-h2 {
        font-size: 20px;
        padding: 12px 15px;
    }
    
    .section-heading-h3 {
        font-size: 18px;
    }
    
    .section-heading-h4 {
        font-size: 16px;
        padding-left: 12px;
    }
    
    .section-heading-h4:after {
        height: 16px;
    }
}

/* 目次のスタイル */
.toc-container {
    background: #752d39; /* 緑色背景 */
    padding: 0;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
}

.toc-title {
    font-size: 18px;
    color: #fff;
    margin: 0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

/* 非表示ボタンのスタイル */
.toc-title:after {
    content: '[非表示]';
    font-size: 14px;
    color: #4169e1; /* 青色リンク */
}

.toc-list {
    list-style: none;
    padding: 20px;
    margin: 0;
    background: #fff;
}

.toc-list li {
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

/* h2レベルの目次項目 */
.toc-item-h2 {
    padding-left: 20px;
}

.toc-item-h2:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #752d39; /* 緑色ドット */
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 5px;
}

/* h3レベルの目次項目 */
.toc-item-h3 {
    padding-left: 35px;
}

.toc-item-h3:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 2px solid #752d39; /* 緑色ボーダー */
    border-radius: 50%;
    position: absolute;
    left: 15px;
    top: 6px;
    background: #fff;
}

.toc-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.toc-list a:hover {
    color: #752d39; /* ホバー時の緑色 */
}

@media (max-width: 768px) {
    .toc-container {
        margin: 20px 0;
    }
    
    .toc-title {
        font-size: 16px;
        padding: 8px 15px;
    }
    
    .toc-list {
        padding: 15px;
    }
}

/* レイアウト */
.column-layout {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.site-main {
    flex: 1;
    min-width: 0; /* flexboxのバグ防止 */
}

.column-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* サイドバーウィジェット */
.sidebar-widget {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 最新の記事リスト */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item a {
    display: flex;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
}

.recent-post-item a:hover {
    background-color: #f5f5f5;
}

.post-thumbnail {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.post-info {
    flex: 1;
    min-width: 0;
}

.post-title {
    font-size: 14px;
    margin: 0 0 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date {
    font-size: 12px;
    color: #666;
}

/* カテゴリーリスト */
.category-list {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.category-item {
    margin-bottom: 10px;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s;
}

.category-item a:hover {
    color: #752d39;
}

.post-count {
    color: #666;
    font-size: 12px;
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .column-layout {
        flex-direction: column;
    }
    
    .column-sidebar {
        width: 100%;
    }
}

/* 地域リンクのスタイル */
.area-links {
    padding: 15px;
}

.prefecture-block {
    margin-bottom: 20px;
}

.prefecture-block:last-child {
    margin-bottom: 0;
}

.prefecture-name {
    font-size: 16px;
    margin: 0 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.prefecture-name a {
    color: #752d39;
    text-decoration: none;
    font-weight: bold;
}

.prefecture-name a:hover {
    text-decoration: underline;
}

.ward-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ward-item {
    font-size: 13px;
}

.ward-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.ward-item a:hover {
    color: #752d39;
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .ward-list {
        gap: 10px;
    }
    
    .ward-item {
        font-size: 14px;
    }
}

/* アーカイブページのスタイル */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.archive-title {
    font-size: 28px;
    color: #752d39;
    margin: 0;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.column-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.column-item:hover {
    transform: translateY(-3px);
}

.column-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
}

.column-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.column-title {
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.column-meta {
    margin-bottom: 10px;
}

.column-date {
    color: #666;
    font-size: 14px;
}

.column-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ページネーション */
.navigation.pagination {
    margin-top: 40px;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 5px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.page-numbers.current {
    background: #752d39;
    border-color: #752d39;
    color: #fff;
}

.page-numbers:hover:not(.current) {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .column-title {
        font-size: 16px;
    }
}

/* タブレット用 */
@media (max-width: 1024px) {
    .thumbnail-wrap {
        padding-top: 45%; /* タブレット用にさらに高く */
    }
    .section-image {
        padding-top: 40%;
    }
}

/* スマートフォン用 */
@media (max-width: 768px) {
    .thumbnail-wrap {
        padding-top: 56.25%; /* スマホ用に16:9に */
    }
    .section-image {
        padding-top: 50%;
    }
}

/* 強調表示（bタグ）のスタイル */
.section-text b,
.intro-text b {
    font-weight: 700;
    background: linear-gradient(transparent 60%, #FFF176 40%); /* 黄色いマーカー */
    padding: 0 2px;
    color: inherit; /* 元のテキストカラーを維持 */
}

/* スマートフォン用 */
@media (max-width: 768px) {
    .section-text b,
    .intro-text b {
        font-weight: 600; /* モバイルでは少し細めに */
    }
}

/* 関連記事セクションのスタイル */
.related-column-box {
    margin-top: 50px;
    position: relative;
}

.related-column-label {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #752d39;
    padding: 8px 25px;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 30px;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.related-column-section {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 0 0;
}

.related-column-item {
    border-bottom: 1px solid #eee;
}

.related-column-item:last-child {
    border-bottom: none;
}

.related-column-link {
    display: block;
    padding: 20px 40px 20px 15px;
    color: #333;
    text-decoration: none;
    position: relative;
}

.related-column-link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #E17A2D;
    border-right: 2px solid #E17A2D;
    transform: rotate(45deg);
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -4px;
}

.related-column-text {
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .related-column-box {
        margin-top: 40px;
    }

    .related-column-label {
        font-size: 14px;
        padding: 6px 20px;
        left: 20px;
    }

    .related-column-text {
        font-size: 14px;
    }
}

/* h4レベルの目次項目を非表示 */
.toc-item-h4 {
    display: none;
}