@charset "UTF-8";

.sp {
	display: none !important;
}

img:not([width]) {
	width: 100%;
	height: auto;
}

a:hover {
}




body {
	border: 0 solid #23ac6a;
	border-width: 20px 20px 0;
}

#wrap {
	padding: 60px 0 0;
}

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 74px;
	margin: 50px 0 0;
	background: #23ac6a;
}
footer .copyright {
	font-size: 14px;
	color: #fff;
}

#logo {
	width: 408px;
	margin: 100px auto 0;
}

#description {
	box-sizing: border-box;
	max-width: calc(980px + 80px);
	margin: 50px auto 0;
	padding: 0 40px;
	font-size: 14px;
	line-height: 2;
}


#banner {
	box-sizing: border-box;
	position: relative;
	max-width: calc(980px + 80px);
	margin: 50px auto 0;
	padding: 50px 0 0;
}
#banner::before {
	position: absolute;
	content: "";
	display: block;
	width: calc(100% - 80px);
	height: 1px;
	left: 40px;
	top: 0;
	background: #707070;
}
#banner ul {
	display: flex;
	justify-content: space-between;
	padding: 0 40px;
}
#banner ul img {
	width: auto;
	height: 40px;
}
#banner ul a {
	display: flex;
	height: 40px;
	transition: all 300ms ease-out;
}
#banner a:hover {
	opacity: 0.7;
}

#banner ul .text a {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 120px;
}
#banner ul .text a span {
	margin-top: -2px;
	font-size: 14px;
}
#banner ul .text a strong {
	margin: 6px 0 0;
	font-size: 15px;
	font-weight: 700;
}




main {
	box-sizing: border-box;
	max-width: calc(980px + 80px);
	margin: 50px auto 0;
	padding: 0 40px;
	min-height: calc(100vh - 20px - 60px - 121px - 50px - 100px - 70px - 50px - 74px + 1px);
}




.button a {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 380px;
	min-height: 60px;
	margin: 0 auto;
	padding: 0 0 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.button a.submit {
	color: #fff;
	background: #23ac6a;
	border: 1px solid #000;
}
.button a.link {
	color: #333;
	background: #fff;
	border: 1px solid #000;
}



.button a.disabled {
	pointer-events: none;
	opacity: 0.3;
}



input[type="checkbox"] {
	box-sizing: border-box;
	position: relative;
	appearance: none;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	vertical-align: middle;
	cursor: pointer;
}
input[type="checkbox"]:checked {
	background: #23ac6a;
}
input[type="checkbox"]:checked::after {
	position: absolute;
	content: "";
	width: 16px;
	height: 16px;
	left: calc(50% - 8px);
	top: calc(50% - 8px);
	background: url(../img/checked.svg) 50% 50% no-repeat;
	background-size: 100% auto;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	-moz-appearance: textfield;
	margin: 0;
}


input[type="text"],
input[type="email"] {
	box-sizing: border-box;
	height: 50px;
	margin: 0;
	padding: 0 16px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}
input[type="text"]:focus,
input[type="email"]:focus {
	outline: 2px solid #23ac6a;
}



input.number {
	width: 130px;
	text-align: center;
}




.number-selector a {
	box-sizing: border-box;
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	font-size: 12px;
	font-weight: 700;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}
.number-selector a.selected {
	color: #fff;
	background: #23ac6a;
}







h2 {
	padding: 8px;
	font-size: 28px;
	text-align: center;
	color: #fff;
	background: #23ac6a;
}
h2.tint {
	background: #999;
}







/* ---------------------------------------------------------------------------------------------------- */
/* Entrance */

#title {
	width: 710px;
	margin: 0 auto;
}

#kv {
	width: 720px;
	margin: 0 auto;
}


#copy {
	width: 670px;
	margin: 50px auto 0;
}
#copy p {
	font-size: 20px;
	line-height: 2.1;
	text-align: center;
}
#copy p .sub {
	font-size: 14px;
}
#copy p strong {
	position: relative;
	display: inline-block;
}
#copy p strong::after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 8px;
	left: 0;
	bottom: -5px;
	background: #23ac6a;
}
#copy p strong span {
	position: relative;
	display: inline-block;
	z-index: 10;
}

