@charset "utf-8";


body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td
{ 
	margin: 0;
	padding: 0;
}

table
{
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,img
{ 
	border: 0;
}

ul,li
{
	list-style: none;
}

caption,th
{
	text-align: left;
}

abbr,acronym
{
	border: 0;
}

/*======================================

	1-1.YUI Fonts CSS
	http://developer.yahoo.com/yui/fonts/
	*Copyright (c) 2006, Yahoo! Inc. All rights reserved.
	*http://developer.yahoo.com/yui/license.txt
	
	Font-size Adjustment.
	
	77% = 10px	|	122% = 16px	|	167% = 22px	
	85% = 11px	|	129% = 17px	|	174% = 23px 
	92% = 12px	|	136% = 18px	|	182% = 24px 
	100% = 13px	|	144% = 19px	|	189% = 25px 
	107% = 14px	|	152% = 20px	|	197% = 26px 
	114% = 15px	|	159% = 21px	| 

=======================================*/

* {
	font-size: 100%;
	font-weight: normal;
	font-style: normal;
}

body
{
	font: 13px/1.231 arial,helvetica,clean,sans-serif;
	*font-size: small;
	*font: x-small;
	
	line-height: 1;
}

table
{
	font-size: inherit;
	font: 100%;
}

pre,code,kbd,samp,tt
{
	font-family: monospace;
	*font-size: 108%;
	line-height: 100%;
}



/*======================================

	1-2.Structure Module

=======================================*/

html
{
	overflow-y: scroll;
}


/*======================================

	Main

=======================================*/


html,body {
	background-color:#fff;
	color:#999999;
	font-family: sans-serif;
	line-height:1.2em;
	-ms-user-select: none;
	-webkit-user-select: none;
	-moz-user-select: -moz-none;
}

/*----------------------------------------
 common
----------------------------------------*/

#Header {
	height: 150px;
}

#Logo {
	margin-top:70px;
	text-align: center;
}

#Body {
	min-height: 800px;
}

#Navi {
	width:100%;
	height:50px;
	position: absolute;
	top:20px;
}
	#Navi ul {
/* 		width: 130px; */
		width: 70px;
		float:right;
	}
		#Navi li {
			width:60px;
			height:50px;
			float: left;
		}

#Footer {
	position: fixed;
	clear: both;
	bottom: 30px;
	width: 100%;
}
	#Footer p {
		text-align: center;
		color: #e0e0e0;
	}
	#Footer a {
		display: inline;
		text-decoration: none;
		color: #e0e0e0;
	}
	#Footer a:hover {
		color: #999999;
	}
#DetailBg {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
}

/*----------------------------------------
 List
----------------------------------------*/


#List {
	display: none;
	margin:auto;
	width: 960px;
	padding-bottom: 100px;
}

	#List .cell {
		float: left;
		width: 300px;
		height: 300px;
		margin-right: 30px;
		margin-bottom: 30px;
		background-color: #f2f2f2;
	}
	#List .cell.turn {
		margin-right:0px;
	}
		#List .cell a {
			display:block;
			width: 300px;
			height: 300px;
			background-position: 0px 0px;
		}
		body.down #List .cell a {
			background-position: -300px 0px;
		}

#Detail {
	width: 600px;
	left: 50%;
	padding-top: 50px;
	margin-left: -300px;
	position: absolute;
	text-align: center;
	display: none;
}
	#DetailImage {
		width: 600px;
		height: 600px;
		margin:auto;
	}
			body.down #DetailImage {
				background-position: -600px 0px;
			}
	
	#Detail .share {
		position: absolute;
		width: 600px;
		height: 70px;
		margin-top:-70px;
	}
		#Detail .bg {
			position: absolute;
			width: 600px;
			height: 70px;
			background-color: #000;
			opacity: 0.5;
		}
		#Detail .buttons {
			position: absolute;
			width: 600px;
			height: 70px;
		}
			#Detail .share .inner {
				padding: 25px;
				line-height: 20px;
			}
				#Detail .download {
					float:left;
				}
				#Detail .twitter,
				#Detail .tumblr,
				#Detail .facebook {
					float:right;
				}
					#Detail .download a {
						word-spacing: 0px;
						display: inline;
						text-decoration: none;
						color: #e0e0e0;
					}
					#Detail .download a:hover {
						color: #999999;
					}
	
	#Detail .tool {
		position: absolute;
		margin-top: 50px;
		margin-left: 275px;
		padding-bottom: 40px;
	}

#PageNavi {
}

	#PrevButton {
		position: fixed;
		left: 20px;
		top: 50%;
	}
	
	#NextButton {
		position: fixed;
		right: 20px;
		top: 50%;
	}


/*----------------------------------------
 generate
----------------------------------------*/


#Error p {
	color: red;
	text-align: center;
	padding-bottom: 20px;
}


#Generate {
	margin:auto;
	width: 960px;
}

	#Generate .cell {
		float: left;
		width: 300px;
		height: 400px;
		margin-right: 30px;
		margin-bottom: 30px;
	}
	#Generate .cell.turn {
		margin-right:0px;
	}
		#Generate .cell h3 {
			padding-bottom: 5px;
			text-align: center;
		}
		#Generate .cell .view {
			width: 300px;
			height: 300px;
			background-color: #f2f2f2;
		}
		#Generate .cell .tool {
			padding-top: 10px;
		}
			#Generate .cell .tool li {
				width: 60px;
				float: left;
			}
		
			#Trim .tool ul,
			#Headbang .tool ul {
				margin-left: 95px;
			}
			#Preview .tool ul {
				margin-left: 125px;
			}

