#tool input{
text-align: end;
}
#tool input:invalid{
text-align: end;
background-color: #F0D0D0;
}
#tool input:valid{
text-align: end;
background-color: #E8F0FE;
}
.pure-control-group {
margin-top: 16px;
}
.pure-table td {
text-align: center;
}
.pure-table td, .pure-table th {
text-align: center;
}
#tool hr {
border: 0;
height: 0;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
background-color: #f9f9f9;
}
.pure-form-aligned .pure-control-group label {
text-align: left;
}
.number{
text-align: right !important;
}
.pure-table td{
font-weight: bold;
}
input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="search"] {
font-size: 16px;
}
legend {
font-weight: bold;
color: #888;
font-size: 1.2em;
}
.select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
select.pure-input {
height: 2.4em;
}
select.pure-input {
height: 2.4em;
}
select::-ms-expand {
display: none;
}
select {
height: 2.8em !important;
font-weight: bold;
}
.tool-selects {
display: flex;
width: 100%;
}
#tool {
background: #fff;
border-radius: 3px;
box-sizing: border-box;
}
#tool-result table {
background: #fff;
}
#tool-prefectures {
font-size: 16px;
}
#tool-cities {
font-size: 16px;
}
#tool-result th {
background-color: #fdfaf8;
font-weight: bold;
border-bottom: 1px solid #cbcbcb;
width: 50%;
}
#tool-result-header h4 {
width: auto;
text-align: left;
vertical-align: middle;
font-weight: bold;
color: #333333;
border-left-style: solid;
border-left-width: 6px;
padding: 0 9px 0 17px;
box-sizing: border-box;
margin: 0 0 13px 0;
font-size: 20px;
line-height: 1.4;
border-color: #0fafe6;
}
.special-benefit-error {
box-sizing: border-box;
width: 100%;
margin-top: 24px;
padding: 8px 16px;
border: 1px solid #eee;
background-color: #ffeeee;
color: red;
}
#tool-results {
margin: 32px 0;
}
#tool-result-text {
font-size: 24px;
}
#tool-result-number {
font-weight: bold;
font-size: 32px;
color: #ef4056;
margin: 0 2px;
}
.tool-title {
font-weight: bold;
font-size: 24px;
margin: 0 2px;
}
#costs-submit { }
.tool-agree {
margin-top: 8px;
}
#tool-start {
margin-top: 16px;
background-color: #ef4056 !important;
}
.income__message {
font-size: 16px;
font-weight: 600;
}
.income__message {
font-size: 16px;
font-weight: 600;
}
.income__label {
font-size: 16px;
font-weight: 600;
color: #333;
}
#form2 {
display: none;
}
.option1{
display: none;
}
.open,.close {
margin-bottom: 16px;
padding-right: 32px;
}
.open:after {
font-family: "icomoon" !important;
content: "\e904" !important;
padding: 0 10px;
font-size: 16px;
color: #666;
position: absolute;
margin-top: 4px;
transform: rotate(90deg);
-ms-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
}
.close:after {
font-family: "icomoon" !important;
content: "\e904" !important;
padding: 0 10px;
font-size: 16px;
color: #666;
position: absolute;
margin-top: 4px;
transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
}
.intro {
font-size: 16px;
font-weight: 600;
}
.intro__popup {
z-index: 99999;
font-size: 16px;
font-weight: 600;
border: none;
width: 200px;
height: 118px;
color: #666;
left: 0px;
top: 280px;
position: absolute;
display: inline-block;
padding: 8px;
font-family: sans-serif;
background: white;
-webkit-box-shadow: 0 5px 20px 0px rgb(0 0 0 / 35%);
-moz-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.35);
box-shadow: 0 5px 20px 0px rgb(0 0 0 / 35%);
}
.intro__popup:before {
content: "";
position: absolute;
bottom: -24px;
left: 50%;
margin-left: -15px;
border: 12px solid transparent;
border-top: 12px solid #fff;
z-index: 2;
}
#intro-button{
position: absolute;
display: block;
margin-top: 16px;
right: 16px;
background-color: #11a2dc;
font-weight: bold;
color: white;
padding: 4px 10px;
}
#intro-button:hover {
background-color: #59b1eb;
}
.tips {
font-size: 16px;
font-weight: 600;
}
.tips__popup {
z-index: 99999;
font-size: 16px;
font-weight: 600;
border: none;
width: 450px;
color: #666;
left: 16px;
position: absolute;
display: inline-block;
padding: 8px;
border-radius: 6px;
font-family: sans-serif;
background-color: white;
box-shadow: 3px 3px 3px #aaaaaa;
}
body::after {
display: none;
content: '';
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100%;
background-color: #000;
opacity: 0;
transition: .5s;
z-index: 100;
}
body a.tips:hover {
opacity: 1.0;
}
body a.tips:hover {
opacity: 1.0;
}
#submit {
font-family: sans-serif;
}
.required, .optional {
margin-bottom: 16px;
}
.required:before {
content: "\5FC5\9808";
border-radius: 2px;
color: #fff;
padding: 1px 8px;
margin-right: 8px;
margin-bottom: 4px;
font-size: 14px;
display: inline-block;
font-weight: normal;
background-color: #ef4056;
height: 22px;
width: 30px;
letter-spacing: normal;
}
.optional:before {
content: "\4EFB\610F";
border-radius: 2px;
color: #fff;
padding: 1px 8px;
margin-right: 8px;
margin-bottom: 4px;
font-size: 14px;
display: inline-block;
font-weight: normal;
background-color: #aaaaaa;
height: 22px;
width: 30px;
letter-spacing: normal;
}
.tomato {
background-color: tomato !important;
}
#input-income-table th{
background-color: #33CC99;
}
[contenteditable=true] {
padding: 0.5em 0.6em;
}
[contenteditable=true]:focus {
outline: none;
border-bottom-color: black;
}
[contenteditable=true]:empty::after{
opacity: 0.5;
}
[contenteditable=true]:empty::after{
transition: all 0.2s;
content: attr(placeholder);
}
#tool .dateForm-wrap {
display: flex;
width: 72%;
}
#tool .dateForm-wrap .dateForm:first-child  {
display: block;
width: 60%;
margin: 0 5px;
}
#tool .dateForm {
width: 36%;
}   #tool .pure-input-1 {
width: 45% !important;
}
#tool .pure-input-1#select-deadline-era,
#tool .pure-input-1#select-payment-era {
width: 32% !important;
}     @media screen and (max-width: 767px) {
.intro__popup {
left: 100px;
top: 100px;
}
#tool .dateForm-wrap {
width: 100%;
}
#tool .pure-input-1 {
width: 55% !important;
}
#tool .pure-input-1#select-deadline-year,
#tool .pure-input-1#select-payment-year
{
width: 40% !important;
}
#tool .pure-input-1#select-deadline-era, #tool .pure-input-1#select-payment-era {
width: 45% !important;
}
#tool .pure-form label {
display: contents;
}
#tool .pure-input-1#select-deadline-era, #tool .pure-input-1#select-payment-era {
width: 36% !important;
}
}