#copy .note {
	margin: 50px 0 0;
	font-size: 14px;
	line-height: 2;
}

#attention {
	box-sizing: border-box;
	margin: 50px 0 0;
	padding: 24px;
	background: #f0f9ee;
}
#attention dt {
	font-size: 24px;
	text-align: center;
}
#attention dd {
	margin: 30px 0 0;
	font-size: 14px;
	line-height: 2;
}


#entrance {
	margin: 50px 0 0;
	text-align: center;
}
#entrance .checkbox label {
	position: relative;
	top: 2px;
	font-size: 16px;
	margin-left: 14px;
	cursor: pointer;
}
#entrance .button {
	margin-top: 50px;
}











/* ---------------------------------------------------------------------------------------------------- */
/* Question */

#message {
	padding: 20px;
	font-size: 16px;
	line-height: 1.75;
	text-align: center;
	background: #f0f9ee;
}

.checklist span.number {
	display: inline-block;
	width: 34px;
	margin-right: 16px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}
.checklist .comment {
	margin: 32px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	color: #23ac6a;
}

#checklist-1 {
	margin: 50px 0 0;
}

#checklist-1 .legend {
	position: sticky;
	top: 0;
	z-index: 100;
	margin: 16px 0 0;
	padding: 16px 0 1px;
	background: #fff;
	border-bottom: 2px solid #ccc;
}
#checklist-1 .legend ul {
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
}
#checklist-1 .legend li {
	margin: 0 24px 15px 0;
}
#checklist-1 .legend li:last-child {
	margin-right: 0;
}
#checklist-1 .legend dl {
	display: flex;
}
#checklist-1 .legend dd {
	position: relative;
	padding-left: 28px;
	font-weight: 500;
}
#checklist-1 .legend dd::before {
	position: absolute;
	content: "";
	display: block;
	width: 12px;
	height: 1px;
	left: 7px;
	top: 50%;
	background: #333;
}

@media screen and (max-width:1079px) {
	#checklist-1 .legend dd {
		padding-left: 18px;
	}
	#checklist-1 .legend dd::before {
		width: 8px;
		left: 5px;
	}
}


#checklist-1 .list {
	min-height: 500px;
	border: 0 solid #ccc;
	border-width: 0 0 2px;
}
#checklist-1 .list dl {
	display: flex;
	align-items: center;
	padding: 24px 24px 24px 8px;
}
#checklist-1 .list dt {
	width: calc(100% - 222px);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

#checklist-1 .list dd {
	width: 222px;
}
#checklist-1 .number-selector {
	display: flex;
	justify-content: space-between;
	width: 222px;
}
#checklist-1 .number-selector a {
	box-sizing: border-box;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	font-size: 12px;
	font-weight: 700;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#checklist-1 .list dl:nth-of-type(2n + 1) {
	background: #f5f5f5;
}






#checklist-2 {
	position: relative;
	margin: 50px 0 0;
}
#checklist-2 .remain {
	position: absolute;
	right: 0;
	top: 0;
	margin-top: 28px;
	font-size: 18px;
	font-weight: 700;
	color: #23ac6a;
	pointer-events: none;
}

#checklist-2 .list {
	border: 0 solid #ccc;
	border-width: 2px 0;
}
#checklist-2 .list {
	margin: 32px 0 0;
}
#checklist-2 .list dl {
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: center;
	padding: 18px 18px 18px 8px;
}
#checklist-2 .list dl + dl {
	margin-top: 2px;
}

#checklist-2 .list dt {
	display: flex;
	width: calc(100% - 48px);
}

#checklist-2 .list dt .text {
	display: flex;
	flex-direction: column;
	width: calc(100% - 34px);
}
#checklist-2 .list dt strong {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}
#checklist-2 .list dt em {
	margin: 5px 0 0;
	font-size: 16px;
	line-height: 1.6;
}

#checklist-2 .list dd {
	width: 24px;
	margin-left: 24px;
}

#checklist-2 .list dl:nth-of-type(2n + 1) {
	background: #f5f5f5;
}
#checklist-2 .list dl.checked::after {
	box-sizing: border-box;
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	border: 2px solid #23ac6a;
	pointer-events: none;
}

