﻿* {
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	box-sizing: border-box !important;
}


p,blockquote,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,th,td,hr,form,fieldset,legend,input,button,textarea{margin:0;padding:0}
ul,ol,li{list-style:none}
a{ color:#ffcc00;}

html,body{
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	background-color: transparent;
	-webkit-text-size-adjust:none;
	font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;
	letter-spacing: 0.02em;
}

/*spec

 -------------------------------------------------------------------------------------*/
#mainImage{	position: relative;}


#mainImage img{
	width: 100%;
	height: auto;
	max-width: 1150px;
	min-width: 320px;

}


#mainImage #img0 ,#mainImage #img3{
	width:100%;
	height:auto;
	position: relative;
	max-width: 1150px;
}



#mainImage div img{
	z-index: 5;
}

/*
#mainImage div video{
	position: absolute;
	z-index: 10;
	width: 43.478260869565200%;

}

#img0 video{height: 25.641025641025600%; left: 51.130434782608700%; top: 14.102564102564100%; }


#img3 video{height: 34.883720930232600%; left: 7.043478260869570%;}
#img3 #fvideo{top: 24.418604651162800%;}
#img3 #lvideo{top: 60.581395348837200%;}

*/






/*#menu
-----------------------------------------------------------------------------------------------------------*/
#menufooter{
	width: 100%;
	height:auto;
	max-height: 180px;
	position: fixed;
	top:0;
/*	padding-top: 5px;*/
	color:#fff;
	font-size: 12px;
	z-index: 1001 !important;
	-webkit-transition:all .35s ease-in-out;
	-moz-transition:all .35s ease-in-out;
	transition:all .35s ease-in-out;
	
	background-color: rgba(0,0,0,0.8);
	*background-color: #000;
	box-shadow: none;
	border: solid 2px #000;
	margin:0 auto 0;
	box-shadow:0 0 8px #946f6f;

/*	background-image: url(frame/footer.png);*/
	background-repeat: repeat-x;
	list-style:none;


}

/*
#menufooter .mask {
	width:			100%;
	height:			100%;
	position:		absolute;
	top:			-100%;	/* 枠の上に置いて表示させない 
	left:			0;
	background-color:	rgba(0,0,0,0.4);
	-webkit-transition:	all 0.6s ease;
	transition:		all 0.6s ease;
}
#menufooter:hover .mask {
	top:			0;	/* 下に降りてくるように見せる 
}


*/


#menu{
	width: 100%;
	height: auto;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content:center;
	margin: 5px;
	list-style:none;
}

#menu > li{
	width: 180px;
	height: 45px;
	left:-50px;
	position: relative;

}

#menu > li:first-child:before{
	content: " ";
	position: absolute;
	left:-3px;
	top:0;
	width: 3px;
	height: 45px;
	background-image: url(frame/menu/before.png);
}
#menu > li:last-child:before{
	content: " ";
	position: absolute;
	right:-3px;
	top:0;
	width: 3px;
	height: 45px;
	background-image: url(frame/menu/after.png);
}

#menu > li > a{
	width: 180px;
	height: 45px;
	display: block;
}
#menu > li > a img{
	opacity: 0;
	-webkit-transition: 0.5s ease-in-out;
	-webkit-transition-delay: 100ms;
	transition: 0.5s ease-out 100ms;
}

#menu > li > a img:hover{
	opacity: 1;
}

#menu .new:after{
	position: absolute;
	left: 10px;
	top:-10px;
	width:43px;
	height:19px;
	content: url(frame/new.png);
}
#menu .snew:after{
	content: " ・ｮ・･・ｷ ";
	font-weight: bold;
	color: #fff;
	font-size: 11px;
	position: absolute;
	left:-10px;
	background-color: #f00;
}


.subMenu{
	width:161px;
	height: auto;
	position: absolute;
	left:0;
	bottom:0px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-out;
}

#menu li:hover > .subMenu{
	bottom:45px;
	opacity: 1;
	visibility: visible;
}
.subMenu li{

	background-image: url(frame/menu/sub_bg.png);
}
.subMenu li a{
	display: block;
	width: 80%;
	height: 30px;
	line-height: 30px;
	text-align: left;
	padding-left: 5px;
	border-bottom: dotted 1px #f4c035;
	margin: 0 auto;
}

