@charset "utf-8";

.cus-cat {
    position: absolute;
    top: 0px;
    left: 0px;
}

.cus-cat span {
    background-color: #000;
    color: #fff;
    display: block;
    font-size: 13px;
    margin-right: 4px;
    margin-bottom: 4px;
    padding: 8px 15px;
}

/*===========================
blog
============================*/
.post-type-archive-blog .cont_img,
.single-blog .cont_img,
.tax-blog_cat .cont_img {
    background: url("../images/cont_img_blog.jpg") no-repeat center center;
    background-size: cover;
}

/*===========================
blog-archives
============================*/
.blog_box {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blog_box > a {
    display: block;
    margin-bottom: 40px;
    margin-right: 40px;
}

.blog_box > a:nth-child(3n) {
    margin-right: 0;
}

.blog_box .box {
    letter-spacing: 1px;
    position: relative;
}

.blog_box .box .photo {
    position: relative;
}

/*newをつける*/
/*
.blog_box a:nth-child(-n+3) .box::before {
    content: "NEW";
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #009f41;
    z-index: 1;
}
*/

.new_text {
     content: "NEW";
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #009f41;
    z-index: 1;
    font-weight: 400;
}

.blog_box .title {
    display: block;
    margin: 0;
    width: 100%;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    border: 0;
    text-align: center;
}

.blog_box .area {
    text-align: center;
    font-size: 13px;
}

.blog_box .box .photo {
    width: 300px;
    height: 240px;
    margin: 0;
    overflow: hidden;
}

.blog_box .box .photo .img {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
}

/*【画像をhoverした時にズームさせるcss】　参考：https://weconet.co.jp/css_image_zoom/*/
.blog_box .box .photo .img {
    transition: 1s all;
}

.blog_box .box .photo .img:hover {
    transform: scale(1.2, 1.2);
    transition: 1s all;
}

/*↑END*/
.blog_box .cus-cat {}

.blog_box .cus-cat span {
    font-size: 13px;
    text-align: center;
    display: block;
    letter-spacing: 2px;
}

.blog_box .date {
    text-align: center;
    font-weight: bold;
    padding-top: 10px;
}

/*single  目次  投稿記事の装飾*/
.entryBody_single #toc_container {
    margin: 50px auto 0;
    padding: 10px 20px !important;
    max-width: 450px;
    width: 100%;
}

.entryBody_single #toc_container p.toc_title {
    font-weight: bold;
    font-size: 15px;
}

.entryBody_single .toc_list li::before {
    display: none;
}

.entryBody_single .toc_list a {
    font-weight: normal;
    color: #009f41;
}

.entryBody_single .toc_list a::after,
.entryBody_single .toc_list a::before {
    display: none;
}

.entryBody_single .toc_list {
    margin: 10px 0;
    padding: 0;
}

.entryBody_single .toc_list li {
    padding: 0;
    margin-top: 10px;
}

/*single  投稿記事の装飾*/
.entryBody_single p {
    margin-bottom: 20px;
}

.wp-block-image {
    margin: 20px 0;
}

.wp-block-image img {
    display: block;
    max-width: 100%;
    width: auto;
}

.entryBody_single img.size-full {
    display: block;
    width: 100%;
    height: auto;
    padding: 20px 0;
}

.entryBody_single img.size-large {
    display: block;
    width: auto;
    height: auto;
    padding: 20px 0;
    margin: auto;
}

.entryBody_single img.size-medium {
    display: block;
    width: auto;
    height: auto;
    padding: 20px 0;
    margin: auto;
}

.entryBody_single img.size-thumbnail {
    display: block;
    width: auto;
    height: auto;
    padding: 20px 0;
    margin: auto;
}

.entryBody_single h3 {
    font-weight: 600;
    font-size: 23px;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    margin-top: 50px;
    margin-bottom: 30px;
}