#checklist-2 .list.lock dl:not(.checked) {
	color: #aaa;
}
#checklist-2 .list.lock input:not(:checked) {
	pointer-events: none;
}




#checklist-3 {
	margin: 50px 0 0;
}

#checklist-3 .field-year {
	margin: 32px 0 0;
}
#checklist-3 .field-year dl {
	display: flex;
	align-items: center;
}
#checklist-3 .field-year dt {
	font-size: 16px;
	font-weight: 700;
}
#checklist-3 .field-year dd {
	margin-left: 16px;
}
#checklist-3 .field-year dd span {
	margin-left: 25px;
	font-size: 16px;
	font-weight: 700;
}


#checklist-3 input[name="single_space"] {
	background-color: transparent;
	border-color: transparent;
	pointer-events: none;
}

#checklist-3 .field-area,
#checklist-3 .field-amount {
	margin: 32px 0 0;
}
#checklist-3 table {
	width: 100%;
	border-collapse: collapse;
}
#checklist-3 table tr > *:nth-child(1) {
	padding-left: 8px;
}
#checklist-3 table tr > *:nth-child(1) br {
	display: none;
}

#checklist-3 table td,
#checklist-3 table th {
	padding: 10px 0;
	text-align: left;
	vertical-align: middle;
}

#checklist-3 thead th {
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}
#checklist-3 tbody th,
#checklist-3 tbody td {
	border: 0 solid #ccc;
	border-width: 2px 0;
}
#checklist-3 tbody th {
	box-sizing: border-box;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}
#checklist-3 tbody td {
	width: 150px;
	text-align: center;
}
#checklist-3 .field-area td + td {
	border-left: 2px solid #ccc;
}
#checklist-3 .field-area tbody th {
	width: calc(100% - 450px);
	padding-left: 18px;
}
#checklist-3 .field-amount th {
	width: calc(100% - 150px);
}

#checklist-3 table tbody tr:nth-of-type(2n + 1) td,
#checklist-3 table tbody tr:nth-of-type(2n + 1) th {
	background: #f5f5f5;
}

#checklist-3 a.help {
	position: relative;
	display: inline-block;
	width: 22px;
	height: 22px;
	top: -1px;
	margin-left: 16px;
	background: #23ac6a url(../img/q.svg) 50% 50% no-repeat;
	background-size: 10px 16px;
	border-radius: 11px;
	vertical-align: middle;
	cursor: pointer;
	transition: all 300ms ease-out;
}
#checklist-3 a.help:hover {
	background-color: #1f9a5f;
}


#submission {
	margin: 50px 0 0;
}

#submission .checkbox {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 490px;
	margin-left: auto;
	margin-right: auto;
}
#submission .checkbox label {
	box-sizing: border-box;
	position: relative;
	width: calc(100% - 24px - 14px);
	font-size: 16px;
	line-height: 1.75;
	cursor: pointer;
}
#submission .checkbox + .button {
	margin: 40px 0 0;
}
#submission .button a + a {
	margin-top: 40px;
}









/* ---------------------------------------------------------------------------------------------------- */
/* Entry */

#entry {
	margin: 50px 0 0;
}

#entry dl + dl {
	margin-top: 24px;
}
#entry dt {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.75;
}
#entry dd {
	margin: 12px 0 0;
}

#entry dt .required {
	position: relative;
	display: inline-block;
	top: -1px;
	margin-left: 10px;
	padding: 3px 4px 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: #23ac6a;
}

#entry input {
	width: 100%;
}
#entry input[name="name"] {
	width: 50%;
}


#terms {
	margin: 50px 0 0;
	color: #000;
	background: #f4f4f4;
}
.terms-inner {
	height: 300px;
	padding: 28px 24px;
	overflow-y: scroll;
	overscroll-behavior: none;
}
.terms-inner::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
.terms-inner::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.5);
	border-radius: 3px;
}

