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



/*---------------------------------------------------------------------------------- 設定領域 */

/*------------------------------------------ 範囲・表示方法の設定 */

div#divSetting div {
	margin: 0 0 8px 0;
	padding: 8px 0;
	text-align: center;
	border: 1px solid darkgray;
	border-radius: 4px;
}
div#divSetting p {
	line-height: 1.2;
}
div#divSetting div#divNums {
	text-align: center;
	border: none;
	font-size: 18px;
}
input.inputbox {
	width: 50px;
	flex-grow: 1;
	flex-shrink: 1;
	height: 24px;
	margin: 0;
	padding: 0;
	text-align: right;
	line-height: 1;
}
label input {
	vertical-align: text-top;
}

/*------------------------------------------ デバッグ用 */

form div#forDebug {
	display: none;
}
div#DebugArea {
	margin: 0 0 8px 0;
	color: red;
	border: 1px solid coral;

}

/*------------------------------------------ ボタン */

form#formCalc div#divBtn {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
input#btnCalc {
	flex-grow: 2;
	height: 50px;
	border-radius: 6px;
	margin: 0 4px 0 0;
	background-color: gainsboro;
}
input#btnClear {
	flex-grow: 1;
	height: 50px;
	border-radius: 6px;
	background-color: gainsboro;
}

/*---------------------------------------------------------------------------------- 結果・メッセージ表示領域 */

/*------------------------------------------ セクション */

section#AnswerArea {
	padding-bottom: 0;
}
section#AnswerArea > h1 {
	margin-bottom: 0;
}
section#AnswerArea section {
	padding-bottom: 0;
}
section#AnswerArea section h1 {
/*	margin-bottom: 0;*/
}
div#ResultArea {
	display: none;
/*	display: flex;*/
}
div#ResultArea > div {
	flex-grow: 1;
}
div#ResultArea > section {
	flex-grow: 1;
}

span.GCD {
	background: linear-gradient(transparent 70%, #ccffcc 70%);
}
span.LCM {
	background: linear-gradient(transparent 70%, #d1d1ff 70%);
}
span.QUO {
	background: linear-gradient(transparent 70%, #ffdbdb 70%);
}

/*------------------------------------------ 表 */

div#ResultArea table td {
	padding: 0 4px;
	text-align: center;
	vertical-align: middle;
	font-weight: normal;
}
div#ResultArea table.table1 td {
	padding: 0 4px;
	text-align: center;
	vertical-align: middle;
	font-weight: normal;
}

/*------------------------------------------ ボタン */

div#divMoveBtn {
	display: flex;
}
div#divMoveBtn input {
	flex-grow: 1;
	padding: 12px 0;
	background-color: gainsboro;
	border-radius: 6px;
}
div#divMoveBtn input#btnZero {
	margin: 0 4px;
}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*■ スマートフォン：～666px   ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

/*---------------------------------------------------------------------------------- 結果・メッセージ表示領域 */

/*------------------------------------------ セクション */

div#ResultArea {
	flex-direction: column;
}
div#ResultArea > section {
	margin: 0 0 8px 0;
}
div#ResultArea > section:nth-child(1) {
	margin: 8px 0 8px 0;
}



/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*■ タブレット：667px～884px ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
@media (min-width: 667px) {

/*---------------------------------------------------------------------------------- 結果・メッセージ表示領域 */

/*------------------------------------------ セクション */

div#ResultArea {
	flex-direction: row;
}
div#ResultArea > section {
	margin: 8px 0 8px 0;
}
div#ResultArea > section:nth-child(1) {
	margin: 8px 8px 8px 0;
}
div#ResultArea > div {
	max-width: 60%;
}

}
