/* ApparelX Wiki の用語の目印とカード(商品ページ) */
.wikiterm {
	text-decoration-line: underline;
	text-decoration-style: dotted;
	text-decoration-color: #7ea8df;
	text-decoration-thickness: 2px;
	text-underline-offset: .2em;
	border-radius: 3px;
	cursor: help;
	transition: background-color .12s ease;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.wikiterm:hover, .wikiterm.is-active, .wikiterm:focus-visible {
	background-color: #dbe9fb;
	outline: none;
}
.wikiterm:focus-visible {
	box-shadow: 0 0 0 2px #7ea8df;
}
.wikitermcard {
	position: absolute;
	z-index: 1000;
	width: 360px;
	max-width: calc(100vw - 24px);
	box-sizing: border-box;
	padding: 16px 18px 13px;
	border: 1px solid #e1e4ea;
	border-radius: 12px;
	background: #ffffff;
	color: #30343b;
	box-shadow: 0 14px 34px rgba(18, 24, 40, .13), 0 2px 6px rgba(18, 24, 40, .06);
	font-size: 14px;
	line-height: 1.75;
	text-align: left;
}
.wikitermcard[hidden], .wikitermsheet[hidden], .wikitermsheet_back[hidden] {
	display: none;
}
.wikitermcard_head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 2px 8px;
	margin-bottom: 4px;
}
.wikitermcard_name {
	font-weight: bold;
	font-size: 15px;
	color: #1f2329;
}
.wikitermcard_sub {
	font-size: 12px;
	color: #7a808a;
}
.wikitermcard_definition {
	margin: 0;
}
.wikitermcard_foot {
	margin-top: 10px;
	padding-top: 9px;
	border-top: 1px solid #eef0f3;
	font-size: 13px;
}
.wikitermcard_foot a {
	color: #1b5bb3;
	font-weight: bold;
	text-decoration: none;
}
.wikitermcard_foot a:hover {
	text-decoration: underline;
}
.wikitermsheet_back {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(20, 22, 26, .26);
}
.wikitermsheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1001;
	box-sizing: border-box;
	padding: 10px 18px calc(20px + env(safe-area-inset-bottom, 0px));
	border-radius: 16px 16px 0 0;
	background: #ffffff;
	color: #30343b;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, .18);
	font-size: 15px;
	line-height: 1.8;
	text-align: left;
}
.wikitermsheet_grip {
	width: 38px;
	height: 4px;
	margin: 0 auto 10px;
	border-radius: 4px;
	background: #d0d3d9;
}
.wikitermsheet_actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	margin-top: 14px;
}
.wikitermsheet_actions a, .wikitermsheet_actions button {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}
.wikitermsheet_link {
	border: 1.5px solid #1b5bb3;
	color: #1b5bb3;
	font-weight: bold;
	text-decoration: none;
}
.wikitermsheet_close {
	border: 1px solid #d0d3d9;
	background: #ffffff;
	color: #424242;
	font-family: inherit;
	cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
	.wikiterm {
		transition: none;
	}
}
