@import url(font-awesome.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic");

/*
	Modern Responsive Version - Updated from Strata by Pixelarity
	Removed skel dependency, updated with modern CSS Grid/Flexbox
*/

/* CSS Variables */
:root {
	--primary-color: #619be2;
	--text-color: #a2a2a2;
	--heading-color: #787878;
	--white: #ffffff;
	--background: #fff;
	--border-color: #efefef;
	--light-gray: #f7f7f7;
	--sidebar-width: 35%;
	--main-padding: 4em;
	--section-spacing: 4em;
}

/* Reset & Box Model */
*, *:before, *:after {
	box-sizing: border-box;
}

/* Basic */
body {
	background: var(--background);
	margin: 0;
	padding: 0;
}

body.is-loading *, body.is-loading *:before, body.is-loading *:after {
	animation: none !important;
	transition: none !important;
}

body, input, select, textarea {
	color: var(--text-color);
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 12pt;
	font-weight: 400;
	line-height: 1.75em;
}

a {
	transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	border-bottom: dotted 1px;
	color: var(--primary-color);
	text-decoration: none;
}

a:hover {
	border-bottom-color: transparent;
	color: var(--primary-color) !important;
	text-decoration: none;
}

strong, b {
	color: var(--heading-color);
	font-weight: 400;
}

em, i {
	font-style: italic;
}

p {
	margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--heading-color);
	font-weight: 400;
	line-height: 1em;
	margin: 0 0 1em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: 2em;
	line-height: 1.5em;
}

h2 {
	font-size: 1.5em;
	line-height: 1.5em;
}

h3 {
	font-size: 1.25em;
	line-height: 1.5em;
}

h4 {
	font-size: 1.1em;
	line-height: 1.5em;
}

h5 {
	font-size: 0.9em;
	line-height: 1.5em;
}

h6 {
	font-size: 0.7em;
	line-height: 1.5em;
}

sub {
	font-size: 0.8em;
	position: relative;
	top: 0.5em;
}

sup {
	font-size: 0.8em;
	position: relative;
	top: -0.5em;
}

hr {
	border: 0;
	border-bottom: solid 2px var(--border-color);
	margin: 2em 0;
}

hr.major {
	margin: 3em 0;
}

blockquote {
	border-left: solid 6px var(--border-color);
	font-style: italic;
	margin: 0 0 2em 0;
	padding: 0.5em 0 0.5em 1.5em;
}

code {
	background: var(--light-gray);
	border-radius: 0.35em;
	border: solid 2px var(--border-color);
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0.25em;
	padding: 0.25em 0.65em;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9em;
	margin: 0 0 2em 0;
}

pre code {
	display: block;
	line-height: 1.75em;
	padding: 1em 1.5em;
	overflow-x: auto;
}

.align-left {
	text-align: left;
}

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

.align-right {
	text-align: right;
}

/* Section/Article */
section.special, article.special {
	text-align: center;
}

header p {
	color: #b2b2b2;
	position: relative;
	margin: 0 0 1.5em 0;
}

header h2 + p {
	font-size: 1.25em;
	margin-top: -1em;
	line-height: 1.5em;
}

header h3 + p {
	font-size: 1.1em;
	margin-top: -0.8em;
	line-height: 1.5em;
}

header h4 + p,
header h5 + p,
header h6 + p {
	font-size: 0.9em;
	margin-top: -0.6em;
	line-height: 1.5em;
}

header.major h2 {
	font-size: 2em;
}

/* Modern Grid System - Replacing Skel */
.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -1.25em;
}

.row > * {
	padding: 0 1.25em;
}

/* Grid columns - replacing skel's 6u, 12u$ system */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-11 { flex: 0 0 91.6666%; max-width: 91.6666%; }
.col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-8 { flex: 0 0 66.6666%; max-width: 66.6666%; }
.col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-5 { flex: 0 0 41.6666%; max-width: 41.6666%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-2 { flex: 0 0 16.6666%; max-width: 16.6666%; }
.col-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }

/* Form */
form {
	margin: 0 0 2em 0;
}

label {
	color: var(--heading-color);
	display: block;
	font-size: 0.9em;
	font-weight: 400;
	margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
	appearance: none;
	background: var(--light-gray);
	border-radius: 0.35em;
	border: solid 2px transparent;
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 0.75em;
	text-decoration: none;
	width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
	box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: var(--primary-color);
}

.select-wrapper {
	text-decoration: none;
	display: block;
	position: relative;
}

.select-wrapper:before {
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
	color: #dfdfdf;
	content: '\f078';
	display: block;
	height: 2.75em;
	line-height: 2.75em;
	pointer-events: none;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 2.75em;
}

.select-wrapper select::-ms-expand {
	display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
	height: 2.75em;
}

