@charset "utf-8";

/* z-index
 * ローディングエリア: 10
 * クマボッコ博士: 9
 * 寸劇動画エリア: 9
 * ヘッダーエリア: 1
 * 音声制御エリア: 9
 */

body {
	font-size: 14px;
	padding-top: 80px;
}

a { cursor: hand; }

img.blank_img {
	position: absolute;
	margin-left: 3px;
	width: 15px;
}

header {
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100px;
	box-sizing: border-box;
}

header .title_logo {
	position: absolute;
	top: 10px;
	left: 10px;
}
header .title_logo p:nth-child(1),
header .title_logo p:nth-child(2) {
	line-height: 1.1em;
	font-size: 24px;
	font-weight: bold;
	color: orange;
	text-shadow: 
		1px 1px 0px #000,
		-1px 1px 0px #000,
		1px -1px 0px #000,
		1px 0px 0px #000,
		0px 1px 0px #000,
		-1px 0px 0px #000,
		0px -1px 0px #000,
		-1px -1px 0px #000;
	filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 1.0));
}
header .title_logo p:nth-child(2) {
	position: relative;
	top: -12px;
}
header .title_logo p span.title_X {
	font-size: 64px;
}
header .title_logo p:nth-child(3) {
	position: relative;
	top: -10px;
	line-height: 2.0em;
	font-size: 18px;
	font-weight: bold;
	color: white;
	text-shadow: 
		2px 2px 0px #000,
		-2px 2px 0px #000,
		2px -2px 0px #000,
		2px 0px 0px #000,
		0px 2px 0px #000,
		-2px 0px 0px #000,
		0px -2px 0px #000,
		-2px -2px 0px #000;
}
header .title_logo p span.unofficial {
	color: white;
	text-shadow: 
		2px 2px 0px #00f,
		-2px 2px 0px #00f,
		2px -2px 0px #00f,
		2px 0px 0px #00f,
		0px 2px 0px #00f,
		-2px 0px 0px #00f,
		0px -2px 0px #00f,
		-2px -2px 0px #00f;
	padding: 6px;
}

header #site_logo {
	position: absolute;
	top: 0px;
	text-align: center;
}
header #site_logo a:first-child {
	margin-right: 50px;
}

nav#menu ul {
	list-style-type: none;
}

nav#menu a { text-decoration: none; cursor: hand; }
nav#menu a:link    { color: #33c; }
nav#menu a:visited { color: #339; }

footer {
	position: relative;
	bottom: 0px;
	margin: 60px 20px 20px 20px;
}
footer p {
	text-align: center;
	line-height: 1.5em;
}


#loading_mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	text-align: center;
	background-color: #000;
	opacity: 0.9;
}

#clickme {
	position: fixed;
	bottom: 70px;
	right: 100px;
	z-index: 9;
	display: none;
}
#kuma {
	position: fixed; 
	bottom: -40px; 
	right: 20px;
	z-index: 9;
}

.link_cursor,
.skit_open {
	cursor: pointer;
}
.main p {
	text-align: center;
}
.main img {
	width: 100%;
}
.main img.nocontent {
	width: 60%;
}



#mainquest h1 {
	margin: 10px 10px 20px 10px;
	padding-bottom: 5px;
	border-bottom: solid 2px black;
	font-size: 24px;
	color: #006;
	clear: both;
}

#mainquest h2 {
	margin: 20px 0px 15px 0px;
	font-size: 18px;
	color: #006;
}
#mainquest h2:before {
	content:"■ ";
}

.quest_area {
	margin-bottom: 60px;
}


.synopsis {
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	width: 650px;
	border: solid 1px black;
	font-size: 1.0em;
}
.synopsis p {
	padding: 8px;
}

.synopsis_summary {
	margin-top: 20px;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
}
.synopsis_summary:before,
.synopsis_summary:after {
	content:"──";
}


.individual .quest_light_data th.wood {
	opacity: 0.6;
	background-color: #cfc;
}
.individual .quest_light_data th.fire {
	opacity: 0.6;
	background-color: #fee;
}
.individual .quest_light_data th.water {
	opacity: 0.6;
	background-color: #eef;
}
.individual .quest_light_data th.light {
	opacity: 0.6;
	background-color: #ffc;
}
.individual .quest_light_data th.dark {
	opacity: 0.6;
	background-color: #dbf;
}
.individual .quest_light_data th.naught {
	opacity: 0.6;
	background-color: #eee;
}

.individual .quest_light_data td {
	padding: 5px 5px;
	border: solid 1px black;
}
.individual .quest_light_data td span.boss:before {
	content: "【";
}
.individual .quest_light_data td span.boss:after {
	content: "】 ";
}

