@charset "UTF-8";
/* CSS Document */
/* ===============================
POST
共通項目
=============================== */
.post-list {
    overflow-y: hidden;
}
.post-list [class*="__item"] {
    margin-top: 3.8em;
}
@media (max-width : 559px) {
    .post-list [class*="__item"] {
        margin-top: 1.9em;
    }
}
/* ===============================

POST
導入事例の投稿一覧

=============================== */
.case-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 0 var(--gutter-var-common-reg);

    /* --case-slide-width: max(
        calc(280rem / 16),
        calc(calc(100% / 3) - var(--gutter-var-common-reg))
    ); */
    --case-slide-width: max(
        calc(196rem / 16),
        calc(calc(100% / 3) - var(--gutter-var-common-reg))
    );
}
.case-list::before,
.case-list::after {
    content: "";
    display: inline-block;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    height: 0;
    width: var(--case-slide-width);
}
.case-list::before {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
}
/* =================
コンテナ */
.case-list__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.case-list .case-list__item {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    width: var(--case-slide-width);
}
/* --------------------
リンク設定 */
.case-list__item {
    position: relative;
}
.case-list__ttl a::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}
.tag {
    z-index: 1;
}
/* --------------------
画像 */
.case-list__thumb {
    aspect-ratio: 3 / 2;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    overflow: hidden;
}
.case-list__thumb img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
/* --------------------
テキスト */
.case-list__txt-box {
    margin-block: 1em;
}
/* ----------
 日付 */
.case-list__time {
    font-family: var(--alphabet);
    font-weight: 700;
    font-size: var(--txt-sm);
    color: var(--color-main-pale);
}
/* ----------
タイトル */
.case-list__ttl {
    font-size: var(--txt-reg);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    color: var(--color-bk);
}
@media (any-hover: hover) {
    .case-list__thumb img {
        -webkit-transition: -webkit-transform .3s linear;
        transition: -webkit-transform .3s linear;
        transition: transform .3s linear;
        transition: transform .3s linear, -webkit-transform .3s linear;
    }
    .case-list__item:hover img,
    .case-list__item:focus-visible img {
        -webkit-transform: scale(1.1);
                transform: scale(1.1);
    }
    .case-list__item .case-list__time {
        -webkit-transition: color .17s var(--easeInOutCubic);
        transition: color .17s var(--easeInOutCubic);
    }
    .case-list__item .case-list__ttl {
        -webkit-transition: color .15s var(--easeInOutCubic);
        transition: color .15s var(--easeInOutCubic);
    }
    .case-list__item:hover .case-list__time,
    .case-list__item:focus-visible .case-list__time,
    .case-list__item:hover .case-list__ttl,
    .case-list__item:focus-visible .case-list__ttl {
        color: var(--color-main);
    }
}


/* =================
タグ */
.tags {
    margin-top: auto;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 0.5em;
}
.tag {
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
.tag a {
    --tag-txt-size: clamp(0.5rem, calc(0.4rem + 0.5vw), 0.75rem); /* min: 8px, max: 12px */
    display: inline-block;
    font-size: var(--tag-txt-size);
    font-weight: 500;
    line-height: 1;
    color: var(--color-white);
    border-radius: calc(calc(var(--tag-txt-size) + 1em + 0.25em) / 2);
    border: 1px solid var(--color-main);

    padding: 0.5em 1.25em;
    background-color: var(--color-main);
}
@media (any-hover: hover) {
    .tag a {
        -webkit-transition: color .2s var(--easeInSine),
        background-color .2s var(--easeInQuad);
        transition: color .2s var(--easeInSine),
        background-color .2s var(--easeInQuad);
    }
    .tag a:hover,
    .tag a:focus-visible {
        color: var(--color-main);
        background-color: var(--color-white);
    }
}


/* =================
ボタン */
.post-list__button {
    font-family: var(--alphabet);
    font-weight: 700;
    font-size: var(--txt-xs);
    line-height: 1;
    color: var(--color-main-soft);
    text-decoration: underline;

    -ms-flex-item-align: end;

        align-self: flex-end;
    margin-top: 1.5em;
    z-index: 1;
}
@media (any-hover: hover) {
    .post-list__button {
        -webkit-transition: color .2s var(--easeInSine);
        transition: color .2s var(--easeInSine);
    }
    .post-list__button:hover,
    .post-list__button:focus-visible {
        color: var(--color-main);
    }
}


/* =================
投稿記事がない場合の表示 */
.not-post-list--case {
    margin-inline: auto;
    text-decoration: underline;
}
body:is(.post-type-archive-case,.tax-case-category) .not-post-list--case {
    margin-top: 1.9em;
}
body:is(#index) .not-post-list--case {
    text-align: center;
}


/* ===============================

POST-LIST PAGE
導入事例の投稿一覧ページ設定
サイドメニュー設定はassets->css->post->side-menu.cssを参照

=============================== */
.case-headline {
    font-size: var(--txt-lg);
    font-weight: 700;
}