.terms-inner > dl > dt {
	font-size: 24px;
	text-align: center;
}
.terms-inner > dl > dd {
	margin: 24px 0 0;
}
.terms-inner > dl > dd * {
	font-size: 14px;
	line-height: 1.7;
}
.terms-inner > dl dl {
	margin: 20px 0 0;
}
.terms-inner > dl > dd {
}
.terms-inner dd > ol > li {
	margin: 10px 0 0;
}
.terms-inner dd > ol ol {
	margin: 0 0 0 10px;
}
.terms-inner ul li {
	position: relative;
	padding-left: 1em;
	text-indent: -1em;
}
.terms-inner ul li::before {
	display: inline-block;
	content: "・";
	width: 1em;
	text-indent: 0;
}
.terms-inner a {
	text-decoration: underline;
}
.terms-inner a:hover {
	text-decoration: none;
}










/* ---------------------------------------------------------------------------------------------------- */
/* Result */

#result-date {
	margin: 50px 0 0;
	font-size: 16px;
	text-align: right;
	visibility: hidden;
}
#result-date span + span {
	margin-left: 8px;
}
#result-date.active {
	visibility: visible;
}

.result .box {
	position: relative;
	min-height: 100px;
	margin: 42px 0 0;
	padding: 30px 25px;
	border: 5px solid #23ac6a;
}
.result .box h3 {
	position: absolute;
	left: 15px;
	top: -15px;
	font-size: 24px;
	font-weight: 700;
	color: #23ac6a;
}
.result .box h3 span {
	display: inline-block;
	padding: 0 10px;
	background: #fff;
}






.result .legends {
	margin: 24px 0 0;
}
.result .legends > div {
	display: flex;
	align-items: center;
}
.result .legends > div + div {
	margin-top: 10px;
}

.result .legends span {
	position: relative;
	width: 32px;
	height: 2px;
	top: 1px;
	background: #23ac6a;
}
.result .legends span::after {
	position: absolute;
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	left: calc(50% - 5px);
	top: calc(50% - 5px);
	background: #23ac6a;
	border-radius: 5px;
}
.result .legends strong {
	margin-left: 10px;
	font-size: 16px;
	font-weight: 700;
}




.result.continued {
	height: 250px;
	margin-bottom: -50px !important;
	overflow: hidden;
}
.result.continued::after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	left: 0;
	bottom: 0;
	z-index: 100;
	background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
}






#result-1 {
	position: relative;
	margin: 50px 0 0;
}

#chart {
	position: relative;
	width: 920px;
	height: 860px;
	margin: 0 auto;
	background: url(../img/chart.png) 0 0 no-repeat;
	background-size: 100% auto;
}
#chart > div {
	position: absolute;
	width: 566px;
	height: 566px;
	left: calc(50% - 283px);
	top: calc(50% - 280px);
	/*
	background: url(../img/hex.png) 50% 50% no-repeat;
	background-size: 478px auto;
	*/
}
#chart canvas {
	position: relative;
	width: 100%;
	height: 100%;
}






#result-2 {
	position: relative;
	margin: 50px 0 0;
}




#graph {
	position: relative;
	height: 460px;
}
#graph .scale {
	position: absolute;
	display: flex;
	width: calc(100% - 239px);
	height: 100%;
	left: 239px;
	top: 0;
	z-index: 1;
	pointer-events: none;
}
#graph .scale > div {
	box-sizing: border-box;
	position: relative;
	width: 1px;
	height: 100%;
}
#graph .scale > div + div {
	margin-left: 135px;
}
#graph .scale > div strong {
	position: absolute;
	display: block;
	width: 40px;
	left: calc(50% - 20px);
	top: 4px;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}
#graph .scale > div span {
	position: absolute;
	display: block;
	content: "";
	width: 1px;
	height: calc(100% - 40px);
	left: 0;
	bottom: 0;
	background: #ccc;
}

#graph ul {
	position: relative;
	top: 40px;
	z-index: 20;
}
#graph li {
	position: relative;
	height: 70px;
}

#graph dl {
	display: flex;
	align-items: center;
	height: 70px;
}
#graph dt {
	box-sizing: border-box;
	position: relative;
	width: 240px;
	padding-right: 60px;
	text-align: right;
}
#graph dt strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
}
#graph dt em {
	display: block;
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 700;
}
#graph dt .pict {
	position: absolute;
	display: block;
	width: 42px;
	height: 42px;
	right: 9px;
	top: calc(50% - 21px);
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

