/* レイアウト */
.l-all-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p-pager-list a {
    cursor: pointer;
}

.p-check-list_last {
    border:none !important;
}

.l-result-wrap {
    max-width: 72%;
}

.l-search-wrap {
    margin-left: 6%;
    width: 22%;
    min-width: 230px;
}

.p-result-wrap {
    padding: 32px;
    background-color: #fff;
    filter: drop-shadow(0 3px 4px hsl(0deg 0% 60% / 33%));
}

.p-result-view-error {
    display: none;
}

.l-medium-category {
    width: 100%;
    padding-left: 30px;
}

.p-check-form {
    width: 100%;
    min-width: 230px;
}

.p-check-form.price > div:first-child {
    padding-bottom: 0;
}

.c-heading-select{
    margin: 10px 0;
}

.c-heading-sub-search {
    position: relative;
    padding: 0 0 0 24px;
    letter-spacing: 2px;
    color: #ec424f;
}

.c-heading-sub-search::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    border-left: 12px solid #ec424f;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}


.c-heading-sub-search {
    width: 100%;
    font-size: 14px;
    color: #000;
}

@media screen and (max-width: 1159px) {
    .l-result-wrap {
        flex-basis: 100%;
        max-width: 100%;
    }

    .l-search-wrap {
        display: none;
    }

}

@media screen and (max-width: 767px) {
    .p-result-wrap {
        padding: 32px 16px;
        background-color: #fff;
        filter: none;
    }
}

/* 見出し */
.c-heading {
    display: flex;
    justify-content: flex-start;
}

.c-heading {
    margin: 0;
}

.c-heading-fig {
    flex-basis: 30px;
    max-width: 30px;
}

.c-heading span {
    padding: 0 0 0 16px;
}

.c-heading-sub::before {
    top: 4px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}

.c-heading-sub-result::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 12px solid #a5785d;
}

.c-heading-sub-result {
    width: 100%;
    padding-bottom: 8px;
    font-size: 15px;
    color: #000;
    border-bottom: 1px dashed #8f8d8d;
}

.c-heading-sub-result {
    position: relative;
    padding: 0 0 0 18px;
    font-size: 15px;
    letter-spacing: 2px;
    color: #ec424f;
}

.c-heading-sub-result.is-active::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    border-bottom: 12px solid #a5785d;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 0px;
}

.c-heading-sub-result {
    width: 100%;
    padding-bottom: 8px;
    font-size: 15px;
    color: #000;
    border-bottom: 1px dashed #8f8d8d;
}

.c-heading-sub::before {
    top: 2px;
    border-left: 12px solid #a5785d;
}

.c-heading-sub.is-active::before {
    top: 4px;
    border-top: 12px solid #a5785d;
}

.c-heading-select::before {
    top: 4px;
    border-left: 12px solid #a5785d;
}

.c-index-text {
    margin: 8px 0 24px;
    text-align: right;
    font-size: 13px;
    letter-spacing: 1px;
}

@media screen and (max-width: 767px) {
    .c-heading-fig {
        flex-basis: 24px;
        max-width: 24px;
    }

    .c-heading span {
        padding: 0 0 0 12px;
    }

    .c-index-text {
        margin: 8px 0;
    }
}


/* フィルター */
.p-filter-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 0 24px 0;
    border-bottom: 1px dashed #8f8d8d;
}

.p-filter-box_foot {
    margin: 24px 0 0;
    padding: 24px 0 0;
    border-top: 1px dashed #8f8d8d;
    border-bottom: none;
}

.p-display-box,
.p-sort-box {
    display: flex;
    align-items: center;
    margin: 0 24px 16px 0;
}

.p-count-box {
    display: flex;
    align-items: center;
    margin: 0 0 16px;
}

.c-display-text,
.c-sort-text,
.c-count-text {
    margin: 0 8px 0 0;
    font-size: 13px;
    letter-spacing: 1px;
}

.p-select-display {
    padding: 8px;
    width: 80px;
    font-size: 13px;
    border: 1px solid #b9b9b9;
    border-radius: 4px;
}

.p-select-sort {
    padding: 8px;
    width: 150px;
    font-size: 13px;
    border: 1px solid #b9b9b9;
    border-radius: 4px;
}

.p-select-count {
    padding: 8px;
    width: 80px;
    font-size: 13px;
    border: 1px solid #b9b9b9;
    border-radius: 4px;
}

.p-new-box,
.p-library-box {
    margin: 0 24px 16px 0;
}

.p-new-box .c-check-label,
.p-library-box .c-check-label {
    font-size: 13px;
    letter-spacing: 1px;
}

