@charset "utf8";

.noteText {
	font-size: 1.4rem;
}
@media screen and (max-width: 600px){
	.noteText {
		font-size: 1rem;
	}
}

.inputArea {
	margin-top: 60px;
	border-top: 2px solid #0f218b;
	border-bottom: 2px solid #0f218b;
	background-color: #f2fafd;
	padding: 35px 40px 60px;
}
.inputArea .boxTitle {
	margin-bottom: 40px;
	text-align: center;
	color: #0080c7;
	font-size: 2.2rem;
	font-weight: bold;
}
.inputArea .inputBlock {
	border-bottom: 1px dotted #919698;
	padding: 20px 0;
	display: flex;
	align-items: center;
}
.inputArea .inputBlock.inputBlock_top {
	align-items: flex-start;
}
.inputArea.current {
	border-bottom: none;
	background-color: #fefaf2;
}
.inputArea.current .boxTitle {
	color: #e99500;
}
@media screen and (max-width: 990px){
	.inputArea {
		margin-top: 40px;
		padding: 35px 20px 40px;
	}
	.inputArea .boxTitle {
		margin-bottom: 40px;
	}
}
@media screen and (max-width: 600px){
	.inputArea {
		margin: 0 -15px;
		padding: 20px 15px 30px;
		font-size: 1.5rem;
	}
	.inputArea .boxTitle {
		margin-bottom: 30px;
		font-size: 2rem;
	}
	.inputArea .inputBlock {
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.inputArea .boxTitle + .inputBlock {
		margin-top: -20px;
	}
}

.modalLink li {
	margin-bottom: 25px;
}
.modalLink a:not(.c_linkBlank) {
	position: relative;
	display: inline-block;
	padding-left: 16px;
	color: #0f218b;
	font-weight: bold;
}
.modalLink a:not(.c_linkBlank)::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 0;
	width: 9px;
	height: 9px;
	border-top: 2px solid #0f218b;
	border-right: 2px solid #0f218b;
	transform: rotate(45deg);
}
.modalLink p {
	margin-top: 5px;
}

.selectwrap {
	flex-grow: 1;
	max-width: 460px;
	position: relative;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.selectwrap::before {
	content: '';
	position: absolute;
	top: 13px;
	right: 20px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #0f218b;
	border-bottom: 2px solid #0f218b;
	transform: rotate(45deg);
}
.selectwrap select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	height: 40px;
	background: transparent;
	padding: 0 40px 0 15px;
	font-size: 1.8rem;
	cursor: pointer;
}
.selectwrap select::-ms-expand {
	display: none;
}
@media screen and (max-width: 600px){
	.selectwrap {
		flex: 1 1 100%;
	}
	.selectwrap select {
		font-size: 1.5rem;
	}
}
@media screen and (max-width: 374px){
	.selectwrap select {
		font-size: 1.2rem;
	}
}

.radioBtn {
	display: flex;
	margin-top: 12px;
	width: 360px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	overflow: hidden;
}
.radioBtn li {
	flex-grow: 1;
}
.radioBtn li + li {
	border-left: 1px solid #ccc;
}
.radioBtn input {
	display:none;
}
.radioBtn input + label {
	position: relative;
	display: block;
	color: #000;
	background: #fff;
	padding: 7px 0 6px;
	text-align: center;
	font-size: 1.8rem;
	color: #aaa;
	cursor: pointer;
}
.radioBtn input:checked + label {
	background: #0080c7;
	color: #fff;
}
.radioBtn input + label::after {
	content: '';
	position: absolute;
	top: 13px;
	right: 12px;
	width: 8px;
	height: 8px;
	border-top: 2px solid #0f218b;
	border-right: 2px solid #0f218b;
	transform: rotate(45deg);
}
.radioBtn input:checked + label::after {
	display: none;
}
@media screen and (max-width: 600px){
	.radioBtn {
		max-width: none;
	}
	.radioBtn input + label {
		padding: 10px 0 9px;
		font-size: 1.5rem;
	}
}

.label {
	flex-shrink: 0;
	width: 26%;
	padding-right: 10px;
	font-size: 1.8rem;
	font-weight: bold;
}
.label .span_modal {
	display: inline-block;
	vertical-align: 2px;
	margin-left: 5px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #0f218b;
	text-align: center;
	color: #fff;
	font-size: 2rem;
	line-height: 28px;
	cursor: pointer;
}
.label_sub {
	display: block;
	font-size: 1.4rem;
	font-weight: normal;
}
.label .span_modal.span_modal__sub {
	width: 20px;
	height: 20px;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 20px;
}

