@charset "utf-8";

/*------------------------------------------------------------
	タイトル
------------------------------------------------------------*/

h5.news_h5{
	width: 100%;
	background: url(../images/company/ttl_bg.jpg) no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 36px;
	font-weight: bold;
	padding: 4% 0;
	box-sizing: border-box;
	letter-spacing: 0.1em;
}


@media screen and (min-width: 0) and (max-width: 768px) {
	
	h5.news_h5{
		width: 100%;
		background: url(../images/company/ttl_bg.jpg) no-repeat center;
		background-size: cover;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #fff;
		font-size: 5.5vw;
		font-weight: bold;
		padding: 5% 0 4%;
		box-sizing: border-box;
		letter-spacing: 0.2em;
	}
}


/*------------------------------------------------------------
	お知らせリスト
------------------------------------------------------------*/

#News {
	font-size: 16px;
	margin-top: 4.5em;
	
}

#news {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	font-size: 16px;
	text-align: left;
	color: #222;
}

.news ul {
	border-bottom: 1px dashed #ccc;
	display: flex;
}

.news li:first-child {
	font-weight: bold;
	width: 10%;
	text-align: right;
	margin-right: 1.2em;
}

.news li{
	margin-bottom: 0.5em;
	margin-top:  0.5em;
}

.news li a:hover{
	text-decoration: underline;
}


#pagination-news {
	display: flex;
	font-size: 14px;
	margin-top: 3em;
	align-items: center;
	justify-content: center;
}

#pagination-news li a {
	border: 1px solid #ccc;
	margin-right: 0.8em;
	padding: 0.5em 0.8em;
}


@media screen\0 {
	#pagination-news li a {
		padding-bottom: 0;
	}
}




	#pagination-news li:last-child {
		margin-right: 0;
	}
	
.isolated .page-item.active .page-link {
	background: #2C6C67;
	color: #fff;
	border: none !important;
}


@media screen and (min-width: 0) and (max-width: 768px) {

	#News {
		font-size: 3.5vw;
		margin-top: 2.5em;
	}

	#news {
		width: 94%;
		max-width: 910px;
		margin: 0 auto;
		font-size: 3.5vw;
		text-align: left;
		color: #222;
	}

	.news ul {
		border-bottom: 1px dashed #ccc;
	}

	
	.news li{
		width: 80%;
		padding-right: 2%;
		line-height: 140%;
		margin-bottom: 0.8em;
		margin-top: 0.8em;
	}
	
	.news li:first-child {
		width: 20%;
		padding-right: 0%;
	}


	#pagination-news {
		display: flex;
		font-size: 3vw;
		margin-top: 2em;
		align-items: center;
		justify-content: center;
	}

#pagination-news li a {
	border: 1px solid #ccc;
	margin-right: 0.8em;
	padding: 0.5em;
}

	#pagination-news li:last-child {
		margin-right: 0;
	}
	
.isolated .page-item.active .page-link {
	background: #2C6C67;
	color: #fff;
	border: none !important;
}

	
}

/*------------------------------------------------------------
	お知らせ個別ページ
------------------------------------------------------------*/

#Main #site-content .news_singular{
	width: 100%;
	max-width: 910px;
	margin: 0 auto;
	font-size: 16px;
	text-align: left;
	color: #222;
	padding-top: 100px;
}

/*記事のカテゴリと投稿者を非表示*/
#Main #site-content .news_singular .entry-categories,
#Main #site-content .news_singular .post-author{
	display: none;
	    
}

/*記事のタイトル*/
#Main #site-content .news_singular h1.entry-title{
	font-size: 24px;
	line-height: 150%;
	padding-bottom: 0.2em;
	border-bottom: 1px solid #CCC;
	text-align: left;
}

/*非表示*/
#Main #site-content .news_singular .post-date .screen-reader-text,
#Main #site-content .news_singular .post-date .svg-icon
{display: none;}

#Main #site-content .news_singular .post-date{
	padding-top: 0.8em;
	padding-bottom: 0.8em;
	font-weight: bold;
}

#Main #site-content .news_singular .post-date a{
	color: #2c6c67;
	text-align: left;
}


#Main #site-content .news_singular .entry-content{
	margin-bottom: 2em;
}


#Main #site-content .news_singular .entry-content p{
	margin-bottom: 1em;
}


#Main #site-content .news_singular .pagination-single hr{
	display: none;
}


/*前の記事*/
#Main #site-content .news_singular .previous-post{}

/*次の記事*/
#Main #site-content .news_singular .next-post{
	float: right;
}

/*前の記事 次の記事　共通*/
#Main #site-content .news_singular .pagination-single-inner a{
	border-bottom: 1px solid #2c6c67;
}


#Main #site-content .news_singular .pagination-single-inner span{
	color: #2c6c67;
	font-weight: bold;
	font-size: 16px;
}


@media screen and (min-width: 0) and (max-width: 768px) {
	#Main header{
		    border-bottom: none;
	}	
	
	
	#Main #site-content .news_singular{
		max-width: 100%;
	}	
	
	#Main #site-content .news_singular header{
		position: relative;		
		z-index: 1;
	}

	#Main #site-content .news_singular{
		width: 94%;
		margin: 2.5em 3% 0;
		font-size: 3.5vw;
		padding-top: 0.5em;
	}

	/*記事のタイトル*/
	#Main #site-content .news_singular h1.entry-title{
		font-size: 5vw;
		padding: 0;
		padding-bottom: 0;
		border-bottom: none;
	}


	#Main #site-content .news_singular .post-date{
		padding: 0;
		padding-bottom: 0.5em;
	}
	
	#Main #site-content .news_singular .post-date a{
	text-align: right!important;
		    display: block;
	}

	#Main #site-content .news_singular .entry-content{
		margin-bottom: 2em;
	}

	#Main #site-content .news_singular .pagination-single-inner span{
		font-size: 3.5vw;
	}
}

/*ログインした時に表示される編集ボタン*/
.post-meta-edit-link-wrapper{
	margin-bottom: 1em;
	text-align: right;
}
