/* ニュース
=========================================================================
========================================================================*/
@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');

#news main {
	padding-top: 154px;
	text-align: center;
}

#news main h1 {
	overflow: hidden;
	margin-bottom: 43px;
	height: 25px;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	background: url(../img/news/title.svg) center center no-repeat;
	background-size: contain;
}

/*#news main section {
	margin: 0 auto 80px;
	width: 720px;
}*/

/* ----- カテゴリーナビ ----- */
#news main ul.category {
	display: inline-block;
	display: flex;
	justify-content: center;
	margin-bottom: 23px;
}

#news main ul.category li {
	padding: 0 1.5em;
}

#news main ul.category li a {
	position: relative;
	display: inline-block;
	color: #333;
	text-decoration: none;
}

#news main ul.category li a:visited,
#news main ul.category li a:hover {
	color: #333;
}

#news main ul.category li a::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: #B5D2E2;
	transform: scale(0, 1);
	transition: 0.4s;
}

#news main ul.category li a:hover::before {
	transform: scale(1);
}

#news main ul.category li.current-cat a::before {
	transform: scale(1);
}

#news main hr {
	margin: 0 auto 56px;
	width: 820px;
	border-top: 1px solid #B5D2E2;
}

/* リスト
------------------------------------------------------- */
#news main .list {
	position: relative;
	margin: 0 auto 36px;
	width: 820px;
	text-align: left;
}

#news main .list ul {
	margin-bottom: 57px;
}

#news main .list ul li {
	display: flex;
	margin-bottom: 24px;
}

/* ----- カテゴリ ----- */
#news main .list ul li p.cat {
	margin-right: 29px;
	padding: 0 1em;
	height: 26px;
	font-size: 1.2rem;
	line-height: 26px;
	color: #333;
	white-space: nowrap;
}

/* 企業情報 ----- */
#news main .list ul li p.cat.company {
	background-color: #B5D2E2;
}

/* お知らせ ----- */
#news main .list ul li p.cat.info {
	background-color: #E2D9B5;
}

#news main .list ul li a,
#news main .list ul li a:visited {
	color: #333;
	text-decoration: none;
}

#news main .list ul li a:hover {
	color: #333;
	text-decoration: underline;
}

#news main .list ul li h2 span {
	padding-right: 1em;
}

/* ページャー
------------------------------------------------------- */
.pagination {
	margin: 0 auto 88px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	line-height: 39px;
	text-align: center;
}

.pagination .page-numbers {
	margin: 0 5px;
}

.pagination .current {
	display: block;
	width: 39px;
	height: 39px;
	text-decoration: none;
	border: 1px solid #DEDEDE;
	color: #FFF;
	background-color: #898989;
}

.pagination a,
.pagination a:visited {
	display: block;
	width: 39px;
	height: 39px;
	text-decoration: none;
	border: 1px solid #DEDEDE;
	color: #898989;
	transition: all 1s;
}

.pagination a.prev,
.pagination a.next {
	width: 97px;
}

.pagination a:hover {
	color: #FFF;
	background-color: #898989;
}

/* 投稿
------------------------------------------------------- */
#news main .custom {
	position: relative;
	margin: 0 auto 91px;
	padding: 70px 0 0;
	width: 1140px;
	text-align: left;
}

/* ----- メイン画像 ----- */
#news main .custom .main_photo {
	margin: 0 auto 28px;
}

/* ----- 公開日 ----- */
#news main .custom p.date {
	position: absolute;
	top: 45px;
	right: 90px;
	font-family: 'Alata', sans-serif;
	font-size: 3.8rem;
	line-height: 1em;
}

/* ----- 投稿内容 ----- */
#news main .post {
	margin: 0 auto;
	padding: 0 0 76px;
	width: 870px;
	text-align: left;
}

/* 投稿タイトル ----- */
#news main .post h2.post_title {
	margin: 0 auto 1em;
	width: 780px;
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 1.5em;
}

/* ブロックエディター ----- */
/* 段落 */
#news main .post p {
	margin: 0 auto 60px;
	width: 780px;
}

/* 整形済みテキスト */
#news main .post pre {
	margin: 0 auto 60px;
	width: 780px;
	white-space: pre-wrap;
}

