.popup-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.popup {
    position: fixed;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    height: auto;
    background: #fff;
    z-index: 9999;
    box-shadow: 0px 3px 14px rgba(74, 58, 255, 0.03), 0px -2px 4px rgba(20, 20, 43, 0.12), 0px 12px 44px rgba(20, 20, 43, 0.34);
    border-radius: 32px;
    display: none;
}

.popup .popup-content {
    padding: 0 15px 40px;
}

.popup .popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #171F48;
    color: #fff;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.popup .form .header {
    text-align: center;
    width: 150px;
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
    background: url(./img/illus.png) no-repeat center 0 / contain;
}
.popup .header:before {
    content: "";
    height: 150px;
    width: 100%;
    background: #fff;
    border-radius: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -75px;
    z-index: -1;
}

.header .header-icon {
    display: block;
    width: 87px;
    position: relative;
    z-index: 1;
    margin: -70px auto 0;
}

.form-title .message {
    margin-bottom: 10px;
    margin-top: 20px;
}

.popup .form .form-input {
    display: flex;
    background: #fff;
    border: 1px solid #EFF0F7;
    border-radius: 30px;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.popup .form .element {
    margin-bottom: 10px;
}

.element .icon {
    display: block;
    width: 20px;
    line-height: 1;
}

.popup .form .element input {
    font-size: 18px;
    width: calc(100% - 20px);
    padding: 4px 10px;
    height: 50px;
    outline: none;
    border: 0;
    background: transparent;
    border-radius: 5px;
}

.popup .form-submit {
    margin-top: 20px;
}

.form-submit button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 264px;
    max-width: 100%;
    border: 0;
    background: linear-gradient(180deg, #29F4FF -46.11%, #5257FF 151.97%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    margin: 0 auto;
}

.form-submit button:disabled {
    background: rgba(0, 0, 0, 0.2);
    cursor: default;
}

.input-row {
    margin-left: 20px;
    padding-top: 15px;
}

.input-row .input-item {
    margin-top: 1px;
}

input[type=checkbox],
input[type=radio] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

input[type=checkbox],
input[type=radio] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

input[type="radio"]+label {
    padding-left: 52px;
    line-height: 45px;
    font-size: 15px;
}

input[type="radio"]+label:before {
    width: 36px;
    height: 36px;
    border-width: 2px;
    border-radius: 4px;
}

input[type="radio"]:checked+label:after {
    width: 12px;
    height: 12px;
    top: 8px;
    left: 12px;
}

input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1px;
    height: 1px;
    border: 0;
}

input[type="radio"]+label {
    position: relative;
    padding-left: 42px;
    line-height: 26px;
    cursor: pointer;
    display: block;
}

input[type="radio"]+label:before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    border: #a6a7aa solid 1px;
    border-radius: 2px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

input[type="radio"]:checked+label:after {
    content: "";
    position: absolute;
    width: 18px;
    height: 16px;
    border-radius: 0;
    top: 0px;
    left: 3px;
    background: #2aac6e;
}

@media (max-width:600px) {
    .popup {
        width: 85%;
    }
    .popup .form .element {
    	padding: 0px;
	}
    .popup .form .element label span {
    	font-size: 15px;
	}
    input[type="radio"]+label {
    	line-height: 20px;
	}
    .popup .form .element button {
    	margin-top: 1px;
    }
}