/* Reset */

html, body, div, h1, p, img {
	margin: 0;
	padding: 0;
	border: 0;
}

html, body {
	height: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

body *:first-child {
	margin-top: 0;
}

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

*, *::before, *::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border: none;
	outline: none;
}



/* Root */

:root {
	--font-title: 'Source Serif Pro', serif;
	--font-text: 'Roboto', sans-serif;

	--font-size-md: 18px;
	--font-size-lg: 20px;

	--line-height-md: calc(1em + 12px);

	--color-white: #FFF;
	--color-black: #091D36;
	--color-black-90: #21334A;
	--color-special: #07C;
	--color-special-light: #E9F3FF;

	--space-50: 50px;
	--space-wrapper: 30px;
}

@media only screen and (max-width: 1919px) {
	:root {
		--space-50: 40px;
	}
}

@media only screen and (max-width: 1279px) {
	:root {
		--font-size-md: 16px;
		--font-size-lg: 18px;

		--line-height-md: calc(1em + 10px);

		--space-50: 35px;
	}
}

@media only screen and (max-width: 767px) {
	:root {
		--font-size-md: 14px;
		--font-size-lg: 16px;

		--line-height-md: calc(1em + 8px);

		--space-50: 30px;
	}
}

@media only screen and (max-width: 413px) {
	:root {
		--space-wrapper: 20px;
	}
}



/* Typography */

body {
	color: var(--color-black-90);
	font-family: var(--font-text);
	font-size: var(--font-size-md);
	font-weight: 400;
	line-height: var(--line-height-md);
}

h1 {
	color: var(--color-black);
	font-family: var(--font-title);
	font-weight: 600;
	position: relative;
}

body .text-align-center {
	text-align: center;
}



/* Main */

body {
	min-width: 320px;
	background: var(--color-white);
	position: relative;
}

.wrapper {
	width: 100%;
	max-width: 1500px;
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--space-wrapper);
	padding-left: var(--space-wrapper);
}

.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}



/* Page */

.error-page {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: center;
	min-height: 100vh;
	padding: 50px 0;
	background: linear-gradient(var(--color-white), var(--color-special-light));
	position: relative;
	overflow: hidden;
}
.error-info {
	max-width: inherit;
	padding: 0;
}
.error-info img {
	display: block;
	width: auto;
	height: 76px;
	margin: 0 auto var(--space-50) auto;
}
.error-ttl {
	margin: 0;
	font-size: 40px;
	line-height: 1.5;
}
.error-txt {
	margin: 0;
	color: var(--color-special);
	font-size: 24px;
	line-height: 1.5;
}

@media only screen and (max-width: 767px) {
	.error-page {
		padding: 30px 0;
	}
	.error-info img {
		height: 38px;
	}
	.error-ttl {
		font-size: 24px;
	}
	.error-txt {
		font-size: var(--font-size-lg);
	}
}
