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



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

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

div#divSetting {
	display: flex;
}

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: 90px;
	height: 24px;
	margin: 0 4px 0 0;
	padding: 0;
	max-width: 150px;
	text-align: right;
	font-size: 18px;
	line-height: 1;
}
label input {
	vertical-align: text-top;
}
label.lFormatType {
/*	background-color: coral;*/
}

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

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;
}

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

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

main section.answer {
	padding-bottom: 0;
}
main section.answer h1 {
	margin-bottom: 0;
}
main section.answer div {
	margin-top: 8px;
	margin-bottom: 8px;
}

/*------------------------------------------ 表 */
div#ResultArea table tr {
	background-color: ivory;
}
div#ResultArea table tr:nth-of-type(2n) {
	background-color: aliceblue;
}
div#ResultArea table td {
	min-width: 20px;
	padding: 2px 4px;
	color: lightgrey;
}
div#ResultArea table td.b {
	border: none;
	background-color: white;
}
div#ResultArea table td.p {
	color: black;
}



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

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

div#divSetting {
	flex-direction: column;
}



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

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

div#divSetting {
	flex-direction: row;
}
div#divSetting div {
	flex-grow: 1;
}
div#divSetting div:nth-of-type(1) {
	margin: 0 4px 8px 0;
}

}