.p-new-box .c-check-label::before,
.p-library-box .c-check-label::before {
    border: 1px solid #b9b9b9;
}

.p-filter-group {
    display: flex;
    align-items: center;
}

.p-filter-group_for_sp {
    display: flex;
}

@media screen and (max-width: 468px) {
    .p-filter-group_for_sp {
        display: block;
    }
}

/* ページャー */
.p-pager-list {
    margin: 32px 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    letter-spacing: 1px;
}

.c-pager-prev {
    position: relative;
    display: inline-block;
    padding: 10px;
}

.c-pager-prev::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-top: solid 2px #a5785d;
    border-right: solid 2px #a5785d;
    transform: rotate(-135deg);
}

.c-pager-prev_double::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-top: solid 2px #a5785d;
    border-right: solid 2px #a5785d;
    transform: rotate(-135deg);
}

.c-pager-next {
    position: relative;
    display: inline-block;
    padding: 10px;
}

.c-pager-next::before {
    content: '';
    position: absolute;
    right: 10px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-top: solid 2px #a5785d;
    border-right: solid 2px #a5785d;
    transform: rotate(45deg);
}

.c-pager-next_double::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-top: solid 2px #a5785d;
    border-right: solid 2px #a5785d;
    transform: rotate(45deg);
}

.c-pager-reader {
    cursor: auto;
}

.c-pager-link_num {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #a5785d;
    border-radius: 50%;
}

.c-pager-link_num_current {
    background-color: #fff;
    border: solid 3px #a5785d;
    pointer-events: none;
}

.c-pager-link_num_current .c-pager-num {
    cursor: auto;
    color: #a5785d;
}

.c-pager-num {
    font-weight: bold;
    letter-spacing: 0px;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .p-pager-list {
        font-size: 13px;
        letter-spacing: 0px;
    }

    .c-pager-link_num {
        width: 32px;
        height: 32px;
    }

    .c-pager-prev {
        padding: 8px;
    }

    .c-pager-next {
        padding: 8px;
    }

    .c-pager-prev::before {
        left: 8px;
        top: 7px;
        width: 8px;
        height: 8px;
        border-top: solid 1px #a5785d;
        border-right: solid 1px #a5785d;
    }

    .c-pager-prev_double::after {
        left: 14px;
        top: 7px;
        width: 8px;
        height: 8px;
        border-top: solid 1px #a5785d;
        border-right: solid 1px #a5785d;
    }

    .c-pager-next::before {
        right: 8px;
        top: 7px;
        width: 8px;
        height: 8px;
        border-top: solid 1px #a5785d;
        border-right: solid 1px #a5785d;
    }

    .c-pager-next_double::after {
        right: 14px;
        top: 7px;
        width: 8px;
        height: 8px;
        border-top: solid 1px #a5785d;
        border-right: solid 1px #a5785d;
    }
}



/* コンテンツ */
.p-content-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 12px 0;
}

.p-content-item {
    /* display: flex; */
    flex-basis: calc((100% - 64px) / 3);
    max-width: calc((100% - 64px) / 3);
    flex-grow: 1;
    margin: 0 0 32px;
}

.p-content-card {
    display: flex;
}

.p-content-link {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-content-list::after {
    content: '';
    flex-basis: calc((100% - 64px) / 3);
    max-width: calc((100% - 64px) / 3);
}

.p-content-detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.c-content-series {
    margin: 16px 0 4px;
}

.c-content-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-grow: 1;
}

.c-content-description {
    margin: 8px 0 0;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.8;
    text-align: left;
}

.c-content-author .c-content-link_inner:not(:first-child) {
    margin-left: 14px;
}

@media screen and (max-width: 1295px) {
    .p-content-item {
        flex-basis: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }

    .p-content-list::after {
        flex-basis: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }
}

@media screen and (max-width: 1159px) {
    .p-content-item {
        flex-basis: calc((100% - 64px) / 3);
        max-width: calc((100% - 64px) / 3);
    }

    .p-content-list::after {
        content: '';
        flex-basis: calc((100% - 64px) / 3);
        max-width: calc((100% - 64px) / 3);
    }
}

@media screen and (max-width: 767px) {
    .p-content-item {
        flex-basis: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }

    .p-content-list::after {
        flex-basis: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }
}

/* リスト時のコンテンツ */
.is-list.p-content-list {
    flex-direction: column;
    margin: 32px 0 0;
}

.is-list .p-content-item {
    flex-basis: 100%;
    max-width: 100%;
    flex-grow: unset;
    padding: 0 0 32px;
    border-bottom: 1px dashed #8f8d8d;
}

