label,
input[type="checkbox"] {
    cursor: pointer;
}

.budget_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    top: 0;
    left: 0;
}

.budget_modal .modal_content {
    max-width: 850px;
    width: 90%;
    max-height: 90%;
    padding: 30px 40px;
    background-color: white;
    border: solid 2px #fa4b2d;
    border-radius: 20px;
}

.budget_modal .modal_content .mc_text {
    font-size: 18px;
    line-height: 1.55;
    color: #fa4b2d;
    text-align: justify;
    letter-spacing: 1px;
}

.budget_modal .modal_content .mc_text + .mc_text {
    margin-top: 10px;
}

.budget_modal .modal_content button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto 0;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    background-color: #fa4b2d;
    transition: all 0.3s;
}
.budget_modal .modal_content button:hover {
    opacity: 0.6;
}

.budget_modal .modal_content button p {
    font-size: 20px;
    letter-spacing: 2px;
    text-indent: 2px;
    color: white;
}

.top_wrap {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #c71339;
}

/* .top_wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_illust.svg);
    background-position: center;
    background-size: 733px;
    opacity: 0.6;
} */

.top_wrap p {
    font-size: 28px;
    line-height: 1;
    text-align: center;
    letter-spacing: 3px;
    text-indent: 3px;
    color: white;
    position: relative;
    z-index: 5;
}

.content_wrap {
    width: 100%;
    padding: 125px 0 60px;
    position: relative;
    background-color: #fbecef;
}

/* .content_wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg_illust.svg);
    background-position: center;
    background-size: 733px;
    opacity: 0.2;
} */

.apply_wrap {
    max-width: 1020px;
    width: 90%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 10px 10px 0 #f8a8b8;
    position: relative;
    z-index: 5;
}

.apply_wrap .wrap_head {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c71339;
}

.apply_wrap .wrap_head h1 {
    font-size: 28px;
    letter-spacing: 2px;
    text-indent: 2px;
    color: white;
}

.apply_wrap .wrap_content {
    padding: 35px 60px 65px;
    background-color: white;
}

.apply_wrap .apply_check {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
}

.apply_wrap .apply_check.check5 {
    max-width: 800px;
}

.apply_wrap .apply_check + .apply_check {
    margin-top: 50px;
}

.apply_wrap .apply_check .check_img {
    width: 130px;
    display: block;
    margin: 0 auto;
    display: none;
}

.apply_wrap .apply_check .check_head {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c71339;
    position: relative;
    margin: 10px auto 0;
}

.apply_wrap .apply_check .check_head::before {
    width: 30px;
    height: 15px;
    background-color: #c71339;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    margin: auto;
    content: "";
    display: block;
}

.apply_wrap .apply_check.check1 .check_head {
    width: 230px;
    height: 50px;
    border-radius: 25px;
}
.apply_wrap .apply_check.check2 .check_head {
    width: 300px;
    height: 50px;
    border-radius: 25px;
}
.apply_wrap .apply_check.check3 .check_head {
    width: 350px;
    height: 75px;
    border-radius: 37.5px;
}
.apply_wrap .apply_check.check4 .check_head {
    width: 300px;
    height: 50px;
    border-radius: 25px;
}
.apply_wrap .apply_check.check5 .check_head {
    width: 300px;
    height: 75px;
    border-radius: 37.5px;
}

.apply_wrap .apply_check .check_head h2 {
    font-size: 20px;
    line-height: 26px;
    text-align: center;
    color: white;
}

.apply_wrap .apply_check .top_text {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20px;
    text-align: center;
}

.apply_wrap .apply_check .top_text span {
    display: inline-block;
}

.apply_wrap .apply_check .top_note {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.apply_wrap .apply_check .top_note.tn2 {
    margin-top: 20px;
}

.apply_wrap .apply_check .top_note.tn2 p {
    padding: 10px;
    width: 100%;
}

.apply_wrap .apply_check .top_note p {
    padding: 5px 10px;
    background-color: #feedea;
    border-radius: 10px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #c71339;
}

.apply_wrap .apply_check .top_note p span {
    display: inline-block;
}

.apply_wrap .apply_check .checkbox_area {
    width: 100%;
    border-radius: 10px;
    border: solid 4px #c71339;
    margin-top: 20px;
}

.apply_wrap .apply_check .checkbox_area.ca1 {
    padding: 25px 34px;
}

.apply_wrap .apply_check .checkbox_area.ca2 {
    padding: 0 34px;
}

.apply_wrap .apply_check .checkbox_area .check_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
}

