@import url("page.css");
/* メインビュー */
.main_view {
	background-image: url(../img/main-image_news.jpg);
    background-position: 70% 20%;
    background-size: cover;
}
/* ニュース記事 */
.section_page_container .section_title_top:after {
    left: 128px;
}
.news_detail {
	border-bottom: 1px solid #bdbdbd;
}
.news_detail_inner {
	width: 90%;
	max-width: 1080px;
	margin: 8em auto 0;
}
.news_detail_wrap {
	margin-top: 4em;
}
.news_detail_content {
	padding: 0 80px 80px 80px;
	height: fit-content;
}
.news_detail_content_head {
    display: flex;
    align-items: center;
    gap: 20px;
	color: #7b7b7b;
}
.news_detail_thumbnail img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.news_detail_content_cat {
	color: #9e9e9e;
    letter-spacing: .1em;
    font-weight: 600;
    font-size: 14px;
}
.news_detail_content_title {
	margin: 24px 0;
    color: #272727;
	letter-spacing: .1em;
}
.news_detail_content_title.related {
	width: 100%;
    max-width: 1120px;
    margin: 4em auto 0;
    padding: 0 20px;
    padding-left: 80px;
}
.news_detail_article h2 {
	margin: 80px 0 16px;
    color: #272727;
    letter-spacing: .1em;
	font-size: 22px;
}
.news_detail_article h3 {
	margin: 80px 0 16px;
    color: #272727;
    letter-spacing: .1em;
    font-size: 20px;
}
.news_detail_article_text {
	margin-top: 32px;
	line-height: 2em;
    color: #333;
}
.news_detail_toc {
	padding: 40px 80px;
    line-height: 3em;
    margin-top: 2em;
    background: #fff;
    border: 1px solid #cdcdcd;
    font-weight: 600;
}
.news_detail_toc_title {
	font-size: 20px;
}
.news_detail_toc_list a {
	color: #272727;
}
.news_detail_toc_list::before {
	content: "●";
	padding-right: 8px;
}
.pagination a {
	color: #62332d;
	background: none;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	transition: 0.3s;
	font-family: MADEEvolve Medium;
	letter-spacing: .1em;
}
.detail_previouspostslink,
.detail_nextpostslink {
	position: relative;
}
.detail_previouspostslink {
	padding-left: 80px;
}
.detail_nextpostslink {
	padding-right: 80px;
}
.detail_previouspostslink::before {
	content: '';
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	transform: translateY(calc(-50% - 2px)) rotate(150deg);
	width: 12px;
	height: 1px;
	background-color: #62332d;
	transition: 0.3s;
}
.detail_previouspostslink::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 60px;
	height: 1px;
	background-color: #62332d;
	transition: 0.3s;
}
.detail_nextpostslink::before {
	content: '';
	position: absolute;
	top: calc(50% - 1px);
	right: 0;
	transform: translateY(calc(-50% - 2px)) rotate(30deg);
	width: 12px;
	height: 1px;
	background-color: #62332d;
	transition: 0.3s;
}
.detail_nextpostslink::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 60px;
	height: 1px;
	background-color: #62332d;
	transition: 0.3s;
}
.pagination__wrapper .pagination > .page-numbers {
	justify-content: space-between;
	display: flex;
	padding: 0 80px 80px 80px;
}
@media (max-width: 768px) {
.news_detail_inner {
	margin: 6em auto;
}
.news_detail_wrap {
	display: block;
}
.news_detail_content {
	padding: 0em 0 4em 0;
}
.news_detail_thumbnail img {
	width: 100%;
	height: 360px;
	object-fit: cover;
	vertical-align: bottom;
}
.news_detail_content_title {
	font-size: 22px;
}
.news_detail_article h2 {
    font-size: 20px;
}
.news_detail_article_text {
    /* padding: 0 24px; */
    letter-spacing: .1em;
}
.pagination__wrapper .pagination > .page-numbers {
	justify-content: space-between;
	padding: 0;
}

}
@media (max-width: 480px) {
.news_detail_content {
	padding: 0;
}
.news_detail_thumbnail img {
	height: 240px;
	object-position: center;
}
.news_detail_toc {
	padding: 20px;
	font-size: 16px;
}
.news_detail_toc_title {
	font-size: 18px;
}
.news_detail_toc_list {
	line-height: 2em;
	font-size: 14px;
}
.news_detail_toc_list:nth-child(n+2) {
	margin-top: 1em;
}
.news_detail_content_title.related {
	width: 90%;
    margin: 2em auto 0;
    padding: 0 20px;
}
	.pagination a {
		font-size: 14px;
	}
.detail_previouspostslink {
	padding-left: 17px;
}
.detail_nextpostslink {
	padding-right: 17px;
}
	.detail_previouspostslink::before,
	.detail_nextpostslink::before {
		top: inherit;
		bottom: -4px;
	}
	.detail_previouspostslink::after,
	.detail_nextpostslink::after {
		top: inherit;
		bottom: -5px;
	}
}

.section_news:first-child {
	padding-bottom: 0;
}
.section_news:last-child {
	padding-top: 0;
}
.btn {
	background: #fff;
	color: #272727;
	border: 1px solid #cdcdcd;
}
.btn:after {
	border-top: 1px solid #272727;
}
