article {
    width: 88.9%;
    /*max-width: 1139px;*/
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 6.8%;
}

article h4.category-title {
    width: 100%;
    font-size: min(2.03vw, 2.6rem);
    font-weight: 700;
}
@media print, screen and (max-width: 768px) {
    article {
        width: 94.4vw;
        flex-direction: column;
        margin-top: 6.8%;
    }

    article h4.category-title {
        display: none;
    }
}

/* ==============================
  カテゴリー選択部分
============================== */
article .category-list {
    margin-top: 5.5%;
    max-width: 172px;
    width: 15.1%;
}
article .category-list h5 {
    font-size: min(1.4vw, 1.8rem);
    font-weight: 700;
}
article .category-list ul {
    margin-top: 17.4%;
}
article .category-list li {
    margin-top: 11.6%;
}
article .category-list a {
    text-decoration: none;
    color: #000;
    font-size: min(1.09vw, 1.4rem);
    font-weight: 500;
}
/*article .category-list a:hover,*/
article .category-list a.active {
    color: #0153FF;
}
@media print, screen and (max-width: 768px) {
    article .category-list {
        margin-top: 2.8vw;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 2vw;
        border-bottom: 1px solid #afafaf;
    }
    article .category-list h5 {
        font-size: 3vw;;
        width: 5em;
        padding-left: 1vw;
    }
    article .category-list .category-nav {
        margin-top: 2.3vw;
    }
    article .category-list ul {
        margin-top: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        width: 100%;
    }
    article .category-list li {
        margin-top: 0;
    }
    article .category-list li + li {
        margin-left: 0;
    }
    article .category-list a {
        display: flex;
        font-size: 3.2vw;
        background-color: #F3F3F3;
        border-radius: 2.1vw;
        padding: 0.19em 1.16em;
    }
/*    article .category-list a::before {
        content: "\02715";
        display: block;
        margin-right: 0.55em;
    }*/
}

/* ==============================
  実績・事例紹介
============================== */
article .sec-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 5.5%;
    /*max-width: 740px;*/
    width: 65%;
    margin-right: 10.4%;
}

