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


span.GY {
	background-color: darkgray;
}
span.GN {
	background-color: limegreen;
}
span.RD {
	background-color: red;
}


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

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

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;
}
input.inputbox {
	width: 200px;
	height: 24px;
	margin: 0 4px 0 0;
	padding: 0;
	text-align: right;
	font-size: 18px;
	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;
}

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

input#btnCopy {
	float: right;
	height: 24px;
	border-radius: 6px;
	background-color: gainsboro;
}

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

div#ResultArea table tr td {
	padding: 4px 4px 0 4px;
	border: none;
	text-align: right;
	vertical-align: bottom;
	line-height: 1;
}
div#ResultArea table tr td:nth-child(2) {
	padding: 4px 0 0 0;
	text-align: left;
}
div#ResultArea table tr td:nth-child(n+2) {
	border-bottom: 1px solid dimgray;
}
div#ResultArea table tr:nth-last-child(1) td:nth-child(n+2) {
	border: none;
}



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

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

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

div#ResultArea {
	flex-direction: column;
}
div#ResultArea > section {
	margin: 0 0 8px 0;
}



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

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

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

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

}