@media screen and (max-width: 600px){
	.label {
		flex: 1 1 auto;
		font-size: 1.5rem;
	}
	.label .span_modal {
		margin-left: 10px;
		vertical-align: -1px;
	}
	.label_sub {
		font-size: 1.2rem;
	}
}

.inputbox {
	display: inline-block;
	width: 118px;
	background: #ffffff;
	border: 1px solid #ccc;
	border-radius: 5px;
	height: 40px;
	padding: 8px 12px;
	box-shadow: 0 1px #f2f2f2 inset;
	font-size: 1.8rem;
	color: #333;
	-moz-appearance:textfield;
}
.inputbox::-webkit-outer-spin-button,
.inputbox::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
@media screen and (max-width: 600px){
	.inputbox {
		width: 70px;
		height: 30px;
		padding: 8px 12px;
		font-size: 1.5rem;
	}
}

.inputSet {
	display: flex;
	align-items: center;
	width: 32%;
}
.inputSet .inputbox {
	margin: 0 20px 0 0;
}
@media screen and (max-width: 600px){
	.inputSet{
		flex: 1 1 auto;
		justify-content: flex-end;
	}
	.inputSet .inputbox {
		margin-right: 10px;
	}
}

.sliderSet {
	flex-grow: 1;
	position: relative;
	padding: 9px 40px;
	max-width: 365px;
}
.sliderSet .button {
	position: absolute;
	top: 0;
}
.sliderSet .button.down {
	left: 0;
}
.sliderSet .button.up {
	right: 0;
}
.sliderSet .button input {
	position: relative;
	z-index: 10;
	background-color: transparent;
	border: 3px solid #0097db;
	width: 28px;
	height: 28px;
	border-radius: 14px;
	cursor: pointer;
	outline: none;
	appearance: none;
	text-indent: -9999px;
	-ms-user-select: none;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
.sliderSet .button::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 7px;
	width: 14px;
	height: 4px;
	background: #0097db;
}
.sliderSet .button.up::after {
	content: '';
	position: absolute;
	top: 7px;
	left: 12px;
	width: 4px;
	height: 14px;
	background: #0097db;
}
.sliderSet .ui-slider {
	background: #ccc;
	height: 10px;
	border: none;
	border-radius: 5px;
}
.sliderSet .ui-slider-handle {
	top: -5px;
	width: 20px;
	height: 20px;
	border: 3px solid #0097db;
	border-radius: 50%;
	outline: none;
	cursor: pointer;
}
.sliderSet .ui-slider-range {
	background: #0097db;
	border-radius: 5px;
}
.sliderSet .ui-state-active {
	background: #fff !important;
}
.inputArea.current .sliderSet .button input {
	border: 3px solid #e99500;
}
.inputArea.current .sliderSet .button::before {
	background: #e99500;
}
.inputArea.current .sliderSet .button.up::after {
	background: #e99500;
}
.inputArea.current .sliderSet .ui-slider-handle {
	border: 3px solid #e99500;
}
.inputArea.current .sliderSet .ui-slider-range {
	background: #e99500;
}
@media screen and (max-width: 600px){
	.sliderSet {
		flex: 1 1 100%;
		max-width: 315px;
		margin: 0 auto;
	}
}
@media screen and (max-width: 600px){
	.sliderSet,
	.selectwrap {
		margin-top: 20px;
	}
}

.toggleArea {
	display: none;
}
.toggleBtn {
	position: relative;
	border: 1px solid #0f218b;
	border-radius: 19px;
	background-color: #fff;
	padding: 10px 16px;
	width: 260px;
	margin: 25px auto 0;
	text-align: center;
	color: #0f218b;
	font-size: 1.4rem;
	cursor: pointer;
	transition: all 0.3s;
}
.toggleBtn::after {
	content: "";
	position: absolute;
	top: 0;
	right: 16px;
	bottom: 2px;
	width: 0.5em;
	height: 0.5em;
	border-right: 2px solid #0f218b;
	border-bottom: 2px solid #0f218b;
	transform: rotate(45deg);
	margin: auto 0;
	transition: all 0.3s;
}
.toggleBtn:hover {
	background-color: #0f218b;
	color: #fff;
}
.toggleBtn:hover::after {
	border-color: #fff;
}
.toggleBtn.close {
	display: none;
}
.toggleBtn.close::after {
	top: 2px;
	bottom: 0;
	transform: rotate(-135deg);
}

