@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;700&display=swap');

:root {
	--theme-color: #9ea3fc;
	--bg-color: #16191c;
	font-size: 16px;
	}

* {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-style: normal;
	list-style: none;
	}

body {
	padding: 0 48px;
	text-align: center;
	font-family: 'Noto Sans JP', sans-serif;
	background: var(--bg-color);
	color: #ccc;
	}

a {
	color: var(--theme-color);
	}

	a.back {
		display: block;
		width: fit-content;
		margin-top: 8px;
		padding: 4px 16px 4px 12px;
		text-decoration: none;
		border: 1px solid var(--theme-color);
		border-radius: 4px;
		}

	a.back::before {
		content: "←";
		margin-right: 1ex;
		}

	a.back:hover {
		background: var(--theme-color);
		color: var(--bg-color);
		}

h1 {
	width: 256px;
	margin: 48px auto 24px auto;
	}

h2 {
	margin: 0 auto;
	font-size: 1.3rem;
	font-feature-settings: "palt";
	letter-spacing: 0.1em;
	background-image: -webkit-linear-gradient(60deg, #ff752f, #ff2aad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-animation: hue 2s infinite linear;
	}

	h2 small {
		font-size: .7rem;
		}

	h2 br {
		display: none;
		}

@-webkit-keyframes hue {
	from {  -webkit-filter: hue-rotate(0deg) }
	to { -webkit-filter: hue-rotate(360deg) }
	}

h3 {
	font-size: 1.5rem;
	color: #fff;
	}

	#install h3 {
		font-size: 2.4rem;
		}

	body.docs #install h3 {
		font-size: 1.6rem;
		line-height: 2rem;
		}

	h3:not(:first-of-type) {
		margin-top: 48px;
		padding-top: 40px;
		border-top: 1px solid var(--theme-color);
		}

h3 i {
	display: block;
	font-size: 0.8rem;
	}

h4 {
	margin-top: 40px;
	color: var(--theme-color);
	}

h4:not(:first-of-type) {
	padding-top: 40px;
	border-top: 1px solid #555;
	}

h5:not(:first-of-type) {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #555;
	}

#key-visual {
	display: flex;
	justify-content: center;
	column-gap: 48px;
	width: 100%;
	margin: 72px auto;
	overflow: hidden;
	}

#key-visual img {
	max-height: 400px;
	}

#key-visual img#scene {
	border-radius: 16px;
	}

.content {
	display: flex;
	justify-content: center;
	column-gap: 64px;
	text-align: left;
	}

#install {
	width: 640px;
	}

	body.docs #install {
		width: 800px;
		}

#install h3 + p {
	padding-bottom: 40px;
	border-bottom: 1px solid #555;
	}

#install ol li {
	list-style-type: decimal;
	}

#install ul li {
	list-style-type: circle;
	}

#install li {
	margin-top: 16px;
	margin-left: 1.6em;
	}

#install li a {
	color: var(--theme-color);
	text-decoration: underline;
	cursor: pointer
	}

#install li a.external {
	display: inline-block;
	padding-right: 24px;
	background: url(../image/external.svg) no-repeat right bottom;
	background-size: 20px;
	}

img.example {
	margin-top: 16px;
	border-radius: 4px;
	width: 100%;
	}

#install p {
	margin: 16px 0;
	}

#install .detail {
	margin-top: 8px;
	padding: 16px;
	background-color: #333;
	border-radius: 8px;
	}

#install .detail dt {
	display: block;
	margin-bottom: 4px;
	font-size: .9rem;
	line-height: 120%;
	font-weight: bold;
	color: #fff;
	}

#install a.button {
	display: block;
	width: fit-content;
	margin-top: 8px;
	padding: 0 0 0 24px;
	background-color: var(--theme-color);
	border-radius: 20px;
	color: rgba(0,0,0,.7);
	line-height: 40px;
	text-decoration: none;
	}

#install a.button em {
	display: inline-block;
	background-color: rgba(255,255,255,.4);
	border-radius: 12px;
	margin: 8px;
	padding: 0 12px;
	font-size: 80%;
	line-height: 24px;
	vertical-align: top;
	}

#install article {
	display: flex;
	align-items: start;
	column-gap: 32px;
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid #555;
	}

	#install article:first-of-type {
		margin-top: 0;
		padding-top: 16px;
		border: none;
		}

#install article h4 {
	border: none;
	margin-top: 0;
	}