article .filter-check {
    width: 100%;
    margin: 0 0 4%;
}
article .filter-check label {
    font-size: min(1.09vw, 1.4rem);
    font-weight: 500;
    background-color: #F1F1F1;
    padding: 0.5em 1.21em 0.5em 0.5em;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
article .filter-check input {
    margin-right: 0.92em;
    width: 1.57em;
    height: 1.57em;
}
article .posts-container {
    width: 100%;
}
@media print, screen and (max-width: 768px) {
    article .sec-content {
        margin: 5.4vw 0 0;
        width: 100%;
        max-width: 100%;
    }

    article .filter-check {
        margin: 0 0 5.4vw;
    }
    article .filter-check label {
        font-size: 3.2vw;
        padding: 1.6vw 2.6vw;
    }
    article .filter-check input {
        margin-right: 2.44vw;
        width: 6.16vw;
        height: 6.16vw;
    }
}

/* アイテム */
article .sec-content-item {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    border: 1px solid #000;
    box-sizing: border-box;
}
article .sec-content-item + .sec-content-item {
    margin-top: 3.5%;
}
@media print, screen and (max-width: 768px) {
    article .sec-content-item + .sec-content-item {
        margin-top: 7.6vw;
    }
}

/* 共通 */
article .sec-content-item .text {
    width: 100%;
}
article .sec-content-item .text .text-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
article .sec-content-item .text .category {
    background-color: #000;
    width: 28.6%;
    color: #FFF;
    text-align: center;
    font-size: min(1.4vw, 1.8rem);
    padding: 1.139em 0;
    font-weight: 700;
}
article .sec-content-item.image-box .text .category {
    width: 28.6%;
    padding: 1.167em 0;
}
article .sec-content-item .text .product {
    font-size: min(1.25vw, 1.6rem);
    margin: 0 0 0 2.3em;
    vertical-align: middle;
    font-weight: 700;
}

article .sec-content-item .text .product span {
    font-size: min(1.09vw, 1.4rem);
    margin-right: 1em;
    font-weight: 400;
}
article .sec-content-item .text h4 {
    font-size: min(2.34vw, 3rem);
    margin: 1.3% 3.9% 2.6%;
    font-weight: 700;
    line-height: 1.5;
}
article .sec-content-item .text h4 span {
    font-size:  min(1.25vw, 1.6rem);
    line-height: 2.7em;
    display: block;
    font-weight: 400;
}
@media print, screen and (max-width: 768px) {
    article .sec-content-item .text .text-head {
    }
    article .sec-content-item .text .category {
        width: 33.14vw;
        font-size: 3.2vw;
        padding: 0.68em 0;
    }
    article .sec-content-item .text .product {
        font-size: 3.2vw;
        margin: 0.825em 0 0.825em 1.35em;
    }
    article .sec-content-item .text .product span {
        font-size: 3.2vw;
    }
    article .sec-content-item .text h4 {
        font-size: 4vw;
        margin: 0 0.38em 0.57em;
    }
    article .sec-content-item .text h4 span {
        font-size: 2.133vw;
    }
}


/* 画像ボックス */
article .sec-content-item.image-box {
    border: 10px solid #000;
    transition: all 0.3s ease-out;
}
article .sec-content-item.image-box:hover {
    /*border: 10px solid #0153FF;*/
    opacity: .7;
}
article .sec-content-item.image-box a {
    color: #000;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
    aspect-ratio: 16 / 9 auto;
    /*height: 29.844vw;*/
}
article .sec-content-item.image-box a:hover {
    opacity: 1;
}
article .sec-content-item.image-box .label {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #000;
    color: #FFF;
    font-weight: 700;
    font-size: min(1.5vw, 2rem);
    padding: 0.675em 0;
    width: 7.5em;
    text-align: center;
    z-index: 1;

    transition: background 0.3s ease-out;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}
article .sec-content-item.image-box .label span {
    display: inline-block;
    width: 12.05%;
    height: 12.05%;
    margin-left: 8.75%;
    line-height: 0;
}

article .sec-content-item.image-box .image {
    width: 100%;
    height: 100%;
}
article .sec-content-item.image-box .image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
}
article .sec-content-item.image-box .image::after {
    content: ''; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity:0.6;
    background-image: linear-gradient(to bottom,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 1) 90%);
}
article .sec-content-item.image-box .text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFF;
}
article .sec-content-item.image-box .text .category {
    font-size: min(1.4vw, 1.8rem);
}
@media print, screen and (max-width: 768px) {
    article .sec-content-item.image-box {
        border-width: 1.34vw;
    }
    article .sec-content-item.image-box .label {
        position: absolute;
        top: -1.34vw;
        right: -1.34vw;
        font-size: 3.2vw;
        padding: 0.67em 0;
        width: 6.64em;
    }
    article .sec-content-item.image-box .text .category {
        font-size: 3.2vw;
        padding: 0.4em 0;
        width: 31.8vw;
    }
}


/* テキストボックス */
article .sec-content-item.text-box .text .text-head {
    border-bottom: 1px solid #000;
}

article .sec-content-item.text-box .text .product {
    padding: 1.139em 0;
}
article .sec-content-item.text-box .text .content {
    font-size: min(1.09vw, 1.4rem);
    line-height: 1.8;
    padding: 2.1% 4.17% 2.1% 3.9%;
}
article .sec-content-item.text-box .text .content a {
    display: inline-block;
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}
/*article .sec-content-item.text-box .text .content a:hover {
    color: #0153FF;
}*/

article .sec-content-item.text-box .text .text-foot {
    background: #F1F1F1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.8% 4.3% 2%;
}
article .sec-content-item.text-box .text .text-foot .service {
    font-size: min(0.93vw, 1.2rem);
    font-weight: 700;
    display: inline;
}
article .sec-content-item.text-box .text .text-foot .service span {
    font-weight: 400;
}
article .sec-content-item.text-box .text .text-foot .service + .purpose {
    border-left: 1px solid #000;
    margin-left: 2.5em;
    padding-left: 2.5em;
}
article .sec-content-item.text-box .text .text-foot .purpose {
    font-size: min(0.93vw, 1.2rem);
    font-weight: 700;
    display: inline;
}
article .sec-content-item.text-box .text .text-foot .purpose span {
    font-weight: 400;
}
article .sec-content-item.text-box .text .text-foot .service ul {
    display: inline;
}
article .sec-content-item.text-box .text .text-foot .service ul li {
    display: inline;    
}
article .sec-content-item.text-box .text .text-foot .purpose ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
article .sec-content-item.text-box .text .text-foot .purpose ul {
    gap: 0.2em 0.9em;
    display: inline;
}
article .sec-content-item.text-box .text .text-foot .purpose ul li {
    font-weight: 700;
    display: inline;
}