.apply_wrap .apply_check .checkbox_area .check_item + .check_item {
    border-top: dashed 1.5px #c71339;
}

.apply_wrap .apply_check .checkbox_area .check_item input[type="checkbox"] {
    width: 25px;
    min-width: 25px;
    height: 25px;
    aspect-ratio: 1/1;
    border-radius: 2px;
    border: solid 2px #829696;
    background-color: white;
}

.apply_wrap
    .apply_check
    .checkbox_area
    .check_item
    input[type="checkbox"]:checked {
    background-image: url(../img/check_active_red.svg);
    background-size: 17px;
    background-position: center;
    background-repeat: no-repeat;
}

.apply_wrap .apply_check .checkbox_area .check_item label {
    font-size: 22px;
    line-height: 25px;
}

.apply_wrap .apply_check .checkbox_area .check_item label .text1 {
    margin-right: 10px;
}

.apply_wrap .apply_check .checkbox_area .check_item label .mini {
    font-size: 18px;
}

.hissu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 17px;
    font-size: 11px;
    line-height: 1;
    color: white;
    margin: 0;
    background-color: #fa4b2d;
    padding-right: 6px;
    clip-path: polygon(
        0% 0%,
        calc(100% - 6px) 0%,
        100% 50%,
        calc(100% - 6px) 100%,
        0 100%
    );
    letter-spacing: 0;
}

.apply_wrap .apply_check .checkbox_area .check_item .hissu {
    position: relative;
    bottom: 4px;
}

.apply_wrap .apply_check .checkbox_area .check_item .text2 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 5px;
}

.apply_wrap .apply_check .checkbox_area .pause_text {
    margin: 20px auto 0;
    width: 100%;
    padding: 10px 15px;
    background-color: #feedea;
    border-radius: 10px;
}

.apply_wrap .apply_check .checkbox_area .pause_text p {
    font-size: 16px;
    line-height: 24px;
    color: #fa4b2d;
    letter-spacing: 1px;
    text-align: justify;
}

.apply_wrap .apply_check .btn_wrap {
    max-width: 630px;
    display: flex;
    margin: 15px auto 0;
    justify-content: center;
    gap: 30px;
}

.apply_wrap .apply_check .btn_wrap a {
    width: calc(calc(100% - 30px) / 2);
    max-width: 300px;
    position: relative;
}

.apply_wrap .apply_check .btn_wrap a::before {
    content: "";
    width: 100%;
    height: 70px;
    border-radius: 10px;
    display: block;
}

.apply_wrap .apply_check .btn_wrap a.btn01::before {
    background-color: #c71339;
}
.apply_wrap .apply_check .btn_wrap a.btn02::before {
    background-color: #c71339;
}

.apply_wrap .apply_check .btn_wrap a .btn_content {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    background-color: white;
    border: solid 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: all 0.3s;
}
.apply_wrap .apply_check .btn_wrap a.btn01 .btn_content {
    border-color: #c71339;
}
.apply_wrap .apply_check .btn_wrap a.btn02 .btn_content {
    border-color: #c71339;
}

.apply_wrap .apply_check .btn_wrap a:hover .btn_content {
    bottom: 0;
}

.apply_wrap .apply_check .btn_wrap a .btn_content p {
    font-size: 18px;
    line-height: 23px;
}
.apply_wrap .apply_check .btn_wrap a.btn01 .btn_content p {
    color: #c71339;
}
.apply_wrap .apply_check .btn_wrap a.btn02 .btn_content p {
    color: #c71339;
}

.apply_wrap .apply_check .btn_wrap a.btn01 .btn_content img {
    width: 25px;
}
.apply_wrap .apply_check .btn_wrap a.btn02 .btn_content img {
    width: 26px;
}

.apply_wrap .apply_check .policy_area {
    width: 100%;
    margin-top: 25px;
    border-radius: 10px;
    padding: 15px 34px;
    background-color: #fbecef;
}

.apply_wrap .apply_check .policy_area p {
    font-size: 14px;
    line-height: 22px;
}

