/* blockname */
.postdetail {
    background: #fff;
    padding: 36px;
}
.postdetail-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.postdetail-head__flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px;
}
.postdetail-head__cat {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}
.postdetail-head__cat .cat {
    background: #E6F5EB;
    border: 2px solid var(--sub-theme-color);
    border-radius: 5px;
    color: var(--sub-theme-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    height: 31px;
    padding: 0 25px;
    width: max-content;
}
.postdetail-head__date {
    color: #8C8779;
    font-size: 13px;
    font-weight: 400;
}
.postdetail-head h1 {
    font-size: 26px;
    font-weight: 700;
}
.postdetail-eyecatch {
    line-height: 0;
    margin: 25px 0 35px;
}
.postdetail-eyecatch img {
    height: 100%;
    width: 100%;
}
.postdetail-body p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8em;
}
.wp-block-columns {
    background: #F7F7F7;
    padding: 20px;
}
.postdetail-body ul {
    padding-left: 25px;
}
.postdetail-body ul li {
    list-style: disc;
}
.postdetail-body ol {
    padding-left: 25px;
}
.postdetail-body ol li {
    list-style: decimal;
}

.postdetail-body h2 {
    border-bottom: 1px solid var(--sub-theme-color);
    color: var(--sub-theme-color);
    font-size: 22.5px;
    font-weight: 700;
    padding: 0 0 5px;
}
.postdetail-body h3 {
    border-left: 4px solid var(--sub-theme-color);
    color: #333;
    font-size: 18.5px;
    font-weight: 700;
    padding: 0 0 0 10px;
}
.postdetail-body h4 {
    font-size: 17px;
    font-weight: 700;
}
.postdetail-body h5 {
    font-size: 15px;
    font-weight: 700;
}
.postdetail-body p strong {
    color: #F25424;
}
.postdetail-body p a {
    border-bottom: 1px solid #034495;
    color: #034495;
}
.postdetail-body p mark {
    background:linear-gradient(transparent 60%, #FFCC1A 60%);
    color: #333 !important;
}
.postdetail-body table tr td,
.postdetail-body table tr th {
    font-size: 15px;
    padding: 15px;
    text-align: left;
}
.postdetail-body table tbody tr td:first-child {
    background: #F7F7F7;
    font-weight: 700;
    width: 30%;
}
.postdetail-body table thead + tbody tr td:first-child {
    background: #fff;
    font-weight: 400;
}
.postdetail-body table thead + tbody tr td,
.postdetail-body table thead + tbody tr td:first-child {
    width: 50%;
}

.wp-block-quote {
    padding: 25px 45px;
    position: relative;
}
.wp-block-quote::before,
.wp-block-quote::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    display: block;
    height: 45px;
    position: absolute;
    width: 33px;
}
.wp-block-quote::before {
    background-image: url(../images/quote-r.png);
    left: 0;
    top: 0;
    transform: rotate(-180deg);
}
.wp-block-quote::after {
    background-image: url(../images/quote-r.png);
    right: 0;
    bottom: 0;
}
@media screen and (max-width: 968px) {
    .postdetail {
        padding: 25px;
    }
}
@media screen and (max-width: 768px) {
    .postdetail {
        padding: 20px;
    }
}

/* toc */
.toc {
    background: var(--sub-theme-color);
    border-radius: 5px;
    padding: 10px;
}
.toc-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
}
.toc-head::before {
    background: url(../images/icon-toc.svg) no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    display: block;
    height: 27px;
    margin-right: 10px;
    width: 27px;
}
.toc-head p {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.toc-body {
    background: #fff;
    border-radius: 5px;
    padding: 45px 35px;
    counter-reset: number 0;
}
.toc-body ul {
    padding-left: 0;
}
.toc-body > ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.toc-body ul > li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.toc-body ul li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.toc-body > ul > li > a::before {
    background: var(--sub-theme-color);
    border-radius: 50%;
    counter-increment: number 1;
    color: #fff;
    content: counter(number);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    height: 28px;
    margin-right: 10px;
    width: 28px;
}
.toc-body ul > li ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 0;
    padding-left: 35px;
    width: 100%;
}
.toc-body ul > li ul li a::before {
    background: var(--sub-theme-color);
    content: "";
    display: block;
    height: 2px;
    margin-right: 10px;
    width: 15px;
}
.toc-body ul li a span {
    color: var(--sub-theme-color);
    font-size: 20px;
    font-weight: 700;
    width: calc(100% - 38px);
}
.toc-body ul li > ul li a span {
    font-size: 16px;
    width: calc(100% - 25px);
}
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {
    .toc {
        padding: 5px;
    }
    .toc-head {
        padding: 5px;
    }
    .toc-head::before {
        height: 21px;
        width: 21px;
    }
    .toc-head p {
        font-size: 18px;
    }
    .toc-body {
        padding: 25px 15px;
    }
    .toc-body > ul {
        gap: 15px;
    }
    .toc-body > ul > li a::before {
        font-size: 12px;
        height: 21px;
        margin-right: 8px;
        width: 21px;
    }
    .toc-body ul > li ul {
        padding-left: 25px;
    }
    .toc-body ul > li ul li a::before {
        margin-right: 5px;
        width: 10px;
    }
    .toc-body ul li a span {
        font-size: 16px;
        width: calc(100% - 29px);
    }
    .toc-body ul li > ul li a span {
        font-size: 14px;
        width: calc(100% - 15px);
    }
}

