@charset "utf-8";
.primary {
    /*カラム落ち防止（※セカンダリーの高さに合わせて要調整）*/
    min-height: 800px;
}

.primary h1 {
    font-size: 16px;
    font-weight: bold;
    padding: 14px 0;
    padding-left: 10px;
    margin-bottom: 30px;
    border-left: 8px solid #606060;
    background: #eeeeee;
}

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

    .primary h1 {
        font-size: 16px;
        margin-bottom: 20px;
        padding: 10px 0 10px 8px;
    }
}

/*============================
works
============================*/

.works_box {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.works_box > a {
    display: block;
    margin-bottom: 20px;
    margin-right: 20px;
}

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

.works_box .box {
    position: relative;
    width: 240px;
}

.works_box .title {
    display: block;
    color: #fff;
    background-color: rgb(125 125 125 / 80%);
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    border: 0;
}

.works_box .box .photo {
    width: 100%;
    height: 180px;
    margin: 0;
}

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

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

.cus-cat span {
    background-color: #555;
    color: #fff;
    display: inline-block;
    font-size: 13px;
    margin-right: 4px;
    margin-bottom: 4px;
    padding: 0px 6px;
    border-radius: 14px;
}

@media only screen and (max-width: 768px) {
    .works_box {
        -js-display: flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        flex-direction: column;
    }

    .works_box > a {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        margin-right: 0;
    }

    .works_box > a:nth-last-child(2),
    .works_box > a:nth-last-child(3) {
        margin-bottom: 30px;
    }

    .works_box .box {
        position: relative;
        width: 100%;
    }

    .works_box .box .photo {
        width: 100%;
        height: 300px;
        margin: 0;
    }
}

@media only screen and (max-width: 450px) {

    .works_box .box .photo {
        height: 220px;
    }
}


/*============================
#works-single(single.php)
============================*/

#works-single h2 {
    margin-bottom: 20px;
}

#works-single .post-categories {
    margin-bottom: 20px;
}

#works-single .post-categories li {
    display: inline-block;
}

#works-single .post-categories li a {
    background-color: #555;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    padding: 5px 12px;
    margin-right: 5px;
}

table.info {
    margin-top: 50px;
}

.images_container section {
    margin-top: 50px;
}

.images_container section p {
    margin-bottom: 15px;
}

.images_container section ul {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.images_container section .photo {
    width: 49%;
    height: 250px;
    margin-right: 2%;
    margin-bottom: 2%;
}

.images_container section .photo:nth-child(2n) {
    margin-right: 0;
}

.images_container section .photo:last-child,
.images_container section .photo:nth-last-child(2) {
    margin-bottom: 0;
}

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

.return-btn {
    margin-top: 10px;
}

.return-btn a {
    background-color: #00bbd5;
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px 0;
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
}

/*※ギャラリー画像が一枚のみ投稿された場合*/

.only_photo {
    width: 100%;
    height: 450px;
}

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

@media only screen and (max-width: 768px) {
    #works-single {
        padding-top: 20px;
    }

    table.info {
        margin-top: 30px;
    }

    .images_container section {
        margin-top: 30px;
    }

    .images_container section p {
        margin-bottom: 15px;
    }

    .images_container section ul {
        -js-display: flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .images_container section .photo {
        width: 49%;
        height: 200px;
        margin-right: 2%;
        margin-bottom: 2%;
    }

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


@media only screen and (max-width: 450px) {
    .images_container section .photo {
        height: 160px;
    }

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



/*===========================
bxslider ※ギャラリー画像が複数投稿された場合
============================*/

.bx-wrapper {
    border: 0;
    box-shadow: none;
    background: none;
    width: 100%;
    height: 490px;
    margin: 0;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.bx-viewport {
    height: inherit !important;
}

.bx-wrapper ul li {
    height: 490px !important;
    background-color: #eee;
    overflow: hidden;
}

/*.bx-wrapper*/

.bx-wrapper ul li img {
    display: block;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: none;
    height: 100%;
}

/*thumbnail*/

#bx-pager {
    width: 100%;
    max-width: 100%;
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

#bx-pager li {
    display: inline-block;
    margin-right: 20px;
    overflow: hidden;
}

#bx-pager li:last-child {
    margin-right: 0;
}

#bx-pager li a img {
    width: 180px;
    height: 125px;
    object-fit: cover;
    display: block;
    opacity: 0.5;
}

#bx-pager a.active img {
    opacity: 1;
}

/*slider_btn*/

.bx-wrapper .bx-controls-direction a {
    height: 80px;
    margin-top: -40px;
    outline: 0 none;
    position: absolute;
    text-indent: -9999px;
    top: 50%;
    z-index: 10;
    width: 60px;
}

.bx-wrapper .bx-prev {
    left: 0px;
    border-radius: 0 5px 5px 0;
    background-position: 0 0 !important;
    background: url(../images/arrow.png) no-repeat center center;
}

