/**************************************************************************************************

自動計算固定フッター

**************************************************************************************************/
#estimate_box {
position: fixed;
bottom: 10px;
right: 160px;
display: none;
}
#estimate_box ul{
	display: flex;
}
#estimate_box ul li{
	width: 220px;
	min-height: 70px;
	font-size: 1.8em;
	text-align:center;
	border-radius: 5px;
	margin-left: 10px;
	cursor: pointer;
	z-index: 99;
}
#estimate_box .tel{
	color:white;
	background-color: #11cc11;
	display: none;
}
#estimate_box .detail{
color:white;
background-color: #e60012;
display: flex;
}
#estimate_box a{
	color: white;
	margin: auto;
	text-decoration: none;
	transform: translateY(50%);
}

#estimate_box .detail a:link{
}
#estimate_box .detail a:before{
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	top :-20px;
	left :50%;
}
#estimate_box .detail a[data-type='show']:before{
	content:"\f106";
}
#estimate_box .detail a[data-type='hide']:before{
	content:"\f107";
}
#estimate_box .detail a[data-type='hide']{
	display:none;
}

#estimate_box .result{
color:white;
background-color: #447ff6;
}
#estimate_box .total_price{
	background-color: white;
	border-radius: 5px;
	text-align:right;
	margin: 5px;
	padding: 5px;
}
#estimate_box .total_price strong:before{
	content: "合計(税抜)";
	font-size: 0.5em;
	color: black;
	font-weight: normal;
	margin-right: 15px;
}
#estimate_box .total_price strong{
	font-size: 1.5em;
	color: crimson;
	font-weight: bold;
}
#estimate_box .submit_estimate_form_button{
	color: white;
	font-weight: bold;
}
#estimate_box .submit_estimate_form_button:after{
	font-family: "Font Awesome 5 Free";
	content:'\f138';
	margin-left: 3px;
}

/**
お見積り内訳
*/
#estimate_detail_box{
	background-color:#e60012;
	border-radius: 5px 5px 0px 0px;
	width: 500px;
	padding: 5px;
	z-index:99;
	position: fixed;
	right: 160px;
	bottom: 0px;
	display:none;
}
#estimate_detail_box h2{
	margin: auto;
	color: white;
	text-align:center;
	padding: 5px;
	font-size: 1.5em;
}

#estimate_detail_box .estimate_inner_box{
	background-color: white;
	z-index:100;
	padding:10px;
}

.estimate_inner_box table{
	margin: 5px;
	width: 100%;
	margin: auto;
}
.estimate_inner_box table:nth-child(-n+2){
	margin-bottom: 15px;
}

.estimate_inner_box th{
	width: 30%;
	font-weight: bold;
	text-align: center;
}
.estimate_inner_box td{
	padding: 5px;
	width: 70%;
	text-align: right;
	font-size: 1.2em;
}
.estimate_inner_box tr:last-child td{
	color: crimson;
	font-size: 1.5em;
	font-weight: bold;
}
.estimate_inner_box th{
	padding: 5px;
	font-size: 1.5em;
}
.estimate_inner_box .item_price th{
	background-color: #ffdddd;
	color:#cc0000;
	border:1px solid #cc0000;
}
.estimate_inner_box .item_price td{
	border:1px solid #cc0000;
}

.estimate_inner_box .option_price th{
	background-color: #b9dcff;
	color:#447ff6;
	border:1px solid #447ff6;
}
.estimate_inner_box .option_price td{
	border:1px solid #447ff6;
}

.estimate_inner_box .gom_rope_price th{
	background-color: #a4dfc5;
	color: #036638;
	border:1px solid #036638;
}
.estimate_inner_box .gom_rope_price td{
	border:1px solid #036638;
}

.total_price b.largeNotes{
	font-size:9pt;
	color: #cc0000;
	display: block;
	text-align: left;
	line-height: 120%;
}

.estimate_inner_box p{
	font-size: 1.0em;
	color: #cc0000;
	margin-top:3px;
}


/**************************************************************************************************
media query
**************************************************************************************************/
/* Small devices (480px and down) */
@media (max-width: 480px) {

	#estimate_box {
		right: 0px;
		width: 100%;
	}

	#estimate_box a{
		transform: translateY(15%);
    }

	#estimate_box ul{
	  justify-content: center;
	  align-items: stretch;
	}

	#estimate_box ul li{
		min-height: 70px;
		margin: 0 2px;
		font-size: 0.7em;
	}
	#estimate_box ul li.detail,
	#estimate_box ul li.tel{
		text-align: center;
		flex-basis: 20%;
		display: flex;
	}
	#estimate_box ul li.detail i,
	#estimate_box ul li.tel i{
		color:white;
		font-size: 3.2em;
		display: block;
	}

	#estimate_box ul li.result{
		flex-basis: 60%;
	}
	#estimate_box .detail a:before,
	#estimate_box .detail a:after{
		top :-20px;
		transform: translateX(-20%);
	}

	#estimate_box .submit_estimate_form_button{
		margin: 4px;
	}
	#estimate_box .total_price strong:before{
		font-size: 0.6em;
		margin-right: 7px;
	}
	#estimate_box .total_price strong{
		font-size: 1.3em;
	}

	/**
	お見積り内訳
	*/
	#estimate_detail_box{
		width: 95%;
		margin : 5px auto;
		right: 10px;
	}

	#estimate_detail_box h2{
		font-size: 1.0em;
	}

	.estimate_inner_box table,
	.estimate_inner_box th,
	.estimate_inner_box td{
		font-size : 0.9em;
	}
	.estimate_inner_box td{
		text-align: left;
	}
	.estimate_inner_box tr:last-child td{
		text-align: right;
		font-size: 1.0em;
	}


}