@charset "utf-8";

.post_area {
	padding: 50px 0 60px;
}
.post_list_ttl_wrap {
	padding: 60px 0 45px;
}
.post_list_ttl_wrap * {
	text-align: center;
}
@media only screen and (min-width: 768px) {
	.post_area {
		padding: 80px 0 120px;
	}
	.post_list_ttl_wrap {
		padding: 120px 0 80px;
	}
}

/* NEWS */
.post_list_wrap {
	display: flex;
	flex-direction: column-reverse;
	gap: 40px;
}
.post_list {
	width: 100%;
	border-top: 1px solid #ABB8C3;
}

/*新着情報リスト*/
.post_list li a {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	width: 100%;
	border-bottom: 1px solid #ABB8C3;
}
.post_list li a:hover {
	color: #ABB8C3;
}
.news_date {
	padding: 10px 0;
	line-height: 1.2;
	font-size: 12px;
	color: #ABB8C3;
}
.post_cat {
	background: #1EAA39;
	padding: 3px 7px 7px;
	border-radius: 15px;
	height: 17px;
	color: #fff;
	font-size: 10px;
	line-height: 1;
}
.post_ttl {
	padding: 0 0 10px;
	line-height: 1.2;
	font-weight: 500;
	font-size: 14px;
}
.post_date_wrap {
	display: flex;
	gap: 0 8px;
	align-items: center;
}
@media only screen and (min-width: 768px) {
	.post_list_wrap {
		flex-direction: row;
		justify-content: space-between;
	}
	.topics_list_wrap {
		justify-content: center;
	}
	.post_list {
		width: 65.5%;
	}
	.post_list li a {
		flex-direction: row;
		align-items: center;
		width: 100%;
		gap: 40px;
	}
	.news_date {
		padding: 20px 0;
		font-size: 14px;
	}
	.post_cat {
    padding: 7px 10px;
    height: 25px;
    font-size: 14px;
		margin: 0 0 3px;
	}
	.post_ttl {
		padding: 20px 0;
		font-size: 16px;
	}
	.post_date_wrap {
    gap: 20px;
	}
}
@media only screen and (min-width: 1200px) {
	.post_list_wrap {
		gap: 155px;
	}
	.news_date {
		font-size: 16px;
	}
	.post_ttl {
		font-size: 18px;
	}
}

/*サイドバー*/
.post_sidebar {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 20px;
	margin: 0 auto;
}
.postcat_ttl,
.sp_postcat_ttl {
	position: relative;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	padding: 0 0 6px;
	font-size: 12px;
}
.sp_postcat_btn {
	position: relative;
}
.postcat_ttl i {
	position: absolute;
	margin-top: 0;
	right: 90%;
	top: 55%;
}
.sp_postcat_btn i {
	position: absolute;
	margin-top: 0;
	left: 11px;
	top: 59%;
}
.postcat_ttl i:before,
.postcat_ttl i:after,
.sp_postcat_btn i:before,
.sp_postcat_btn i:after {
	content: "";
	position: absolute;
	background-color: #1EAA39;
	width: 2px;
	height: 6px;
	transition: all 0.25s ease-in-out;
}
.postcat_ttl i:before,
.sp_postcat_btn i:before {
	transform: translate(2.9px, -6px) rotate(45deg);
}
.postcat_ttl i:after,
.sp_postcat_btn i:after {
	transform: translate(-1px, -6px) rotate(-45deg);
}
.postcat_ttl.open i:before,
.sp_postcat_btn.open i:before {
	transform: translate(-1px, -6px) rotate(45deg);
}
.postcat_ttl.open i:after,
.sp_postcat_btn.open i:after {
	transform: translate(2.9px, -6px) rotate(-45deg);
}
.postcat_item {
	position: relative;
}
.postcat_item_list {
	width: 100%;
	margin: 0 0 20px;
	overflow: hidden;
}
.postcat_item_list li a {
	display: block;
	margin: 15px;
}
.postcat_item_list li a:hover {
	color: #E3E3E3;
}
.pagelink_spselect {
	width: 158px;
}
.sp_post_archive {
	display: block;
	width: calc(50% - 10px);
}
.postcat_list {
	display: none;
}
.anchor_btn_sp01 {
	display: block;
	padding: 8px 0 8px 30px;
	margin: auto;
	border: 1px solid #707070;
	background: #fff;
	color: #222;
	font-weight: 300;
	appearance: none;
	font-size: 12px;
	width: 100%;
	line-height: 1;
	outline: none;
}

