/*
selection
*/
::selection {
	color: #fff;
	background-color: #334;
}
/*
<wbr><span>...</span> は改行させない
*/
wbr {
	&:after {
		content: "\00200B";		/*ゼロ幅スペース*/
	}
	+ span {
		white-space: nowrap;
	}
}
/*
browsercaution jscaution preview
*/
input#browsercaution[type="checkbox"] {
	display: none;
}
label[for="browsercaution"],#jscaution,#preview {
	position: fixed;
	text-align: center;
	font-size: 1.3rem;
	padding: 20px;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
	opacity: 0.7;
	transition: all 0.5s;
	max-height: 100px;
	overflow: hidden;
	@media print {
		display: none;
	}
	&:hover {
		opacity: 1;
	}
}
label[for="browsercaution"] {
	bottom: 0;
	z-index: 500;
	background-color: #f00;
	cursor: pointer;
}
#jscaution {
	bottom: 0;
	z-index: 502;
	background-color: #ff0;
	color: #111;
}
#preview {
	top: 0;
	z-index: 499;
	background-color: #f00;
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1.5;
	opacity: 0.7;
}
input#browsercaution[type="checkbox"]:checked + label[for="browsercaution"] {
	padding: 0;
	max-height: 0;
}
/*
breadcrumbs
*/
section.breadcrumbs {
	overflow: hidden;
	padding-block: 5px;
	padding-inline: 5%;
	@media print {
		display: none;
	}
	> div {
		margin-inline: auto;
		max-width: 1920px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 5px;
		row-gap: 2px;
		> div {
			display: flex;
			align-items: center;
			column-gap: 4px;
			> div {
				background-image: url(../image/breadcrumbs_chevron.svg);
				background-repeat: no-repeat;
				width: 7px;
				height: 12px;
				min-width: 7px;
			}
			> a {
				text-decoration: none;
				white-space: nowrap;
				font-size: 14px;
				line-height: 1.3;
				color: #333;
				&:hover {
					opacity: 0.7;
				}
			}
		}
	}
}
/*
top of page
*/
section.movepagetop {
	user-select: none;
	position: fixed;
	right: 0px;
	bottom: -90px;
	z-index: 500;
	opacity: 0.2;
	transition: bottom 0.3s, opacity 0.3s;
	@media print {
		display: none;
	}
	&:hover {
		opacity: 1;
	}
	&.on {
		bottom: 0px;
	}
	> a {
		> img {
			cursor: pointer;
			@media (width < 900px) {
				width: 50px;
			}
		}
	}
}
