/* common & global */
html {
	font-size: 16pt;
}

@media screen and (max-width: 768px) {
	html {
		font-size: 12pt;
	}
}

body {
	text-align: center;
	font-family: 'Georgia', serif;
	background: #fff;
}

h1, h2, h3 {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	margin: 0;
}

h1 {
	color: #134b61;
}

h2 {
	color: #745e1e;
}

#characters h2,
#system h2,
#product h2 {
	border-bottom: 1px solid #745e1e;
	width: 100%;
}

a {
	text-decoration: none;
	color: #134b61;
}

a:hover {
	text-decoration: underline;
	color: #745e1e;
}

ul {
	list-style: none;
	padding: 0;
}

img {
	max-width: 100%;
}

.hidden {
	display: none;
	visibility: hidden;
}

.inactive {
	color: #aaa;
}

nav {
	background-color: #fff;
	position: fixed;
	z-index: 999;
	font-family: 'Playfair Display', serif;
	color: #134b61;
	padding: 0.5rem 0;
	width: 100%;
}

nav .inner {
	display: flex;
	flex-direction: row;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	min-width: 320px;
	max-width: 100%;
	margin: 0;
	text-transform: uppercase;
	font-weight: bold;
}

nav li {
	padding: 0 1rem;
}

@media screen and (max-width: 768px) {
	nav {
		text-align: center;
	}

	nav .inner {
		display: block;
	}

	nav ul {
		display: block;
		width: 100%;
	}

	nav ul li {
		width: 100%;
		padding: 5px 0;
	}
}

.sub-nav ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.sub-nav ul li {
	margin: 0 20px;
}

main {
	display: flex;
	flex-direction: column;
}

#characters,
#system,
#product {
	padding-top: 45px;
}

.inner {
	box-sizing: border-box;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

#characters section .inner,
#system section .inner {
	padding: 30px 10px;
}

footer {
	font-size: 0.6rem;
	padding-top: 1rem;
}

footer .company-logo {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.company-logo div:nth-child(n+2) {
	margin-right: 20px; 
}

.mobile {
	display: none;
	visibility: hidden;
}

@media screen and (max-width: 768px) {
	.mobile {
		display: block;
		visibility: visible;
	}

	.desktop,
	.inner.desktop {
		display: none;
		visibility: hidden;
	}
}

.slick-arrow {
	position: absolute;
	top: 50%;
	margin-top: -44px;
	width: 36px;
	height: 88px;
	background-color: transparent;
	color: #745e1e;
	z-index: 9;
}

.slick-arrow:hover {
	background-color: transparent;
	color: #fff;
}

.slick-arrow.slick-prev {
	left: 0px;
}

.slick-arrow.slick-next {
	right: 0px;
}

@media screen and (max-width: 768px) {

	.slick-slider {
		padding-bottom: 20px;
	}

	.slick-arrow {
		top: initial;
		bottom: -20px;
		margin-top: 0;
	}

	.slick-arrow.slick-prev {
		left: 35%;
	}

	.slick-arrow.slick-next {
		right: 35%;
	}
}

/* home */

header {
	position: relative;
	padding: 2rem 0 4rem 0;
	font-size: 2rem;
	background-color: rgba(0, 0, 0, 0.3);
	text-shadow: 0px 0px 3px #fff,
				0px 0px 3px #fff,
				0px 0px 3px #fff;
	color: #134b61;
}

@media screen and (max-width: 768px) {
	header {
		background: linear-gradient(rgba(250, 250, 250, 0.5), rgba(250, 250, 250, 0.5)), url(../img/bg01.jpg) center center / cover no-repeat fixed;
	}
}

.videobg {
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: -50px;
	bottom: 0px;
	margin: auto;
	overflow: hidden;
	background: #000;
}

.videobg video {
	width: 1920px;
	height: 1150px;
}

@media screen and (max-width: 1920px) {
	.videobg video {
		margin-left: calc((100% - 1920px) / 2);
	}
}

header h1 {
	max-width: 400px;
	margin: 1%;
	padding-bottom: 200px;
}

@media screen and (max-width: 768px) {
	header h1 {
		max-width: 100%;
		padding-bottom: 20px;
	}
}

header h1 img {
	width: 100%;
}

#story {
	color: #134b61;
	font-size: 1.25rem;
	line-height: 1.75rem;
	background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
				url(../img/bg01.jpg) center center / cover no-repeat fixed;
}

#story .inner,
#hd .inner {
	padding: 100px 10px;
}

#media {
	background: #134b61b3 url(../img/renew_bg.png) center center repeat-y;
}

#media .inner {
	background: url(../img/renew_bg_img.png) center top no-repeat / 100%;
	padding: 20px 10px;

	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}

#media .movie-container {
	max-width: 175px;
	margin-right: 20px;
}

