@charset "UTF-8";
/* --- formリセット --- */
:where(input[type="text"], input[type="tel"], input[type="password"], input[type="email"], input[type="number"], input[type="url"]) {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    box-sizing: border-box;
    font-size: 14px;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
}

:where(select) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    font-size: 14px;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
}

:where(select::-ms-expand) {
    display: none;
}
:where(button, input[type="submit"], input[type="reset"], input[type="search"], input[type="date"]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    font-size: 14px;
}

:where(textarea) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    resize: none;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    font-size: 14px;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
}

label input[type="checkbox"],
label input[type="radio"] {
    margin-right: 0.4em;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
}

.section {
    text-align: left;
}
.section > div > img.img-fluid {
    width: 100%;
    max-width: 492px;
    height: auto;
}
.section > div + p {
    font-size: var(--font-l) !important;
}
/*----------------------------------form*/
.contact_table {
    --contact-table-pd: 10px;

    width: 100%;
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    .attention {
        color: var(--error-color);
        white-space: nowrap;
        font-size: var(--font-s);
    }

    :is(tr) {
        & th {
            display: block;
            padding: var(--contact-table-pd);
            border-right: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            background: color-mix(in srgb, var(--maincolor) 20%, white);
            text-align: left;
            line-height: 1.2;

            .form_title {
                display: block;
                overflow: hidden;
            }

            & > p {
                font-size: var(--font-s);
                line-height: 1.4;
                margin-top: 0.4em;
                margin-bottom: 0.4em;
            }

            /*必須・任意*/
            &.required,
            &.optional {
                padding-left: 3.2em;
                position: relative;
                &::before {
                    display: inline-block;
                    color: var(--light-tx-color);
                    font-size: clamp(1rem, 11vw/13.66, 1.1rem);
                    font-weight: normal;
                    border-radius: 2px;
                    padding-left: 0.5em;
                    padding-right: 0.5em;
                    line-height: 1.6;
                    vertical-align: middle;
                    margin-right: 0.5em;
                    position: absolute;
                    inset: 50% auto auto var(--contact-table-pd);
                    transform: translateY(-50%);
                }
            }
            &.required {
                &::before {
                    content: "必須";
                    background: var(--error-color);
                }
            }
            &.optional {
                &::before {
                    content: "任意";
                    background: var(--gray);
                }
            }
        }

        & td {
            display: block;
            padding: var(--contact-table-pd);
            border-right: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            text-align: left;
            background: #fff;

            :where(label) {
                white-space: nowrap;
                padding-right: 16px;
            }

            &.td_child {
                background: color-mix(in srgb, var(--maincolor) 6%, white);
                border-bottom: 1px dotted var(--border-color);
            }

            & > p {
                font-size: var(--font-s);
                line-height: 1.4;

                & + * {
                    margin-top: 0.6em;
                }
                & + p {
                    margin-top: 0.2em;
                }
            }
            * + p {
                margin-top: 0.6em;
            }
        }
    }

    @media (width >= 768px) {
        border-collapse: separate;
        :is(tr) {
            & th {
                display: table-cell;
                border-right: 1px dotted var(--border-color);
                width: clamp(180px, 280vw/13.66, 280px);
                max-width: clamp(180px, 280vw/13.66, 280px);
                vertical-align: middle;
            }
            & td {
                display: table-cell;

                &.td_child {
                    border-right: 1px dotted var(--border-color);
                    border-bottom: 1px solid var(--border-color);
                    width: 160px;
                    max-width: 160px;
                }
            }
        }
    }

    :is(hr){
        margin: 0.6em 0;
        padding: 0;
        border: none;
        border-top: 1px dotted var(--gray);

    }
}