.individual br {
	clear: both;
}


.skit_open {
	margin-top: 10px;
	margin-bottom: 30px;
	font-size: 1.5em;
	font-weight: bold;
	color: black;
}
.skit_open:before {
	content: ">>";
}
.skit_video_area {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 10;
}

#skit_video {
	position:relative;
	padding-top:56.25%;
	width: 350px;
	height: 100%;
}
#skit_video iframe{
	position:absolute;
	top:0;
	right:0;
	width: 100%;
	height: 100%;
}
#skit_close_btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: white;
	border-radius: 30px;
	line-height: 0;
}


.quest_area .summary_area {
    position: relative;
    margin: 20px 0px 0px 0px;
    padding: 1.5em 1em 1em 2em;
    border: solid 3px indigo;
    border-radius: 5px;
}
.quest_area .summary_area .box-title {
    position: absolute;
    top: -16px;
    left: 20px;
    padding: 6px 10px 4px 10px;
    display: inline-block;
    border-radius: 8px;
    background-color: indigo;
    line-height: 1;
    font-size: 20px;
    font-weight: bold;
    color: white;
}
.quest_area .summary_wood {
    border: solid 3px green;
}
.quest_area .summary_wood .box-title {
    background-color: green;
}
.quest_area .summary_water {
    border: solid 3px #00a;
}
.quest_area .summary_water .box-title {
    background-color: #00a;
}
.quest_area .summary_fire {
    border: solid 3px #d00;
}
.quest_area .summary_fire .box-title {
    background-color: #d00;
}
.quest_area .summary_dark {
    border: solid 3px indigo;
}
.quest_area .summary_dark .box-title {
    background-color: indigo;
}
.quest_area .summary_light {
    border: solid 3px #ddb306;
}
.quest_area .summary_light .box-title {
    background-color: #ddb306;
}
.quest_area .summary_naught {
    border: solid 3px #aaa;
}
.quest_area .summary_naught .box-title {
    background-color: #aaa;
}


.quest_area .summary_area .box-title:before,
.quest_area .summary_area .box-title:after {
	content:"～";
}

.quest_area .summary_area p {
	margin-top: 5px;
	line-height: 1.2em;
}
.quest_area .summary_area li {
	line-height: 1.5em;
}
.quest_area .summary_area strong {
	color: red;
}


#links {
}

.menu_others h1 {
	margin: 5px 0px 10px 10px;
	font-size: 24px;
	color: #006;
}
.menu_others h1:before {
	content:"【";
}
.menu_others h1:after {
	content:"】";
}

.menu_others h2 {
	margin: 40px 0px 15px 0px;
	font-size: 18px;
	color: #006;
}
.menu_others h2:before {
	content:"■ ";
}

.menu_others dt {
	padding-bottom: 2px;
	border-bottom: dotted 2px black;
}
.menu_others dd {
	margin: 5px 5px 20px 30px;
}

.menu_others dt span {
	margin-left: 50px;
}

.off {
	display: none;
}

.sound_on_off:before {
	content:" [ ";
}
.sound_on_off:after {
	content:" ]";
}

