@charset "UTF-8";

/*基本はPCとして作成*/
body {
	text-align: center;
	font-family: "Hachi Maru Pop", cursive;
	background-color: rgb(167, 211, 196);
}

h1 {
	font-size: 30px;
}

#answer-area {
	font-size: 30px;
	margin: 20px;
	min-height: 40px;
}

#buttons {
	margin-top: 25px;
}

button {
	font-size: 25px;
	margin: 5px;
	padding: 10px 20px;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.5s;
}

/* ホバー時の色変更 */
#buttons button:hover:not(:disabled) {
	background-color: #ffeb3a;
}

/* 押した後（無効化）状態のボタン */
#buttons button:disabled {
	background-color: #ccc;
	color: #888;
	cursor: not-allowed;
	border-color: #aaa;
}


/*ヒントボタン　通常：非表示*/
.hint {
	display: none;
	margin-top: 20px;
}

#hint-img {
	max-width: 200px;
}

#hint-text {
	font-size: 30px;
}


#result {
	margin-top: 20px;
	font-size: 36px;
}

#cng-button {
	cursor: pointer;
	transition: background-color 0.3s;
}

/* 正解時の強調スタイル */
#cng-button.highlight {
	background-color: #fff176;
	/* 明るめの黄色 */
	border-color: #fbc02d;
	color: #000;
}

footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
	font-size: 1rem;
	padding: 1em;
	background-color: rgba(255, 255, 255, 0.8);
	/* 任意 */
}



footer a {
	text-decoration: none;
	color: blue;
}

/*以下レスポンシブデザイン　予定*/
@media screen and (max-width: 768px) {
	body {
		background-color: rgb(140, 194, 238);
	}
}