.result {
	display: none;
	position: relative;
	margin: 0 auto 15px;
	overflow: hidden;
	padding: 40px 40px 60px;
	border-bottom: 2px solid #0f218b;
}
.result::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 0;
	margin: 0 auto;
	border-top: 26px solid #0f218b;
	border-left: 32px solid transparent;
	border-right: 32px solid transparent;
}
.result h2 {
	font-size: 2.6rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 25px;
}
@media screen and (max-width: 600px){
	.result {
		padding: 30px 0 40px;
	}
	.result_graph::before {
		border-top-width: 13px;
		border-left-width: 16px;
		border-right-width: 16px;
	}
	.result h2 {
		font-size: 2.3rem;
		margin-bottom: 20px;
	}
}

.totalBox {
	max-width: 540px;
	margin: 40px auto;
	border: 2px solid #0f218b;
	border-radius: 8px;
	padding: 30px 15px;
	text-align: center;
}
.totalBox h3 {
	margin-bottom: 20px;
	font-size: 2.6rem;
}
.totalBox .totalamount {
	display: inline-block;
}
.totalBox .totalamount p {
	margin-bottom: 15px;
	text-align: right;
}
.totalBox .nowtotal,
.totalBox .flattotal {
	margin-left: 20px;
	font-size: 2.4rem;
	font-weight: bold;
}
.totalBox .nowtotal {
	color: #e68a01;
}
.totalBox .flattotal {
	color: #008cd6;
}
.totalBox .difference {
	color: #f87fac;
	font-size: 2.8rem;
	font-weight: bold;
}
.totalBox .totaldifference {
	font-size: 4.2rem;
}
@media screen and (max-width: 600px){
	.totalBox {
		margin: 25px auto;
		padding: 20px 10px;
		font-size: 1.2rem;
	}
	.totalBox h3 {
		margin-bottom: 15px;
		font-size: 1.7rem;
	}
	.totalBox .totalamount p {
		margin-bottom: 10px;
	}
	.totalBox .nowtotal,
	.totalBox .flattotal {
		font-size: 1.8rem;
	}
	.totalBox .difference {
		font-size: 1.8rem;
	}
	.totalBox .totaldifference {
		font-size: 2.7rem;
	}
}

/*chart.js部分*/
.canvasWrapper {
	display: none;
	position: relative;
	background: #eee;
	margin: 40px 0;
	padding: 5% 4% 3%;
	border-radius: 8px;
}
@media screen and (max-width: 600px){
	.canvasWrapper{
		margin: 20px 0 30px;
		padding: 15px 5px 5px;
	}
}

#chartjs-tooltip {
	background: rgba(255, 255, 255, 1);
	color: #000;
	border-radius: 10px;
	transition: all .1s ease;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	overflow: hidden;
	width: 195px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
#chartjs-tooltip table {
	border-collapse: collapse;
	width: 100%;
	table-layout: fixed;
}
#chartjs-tooltip table tr {
	height: 22px;
}
#chartjs-tooltip table td {
	width: 50%;
}
#chartjs-tooltip table .textright {
	text-align: right;
	position: absolute;
	right: 20px;
}
#chartjs-tooltip th.tooltiptitle {
	color: rgba(232,158,49,1);
	padding: 5px 0;
	width: 70%;
}
#chartjs-tooltip .borderBottom + tr > .tooltiptitle {
	color: rgba(49,168,224,1);
	margin-top: 10px;
}
#chartjs-tooltip th.tooltiptitle--single {
	color: rgba(49,168,224,1);
	padding: 5px 0;
	width: 70%;
}
#chartjs-tooltip .borderBottom {
	border-bottom: 1px solid #ccc;
	height: 27px;
	vertical-align: top;
}
#chartjs-tooltip .tooltipfooter {
	color: #fe7caa;
	height: 30px;
	vertical-align: bottom;
}
#chartjs-tooltip .tooltipfooter .tooltipfooterright {
	text-align: right;
	position: absolute;
	left: 40%;
	bottom: 1rem;
}

.spTooltip {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.spTooltip.center {
	justify-content: center;
}
.spTooltip .box {
	border-radius: 8px;
	padding: 10px;
	font-size: 1.3rem;
}
.spTooltip .box01,
.spTooltip .box02 {
	width: 48.5%;
}
.spTooltip .box01 {
	background-color: #fefaf2;
}
.spTooltip .box02 {
	background-color: #f2fafd;
}
.spTooltip .box03 {
	margin-top: 10px;
	background-color: #fff2f7;
	width: 100%;
}
.spTooltip .box .title {
	font-weight: bold;
}
.spTooltip .box01 .title {
	color: #e89e30;
}
.spTooltip .box02 .title {
	color: #008cd6;
}
.spTooltip .box03 .title {
	color: #ff7bac;
}
.spTooltip .hasData {
	display: flex;
	justify-content: space-between;
}
.spTooltip .box p + p {
	margin-top: 3px;
}
