@charset "UTF-8";

.news .grid {
    grid-template-columns: repeat(3, minmax(30.333%, 1fr));
}
.news-item img {
    height: 160px;
    display: block;
}
.news-item .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.news-item .contents:hover {
    transform: translateY(-5px);
}
.news-item .txt a {
    width: 100%;
}
.news-item .tags {
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-item .date {
    padding-right: 10px;
}
.news_txt a:hover {
    transform: translateY(-5px);
}
.category-news .box .fx-row img {
	width: 480px;
    height: 160px;
    object-fit: cover;
}
.news-item .tag {
    padding: 0 10px;
    border: 1px solid #999;
    border-radius: 20px;
    color: #999;
    font-size: 12px;
    width: fit-content;
}
.news-item .tag:hover {
    background-color: #999;
    color: var(--color_wt);
    transform: translateY(-5px);
}

.wp-pagenavi {
	margin: 0 auto 45px;
	font-size: 14px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
}
.wp-pagenavi a {
    color: #333;
}
.wp-pagenavi a:hover {
	color: var(--color1);
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
	margin: 0 10px;
	line-height: 2;
	padding: 0 12px;
	transition: .03s;
	display: block;
    border: none;
	border-bottom: 4px solid transparent;
    transition: all .3s;
    font-weight: bold;
}
.wp-pagenavi span.current {
	background-color: var(--color1);
    color: var(--color_wt);
}
.wp-pagenavi a.page {
	background-color: #ededed;
}
.wp-pagenavi a.page:hover {
    opacity: 0.8;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
	margin-right: 15px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
	display: none;
}
.wp-block-image {
    width: 100%;
}
.news .btn {
    width: 50%;
}

@media screen and (max-width: 1229px) {
    .news .grid {
        grid-template-columns: repeat(2, minmax(45%, 1fr));
        gap: 15px;
    }
}

@media screen and (max-width: 767px) {
    .news__grid {
        grid-template-columns: repeat(1, minmax(70%, 1fr));
        gap: 30px;
        margin: 0 auto;
    }
    .wp-pagenavi {
        margin-top: 0;
        padding-top: 30px;
    }
    .news-item {
        margin-top: 45px;
        width: 80%;
        margin: 0 auto;
    }
    .news-item .img {
        height: auto;
    }
    .news-item .img img {
        width: 100%;
    }
    .news-item .tag {
        padding: 5px 15px;
    }
}

/* SIDE BAR
------------------------------------------- */
.monthly-list li {
    border-top: 1px solid #333;
}
.monthly-list li:last-child {
    border-bottom: 1px solid #333;
}
.monthly-list li a {
    display: block;
    width: 100%;
    padding: 25px 15px;
    font-weight: bold;
    position: relative;
}
.monthly-list li a:hover {
    opacity: 0.7;
}
.monthly-list li a:before {
    position: absolute;
    content: "\f138";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    right: 15px;
    color: var(--color1);
    transition: all .4s ease 0s;
}
.monthly-list li a:hover::before {
    right: 0;
}
.tags-list li a::before {
    content: none;
}

/* TAG
-------------------------------------------- */