/* 投稿画像  */
#news main .post figure.wp-block-image {
	margin: 0 auto 60px;
}

/* 見出し */
#news main .post h1,
#news main .post h2,
#news main .post h3,
#news main .post h4,
#news main .post h5,
#news main .post h6,
#news main .post ul,
#news main .post ol {
	margin: 0 auto .5em;
	width: 780px;
	font-weight: bold;
}

#news main .post h1 {
	font-size: 2rem;
}

#news main .post h2 {
	font-size: 2rem;
}

#news main .post h3 {
	font-size: 1.8rem;
}

#news main .post h4 {
	font-size: 1.7rem;
}

#news main .post h5 {
	font-size: 1.6rem;
}

#news main .post h6 {
	font-size: 1.6rem;
}

/* リスト */
#news main .post ul {
	list-style: disc;
	margin-bottom: 60px;
	padding-left: 1.5em;
	font-weight: 300;
}

#news main .post ol {
	list-style: decimal;
	margin-bottom: 60px;
	padding-left: 1.5em;
	font-weight: 300;
}

/* テーブル */
#news main .post figure.wp-block-table {
	margin: 0 auto 60px;
	width: 780px;
}

#news main .post table {
	width: 100%;
}

#news main .post table,
#news main .post td,
#news main .post th {
	border-collapse: collapse;
	border: 1px solid #333;
}

#news main .post td,
#news main .post th {
	padding: .5em 1em;
}

/* Youtube */
#news main .post .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

#news main .post .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

/* キャプション */
#news main .post figcaption {
	font-size: 1.2rem;
	text-align: center;
}

/* ページャー
------------------------------------------------------- */
.post_pager {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	margin-bottom: 76px;
}

.post_pager div {
	overflow: hidden;
	text-align: left;
	text-indent: 100%;
	white-space: nowrap;
	width: 69px;
	height: 75px;
}

.post_pager div:nth-child(2) {
	margin: 0 35px;
}

.post_pager div a {
	position: relative;
	display: block;
	height: 100%;
	color: #FFF;
	transition: all .3s;
}

.post_pager div a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	margin: 0 auto;
	width: 35px;
	height: 1px;
	background: #333;
	transform: scale(0, 1);
	transition: 0.4s;
	z-index: 2;
}

.post_pager div a:hover::before {
	transform: scale(1);
}

.post_pager div:nth-child(1) a {
	background: url(../img/common/button_prev.svg) center center no-repeat;
	background-size: contain;
}

.post_pager div:nth-child(2) a {
	background: url(../img/common/button_index.svg) center center no-repeat;
	background-size: contain;
}

.post_pager div:nth-child(3) a {
	background: url(../img/common/button_next.svg) center center no-repeat;
	background-size: contain;
}


/*  1180px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:1180px) {

	/* 投稿
	------------------------------------------------------- */
	#news main .custom {
		padding: 70px 0 0;
		width: 100%;
	}

}

/*  910px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:910px) {

	/* ----- 投稿内容 ----- */
	#news main .post {
		padding: 0 20px 76px;
		width: 100%;
	}
}

/*  860px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:860px) {


	#news main hr {
		padding: 0 20px;
		width: 100%;
	}

	/* リスト
	------------------------------------------------------- */
	#news main .list {
		padding: 0 20px;
		margin: 0 auto 36px;
		width: 100%;
	}
}

/*  820px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:820px) {

	/* 投稿タイトル ----- */
	#news main .post h2.post_title {
		width: 100%;
	}

	/* ブロックエディター ----- */
	/* 段落 ----- */
	#news main .post p {
		width: 100%;
	}

	/* 整形済みテキスト ----- */
	#news main .post pre {
		width: 100%;
	}

	/* 見出し */
	#news main .post h1,
	#news main .post h2,
	#news main .post h3,
	#news main .post h4,
	#news main .post h5,
	#news main .post h6,
	#news main .post ul,
	#news main .post ol {
		width: 100%;
	}

	/* テーブル */
	#news main .post figure.wp-block-table {
		width: 100%;
	}
}


