@charset "UTF-8";
.form {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    legend {
        font-size: inherit;
    }
    label {
        display: block;
    }
    input[type="checkbox"] ,input[type="radio"] {
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        margin: 0;
        display: none;
        // &:checked + label {
        //     background: $c-blue-active;
        //     border: 1px solid $c-blue;
        // }
    }
    &__changepic {
        position: absolute;
        width: 10em;
        img {
            width: 100%;
            height: 100%;
        }
    }
    &__item {
        padding: 0;
        width: 100%;
        border: none;
        margin-bottom: 1em;
        &-photo {
            margin-bottom: 3em;
        }
        &-agree {
            background: none;
            margin-bottom: 1em;
            &::before {
                display: none;
            }
            &::after {
                display: none;
            }
            .label {
                flex: 0 0 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                p {
                    display: inline-block;
                    font-size: 1.5em;
                    margin-bottom: 0;
                }
                &__checkbox {
                    display: inline-block;
                    width: 1.5em;
                    height: 1.5em;
                    border: 1px solid $c-black;
                    margin-right: 0.5em;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    &::before {
                        content: "";
                        width: 80%;
                        height: 80%;
                        display: none;
                        background: url(../images/form-tick.png) no-repeat center center/contain;
                    }
                }
            }
            input {
                display: none;
                flex: 0 0 auto;
                &:checked + .label__checkbox {
                    background-color: $c-white;
                    &::before {
                        display: block;
                    }
                }
            }
        }
        .goToActivity {
            color: $c-blue-bright;
            text-decoration: underline;
        }
    }
    &__ques {
        margin-bottom: 1em;
        p {
            font-size: 2em;
            font-weight: 400;
            white-space: nowrap;
            margin: 0;
            color: $c-black;
        }
    }
    &__options {
        &__item {
            margin-bottom: 1.8em;
            -ms-touch-action: none; /* IE10 */
            touch-action: none;     /* IE11 */
        }
    }
    &__input {
        width: 100%;
        border: 0.1em solid $c-gray-lighten;
        border-radius: 1em;
        padding: 1em 1.5em;
        margin-bottom: 1.8em;
        background-color: $c-white;
        input, select {
            width: 100%;
            border: none;
            background-color: transparent;
            font-size: 1.4em;
            color: #747474;
            &:focus, &:focus-visible, &:hover {
                outline: none;
            }
        }
        select {
            background: url(../images/select-arrow.png) no-repeat center right/0.7em auto;
        }
        ::placeholder {
            color: $c-gray-lighten;
            opacity: 1; /* Firefox */
        }
        
        ::-ms-input-placeholder { /* Edge 12 -18 */
            color: $c-gray-lighten;
        }
    }
    .button {
        p {
            white-space: nowrap;
        }
    }
}