textarea {
	padding: 0.75em;
}

input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	display: block;
	float: left;
	margin-right: -2em;
	opacity: 0;
	width: 1em;
	z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
	text-decoration: none;
	color: var(--text-color);
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	font-weight: 400;
	padding-left: 2.4em;
	padding-right: 0.75em;
	position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
	background: var(--light-gray);
	border-radius: 0.35em;
	border: solid 2px transparent;
	content: '';
	display: inline-block;
	height: 1.65em;
	left: 0;
	line-height: 1.58125em;
	position: absolute;
	text-align: center;
	top: 0;
	width: 1.65em;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
	background: var(--heading-color);
	border-color: var(--heading-color);
	color: var(--white);
	content: '\f00c';
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	border-color: var(--primary-color);
}

input[type="checkbox"] + label:before {
	border-radius: 0.35em;
}

input[type="radio"] + label:before {
	border-radius: 100%;
}

::-webkit-input-placeholder {
	color: #b2b2b2 !important;
	opacity: 1.0;
}

:-moz-placeholder {
	color: #b2b2b2 !important;
	opacity: 1.0;
}

::-moz-placeholder {
	color: #b2b2b2 !important;
	opacity: 1.0;
}

:-ms-input-placeholder {
	color: #b2b2b2 !important;
	opacity: 1.0;
}

.formerize-placeholder {
	color: #b2b2b2 !important;
	opacity: 1.0;
}

/* Box */
.box {
	border-radius: 0.35em;
	border: solid 2px var(--border-color);
	margin-bottom: 2em;
	padding: 1.5em;
}

.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
	margin-bottom: 0;
}

.box.alt {
	border: 0;
	border-radius: 0;
	padding: 0;
}

/* Icon */
.icon {
	text-decoration: none;
	border-bottom: none;
	position: relative;
}

.icon:before {
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-transform: none !important;
}

.icon > .label {
	display: none;
}

/* Image */
.image {
	border-radius: 0.35em;
	border: 0;
	display: inline-block;
	position: relative;
}

.image:before {
	transition: opacity 0.2s ease-in-out;
	border-radius: 0.35em;
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.5;
	position: absolute;
	top: 0;
	width: 100%;
}

.image.thumb {
	text-align: center;
	cursor: pointer;
}

.image.thumb:after {
	transition: opacity 0.2s ease-in-out;
	border-radius: 0.35em;
	border: solid 3px rgba(255, 255, 255, 0.5);
	color: var(--white);
	content: 'View';
	display: inline-block;
	font-size: 0.8em;
	font-weight: 400;
	left: 50%;
	line-height: 2.25em;
	margin: -1.25em 0 0 -3em;
	opacity: 0;
	padding: 0 1.5em;
	position: absolute;
	text-align: center;
	text-decoration: none;
	top: 50%;
	white-space: nowrap;
}

.image.thumb:hover:after {
	opacity: 1.0;
}

.image.thumb:hover:before {
	background: url("images/overlay.png"), url("images/overlay.png");
	opacity: 1.0;
}

.image img {
	border-radius: 0.35em;
	display: block;
}

.image.left {
	float: left;
	margin: 0 1.5em 1em 0;
	top: 0.25em;
}

.image.right {
	float: right;
	margin: 0 0 1em 1.5em;
	top: 0.25em;
}

.image.left, .image.right {
	max-width: 40%;
}

.image.left img, .image.right img {
	width: 100%;
}

.image.fit {
	display: block;
	margin: 0 0 2em 0;
	width: 100%;
}

.image.fit img {
	width: 100%;
}

.image.avatar {
	border-radius: 100%;
}

.image.avatar:before {
	display: none;
}

.image.avatar img {
	width: 100%;
}

/* List */
ol {
	list-style: decimal;
	margin: 0 0 2em 0;
	padding-left: 1.25em;
}

ol li {
	padding-left: 0.25em;
}

ul {
	list-style: disc;
	margin: 0 0 2em 0;
	padding-left: 1em;
}

ul li {
	padding-left: 0.5em;
}

ul.alt {
	list-style: none;
	padding-left: 0;
}

ul.alt li {
	border-top: solid 2px var(--border-color);
	padding: 0.5em 0;
}

ul.alt li:first-child {
	border-top: 0;
	padding-top: 0;
}

