html.fix {
	position: fixed;
	width: 100%;
}
body {
	margin: 0 auto;
	color: #fff;
	background: #0F2B4C;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
#contents {
	padding: 16px 5px;
}
#mode, #training, #score {
	box-sizing: border-box;
	display: none;
	margin: 0 auto 26px;
	max-width: 630px;
	padding-left: 5px;
	padding-right: 5px;
}
#training {
	padding-left: 1%;
	padding-right: 1%;
}
#contents.mode #mode, #contents.training #training, #contents.score #score {
	display: block;
}

.col3 {
	box-sizing: border-box;
	margin: 0 auto 14px;
	max-width: 630px;
	padding: 0 3px;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
.col3 .col-l {
	width: 34px;
	float: left;
}
.col3 .col-l a {
	text-decoration: none;
	overflow: hidden;
	width: 36px;
	height: 35px;
	text-align: center;
	display: block;
}
.col3 .col-l a img {
	transform: scale(-1, 1);
}
.col3 .col-c {
	text-align: center;
	/*background: #666;*/
	width: calc(100% - 68px);
	float: left;
}
.col3 .col-r {
	width: 34px;
	float: left;
}
.col3 .col-r a {
	text-decoration: none;
	overflow: hidden;
	width: 36px;
	height: 35px;
	text-align: center;
	display: block;
}
.col3 a img {
	width: auto;
	height: 22px;
}
.col3 a .label {
	font-family: 'Teko', sans-serif;
	color: #75D3D3;
	font-weight: bold;
	font-size: 11px;
	line-height: 7px;
	padding: 0;
	letter-spacing: 1px;
	display: block;
}
#contents.mode .col3 {
	position: relative;
}
#contents.mode .col3 .col-l {
	position: absolute;
	top: 0;
	left: 3px;
}
#contents.mode .col3 .col-c {
	width: 100%;
}
#contents.mode .col3 .col-r {
	display: none;
}

h1, h2, h3 {
	/*font-family: 'Teko', sans-serif;*/
	/*font-family: 'Quicksand', sans-serif;*/
	
	margin: 0;
	padding: 0;
	/*letter-spacing: 1px;*/
	text-align: center;
}
h1 {
	box-sizing: border-box;
	font-family: 'Teko', sans-serif;
	width: 400;
	font-size: 28px;
	line-height: 20px;
	letter-spacing: 3px;
	text-indent: 3px;
	margin: 10px 0 5px;
}
#header h1 {
	margin: 0;
	color: #E8FCFB;
	line-height: 26px;
	white-space: nowrap;
}
#header h1 div {
	margin: 0;
	padding-right: 2px;
	color: #60BBBF;
	font-size: 11px;
	letter-spacing: 1.8px;
	text-indent: 1.8px;
	line-height: 12px;
}
h2 {
	font-family: 'Teko', sans-serif;
    font-size: 15px;
    letter-spacing: 2.5px;
    line-height: 36px;
}
h3 {
	font-family: 'Teko', sans-serif;
	width: 200;
	font-size: 12px;
	line-height: 12px;
	letter-spacing: 1.5px;
}
#hd {
	font-size: 13px;
	line-height: 13px;
	padding: 20px 0 10px;
}

#mode p {
	font-size: 14px;
	line-height: 19px;
}
#mode p.fp1 {
	margin-top: 8px;
}
#modeSelects {
	margin: 9px 0 16px -13px;
	overflow: hidden;
}
#modeSelects > div {
	box-sizing: border-box;
	float: left;
	margin-left: 13px;
	margin-bottom: 4px;
    width: calc(50% - 13px);
    padding: 4px 0;
	text-align: center;
	color: #fff;
	font-family: 'Teko', sans-serif;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 13px;
	cursor: pointer;
	transition: opacity 0.3s;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
