@charset "utf-8";
/* CSS Document */

body {
	font-size:13px;
	line-height:1.4em;
	width:100%;
	margin:0 auto;
	padding:0;
	background-color: transparent;
}
#wrapper {
	width:100%;
	margin:0 auto;
	padding:0 0 6px;
}

/*キャラクター*/
#giconarea {
	width:228px;
	height:91px;
	text-align:center;
	overflow:hidden;
	margin:auto;
	padding-bottom:8px;
	background:url(giconbg.png) 50% 50% no-repeat;
}
#gicon {
	height:91px;
	background-position:right 50%;
	background-repeat:no-repeat;
	background-size: auto 91px;
}

/*グラフ*/
#graph {
	max-width:220px;
	text-align:center;
	overflow:hidden;
	margin:auto;
}
.graphs {
	height:37px;
	min-width:1%;
	float:left;
	margin:0;
	padding:5px 0 0;
	background-position:0 0;
	background-repeat:repeat-x;
	overflow:hidden;
}
.graphs span {
	display:block;
	position:relative;
}
.graphs span strong {
	height:20px;
	overflow:hidden;
	display:block;
}
.graphs span strong + br {
	display:none;
}
.bar-wrap {
	overflow: hidden;
}
#bar1 {
	background-image:url(bar1bg.png);
}
#bar2 {
	background-image:url(bar2bg.png);
}
.sub-wrap {
	height: 24px;
}
.sub {
	font-size:12px;
	display:inline-block;
	margin:6px 2px 2px;
	padding:1px 0.5em;
	width:auto;
	height:14px;
	line-height:14px;
	border-radius:2px;
	white-space:nowrap;
}
#subbar1 {
	position: relative;
	float:left;
	background:#fa9;
	display:none;
}
#subbar1:after {
	bottom: 100%;
	left: 10%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-bottom-color: #fa9;
	border-width: 4px;
	margin-left: -4px;
}
#subbar2 {
	position: relative;
	float:right;
	background:#fd5;
	display:none;
}
#subbar2:after {
	bottom: 100%;
	left: 90%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-bottom-color: #fd5;
	border-width: 4px;
	margin-left: -4px;
}

/*ピンときたら…*/
p#pin {
	font-size:12px;
	color:#333;
	text-align:center;
	margin:0 auto;
	padding:8px 0;
}

/*error*/
span#err {
	font-weight:bold;
}


/*設問テキスト*/
p#message {
	clear:both;
	padding:0 1em 0;
	text-align:left;
}

/*投票フォーム*/
#mainform {
	max-width:220px;
	clear:both;
	text-align:center;
	margin:auto;
}
#mainform #d1,
#mainform #d2 {
	width:50%;
	height:3em;
	line-height:3em;
	float:left;
}
#mainform div label {
	display:block;
	background-color:#efefef;
	font-size:14px;
	transition:background-color 0.2s ease;
}
#mainform #d1 label {
	margin-right:1px;
}
#mainform #d2 label {
	margin-left:1px;
}
#mainform #d1 label:hover {
	background-color:#fa9;
}
#mainform #d2 label:hover {
	background-color:#fd5;
}
fieldset {
	border:none;
	margin:0 auto;
	padding:0 0 2px 0;
}
#mainform #submitbtn {
	width:100%;
	height:3em;
/* Firefox */
background: -moz-linear-gradient(top center, #67cafc 0%, #60b9e7 100%);
/* Chrom と Safari */
background: -webkit-gradient(linear, center top, center bottom, from(#67cafc), to(#60b9e7));
/* 共通 */
background: linear-gradient(top center, #67cafc 0%, #60b9e7 100%);
/* InternetExplorer */  
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#67cafc', endColorstr='#60b9e7', GradientType=0);
/* ie10 */
background: linear-gradient(to bottom, #67cafc, #60b9e7);
	border:1px solid #5192b4;
	color:#172e3b;
	font-size:14px;
	font-weight:bold;
	cursor:pointer;
}
#mainform #submitbtn:hover {
/* Firefox */
background: -moz-linear-gradient(top center, #60b9e7 0%, #67cafc 100%);
/* Chrom と Safari */
background: -webkit-gradient(linear, center top, center bottom, from(#60b9e7), to(#67cafc));
/* 共通 */
background: linear-gradient(top center, #60b9e7 0%, #67cafc 100%);
/* InternetExplorer */  
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#60b9e7', endColorstr='#67cafc', GradientType=0);
/* ie10 */
background: linear-gradient(to bottom, #60b9e7, #67cafc);
}
/*ヒント*/


/*投票完了テキスト*/
p#thanks,
p#restart {
	margin:1em auto;
	padding:0;
	color:#333;
	font-size:14px;
	text-align:center;
}
p#thanks {
	font-weight:bold;
	color:#53bf1d;
}
p#restart a,
p#restart a:visited {
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:16px;
	font-weight:bold;
	text-decoration:none;
	color:#4cc3ff;
}
p#restart a:hover {
	color:#00aaff
}

@media (max-width: 767px) {
	#giconarea {
		width: 97.6%;
		background-repeat: repeat-x;
		margin: 0 1%;
	}
	#graph,
	#mainform {
		max-width: 94%;
	}
}
