#content {
    padding: 12px 0;
    background: #F5F5F4;
}
/* 記事コンテナ */
.single .post,
.page .post {
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    margin-bottom: 2em;
    padding: 1em;
}
.cat-content, article.post, article.page{
    border:none;
    background: transparent;
}
.cat-content .post-header, article.page .post-header, article.post .post-header{
    background: transparent;
    padding: 1rem;
}
/* 記事タイトルエリア */
.post-header {
    margin-bottom: 1em;
    padding: 0.5em;
    border-bottom: none;
}

.post-meta-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 0.5em;
    border-bottom: none;
    background: transparent;
}

.cat-name {
    /* background: #37474F; */
    border-radius: 4px;
    padding: 0.3em 1em;
}

.cat-name span {
    color: #fff;
    font-size: 0.875rem;
}

.post-date {
    color: #666;
    font-size: 0.875rem;
}

.post-title {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0.25em 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-top: 1em;
}

.post-tags .tag {
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
    font-size: 0.875rem;
    padding: 0.3em 0.8em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.post-tags .tag:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

/* アイキャッチ画像エリア */
.post-thumbnail {
    margin: 0 0 2em;
    overflow: hidden;
    border-radius: 8px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事本文エリア */
.post-body {
    margin: 2em 0;
}

.post-body-inner {
    background: transparent;
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    /* padding: 2em; */
}

/* 親テーマのpost-contentスタイルを打ち消し */
.post-body .post-content {
    width: 100%;
    padding: 1rem 2rem;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 目次エリア */
.post-toc {
    margin-bottom: 2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #FFFF;
    padding: 1rem;
    border-radius: 5px;
}

.toc-box {
    margin: 0;

}
.post-body h2 {
    background: none;
}

.toc-title {
    font-size: 1.25em;
    font-weight: bold;
    margin: 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #f5f5f5;
}
.toc-content {
    padding:0 1rem 1rem 1rem;
    border-radius: 10px;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list-child {
    list-style: none;
    margin: 0;
    padding-left: 1.5em;
}

.toc-list-item {
    margin: 0.5em 0;
    line-height: 1.4;
}

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

.toc-list-item a:hover {
    color: #007bff;
}

/* インデントレベル */
.level-2 {
    font-weight: bold;
}

.level-3 {
    font-size: 0.95em;
}

.level-4 {
    font-size: 0.9em;
    color: #666;
}

/* もっと見るボタン */
.toc-more {
    text-align: center;
    margin-top: 1em;
}

.toc-more-button {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    font-size: 0.9em;
    padding: 0.5em 1em;
    transition: all 0.3s;
}

.toc-more-button:hover {
    background: #e9ecef;
    color: #212529;
}

/* 記事コンテンツエリア */


.post-body .post-content h2 {
    color: #212529;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #f5f5f5;
}

.post-body .post-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1.5em 0 1em;
}

.post-body .post-content h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 1.5em 0 1em;
}

.post-body .post-content p {
    margin: 1em 0;
    line-height: 1.8;
	color:black;!important
}

.post-body .post-content ul,
.post-body .post-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.post-body .post-content li {
    margin: 0.5em 0;
    line-height: 1.6;
}

.post-body .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
}

.post-body .post-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: #f8f9fa;
    border-left: 4px solid #dee2e6;
    font-style: italic;
}

.post-body .post-content pre {
    margin: 1.5em 0;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 4px;
    overflow-x: auto;
}

.post-body .post-content code {
    background: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 2px;
    font-family: monospace;
}

/* SNSシェアエリア */
.share-area {
    background: #ffff;
    /* background: #f8f9fa; */
    border-radius: 8px;
    padding: 1.5em;
    margin: 2em 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1em;
}

.post-share {
    display: flex;
    justify-content: center;
    gap: 1em;
}

