* {
	box-sizing: border-box;
}

html,body {
	min-height: 100%;
}

body {
	background-image: url(img/bg.png);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

body, input {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 700;
}

.none { display: none; }
.blank1 { height: 15px; }
.blank2 { height: 30px; }
.blank4 { height: 60px; }
.blank6 { height: 90px; }
.blank8 { height: 120px; }

h1 { font-size: 3.0rem; color: white; }
.message { font-size: 2rem; color: white; }
.label { font-size: 2rem; color: white; }
.note { font-size: 1.4rem; color: white; }

input[type="number"] {
	font-size: 3.0rem;
	padding: 10px 20px;
	border-radius: 10px;
	border: none;
	text-align: center;
	color: #555;
	width: 5em;
}

input[type="number"]:focus {
	outline: 0;
	background-color: #ffd;
}

.button-orange {
	background-color: #c47;
	border-radius: 5px;
	font-size: 2.0rem;
	padding: 10px 20px;
	border: solid 3px #eea;
	display: inline-block;
	text-decoration: none;
	color: white;
}

.button-gray {
	background-color: #aaa;
	border-radius: 5px;
	font-size: 1.4rem;
	padding: 5px 15px;
	border: solid 3px #888;
	display: inline-block;
	text-decoration: none;
	color: white;
}

.card-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.card {
	flex-basis: 70px;
	height: 70px;
	flex-shrink: 0;
	margin: 5px;
	border: solid 3px white;
	border-radius: 5px;
	background-image: url(img/card.png);
	background-size: 70px;
	text-decoration: none;
	overflow: hidden;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.card-opened {
	width: 64px;
	height: 64px;
	background-color: white;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.card-opened div:first-child {
	color: #bbb;
	font-size: 3rem;
	line-height: 3rem;
}

.card-opened div:last-child {
	color: #c23;
	font-size: 1.2rem;
	line-height: 1.2rem;
}

.remodal {
	background-color: transparent !important;
}

.modal-card {
	width: 250px;
	height: 250px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 10px;
	background-color: white;
	line-height: 10rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.modal-num {
	font-size: 10rem;
	color: #bbb;
	line-height: 10rem;
}

.modal-atari {
	font-size: 3.6rem;
	color: #c23;
	line-height: 3.6rem;
}