@media only screen and (min-width: 768px) {
	.postcat_ttl,
	.sp_postcat_ttl {
		font-size: 16px;
		padding: 0 37px 20px 0;
		border-bottom: 1px solid #ABB8C3;
	}
	.postcat_ttl i {
    margin-top: 0;
    right: 17px;
    top: 30%;
	}
	.sp_postcat_btn i {
		left: 5px;
		top: 55%;	
	}
	.sp_post_archive {
		display: none;
	}
	.postcat_list {
		display: block;
	}
	.post_sidebar {
		flex-direction: column;
		justify-content: flex-start;
		width: 22.1%;
	}
	.postcat_ttl i:before,
	.postcat_ttl i:after,
	.sp_postcat_btn i:before,
	.sp_postcat_btn i:after {
		height: 10px;
	}
	.postcat_ttl i:before,
	.sp_postcat_btn i:before {
		transform: translate(2.9px, -6px) rotate(45deg);
	}
	.postcat_ttl i:after,
	.sp_postcat_btn i:after {
		transform: translate(-3.5px, -6px) rotate(-45deg);
	}
	.postcat_ttl.open i:before,
	.sp_postcat_btn.open i:before {
		transform: translate(-3.5px, -6px) rotate(45deg);
	}
	.postcat_ttl.open i:after,
	.sp_postcat_btn.open i:after {
		transform: translate(2.9px, -6px) rotate(-45deg);
	}
}
@media only screen and (min-width: 1200px) {
	.post_sidebar {
		width: 22.1%;
	}
}

