@charset "utf-8";

/* --------------------------------------
    newsやmediaの一覧・詳細スタイルを定義
 -------------------------------------- */

/* --------------------------------------
    一覧・詳細 共通パーツ
 -------------------------------------- */
.t-date {
    display: inline-block;
    padding-right: 10px;
    color: #999;
}

.t-cat {
    display: inline-block;
    position: relative;
}

.t-cat::before,
.t-cat::after {
    content:"";
    position: relative;
}

.t-cat::before {
    content:"[ ";
}
.t-cat::after {
    content:" ]";
}

/* --------------------------------------
    一覧（テキストリスト）
 -------------------------------------- */
.txt-list {
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
}

.txt-list .sbox-article {
    width: 100%;
    border-top: 1px solid rgb(0 0 0 / 10%);
}

.txt-list .sbox-article:last-child {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.txt-list .sbox-article .cont-box {
    width: 100%;
    display: block;
    transition: all 0.3s ease-out;
}

.txt-list .sbox-article.has-thumb .cont-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.txt-list .sbox-article .cont-box:hover {
    opacity: 0.9;
}

.txt-list .sbox-article .cont-box .thumbnail {
    overflow: hidden;
}

/* サムネイル画像 -------------------- */
.txt-list .sbox-article .cont-box .thumbnail {
    width: 30%;
}

.txt-list .sbox-article .cont-box .thumbnail .photo-wrap {
    display: block;
    transition: all 0.3s ease-out;
}

.txt-list .sbox-article .cont-box .thumbnail .photo-wrap img {
    display: block;
    width: 100%;

    /* height: auto; */
    background-position: center 50%;
    background-size: cover;
    object-position: top;
}

@media (max-width: 767px) {
    .txt-list .sbox-article .cont-box .thumbnail {
        width: 100%;
    }
}

/* カテゴリ・日付・タイトル -------------------- */
.txt-list .sbox-article .txt-area {
}


.txt-list .sbox-article.has-thumb .txt-area {
    width: 70%;
    padding-right: 5%;
}

.txt-list .sbox-article .txt-area .upper-stage {
    padding-bottom: 10px;
}

.txt-list .sbox-article .txt-area .upper-stage .t-cat {
}

.txt-list .sbox-article .txt-area .upper-stage .t-date {
    color: #999;
    display: inline-block;
    padding-right: 15px;
}

.txt-area .sttl-news {
    line-height: 1.4;
}

@media (max-width: 767px) {
    .txt-list .sbox-article.has-thumb .txt-area {
        width: 100%;
        padding-right: 0;
    }
}

/* --------------------------------------
    一覧（サムネイルリスト）
 -------------------------------------- */
.thum-list {
    width: 102%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 -1%;
}

.thum-list .sbox-article {
    width: calc(100% / 3);
    padding-left: 1%;
    padding-right: 1%;
}

.thum-list .sbox-article .cont-box {
    width: 100%;
    display: block;
    transition: all 0.28s ease-out;
}

@media (max-width: 1024px) {
    .thum-list .sbox-article {
        width: 50%;
    }
}

@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 0.28s ease-out;
    object-position: top;
}

.thum-list .cont-box:hover .photo-wrap:not(.no-img) img {
    transform: scale(1.03);
}

/* サムネイル画像がないとき */
.thum-list .cont-box .photo-wrap.no-img {
    background: #F2F2F2;
}

.thum-list .sbox-article .cont-box .photo-wrap.no-img img {
    background-image: url("../img/common/no-img.svg");
    background-position: center 50%;
    background-repeat: no-repeat;
    background-size: 55%;
    opacity: 0.8;
}

/* カテゴリ・日付・タイトル -------------------- */
.thum-list .sbox-article .txt-area {
    padding: 10px 0 0;
}

.thum-list .sbox-article .txt-area .upper-stage {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 5px;
    align-items: center;
}

.thum-list .sbox-article .txt-area .upper-stage .t-cat {
    vertical-align: middle;
    line-height: 1.4;
    display: inline-block;
    color: var(--c666);
    text-align: center;
}

.thum-list .sbox-article .txt-area .upper-stage .t-date {
    color: var(--c999);
}

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

/* --------------------------------------
   一覧スライダー ※一覧（サムネイルリスト）に追記
 -------------------------------------- */
.sec-newsslider .col-news {
    width: 100%;
    padding-right: 0;
    position: relative;
}

.sec-newsslider .col-news .news-wrap {
    margin: 0;
}

.sec-newsslider .col-news .news-wrap .sbox-article {
    width: auto;
    padding-left: 2%;
    padding-right: 2%;
}

@media (max-width: 576px) {
    .sec-newsslider .col-news .news-wrap .sbox-article {
        padding-left: 0;
        padding-right: 0;
    }
}

/* 矢印スタイル */
.news-slider-arrows {
    width: 100%;
    position: absolute;
    top: 50%;
    margin-top: -30px;
}

.news-slider-arrows .arrow {
    width: 60px;
    height: 60px;
    background-color: #666;
    position: absolute;
    cursor: pointer;
}

@media (max-width: 576px) {
    .news-slider-arrows .arrow {
        width: 45px;
        height: 45px;
    }
}

.news-slider-arrows .arrow.slick-disabled {
    display: none !important; /* js制御 */
}

.is-left .arrow {
    top: 0;
    left: 0;
}

.is-right .arrow {
    top: 0;
    right: 0;
}

.news-slider-arrows .arrow::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: left ease 0.28s;
}

.is-left .arrow::before {
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.is-right .arrow::before {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.is-left:hover .arrow::before {
    left: 40%;
}

.is-right:hover .arrow::before {
    left: 60%;
}