.subMenu a{color:#f4c035;text-decoration: none;}
.subMenu a:hover{color:#e05501;text-decoration: underline;}
.subMenu a b{color: #f00;text-decoration: none;}

.subMenu:before{
	content:" ";
	display:inline-block;
	width:161px;
	height: 25px;
	background-image: url(frame/menu/sub_h.png);
	vertical-align:middle;
}


.subMenu:after{
	content:" ";
	display:inline-block;
	width:161px;
	height: 25px;
	background-image: url(frame/menu/sub_b.png);
}



.subMenu .submain{
	display: block;
	text-align:left;
	width:125px;
	line-height:140%;
	border-bottom: none;
}

.subMenu a:first-child{
	border-top: dotted 1px #f4c035;

}

.mnone a{
	display:none !important;
}




#attt{
	width: 100%;
	height: auto;
	padding: 5px;
}




@media screen and (max-width: 1080px) {
	#mainFrame > li > ul:last-child{
		margin-bottom: 150px !important;
	}
	#menu > li:first-child:before{
		display: none;
	}
	#menu > li:last-child:before{
		display: none;
	}
}

@media screen and (max-width: 540px) {
	#mainFrame > li > ul:last-child{
		margin-bottom: 190px !important;
	}

}



/*mainTitle
-----------------------------------------------------------------------------------------------------------*/

#mainTitle{
	position:relative;
	width: 1300px;
	height:100%;
	margin:0 auto;
	z-index: 2;
}

#mainTitle > a{
	position: absolute;
	top:450px;
}

#mainTitle #index{
	top:230px;
	right:330px;
}
#mainTitle #uploader{
	top:230px;
	right:130px;
}

#mainTitle #history{
/*	top:550px;
	right:120px;*/
	top:360px;
	left:120px;
	position: absolute;
}

#mainTitle #christmas{
	top:430px;
	right:80px;
	position: absolute;
}

#mainTitle #32bit{
	top:430px;
	right:80px;
	position: absolute;
}




/*footer
-----------------------------------------------------------------------------------------------------------*/
#footer{
	width:100% !important;
	height:auto !important;
	min-width:480px;
	padding:5px 0;
	line-height:140%;
	text-align: center;
	font-size:12px;
	color: #fff;
	background-color: rgba(0,0,0,0.8);
	*background-color: #000;
	box-shadow: none;
	border: solid 2px #000;
	margin:20px auto 0;
	box-shadow:0 0 8px #946f6f;
	display: block;
	position:fixed;
	bottom:0;
	font-weight: 700;
	text-shadow:0 0 2px #000;
	z-index: 1001 !important;
	
}
#footer img{
	
	margin:2px !important;
}

#footer_txt{
	font-size:12px;
	color: #ffffff;
	margin:20px auto 40px;

}

/*マウスを置くと画面下からスクロールしてくる*/

#footer .mask {
	width:			100%;
	height:			100%;
	position:		absolute;
	bottom:			20px;	/* 枠の下に置いて表示させない */
	left:			0;
	background-color:	rgba(0,0,0,0.4);
	-webkit-transition:	all 0.6s ease;
	transition:		all 0.6s ease;
}
#footer:hover .mask {
	bottom:			100px;	/* 下から上がってくるように見せる */
}



/*スクロールアニメーション共通部分*/

.list{
	margin: 30px 30px 30px 70px;
	list-style-type: none;
	overflow: hidden;
}
.list li{
	margin: 20px 20px 20px 20px;
	float: left;
	transition: .8s;
}


/*スクロールアニメーション（ズーム）*/

.list-mv01{
	transform: scale(0, 0);
	-webkit-transform: scale(0, 0);
}
.mv01{
	transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
}

/*スクロールアニメーション（移動＋フェードイン）*/
.list-mv07{
	opacity: 0;
	transform: translate(0,60px); 
	-webkit-transform: translate(0,60px); 
}
.mv07{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}



/*ボイスボタン設定*/

#img0{
	width:100%;
	height:auto;
	position:relative;
	
}