.apply_wrap .apply_check .top_link {
    margin-top: 10px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #2563eb;
}

.apply_wrap .apply_check .top_link a {
    border-bottom: solid 2px #2563eb;
}

.apply_wrap .apply_check .note_list {
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    padding: 20px 34px;
    background-color: #fbecef;
}

.apply_wrap .apply_check .note_list .note_item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.apply_wrap .apply_check .note_list .note_item + .note_item {
    margin-top: 7px;
}

.apply_wrap .apply_check .note_list .note_item p {
    font-size: 18px;
    line-height: 28px;
}

.apply_wrap .apply_check .note_list .note_item p.note_text {
    color: #fa4b2d;
}

.apply_wrap .apply_check .note_list .note_item p.maru {
    font-size: 12px;
    color: #c71339;
}

.apply_wrap .apply_check .note_list .note_item p span {
    display: inline-block;
}

.apply_wrap .apply_check .form_block {
    width: 100%;
    margin-top: 25px;
    border-top: solid 1.5px #c71339;
}

.apply_wrap .apply_check .form_block .form_item {
    display: flex;
    border-bottom: solid 1.5px #c71339;
}

.apply_wrap .apply_check .form_block .form_item .item_head {
    width: 200px;
    background-color: #fbecef;
    display: flex;
    align-content: center;
    gap: 2px 17px;
    flex-wrap: wrap;
    padding: 10px 14px;
}

.apply_wrap .apply_check .form_block .form_item .item_head p {
    font-size: 17px;
    line-height: 22px;
}

.apply_wrap .apply_check .form_block .form_item .item_head .hissu {
    margin: 2.5px 0;
}

.apply_wrap .apply_check .form_block .form_item .item_content {
    padding: 20px 0 20px 20px;
    background-color: white;
    width: calc(100% - 200px);
}

.apply_wrap .form_item .item_content .code_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apply_wrap .form_item .item_content .code_wrap p {
    font-size: 20px;
}

.apply_wrap .form_item .item_content .code_wrap .code {
    width: 150px;
    height: 60px;
    border-radius: 7.5px;
    background-color: #f2f4f4;
    padding: 10px;
}

.apply_wrap .form_item .item_content input.email {
    width: 100%;
    height: 60px;
    border-radius: 7.5px;
    background-color: #f2f4f4;
    padding: 10px;
}

.apply_wrap .apply_check .form_btn {
    width: 320px;
    display: block;
    position: relative;
    margin: 70px auto 0;
}

.apply_wrap .apply_check .form_btn::before {
    content: "";
    width: 100%;
    height: 80px;
    border-radius: 10px;
    background-color: #f8a8b8;
    border: solid 4px #c71339;
    display: block;
}

.apply_wrap .apply_check .form_btn .btn_content {
    position: absolute;
    width: 100%;
    height: 80px;
    border-radius: 10px;
    background-color: #c71339;
    left: 0;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px 0 30px;
    transition: all 0.3s;
}

.apply_wrap .apply_check .form_btn:hover .btn_content {
    bottom: 0;
}

.apply_wrap .apply_check .form_btn .btn_content p {
    font-size: 24px;
    color: white;
}

.apply_wrap .apply_check .form_btn .btn_content img {
    width: 40px;
}

.back_btn {
    width: 250px;
    display: block;
    position: relative;
    margin: 75px auto 0;
}

.back_btn::before {
    content: "";
    width: 100%;
    height: 55px;
    border-radius: 10px;
    background-color: #c71339;
    display: block;
}

.back_btn .btn_content {
    width: 100%;
    height: 55px;
    border-radius: 10px;
    position: absolute;
    bottom: 5px;
    left: 0;
    background-color: white;
    border: solid 3px #c71339;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.back_btn:hover .btn_content {
    bottom: 0;
}

.back_btn .btn_content .arrow {
    width: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
    transform: rotate(180deg);
}

.back_btn .btn_content p {
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
    text-indent: 1px;
    color: #c71339;
}


