#tool-result {
    margin: 32px 0;
}

.tool-result-text {
    font-size: 24px;
}

.tool-result-number {
    font-weight: bold;
    font-size: 32px;
    color: #ef4056;
    margin: 0 2px;
}

.tool-error {
    font-weight: bold;
    font-size: 24px;
    color: #ef4056;
    margin: 0 2px;
}


#calc_AI_submit:hover {
    opacity: 0.8;
}

.amount_gift_per_person_wrap_child {
    margin: 10px 0;
}

label[for="calc_AI"] {
    color: #ef4056;
    font-weight: bold;
}

#percent_of_spouse_unit {
    display: inline;
}

input[type="text"]:disabled {
    background: #ccc !important;
}

#calc_souzokuzei .head-color {
    background-color: #60b2b3 !important;
    color: #fff;
}

#calc_souzokuzei_submit {
    font-weight: bold;
    font-size: 16px;
    border-radius: 4px;
}

#calc_souzokuzei input{
    border-radius: 4px 4px 4px 4px;
    margin-right: 10px;
    width: 120px !important;
    font-size: 14px;
}

.fraction {
    font-size: 18px;
    margin: 2px 8px;
}

.fraction_form {
    display: flex;
    align-content: unset;
    vertical-align: baseline;
    flex-wrap: inherit;
}

#calc_souzokuzei .fraction_form input{
    margin-right: 0 !important;
}

#tool-result th {
    width: 50%;
}

#tool-result td {
    text-align: right;
    background-color: #fff;
}

@media screen and (max-width: 767px) {
    .fraction_form {
        display: block;
    }
}