article .sec-content-item.text-box .text .text-foot .service ul > li::after {
    content: "、";
}
article .sec-content-item.text-box .text .text-foot .service ul > li:last-child::after {
    content: none; /* contentを空にすることで非表示にする */
}
article .sec-content-item.text-box .text .text-foot .purpose ul > li {
    margin-right:1em;
}
@media print, screen and (max-width: 768px) {
    article .sec-content-item.text-box .text .text-head {
        align-items: stretch;
    }
    article .sec-content-item.text-box .text .product {
        padding: 0;
    }
    article .sec-content-item.text-box .text .content {
        font-size: 3.2vw;
        padding: 4vw 3.8vw;
    }

    article .sec-content-item.text-box .text .text-foot {
        flex-direction: column;
        align-items: flex-start;
        padding: 2vw 4.2vw 1.7vw;
    }
    article .sec-content-item.text-box .text .text-foot .service {
        font-size: 3.2vw;
    }
    article .sec-content-item.text-box .text .text-foot .service + .purpose {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
    article .sec-content-item.text-box .text .text-foot .purpose {
        font-size: 3.2vw;
        margin-top: 2.4vw;
    }

}


article .btn {
    /*max-width: 740px;*/
    width: 65.02%;
    margin: 7.2% 10.4% 0 auto;
}
article .btn.bg-white a {
    width: 9.16em;
    min-width: 174.52px;
    margin: 0 auto;
    border-color: #000;
    color: #000;
}
/*article .btn.bg-white a:hover {
    color: #FFF;
    background-color: #000;
}*/
article .btn.bg-white a::before {
    background-color: #000;
}
@media print, screen and (max-width: 768px) {
    article .btn {
        margin: 17.6vw 0 0;
        width: 100%;
        max-width: 100%;
    }
    article .btn.bg-white a {
        width: 11.36em;
        min-width: 37.8vw;
    }
}


/* SPのみ？ */
article .more-cases-box {
    display: none;
}
article .message-box {
    display: none;
}
@media print, screen and (max-width: 768px) {
    article .more-cases-box {
        display: block;
        width: 74.53vw;
        margin: 16vw auto;
    }
    article .more-cases-item {
        position: relative;
        display: block;
        box-shadow: 0px 4px 10px 0px #00000026;
    }
    article .more-cases-item .text {
        padding: 1.7vw 2vw 5.2vw;
    }
    article .more-cases-item .text h3 {
        font-size: 3.2vw;
        font-weight: 700;
    }
    article .more-cases-item .text h4 {
        font-size: 3.7vw;
        font-weight: 700;
        width: 46.9vw;
        margin-top: 1.3vw;
    }
    article .more-cases-item .btn-more {
        position: absolute;
        right: 2.6vw;
        bottom:  5.2vw;
        width: 4.8vw;
    }

    article .message-box {
        display: block;
        border-top: 1px solid #000;
        width: 94.66vw;
        margin: 0 auto;
    }
    article .message-box .message-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding-top: 7.73vw;
        padding-right: 4.4vw;
    }
    article .message-box .message-item .label {
        text-align: center;
        color: #FFF;
        background-color: #000;
        border-radius: 0 0 1.3vw 1.3vw;
        font-size: 3.2vw;
        width: 15.78em;
        padding: 0.5em 0;
        position: absolute;
        top: 0;
        right: 3.3vw;
    }
    article .message-box .message-item .image {
        width: 24.4vw;
    }
    article .message-box .message-item .text {
        width: 61.2vw;
    }
    article .message-box .message-item .text .name {
        font-size: 2.9vw;
        font-weight: 700;
    }
    article .message-box .message-item .text .name span {
        font-size: 2.4vw;
        font-weight: normal;
        margin-left: 1.33em;
    }
    article .message-box .message-item .text p {
        font-size: 2.4vw;
        margin-top: 1.3vw;
    }
}



/* 1. 全てのお知らせアイテムの初期状態（透明） */
.sec-content-item {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: opacity 0.8s ease, transform 0.8s ease !important;
    pointer-events: none; /* 透明な間はクリックできないように */
}

/* 2. JSでクラスがついた時の状態（表示） */
.sec-content-item.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto;
}