﻿.news-layout{}

.news-layout-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-layout-top-left {
  width: 66%;
}

.news-layout-top-right {
    width: 33%;
}

    .news-layout-top-right .news_itm:first-child {
        margin-bottom: 15px
    }
.news-layout-top-left .news_itm{  height:100%;}
.news_itm a {
	display: block;
  height:100%;
    position: relative;
}

    .news_itm a:before {
        z-index: 99;
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(35.67%, rgba(19, 50, 86, 0)), to(#143b49 ));
        background: -o-linear-gradient(top, rgba(19, 50, 86, 0) 35.67%, #133256 100%);
        background: linear-gradient(180deg, rgba(19, 50, 86, 0) 35.67%, #143b49  100%);
    }

.news_itm_img {
    margin: 0;
}
    .news_itm_img, .itm_img {overflow:hidden;}
	.news-layout-bottom .itm_img{height: 185px;}
    .news_itm_img img, .itm_img img{transition: all 0.5s;width: 100%;
    height: 100%;
    object-fit: cover;}
.news_itm_txt {
    position: absolute;
    bottom: 0;
    color: #fff;
    padding: 15px;
    width: 100%;
    z-index: 999;
}

    .news_itm_txt > * {
        width: 100%;
    }

.news_itm_ttl {
    font-weight: bold;
    font-size: 22px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news_itm_date {
    margin-bottom: 0;
}
.news_view{margin-left:10px;}
.news_view svg{font-size:14px;}
.news-layout-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .news-layout-bottom .card_itm {
        transition: all 0.5s;
        width:calc(100%/4 - 15px);
        margin-top: 20px;
    }

        .news-layout-bottom .card_itm a {
            text-decoration: none;
            color: #000;
        }



.itm_ttl {
    padding: 15px;
}

    .itm_ttl h3 {
		height:47px;
        font-weight: bold;
        font-size: 17px;
		line-height: 1.4;
		margin-bottom: 5px;
		display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    }

    .itm_ttl p {
        font-size: 15px;
        color: #6c6c7d;
		margin: 0;
    }
.card_itm:hover {
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
    .card_itm:hover .itm_img img, .news_itm:hover .news_itm_img img {
        transform: scale(1.1,1.1);
    }
@media screen and (max-width: 768px) {
    .news-layout-top-left {
        width: 100%;
    }

    .news-layout-top-right {
        width: 100%;
        display: flex;
        margin-top: 3%;
        justify-content: space-between;
    }

    .news-layout-bottom .card_itm {
        width: 49%;
    }

    .news-layout-top-right .news_itm {
        width: 49%
    }
}

@media screen and (max-width: 480px) {
	.itm_ttl h3{height:auto;}
    .news-layout-bottom .card_itm {
        width: 100%;
    }

    .news-layout-top-right .news_itm {
        width: 100%
    }

    .news-layout-top-right {
        margin-top: 3%;
        display: inline;
    }
}

@media screen and (max-width: 390px) {
    .news-layout-bottom .card_itm {
        width: 100%;
    }

    .news-layout-top-right .news_itm {
        width: 100%
    }

    .news-layout-top-right {
        margin-top: 3%;
        display: inline;
    }
}
