@charset "utf-8";

.post-article .page-content-inner,
.category-menu-blog-article .page-content-inner{
	margin: 0 auto;
}

.news-content{
	padding: 0 30px;
}
.news-content-inner{
	max-width: 1080px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 260px;
	grid-gap: 50px;
}

.news-h2-title{
	font-weight: 700;
	font-size: 3.4rem;
	line-height: 1.5;
	letter-spacing: .05em;
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
	.news-content-inner{
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 767px) {
	.news{
        padding-block: 63px 0;
	}
	.news-content{
		padding: 0 20px;
		margin-block: -68px 0;
	}
	.news-content-inner{
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 80px;
	}
}


/***************

ニュース

***************/

.news-category-list{
	display: flex;
	gap: 12px;
}
.news-category-list > li{
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 56px;
	padding-inline: 27px;
	cursor: pointer;
}
.cat-list{
	position: relative;
	font-weight: 700;
	line-height: 1;
	z-index: 3;
}
.cat-list::before{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	border: solid 1px #d9d2d0;
	border-radius: 9999px;
	z-index: -1;
}
.cat-list.active{
	color: #fff;
}
.cat-list.active::before{
	background: linear-gradient(
		to bottom right,
		#d85d62 0%,
		#dc5d3c 75%,
		#de5d2e 100%
	);
}
.news-block{
	position: relative;
	/*margin-block: 26px 0;*/
	z-index: 3;
}
.news-block::before{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, .7);
	border-radius: 20px;
	z-index: -1;
}
.news-block-inner{
	padding: 44px 66px;
}
.news-block-post{
	padding-block: 15px;
}
.news-block-post a{
	display: grid;
	/*grid-template-columns: 105px 130px 1fr;*/
	grid-template-columns: 105px 1fr;
	grid-gap: 22px;
}
.news-block-post-ymd p{
	font-family: var(--font-noto);
	font-weight: 700;
	font-size: 1.7rem;
	line-height: 1.5;
	letter-spacing: .08em;
	color: #adadad;
}
.news-block-post-category-wrap{
	position: relative;
	width: 100%;
	min-height: 26px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
}
.news-block-post-category-wrap::before{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(
		to bottom right,
		#d85d62 0%,
		#dc5d3c 75%,
		#de5d2e 100%
	);
	border-radius: 9999px;
	z-index: -1;
}
.news-block-post-category p{
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1;
	color: #fff;
}
.news-block-post-title p{
	font-family: var(--font-noto);
	line-height: 1.5;
	letter-spacing: .08em;
	color: var(--color-black);
}

.news-search-block #searchform {
    position: relative;
	z-index: 3;
}
.news-search-block #s {
    height: 50px;
    width: 100%;
    padding-inline: 14px 52px;
    border: solid 1px #d9d2d0;
	border-radius: 9999px;
    font-size: 1.3rem;
    color: var(--color-black);
    background: #fff;
}
.news-search-block .search-icon::before {
	content: '';
    position: absolute;
	top: 0;
    right: 20px;
    top: 50%;
	transform: translateY(-50%);
	width: 23px;
	height: 23px;
	background-image: url(/wp-content/themes/renew_cloudsoft_theme/img/common/search-icon.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 1;
}
.news-search-block #searchsubmit {
    position: absolute;
    top: 50%;
    right: 20px;
	transform: translateY(-50%);
    width: 23px;
    height: 23px;
    border: none;
    font-size: 0;
    background: none;
    cursor: pointer;
	z-index: 2;
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
	.news-block-inner{
		padding: 44px 36px;
	}
}
@media screen and (max-width: 767px) {
	.news-category-list{
		display: flex;
		gap: 0;
		justify-content: space-between;
	}
	.news-category-list > li{
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 41px;
		padding-inline: 15px;
		cursor: pointer;
	}
	.cat-list{
		position: relative;
		font-weight: 700;
		font-size: 3vw;
		line-height: 1;
		z-index: 3;
	}
	.news-block{
		position: relative;
		margin-block: 18px 0;
		z-index: 3;
	}
	.news-block-inner{
		padding: 20px;
	}
	.news-block-post{
		padding-block: 15px;
	}
	.news-block-post a{
		display: grid;
		grid-template-columns: 88px 1fr;
		grid-gap: 5px 0;
		grid-template-areas:
		"ymd cate"
		"ttl ttl";
	}
	.news-block-post-ymd{
		grid-area: ymd;
	}
	.news-block-post-category{
		grid-area: cate;
	}
	.news-block-post-title{
		grid-area: ttl;
	}
	.news-block-post-ymd{
		display: flex;
		align-items: center;
	}
	.news-block-post-ymd p{
		font-family: var(--font-noto);
		font-weight: 700;
		font-size: 1.3rem;
		line-height: 1.5;
		letter-spacing: .08em;
		color: #adadad;
	}
	.news-block-post-category{
		display: flex;
		align-items: center;
	}
	.news-block-post-category-wrap{
		position: relative;
		width: auto;
		min-height: 26px;
		padding-inline: 9px;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 3;
	}
	.news-block-post-category p{
		font-weight: 700;
		font-size: 1.2rem;
		line-height: 1;
		color: #fff;
	}
}


/***************

ニュース - 記事

***************/

.article-news-head{
	display: grid;
	grid-template-columns: 1fr 34.858%;
	grid-gap: 7.08%;
}
.article-title-news-ymd{
	margin-block: 0 20px;
}
.article-title-news-ymd p{
	font-family: var(--font-noto);
	font-weight: 500;
	font-size: 1.8rem;
	line-height: 1;
	color: #707070;
}
.article-news-img{
	margin-block: -127px 0;
}
.article-news-img img{
	width: 100%;
	height: 380px;
	border-radius: 10px;
	object-fit: cover;
}
.article-content-news{
	font-family: var(--font-noto);
	font-weight: 300;
}
.article-content-news p{
	line-height: 2;
	margin-block: 0 32px;
}
.article-content-news p:last-child{
	margin-block: 0;
}

.news-post-all{
	display: flex;
	justify-content: center;
	margin-block: 40px 0;
}
.category-menu-news-article{
	margin-block: 100px 0;
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
	.article-news-img img{
		height: 280px;
	}
}

@media screen and (max-width: 767px) {
	.article-news-head{
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 21px;
		grid-template-areas:
		"thumb"
		"ttl";
	}
	.article-title{
		grid-area: ttl;
	}
	.article-thumbnail{
		grid-area: thumb;
	}
	.article-title-news-ymd{
		margin-block: 0 6px;
	}
	.article-news-img{
		margin-block: -38px 0;
	}
	.article-news-img img{
		height: 200px;
	}
}