* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.global-wrapper {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.header {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: orange;
	color: #444;
	height: 48px;
	line-height: 48px;
	z-index: 999;
	box-shadow: 0 1px 2px #444;
}
.header-inner {
	font-weight: bold;
	font-size: 16px;
	font-family: sans-serif;
	max-width: 768px;
	margin: 0 auto;
	padding-left: 8px;
}

.main-wrapper {
	max-width: 768px;
	margin: 0 auto;
}
.main-inner {
	padding: 96px 8px 48px;
}

.title {
	padding: 16px;
	background-color: #444;
	color: #fff;
	text-align: center;
}
section {
	margin-bottom: 64px;
}
h2 {
	font-size: 32px;
	margin-bottom: 8px;
}
.relative-wrapper {
	max-width: 768px;
}
.container {
	width: 300px;
	height: 150px;
	border: 3px orange solid;
}
.box {
	padding: 8px;
	background-color: #444;
	position: relative;
	color: #cdcdcd;
	top: 16px;
	left: 16px;
	bottom: 32px;
}

/* relative */
.relative {
	position: relative;
	width: 120px;
	height: 120px;
	margin-right: 16px;
}
.absolute-wrapper {
	display: flex;
	flex-wrap: wrap;
}
.absolute {
	position: absolute;
	display: inline-block;
	background-color: orange;
	color: #444;
	font-weight: bold;
	padding: 4px;
}
figcaption {
	text-align: center;
	color: #777;
	font-size: 14px;
}
.tl {
	top: 0;
	left: 0;
}
.tr {
	top: 0;
	right: 0;
}
.bl {
	bottom: 0;
	left: 0;
}
.br {
	bottom: 0;
	right: 0;
}

/* sticky */
.sticky-wrapper {
	display: flex;
	justify-content: center;
	max-width: 768px;
	min-width: 95%;
}
.sticky-wrapper > div {
	width: 75%;
	margin-right: 16px;
}
.sticky-wrapper > aside {
	width: 25%;
}
.toc {
	padding: 8px 16px 8px;
	background-color: orange;
	border-radius: 8px;
	position: sticky;
	top: 80px;
}
.toc > ul {
	list-style: none;
}

.arrow {
	display: inline-block;
	margin-right: 16px;
}
.not .tips {
	border-radius: 50%;
	top: -4px;
	left: -4px;
}
.not-center {
	top: 50%;
	left: 50%;
}
.center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* footer */
footer {
	margin-top: 128px;
	padding: 0 96px;
}
.footer {
	color: #444;
	font-weight: bold;
	text-align: center;
	border-top: 1px solid #cdcdcd;
	height: 48px;
	line-height: 48px;
}

/* sp */
.sp-figcaption {
	width: 400px;
}
@media (max-width: 420px) {
	.sp-figcaption {
		width: 100%;
	}
}