ul.icons {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

ul.icons li {
	display: inline-block;
	padding: 0 1em 0 0;
}

ul.icons li:last-child {
	padding-right: 0;
}

ul.icons li .icon:before {
	font-size: 1.5em;
}

ul.actions {
	cursor: default;
	list-style: none;
	padding-left: 0;
}

ul.actions li {
	display: inline-block;
	padding: 0 1em 0 0;
	vertical-align: middle;
}

ul.actions li:last-child {
	padding-right: 0;
}

ul.actions.small li {
	padding: 0 0.5em 0 0;
}

ul.actions.vertical li {
	display: block;
	padding: 1em 0 0 0;
}

ul.actions.vertical li:first-child {
	padding-top: 0;
}

ul.actions.vertical li > * {
	margin-bottom: 0;
}

ul.actions.vertical.small li {
	padding: 0.5em 0 0 0;
}

ul.actions.vertical.small li:first-child {
	padding-top: 0;
}

ul.actions.fit {
	display: table;
	margin-left: -1em;
	padding: 0;
	table-layout: fixed;
	width: calc(100% + 1em);
}

ul.actions.fit li {
	display: table-cell;
	padding: 0 0 0 1em;
}

ul.actions.fit li > * {
	margin-bottom: 0;
}

ul.actions.fit.small {
	margin-left: -0.5em;
	width: calc(100% + 0.5em);
}

ul.actions.fit.small li {
	padding: 0 0 0 0.5em;
}

ul.labeled-icons {
	list-style: none;
	padding: 0;
}

ul.labeled-icons li {
	line-height: 1.75em;
	margin: 1.5em 0 0 0;
	padding-left: 2.25em;
	position: relative;
}

ul.labeled-icons li:first-child {
	margin-top: 0;
}

ul.labeled-icons li a {
	color: inherit;
}

ul.labeled-icons li h3 {
	color: #b2b2b2;
	left: 0;
	position: absolute;
	text-align: center;
	top: 0;
	width: 1em;
}

dl {
	margin: 0 0 2em 0;
}

/* Table */
.table-wrapper {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

table {
	margin: 0 0 2em 0;
	width: 100%;
}

table tbody tr {
	border: solid 1px var(--border-color);
	border-left: 0;
	border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
	background-color: var(--light-gray);
}

table td {
	padding: 0.75em 0.75em;
}

table th {
	color: var(--heading-color);
	font-size: 0.9em;
	font-weight: 400;
	padding: 0 0.75em 0.75em 0.75em;
	text-align: left;
}

table thead {
	border-bottom: solid 2px var(--border-color);
}

table tfoot {
	border-top: solid 2px var(--border-color);
}

table.alt {
	border-collapse: separate;
}

table.alt tbody tr td {
	border: solid 2px var(--border-color);
	border-left-width: 0;
	border-top-width: 0;
}

table.alt tbody tr td:first-child {
	border-left-width: 2px;
}

table.alt tbody tr:first-child td {
	border-top-width: 2px;
}

table.alt thead {
	border-bottom: 0;
}

table.alt tfoot {
	border-top: 0;
}

/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
	appearance: none;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 0.35em;
	border: solid 3px var(--border-color);
	color: var(--heading-color) !important;
	cursor: pointer;
	display: inline-block;
	font-weight: 400;
	height: 3.15em;
	height: calc(2.75em + 6px);
	line-height: 2.75em;
	min-width: 10em;
	padding: 0 1.5em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {
	border-color: var(--primary-color);
	color: var(--primary-color) !important;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
	background-color: rgba(97, 155, 226, 0.1);
	border-color: var(--primary-color);
	color: var(--primary-color) !important;
}

input[type="submit"].icon,
input[type="reset"].icon,
input[type="button"].icon,
.button.icon {
	padding-left: 1.35em;
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
.button.icon:before {
	margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
.button.fit {
	display: block;
	margin: 0 0 1em 0;
	min-width: 0;
	width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
.button.small {
	font-size: 0.8em;
}

input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
.button.big {
	font-size: 1.35em;
}

input[type="submit"].special,
input[type="reset"].special,
input[type="button"].special,
.button.special {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white) !important;
}

input[type="submit"].special:hover,
input[type="reset"].special:hover,
input[type="button"].special:hover,
.button.special:hover {
	background-color: #77a9e6;
	border-color: #77a9e6;
}

input[type="submit"].special:active,
input[type="reset"].special:active,
input[type="button"].special:active,
.button.special:active {
	background-color: #4b8dde;
	border-color: #4b8dde;
}

input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
.button.disabled,
.button:disabled {
	background-color: #e7e7e7 !important;
	border-color: #e7e7e7 !important;
	color: #b2b2b2 !important;
	cursor: default;
}

/* Work Item */
.work-item {
	margin: 0 0 2em 0;
}

.work-item .image {
	margin: 0 0 1.5em 0;
}

.work-item h3 {
	font-size: 1em;
	margin: 0 0 0.5em 0;
}

.work-item p {
	font-size: 0.8em;
	line-height: 1.5em;
	margin: 0;
}

/* Header */
#header {
	background-color: #1f1815;
	background-attachment: scroll;
	background-image: url("https://wazgo.jp/images/overlay.png"), url("../images/bg.jpg");
	background-position: top left, top left;
	background-repeat: repeat, no-repeat;
	background-size: auto, cover;
	color: rgba(255, 255, 255, 0.5);
	height: 100vh;
	left: 0;
	padding: 8em 4em 0 0;
	position: fixed;
	text-align: right;
	top: 0;
	width: var(--sidebar-width);
}

#header strong, #header b {
	color: var(--white);
}

#header h2, #header h3, #header h4, #header h5, #header h6 {
	color: var(--white);
}

#header h1 {
	color: rgba(255, 255, 255, 0.5);
	font-size: 1.35em;
	line-height: 1.75em;
	margin: 0;
}