@media screen and (max-width: 768px) {
	#media .movie-container {
		max-width: 100%;
		margin: 5px 0;
	}
}

#media .movie-container .movie-thumbnail {
	border-radius: 15px;
}

#media .movie-container h1 {
	font-size: 1rem;
}

#media a {
	transition-duration: 1s;
}

#media a:hover {
	opacity: 0.5;
}

/* characters */

#characters {
	background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255,255,255,0.75)), url(../img/bg04.jpg) center center / cover no-repeat fixed;
}

#characters #story2 {
	background: url(../img/renew_bg.png) center center / contain repeat-y,
	url(../img/renew_bg_img.png) center top no-repeat / 1325px;
	padding: 100px 10px;
	text-shadow: 0px 0px 4px #fff,
				0px 0px 4px #fff,
				0px 0px 4px #fff;
}

#story2 .inner {
	max-width: 1400px;
}

#characters dl {
	display: flex;
	justify-content: flex-start;
}

#characters dt {
	color: #745e1e;
}

#characters dd {
	margin-right: 40px;
	margin-left: 5px;
}

#characters .character-container {
	background: url(../img/renew_bg.png) center center / contain repeat-y;
	padding: 50px 100px;
	position: relative;
}

.character-image,
.character-image-chibi {
	position: absolute;
	z-index: 1;
}

.character-image {
	top: 0px;
	right: 0px;
}

.character-image-chibi {
	top: 0px;
	left: -20px;
}

.character-text {
	position: relative;
	z-index: 2;
	text-shadow: 0px 0px 4px #fff,
				0px 0px 4px #fff,
				0px 0px 4px #fff;
	margin-left: 7%;
	width: 65%;
	text-align: left;
}

.character-text .quote {
	font-style: italic;
}

.character-screenshots {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.character-screenshots a {
	width: 45%;
	margin-right: 2%;
	margin-bottom: 5px;
	box-shadow: 0px 0px 3px #745e1e;
}

.vehicle-container {
	background: url(../img/renew_bg.png) center center / contain repeat-y;
	position: relative;
	
}

.vehicle-image {
	text-align: right;
	padding-top: 20px;
	height: 300px;
}

.vehicle-image img {
	display: inline;
	max-height: 100%;
}

.vehicle-text {
	position: absolute;
	bottom: 0;
	left: 50px;
	width: 60%;
	text-shadow: 0px 0px 4px #fff,
				0px 0px 4px #fff,
				0px 0px 4px #fff;
	margin-left: 4%;
	text-align: left;
}

@media screen and (max-width: 768px) {
	#characters .character-container {
		padding: 5px 10px;
	}

	.character-image,
	.character-image-chibi {
		position: relative;
	}

	img.character-image,
	img.character-image-chibi {
		display: inline;
	}

	.character-image {
		max-width: 65%;
	}

	.character-image-chibi {
		max-width: 33%;
	}

	#characters dd {
		margin-right: 5px;
		margin-left: 0px;
	}

	.character-text {
		margin-left: 0;
		width: 100%;
		text-align: left;
	}

	.vehicle-image {
		text-align: center;
	}

	.vehicle-text {
		position: relative;
		width: 100%;
		left: 0;
		margin: 0;
	}

	.vehicle-text p,
	.vehicle-text h2 {
		margin: 0;
		padding: 1% 5%;
	}
}

/* system page */
#system {
	background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255,255,255,0.8)), url(../img/bg02.jpg) center center / cover no-repeat fixed;
}

#system section {
	text-align: left;
}

#system p,
#system h3 {
	text-shadow: 0px 0px 5px #fff,
				0px 0px 5px #fff,
				0px 0px 5px #fff;
}

.weaponlist {
	width: 80%;
	margin: 0 auto;
}

.weaponlist .weapon-container {
	position: relative;
	min-height: 200px;

}

.weapon-container p,
.weapon-container h3 {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: 5px;
}

.weapon-container h3 {
	text-decoration: underline;
}

.weapon-container img {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
}

.weaponlist .weapon-container:nth-of-type(odd) img {
	left: -22%;
}

.weaponlist .weapon-container:nth-of-type(even) img {
	right: -15%;
}

.guildlist {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

.guild-container {
	text-align: center;
}


/* product page */

#product {
	background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255,255,255,0.9)), url(../img/bg05.jpg) center center / cover no-repeat fixed;
}

#product .inner {
	padding: 10px;
	text-align: left;
}

.product-container {
	margin: 25px auto;
	max-width: 800px;
}

.product-container .product-image {
	text-align: center;
}

.product-container ul {
	text-align: left;
}

button {
	border: none;
	padding: 5px 10px;
	background-color: #5a4975;
	color: #fff;
	cursor: pointer;
}

button:hover {
	background-color: #fff;
	color: #f6a457;
}

