@charset "UTF-8";

/*---------------------------------------------

News Category Page CSS

for ipps.co.jp
coded by d-spica at 2018-02-22

---------------------------------------------*/


@import url(default.css);
@import url(base.css);
@import url(parts.css);

article > h1 {
	letter-spacing: 0.05em;
	font-weight: 500;
	color: #999;
}

article > h1 em {
	color: #000;
}

section.news {
	position: relative;
	background: #E6E6E6 url(../img/bg-section-top.png) no-repeat 0 0;
	background-size: 100% 120px;
	padding-top: 180px;
	padding-bottom: 5em;
}

section.news .icon {
	position: absolute;
	top: calc(-115px + 1vw);
	right: 50%;
	margin-right: -520px;
}

section.news .tag {
	position: absolute;
	top: 50%;
	left: 1.95%;
	margin-top: 12em;
	width: 12em;
	text-align: center;
	font-size: 78.5%;
	color: #999;
	transform: rotate(-90deg);
	transform-origin: 0 0;
}

section.news ul {
	margin: 0 auto;
	max-width: 1030px;
}

section.news li {
	margin-bottom: 2.8em;
}

section.news li a {
	display: flex;
	align-items: center;
	gap: 0 min(6%, 4.2em);
	position: relative;
	background: #FFF;
	padding: 1.5em 5em 1.5em 1.5em;
}

section.news li a::after {
	content: "";
	display: block;
	position: absolute;
	top: calc(50% - 0.8em);
	right: 2.8em;
	border: solid #B3B3B3;
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
	width: 1.5em;
	height: 1.5em;
}


section.news li i {
	display: block;
	position: relative;
	width: 16%;
	aspect-ratio: 4/3;
}

section.news li time {
	letter-spacing: 0.1em;
	font-size: 114.2%;
	color: #F20600;
}

section.news li span {
	line-height: 1.6;
	font-size: 128.5%;
}


section.news li i img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

section.news .pagination {
	margin: 4em auto 0;
	max-width: 1030px;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-size: 128.5%;
}

section.news .pagination .page-numbers {
	display: inline-block;
	margin: 0 0.3em;
	border-radius: 9999em;
	background: #808080;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	color: #FFF;
}

section.news .pagination .dots {
	margin: 0;
	background: none;
	width: auto;
	height: auto;
	line-height: inherit;
	color: #808080;
}

section.news .pagination .prev {
	margin: 0;
	background: none;
	width: auto;
	height: auto;
	line-height: inherit;
	vertical-align: middle;
	color: transparent;
}

section.news .pagination .prev::before {
	content: "";
	display: inline-block;
	border: solid #B3B3B3;
	border-width: 2px 0 0 2px;
	transform: rotate(-45deg);
	width: 1.2em;
	height: 1.2em;
}

section.news .pagination .next {
	margin: 0;
	background: none;
	width: auto;
	height: auto;
	line-height: inherit;
	vertical-align: middle;
	color: transparent;
}

section.news .pagination .next::after {
	content: "";
	display: inline-block;
	border: solid #B3B3B3;
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
	width: 1.2em;
	height: 1.2em;
}

section.news .pagination .current {
	display: inline-block;
	margin: 0 0.3em;
	border-radius: 9999em;
	background: #F20600;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	color: #FFF;
}


section.news-post {
	position: relative;
	background: #E6E6E6 url(../img/bg-section-top.png) no-repeat 0 0;
	background-size: 100% 120px;
	padding-top: 180px;
	padding-bottom: 5em;
}

section.news-post .icon {
	position: absolute;
	top: calc(-115px + 1vw);
	right: 50%;
	margin-right: -520px;
}

section.news-post .tag {
	position: absolute;
	top: 50%;
	left: 1.95%;
	margin-top: 12em;
	width: 12em;
	text-align: center;
	font-size: 78.5%;
	color: #999;
	transform: rotate(-90deg);
	transform-origin: 0 0;
}

section.news-post p.date {
	margin: 0 auto 1.5em;
	max-width: 870px;
}

section.news-post h2 {
	margin: 0 auto 1.5em;
	max-width: 870px;
	line-height: 1.5;
	font-size: 200%;
	font-weight: 600;
}

section.news-post .box {
	margin: 0 auto;
	box-sizing: border-box;
	background:  #FFF;
	padding: min(6%, 5em) min(9%, 5.7em);
	max-width: 1030px;
	line-height: 2;
}

section.news-post .box p,
section.news-post .box ul,
section.news-post .box ol {
	margin-bottom: 2em;
}

section.news-post .box ul {
	padding-left: 2em;
	list-style: disc;
}

section.news-post .box ol {
	padding-left: 2em;
}

section.news-post .box .alignleft {
	float: left;
	margin: 0 2em 1em 0;
}

section.news-post .box .alignright {
	float: right;
	margin: 0 0 1em 2em;
}

section.news-post .box .aligncenter {
	display: block;
	margin: 0 auto 2em;
}

section.news-post .pager {
	margin: 4em auto 0;
	max-width: 6em;
	line-height: 1.4;
	font-size: 128.5%;
	color: #666;
}

section.news-post .pager .prev {
	float: left;
	margin-left: 1em;
}

section.news-post .pager .prev a::before {
	content: '';
	display: inline-block;
	margin-bottom: 0.1em;
	border: solid #B3B3B3;
	border-width: 2px 0 0 2px;
	transform: rotate(-45deg);
	width: 1em;
	height: 1em;
}

section.news-post .pager .next {
	float: right;
	margin-right: 1em;
}

section.news-post .pager .next a::after {
	content: '';
	display: inline-block;
	margin-bottom: 0.1em;
	border: solid #B3B3B3;
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
	width: 1em;
	height: 1em;
}

section.news-post .pager .index {
	clear: both;
	padding-top: 1em;
	letter-spacing: 0.1em;
	text-align: center;
	color: #808080;
}


@media screen and (max-width:767px) {

	section.news {
		background-size: 100% auto;
		padding-top: 15%;
		padding-bottom: 4em;
	}

	section.news .icon {
		display: none;
	}

	section.news .tag {
		display: none;
	}

	section.news ul {
		margin-left: 1.5em;
		margin-right: 1.5em;
		font-size: 77.7%;
	}

	section.news li a {
		display: block;
		padding-right: 3.5em;
	}

	section.news li a::after {
		right: 2em;
	}


	section.news li i {
		display: none;
	}

	section.news li time {
		display: block;
		margin-bottom: 1em;
	}

	section.news li span {
		display: block;
		overflow: hidden;
		position: relative;
		white-space: nowrap;
	}

	section.news li span::after {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		background: linear-gradient(-90deg, rgba(255,255,255,1), rgba(255,255,255,0));
		width: 4em;
		height: 100%;
	}

	section.news .pagination {
		font-size: 114.2%;
	}

	section.news-post {
		background-size: 100% auto;
		padding-top: 15%;
		padding-bottom: 4em;
	}

	section.news-post .icon {
		display: none;
	}

	section.news-post .tag {
		display: none;
	}

	section.news-post p.date {
		margin: 0 1.5em 1em;
	}

	section.news-post h2 {
		margin: 0 0.875em 1em;
		font-size: 171.4%;
	}

	section.news-post .box {
		margin: 0 1em;
		padding: 1.5em;
	}

	section.news-post .box .alignleft,
	section.news-post .box .alignright {
		float: none;
		display: block;
		margin: 0 auto 2em;
	}

	section.news-post .pager {
		margin-top: 2em;
	}

	section.news-post .pager .index {
		font-size: 88.888%;
	}



}