#graph dd {
	box-sizing: border-box;
	position: relative;
	width: calc(100% - 240px);
	height: 70px;
}
#graph dd .bar {
	position: relative;
	white-space: nowrap;
	height: 16px;
	top: 27px;
}
#graph dd .bar span {
	display: inline-block;
	width: 0;
	height: 16px;
	left: 0;
	top: calc(50% - 8px);
	transition: all 800ms ease-out;
}
#graph dd .bar strong {
	position: relative;
	display: inline-block;
	top: -1px;
	padding: 2px 4px 4px;
	margin-left: 6px;
	font-size: 18px;
	font-weight: 700;
	background: #fff;
}

body:not([data-registered="true"]) #graph dd .bar span {
	transition-duration: 0s;
}
body.direct #graph dd .bar span {
	transition-duration: 800ms !important;
}






#values {
	position: relative;
	height: 250px;
}
#values ul {
	display: flex;
}
#values li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: calc(100% / 3);
	height: 250px;
}

#values .pict {
	width: 80px;
	height: 80px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
#values dl {
	margin: 10px 0 0;
}
#values dt,
#values dd {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}



#values li {
	opacity: 0;
	transform: translateY(20px);
	transition: all 800ms ease-out;
}
#values li:nth-child(1) {
	transition-delay: 0ms;
}
#values li:nth-child(2) {
	transition-delay: 200ms;
}
#values li:nth-child(3) {
	transition-delay: 400ms;
}

#values.show li {
	opacity: 1;
	transform: translateY(0px);
}








.layout {
	margin: 50px 0 0;
}

.layout .figure {
	display: flex;
	justify-content: space-between;
}
.layout .chart {
	width: 340px;
}
.layout .floor {
	box-sizing: border-box;
	width: 550px;
	border: 1px solid #ccc;
}

.layout .chart-container {
	position: relative;
	width: 340px;
	height: 360px;
	background: url(../img/chart_mini.png) 50% 50% no-repeat;
	background-size: 96% auto;
}
.layout .chart-container > div {
	position: absolute;
	width: 210px;
	height: 210px;
	left: calc(50% - 105px);
	top: calc(50% - 102px);
}
.layout canvas {
	position: relative;
	width: 100%;
	height: 100%;
}

.layout .legends {
	margin: 24px 0 0;
}
.layout .legends strong {
	font-size: 14px;
}

.layout .chart .text {
	margin: 30px 0 0;
	padding: 22px 0 0;
	font-size: 16px;
	line-height: 1.75;
	border-top: 1px solid #ccc;
}



.layout .example {
	margin: 24px 0 0;
}
.layout .example h4 {
	position: relative;
}
.layout .example h4 span {
	position: relative;
	display: inline-block;
	z-index: 10;
	padding-right: 8px;
	font-size: 22px;
	font-weight: 700;
	background: #fff;
}
.layout .example h4::after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	left: 0;
	top: calc(50%);
	z-index: 1;
	background: #ccc;
}

.layout .example ul {
	display: flex;
	justify-content: space-between;
	margin: 32px 0 0;
}
.layout .example li {
	width: calc((100% - 48px) / 3);
}
.layout .example ul.wide li {
	width: 100%;
}
.layout .example dt {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.75;
}
.layout .example dd {
	margin: 12px 0 0;
}
.layout .example dd p {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.75;
}


#other-layout h2 {
	background: #999;
}
#other-layout .box h3 {
	color: #333;
}
#other-layout .box {
	border-color: #999;
}





#thanks {
	margin: 50px 0 0;
	padding: 24px;
	background: #f4f4f4;
}
#thanks p {
	font-size: 16px;
	line-height: 1.75;
	text-align: center;
}
#thanks p + p {
	margin-top: 1.75em;
}



#followup {
	margin: 50px 0 0;
	padding: 24px;
	font-size: 16px;
	line-height: 1.75;
	text-align: center;
	background: #f0f9ee;
}







#help-button {
	position: absolute;
	width: 120px;
	height: 50px;
	right: 20px;
	bottom: 20px;
	z-index: 200;
}
#help-button a {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding-bottom: 3px;
	font-size: 15px;
	font-weight: 700;
	background: #fff;
	border: 1px solid #000;
	cursor: pointer;
}
#help-button a::before {
	position: relative;
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 6px;
	background: #23ac6a url(../img/q.svg) 50% 50% no-repeat;
	background-size: 8px auto;
	border-radius: 10px;
}