/* 上部のエラーボックス */
.error-box {
    border: 2px solid #e60012;
    background: #fff5f5;
    color: #e60012;
    padding: 16px 20px;
    margin: 20px auto 24px;
    border-radius: 4px;
    max-width: 800px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.field-error {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #e60012;
}

@media screen and (max-width: 1000px) {
    .top_wrap::before,
    .content_wrap::before {
        background-size: 450px;
    }

    .top_wrap {
        height: 115px;
    }

    .top_wrap p {
        font-size: 24px;
    }

    .content_wrap {
        padding: 75px 0 60px;
    }

    .apply_wrap .wrap_head {
        height: 65px;
    }

    .apply_wrap .wrap_head h1 {
        font-size: 24px;
    }

    .apply_wrap .wrap_content {
        padding: 35px 40px 60px;
    }

    .apply_wrap .apply_check .check_img {
        width: 110px;
    }

    .apply_wrap .apply_check .check_head h2 {
        font-size: 18px;
        line-height: 24px;
    }

    .apply_wrap .apply_check.check1 .check_head {
        width: 205px;
        height: 46px;
        border-radius: 23px;
    }
    .apply_wrap .apply_check.check2 .check_head {
        width: 265px;
        height: 46px;
        border-radius: 23px;
    }
    .apply_wrap .apply_check.check3 .check_head {
        width: 320px;
        height: 70px;
        border-radius: 35px;
    }
    .apply_wrap .apply_check.check4 .check_head {
        width: 230px;
        height: 46px;
        border-radius: 23px;
    }
    .apply_wrap .apply_check.check5 .check_head {
        width: 250px;
        height: 70px;
        border-radius: 35px;
    }

    .apply_wrap .apply_check .top_text {
        font-size: 16px;
        line-height: 22px;
    }

    .apply_wrap .apply_check .top_note p {
        font-size: 16px;
        line-height: 22px;
    }

    .apply_wrap .apply_check .checkbox_area.ca1 {
        padding: 15px 20px;
    }
    .apply_wrap .apply_check .checkbox_area.ca2 {
        padding: 0 20px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item label {
        font-size: 20px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item label .mini {
        font-size: 16px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item .text2 {
        font-size: 16px;
        line-height: 22px;
    }

    .hissu {
        padding: 0;
        clip-path: none;
        width: 28px;
    }

    .apply_wrap .apply_check .btn_wrap {
        gap: 20px;
        flex-wrap: wrap;
    }

    .apply_wrap .apply_check .btn_wrap a {
        width: calc(calc(100% - 20px) / 2);
        min-width: 254px;
    }

    .apply_wrap .apply_check .btn_wrap a .btn_content {
        padding: 0 15px;
    }

    .apply_wrap .apply_check .btn_wrap a .btn_content p {
        font-size: 16px;
        line-height: 21px;
    }

    .apply_wrap .apply_check .btn_wrap a.btn01 .btn_content img {
        width: 24px;
    }

    .apply_wrap .apply_check .btn_wrap a.btn02 .btn_content img {
        width: 25px;
    }

    .apply_wrap .apply_check .note_list .note_item p {
        font-size: 16px;
        line-height: 24px;
    }

    .apply_wrap .apply_check .policy_area {
        padding: 15px 20px;
    }

    .apply_wrap .apply_check .note_list {
        padding: 20px;
    }

    .apply_wrap .apply_check .top_link {
        font-size: 18px;
        line-height: 24px;
        text-align: left;
        display: flex;
        justify-content: center;
    }

    .apply_wrap .apply_check .top_link a {
        border-bottom: none;
        word-break: break-all;
        text-decoration: underline;
    }

    .apply_wrap .apply_check .form_block .form_item {
        flex-wrap: wrap;
    }

    .apply_wrap .apply_check .form_block .form_item .item_head {
        width: 100%;
        padding: 15px;
    }

    .apply_wrap .apply_check .form_block .form_item .item_content {
        width: 100%;
        padding: 15px;
    }

    input[type="text"] {
        font-size: 14px;
    }

    .apply_wrap .apply_check .form_btn::before,
    .apply_wrap .apply_check .form_btn .btn_content {
        height: 70px;
    }

    .apply_wrap .apply_check .form_btn .btn_content p {
        font-size: 20px;
    }

    .apply_wrap .apply_check .form_btn .btn_content img {
        width: 35px;
    }
}

@media screen and (max-width: 600px) {
    .top_wrap::before,
    .content_wrap::before {
        background-size: 350px;
    }

    .budget_modal .modal_content {
        padding: 25px 20px;
    }

    .budget_modal .modal_content .mc_text {
        font-size: 16px;
    }

    .budget_modal .modal_content button {
        width: 155px;
        height: 45px;
    }

    .budget_modal .modal_content button p {
        font-size: 18px;
        letter-spacing: 2px;
        text-indent: 2px;
        color: white;
    }

    .top_wrap {
        height: 90px;
    }

    .top_wrap p {
        font-size: 20px;
    }

    .content_wrap {
        padding: 50px 0;
    }

    .apply_wrap {
        box-shadow: none;
    }

    .apply_wrap .wrap_head {
        height: 60px;
    }

    .apply_wrap .wrap_head h1 {
        font-size: 22px;
    }

    .apply_wrap .wrap_content {
        padding: 35px 20px 60px;
    }

    .apply_wrap .apply_check .top_text,
    .apply_wrap .apply_check .top_note p {
        font-size: 14px;
        line-height: 20px;
    }

    .apply_wrap .apply_check .checkbox_area {
        border: solid 3px #c71339;
    }

    .apply_wrap .apply_check .checkbox_area .check_item {
        gap: 10px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item input[type="checkbox"] {
        width: 22px;
        min-width: 22px;
        height: 22px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item label {
        font-size: 16px;
        line-height: 22px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item label .mini {
        font-size: 14px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item .hissu {
        bottom: 2.5px;
    }

    .apply_wrap .apply_check .checkbox_area .check_item .text2 {
        font-size: 14px;
        line-height: 20px;
    }

    .apply_wrap .apply_check .checkbox_area .pause_text p {
        font-size: 14px;
        line-height: 20px;
    }

    .apply_wrap .apply_check .btn_wrap a {
        min-width: 215px;
    }

    .apply_wrap .apply_check .btn_wrap a::before {
        height: 60px;
    }

    .apply_wrap .apply_check .btn_wrap a .btn_content {
        padding: 0 10px;
        height: 60px;
        border: solid 2px;
    }

    .apply_wrap .apply_check .decarbo_about .content_text {
        font-size: 14px;
        line-height: 22px;
    }

    .apply_wrap .apply_check .btn_wrap a .btn_content p {
        font-size: 14px;
        line-height: 19px;
    }

    .apply_wrap .apply_check .btn_wrap a.btn01 .btn_content img {
        width: 22px;
    }

    .apply_wrap .apply_check .btn_wrap a.btn02 .btn_content img {
        width: 23px;
    }

    .apply_wrap .apply_check .top_link {
        font-size: 16px;
        line-height: 22px;
    }

    .apply_wrap .apply_check .form_block .form_item .item_head p {
        font-size: 15px;
        line-height: 20px;
    }

    .apply_wrap .apply_check .form_block .form_item .item_head,
    .apply_wrap .apply_check .form_block .form_item .item_content {
        padding: 15px 10px;
    }

    .apply_wrap .form_item .item_content .code_wrap .code,
    .apply_wrap .form_item .item_content input.email {
        height: 50px;
    }

    .apply_wrap .form_item .item_content .code_wrap {
        gap: 10px;
    }

    .apply_wrap .form_item .item_content .code_wrap p {
        font-size: 16px;
    }

    .apply_wrap .form_item .item_content .code_wrap .code {
        width: 120px;
    }

    .apply_wrap .apply_check .form_btn {
        max-width: 300px;
        width: 100%;
        margin: 50px auto 0;
    }

    .apply_wrap .apply_check .form_btn::before,
    .apply_wrap .apply_check .form_btn .btn_content {
        height: 65px;
    }

    .apply_wrap .apply_check .form_btn .btn_content {
        padding: 0 20px;
    }

    .apply_wrap .apply_check .form_btn .btn_content p {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .back_btn {
        width: 220px;
        margin-top: 45px;
    }

    .back_btn::before,
    .back_btn .btn_content {
        height: 45px;
    }

    .back_btn .btn_content .arrow {
        width: 7px;
        left: 10px;
    }

    .back_btn .btn_content p {
        font-size: 16px;
    }

    .apply_wrap .apply_check.check3 .check_head {
        width: 295px;
    }

    .error-box {
        margin: 20px 16px 24px;
        font-size: 15px;
    }
}
