body.single-post {
    background-color: #fff;
}
.no-sidebar .content .main {
    background-color: #fff;
}
.article p {
    font-size: 1rem;
    letter-spacing: .06rem;
}
#main .article,
.body .content-wrap,
#related-entries,
#pager-post-navi,
#breadcrumb {
    width: calc(100% - 32px);
    max-width: 850px;
    margin: auto auto 96px;
}

.article h1:not([class*="has-"]) {
    padding: 0 0 30px;
    margin: 50px 0 40px;
    border-bottom: 1px solid #323232;
    font-size: 2rem;
    color: #323232;
    line-height: 3rem;
}
#toc {
    display: block;
    margin: 50px 0;
    padding: 30px;
    background-color: #f8f8f8;
    border: none;
}
#toc li {
    margin: 8px 0;
    font-size: .9rem;
}
#toc .toc-title {
    text-align: left;
    padding: 0;
    font-size: .9rem;
    font-weight: bold;
}
#toc .toc-list {
    padding: 20px 0 0;
}
header .date-tags {
    text-align-last: left;
    margin: 20px 0 70px;
}
.fa.fa-clock-o {
    display: none;
}
.entry-date {
    font-size: 1rem;
}
.body hr.wp-block-separator.has-alpha-channel-opacity {
    width: 25px;
    border: #323232 1px solid;
    margin: 60px 0;
}
.pager-post-navi a{
    background-color: #f8f8f8;
}
.pager-post-navi a.prev-post {
    margin-bottom: 4px;
}

.wp-block-heading {
    color: #323232;
}
.wp-block-heading span {
    position: relative;
    display: inline;
    background-color: unset;
}
h3.wp-block-heading span,
h4.wp-block-heading span,
h5.wp-block-heading span,
h6.wp-block-heading span {
    color: #ee7f00;
}

h2.wp-block-heading span::after {
    content: "";
    position: absolute;
    bottom: 1.2rem;
    right: -125px;
    width: 100px;
    height: 1px;
    background-color: #323232;
    z-index: -1;
}
.wp-block-heading[class*="has-"] span::after {
    content: none;
}
.article h2 {
    position: relative;
    z-index: 1;
}

.article h2.wp-block-heading:not([class*="has-"]),
.article h3.wp-block-heading:not([class*="has-"]),
.article h4.wp-block-heading:not([class*="has-"]),
.article h5.wp-block-heading:not([class*="has-"]),
.article h6.wp-block-heading:not([class*="has-"]) {
    border: none;
    padding: 0;
    margin: 60px 0 30px;
    background-color: transparent;
}
.article h2.wp-block-heading:not([class*="has-"]) {
    font-size: 2rem;
    margin: 90px 0 30px;
    overflow: hidden;
}

/* 埋め込みコンテンツのラッパー */
.wp-block-embed .wp-block-embed__wrapper {
    position: relative;
}
.wp-block-embed .a-wrap:hover {
    background-color: #f5f5f5;
    opacity: 1;
}

.wp-block-embed .a-wrap {
    margin: 50px 0 0 0;
    padding: 30px;
    background-color: #f5f5f5;
    width: fit-content;
    position: relative;
}

.body .wp-block-embed .blogcard {
    background-color: transparent;
    color: #323232;
    padding: 0;
    border: none;
    margin: 0;
}

.body .wp-block-embed .blogcard-site {
    display: none;
}

.wp-block-embed .blogcard-content {
    margin-left: 200px;
    max-height: unset;
}