/* 親テーマの著者情報スタイルを打ち消し */
.post-author {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* 著者情報エリア */
.author-box {
    background: #fff;
    border-radius: 8px;
    padding: 1em;
    margin: 1em 0;
    display: flex;
    align-items: flex-start;
    gap: 2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

/* 著者名を強調表示するためのスタイル */
.author-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    /* h2タグのスタイルを明示的に打ち消し */
    background: none;
    border: none;
    padding: 0;
}

/* 肩書きのスタイル */
.author-title {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* プロフィール文のスタイル */
.author-description {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.8;
    margin: 0.5em 0 0 0;
}

/* CTAエリア */
.post-cta {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    border-radius: 8px;
    padding: 1em;
    margin: 2em 0;
    color: #fff;
    text-align: center;
}

.post-cta-heading {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #333;
}

.post-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.post-cta-cont {
    margin-bottom: 2em;
}

.post-cta-btn {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

.post-cta-btn .button {
    display: inline-block;
    padding: 1em 2em;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-cta-btn .button:first-child {
    background: #fff;
    color: #007bff;
}

.post-cta-btn .button:last-child {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.post-cta-btn .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .single .post,
    .page .post {
        padding: 0;
        margin-bottom: 1em;
    }

    .post-header {
        margin-bottom: 0.5em;
        padding-bottom: 1em;
    }

    .post-title {
        font-size: 1.1rem;
    }

    .post-thumbnail {
        margin: -1em -1em 1.5em;
    }

    .post-body-inner {
        padding: 0;
        /* padding: 1em; */
    }
    .post-header .cat-name{
        padding: 0.5em 1em;
        margin-bottom: 0;
    }

    .post-toc,
    .post-content,
    .share-area,
    .author-box,
    .post-cta {
        margin: 1em 0;
    }

    .author-box {
        padding: 1.5em;
        gap: 1.5em;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    .author-name {
        font-size: 1.125rem;
    }

    .author-title {
        font-size: 0.813rem;
    }

    .author-description {
        font-size: 0.813rem;
    }

    .post-cta-btn {
        flex-direction: column;
    }

    .post-cta-btn .button {
        width: 100%;
    }

    .toc-title {
        font-size: 1.1em;
    }

    .toc-list-item {
        font-size: 0.9em;
    }

    .post-body-inner {
        padding: 0;
    }

    .post-body .post-content h2 {
        font-size: 1.25rem;
        margin: 1.5em 0 1em;
    }

    .post-body .post-content h3 {
        font-size: 1.125rem;
    }

    .post-body .post-content h4 {
        font-size: 1rem;
    }
}

/* articleタグをdivに変更するためのスタイル */
.post-content-wrap {
    margin-bottom: 2em;
}

/* メディアクエリでの設定 */
@media screen and (max-width: 991px) {
    .post-meta-area {
        background: transparent; /* 991px以下でも背景を透明に保つ */
        color: inherit; /* 親テーマの色指定を打ち消す */
        flex-direction: unset;
    }
} 



/* Editor-CTA */
.editor-inquiry-simple {
    margin: 2rem 0 1.5rem 0;
    text-align: center;
}

.editor-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4f87ff, #3b6bff);
    color: white;
    text-decoration: none;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(79, 135, 255, 0.3);
    border: none;
    cursor: pointer;
}

.editor-inquiry-btn:hover {
    background: linear-gradient(135deg, #3b6bff, #2651ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 135, 255, 0.4);
    text-decoration: none;
    color: white;
}

.editor-inquiry-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79, 135, 255, 0.3);
}

.btn-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans CJK JP", sans-serif;
    letter-spacing: 0.025em;
}

.btn-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.editor-inquiry-btn:hover .btn-arrow {
    transform: translate(2px, -2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .editor-inquiry-simple {
        margin: 1.5rem 0 1rem 0;
        padding: 0 1rem;
    }
    
    .editor-inquiry-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .editor-inquiry-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .editor-inquiry-btn {
        background: linear-gradient(135deg, #4f87ff, #3b6bff);
        box-shadow: 0 3px 12px rgba(79, 135, 255, 0.2);
    }
    
    .editor-inquiry-btn:hover {
        background: linear-gradient(135deg, #5a91ff, #4f87ff);
        box-shadow: 0 6px 20px rgba(79, 135, 255, 0.3);
    }
}

/* アクセシビリティ対応 */
.editor-inquiry-btn:focus {
    outline: 2px solid #4f87ff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .editor-inquiry-btn {
        transition: none;
    }
    
    .btn-arrow {
        transition: none;
    }
    
    .editor-inquiry-btn:hover .btn-arrow {
        transform: none;
    }
}
/* 	 */