[v-cloak] {
    display: none;
}

.small-text {
    font-size: 0.7em;
    font-weight: 500;
    margin-left: 0.1em;
}

.simulation-tab-box {
    border-bottom: solid 10px #F65751;
    padding: 0 10%;
    margin: 0 5%;
    display: flex;
    align-items: flex-end;
    gap: 0.7em;
    font-weight: 500;
    font-size: 1.4em;
}

.simulation-tab {
    background: #f65751;
    color: #fff;
    padding: 0.5em 2em;
    padding-top: 0.7em;
    border-radius: 7px 7px 0 0;
}

.simulation-tab-link {
    background: #fff;
    color: #f65751;
    padding: 0.3em 2em;
    padding-top: calc(0.5em - 2px);
    border-radius: 7px 7px 0 0;
    border: solid 2px #f65751;
    border-bottom: 0;
}

.simulation-tab-link:hover {
    background: #f7ffb9;
}

.simulation-box {}

.nendo {
    background: #f65751;
    color: #fff;
    width: fit-content;
    padding: 0 1em;
    border-radius: 3px;
}

.first-text {
    padding: 2%;
}

.notice-mark {
    font-size: 0.7em;
    font-weight: bold;
    vertical-align: super;
}

.red {
    color: #F65751;
}

.notice-text {
    color: #F65751;
    text-align: right;
    padding: 0 2%;
}

.simulation {
    padding: 0 10%;
    margin-top: 7%;
}

.simulation fieldset {
    min-width: 0;
    border: 0;
    border-top: solid 1px #000;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 5% 2%;
}

.pay-rate-set {
    gap: 5%;
    row-gap: 1em;
}

.number-use-set {
    gap: 2%;
    row-gap: 1em;
}

.additional-items-set {
    gap: 2%;
    row-gap: 1em;
}

.simulation fieldset legend {
    margin: auto;
    padding: 0 1em;
    font-size: 1.8em;
    font-weight: 500;
}

.simulation fieldset label {
    cursor: pointer;
}

.simulation fieldset label:hover input[type="radio"],
.simulation fieldset label:hover input[type="checkbox"] {
    border: solid 1px #000000;
}

.next-icon {
    width: 100%;
    text-align: center;
    font-size: 2em;
    color: #F65751;
    margin-top: 3%;
}

.pay-rate {
    padding: 3% 3%;
    display: flex;
    width: 30%;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 1.7em;
    font-weight: 600;
    border-radius: 7px;
}

.number-use {
    padding: 1.5% 3%;
    display: flex;
    width: 23.5%;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    font-size: 1.7em;
    font-weight: 600;
    border-radius: 7px;
    background-color: #2B8F8F;
    color: #fff;
}

.number-use-over8 {
    display: flex;
    align-items: center;
    gap: 0.5em;
    background-color: #2B8F8F;
    color: #fff;
    padding: 2%;
    width: 100%;
    justify-content: flex-end;
    border-radius: 7px;
}

.number-use-over8 input {
    border: solid 1px #333;
    border-radius: 3px;
    color: #000;
    font-size: 1.4em;
    height: 1.8em;
    text-align: right;
    font-weight: 500;
}

.additional-items {
    padding: 1.5% 3%;
    display: flex;
    width: 49%;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
    font-size: 1.3em;
    font-weight: 500;
    border-radius: 7px;
    background-color: #2B8F8F;
    color: #fff;
}

input[type="radio"],
input[type="checkbox"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    min-width: 1.2em;
    width: 1.2em;
    height: 1.2em;
    border-radius: 3px;
    cursor: pointer;
    background: #fff;
    border: solid 1px #BCBCBC;
}

/* フォーカス */
input[type="radio"]:focus-visible,
input[type="checkbox"]:focus-visible {
    outline: 2px solid #1452a3;
    outline-offset: 2px;
}

input[type="checkbox"]:disabled {
    background: #d7d7d7;
}

input[type="radio"]::after,
input[type="checkbox"]::after {
    content: "";
    visibility: hidden;
    width: 1.6em;
    height: 1.6em;
    background-image: url(../img/check_mark.png);
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -0.4em;
    left: -0.1em;
    background-repeat: no-repeat;
}

input[type="radio"]:checked::after,
input[type="checkbox"]:checked::after {
    visibility: visible;
}

.pay-rate-1 {
    background: #D9E34D;
}

.pay-rate-2 {
    background: #FFDB78;
}

.pay-rate-3 {
    background: #FFC093;
}

.c_box p.pay-rate-text {
    margin: 0;
}

.c_box p.number-use-text {
    margin: 0;
}

.number-use-info {
    background: #EAEAEA;
    display: flex;
    padding: 3% 5%;
    width: 100%;
    gap: 10%;
    font-size: 1.1em;
}

.number-use-info-left {}

.number-use-info-right {}

.number-use-info dt {
    font-weight: 500;
    margin-bottom: 0.2em;
}

.number-use-info dd {
    font-weight: 400;
    padding-left: 1em;
    line-height: 1.4em;
}