/* ページャー */
.wp-pagenavi {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.wp-pagenavi a, .wp-pagenavi span {
	border: 1px solid #333333;
	padding: 2px 0 0;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
}
.wp-pagenavi span.current {
	font-weight: 300;
	color: #fff;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	border: 1px solid #1EAA39;
	background: #1EAA39;
	color: #fff;
}
.wp-pagenavi .pages,
.wp-pagenavi .last,
.wp-pagenavi .first {
	display: none;
}
span.extend {
	border: none;
	margin: 0;
	width: 10px;
}
.page_nav_wrap {
	display: flex;
	justify-content: center;
	margin: 30px 0 0;
}
.nextpostslink {
	background: url(../images/common/archive_next_btn.svg) center no-repeat;
}
.previouspostslink {
	background: url(../images/common/archive_prev_btn.svg) center no-repeat;
}
.wp-pagenavi .nextpostslink:hover {
	background: #1EAA39 url(../images/common/archive_next_btn_hover.svg) center no-repeat;
}
.wp-pagenavi .previouspostslink:hover {
	background: #1EAA39 url(../images/common/archive_prev_btn_hover.svg) center no-repeat;
}

@media only screen and (min-width: 768px) {
	.page_nav_wrap {
		width: 65.5%;
		margin: 20px 0 0;
	}
	.topics_page_nav_wrap {
		width: 100%;
	}
}

/* news・topics詳細ページ */
/* 
見出し 
*/
.parent_cat {
	/* display: inline-flex; */
	background: #1EAA39;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	padding: 4px 15px;
	border-radius: 14px;
	margin: 0 7px 0 0;
}
.single_post_date {
	font-size: 14px;
	color: #1EAA39; 
}
.single_post_ttl {
	font-size: 28px;
	line-height: 1.5; 
	font-weight: 300;
	margin: 20px 0 0;
}
@media only screen and (min-width: 768px) {
	.parent_cat {
		font-size: clamp(12px, 1.1vw, 20px);
		padding: 3px 20px;
		margin: 0 10px 0 0;
	}
	.single_post_date {
		font-size: clamp(14px, 1.1vw, 20px);
	}
	.single_post_ttl {
		font-size: clamp(28px, 2.2vw, 40px);
	}
}

/* 
本文
*/
.single_wrap {
	width: 100%;
}
.single_inner {
	padding: 40px 0 60px;
}
@media only screen and (min-width: 768px) {
	.single_inner {
		padding: 120px 0 110px;
	}
}
@media only screen and (min-width: 1280px) {
	.single_wrap {
		width: 810px;
		margin: auto;
		padding: 0;
	}
}
/* h2 */
.post_contents h2 {
	font-size: 24px;
	font-weight: 500;
	line-height: 1.5;
	margin: 0 0 45px;
}
.post_contents h2::before {
	content: "";
	display: inline-block;
	background: #1EAA39;
	vertical-align: top;
	margin: 0 12px 0 0;
	width: 5px;
	height: 36px;
	position: relative;
	top: -2px;
}
@media screen and (min-width: 768px) {
	.post_contents h2 {
		font-size: 30px;
		margin: 0 0 80px;
	}
	.post_contents h2::before {
		margin: 0 15px 0 0;
		width: 10px;
		height: 41px;
		top: 2px;
	}
}
@media screen and (min-width: 1200px) {
	.post_contents h2 {
		font-size: 36px;
		margin: 0 0 80px;
	}
	.post_contents h2::before {
		margin: 0 18px 0 0;
		width: 15px;
		height: 46px;
	}
}
/* h3 */
.post_contents h3 {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	margin: 30px 0 0;
	padding: 0 0 10px 0;
	border-bottom: 1px #ABB8C3 solid;
}
@media screen and (min-width: 768px) {
	.post_contents h3 {
		font-size: 25px;
		padding: 0 0 13px 0;
		margin: 35px 0 0;
	}
}
@media screen and (min-width: 1200px) {
	.post_contents h3 {
		font-size: 30px;
		padding: 0 0 15px 0;   
		margin: 40px 0 0; 
	}
}
/* h4 */
.post_contents h4 {
	font-size: 18px;
	line-height: 1.5;
	margin: 30px 0 0;
}
@media screen and (min-width: 768px) {
	.post_contents h4 {
		font-size: 21px;
		margin: 35px 0 0;
	}
}
@media screen and (min-width: 1200px) {
	.post_contents h4 {
		font-size: 24px;
		margin: 40px 0 0;
	}
}
/* 本文通常サイズ */
.post_contents p:first-child {
	margin: 0;
}
.post_contents figure:first-child {
	margin-top: 0;
	margin-bottom: 0;
}
.post_contents p {
	margin: 20px 0 0;
	font-weight: 300;
}
.post_contents p + p{
	margin: 20px 0 0;
}
@media screen and (min-width: 768px) {
	.post_contents p {
		margin: 25px 0 0;
	}
	.post_contents p + p{
		margin: 25px 0 0;
	}
}
@media screen and (min-width: 1200px) {
	.post_contents p {
		margin: 30px 0 0;
	}
	.post_contents p + p{
		margin: 30px 0 0;
	}
}
/* 本文小さめサイズ */
.post_contents .has-small-font-size {
	font-size: 13px!important;
	font-weight: 300;
}
@media screen and (min-width: 768px) {
	.post_contents .has-small-font-size {
		font-size: 16px!important;
	}
}
/* 画像 */
.post_contents figure {
	margin: 30px 0 0;
}
@media screen and (min-width: 768px) {
	.post_contents figure {
		margin: 45px 0 0;
	}
}
@media screen and (min-width: 1200px) {
	.post_contents figure {
		margin: 60px 0 0;
	}
}
/* 画像キャプション */
.post_contents figcaption {
	position: relative!important;
	color: #626A77!important;
	background: none!important;
	padding: 0!important;
	text-align: left!important;
	font-size: 13px;
	line-height: 1.5;
	margin: 15px 0 0;
}
@media screen and (min-width: 768px) {
	.post_contents figcaption {
		font-size: 16px;
		margin: 18px 0 0;
	}
}
@media screen and (min-width: 1200px) {
	.post_contents figcaption {
		margin: 20px 0 0;
	}
}
/* 余白 */
.post_contents h2 + * {
	margin: 0;
}

/* ページリンク */
.page_link_wrap {
	margin: 40px 0 0;
	padding: 15px 0 0;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #ABB8C3;
}
.post_prev a {
	display: block;
	width: 55px;
	padding: 0 0 6px;
	border-bottom: 1px solid #333333;
	color: #333333;
	background: url('../images/common/arw_prevpost.svg') left 2px/8px 10px no-repeat;
	text-align: right;
	line-height: 1;
}
.post_prev,
.post_next {
	width: 55px;
}
.post_next a {
	display: block;
	width: 55px;
	padding: 0 0 6px;
	border-bottom: 1px solid #333333;
	color: #333333;
	background: url('../images/common/arw_nextpost.svg') right 2px/8px 10px no-repeat;
	line-height: 1;
}
.news_back_btn a {
	display: block;
	line-height: 1;
}
.post_prev a, .post_next a, .news_back_btn a {
	font-size: 15px;
}
@media screen and (min-width: 768px) {
	.page_link_wrap {
		position: relative;
		margin: 80px 0 0;
		padding: 20px 0 0;
		gap: 0 30px;
		border-top: 1px solid #ABB8C3;
		font-size: 20px;
	}
	.post_prev,
	.post_next {
		width: 80px;
	}
	.post_prev a {
		width: 80px;
		padding: 0 0 7px;
		background: url('../images/common/arw_prevpost.svg') left 2px/10px 13px no-repeat;
	}
	.post_next a {
		width: 80px;
		padding: 0 0 7px;
		background: url('../images/common/arw_nextpost.svg') right 2px/10px 13px no-repeat;
	}
	.post_prev a, .post_next a, .news_back_btn a {
		font-size: 20px;
	}
	.post_prev a:hover, .post_next a:hover, .news_back_btn a:hover {
		color: #7e7e7e;
		transition: all .3s ease-out;
	}
}