/* カスタムプロパティ */
:root {
    --color-01: #6f4f25;
}

/* 全体設定 */
a,
a:hover {
    color: #6f4f2c;
}

/* カテゴリはお知らせのものを使用 */

.p-news #newsTab {
    width: 100%;
    height: auto;
    min-height: 80px;
    padding-left: 0;
}

.p-news #newsTab li {
    width: calc(100% / 3);
    min-height: 80px;
}

.p-news #newsTab li:nth-child(n+4) {
    border-top: unset;
}

/* ブログ一覧 */
.blog-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 80px;

    gap: 1em;
}

.blog-list article {
    width: calc((100% - 2em) / 3);
    background-color: white;
}

.blog-list article:nth-child(n+4) {
    margin-top: 2em;
}

.blog-list article .blog-img {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}

.blog-list article .blog-img::after {
    content: "";
    display: block;
    padding-top: 65%;
}

.blog-list article .blog-img img {
    width: 100%;
    height: 100% !important;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
    position: absolute;
    top: 0;
    left: 0;
}

.blog-list article .blog-img:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.blog-list article .blog-img .blog-tag {
    max-width: calc(100% - 20px);
    padding: 0.5em 1em;
    font-size: 12px;
    line-height: 1.2;
    background-color: white;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.blog-list article .blog-content {
    padding: 1.5em 1em;
}

.blog-list article .blog-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.5em;
    line-height: 1.3;
    text-overflow: ellipsis;

    line-clamp: 2;
    -webkit-line-clamp: 2;
}

@media (max-width: 1024px) {
    .blog-list article {
        width: calc((100% - 1em) / 2);
    }

    .blog-list article:nth-child(n+3) {
        margin-top: 2em;
    }
}

@media (max-width: 599px) {
    .blog-list article {
        width: 100%;
    }

    .blog-list article+article {
        margin-top: 2em;
    }
}

/* ページネーション */
.pager {
    width: 100%;
    margin: 80px 0;
}

.pager-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
}

.pager-list.-left {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.pager-list.-right {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.pager-list li {
    width: 3.5em;
    height: 3.5em;
    margin: 0 0.5em;
}

.pager-list li a,
.pager-list li .now {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.25em;
    font-size: 1.25em;
    color: white;
    line-height: 1;
    border: 2px solid var(--color-01);
    border-radius: 0.1em;
    background-color: var(--color-01);
    position: relative;
}

.pager-list li a a:hover,
.pager-list li .now a:hover {
    color: var(--color-text_01);
    background-color: white;
    opacity: 1;
}

.pager-list li a:focus,
.pager-list li .now:focus {
    outline: none;
}

.pager-list li a:hover,
.pager-list li .now {
    color: var(--color-01);
    border: 2px solid var(--color-01);
    background-color: white;
    opacity: 1;
}

.pager-list .arrow a::before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    border-top: 2px solid white;
    border-right: 2px solid white;
}

.pager-list .arrow a:hover {
    color: white;
}

.pager-list .arrow a:hover::before {
    border-top: 2px solid var(--color-01);
    border-right: 2px solid var(--color-01);
}

.pager-list .arrow.-prev a::before {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.pager-list .arrow.-next a::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.pager.-circle-list li a,
.pager.-circle-list li .now {
    border-radius: 100%;
}

.pager.-deformation-list li a,
.pager.-deformation-list li .now {
    border-radius: 0.5em 0;
}

@media (max-width: 1024px) {
    .pager-list.-left\@tb {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .pager-list.-right\@tb {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .pager-list li {
        margin: 0 0.25em;
    }
}

@media (max-width: 599px) {
    .pager-list.-left\@sp {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .pager-list.-right\@sp {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
}

/* 見たまま編集用スタイル */
[data-element-id] .p-news #newsTab>div[data-collection-filtered-content] {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

[data-element-id] .blog-list>div[data-collection-list-content] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    gap: 1em;
}