/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {

	#news main {
		padding-top: 96px;
	}

	#news main h1 {
		margin-bottom: 33px;
		height: 20px;
	}

	/* ----- カテゴリーナビ ----- */
	#news main ul.category {
		margin-bottom: 38px;
	}

	#news main ul.category li {
		padding: 0 1.5em;
	}

	#news main ul.category li a {
		font-size: 1.2rem;
	}

	#news main ul.category li a::before {
		height: 2px;
	}

	#news main hr {
		display: none;
	}

	/* リスト
	------------------------------------------------------- */
	#news main .list {
		margin: 0 auto 52px;
	}

	#news main .list ul {
		margin-bottom: 0;
	}

	#news main .list ul li {
		margin-bottom: 18px;
	}

	/* ----- カテゴリ ----- */
	#news main .list ul li p.cat {
		margin-right: 15px;
		padding: 0 .5em;
		height: 22px;
		font-size: 1.2rem;
		line-height: 22px;
	}

	#news main .list ul li a,
	#news main .list ul li a:visited {
		font-size: 1.4rem;
		line-height: 1.53em;
		color: #333;
		text-decoration: none;
	}

	#news main .list ul li a:hover {
		color: #333;
		text-decoration: underline;
	}

	#news main .list ul li h2 span {
		padding-right: 1em;
	}

	/* ページャー
		------------------------------------------------------- */
	.pagination {
		margin: 0 auto 84px;
		font-size: 1.1rem;
		line-height: 31px;
	}

	.pagination .page-numbers {
		margin: 0 4px;
	}

	.pagination .current {
		width: 31px;
		height: 31px;
	}

	.pagination a,
	.pagination a:visited {
		width: 31px;
		height: 31px;
	}

	.pagination a.prev,
	.pagination a.next {
		width: 49px;
	}

	.pagination a:hover {
		color: #898989;
		background-color: #FFF;
	}

	/* 投稿
	------------------------------------------------------- */
	#news main .custom {
		margin: 0 auto 60px;
		padding: 13px 0 0;
	}

	/* ----- メイン画像 ----- */
	#news main .custom .main_photo {
		margin: 0 auto 60px;
	}

	/* ----- 公開日 ----- */
	#news main .custom p.date {
		top: -3px;
		right: 20px;
		font-size: 2.6rem;
	}

	/* ----- 投稿内容 ----- */
	#news main .post {
		padding: 0 20px 10px;
	}

	/* 投稿タイトル ----- */
	#news main .post h2.post_title {
		margin: 0 auto 2em;
		font-size: 1.8rem;
	}

	/* ブロックエディター ----- */
	/* 段落 */
	#news main .post p {
		margin: 0 auto 40px;
	}

	/* 整形済みテキスト */
	#news main .post pre {
		margin: 0 auto 40px;
	}

	/* 投稿画像  */
	#news main .post figure.wp-block-image {
		margin: 0 auto 40px;
	}

	/* 見出し */
	#news main .post h1,
	#news main .post h2,
	#news main .post h3,
	#news main .post h4,
	#news main .post h5,
	#news main .post h6,
	#news main .post ul,
	#news main .post ol {
		margin: 0 auto .5em;
	}

	#news main .post h1 {
		font-size: 2rem;
	}

	#news main .post h2 {
		font-size: 1.8rem;
	}

	#news main .post h3 {
		font-size: 1.7rem;
	}

	#news main .post h4 {
		font-size: 1.6rem;
	}

	#news main .post h5 {
		font-size: 1.5rem;
	}

	#news main .post h6 {
		font-size: 1.4rem;
	}

	/* リスト */
	#news main .post ul {
		margin-bottom: 40px;
	}

	#news main .post ol {
		margin-bottom: 40px;
	}

	/* テーブル */
	#news main .post figure.wp-block-table {
		margin: 0 auto 40px;
	}

	/* ページャー
	------------------------------------------------------- */
	.post_pager {
		margin-bottom: 40px;
	}

	.post_pager div {
		height: 60px;
	}

	.post_pager div:nth-child(2) {
		margin: 0 20px;
	}

	.post_pager div a {
		position: relative;
		display: block;
		height: 100%;
		color: #FFF;
		transition: all .3s;
	}

	.post_pager div a::before {
		display: none;
	}

}