#TrimImageMask,
#HeadbangImageMask,
#PreviewImageMask {
	position: absolute;
	width: 300px;
	height: 300px;
	overflow: hidden;
}

	#TrimImage,
	#HeadbangImage,
	#PreviewImage {
		display: block;
		position: absolute;
	}
	
	#TrimImage { cursor: move; }
	#Head { cursor: crosshair; }
	#Head circle { cursor: move; }

#PreviewCanvas {
	position: absolute;
	margin-top: 10px;
}


#UploadForm {
	padding-top: 50px;
	padding-bottom: 80px;
	width: 600px;
	margin: auto;
}

	#UploadForm p {
		text-align: center;
		padding-bottom: 10px;
		font-size: 125%;
	}

	#UploadForm .fileContainer {
		display: table-cell;
		width: 450px;
		height: 30px;
		float: left;
		vertical-align: middle;
	}
		#UploadForm input[type=file] {
		}
	
	#UploadForm input[type=image] {
		display: block;
		width: 120px;
		float: right;
	}
	

#SPPlay {
	display: block;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding-top: 50px;
	padding-bottom: 0px;
	text-align: center;
}

#PrevButton {
	display: none;
}
	
#NextButton {
	display: none;
}




/*----------------------------------------
 smart phone
----------------------------------------*/
#MessageForSP {
	padding-top: 50px;
	text-align:center;
	font-size: 200%;
	color: #d9d9d9
}

body.sp #Body {
	min-height: 620px;
}

body.sp #SPPlay {
	display: block;
	padding-top: 50px;
	padding-bottom: 0px;
	text-align: center;
}


body.sp #List {
	width: 480px;
	padding-bottom: 0px;
}

	body.sp #List .cell {
		width: 150px;
		height: 150px;
		margin-right: 15px;
		margin-bottom: 15px;
	}
	body.sp #List .cell.turn {
		margin-right:0px;
	}
		body.sp #List .cell a {
			width: 150px;
			height: 150px;
			background-size: 300px 150px;
		}
		body.sp.down #List .cell a {
			background-position: -150px 0px;
		}

body.sp #Detail {
	width: 480px;
	margin-left: -240px;
	padding-top: 0px;
}
	body.sp #DetailImage {
		width: 480px;
		height: 480px;
		background-size: 960px 480px;
	}
	body.sp.down #DetailImage {
		background-position: -480px 0px;
	}
	
	
	body.sp #Detail .share {
		position: static;
		width: 480px;
		height: auto;
		margin-top: 0px;
	}
		body.sp #Detail .bg {
			display: none;
		}
		body.sp #Detail .buttons {
			position: static;
			width: 480px;
			height: auto;
		}
			body.sp #Detail .share .inner {
				padding: 10px 0px;
				line-height: 20px;
			}
				body.sp #Detail .download {
					float:left;
					text-align: left;
					padding-bottom:10px;
				}
				body.sp #Detail .twitter,
				body.sp #Detail .tumblr,
				body.sp #Detail .facebook {
					float:right;
				}
					body.sp #Detail .download a {
						word-spacing: 0px;
						display: inline;
						text-decoration: underline;
						color: #999999;
					}
					body.sp #Detail .download a:hover {
						color: #666666;
					}
	
		
	body.sp #Detail .tool {
		position: absolute;
		margin-top: 20px;
		margin-left: 215px;
	}

body.sp #PageNavi {
	width: 120px;
	margin:auto;
	padding-top: 5px;
}

	body.sp #PrevButton {
		position: static;
		left: 0px;
		top: 0px;
		float: left;
		display: none;
	}
	
	body.sp #NextButton {
		position: static;
		left: 0px;
		top: 0px;
		float: right;
		display: none;
	}

body.sp #UploadForm {
	width: 460px;
}
	body.sp #UploadForm .fileContainer {
		width: 320px;
	}
	
	#UploadForm input[type=image] {
		width: 120px;
	}

body.sp #Generate {
	width: 460px;
	margin: auto;
}
	body.sp #Generate .cell h3 img {
		width: 460px;
		height: 20px;
	}
	
	body.sp #Generate .cell {
		float: none;
		width: 460px;
		height: 640px;
	}
		body.sp #Generate .cell .view {
			width: 460px;
			height: 460px;
			background-color: #f2f2f2;
		}
		
		body.sp #Generate .cell .toolDescription {
			width: 460px;
			margin: auto;
			padding-top: 10px;
			text-align: center;
			font-size: 125%;
		}
		
		body.sp #Generate .cell .tool {
			padding-top: 30px;
		}
			body.sp #Generate .cell .tool li {
				width: auto;
				float: none;
				margin: auto;
				text-align: center;
			}
		
			body.sp #Trim .tool ul,
			body.sp #Headbang .tool ul,
			body.sp #Preview .tool ul {
				margin: auto;
			}

body.sp #TrimImageMask,
body.sp #HeadbangImageMask,
body.sp #PreviewImageMask {
	width: 460px;
	height: 460px;
}


body.sp #Footer {
	position: static;
	clear: both;
	padding-top: 20px;
	padding-bottom: 30px;
}



/*----------------------------------------
 clearfix 
----------------------------------------*/

.clear
{
	clear:both;
}

/* modern browsers */

.clearfix:after
{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* IE7 */

.clearfix
{
	display: inline-block;
}

/* legacy IE */

* html .clearfix
{
	height: 1%;
}

.clearfix
{
	display: block;
}

.topsy_widget_data{
	display:inline;
	width:70px;
	float:right;
	margin-left:10px;
}
	
	

