@charset "UTF-8";

/* CSS Document */
.container-fluid {
	padding-left: initial;
	padding-right: initial;
}

.row {
	margin-left: initial;
	margin-right: initial;
}

.contents {
	padding-left: 12%;
	padding-right: 12%;
	padding-bottom: 10%;
}

#character {
	background: url("/img/obakeidoro2/sp/character/bg_character.jpg") center top no-repeat;
	background-size: auto 100%;
	padding-top: 5%;
	margin-bottom: 40%;
	position: relative;
}

#character_h {
	margin-top: 5%;
	margin-bottom: 0;
}

#character_buttons {
	top: 20%;
	left: 0;
	text-align: center;
}

.btn_inactive {
	filter: grayscale(1);
}

#btn_ghost {
	width: 35%;
	margin-left: 2% !important;
}

#btn_human {
	width: 35%;
	margin-right: 2% !important;
}

.window_frame {
	padding-left: 10%;
	padding-right: 10%;
}

.window {
	background: url("/img/obakeidoro2/common/character/window_base_01.png") center top no-repeat;
	background-size: contain;
	padding-top: 10%;
	padding-left: 10%;
	padding-right: 10%;
	padding-bottom: 15%;
}

.character_name {
	font-size: 1.25rem;
	margin-bottom: 10%;
}

@media screen and (max-width: 320px) {
	.character_name {
		font-size: 1.0rem;
	}
}

.character_text_area {
	margin-top: 0%;
	margin-bottom: 1%;
}

.character_text_area p {
	font-size: 0.75rem;
	line-height: 1.25rem;
}

@media screen and (max-width: 320px) {
	.character_text_area p {
		font-size: 0.5rem;
		line-height: 1.0rem;
	}
}

/* 3Dギャラリー関連 */
.dg-container {
	width: 100%;
	height: 450px;
	position: relative;
}

.dg-wrapper {
	width: 100%;
	height: 316px;
	margin: 0 auto;
	position: relative;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-o-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
}

.dg-wrapper a {
	width: 100%;
	height: 210px;
	display: block;
	position: absolute;
	top: 0;
	text-decoration: none;
}

.dg-wrapper a.dg-transition {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.dg-wrapper a img {
	display: block;
	padding: 10px 0px 0px 0px;
	width: 60%;
	margin: 0 auto;
}

.dg-wrapper a div {
	line-height: 50px;
	color: #FFF;
	font-size: 16px;
	width: 100%;
	display: none;
}

.dg-wrapper a.dg-center div {
	display: block;
}

.dg-container nav {
	width: 100%;
	position: absolute;
	z-index: 10;
	top: 40%;
	left: 0;
}

.dg-container nav span {
	float: left;
	cursor: pointer;
	opacity: 1;
}

.dg-container nav span:hover {
	opacity: 1;
}

.dg-container nav span.dg-prev {
	float: left;
}

.dg-container nav span.dg-prev img {
	display: block;
	margin-left: 20%;
	margin-right: auto;
}

.dg-container nav span.dg-next {
	float: right;
}

.dg-container nav span.dg-next img {
	display: block;
	margin-left: auto;
	margin-right: 20%;
}