
.post-content {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 5em;
    margin-bottom: 5em;
}
.post-content .post-content__side .sidebar {
    border: 1px solid #808080;
    padding: 1.5em 1.5em .5em 1.5em;
}
.post-content__main .post-card {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--space-md);
}
.sidebar__ttl {
    font-size: 2em;
    line-height: 1em;
    font-family: var(--font-gfs);
    font-weight: 400;
    letter-spacing: .1em;
    margin-bottom: 1.5em;
    margin-top: .5em;
}
.sidebar__link a {
    display: block;
    padding: 2em 0 2em 2em;
    line-height: 1em;
    position: relative;
}
.sidebar__link a::before {
    content: "-";
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
.post-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
}
.voice-card .post-info,
.single-voice .post-info {
    flex-direction: row-reverse;
}
.post-info .post-info__date {
    font-size: 1.4rem;
    color: #808080;
}
.post-info .post-info__cat .cat {
    display: block;
    border: 1px solid #808080;
    line-height: 1em;
    padding: .5em .75em;
}
.post-card .post-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    margin-bottom: 2em;
}
.post-card .post-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-card__ttl,.post-header__ttl {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.6em;
}
.button-more {
    text-align: center;
    margin-top: 1.5em;
}
.button-more .button-more__txt {
    font-size: 1.4rem;
    line-height: 1em;
    border: 1px solid var(--color-gray);
    display: inline-block;
    padding: 1.9rem 4rem;
    border-radius: 2.5em;
    margin: 0 auto;
}
.post-header {
    margin-bottom: 2em
}
.post-img {
    margin-bottom: var(--space-md);
}
.post-body p,.post-body li {
    line-height: 2em;
}
.post-body h2,.post-body h3 {
    font-size: 1.375em;
    line-height: 2em;
    color: var(--color-green01);
    margin-bottom: 2.4rem;
}
.post-body h3 {
    background-color: #DDECF6;
    padding: 1.2rem 1.6rem;
    line-height: 1.6em;
}
.post-body h4 {
    font-size: 1.8rem;
    margin: 1.25em 0;
    font-weight: 500;
}
.post-body .list {
    margin-bottom: 1em;
}
.color-green {
    color: var(--color-green01);
}
.color-blue {
    color: var(--color-greenblue01);
}
.color-purple {
    color: var(--color-purple01);
}
.post-body .border-box {
    border: 1px solid #B3B3B3;
    border-radius: 1em;
    padding: 2em 1em;
    margin: var(--space-md) 0;
}
.post-body .block {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 2em 1em;
    text-align: center;
    margin-top: var(--space-md);
}
.post-body .block .button01 {
    margin-top: 2em;
}
.body-headline {
    margin: var(--space-md) 0;
}
.post-body .img-col2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: var(--space-md) 0;
}
.post-body .img-col2 br {
    display: none;
}
.post-body table.detail-table {
    margin: 1.5em 0;
}
table.detail-table th {
    font-size: 1em;
    font-weight: 400;
    color: var(--color-gray);
}
.post-body iframe {
    width: 100%;
}
.post-body .iframe-map__wrap {
    margin-top: 1em;
}
div#toc_container {
    width: 100%;
    margin: 0 0 var(--space-md) 0 !important;
    padding: 0;
    border-bottom: 1px solid #B3B3B3 !important;
}
#toc_container p.toc_title {
    text-align: left !important;
    border-bottom: 1px solid #B3B3B3;
    font-weight: 400 !important;
    font-size: 1.375em;
    padding-bottom: .75em !important;
}
#toc_container p.toc_title + .toc_list {
    padding: 1em 0;
    margin: 0 !important;
}
#toc_container .toc_list li {
    margin: .5em 0;
}
#toc_container .toc_list > li > a {
    color: var(--color-green01) !important;
    font-size: 1.25em;
}
#toc_container .toc_list > li > ul > li::before {
   content: "・";
   display: inline-block;
}
#toc_container .toc_list > li > ul > li a {
    font-size: 1.125em;
    color: #5D5D5D;
}
.post-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
    font-weight: 400;
    width: 2em;
    height: 2em;
    text-align: center;
    border: 1px solid white;
    border-radius: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-pagenavi span.current {
    border-color: black;
}
@media screen and (max-width: 767px) {
    .sidebar__link li {
        border-top: 1px solid #808080;
    }
    .post-body .iframe-map__wrap iframe {
        width: 100%;
        height: 30rem;
    }
}
@media screen and (min-width: 768px) {
    .post-content {
        grid-template: "main side"
        "nav nav";
        column-gap: 5em;
        row-gap: 7.5em;
        margin-bottom: 11.25em;
    }
    .post-content .post-content__main {
        grid-area: main;
        width: 53.5em;
    }
    .post-content__main .post-card {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3.5em;
    }
    .post-content__main .post-card.voice-card {
        grid-template-columns: 1fr;
    }
    .post-content .post-content__side {
        grid-area: side;
        width: 18em;
    }
    .sidebar__ttl {
        margin: .5em 0;
    }
    .post-content .post-content__nav {
        grid-area: nav;
    }
    .sidebar__link a {
        padding: 0 0 0 1.5em;
        margin: 2em 0;
    }
    .post-content__main .post-card article > a {
        display: block;
        height: 100%;
        position: relative;
        padding-bottom: 4.5em;
    }
    .post-content__main .post-card article a .button-more {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .post-card__ttl {
        font-size: 1.5em;
    }
    .post-header,.post-header .post-info {
        margin-bottom: 2.5em;
    }
    .post-header__ttl {
        font-size: 2em;
    }
    .post-content__main .post-card.voice-card article > a {
        display: grid;
        grid-template-columns: 28rem auto;
        column-gap: 2.5em;
        position: static;
        padding-bottom: 0;
    }
    .post-content__main .post-card.voice-card article a .button-more {
        position: static;
        transform: translateX(0);
        float: right;
    }
    .post-content__main .voice-card .post-img {
        margin-bottom: 0;
    }
    .post-content__main .voice-card .excerpt {
        margin: 1em 0;
    }
    .post-body h2,.post-body h3 {
        margin-bottom:3.2rem;
    }
    .post-body h3 {
        padding-left: 4rem;
    }
    .post-body h4 {
        font-size: 2.2rem;
    }
    .post-body .border-box {
        border-radius: 2.5em;
        padding: 2.5em;   
    }
    .post-body .block {
        padding: 5em 3.5em;
    }
    .post-body .block .button01 {
        margin-top: 2.5em;
    }
    .post-body .img-col2 {
        gap: 2.5em;
    }
    .body-headline {
        padding: 0 2em;
    }
    .post-body table.detail-table {
        margin: 2em 0;
    }
    .post-body table.detail-table th {
        vertical-align: top;
        padding: 2.5em 0 2.5em 2.5em;
        line-height: 2em;
    }
    .post-body table.detail-table td {
        padding-top: 2.5em;
        padding-bottom: 2.5em;
    }
    .post-body table.detail-table td .button01 .button {
        margin: 0 0 1em 0;
    }
    table.detail-table td .iframe-map__wrap {
        max-width: 65rem;
        margin-top: 1.5em;
    }
    #toc_container p.toc_title + .toc_list {
        padding: 2.25em 2em;
    }
}
