@charset "utf-8";
/* --------------------------------------
    newsやmediaの一覧・詳細スタイルを定義
 -------------------------------------- */


/* --------------------------------------
    一覧（サムネイルリスト）
 -------------------------------------- */
.thum-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px 2%;
    align-items: stretch;
}
.thum-list .sbox-article {
    width: calc((100% - 4%) / 3);
    height: auto;
    align-items: self-start;
}
.thum-list .sbox-article .cont-box {
    width: 100%;
	display: block;
    height: 100%;
    transition: all .28s ease-out;
}
.thum-list .sbox-article .cont-box:hover {
    opacity: 0.9;
}
.thum-list .sbox-article .cont-box .thumbnail {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 1024px) {
    .thum-list .sbox-article {
        width: calc((100% - 2%) / 2);
    }
}
@media (max-width: 640px) {
    .thum-list .sbox-article {
        width: 100%;
    }
}

/* サムネイル画像 -------------------- */
.thum-list .cont-box .photo-wrap {
    overflow: hidden;
    display: block;
}
.thum-list .cont-box .photo-wrap img {
    display: block;
    width: 100%;
    transition: all .28s ease-out;
}
.thum-list .cont-box:hover .photo-wrap img {
    transform: scale(1.03);
}
/* サムネイル画像がないとき */
.thum-list .cont-box .photo-wrap.no-img {
    background: #ebebeb;
}
.thum-list .sbox-article .cont-box .photo-wrap.no-img img {
    background-image: url(../img/media/no-img.svg);
    background-position: center  50%;
    background-repeat: no-repeat;
    background-size: 40%;
    opacity: 0.15;
}

/* カテゴリ・日付・タイトル -------------------- */
.thum-list .sbox-article .txt-area {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.thum-list .sbox-article .txt-area .upper-stage {
    width: 100%;
}
.thum-list .sbox-article .txt-area .upper-stage .t-cat {
    vertical-align: middle;
}

@media (max-width: 640px) {
    .thum-list .sbox-article .txt-area {
        padding: 10px 0;
    }
}