.entryBody_single h4 {
    font-weight: 600;
    font-size: 20px;
    background-color: #eaeaea;
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.entryBody_single h5 {
    font-weight: 600;
    font-size: 17px;
    padding: 4px 10px;
    border-left: 6px solid #333;
    margin-top: 40px;
    margin-bottom: 30px;
}

.entryBody_single a {
    font-weight: 600;
    color: #ffbf12;
    text-decoration: underline;
}

.entryBody_single a::after {
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.entryBody_single ul {
    margin: 10px 0;
    padding: 0 10px;
}

.entryBody_single ul li {
    position: relative;
    padding: 0 0 0 25px;
    margin-top: 10px;
}

.entryBody_single ul li::before {
    display: block;
    content: '';
    position: absolute;
    top: 9px;
    left: 1px;
    width: 6px;
    height: 6px;
    background: #181818;
    border-radius: 50%;
}

.entryBody_single ol {
    margin: 20px 0;
    counter-reset: no;
    padding: 0 10px;
}

.entryBody_single ol li {
    position: relative;
    padding: 0 0 0 25px;
    margin-top: 10px;
}

.entryBody_single ol li::before {
    counter-increment: no;
    content: counter(no) ".";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 600;
}

.entryBody_single .normal_box {
    border: 1px solid #ccc;
    padding: 15px;
    margin: 20px 0;
}

.entryBody_single .normal_color_box {
    border: 1px solid #ccc;
    background-color: #f3f3f3;
    font-size: 14px;
    padding: 15px;
    margin: 20px 0;
}

.entryBody_single .title_box {
    border: 1px solid #c3c3c3;
    padding: 0 30px 15px 30px;
    margin: 50px 0 30px;
}

.entryBody_single .title_box dt {
    display: inline-block;
    background: #fff;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    top: -11px;
    left: 2px;
}

.entryBody_single .bold {
    font-weight: 600;
}

.entryBody_single .bold_red {
    font-weight: 600;
    color: #e63535;
}

.entryBody_single .maker_yellow {
    background: linear-gradient(transparent 60%, #fff95c 60%);
}

.entryBody_single .under_line_red {
    border-bottom: 1px solid #e63535;
}

.entryBody_single .blog_table {
    overflow: auto;
    white-space: nowrap;
    margin: 20px 0;
}

.entryBody_single .blog_table table {
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
    max-width: 100% !important;
    word-break: break-all;
}

.entryBody_single .blog_table table tr {
    border-bottom: 1px solid #ccc;
}

.entryBody_single .blog_table table tr:last-child {
    border-bottom: 0;
}

.entryBody_single .blog_table table tr th {
    background-color: #f3f3f3;
}

.entryBody_single .blog_table table tr th,
.entryBody_single .blog_table table tr td {
    border-right: 1px solid #ccc;
    padding: 10px 20px;
    text-align: center;
}

.entryBody_single .blog_table table tr td:last-of-type {
    border-right: 0;
}

.entryBody_single .blog_table table li {
    text-align: left;
}

.entryBody_single .blogTOcontact {
    text-align: center;
    margin: 30px auto;
    width: 350px;
}

.entryBody_single .blogTOcontact::after {}

.entryBody_single .blogTOcontact a {
    display: block;
    width: 100%;
    padding: 15px 0;
    background: #606060;
    font-weight: 600;
    color: #fff;
    border-radius: 3px;
    text-decoration: unset;
    box-shadow: 0 3px 0 0 rgba(0, 0, 0, .06);
}

.entryBody_single .blogTOcontact a::after {
    display: none;
}

/*single  投稿記事の装飾 end*/
/*404エラーページ*/
.error {
    text-align: center;
}

.error_title {
    font-size: 50px;
    font-weight: bold;
    color: #a2a2a2;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    margin-bottom: 30px;
}

.error a {
    display: block;
    padding: 15px 0;
    background-color: #909090;
    width: 280px;
    margin: 30px auto 0;
    font-weight: bold;
    color: #fff;
    border-radius: 30px;
}

/*ページャー*/
.pagination {
    background: none;
}

.pagination .screen-reader-text {
    display: none;
}

.pagination .nav-links {
    display: flex;
    -js-display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    margin: 40px auto 100px;
    ;
    width: 980px;
}

.pagination .nav-links .page-numbers,
.pagination .nav-links .page-numbers.current,
.pagination .nav-links .prev.page-numbers,
.pagination .nav-links .next.page-numbers {
    font-size: 20px;
    text-align: center;
    padding: 0;
    display: block;
    background: #009f41;
    color: #FFF;
    min-width: 35px;
}

.pagination .nav-links a:hover,
.pagination .nav-links .prev.page-numbers:hover,
.pagination .nav-links .next.page-numbers:hover {}

.pagination .nav-links .page-numbers,
.pagination .nav-links .page-numbers.current {}

.pagination .nav-links .page-numbers {
    margin: 0 5px;
}

.pagination .nav-links .page-numbers.current {
    background: #c1c1c1;
}

.pagination .nav-links .prev.page-numbers,
.pagination .nav-links .next.page-numbers {
    margin: 0;
    position: absolute;
    left: 5px;
    top: 0;
    padding: 0 10px;
}

.pagination .nav-links .prev.page-numbers {}

.pagination .nav-links .next.page-numbers {
    left: inherit;
    right: 5px;
}

.screen-reader-text {
    display: none;
}

.navigation.post-navigation {
    background: none;
    margin-top: 30px;
}

.single-post .nav-links,
.entryList_single .nav-links {
    position: relative;
    background: none;
    padding: 10px 5px;
    overflow: hidden;
    border-top: 1px solid #ccc;
}

.entryList_single .nav-links {
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
}

.single-post .nav-links .nav-next,
.entryList_single .nav-links .nav-next {
    float: right;
    max-width: 45%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.single-post .nav-links .nav-previous,
.entryList_single .nav-links .nav-previous {
    float: left;
    max-width: 45%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.single-post .nav-links a,
.entryList_single .nav-links a {
    display: block;
    position: relative;
    line-height: 1.4;
    font-weight: bold;
}

/*追加*/
.return-btn a {
    background-color: #222;
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px 0;
    border-radius: 40px;
}

.single-post .root {
    background: #efefef;
}

.single-post .post-categories.cat a {
    background: #000;
    display: inline-block;
    font-size: 12px;
    color: #fff;
    padding: 0 6px;
    border-radius: 12px;
    margin-right: 5px;
}

.single-post .nav-links a {
    font-size: 20px;
}

.secondary {
    margin-top: 30px;
}

.secondary_widget {
    margin: 0 auto 50px;
}

.secondary_widget h2 {
    display: none;
}

.secondary_widget h2:nth-of-type(2) {
    margin-top: 30px;
}

.secondary_widget ul {
    display: flex;
    justify-content: center;
}

.secondary_widget ul li {
    padding: 0 20px;
    letter-spacing: 2px;
}

.secondary_widget ul li a {
    position: relative;
    display: block;
    line-height: 1;
    text-decoration: none;
}

.secondary_widget ul li a::after {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #231815;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.secondary_widget ul li a:active,
.secondary_widget ul li a:hover {
    outline-width: 0;
}

.secondary_widget ul li a:hover:after {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .primary {
        /*カラム落ち防止（※セカンダリーの高さに合わせて要調整）*/
        min-height: 100%;
    }

    /*404エラーページ*/
    .error_title {
        font-size: 23px;
    }

    .error a {
        width: 100%;
    }

    /*404エラーページ end*/
    /*===========================
blog
============================*/
    .post-type-archive-blog .cont_img,
    .single-blog .cont_img,
    .tax-blog_cat .cont_img {
        background: url("../images/cont_img_blog_sp.jpg") no-repeat center center;
        background-size: cover;
    }

    .blog_box {
        display: block;
    }

    .blog_box > a {
        margin-right: 0;
        margin-bottom: 20px;
    }

    #blog .box .photo {
        float: none;
        width: 100%;
        height: 60vw;
        overflow: hidden;
        margin-bottom: 10px;
    }

    #blog .box .text {
        float: none;
        width: 100%;
    }

    #blog .box .text a.more {
        width: 100%;
        padding: 2% 0;
        margin-top: 10px;
    }

    .blog_box .date {
        padding-top: 0;
    }

    /*single  投稿記事の装飾*/
    
    .entryBody_single h3 {
        padding: 10px 0;
        font-size: 15px;
        margin-top: 50px;
        margin-bottom: 20px;
        text-align: left;
    }

    .entryBody_single h4 {
        font-size: 15px;
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .entryBody_single h5 {
        font-weight: 600;
        font-size: 15px;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .entryBody_single .blogTOcontact,
    .entryBody_single .blogTOcontact02 {
        width: 100%;
    }

    .entryBody_single .blogTOcontact a,
    .entryBody_single .blogTOcontact02 a {
        padding: 20px 0;
        font-size: 14px;
        text-align: center;
    }
    
    .single-post .root{
        margin: 0;
        margin-top: 61px;
        padding: 10px;
        width: 100%;
    }
    .entryList_single .detail {
        margin-bottom: 20px;
    }

    /*single  投稿記事の装飾 end*/
}

@media only screen and (max-width: 450px) {
    .secondary_widget {
        margin: 0 auto 20px;
    }

    .pagination .nav-links {
        margin: 40px auto 0;
        width: 100%;
    }
}

.images_container section .photo {
    height: 160px;
}

/*※ギャラリー画像が一枚のみ投稿された場合*/
.only_photo {
    height: 220px;
}

/*===========================
bxslider ※ギャラリー画像が複数投稿された場合
============================*/
.bx-wrapper {
    height: 220px;
}

.bx-wrapper ul li {
    height: 220px !important;
}
}