.wp-block-embed .blogcard-footer {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* ボタンのデザイン */
.body .wp-block-button__link.wp-element-button {
    line-height: 60px;
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 60px;
    max-width: fit-content;
    text-transform: uppercase;
    border: 1px solid currentColor;
    padding: 0 35px;
    color: #323232;
    transition: 0.4s ease-in-out;
    text-decoration: none;
    font-size: 1rem;
    z-index: 1;
    background-color: transparent;
    margin: 1rem 0;
    -webkit-tap-highlight-color: transparent;
}

.body .wp-block-embed .blogcard-snippet {
    line-height: 60px;
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 60px;
    max-width: fit-content;
    text-transform: uppercase;
    border: 1px solid currentColor;
    padding: 0 35px;
    color: #323232;
    transition: 0.4s ease-in-out;
    text-decoration: none;
    font-size: 1rem;
    z-index: 1;
    background-color: transparent;
    margin: 1rem 0 0;
    -webkit-tap-highlight-color: transparent;
}
.body .wp-block-button__link.wp-element-button {
    color: #fff;
    background-color: #323232;
}

.wp-block-embed .blogcard-snippet::after {
    content: "記事はこちら";
    display: inline-block;
    color: #323232;
    text-decoration: none;
    line-height: 60px;
    height: 60px;
    text-transform: uppercase;
    font-size: 1rem;
    transition: 0.4s ease-in-out;
    margin: 0 auto;
    z-index: 1;
}

.wp-block-embed .blogcard-snippet:hover::after {
    color: #ffffff;
    opacity: 1;
}
.wp-block-button__link.wp-element-button:before,
.wp-block-embed .blogcard-snippet:before {
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    bottom: 0;
    left: 0;
    border-right: 50px solid transparent;
    border-top: 70px solid #323232;
    transform: translateX(-100%);
    z-index: -1;
    box-sizing: border-box;
    transition: 0.4s ease-in-out;
    width: 130%;
}
.wp-block-button__link.wp-element-button:before {
    border-top: 70px solid #ffffff;
}
.wp-block-button__link.wp-element-button:hover,
.wp-block-button__link.wp-element-button:active,
.wp-block-button__link.wp-element-button:focus,
.wp-block-embed .blogcard-snippet:hover,
.wp-block-embed .blogcard-snippet:active,
.wp-block-embed .blogcard-snippet:focus {
    color: #ffffff;
    opacity: 1;
}

.wp-block-button__link.wp-element-button:hover,
.wp-block-button__link.wp-element-button:active,
.wp-block-button__link.wp-element-button:focus {
    color: #323232;
}

.wp-block-button__link.wp-element-button:hover:before,
.wp-block-embed .blogcard-snippet:hover:before {
    transform: translateX(0);
}
.related-list {
    display: flex;
    gap: 40px;
}
.related-list a {
    margin-bottom: 0;
}
figure.related-entry-card-thumb {
    float: none;
    width: 100%;
}
.article-footer.entry-footer {
    display: none;
}
.related-entry-card-content.card-content.e-card-content {
    margin: 0;
    padding-bottom: 0;
}
.related-entry-card-title.card-title.e-card-title {
    margin: 20px 0;
}
.related-list .a-wrap:hover {
    background-color: transparent;
}
.related-entry-card-content .related-entry-card-snippet {
    line-height: 1.5rem;
}
.related-list a {
    padding: 0;
}
.a-wrap {
    padding: 0;
}

.entry-content .custom-author-info{
    width: 100%;
    padding: 30px;
    background: #f5f5f5;
    margin: 90px auto 0;
}
.entry-content .custom-author-info p {
    font-size: .9rem;
}
.entry-content .custom-author-info p:last-child {
    margin: 0;
}
.blogcard-title {
    line-height: 1.25rem;
}
@media screen and (max-width: 767px) {
    .article h1:not([class*="has-"]) {
        margin: 40px 0;
    }

    .article h2.wp-block-heading:not([class*="has-"]) {
        font-size: 1.5rem;
    }
    .wp-block-embed .blogcard-footer {
        padding-top: 20px;
        position: static;
    }
    .wp-block-embed .blogcard-content {
        margin-left: 150px;
    }
    .wp-block-embed .a-wrap,
    .entry-content .custom-author-info {
        padding: 16px;
    }
}
/*480px以下*/
@media screen and (max-width: 480px) {
    .related-list {
        gap: 15px;
    }

    .related-list {
        gap: 40px;
        flex-direction: column;
    }
    .body .blogcard-thumbnail {
        float: none;
    }
    .wp-block-embed .blogcard-content {
        margin-left: 0;
    }
    .body .blogcard-thumbnail {
        width: 100%;
    }
    
    .blogcard-title {
        margin-top: 16px;
    }
}