@font-face {
	font-family: 'flopdesign-kana';
	src: url('/tenmusu/font/flopdesign-kana.eot');
	src: url('/tenmusu/font/flopdesign-kana.eot?#iefix') format('embedded-opentype'),
	url('/tenmusu/font/flopdesign-kana.woff') format('woff'),
	url('/tenmusu/font/flopdesign-kana.ttf') format('truetype');
}

img{
	max-width: 100%;
}


*{
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-appearance: none;
}

a{
	color:#3bf; 
}



#header{

	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
}

#header h1{
	font-size: 20px;
	color: #fff;
	padding:8px 8px;
	letter-spacing: 1px; 
	font-family: 'Nunito', sans-serif;	
	width: 200px;
}

#tenmusu{
	position: absolute;
	bottom: 80px;
	width: 300px;
	left: 50%;
	margin-left: -150px;

}


input,body{
	font-family: "flopdesign-kana","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
html{
	background: url("/tenmusu/images/bg.png") center bottom;
	position: relative;
	min-height: 100%;
}


.error{
	font-size: 8pt;
	color: red;
}

ul.history li:last-child:before,
ul.history li:last-child:after{
	content:"";
	border: 10px solid rgba(0,0,0,0);
	border-top-color: #333;
	border-bottom:none;
	display: table; 
	position: absolute;
	bottom: -10px;
	left: 50%;
	margin-left: -10px;
}

ul.history li:last-child:after{
	border-top-color: #fff;
	bottom: -7px;
}

#container{
	width: 400px;
	margin: 0 auto;
}


form{
	background: #222;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	padding: 20px;
	font-size: 0;
	text-align: center;;
	color: #333;
}

input{
	display: inline-block;
	font-size: 16px;
	vertical-align: bottom;
}

input[type="text"]{

	width: 70%;
	font-size: 17px;
	padding: 10px;
	border-radius: 10px;
	border: 2px solid #444;
	line-height: 1em;
	margin-top: 5px;
	box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5); 
	}


input[type="submit"]{
	width: 20%;
	font-size: 17px;
	margin: 0 auto 5px 2%;
	padding: 10px;
	border-radius: 10px;
	border: 2px solid #860;
	background-color: #ec1;
	transition:0.2s;
	line-height: 1em;
	box-shadow: 0 5px 0 #860;
	cursor: pointer;


}

input[type="submit"]:hover{
	background-color: #a80;
	box-shadow: 0 0 0 #860;
	margin-top: 5px;
	margin-bottom: 0px;
}

input::-webkit-input-placeholder{
	color: #999;
}

input:ms-input-placeholder{
	color: #999;
}

input::-moz-input-placeholder{
	color: #999;
}

ul.history {
	list-style: none;
}

ul.history li{
	margin-bottom: 10px;
	display: table;
	border-radius: 20px;
	border: solid 2px #444;
	padding: 6px 10px;
	color: #444;
	font-size: 17px;

}


ul li.me{
	background-color: #CFCD09;
	margin-left: auto; 
}


ul li.you{
	background-color: #fff;

}


ul li.you:last-child{
	background: #fff;
	padding: 10px 20px;
	position: relative;
	margin: 0 auto;

}

#sns{
	position: absolute;
	display: table;
	top: 0;
	right: 0;
}

#share,
#tweet{
	margin-right: 10px;
	display: inline-block;

}

#share a,
#tweet a{
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	background-color: #ec1;
	border-radius: 0px  0px 10px 10px;
	padding: 10px 0;
	width: 50px;
	color: #333;
	transition:0.2s;
	font-weight: bold;
	display: table;
	box-shadow: 0 5px 0 #860;
	border: 2px solid #860;
	border-top:none;
}

#share a:hover,
#tweet a:hover{
	background-color: #a80;
}
input[type="checkbox"]{
	display:none;
}

input[type="checkbox"]+.hint{
	display: none;
	text-align: center;
}
input[type="checkbox"]:checked+.hint{
	background: rgba(0,0,0,0.8);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1000;
	display: block;
} 
.hintbtn_label{
	position: absolute;
	left: 40px;
	bottom: 120px;
	width: 80px;
	z-index: 1001;
	transition:0.2s;
}

.hintbtn_label:hover{
	opacity: 0.7
}

.hint div{
	display: inline-block;
	color: #fff;
	z-index: 1002;
	text-align: left;
	padding: 50px;
}

.hint div h2{
	margin: 40px 0 15px 0 ;
}

.hint div p{
	font-size:16px;
	padding-left: 30px;
}

.hint div ul{
	padding-left: 30px;
	list-style: none;
}





/*すまほすたいる*/
@media (max-width: 640px) {


        * {
          font-size: 11px;
        }

        ul.history li.you:last-child,
        ul.history li{
        	font-size: 12px;
        	padding: 4px 10px;
        	border-width: 1px;
        	border-radius: 13px;
        }
		ul.history li:last-child:before{
			bottom: -5px;
			border-width:4px; 
		}
		 ul.history li:last-child:after{
			bottom: -4px;
			border-width:4px;
		}

        #tenmusu{
        	width: 50%;
        	margin-left: -25%;
        }

        form{
        	padding: 10px  0px 16px 0px;
        }

        html{
        	background-position: center -60px;
        	background-size: auto 100%;
        }

	#share a,
	#tweet a{
		padding: 6px 0;
		width: 42px;
	}
		.hintbtn_label{
		bottom: 90px;
		left: 20px;
		width: 50px;
	}


	.hint div{
		padding: 20px;
	}

	.hint div h2{
		font-size: 16px;
		margin: 20px 0 5px 0 ;
	}

	.hint div p{
		font-size:11px;
		padding-left: 10px;
		line-height: 1.5em;
	}

	.hint div ul{
		padding-left: 10px;
		font-size:11px;
		list-style: none;
		line-height: 1.5em;
	}

}


