@charset "UTF-8";

/* アーカイブ
***************************************/
.archive_wrap {
    padding: 10rem 0;
}

.archive_wrap .post_col {
    border-top: 1px solid #ddd;
}

.archive_wrap .post_col .item {
    padding: 3rem 0;
    border-bottom: 1px solid #ddd;
}

.archive_wrap .post_col .item .date {
    font-size: 1.6rem;
    font-weight: 700;
    color: #bbb;
    margin-bottom: 1rem;
}

.archive_wrap .post_col .item .ttl {
    font-size: 2rem;
}

.archive_wrap .post_col .item .ttl:hover {
    color: #3f84e2;
    text-decoration: underline;
}

#post_pager .page-numbers {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #445c7d;
    line-height: 5rem;
}

#post_pager>.page-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5rem;
    gap: 1rem;
}

#post_pager .page-numbers.current {
    width: 5rem;
    border-radius: 5px;
    background-color: #445c7d;
    border: 1px solid #445c7d;
    text-align: center;
    color: #fff;
}

#post_pager a.page-numbers {
    width: 5rem;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #445c7d;
    text-align: center;
    color: #445c7d;
}

@media (max-width: 767px) {
    .archive_wrap {
        padding: 6rem 0 8rem;
    }

    .archive_wrap .post_col .item .ttl {
        font-size: 1.6rem;
    }

    #post_pager .page-numbers {
        line-height: 4rem;
        font-size: 1.6rem;
    }

    #post_pager .page-numbers.current {
        width: 4rem;
    }

    #post_pager a.page-numbers {
        width: 4rem;
    }
}

/* 個別
***************************************/
.single_wrap {
    padding: 10rem 0;
}

.single_wrap .post_date {
    font-size: 1.6rem;
    font-weight: 700;
    color: #bbb;
    margin-bottom: 1rem;
}

.single_wrap .post_hl {
    font-size: 2.4rem;
    font-weight: 700;
    padding-bottom: 2rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid #ddd;
}

.single_wrap .post_thumbnail {
    width: 100%;
    margin-bottom: 8rem;
}

.post_content img {
    width: auto;
    max-width: 100%;
}

.post_content>*:not(:last-child) {
    margin-bottom: 5rem;
}

.post_content p {
    line-height: 2;
}

.post_content p:not(:last-child) {
    margin-bottom: 2em;
}

.post_content h2.wp-block-heading {
    font-size: 2.2rem;
    letter-spacing: .05em;
    padding: 2rem 0;
    border-top: 1px dashed #445c7d;
    border-bottom: 1px dashed #445c7d;
    margin-bottom: 4rem;
    color: #445c7d;
}

.post_content h3.wp-block-heading {
    font-size: 2rem;
    letter-spacing: .05em;
    padding: 1rem 3rem;
    margin-bottom: 4rem;
    background-color: #445c7d;
    color: #fff;
    position: relative;
    border-radius: 5px;
}

.post_content h3.wp-block-heading:before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 10px;
    background-color: #fff;
}

.post_content h4.wp-block-heading {
    font-size: 2rem;
    letter-spacing: .05em;
    padding: .8rem 2.8rem;
    margin-bottom: 4rem;
    border: 2px solid #445c7d;
    background-color: #fff;
    color: #445c7d;
    position: relative;
    border-radius: 5px;
}

.post_content h4.wp-block-heading:before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 10px;
    background-color: #445c7d;
}

.post_content h5.wp-block-heading {
    font-size: 1.8rem;
    letter-spacing: .05em;
    padding-bottom: 1rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid #445c7d;
    color: #445c7d;
}

.post_content h6.wp-block-heading {
    font-size: 1.8rem;
    letter-spacing: .05em;
    margin-bottom: 4rem;
    color: #445c7d;
}

.post_content .wp-block-table td,
.post_content .wp-block-table th {
    border: 1px solid #bbb;
    padding: 1.5rem 2rem;
    vertical-align: top;
    min-width: 28rem;
}

.post_content .wp-block-table td:first-child,
.post_content .wp-block-table th {
    background-color: #eff5fe;
    font-weight: normal;
}

.post_content ul.wp-block-list {
    display: flex;
    flex-direction: column;
    row-gap: .5em;
}

.post_content ul.wp-block-list li {
    padding-left: 1em;
    position: relative;
}

.post_content ul.wp-block-list li:before {
    content: "";
    position: absolute;
    top: .5em;
    left: 0;
    width: .5em;
    height: .5em;
    border-radius: 50%;
    background-color: #445c7d;
}

.post_content ol.wp-block-list {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    counter-reset: ol;
}

.post_content ol.wp-block-list li {
    padding-left: 3.4rem;
    position: relative;
}

.post_content ol.wp-block-list li:before {
    content: counter(ol);
    position: absolute;
    top: 0;
    left: 0;
    width: 2.4rem;
    line-height: 2.4rem;
    text-align: center;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    background-color: #445c7d;
    color: #fff;
    counter-increment: ol;
}

.post_content .wp-block-buttons {
    flex-direction: column;
    row-gap: 2rem;
}

.post_content .wp-block-button {
    max-width: 100%;
}

.post_content .wp-block-button__link {
    width: 40rem;
    padding: 2rem 6rem;
    border-radius: 5px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background-color: #445c7d;
    position: relative;
    max-width: 100%;
}

.post_content .wp-block-button__link:hover {
    background-color: #f99d25;
}

.post_content .wp-block-button__link[target="_blank"]:after {
    content: "";
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 0;
    right: 2.8rem;
    bottom: 0;
    margin: auto 0;
    background-image: url(../img/common/tab_1.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.post_content .wp-block-column>*:not(:last-child) {
    margin-bottom: 2rem;
}

.single_wrap .style_btn.back {
    justify-content: center;
    margin-top: 10rem;
}

@media (max-width: 767px) {
    .single_wrap {
        padding: 6rem 0 8rem;
    }

    .single_wrap .post_hl {
        font-size: 2.2rem;
    }

    .single_wrap .post_thumbnail {
        margin-bottom: 5rem;
    }

    .post_content h2.wp-block-heading {
        font-size: 2rem;
    }

    .post_content h3.wp-block-heading {
        font-size: 1.8rem;
    }

    .post_content h4.wp-block-heading {
        font-size: 1.8rem;
    }

    .post_content .wp-block-table td,
    .post_content .wp-block-table th {
        min-width: 12rem;
        padding: 1.5rem;
    }

    .post_content .wp-block-button__link {
        font-size: 1.6rem;
        padding: 1.5rem 5rem;
    }

    .post_content .wp-block-button__link[target="_blank"]:after {
        right: 2.2rem;
    }
}