@charset "UTF-8";


.em-text {
	font-size: var(--font-xl);
	font-weight: 600;
	line-height: 1.8;
	background: linear-gradient(transparent 50%, rgb(247, 210, 18, .5) 0%);
}
.infomation-text {
	font-size: var(--font-l);
	font-weight: 600;
	padding-top: 2em;
	@media (min-width: 1000px) {
		text-align: center;
	}
}
.category-nav {
	background-color: var(--color-primary-bg);
	padding: 15px 2vw;
	border-radius: 5px;
	margin-bottom: 20px;
	ul {
		display: flex;
		flex-wrap: wrap;
		li {
			width: 50%;
			text-align: center;
			a {
				display: block;
				font-weight: 500;
				font-size: var(--font-l);
				padding: 5px;
			}
			&:nth-of-type(n+3) {
				margin-top: 10px;
			}
			&:nth-of-type(even) {
				border-left: 1px solid var(--color-primary);
			}
		}
	}
	@media (min-width: 1000px) {
		padding: 20px;
		margin-bottom: 40px;
		ul {
			justify-content: center;
			li {
				width: auto;
				&+li {
					border-left: 1px solid var(--color-primary);
				}
				&:nth-of-type(n+3) {
					margin-top: 0;
				}
				a {
					display: block;
					font-weight: 500;
					font-size: var(--font-l);
					padding: 10px 2em;
				}
			}
		}
	}
}
.topics-detail {
	.topics-box {
		box-shadow: var(--card-shadow);
		border-radius: var(--radius02);
		border: 1px solid #fff;
		&+.topics-box {
			margin-top: 30px;
		}
		a {
			display: block;
			height: 100%;
			border-radius: var(--radius02);
			transition: all 0.3s ease-out;
			&:hover {
				box-shadow: 0 0 0 1px var(--color-primary);
			}
		}
	}
	.category-box {
		margin-bottom: 10px;
		.category {
			display: inline-block;
			color: #fff;
			font-size: var(--font-s);
			background-color: var(--color-secondary);
			padding: 0 8px;
			margin-right: 5px;
		}
	}
	.topics-title {
		font-size: var(--font-m);
		font-weight: 500;
		line-height: 1.6;
	}
	.topics-image {
		aspect-ratio: 16 / 9;
		display: flex;
		align-items: flex-end;
		justify-content: center;
		background-color: var(--color-primary-bg);
		text-align: center;
		border-top-left-radius: var(--radius02);
		border-top-right-radius: var(--radius02);
		padding-top: 20px;
		img {
			width: 70%;
			max-height: 140px;
		}
	}
	.topics-detail {
		padding: 20px 4vw;
	}
	@media (min-width: 1000px) {
		.topics-box {
			&+.topics-box {
				margin-top: 0;
			}
			&:nth-of-type(3n) {
				margin-right: 0;
			}
			&:nth-of-type(n+4) {
				margin-top: 50px;
			}
			.topics-image {
				padding-top: 30px;
				img {
					width: auto;
					max-height: inherit;
				}
			}
			.topics-detail {
				padding: 20px;
			}
		}
	}
}


/*
.pager
---------------------------*/
.pager {
	ul {
		text-align: center;
		padding-top: 30px;
	}
	li,
	li:nth-child(-n+2),
		li+li,
		li:nth-child(even) {
			width: auto;
			display: inline-block;
			vertical-align: middle;
			color: #000;
			margin: 0 6px;
			padding: 0;
			float: none;
			a {
				display: block;
				padding: 7px;
				text-decoration: none;
			}
			.current {
				display: block;
				padding: 7px;
				font-weight: 600;
				color: v.$mainColor;
				border-bottom: 1px solid var(--color-primary);
			}
	}
	@media (min-width: 1000px) {
		ul {
			padding-top: 50px;
		}
		li,
		li:nth-child(-n+2),
		li+li,
		li:nth-child(even) {
			font-size: 16px;
			margin: 0 8px;
			a,
			.current {
				padding: 8px;
			}
		}
	}
}

.topics-post-content {
	border-radius: var(--radius01);
	border: 1px solid var(--color-border-1);
	padding: 20px 6vw;
	p, .pb{
		padding-bottom: 1.5em;
	}
	li {
		line-height: 1.6;
	}
	dl,
	div {
		&+dl,
		&+.inner-title,
		&+div {
			margin-top: 25px;
		}
	}
	dt, .inner-title {
		color: var(--color-primary);
		font-weight: 600;
		line-height: 1.6;
		font-size: var(--font-xl);
		margin-bottom: .5em;
	}
	dd {
		line-height: 1.6;
		&+dd {
			padding-top: 1em;
		}
		a {
			color: var(--color-primary);
			text-decoration: underline;
		}
	}
	>div {
		&+div {
			margin-top: 30px;
		}
		div {
			&+div {
				margin-top: 25px;
			}
		}
	}
	.note {
		color: #999;
		font-size: var(--font-s);
		padding-top: 1em;
	}
	.dot {
		position: relative;
		padding-left: 18px;
		&:before {
			content: "";
			display: block;
			width: 12px;
			height: 12px;
			border: 4px solid var(--color-primary);
			position: absolute;
			top: 9px;
			left: 0;
			border-radius: 50px;
		}
	}
	@media (min-width: 1000px) {
		padding: 50px;
		.content-title {
			margin-bottom: 20px;
		}
		p {
			padding-bottom: 1.5em;
		}
		dl,
		div {
			&+dl,
			&+.inner-title,
			&+div {
				margin-top: 35px;
			}
		}
		>div {
			&+div {
				margin-top: 50px;
			}
			div {
				&+div {
					margin-top: 35px;
				}
			}
		}
		.dot {
			padding-left: 22px;
			&:before {
				top: 9px;
				width: 16px;
				height: 16px;
				border: 5px solid var(--color-primary);
			}
		}
	}
}
.detail-nav {
	display: flex;
	justify-content: space-between;
	padding: 40px 0;
	.prev,
	.next {
		width: 50%;
		position: relative;
		padding-right: 30px;
		&:before {
			display: block;
			top: 0;
			bottom: 0;
			right: 0;
			position: absolute;
			content: "";
			background-image: url(../img/common/icon-arrow-g.svg);
			background-position: center center;
			background-repeat: no-repeat;
			background-size: contain;
			width: 15px;
			transition: all 0.3s ease;
			margin: auto;
		}
		a, span {
			white-space: nowrap;
			line-height: 1.75;
		}
	}
	.prev {
		text-align: left;
		padding: 0 0 0 30px;
		&:before {
			right: auto;
			left: 0;
			transform: scale(-1, 1);
		}
	}
	.next {
		text-align: right;
	}
	.vhidden {
		visibility: hidden;
	}
}