/*ボイスボタンを配置する為のボックス*/
.voice{
	width:8.173913043478260%;
	height:54.603854389721600%;
	position:absolute;
	left:48.009130434782600%;
	top:43.668122270742400%;
/*	top:41.113490364025700%;*/
	
	margin: 0 auto;

}




.voice b img{
	width:100% !important;
	min-width:1px !important;
}
/*!important最優先の命令*/


#img0 .voice b{
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	max-height:47px;
	margin: 2%;
	cursor: pointer;
}
#img0 .voice b img{

}

#img0 .voice b .ton{
	-webkit-transition: 0.3s;
	transition: 0.3s;
	opacity: 0;
	visibility: hidden;
		position: absolute;
	left:0;
	top:0;

}

#img0 .voice b .toff{
	-webkit-transition: 0.5s;
	transition: 0.5s;
}
#img0 .voice b:hover > .ton{
	opacity: 1;
	visibility: visible;
}
#img0 .voice b:hover > .toff{
	opacity: 0.1;

}

/*---------------------------------------------------------------------------------------------------*/

/*折りたたみ・展開*/

input[type=checkbox] {display: none;}


input[type=checkbox] + img + .subchange, input[type=checkbox] + ul + .subchange {
	display: block;
	width: 180px;
	height: 45px;
	cursor: pointer;
	position: relative;
	margin: 0 50px 0 auto;
	background-position:center top;

}


#chara{
width:100%;
height:auto;
}

#chara .subchange {background-image: url('frame/menu/button0.png');}


#hscene{
width:100%;
height:auto;
}

#hscene .subchange {background-image: url('frame/menu/button0.png');}



#cos{
width:100%;
height:auto;
}

#cos .subchange {background-image: url('frame/menu/button0.png');}



#map{
width:100%;
height:auto;
}

#map .subchange {background-image: url('frame/menu/button0.png');}



input[type=checkbox]:checked + img + .subchange, input[type=checkbox]:checked + ul + .subchange{
	background-position:center bottom;
}


input[type=checkbox] + img, input[type=checkbox] + ul{
	display: none;
}

input[type=checkbox]:checked + img, input[type=checkbox]:checked + ul{
	display: block;
}

/*---------------------------------------------------------------------------------------------------*/

.largemovie{
	width: 100%;
	max-width: 1150px !important;
	position: relative;
}


.largemovie li{
	position: absolute;
	width:78.260869565217400%;
	height:90.909090909090900%;
	left:10.869565217391300%;
	top:4.545454545454550%;
	max-width:900px;
	max-height:500px;
}






.largemovie li video{
	width:100%;
	height:auto;
}


/*i2movie
--------------------------------------------------------------------------------------*/
#i2movie{
	width: 602px;
	height: 482px;
	position:absolute;
	left:65.217391304347800%;
	top:32.119914346895100%;
	margin-left: -301px;
	/*box-shadow: 0 0 81px 33px #fff7de;*/
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-out;
	cursor: pointer;
	z-index:100000 !important;
}

#i2movie video{
	position: absolute;
	left:31px;
	top: 81px;
	width: 540px;
	height: 320px;
}

input[type=checkbox] {
	display:none;
}
input[type=checkbox] + label{
	padding:0 25px 35px;
	position: absolute;
	display: inline-block;
	width: 50px;
	height: 50px;
	left:251px;
	top:456px;
	cursor: pointer;
	background: url(index/i2movie_close.png);
}

input[type=checkbox]:checked + label{
	background: url(index/i2movie_play.png); 
}

.acv{
	/*box-shadow: 0 0 10px 0px #7e4e5c !important;*/
}

@media screen and (max-width: 500px) {
	#i2movie{
		width: auto;
		height: auto;
		position: relative;
		z-index: auto;
		left: 0;
		top:0;
		margin-left: 0;
		box-shadow: none;
		border-radius: 0;

	}
	#i2movie img{
		width: 100%;
		height: auto;
	}
	#i2movie video{
		width:89.700996677740900%;
		height:66.390041493775900%;
		left:5.149501661129570%;
		top:16.804979253112000%;
	}

	input[type=checkbox] + label {
		display: none;
	}
}

/*i2movie end