#modeSelects > div[button="cstm"] {
	box-sizing: border-box;
    margin: 0 auto 4px;
    width: 100%;
    padding-left: 13px;
    line-height: 15px;
}
#modeSelects > div > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	border-radius: 50%;
	width: 86px;
    height: 86px;
	background-color: #60BBBF;
    background-image: url(img/btn_type.png);
    background-size: auto 86px;
}
#modeSelects > div[button="fu"] > div {
	background-position: -86px top;
}
#modeSelects > div[button="hd"] > div {
	background-position: -172px top;
}
#modeSelects > div[button="hu"] > div {
	background-position: -258px top;
}
#modeSelects > div > div img {
	margin: 2px 0;
}
#modeSelects > div span {
	display: block;
	color: #53b0c3;
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 1px;
}
#cnc {
	box-sizing: border-box;
	color: #fff;
	padding: 20px 0 10px;
	clear: both;
	border-radius: 8px;
	box-sizing: border-box;
	margin: 0 22px 2px;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
#cnc h2 {
	font-size: 50px;
	line-height: 42px;
}
#cnc.loading {
	color: #aaa;
}
#cnc.button {
	border: 2px solid #fff;
	background: #444;
	padding-top: 13px;
	padding-bottom: 8px;
}

#cnc.score {
	color: #f90;
	background: #222;
	border: solid 2px #f90;
}
#cnc.red {
	color: #F33;
	background: #480000;
	border: solid 2px #e00;
}

#gameCount {
	text-align: center;
	color: #60BBBF;
	font-family: 'Teko', sans-serif;
	font-size: 15px;
	letter-spacing: 1.5px;
}

.ctr {
	text-align:center;
}
.fp1 {
	font-family: 'Teko', sans-serif;
	font-size: 10px;
	line-height: 10px;
	letter-spacing: 1px;
}
p {
	text-align: justify;
	letter-spacing: 1px;
}
ul.btn-asw {
	text-align: center;
	margin: 0 auto;
	width: 100%;
	max-width: 340px;
	padding: 0;
	list-style-type: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
ul.btn-asw li {
	background-image: url(img/btn_pitch.png);
	background-position: left top;
	background-size: cover;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: inline-block;
	margin: 0 calc((100% - 256px) / 8) 10px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.3s;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
ul.btn-asw li.active, ul.btn-asw li.correct {
	opacity: 1;
}
ul.btn-asw li[button="2"] {
	background-position: -64px top;
}
ul.btn-asw li[button="3"] {
	background-position: -128px top;
}
ul.btn-asw li[button="4"] {
	background-position: -192px top;
}
ul.btn-asw li[button="5"] {
	background-position: -256px top;
}
ul.btn-asw li[button="6"] {
	background-position: -320px top;
}
ul.btn-asw li[button="7"] {
	background-position: -384px top;
}
ul.btn-asw li[button="8"] {
	background-position: -448px top;
}
ul.btn-asw li[button="9"] {
	background-position: -512px top;
}
ul.btn-asw li[button="10"] {
	background-position: -576px top;
}
ul.btn-asw li[button="11"] {
	background-position: -640px top;
}
ul.btn-asw li[button="12"] {
	background-position: -704px top;
}
ul.btn-asw li:focus {
	opacity: 0.6;
}
ul.btn-asw li .abtn {
	color: #585858;
	font-family: 'Teko', sans-serif;
	font-size: 12px;
	line-height: 12px;
	padding: 20px 0 0 2px;
	font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
ul.btn-asw li .abtn img.flat {
	padding: 0 0 1px;
	width: 9px;
	height: 11px;
}
.abtn .label {
	text-decoration: none;
	letter-spacing: 1px;
}
.disable-3d-touch {
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
ul.btn-asw li .abtn:active {
	background: #888;
}

#allper {
	margin-bottom: 13px;
	text-align: center;
	color: #60BBBF;
	font-family: 'Teko', sans-serif;
	font-size: 18px;
	letter-spacing: 2px;
	line-height: 21px;
}
#allper > div {
	display: inline-block;
	text-align: left;
}
#allper > div div {
	color: #0B8C99;
}
#allper img {
	margin-right: 5px;
	width: 13px;
	height: auto;
}
#allper span.ttl {
	display: inline-block;
	width: 61px;
	text-align: justify;
	text-justify: distribute-all-lines;
}
#allper > div div span.ttl {
	letter-spacing: 11.5px;
}