#install article > img {
	width: 192px;
	height: auto;
	border-radius: 4px;
	}

#install article > div {
	flex-grow: 1;
	}

#remote {
	display: block;
	margin-top: 24px;
	padding: 24px 0;
	border-radius: 32px;
	background-color: #333;
	}

#remote .ss {
	margin: 0 24px 16px 24px;
	}

#remote .ss img {
	width: 100%;
	border-radius: 16px;
	}

#remote p {
	display: flex;
	height: 96px;
	align-items: center;
	margin: 8px 24px 0 0;
	font-weight: bold;
	}

#remote a.button {
	display: none;
	width: fit-content;
	margin-top: 8px;
	padding: 0 0 0 24px;
	background-color: var(--theme-color);
	border-radius: 20px;
	color: #000;
	line-height: 40px;
	text-decoration: none;
	}

#remote span.button {
	display: none;
	}

#remote a.button em {
	display: inline-block;
	background-color: rgba(255,255,255,.2);
	border-radius: 12px;
	margin: 8px;
	padding: 0 12px;
	font-size: 80%;
	line-height: 24px;
	}

#remote img.qr {
	display: block;
	float: right;
	width: 96px;
	margin: 8px 0 0 16px;
	border-radius: 2px;
	}

#remote h5 {
	margin: 32px 24px 0 24px;
	}

#remote h6 {
	margin: 16px 24px 0 24px;
	font-weight: normal;
	}

#remote ol {
	margin: 0 24px 24px 24px;
	overflow: hidden;
	}

#remote ul {
	position: relative;
	margin: 0 24px;
	color: #fff5b4;
	overflow: hidden;
	}

#remote img.example {
	display: block;
	margin-top: 16px;
	width: 100%;
	border-radius: 8px;
	}

#remote .important {
	margin-top: 16px;
	padding: 16px;
	background-color: #a00;
	border-radius: 16px;
	}

#install .important dt {
	display: block;
	margin-bottom: 4px;
	font-size: .9rem;
	line-height: 120%;
	font-weight: bold;
	color: #fff;
	}

#update {
	margin-top: 24px;
	padding: 20px 24px 8px 24px;
	border-radius: 16px;
	background-color: #333;
	}

#update time {
	margin-right: 1ex;
	font-weight: bold;
	}

	#update ul + time {
		margin-top: 8px;
		}

#update ul {
	/* margin: 8px 0 16px 0; */
	margin: 8px 0 16px 0;
	border-top: 1px dotted rgba(255,255,255,.3);
	/* border-bottom: 1px dotted rgba(255,255,255,.3); */
	}

#update li {
	margin-top: 8px;
	}

#update a {
	display: block;
	text-align: right;
	color: var(--theme-color);
	text-decoration: underline;
	cursor: pointer;
	}

	#update.detail a {
		display: none;
		}

#update #update-detail {
	display: none;
	}

	#update.detail #update-detail {
		display: block;
		}

#update #update-detail em {
	display: block;
	margin-top: 16px;
	font-weight: bold;
	}

#update #update-detail p {
	margin: 12px 0 0 0;
	}

#update #update-detail img {
	margin: 16px 0 4px 0;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 8px;
	}

#special-thanks {
	width: 192px;
	white-space: nowrap;
	}

#special-thanks ul {
	padding-top: 32px;
	}

#special-thanks li {
	}

#special-thanks a {
	display: block;
	padding-bottom: 4px;
	margin-bottom: 4px;
	border-bottom: 1px solid #555;
	color: var(--theme-color);
	text-decoration: none;
	line-height: 24px;
	}

#special-thanks a:hover {	
	color: #fff;
	}

	#special-thanks a.troubleshooting {
		display: block;
		position: sticky;
		top: 32px;
		width: auto;
		max-width: 100%;
		margin-bottom: 24px;
		padding: 0;
		box-shadow: 0 -32px 0 8px var(--bg-color);
	    background: var(--bg-color);
		border: none;
		border-radius: 0 0 8px 8px;
		}

	#special-thanks a.troubleshooting::before {	
		display: none;
		}

	#special-thanks a.troubleshooting img {
		display: block;
		width: 100%;
		max-width: 256px;
		}

#special-thanks a:hover::before {	
	background-color: #fff;
	}

#special-thanks a::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 4px 4px 0 0;
	background-color: var(--theme-color);
	border-radius: 10px;
	}

footer {
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
	align-items: center;
	border-top: 1px dotted #ccc;
	margin-top: 48px;
	padding: 64px 0 64px 0;
	}

