body {
    background: white;
    overflow-y: scroll;
}

.main-register-container {
    display: flex;
    justify-content: center;
    margin: 90px 0 150px;
}

.register-container {
    width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.heading-text {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 30px;
    font-weight: 600;
    line-height: 45px;
    letter-spacing: 0em;
    text-align: center;
}

.form-register-container hr {
    color: #d9e2e9;
}

.required-tag {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 12px;
    font-weight: 300;
    line-height: 12px;
    letter-spacing: 0em;
    text-align: center;
    color: white;
    background: #ec8071;
    padding: 3px 4px;
    border-radius: 1px;
    width: 32px;
    height: 18px;
}

.not-required-tag {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 12px;
    font-weight: 300;
    line-height: 12px;
    letter-spacing: 0em;
    text-align: center;
    color: #ffffff;
    background: #7f909d;
    padding: 3px 4px;
    border-radius: 1px;
    width: 32px;
    height: 18px;
}

.flex-block-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.address-find-block {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    margin-top: 36px;
    display: flex;
    align-items: center;
}

.address-find-block input {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0em;
}

.form-register-container .register-input.input-address-block {
    margin-top: 12px;
}

.form-register-container {
    display: flex;
    flex-direction: column;
    width: 1000px;
    min-height: 350px;
    /* padding: 60px 0; */
}

.zip {
    border: 1px solid #bcc7d0;
    width: 96px;
    height: 32px;
    border-radius: 2px;
}

.postal-code-btn {
    width: 80px;
    height: 38px;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: center;
    color: #ffffff;
    background: #7f909d;
    margin-left: 12px;
}

.personal-info-block {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: center;
    padding-bottom: 24px;
}

.personal-info-block a {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: center;
    text-decoration: underline;
}

.form-register-container p {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: center;
}

.form-register-container label {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    display: flex;
    gap: 5px;
    align-items: center;
}

.form-register-container .register-input.register-input-child {
    margin-top: 0;
}

.form-register-container .register-input {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 12px;
    font-weight: 300;
    line-height: 18px;
    letter-spacing: 0em;
    text-align: left;
    border: 1px solid #bcc7d0;
    width: 100%;
    border-radius: 2px;
    height: 42px;
    margin: 36px 0;
    padding: 10 12px;
}

.form-register-container .input-block:has(.error) .register-input {
    margin-bottom: 0;
}

.form-register-container .input-block:has(.error) .text-input-confirm {
    margin-bottom: 0;
}

.form-input-container {
    width: 684px;
    margin: 0 auto;
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-block {
    width: 684px;
    position: relative;
}

.error {
    color: rgb(233, 89, 89);
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
    width: 100%;
    display: inline-block;
    margin-bottom: 36px;
}

.label-block {
    margin-left: 5px;
}

.register-submit-button {
    background: #726769;
    padding: 12px 28px;
    border-radius: 6px;
}

.text-input-confirm {
    display: inline-block;
    margin: 36px 0;
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    letter-spacing: 0em;
    text-align: left;
}

.button-submit-block,
.button-block {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.button-submit-block {
    margin-top: 50px;
}

.register-submit-button img {
    width: 24px;
}

.register-submit-button span {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    color: white;
    padding-left: 15px;
}

.submit-form-confirm {
    background: #b90d0d !important;
}
.register-btn-block {
    background: #726769;
    border-radius: 6px;
    padding: 12px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.register-btn-block span {
    font-family: Hiragino Kaku Gothic ProN;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    color: #ffffff;
}

@media print, screen and (max-width: 1023px) {
    .main-register-container {
        margin: 45px 0 50px;
    }

    .register-container {
        gap: 0px;
    }

    .heading-text {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: center;
    }

    .form-register-container {
        width: calc(100% - 40px);
        min-height: 350px;
        padding: 0px 0 24px;
    }

    .form-input-container {
        width: calc(100% - 40px);
        padding: 0px 0;
        margin: 0 auto;
    }

    .form-register-container label {
        margin-top: 0px;
        font-size: 14px;
        font-weight: 600;
        line-height: 21px;
        display: flex;
        gap: 5px;
        align-items: center;
    }
    .form-register-container .register-input {
        margin: 4px 0;
    }

    .confirm-regist-form .error {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .register-submit-button span {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        color: white;
        padding-left: 15px;
    }

    .button-submit-block {
        margin-top: 40px;
    }

    .register-btn-block span {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        color: #ffffff;
    }
    .input-container {
        display: flex;
        align-items: unset;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 32px;
    }

    .input-container.input-child {
        margin-top: 0px;
    }
    .input-block {
        width: 100%;
    }

    .only-pc {
        display: none;
    }

    .flex-block-input {
        flex-direction: column;
        align-items: unset;
        margin-top: 36px;
    }

    .form-register-container .register-input.register-input-child {
        margin-top: 4px;
    }

    .address-find-block {
        margin-top: 12px;
    }
    .address-find-block input {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 12px;
        font-weight: 300;
        line-height: 18px;
        letter-spacing: 0em;
    }

    .postal-code-btn {
        width: 80px;
        height: 32px;
        padding: 6px 12px;
        border-radius: 6px;
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 600;
        line-height: 21px;
        letter-spacing: 0em;
        text-align: center;

        color: #ffffff;
        background: #978c8e;
        margin-left: 12px;
    }
    .personal-info-block {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 300;
        line-height: 21px;
        letter-spacing: 0em;
        text-align: center;
        width: 252px;
    }

    .personal-info-block a {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 14px;
        font-weight: 600;
        line-height: 21px;
        letter-spacing: 0em;
        text-align: center;
        text-decoration: underline;
    }

    .required-tag {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 8px;
        font-weight: 300;
        line-height: 12px;
        letter-spacing: 0em;
        text-align: center;
        color: white;
        background: #ec8071;
        padding: 1px 4px;
        width: 24px;
        border-radius: 1px;
        height: 14px;
    }

    .not-required-tag {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 8px;
        font-weight: 300;
        line-height: 12px;
        letter-spacing: 0em;
        text-align: center;
        color: white;
        background: #ec8071;
        padding: 3px 4px;
        border-radius: 1px;
        background: #7f909d;
        border-radius: 1px;
        padding: 1px 4px;
        width: 24px;
        border-radius: 1px;
        height: 14px;
    }

    .text-input-confirm {
        margin: 0 0 0 5px;
    }
    .register-btn-block {
        border-radius: 6px;
        padding: 12px 20px;
        display: flex;
        gap: 4px;
        align-items: center;
    }

    .error {
        color: rgb(233, 89, 89);
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 11px;
        text-align: left;
        width: 100%;
    }

    .register-btn-block span {
        font-family: Hiragino Kaku Gothic ProN;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: center;
        color: #ffffff;
    }
}