#score ul {
	list-style: none;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    margin: 0 auto 10px;
    height: 280px;
    width: 100%;
    max-width: 340px;
    padding: 0;
    text-align: center;
}
#score ul li {
	display: inline-block;
	margin: 0 6px 9px;
	width: 130px;
}
#score ul img.arrow {
	width: auto;
	height: 36px;
}
#score ul li > div {
	float: left;
	margin-right: 8px;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	background-image: url(img/btn_pitch.png);
	background-position: left top;
	background-size: cover;
}
#score ul li[button="2"] > div {
	background-position: -36px top;
}
#score ul li[button="3"] > div {
	background-position: -72px top;
}
#score ul li[button="4"] > div {
	background-position: -108px top;
}
#score ul li[button="5"] > div {
	background-position: -144px top;
}
#score ul li[button="6"] > div {
	background-position: -180px top;
}
#score ul li[button="7"] > div {
	background-position: -216px top;
}
#score ul li[button="8"] > div {
	background-position: -252px top;
}
#score ul li[button="9"] > div {
	background-position: -288px top;
}
#score ul li[button="10"] > div {
	background-position: -324px top;
}
#score ul li[button="11"] > div {
	background-position: -360px top;
}
#score ul li[button="12"] > div {
	background-position: -396px top;
}
#score ul li span {
	box-sizing: border-box;
	display: block;
    height: 36px;
	padding-top: 1px;
	text-align: left;
	font-family: 'Teko', sans-serif;
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 18px;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
#score ul li span img.arrow {
	float: right;
}
.btn {
	display: block;
	box-sizing: border-box;
	margin: 32px auto 0;
	border-radius: 6px;
	width: 100%;
	max-width: 400px;
	background-color: #60BBBF;
	padding: 19px 0 16px;
	text-align: center;
	color: #0F2B4C;
	font-family: 'Teko', sans-serif;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: 2px;
	line-height: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s;
	-moz-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}
#blackScreen .btn {
	width: calc(100% - 20px);
}
#mode a.btn:last-of-type {
	margin-top: 20px;
}

.touchHover {
	opacity: 0.7 !important;
}
@media screen and (min-width:640px) {
	ul.btn-asw li.active:hover{
		opacity: 0.7;
	}
	.btn:hover {
		opacity: 0.7;
	}
	#modeSelects div:hover {
		opacity: 0.7;
	}
	.col3 a:hover {
		opacity: 0.7;
	}
}

#blackScreen {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-family: 'Teko', sans-serif;
	font-size: 24px;
	letter-spacing: 3px;
	opacity: 0;
	transition: opacity 0.5s;
}