.button a,
#help-button a {
	transition: all 300ms ease-out;
}

.button a.submit:hover {
	background: #1f9a5f;
}
.button a.link:hover {
	background: #eee;
}
#help-button a:hover {
	background: #eee;
}





/* ---------------------------------------------------------------------------------------------------- */

body[data-current="entrance"] #description,
body[data-current="entrance"] #banner {
	display: none;
}

body[data-current="question"] #banner {
	display: none;
}

body[data-current="entry"] #banner {
	display: none;
}

body[data-current="result"]:not([data-registered="true"]) #banner {
	display: none;
}





/* ---------------------------------------------------------------------------------------------------- */
/* Validation */

#checklist-1 .number-selector {
	position: relative;
}
#checklist-1 dl.error .number-selector::after {
	box-sizing: border-box;
	position: absolute;
	content: "";
	display: block;
	width: calc(100% + 10px);
	height: calc(100% + 10px);
	left: -5px;
	top: -5px;
	z-index: 100;
	border: 2px solid rgba(255, 0, 0, 0.5);
	border-radius: 4px;
	pointer-events: none;
}

#checklist-2 .list {
	position: relative;
}
#checklist-2 .list.error::after {
	box-sizing: border-box;
	position: absolute;
	content: "";
	display: block;
	width: calc(100% + 10px);
	height: calc(100% + 10px);
	left: -5px;
	top: -5px;
	z-index: 100;
	border: 2px solid rgba(255, 0, 0, 0.5);
	border-radius: 4px;
	pointer-events: none;
}

input.number.error,
input.number.error:focus {
	outline: 2px solid rgba(255, 0, 0, 0.5) !important;
}

#entry input.error,
#entry input.error:focus {
	outline: 2px solid rgba(255, 0, 0, 0.5) !important;
}






/* ---------------------------------------------------------------------------------------------------- */
/* Modal */

#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.88);
}

#modal .modal-title {
	box-sizing: border-box;
	height: 50px;
	padding: 13px 10px 9px;
	font-size: 28px;
	color: #fff;
	background: #23ac6a;
}

#modal button {
	box-sizing: border-box;
	position: absolute;
	width: 36px;
	height: 36px;
	right: 2px;
	top: 6px;
	background: #fff url(../img/close.svg) 50% 50% no-repeat;
	background-size: 18px auto;
	border: 1px solid #000;
	cursor: pointer;
}

#modal.help {
	box-sizing: border-box;
	position: fixed;
	width: 540px;
	min-height: 200px;
	left: calc(50% - 270px);
	z-index: 1010;
	background: #fff;
	border: 0 solid #23ac6a;
	border-width: 0 5px 5px;
}
#modal.help.text {
	height: 200px;
	top: calc(50% - 100px);
}
#modal.help.image {
	height: 520px;
	top: calc(50% - 260px);
}


#modal.help.text .box {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 150px;
	padding: 10px 50px 25px;
}
#modal.help.text dl {
	width: 100%;
}
#modal.help.text dt {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.75;
}
#modal.help.text dd {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.75;
}


#modal.help.image .box {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 470px;
	padding: 30px 50px 50px;
}
#modal.help.image dl {
	width: 100%;
}
#modal.help.image dt {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.75;
}
#modal.help.image dd {
	margin: 15px 0 0;
}









#modal.tooltip {
	box-sizing: border-box;
	position: fixed;
	width: 980px;
	max-height: calc(100vh - 90px);
	left: calc(50% - 490px);
	top: calc(45px);
	z-index: 1010;
	background: #fff;
	border: 0 solid #23ac6a;
	border-width: 0 5px 5px;
}
#modal.tooltip .box {
	box-sizing: border-box;
	height: calc(100vh - 90px - 50px - 5px);
	overflow: auto;
	/*
	overscroll-behavior: none;
	*/
}
#modal.tooltip .box ul {
	padding: 50px;
}
#modal.tooltip .box li + li {
	margin-top: 50px;
}
#modal.tooltip .box li > dl {
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#modal.tooltip .box li > dl > dt {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 270px;
	padding-right: 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.75;
	text-align: center;
	border-right: 1px solid #ccc;
}
#modal.tooltip .box li > dl > dd {
	box-sizing: border-box;
	width: calc(100% - 269px);
	margin-left: -1px;
	padding-left: 50px;
	border-left: 1px solid #ccc;
}
#modal.tooltip .box .pict {
	display: block;
	width: 80px;
	height: 80px;
	margin: 0 0 8px;
}
#modal.tooltip .box dl dl {
	padding: 10px 0;
}
#modal.tooltip .box dl dl dt {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}
#modal.tooltip .box dl dl dd {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.7;
}