/* blockname */
.related-post {
    margin: 50px 0 0;
}
.related-post__items {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    position: relative;
}
.related-post__items::after {
    background: #333;
    content: "";
    display: block;
    height: 100%;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    width: 1px;
}
.related-post__item {
    width: 45%;
}
.related-post__item a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 25px 0;
}
.related-post__item:nth-child(2) a {
    justify-content: flex-end;
}
.related-post__item:nth-child(1) a::before,
.related-post__item:nth-child(2) a::after {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 19px;
    border: 1px solid #333;
    border-radius: 50%;
    content: "";
    display: block;
    height: 45px;
    width: 45px;
}
.related-post__item:nth-child(1) a::before {
    background-image: url(../images/icon-arrow-b-l.svg);
    margin-right: 35px;
}
.related-post__item:nth-child(2) a::after {
    background-image: url(../images/icon-arrow-b-r.svg);
    margin-left: 35px;
}
.related-post__item a p {
    font-size: 18px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: calc(100% - 80px);
}
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {
    .related-post__items::after {
        height: 1px;
        top: 0;
        bottom: 0;
        width: 100%;
    }
    .related-post__item {
        width: 100%;
    }
}

/* blockname */
.collectionpost {
    padding: 75px 0;
}
.collectionpost-inner {
    margin: 0 auto;
    width: 92%;
    max-width: 1120px;
}
.collectionpost-head {
    margin: 0 0 50px;
    text-align: center;
}
.collectionpost-head h2 {
    font-size: 56px;
    font-weight: 700;
}
.collectionpost-head h2 span {
    font-size: 47px;
    font-weight: 700;
}
.wp-block-columns.collectionpost-body {
    padding: 0;
}
.collectionpost-body > .wp-block-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.collectionpost-body .wp-block-column .wp-block-columns {
    display: flex;
    justify-content: center;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    gap: 20px;
    padding: 0;
}
.collectionpost-body .wp-block-column .wp-block-columns .wp-block-column {
    background: #fff;
    border-radius: 0 0 10px 10px;
    flex-basis: inherit;
    flex-grow: inherit;
    width: calc((100% - (20px * 2)) / 3);
}
.collectionpost-body .wp-block-column .wp-block-columns .wp-block-column:empty {
    display: none;
}
.collectionpost-body .wp-block-column .wp-block-columns .wp-block-column h3 {
    background: var(--sub-theme-color);
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 10px 0;
    text-align: center;
}
.collectionpost-body .wp-block-column .wp-block-columns .wp-block-column .wp-block-image {
    aspect-ratio: 16 / 9;
    line-height: 0;
    padding: 20px;
}
.collectionpost-body .wp-block-column .wp-block-columns .wp-block-column .wp-block-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.collectionpost-body .wp-block-column .wp-block-columns .wp-block-column p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8em;
    padding: 0 20px 20px;
}
@media screen and (max-width: 968px) {
    .collectionpost {
        padding: 65px 0;
    }
    .collectionpost-head {
        margin: 0 0 45px;
    }
    .collectionpost-head h2 {
        font-size: 42px;
    }
    .collectionpost-head h2 span {
        font-size: 32px;
    }
    .collectionpost-body .wp-block-column .wp-block-columns .wp-block-column .wp-block-image {
        padding: 10px;
    }
    .collectionpost-body .wp-block-column .wp-block-columns .wp-block-column p {
        padding: 0 10px 15px;
    }
}
@media screen and (max-width: 768px) {
    .collectionpost {
        padding: 45px 0;
    }
    .collectionpost-head h2 {
        font-size: 32px;
    }
    .collectionpost-head h2 span {
        font-size: 24px;
    }
    .collectionpost-body .wp-block-column .wp-block-columns .wp-block-column {
        width: calc((100% - (20px * 1)) / 2);
    }
}

