@charset "utf-8";
/* CSS Document */

/* SP用 */
@media screen and (max-width:640px) {

	* {
		box-sizing: border-box;
	}
	#wrap {
		position: relative;
	}
	#contentsTit {
		background: #86CEE0;
		position: relative;
		height: 42.25vw;
		overflow: hidden;
		text-indent: 100%;
		white-space: nowrap;
	}
	#contentsTit:after {
		padding-top: 42%; /* calcノンサポート用 */
		padding-top: calc(56.25vw - 50px);
		display: block;
		background: url(http://www.rals.co.jp/img/header_news_2x.png) no-repeat center;
		content: "";
		background-size: contain;
		margin: 0 auto;
		position: fixed;
		top: 87px;
		z-index: 1;
		width: 100%;
	}
	#contentsTit img {
		width: 100%;
		position: fixed;
		top: 40px;
	}
	/*#main {
		position: relative;
		z-index: 1;
	}*/


#newsArea {
	background: #FFF;
	padding: 6.25%; /* 20px */
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

#newsArea img {
	vertical-align: sub;
}

article {
	border-bottom: 1px solid #D6D6D6;
	padding: 6.9% 0 8.625%; /* 20px 0 25px */
}
article:first-of-type {
	padding-top: 0;
}
article p {
	font-size: 4.0625vw; /* 13px */
	color: #333;
	line-height: 1.75;
}
article p.date {
	color: #777;
}
article h2.tit {
	margin: 5px 0;
	font-size: 4.6875vw; /* 15px */
	font-weight: bold;
	color: #624239;
	line-height: 1.5;
	/* 3行表示にする */
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	display: -webkit-box;
}
article h2.tit a {
	color: #624239;
}
article p.content {
	clear: both;
	padding-top: 10px;
	margin-bottom: 10px;
	/* 5行表示にする */
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
	display: -webkit-box;
}
article p.link a {
	display: block;
	padding: 10px;
	border: 0.625vw solid #86CEE0; /* 2px */
	border-radius: 1vw;
	text-align: center;
	font-size: 0;
	position: relative;
}
article p.link a:before {
	content: "続きを読む";
	font-size: 4.6875vw; /* 15px */
}
article p.link a:after {
	/* 矢印共通 */
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
	z-index: 99999;
	/* くの字アイコン */
	right: 6.25vw; /* 20px */
	width: 1.565vw; /* 5px */
	height: 1.565vw;
	border-top: 0.625vw solid #86CEE0; /* 2px */
	border-right: 0.625vw solid #86CEE0;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

article .leftImgBox {
	width: 28.125vmin;
	height: 28.125vmin;
	margin-right: 3.575%; /* 10px */
	overflow: hidden;
	float: left;
}
article .leftImgBox img {
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}


/* ===================================
.wp-pagenavi
=================================== */

/* sp 調整用 */

.wp-pagenavi {
	height: 100%;
	margin: 20px auto;
	padding: 0;
	display: flex;
}
.wp-pagenavi:after {
	content: "";
	clear: both;
	display: block;
}

.wp-pagenavi .newer,
.wp-pagenavi .older {
	border: none;
}

.wp-pagenavi a,
.wp-pagenavi span {
	float: none;
	width: 100%;
	margin: 0.5%;
	padding: 3.5% 0;
	box-sizing: content-box;
	border-color: #D6D6D6;
	border-radius: 1vw;
	text-align: center;
	font-size: 4.0625vw; /* 13px */
}

/* 前へ次への文言調整 */
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
	padding: 3.5% 0;
	background-position: center;
	font-size: 0;
}
.wp-pagenavi a.previouspostslink:before {
	/*content: "前";*/
	font-size: 4.0625vw; /* 13px */
}
.wp-pagenavi a.nextpostslink:before {
	/*content: "次";*/
	font-size: 4.0625vw; /* 13px */
}


}