@charset "UTF-8";

/* topics
----------------------------------------*/
.topics {
	background: #EEE9DF;
	margin-top: 8rem;
	padding-bottom: 20rem;
}
.topics_tab {
	padding-top: 4rem;
	max-width: 105.5rem;
	margin: 0 auto;
	display: flex;
	gap: 0.5rem;
}
.topics_tab a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 26rem;
	height: 6rem;
	background: #fff;
	color: #749541;
	font-size: 1.3rem;
	font-weight: bold;
	letter-spacing: .1em;
}
.topics_tab a.current {
	background: #749541;
	color: #fff;
}
.topics_inner {
	max-width: 112rem;
	margin: 8rem auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6rem 5rem;
}
.topics_item {
	max-width: 34rem;
}
.topics_item figure {
	position: relative;
}
.topics_item figure img {
	max-width: 34rem;
	height: auto;
	object-fit: cover;
}
.topics_label {
	background: #fff;
	border-radius: 5rem;
	color: #749541;
	position: absolute;
	left: 2rem;
	top: 1rem;
	width: 12rem;
	height: 3rem;
	display: flex;
	justify-content: center;
}
.topics_label span.en3 {
	padding-block: 0.6rem 0.4rem;
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.81;
	letter-spacing: .12em;
}
.topics_txt {
	background: #fff;
	padding: 1.2rem 2rem 1.6rem;
}
.topics_message {
	color: #749541;
	font-size: 1.1rem;
	font-weight: bold;
	letter-spacing: .1em;
	line-height: 2.54;
}
.topics_txt h2 {
	font-size: 1.4rem;
	letter-spacing: .16em;
	line-height: 2.14;
	font-weight: 500;
}
.topics_btn {
	margin-top: 1.6rem;
}
@media only screen and (max-width: 768px) {
	.topics {
		padding-bottom: 15rem;
	}
	.topics_tab {
		flex-direction: column;
		align-items: center;
	}
	.topics_tab a {
		width: 31rem;
		height: 4rem;
	}
	.topics_inner {
		margin-top: 4.8rem;
		padding-inline: 2rem;
		grid-template-columns: repeat(1 ,1fr);
		gap: 3rem;
	}
	.topics_item {
		max-width: 35rem;
	}
	.topics_item figure img {
		max-width: 35rem;
	}
	.topics_txt {
		width: 100%;
		padding: 1.2rem 2rem 2.1rem;
	}
}

/* topics_detail
----------------------------------------*/
.topics_detail_inner {
	max-width: 90rem;
	margin: 0 auto;
	padding-bottom: 21rem;
}
.topics_detail_message {
	font-size: 1.4rem;
	letter-spacing: .16em;
	line-height: 2.14;
	font-weight: 500;
	text-align: center;
	margin-top: 2rem;
}
.topics_detail_content {
	position: relative;
	margin-top: 4rem;
	padding-bottom: 8rem;
}
.topics_detail_content::before {
	content: "";
	position: absolute;
	top: 30rem;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 101%;
	background: #EEE9DF;
	z-index: -1;
}
.topics_detail_content figure img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
.topics_detail_content p {
	font-family: "Noto Sans JP", sans-serif;
	margin-top: 6rem;
	font-size: 1.3rem;
	line-height: 2;
	letter-spacing: .1em;
}
.topics_detail_flex {
	margin-top: 4rem;
	display: flex;
	gap: 1rem;
}
.topics_detail_content h2 {
	display: block;
	margin-top: 6rem;
	font-size: 1.8rem;
	color: #749541;
	line-height: 2.55;
	letter-spacing: .16em;
	font-weight: 500;
	padding-bottom: 1rem;
	border-bottom: .1rem solid #BDC8B1;
}
.topics_detail_flex figure {
	max-width: 44.5rem;
}
.topics_detail_flex p {
	margin-top: 0;
	flex: 1;
	padding-left: 5rem;
}
.topics_detail_column-3 {
	margin-top: 8rem;
	padding-top: 4rem;
	border-top: .1rem solid #BDC8B1;
	display: flex;
	gap: 3rem;
}
.topics_detail_column-3 + h2 {
	margin-top: 8rem;
}
.topics_detail_bnr {
	display: block;
	margin-top: 4rem;
}
.topics_detail_column-3 figure figcaption {
	margin-top: 1.6rem;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1.3rem;
	line-height: 2;
	letter-spacing: .1em;
}
.topics_detail_bnr img {
	box-shadow: .6rem .6rem 1.5rem rgba(0, 0, 0, 0.17);
}
.topics_detail_pager {
	border-top: .1rem solid #BDC8B1;
	padding-top: 4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.topics_detail_pager_prev,
.topics_detail_pager_next {
	color: #749541;
	font-size: 2rem;
	letter-spacing: .16em;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 1rem;
}
.topics_detail_pager_prev::before,
.topics_detail_pager_next::before {
	content: "";
	display: inline-block;
	width: .88rem;
	height: .8rem;
	background: url("../../img/topics/detail/ico-arrow.svg") no-repeat center / contain;
}
.topics_detail_pager_prev::before {
	transform: scaleX(-1);
}
.topics_detail_pager_next::before {
	order: 2;
}
@media only screen and (max-width: 768px) {
	.topics_detail_inner {
		padding-inline: 2rem;
		padding-bottom: 15rem;
	}
	.topics_detail_content {
		padding-bottom: 6rem;
	}
	.topics_detail_content::before {
		top: 12rem;
	}
	.topics_detail_content p {
		margin-top: 3rem;
		padding-inline: 0.5rem;
	}
	.topics_detail_content h2 {
		margin-top: 4rem;
		font-size: 1.6rem;
		line-height: 2;
	}
	.topics_detail_flex {
		margin-top: 2.4rem;
	}
	.topics_detail_flex_txt {
		flex-direction: column;
		gap: 2rem;
		padding-inline: .5rem;
	}
	.topics_detail_flex_txt p {
		margin-top: 0;
		padding-left: 0;
	}
	.topics_detail_column-3 {
		margin-top: 5.4rem;
		padding-top: 3rem;
		flex-direction: column;
		gap: 1rem;
	}
	.topics_detail_column-3 figure {
		display: flex;
		align-items: center;
		gap: 2rem;
	}
	.topics_detail_column-3 figure img {
		max-width: 14.9rem;
	}
	.topics_detail_column-3 figure figcaption {
		margin-top: 0;
		flex: 1;
	}
	.topics_detail_bnr {
		margin-top: 3rem;
	}
	.topics_detail_pager {
		display: grid;
		grid-template-areas:
        "prev next"
        "index index";
    -ms-grid-columns: 1fr 0 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
		padding-top: 1.3rem;
	}
	.topics_detail_pager_index {
		grid-area: index;
		text-align: center;
	}
	.topics_detail_pager_prev {
		grid-area: prev;
	}
	.topics_detail_pager_next {
		grid-area: next;
    margin-left: auto;
	}
	.topics_detail_pager_prev,
	.topics_detail_pager_next {
		font-size: 1.6rem;
	}
}