.bx-wrapper .bx-next {
    right: 0px;
    border-radius: 5px 0 0 5px;
    background-position: 0 0 !important;
    background: url(../images/arrow02.png) no-repeat center center;
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-next:hover {
    background-color: #555;
    opacity: 1;
}

@media only screen and (max-width: 768px) {
    .bx-wrapper {
        border: 0;
        box-shadow: none;
        background: none;
        width: 100%;
        height: 380px;
        margin: 0 auto;
        position: relative;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .bx-viewport {
        height: inherit !important;
    }

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

    /*thumbnail*/
    #bx-pager {
        width: 100%;
        max-width: 100%;
        -js-display: flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    #bx-pager li {
        display: inline-block;
        margin-right: 10px;
        overflow: hidden;
    }

    #bx-pager li:last-child {
        margin-right: 0;
    }

    #bx-pager li a img {
        width: 90px;
        height: 80px;
        object-fit: cover;
        display: block;
        opacity: 0.5;
    }

    #bx-pager a.active img {
        opacity: 1;
    }

    /*slider_btn*/
    .bx-wrapper .bx-controls-direction a {
        display: none;
    }

    .bx-wrapper .bx-prev {
        left: 0px;
        border-radius: 0 5px 5px 0;
        background-position: 0 0 !important;
    }

    .bx-wrapper .bx-next {
        right: 0px;
        border-radius: 5px 0 0 5px;
        background-position: 0 0 !important;
    }

    .bx-wrapper .bx-prev:hover {
        background: url(../images/arrow.png) no-repeat center center;
    }

    .bx-wrapper .bx-next:hover {
        background: url(../images/arrow02.png) no-repeat center center;
    }

    .bx-wrapper .bx-prev:hover,
    .bx-wrapper .bx-next:hover {
        background-color: rgba(0, 0, 0, 0.6);
        background-position: 0 0;
    }
}

@media only screen and (max-width: 450px) {
    .bx-wrapper {
        height: 220px;
    }

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


/*===========================
blog
============================*/

#blog .box {
    overflow: hidden;
    padding: 0 10px 40px 10px;
}

#blog ul.detail {
    display: flex;
    -js-display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

#blog ul.detail li.date,
#blog ul.detail li.cat a {
    height: 23px;
    line-height: 23px;
}

#blog ul.detail li.date {
    margin: 0 8px 0 0;
}

#blog ul.detail li.cat a {
    display: inline-block;
    background: #00bbd5;
    font-size: 12px;
    color: #FFF;
    padding: 0 6px;
    text-decoration: none;
    border-radius: 2px;
    margin-right: 5px;
}

.entryList_single ul.detail {
    margin-bottom: 20px;
}

#blog .box h3.title {
    padding: 0;
    margin: 5px 0 15px 0;
    border: none;
    border-bottom: 1px solid #909090;
}

#blog .box h3.title a {
    padding: 0 0 5px 0;
    display: block;
    font-size: 16px;
}

#blog .box .photo {
    float: left;
    width: 200px;
    height: 140px;
    overflow: hidden;
}

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

.box .text {
    float: right;
    width: 510px;
}

#blog .box .text p {
    font-size: 15px;
    line-height: 1.5;
}

#blog .box .text a.more {
    display: block;
    font-weight: bold;
    text-decoration: none;
    background: #00bbd5;
    color: #FFF;
    letter-spacing: 0.05em;
    text-align: center;
    width: 180px;
    padding: 4px 0;
    border-radius: 2px;
    margin: 15px auto 0 auto;
}

/*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: #4c657b;
}

.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 h2 {
    border: 0;
    background: none;
    font-weight: 600;
    font-size: 23px;
    padding: 10px 15px;
    border-bottom: 3px solid #00bbd5;
    margin-top: 50px;
    margin-bottom: 30px;
}

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

.entryBody_single h4 {
    font-weight: 600;
    font-size: 17px;
    padding: 4px 10px;
    border-left: 6px solid #00bbd5;
    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: #00bbd5;
    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;
    color: #00bbd5;
}

.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: #00bbd5;
    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*/

@media only screen and (max-width: 768px) {
    #blog .box {
        padding: 10px 10px 40px 10px;
    }
    #blog .box .photo {
        float: none;
        width: 100%;
        height: 200px;
        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;
    }
    /*single  投稿記事の装飾*/
    .entryBody_single h2 {
        padding: 10px 0;
        font-size: 15px;
        margin-top: 50px;
        margin-bottom: 20px;
        text-align: left;
    }

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

    .entryBody_single h4 {
        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  投稿記事の装飾 end*/
}

/*===========================
404
============================*/

.error {
    text-align: center;
    margin-top: 30px;
}

.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;
}


@media only screen and (max-width: 768px) {
    .error_title {
        font-size: 23px;
    }

    .error a {
        width: 100%;
    }
}

/*===========================
ページャー
============================*/

.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 0;
}

.pagination .nav-links .page-numbers,
.pagination .nav-links .page-numbers.current,
.pagination .nav-links .prev.page-numbers,
.pagination .nav-links .next.page-numbers {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    padding: 0;
    display: block;
    background: #00bbd5;
    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: #93c7e2;
}

.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;
    font-size: 20px;
}

.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;

}

@media only screen and (max-width: 768px) {
    .pagination .nav-links {
        margin: 10px 0;
    }
}

/*===========================
セカンダリー
============================*/

.secondary {
    margin-top: 30px;
}

.secondary_widget {
    width: 246px;
    float: right;
}

.secondary_widget h2 {
    border: none;
    margin-bottom: 0;
    padding: 14px 0;
    text-align: center;
}

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

.secondary_widget ul li {
    border-bottom: 1px solid #b9b9b9;
}

.secondary_widget ul li a {
    display: block;
    padding: 15px;
}

@media only screen and (max-width: 768px) {
    .secondary {
        margin-top: 0;
        border: none;
    }
    .secondary_widget {
        width: 100%;
        float: none;
        margin-top: 30px;
    }
}
