.p-archive-words__ttl {
	margin-bottom: 4em;
	@media (width <= 767px) {
		margin-bottom: 2em;
	}
}

.p-archive-words__ttl-text {
	display: flex;
	align-items: center;
	gap: 1em;
	span {
		&:first-child {
			font-size: calc(20 / 16 * 1rem);
			font-weight: 900;
		}
		&:last-child {
			display: flex;
			align-items: center;
			gap: 1em;
			&:before {
				content: "";
				display: block;
				width: 1px;
				height: 1em;
				background-color: #000;
			}
		}
	}
}

.p-archive-words__nav {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 10px;
	margin-bottom: 4em;
	@media (width <= 767px) {
		grid-template-columns: repeat(5, 1fr);
	}
}

.p-archive-words__nav-item {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	padding: 0.625rem 0;
	border: 1px solid #000;
	color: #000;
	text-decoration: none;
	transition: 0.3s;
	@media (width <= 767px) {
		padding: 10px 0;
	}
}

@media (any-hover: hover) {
	a.p-archive-words__nav-item:hover {
		opacity: 0.7;
	}
}

.p-archive-words__nav-item--is-disabled {
	cursor: not-allowed;
	pointer-events: none;
	opacity: 0.4;
}

.p-archive-words__nav-label {
	display: inline-block;
	white-space: nowrap;
	font-weight: 900;
	line-height: 1;
	color: inherit;
}

.p-archive-words__nav-k {
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 900;
	@media (width <= 767px) {
		font-size: 1rem;
	}
}

.p-archive-words__nav-go {
	font-size: 0.9375rem;
	line-height: 1;
	font-weight: 900;
	@media (width <= 767px) {
		font-size: 0.75rem;
	}
}

.p-archive-words__nav-chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 0.75rem;
	height: 0.375rem;
	color: #000;
}

.p-archive-words__nav-chevron img {
	display: block;
	width: 100%;
	height: auto;
}

.p-archive-words__body {
	display: flex;
	flex-direction: column;
	gap: 3em;
	@media (width <= 767px) {
		gap: 2em;
	}
}

.p-archive-words__section {
	margin: 0;
}

.p-archive-words__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem;
	margin: 0 0 2em;
	padding: 0.375rem 0;
	border-bottom: 1px solid #000;
	font-weight: 900;
	color: #000;
	scroll-margin-top: 6.875rem;
}

.p-archive-words__head-k {
	font-size: 1.625rem;
	line-height: 1;
	font-weight: 900;
	@media (width <= 767px) {
		font-size: 1.25rem;
	}
}

.p-archive-words__head-go {
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 900;
	@media (width <= 767px) {
		font-size: 1rem;
	}
}

.p-archive-words__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.6875rem 3.125rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-archive-words__cell {
	margin: 0;
}

.p-archive-words__link {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: #000;
	text-decoration: none;
	transition: 0.3s;
}

@media (any-hover: hover) {
	.p-archive-words__link:hover {
		opacity: 0.7;
	}
}

.p-archive-words__icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.1875rem;
	color: #000;
}

.p-archive-words__icon img {
	display: block;
	width: 100%;
	height: auto;
}

.p-archive-words__label {
	flex: 1 1 auto;
	min-width: 0;
}

.p-archive-words__empty {
	margin: 0;
	text-align: center;
}

@media (width <= 1023px) {
	.p-archive-words__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1.5rem;
	}
}

@media (width <= 600px) {
	.p-archive-words__nav {
		margin-bottom: 2em;
	}

	.p-archive-words__head {
		scroll-margin-top: 5.625rem;
		margin-bottom: 1em;
	}

	.p-archive-words__grid {
		grid-template-columns: 1fr;
		gap: 1em;
	}
}

/* --------------------------------------------------------------------------
   用語集シングル（single-words.php）
   -------------------------------------------------------------------------- */

.p-single-words {
	.p-single__inner {
		flex-direction: row-reverse;
		@media (width <= 1023px) {
			flex-direction: column;
		}
	}
}

.p-single-words__hero {
	padding: 0 0 3em;
}

@media (width <= 767px) {
	.p-single-words__hero {
		padding: 1.875rem 0 1.5rem;
	}
}

.p-single-words__eyebrow {
	margin: 0 0 1em;
	font-weight: 900;
}

.p-single-words__title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.p-single-words__title-icon {
	flex-shrink: 0;
	width: 2.5rem;
	color: #000;
}

.p-single-words__title-icon img {
	display: block;
	width: 100%;
	height: auto;
}

.p-single-words__title {
	flex: 1 1 auto;
	margin: 0;
	min-width: 0;
	font-size: 1.625rem;
	line-height: 1.3;
	font-weight: 900;
	color: #000;
}

.p-single-words__body {
	> *:first-child {
		margin-top: 0;
	}

	> *:last-child {
		margin-bottom: 0;
	}
}

.p-single-words__archive-all {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 360px;
	margin-top: 4em;
	padding: 10px;
	background-color: #000;
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.3s;
}

@media (any-hover: hover) {
	.p-single-words__archive-all:hover {
		opacity: 0.7;
	}
}

.p-single-words__aside-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem;
	margin: 0 0 1.5rem;
	padding: 0.375rem 0;
	border-bottom: 1px solid #000;
	font-weight: 900;
	color: #000;
}

.p-single-words__aside-head-k {
	font-size: 1.625rem;
	line-height: 1;
	font-weight: 900;
}

.p-single-words__aside-head-go {
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 900;
}

.p-single-words__aside-list {
	display: grid;
	gap: 1rem;
	@media (width <= 1023px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	@media (width <= 600px) {
		grid-template-columns: 1fr;
	}
}

.p-single-words__aside-item {
	margin: 0;
}

.p-single-words__aside-link {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	color: #000;
	text-decoration: none;
	transition: opacity 0.3s;
}

@media (any-hover: hover) {
	.p-single-words__aside-link:hover {
		opacity: 0.7;
	}
}

.p-single-words__aside-icon {
	flex-shrink: 0;
	width: 1.25rem;
	margin-top: 0.125em;
	color: #000;
}

.p-single-words__aside-icon img {
	display: block;
	width: 100%;
	height: auto;
}

.p-single-words__aside-label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 500;
}

.p-single-words__aside-link--is-current .p-single-words__aside-label {
	font-weight: 700;
}