footer div.container,
footer a {
	display: flex;
	gap: 8px;
	position: relative;
	text-decoration: none;
	color: inherit;
	}

footer a.lab {
	display: block;
	height: 48px;
	margin-right: 16px;
	text-align: center;
	}

footer a.lab img {
	width: auto;
	height: 100%;
	}

footer a img.icon {
	width: 48px;
	border-radius: 24px;
	}

footer span {
	display: block;
	padding-top: 4px;
	text-align: left;
	}

footer a strong {
	font-size: 0.9rem;
	line-height: 16px;
	text-decoration: underline;
	color: #fff;
	vertical-align: top;
	}

footer a img.x {
	width: 16px;
	height: 16px;
	vertical-align: top;
	}

footer a i {
	display: block;
	white-space: nowrap;
	font-size: 0.9rem;
	line-height: 16px;
	}

footer em {
	display: block;
	font-size: 0.9rem;
	}



/* ////////// over 1440 ////////// */

@media screen and (min-width: 1440px) {

header {
	position: fixed;
	top: 48px;
	left: 0;
	width: 35%;
	padding: 0 0 0 48px;
	box-sizing: border-box;
	}

main {
	margin-left: 35%;
	padding-bottom: 64px;
	}

	body.docs main {
		padding-top: 64px;
		}

h1 {
	margin-top: 10px;
	}

h2 br {
	display: block;
	}

footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 35%;
	padding-left: 48px;
	border: none;
	box-sizing: border-box;
	}

footer div.container {
	padding-top: 48px;
	}

footer a.lab {
	margin-top: 8px;
	height: 36px;
	}

}



/* ////////// under 960 ////////// */

@media screen and (max-width: 960px) {

h2 br {
	display: block;
	}

#key-visual {
	display: block;
	position: relative;
	margin: 72px -24px;
	width: auto;
	text-align: right;
	}

#key-visual img#controller {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(20% + 64px);
	max-height: none;
	z-index: 10;
	}

#key-visual img#scene {
	position: relative;
	width: 80%;
	margin-top: 32px;
	max-height: none;
	z-index: 1;
	}

.content {
	flex-direction: column;
	justify-content: center;
	gap: 64px;
	text-align: left;
	}

#install {
	width: auto !important;
	}

#special-thanks {
	width: auto;
	}

	#special-thanks a.troubleshooting {
		position: static;
		max-width: 256px;
		margin: 0 auto;
		}

#special-thanks h3 {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--theme-color);
	font-size: 2.4rem;
	}

#special-thanks ul {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	column-gap: 0;
	row-gap: 8px;
	}

#special-thanks li {
	width: 25%;
	}

}



/* ////////// under 800 ////////// */

@media screen and (max-width: 800px) {

#remote a.button {
	display: block;
	}

#remote span.button {
	display: inline;
	}

#remote .qr {
	display: none !important;
	}

#special-thanks li {
	width: 33.33%;
	}

}



/* ////////// under 576 ////////// */

@media screen and (max-width: 576px) {

body {
	padding: 16px 24px 0 24px;
	}

h1 {
	width: 240px;
	margin: 8px auto;
	}

h2 {
	text-align: left;
	}

h2 br {
	display: none;
	}

#key-visual {
	margin: 48px -24px;
	}

#key-visual img#controller {
	left: 16px;
	width: calc(20% + 72px);
	}

#key-visual img#scene {
	width: 110%;
	margin-right: -28%;
	}

#install article {
	flex-direction: column;
	}

#install article > img {
	width: 100%;
	margin-bottom: 24px;
	}

#remote img.icon {
	display: block;
	float: none;
	margin: 16px auto;
	}

#remote p {
	display: block;
	height: auto;
	margin: 0 24px 24px 24px;
	}

#special-thanks li {
	width: 50%;
	}

footer {
	padding-top: 0;
	border: none;
	}

footer div.container {
	flex-direction: column;
	}

footer a.lab {
	margin-bottom: 16px;
	height: 32px;
	text-align: center;
	}

}



/* ////////// under 360 ////////// */

@media screen and (max-width: 360px) {

:root {
	font-size: 14px;
	}

#remote {
	margin-top: 24px;
	padding: 16px 0;
	border-radius: 32px;
	background-color: #333;
	}

#remote .ss,
#remote h5,
#remote ol {
	margin-right: 16px;
	margin-left: 16px;
	}

}