/*入力エリア装飾　--------------------*/
:root {
    /*form font-size ------*/
    --form-font-size: 1.6rem;
    /*form color ------*/
    --form-bg: #e8e8e8;
    --form-border: #e8e8e8;
    /*box ----*/
    --form-block: 10px;
    --form-inline: 10px;
    --form-radius: 0;
    /*重なったとき用*/
    --form-spacer: 0.1em;
    /*ステータス ------*/
    /*入力中*/
    --focus-color: #ffa500;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
textarea {
    padding: var(--form-block) var(--form-inline);
    font-size: var(--form-font-size);
    border-radius: var(--form-radius);
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    margin-top: var(--form-spacer);
    margin-bottom: var(--form-spacer);
    &:focus {
        border: var(--focus-color) 1px solid;
    }
}
select {
    padding: var(--form-block) var(--form-inline);
    font-size: var(--form-font-size);
    border-radius: var(--form-radius);
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    margin-top: var(--form-spacer);
    margin-bottom: var(--form-spacer);
    &:focus {
        border: var(--focus-color) 1px solid;
    }
}
textarea {
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    padding: var(--form-block) var(--form-inline);
    margin-top: var(--form-spacer);
    margin-bottom: var(--form-spacer);
    border-radius: var(--form-radius);
}

/*入力エリアサイズ*/
.input_10 {
    width: clamp(40px, 10%, 48px);
}
.input_20 {
    width: clamp(80px, 20%, 160px);
}
.input_30 {
    width: clamp(180px, 30%, 240px);
}
.input_50 {
    width: clamp(240px, 50%, 400px);
}
.input_70 {
    width: min(100%, 600px);
}
.input_100 {
    width: 100%;
}
.input_zip {
    width: 180px;
}
.input_tel {
    width: 100%;
    @media (width >= 768px) {
        width: 240px;
    }
}

.input_s {
    width: 3ic;
}
.input_m {
    width: 5ic;
}

/*入力例の文字装飾*/
::-webkit-input-placeholder {
    color: #bbb;
}
::-moz-placeholder {
    color: #bbb;
}
:-ms-input-placeholder {
    color: #bbb;
}
@media print, screen and (min-width: 768px) {
    /*入力例の文字装飾*/
    ::-webkit-input-placeholder {
        color: #666;
    }
    ::-moz-placeholder {
        color: #666;
    }
    :-ms-input-placeholder {
        color: #666;
    }
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-moz-placeholder {
    color: transparent;
}
input:focus::-moz-placeholder {
    color: transparent;
}
textarea:focus::-webkit-input-placeholder {
    color: transparent;
}
textarea:focus:-moz-placeholder {
    color: transparent;
}
textarea:focus::-moz-placeholder {
    color: transparent;
}

/*送信・戻るボタン*/
.submit_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;

    /*sp/pcボタン入れ替え*/
    &.change {
        & > li {
            &:last-of-type {
                order: -1;
            }
        }
    }

    @media (width >= 768px) {
        flex-direction: row;
        &.change {
            & > li {
                &:last-of-type {
                    order: 1;
                }
            }
        }
    }

    & > li {
        & > a,
        & > button,
        & > input {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1em;
            width: 100%;
            text-align: center;
            font-family: var(--font-ja);
            font-weight: 700;
            font-size: var(--font-base);
            color: var(--light-tx-color);
            border: none;
            border-radius: var(--btn-radius);
            padding: 1em 2em;
            cursor: pointer;
            transition: 0.2s;
            &:hover {
                opacity: 0.8;
            }
        }
        & > a {
            text-decoration: none;
        }

        &.inp_submit01 {
            & > a,
            & > button,
            & > input {
                background: var(--maincolor);
            }
        }
        &.inp_submit02 {
            & > a,
            & > button,
            & > input {
                background: var(--gray);
            }
        }
        &.l_tx {
            & > a,
            & > button,
            & > input {
                font-size: var(--font-l);
            }
        }
    }

    [class^="inp_submit0"] {
        width: 100%;
        @media (width >= 768px) {
            width: max-content;
            min-width: 320px;
        }
    }

    /*svg*/
    .icon {
        width: 1.4em;
        height: auto;
        aspect-ratio: 1;
    }
    :is(i) {
        font-size: 1.4em;
        line-height: 1;
        font-weight: normal;
    }
}

/*attention*/
.attention {
    color: var(--gray);
    font-size: var(--font-s);
}

/*エラーメッセージ用 ----------*/
/*top*/
.errtop {
    --err-arrow-size: 16px;

    position: relative;
    margin: calc(var(--err-arrow-size) + calc(var(--err-arrow-size) / 2)) 0;
    padding:0.6em 0.8em;
    text-align: center;
    font-weight: bold;
    color: var(--error-color);
    background: color-mix(in srgb, var(--error-color) 20%, white);
    &::after {
        position: absolute;
        left: 50%;
        bottom: calc(calc(var(--err-arrow-size) * 1.9) * -1);
        width: 0;
        height: 0;
        margin-left: calc(var(--err-arrow-size) * -1);
        content: "";
        border: solid var(--err-arrow-size) transparent;
        border-top: solid var(--err-arrow-size) color-mix(in srgb, var(--error-color) 20%, white);
    }
}
/*table in*/
.errmsg {
    --err-arrow-size: 16px;

    position: relative;
    margin: calc(var(--err-arrow-size) + calc(var(--err-arrow-size) / 4)) 0 0;
    padding: 0.4em 0.6em;
    text-align: left;
    font-weight: bold;
    color: var(--error-color);
    background: color-mix(in srgb, var(--error-color) 20%, white);
    width: max-content;
    &::after {
        position: absolute;
        left: 1em;
        top: calc(calc(var(--err-arrow-size) * 1.5) * -1);
        width: 0;
        height: 0;
        content: "";
        border: solid var(--err-arrow-size) transparent;
        border-bottom: solid var(--err-arrow-size) color-mix(in srgb, var(--error-color) 20%, white);
    }

    &+.errmsg{
        margin-top: 0.8em;
    }
}

/*申込内容 ----------*/
.app_details_wrap {
    [class^="app_"] {
        margin-right: 0.5em;
        font-weight: 700;
    }
    .app_details {
        display: block;
        font-size: var(--font-l);
    }
}

.input_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    & > li {
        & > label {
            white-space: wrap;
        }
    }
}
.input_list + .input_list {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px dotted var(--gray);
}
.input_list + .input_list.bd_none {
    border-top: none;
    padding-top: 0;
}