.additional-items-left {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.c_box p.additional-items-text {
    margin: 0;
}

.c_box p.additional-items-price {
    margin: 0;
    border-left: dotted 1px #fff;
    padding-left: 0.8em;
    width: 4em;
    text-align: right;
}

.additional-items-info {
    background: #EAEAEA;
    padding: 3% 5%;
    width: 100%;
    font-size: 1.1em;
}

.calc-result {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 3%;
    margin: 0 5%;
    margin-bottom: 7%;
    background: #fffc9a;
    border-radius: 0 0 15px 15px;
}

.result-msg {
    text-align: center;
    font-weight: 600;
    color: #f65751;
}

.result-price {
    background: #316EA9;
    color: #fff;
    font-size: 2.4em;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    padding: 0.3em 3em;
    border-radius: 100px;
    padding-bottom: 0.5em;
    margin: auto;
}

.kaigo-number-use-table {
    width: 100%;
    border-collapse: collapse;
}

.kaigo-number-use-table p {
    margin: 0;
}

.kaigo-number-use-table td {
    padding: 0.5em;
    border-bottom: solid 1px #919191;
    border-right: dotted 1px #919191;
    text-align: center;
}

.kaigo-number-use-table td.blank-td {
    border-bottom: 0;
    border-right: 0;
}

.top-th {
    background: #2B8F8F;
    color: #fff;
    padding: 0.5em 0;
    border-right: dotted 1px #fff;
}

.top-th:nth-child(2) {
    border-radius: 10px 0 0 10px;
}

.top-th:last-child {
    border-radius: 0 10px 10px 0;
}

.left-th {
    background: #2B8F8F;
    color: #fff;
    border-bottom: solid 1px #fff;
    padding: 0.5em;
    width: 8em;
}

.kaigo-number-use-table tr:nth-child(2) .left-th {
    border-radius: 10px 10px 0 0;
}

.kaigo-number-use-table tr:last-child .left-th {
    border-radius: 0 0 10px 10px;
}

.kaigo-number-use-table td input {
    width: 50px;
    border: solid 1px #BCBCBC;
    border-radius: 3px;
    font-size: 1.3em;
}

p.kaigo-price {
    margin-bottom: 0.2em;
    font-weight: 500;
}

.kaigo-number-input {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    align-items: center;
}

.kaigo-number-input input {
    text-align: right;
    font-weight: 600;
}

.kai {}

.kaigo-number-use-info {
    background: #EAEAEA;
    padding: 3% 5%;
    width: 100%;
    font-size: 1.1em;
}

.kaigo-number-use-info dt {
    font-weight: 500;
    margin-bottom: 0.2em;
}

.kaigo-number-use-info dd {
    font-weight: 400;
    padding-left: 1em;
    line-height: 1.4em;
}

.kaigo-number-use-table-wrap {
    overflow: auto;
    width: 100%;
    margin-bottom: 1em;
}

@media screen and (max-width: 1500px) {
    .c_box p.pay-rate-text {
        letter-spacing: -2px;
    }

    .number-use {
        gap: 0.3em;
    }

    .c_box p.number-use-text {
        letter-spacing: -7px;
    }

    .small-text {
        letter-spacing: -1px;
    }
}

@media screen and (max-width: 1024px) {
    .c_box p.pay-rate-text {
        text-align: center;
        line-height: 1em;
    }

    .pay-rate {
        gap: 0.2em;
    }

    .pay-rate-text .small-text {
        display: block;
    }

    .simulation fieldset.number-use-set {
        justify-content: flex-start;
    }

    .number-use {
        width: 32%;
    }

    .additional-items {
        padding: 3%;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .simulation-tab-box {
        padding: 0 5%;
        margin: 0;
    }

    .calc-result {
        margin: 0;
    }

    .simulation {
        padding: 0 2%;
    }

    .number-use-info {
        flex-direction: column;
        gap: 0.5em;
    }

    .additional-items-left {
        gap: 0.6em;
    }

    .pay-rate-set {
        gap: 2%;
    }

    .pay-rate {
        width: 32%;
        font-size: 1.5em;
    }

    .simulation-tab-box {
        font-size: 1.2em;
    }

    .result-price {
        width: 100%;
        font-size: 2.2em;
        padding: 0.3em 0;
        padding-bottom: 0.5em;
    }

    .number-use-over8 input {
        width: 2em;
    }

    .kaigo-number-use-table {
        min-width: 500px;
    }

    .left-th {
        width: 4em;
        text-align: left;
    }
}

@media screen and (max-width: 600px) {
    .simulation fieldset legend {
        font-size: 1.5em;
    }

    .number-use {
        width: 49%;
        padding: 3%;
    }

    .pay-rate-set {
        flex-direction: column;
        gap: 0.7em;
    }

    .pay-rate {
        width: 100%;
    }

    .number-use-over8 {
        font-size: 0.9em;
    }

    .result-price {
        font-size: 2em;
    }

    .simulation-tab {
        padding: 0.5em 1em;
    }

    .simulation-tab-link {
        padding: 0.3em 1em;
    }

    .simulation-tab-box {
        padding: 0 2%;
        gap: 0.2em;
    }
}