.shake{transform-origin:center center}.shake-freeze,.shake-constant.shake-constant--hover:hover,.shake-trigger:hover .shake-constant.shake-constant--hover{animation-play-state:paused}.shake-freeze:hover,.shake-trigger:hover .shake-freeze,.shake:hover,.shake-trigger:hover .shake{animation-play-state:running}
@keyframes shake{
	2%{transform:translate(-4.5px, 3.5px) rotate(.5deg)}
	4%{transform:translate(3.5px, -4.5px) rotate(.5deg)}
	6%{transform:translate(-3.5px, 3.5px) rotate(3.5deg)}
	8%{transform:translate(-3.5px, -4.5px) rotate(3.5deg)}
	10%{transform:translate(-3.5px, 4.5px) rotate(.5deg)}
	12%{transform:translate(5.5px, -4.5px) rotate(-.5deg)}
	14%{transform:translate(4.5px, 3.5px) rotate(-.5deg)}
	16%{transform:translate(4.5px, -4.5px) rotate(.5deg)}
	18%{transform:translate(5.5px, -3.5px) rotate(.5deg)}
	20%{transform:translate(-3.5px, 4.5px) rotate(.5deg)}
	22%{transform:translate(-3.5px, -3.5px) rotate(.5deg)}
	24%{transform:translate(5.5px, -4.5px) rotate(3.5deg)}
	26%{transform:translate(-3.5px, 5.5px) rotate(-.5deg)}
	28%{transform:translate(5.5px, -4.5px) rotate(.5deg)}
	30%{transform:translate(-4.5px, -3.5px) rotate(-.5deg)}
	32%{transform:translate(3.5px, 4.5px) rotate(-.5deg)}
	34%{transform:translate(5.5px, 3.5px) rotate(.5deg)}
	36%{transform:translate(4.5px, -4.5px) rotate(.5deg)}
	38%{transform:translate(5.5px, 5.5px) rotate(.5deg)}
	40%{transform:translate(-3.5px, -3.5px) rotate(.5deg)}
	42%{transform:translate(5.5px, -4.5px) rotate(.5deg)}
	44%{transform:translate(4.5px, -3.5px) rotate(3.5deg)}
	46%{transform:translate(3.5px, 5.5px) rotate(.5deg)}
	48%{transform:translate(3.5px, 4.5px) rotate(-.5deg)}
	50%{transform:translate(-4.5px, -3.5px) rotate(-.5deg)}
	52%{transform:translate(3.5px, 4.5px) rotate(-.5deg)}
	54%{transform:translate(-3.5px, 3.5px) rotate(-.5deg)}
	56%{transform:translate(4.5px, -3.5px) rotate(.5deg)}
	58%{transform:translate(3.5px, 5.5px) rotate(3.5deg)}
	60%{transform:translate(-3.5px, 4.5px) rotate(-.5deg)}
	62%{transform:translate(5.5px, 3.5px) rotate(3.5deg)}
	64%{transform:translate(-3.5px, 5.5px) rotate(.5deg)}
	66%{transform:translate(3.5px, -3.5px) rotate(-.5deg)}
	68%{transform:translate(3.5px, -3.5px) rotate(-.5deg)}
	70%{transform:translate(-4.5px, 5.5px) rotate(3.5deg)}
	72%{transform:translate(-3.5px, 4.5px) rotate(3.5deg)}
	74%{transform:translate(-3.5px, 5.5px) rotate(3.5deg)}
	76%{transform:translate(5.5px, 3.5px) rotate(-.5deg)}
	78%{transform:translate(5.5px, 4.5px) rotate(3.5deg)}
	80%{transform:translate(-4.5px, -3.5px) rotate(-.5deg)}
	82%{transform:translate(5.5px, -4.5px) rotate(3.5deg)}
	84%{transform:translate(-4.5px, 3.5px) rotate(-.5deg)}
	86%{transform:translate(5.5px, -4.5px) rotate(.5deg)}
	88%{transform:translate(4.5px, -3.5px) rotate(.5deg)}
	90%{transform:translate(5.5px, 4.5px) rotate(.5deg)}
	92%{transform:translate(-3.5px, -4.5px) rotate(-.5deg)}
	94%{transform:translate(-4.5px, 4.5px) rotate(.5deg)}
	96%{transform:translate(5.5px, 5.5px) rotate(3.5deg)}
	98%{transform:translate(4.5px, -4.5px) rotate(-.5deg)}
	0%,100%{transform:translate(0, 0) rotate(0)}}.shake:hover,.shake-trigger:hover .shake,.shake.shake-freeze,.shake.shake-constant{animation-name:shake;animation-duration:100ms;animation-timing-function:ease-in-out;animation-iteration-count:infinite}

/* clear fix */
.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after {
	clear: both;
}
.cf {
 *zoom: 1;
}