.is-list .p-content-item:last-child {
    border-bottom: none;
}

.is-list .p-content-link {
    flex-direction: row;
    justify-content: space-between;
    flex-grow: unset;
}

.is-list .c-content-fig {
    align-items: flex-start;
    flex-basis: 200px;
    max-width: 200px;
    margin: 6px 0 0;
    height: auto!Important;
}

.is-list .p-content-detail {
    flex-basis: calc(100% - 240px);
    max-width: calc(100% - 240px);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.is-list .c-content-series {
    margin: 0 0 4px;
    min-height: unset;
}

.is-list .c-content-series:empty {
    margin: 0;
}

.is-list .c-content-title {
    justify-content: flex-start;
    flex-grow: unset;
    text-align: left;
}

.is-list .c-content-title {
    flex-grow: unset;
    text-align: left;
}

.is-list .c-content-date {
    padding: 2px 8px;
    width: fit-content;
}

.is-list .c-content-channel {
    padding: 2px 8px;
    width: fit-content;
}

.is-list .c-content-description {
    height: auto!Important;
    white-space: normal;
}

@media screen and (max-width: 767px) {
    .is-list .c-content-fig {
        flex-basis: 72px;
        max-width: 72px;
    }

    .is-list .p-content-detail {
        flex-basis: calc(100% - 88px);
        max-width: calc(100% - 88px);
    }
}



/* ボタン */
.c-btn-link {
    background-color: #a5785d;
}

.c-btn-link_small {
    margin-bottom: 40px;
    background-color: #a5785d;
}

/* リンク集 */

.p-links-item {
    margin: 0 0 24px;
}

.c-links-link {
    display: block;
    padding: 8px 0;
    background-color: #a5785d;
    border-radius: 8px;
}

.c-links-text {
    font-size: 15px;
    letter-spacing: 2px;
    text-align: center;
    color: #fff;
}

.c-links-text span {
    position: relative;
}

.c-links-text span::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -14px;
    width: 10px;
    height: 10px;
    border-top: solid 2px #d2ad96;
    border-right: solid 2px #d2ad96;
    transform: rotate(45deg);
}

/* フォーム */
.c-textsearch-btn {
    background-color: #a5785d;
}

.c-check-label::before {
    border: 1px solid #a5785d;
    background-color: inherit;
}

.c-check-label::after {
    border-right: 3px solid #a5785d;
    border-bottom: 3px solid #a5785d;
}

.p-select-price {
    border: 1px solid #a5785d;
}

.p-select-year {
    border: 1px solid #a5785d;
}

.p-select-month {
    border: 1px solid #a5785d;
}

.p-select-arrow::after {
    border-top: solid 2px #a5785d;
    border-right: solid 2px #a5785d;
}

.c-search-btn {
    background-color: #a5785d;
    border: 2px solid #a5785d;
}

.c-reset-btn {
    border: 2px solid #a5785d;
}

.p-check-list_genre {
    display: block;
}

.p-check-list_genre .p-check-item {
    max-width: 100%;
}

.p-subcheck-list {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    margin: 0 0 0 16px;
    height: auto;
    /* max-height: 0; */
}

input[type=checkbox]:checked ~ .p-subcheck-list {
    /* height: auto;
    max-height: 300px; */
    transition: .4s linear;
}

.p-subcheck-list .p-check-item {
    margin: 16px 0 0 16px;
    flex-basis: auto;
    max-width: auto;
}

@media screen and (max-width: 767px) {
    .p-subcheck-list {
        flex-direction: column;
        flex-wrap: nowrap;
    }
}

main .p-textsearch-form {
    margin: 40px 0 0;
    padding: 40px 0 0;
    border-top: 1px dashed #8f8d8d;
}

.c-textsearch-area {
    padding: 8px;
    width: calc(100% - 40px);
    background-color: #fff;
}

.c-textsearch-btn {
    width: 40px;
    padding: 8px;
}

.p-check-list {
    flex-direction: column;
}

.p-subcheck-list {
    display: block;
}

.p-check-item,
.p-check-item_narrow {
    flex-basis: 100%;
    max-width: 100%;
}

.p-select-fieldset {
    flex-direction: column;
}

.p-select-list {
    margin: 16px 0 0;
    flex-direction: column;
    align-items: flex-start;
}

.p-select-price {
    width: 230px;
}

.p-select-price,
.p-select-year,
.p-select-month {
    background-color: #fff;
}

.c-search-btn,
.c-reset-btn {
    width: 100%;
    font-size: 14px;
    letter-spacing: 2px;
}

#templete-html,
#templete-paginate-current,
#templete-paginate {
    display: none;
}