/* archivementdetail */
.archivementdetail {
    background: var(--main-theme-color);
    padding: 100px 0 180px;
}
.archivementdetail-inner {
    margin: 0 auto;
    width: 92%;
    max-width: 1120px;
}
.archivementdetail-head {
    background: var(--sub-theme-color);
    border-radius: 20px 20px 0 0;
    padding: 15px 0;
    text-align: center;
}
.archivementdetail-head h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}
.archivementdetail-body {
    background: #fff;
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    padding: 40px 0 80px;
}
.archivementdetail-detail {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0 auto;
    width: 92%;
    max-width: 905px;
}
.archivementdetail-detail p:empty {
    min-height: 30px;
}
.archivementdetail-detail h2 {
    border-bottom: 1px solid var(--sub-theme-color);
    color: var(--sub-theme-color);
    font-size: 27px;
    font-weight: 700;
    padding: 0 0 5px 15px;
    position: relative;
}
.archivementdetail-detail h2::before {
    background: var(--sub-theme-color);
    content: "";
    display: block;
    height: 65%;
    margin: auto;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 5px;
}
.archivementdetail-detail .ttl-pt2 {
    background: var(--sub-theme-color);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    padding: 10px 25px;
}
.archivementdetail-detail .ttl-pt2::after {
    display: none;
}
.archivementdetail-detail .wp-block-columns {
    background: none;
    padding: 0;
}
.archivementdetail-detail h3 {
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 20px;
}
.archivementdetail-detail p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8em;
}
.archivementdetail-detail table {
    border: 2px solid var(--sub-theme-color);
    border-collapse: collapse;
    width: 100%;
}
.archivementdetail-detail .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    background: #fff;
    border: 2px solid var(--sub-theme-color);
    font-size: 16px;
    font-weight: 700;
    padding: 10px;
}
.archivementdetail-detail .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td:first-child {
    background: var(--sub-theme-color);
    border-bottom: 2px solid #fff;
    color: #fff;
    text-align: center;
}
.archivementdetail-detail .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr:last-child td:first-child {
    border-bottom: 2px solid var(--sub-theme-color);
}
.archivementdetail-detail .wp-block-flexible-table-block-table.fullwide-table>table tr td:first-child {
    width: 40%;
}
@media screen and (max-width: 968px) {
    .archivementdetail {
        padding: 60px 0 80px;
    }
}
@media screen and (max-width: 768px) {
    .archivementdetail {
        padding: 45px 0 60px;
    }
    .archivementdetail-head h1 {
        font-size: 24px;
    }
    .archivementdetail-detail h2 {
        font-size: 21px;
    }
    .archivementdetail-detail .ttl-pt2 {
        font-size: 23px;
        padding: 10px 20px;
    }
    .archivementdetail-detail h3 {
        font-size: 21px;
    }
    .archivementdetail-detail p {
        font-size: 15px;
    }
    .archivementdetail-detail .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
        font-size: 15px;
    }
    .archivementdetail-detail .wp-block-flexible-table-block-table.fullwide-table>table tr td:first-child {
        width: 130px;
    }
}

/* archivementestimate */
.archivementestimate {
    padding: 143px 0 50px;
}
.archivementestimate-inner {
    background: #fff;
    border-radius: 20px;
    border: 3px solid var(--sub-theme-color);
    margin: 0 auto;
    position: relative;
    width: 92%;
    max-width: 1120px;
}
.archivementestimate-head {
    background: var(--sub-theme-color);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 86px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: -43px;
    width: 600px;
}
.archivementestimate-head p {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}
.archivementestimate-head::before {
    background: url(../images/icon-estimate.svg) no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    display: block;
    height: 44px;
    margin-right: 10px;
    width: 44px;
}
.archivementestimate-detail {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 112px 80px 60px;
}
.archivementestimate-text {
    width: calc(100% - 450px);
}
.archivementestimate-text h2 {
    border-bottom: 1px solid var(--sub-theme-color);
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 25px;
    padding: 0 0 5px 15px;
    position: relative;
}
.archivementestimate-text h2::before {
    background: var(--sub-theme-color);
    content: "";
    display: block;
    height: 65%;
    margin: auto;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 5px;
}
.archivementestimate-text p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8em;
}
.archivementestimate-text p strong {
    color: var(--sub-theme-color);
    font-weight: 700;
}
.archivementestimate-image {
    line-height: 0;
    width: 350px;
}
@media screen and (max-width: 1268px) {
    .archivementestimate-detail {
        padding: 112px 40px 60px;
    }
    .archivementestimate-text {
        width: calc(100% - 380px);
    }
}
@media screen and (max-width: 968px) {
    .archivementestimate-head {
        height: 50px;
        top: -25px;
        width: 400px;
    }
    .archivementestimate-head p {
        font-size: 24px;
    }
    .archivementestimate-head::before {
        height: 32px;
        width: 32px;
    }
    .archivementestimate-text h2 {
        font-size: 21px;
        margin: 0 0 20px;
    }
    .archivementestimate-text p {
        font-size: 16px;
    }
    .archivementestimate-image {
        width: 250px;
    }
    .archivementestimate-text {
        width: calc(100% - 275px);
    }
}
@media screen and (max-width: 768px) {
    .archivementestimate-head {
        height: 42px;
        top: -25px;
        width: 80%;
    }
    .archivementestimate-head::before {
        height: 28px;
        width: 28px;
    }
    .archivementestimate-head p {
        font-size: 20px;
    }
    .archivementestimate-image {
        margin: 25px auto 0;
        width: 80%;
    }
    .archivementestimate-text {
        width: 100%;
    }
}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}


/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}


/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}


/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}

/* blockname */
@media screen and (max-width: 968px) {}
@media screen and (max-width: 768px) {}