.thankyou_ti {
    text-align: center;
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: 0.8em;
    margin-top: clamp(16px, 32vw/13.66, 32px);
}
.receipt_number {
    border: 1px solid var(--gray);
    display: flex;
    place-content: center;
    gap: 10px;
    inline-size: min(100%, 560px);
    margin-inline: auto;
    white-space: nowrap;
    padding-block: 0.75em;
    -webkit-margin-after: 1.5em;
    margin-block-end: 1.5em;
}
.receipt_number dt {
    font-size: 1.5em;
}
.receipt_number dt::after {
    content: "：";
    -webkit-margin-start: 10px;
    margin-inline-start: 10px;
}
.receipt_number dd {
    font-size: 1.5em;
}

/*=======================================
step
=======================================*/
.step_img {
    margin-bottom: 24px;
    list-style: none;
    display: flex;
    gap: 14px;
    width: min(100%, 560px);
    counter-reset: number 0;
    & > li {
        position: relative;
        flex: 1;
        background: var(--light-gray);
        color: var(--gray);
        justify-content: center;
        align-items: center;
        display: flex;
        gap: 0.5em;
        height: 2.4em;

        &:not(:last-child)::after {
            content: "";
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0.8em 0 0.8em 14px;
            border-color: transparent transparent transparent var(--light-gray);
            position: absolute;
            inset: 50% -10px auto auto;
            transform: translateY(-50%);
        }

        &.active {
            background: var(--subcolor);
            color: var(--light-tx-color);
            &:not(:last-child)::after {
                border-color: transparent transparent transparent var(--subcolor);
            }
        }
    }
}

/*=======================================
目のパスワード　  */
#fieldPassword {
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    border-radius: var(--form-radius);
    padding: 0;
    margin-top: var(--form-spacer);
    margin-bottom: var(--form-spacer);
    width: 100%;
    position: relative;
}
#fieldPassword #buttonEye {
    font-size: 1.2em;
    position: absolute;
    inset: 50% var(--form-inline) auto auto;
    transform: translateY(-50%);
    cursor: pointer;
}
#fieldPassword #textPassword {
    width: 100%;
    border: none;
    background: transparent;
    padding: var(--form-block) 2em var(--form-block) var(--form-inline);
    margin: 0;
}
#fieldPassword:has(> input[type="password"]:focus) {
    border: 1px solid var(--focus-color);
}

/*=======================================
ファイルアップロード　*/
.fileUp {
    :is(input[type="file"]) {
        display: none;
    }
    :is(i){
        font-weight: normal;
    }
}

#ua_change label.fileUp_btn {
    display: flex;
    justify-content: center;
    gap: 8px;
    border: none;
    line-height: 1;
    border-radius: var(--btn-radius);
    padding: 16px 1em;
    cursor: pointer;
    transition: 0.2s;
    font-size: var(--font-l);
    font-weight: 700;
    color: var(--light-tx-color);
    background-color: var(--maincolor);
    min-width: 240px;
    width: 100%;
    &:hover {
        opacity: 0.8;
    }
    & + .file_p {
        padding-top: 0.2em;
    }
    @media (width >=576px) {
        width: max-content;
    }


}
/*02 -----------*/
label.fileUp_btn_mult {
    :is(input[type="file"]) {
        display: none;
    }
    display: flex;
    justify-content: center;
    width: max-content;
    gap: 8px;
    border: none;
    line-height: 1;
    border-radius: var(--btn-radius);
    padding: 16px 1em;
    cursor: pointer;
    min-width: 240px;
    transition: 0.2s;
    font-size: var(--font-l);
    font-weight: 700;
    color: #fff;
    background-color: var(--maincolor);
    min-width: 240px;
    width: 100%;
    @media (width >=576px) {
        width: max-content;
    }
}
label.fileUp_btn_mult i {
    font-weight: normal;
}
label.fileUp_btn_mult:hover {
    opacity: 0.8;
}

label + .file_mult_p {
    padding-top: 0.2em;
}

/*
/*select ------*/
.select_box {
    position: relative;
    width: max-content;
    border: 1px solid var(--form-border);
    background: var(--form-bg-grade);
    margin-top: var(--form-spacer);
    margin-bottom: var(--form-spacer);
    border-radius: var(--form-radius);
    &::before {
        font-family: remixicon !important;
        font-style: normal;
        content: "\ea4e";
        pointer-events: none;
        display: block;
        position: absolute;
        inset: 50% 0.4em auto auto;
        transform: translateY(-50%);
        color: var(--gray);
    }
    :is(select) {
        padding-block: var(--form-block);
        padding-inline: var(--form-inline) 2em;
        margin-top: 0;
        margin-bottom: 0;
    }

    /*100% --------*/
    &.w100 {
        width: 100%;
        :is(select) {
            width: 100%;
        }
    }
}