#header .image.avatar {
	margin: 0 0 1em 0;
	width: 6.25em;
}

/* Footer */
#footer {
	bottom: 0;
	left: 0;
	padding: 0 4em 6em 0;
	position: fixed;
	text-align: right;
	width: var(--sidebar-width);
	background-color: #000;
}

#footer .icons {
	margin: 1em 0 0 0;
}

#footer .icons a {
	color: rgba(255, 255, 255, 0.4);
}

#footer .copyright {
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.8em;
	list-style: none;
	margin: 1em 0 0 0;
	padding: 0;
}

#footer .copyright li {
	border-left: solid 1px rgba(255, 255, 255, 0.25);
	display: inline-block;
	line-height: 1em;
	margin-left: 0.75em;
	padding-left: 0.75em;
}

#footer .copyright li:first-child {
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}

#footer .copyright li a {
	color: inherit;
}

/* Main */
#main {
	margin-left: var(--sidebar-width);
	max-width: 54em;
	padding: var(--main-padding);
	width: calc(100% - var(--sidebar-width));
}

#main > section {
	border-top: solid 2px var(--border-color);
	margin: var(--section-spacing) 0 0 0;
	padding: var(--section-spacing) 0 0 0;
}

#main > section:first-child {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

/* YouTube responsive */
.youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin: 0 0 2.0em 0;
}

.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}

/* Lightbox Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(44, 44, 44, 0.85);
}

.modal-content {
	position: relative;
	margin: 50px auto;
	padding: 0;
	max-width: 90%;
	max-height: 90%;
	background: var(--white);
	border-radius: 0.35em;
	box-shadow: 0 0.1em 0.15em 0 rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.modal-content img {
	width: 100%;
	height: auto;
	display: block;
}

.modal-caption {
	background: var(--white);
	padding: 1em;
	text-align: center;
	font-size: 0.9em;
	color: var(--text-color);
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	color: var(--white);
	font-size: 2em;
	cursor: pointer;
	z-index: 10000;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}

.modal-close:hover {
	opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 1280px) {
	:root {
		--main-padding: 3em;
		--section-spacing: 3em;
	}
	
	body, input, select, textarea {
		font-size: 13pt;
	}
}

@media screen and (max-width: 980px) {
	:root {
		--sidebar-width: 100%;
		--main-padding: 2em;
		--section-spacing: 2em;
	}
	
	#header {
		position: relative;
		width: 100%;
		height: auto;
		text-align: center;
		padding: 4em 2em 2em 2em;
		background-size: auto, cover;
		background-attachment: scroll;
	}
	
	#footer {
		position: relative;
		width: 100%;
		text-align: center;
		padding: 2em;
	}
	
	#main {
		margin-left: 0;
		width: 100%;
		padding: var(--main-padding);
	}
	
	.row > * {
		padding: 0 1em;
	}
	
	.row {
		margin: 0 -1em;
	}
}

@media screen and (max-width: 736px) {
	:root {
		--main-padding: 1.5em;
		--section-spacing: 1.5em;
	}
	
	body, input, select, textarea {
		font-size: 12pt;
	}
	
	#header {
		padding: 3em 1.5em 1.5em 1.5em;
	}
	
	#footer {
		padding: 1.5em;
	}
	
	.col-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.row > * {
		padding: 0 0.75em;
	}
	
	.row {
		margin: 0 -0.75em;
	}
	
	.modal-content {
		margin: 20px auto;
		max-width: 95%;
		max-height: 95%;
	}
}

@media screen and (max-width: 480px) {
	body, input, select, textarea {
		font-size: 11pt;
	}
	
	#header {
		padding: 2em 1em 1em 1em;
	}
	
	#footer {
		padding: 1em;
	}
	
	.modal-content {
		margin: 10px auto;
		max-width: 98%;
		max-height: 98%;
	}
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
	.image.thumb:before {
		opacity: 0.5 !important;
	}
	
	.image.thumb:after {
		display: none !important;
	}
	
	#header {
		background-attachment: scroll;
		background-size: auto, cover;
	}
}