#modal.confirm,
#modal.error {
	box-sizing: border-box;
	position: fixed;
	width: 600px;
	left: calc(50% - 300px);
	top: calc(50%);
	z-index: 1010;
	background: #fff;
	border: 0 solid #23ac6a;
	border-width: 0 5px 5px;
}
#modal.confirm .box,
#modal.error .box {
	padding: 30px 24px 34px;
}
#modal.confirm .box p,
#modal.error .box p {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.75;
}
#modal.confirm .box p::before {
	content: "・";
}
#modal.confirm .box p + p,
#modal.error .box p + p {
	margin-top: 10px;
}
#modal.confirm .modal-title,
#modal.error .modal-title {
	padding-top: 16px;
	font-size: 18px;
}



#modal .modal-button {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 240px;
	height: 50px;
	margin: 30px auto 0;
	padding: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #23ac6a;
	border: 1px solid #000;
	cursor: pointer;
	transition: all 300ms ease-out;
}
#modal .modal-button:hover {
	background: #1f9a5f;
}




#overlay,
#modal {
	opacity: 0;
	transition: all 400ms ease-out;
}
#modal.show {
	transition-delay: 100ms;
}
#overlay.show,
#modal.show {
	opacity: 1;
}





/* ---------------------------------------------------------------------------------------------------- */
/* Extra */

body.loading-api {
	overflow-y: hidden;
}

#loading-modal {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 950;
	background: rgba(255,255,255,0.88);
	opacity: 0;
	transition: all 400ms ease-out;
}
#loading-modal dt {
	font-size: 20px;
	font-weight: 700;
	text-align: center;
	display: none;
}
#loading-modal img {
	width: 120px;
	height: 120px;
}

#loading-modal.active {
	opacity: 1;
}





body.error-page #description,
body.error-page #banner {
	display: none;
}



body.direct.loading-api main {
	visibility: hidden;
}
body.direct.error-page main * {
	display: none;
}




#result-banner {
	box-sizing: border-box;
	position: fixed;
	width: 240px;
	height: 60px;
	right: 40px;
	bottom: 20px;
	z-index: 800;
	
	transition: all 400ms ease-out;
	transform: translateY(85px);
}
#result-banner a {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	text-align: center;
	background: #f0f9ee;
	border: 1px solid #000;
	transition: all 300ms ease-out;
	cursor: pointer;
}
#result-banner a:hover {
	background: #c0e6d3;
}
#result-banner dt {
	font-size: 15px;
	font-weight: 500;
}
#result-banner dd {
	margin: 6px 0 0;
	font-size: 12px;
	font-weight: 500;
}

body.floating #result-banner {
	transform: translateY(0px);
}


#result-banner {
	display: none;
}






@media screen and (max-width:1100px) {
	
	#chart {
		transform: scale(0.9);
		margin-left: calc(((100vw - 40px - 80px - 50px) - 920px) / 2);
	}
	
	

	.result .box.graph {
		padding-left: 12px;
		padding-right: 12px;
	}
	#graph .scale {
		width: calc(100% - 180px);
		left: 180px;
	}
	#graph dt {
		width: 180px;
		padding-right: 50px;
		white-space: nowrap;
	}
	#graph dt strong {
		font-size: 13px;
	}
	#graph dt em {
		margin: 8px 0 0;
		font-size: 11px;
	}
	#graph dt .pict {
		width: 38px;
		height: 38px;
		right: 3px;
		top: calc(50% - 19px);
	}
	
	
	.layout .floor {
		width: calc(100% - 340px - 30px);
	}
}