/* ********************************************* */
/* スマホデザイン（横幅800px未満）               */
/* ********************************************* */

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

	body {
		background-color: #eef;
	}

	header {
		position: absolute;
		top: 0;
		left: 0;
		background-color: #fff;
		z-index: 1;
	}

	header #title_logo {
		position: absolute;
		top: 10px;
		left: 10px;
	}
	header #title_logo,
	header #title_logo p,
	header #title_logo p span {
	    font-family: sans-serif;
	}
	
	header #site_logo aside {
		margin-top: 10px;
		margin-left: 150px;
	}
	header #site_logo aside img {
		max-width: 120px;
	}
	header #site_logo a:first-child {
		margin-right: 10px;
	}

	#sound {
		position: absolute;
		top: 15px;
		right: 5px;
		z-index: 9;
	}

	nav#menu {
		position: absolute;
		top: 100px;
		left: 0px;
		padding: 1px;
		background-color: white;
		width: 100%;
	}

	nav#menu ul#sub_menu {
		position: absolute;
		top:  40px;
		left: 10px;
	}

	nav#menu li {
		float: left;
		box-sizing: border-box;
		text-align: center;
	}
	nav#menu > ul > a > li {
		width: 25%;
		line-height: 35px;
		background-image: url('./img/classic_frame_center.png');
	}
	nav#menu #sub_menu a {
		float: left;
	}
	nav#menu #sub_menu li {
		width: 80px;
		font-size: 1.1em;
		padding-top: 3px;
		line-height: 25px;
		background-image: url('./img/classic_frame_small.png');
	}
	.frame_left {
		float: left;
		width: 9px;
		background-image: url('./img/classic_frame_left.png');
	}
	.frame_right {
		float: right;
		width: 9px;
		background-image: url('./img/classic_frame_right.png');
	}

	nav#menu li:active { color: indigo }
	nav#menu li:hover  { color: indigo }

	#loading_mask img {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 300px;
		margin-top: -40px;
		margin-left: -150px;
	}

	#contents {
		margin: 100px 2px 5px 2px;
		padding: 4px;
		box-sizing: border-box;
	}

	body:before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		display: block;
		z-index: -1;
		background: url('./img/background-vision.gif') center no-repeat;
		background-size: cover;
	}

	#mainquest h1 {
		margin: 10px 4px 10px 4px;
	}

	#mainquest h2 {
		margin: 15px 0px 5px 0px;
		font-size: 20px;
	}

	.synopsis {
		width: 80%;
	}
	.synopsis p {
		padding: 4px;
	}

	.synopsis_summary {
		margin-top: 2em;
		line-height: 1.5em;
	}

	.individual {
		margin: 30px 6px 30px 6px;
		padding-top: 10px;
		border-top: dotted 3px black;
		clear: both;
	}

	.individual .quest_bunner {
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		box-sizing: border-box;
		margin-bottom: 1em;
		text-align: center;
	}
	.individual .quest_bunner img {
		width: 90%;
		border-radius: 20px;
	}

	.individual .quest_light_data table {
		border-collapse: collapse;
		margin: 0px auto;
		width: 90%;
	}

	.individual .quest_light_data th {
		padding: 2px 5px;
		width: 40%;
		border: solid 1px black;
		vertical-align: middle;
	}

	.individual .quest_light_data td {
		width: 60%;
	}

	.skit_open {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.skit_video_area .inner {
		margin: 30px auto;
		width: 100%;
		box-sizing: border-box;
	}

	#skit_video {
		width: 100%;
	}
	#skit_video iframe{
		height: 200%;
	}

	.quest_area .summary_area {
	    margin: 40px 0px;
	    border-radius: 10px;
	}

	.menu_others dl {
		margin-left: 10px;
		margin-right: 10px;
		border-bottom: dotted 3px black;
	}

	.menu_others dt span {
		display: none;
	}


}

/* ********************************************* */
/* PCデザイン（横幅800px以上）                   */
/* ********************************************* */

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

	body {
		padding-top: 0px;
	}

	header #title_logo {
		position: fixed;
		top: 10px;
		left: 10px;
	}

	header #site_logo aside {
		margin-top: 20px;
		margin-left: 200px;
		width: 500px;
	}

	#sound {
		position: fixed;
		bottom: 20px;
		left: 10px;
	}

	nav#menu {
		position: fixed;
		top: 120px;
		left: 0px;
		padding: 1px;
		width: 200px;
	}

	nav#menu li {
		margin-left: 10px;
		padding: 10px;
		border-top: solid 1px black;
	}
	nav#menu #sub_menu li {
		margin-left: 3em;
	}
	.frame_left {
		display: none;
	}
	.frame_right {
		display: none;
	}
	nav#menu #main_menu > a:first-child li {
		border-top: none 0px black;
	}

	nav#menu li:active { color: #fff; background-color: #006; text-decoration: underline; }
	nav#menu li:hover  { color: #fff; background-color :#006; text-decoration: underline; }

	#loading_mask img {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 400px;
		margin-top: -40px;
		margin-left: -200px;
	}

	#contents {
		margin-top: 10px;
		margin-left: 220px;
		margin-right: 20px;
		padding: 10px;
		min-height: 500px;
		min-width: 800px;
		border: solid 1px black;
		background-image: url('./img/background-vision.gif');
		background-size: 1000px 1000px;
		background-repeat: no-repeat;
		background-position: right center;
		background-attachment: fixed;
	}

	.individual {
		margin: 20px 10px 20px 10px;
		padding: 10px;
		border-top: dotted 2px black;
		clear: both;
	}

	.individual .quest_bunner {
		float: left;
	}
	.individual .quest_bunner img {
		height: 100px;
		margin-right: 20px;
		border-radius: 20px;
	}

	.individual .quest_light_data table {
		margin: 0px;
		border-collapse: collapse;
	}

	.individual .quest_light_data th {
		padding: 2px 5px;
		border: solid 1px black;
		vertical-align: middle;
	}

	.skit_video_area .inner {
		margin: 30px auto;
		width: 350px;
		height: 400px;
		box-sizing: border-box;
		text-align: center;
	}

}

