.article7 {
    padding-top: 150px;
}

.form-wrapper {
	margin: 0 auto;
    width: 910px;
    z-index: 2;
}

.gform {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.gform .input-wrapper {
    width: 100%;
    /*display: flex;
    flex-direction: column;
    gap: 10px;*/
}

.gform .input-wrapper .input-title h1 {
    color: #000;
    font-size: 18px;
    font-weight: 500;
	letter-spacing: -1px;
}

.gform .input-wrapper .input-title h1 span {
    color: red;
}

.gform .inputbox {
	width: 100%;
    color: #222;
    height: 60px;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
    border: none;
    outline: none;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #dedede;
}

.gform textarea {
    color: #222;
    width: 100%;
    height: 155px;
    padding: 15px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Pretendard';
    -webkit-border-radius: 0;
    border-radius: 0;
    border: none;
    outline: none;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #dedede;
}

.gform .inputbox::placeholder {
    color: #aaa;
}

.gform textarea::placeholder {
    color: #aaa;
}

.gform .inputbox:focus,
.gform textarea:focus {
    border: 1px solid var(--main-color);
}

.radio-wrapper {
    width: 100%;
    display: flex;
    gap: 5px;
}

.radio-wrapper.radio-wrapper2 {
	width: 100%;
    display: flow-root !important;
    gap: 5px;
}

.radio-wrapper input[type="radio"] {
    display: none;
}

.radio-wrapper label {
    flex: 1;
    color: #333;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 400;
    border-radius: 7px;
    border: 1px solid #ddd;
    background-color: #fff;
    text-align: center;
    user-select: none;
    cursor: pointer;
}

.radio-wrapper2 label {
    width: 98%;
	margin: 0 1% 10px 1%;
}

.radio-wrapper label:hover {
    background-color: #f8f8f8;
}

.radio-wrapper input[type="radio"]:checked+label {
    color: #fff;
    font-weight: 500;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
}

.radio-wrapper div {width: 33.33%; float: left;}

.f-submit {
    color: #fff;
    width: 100%;
    height: 60px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    padding: 0 19px;
    border: none;
    outline: none;
    border-radius: 7px;
    background-color: var(--main-color);
    cursor: pointer;
}

.f-submit:disabled {
    color: #ccc;
    font-weight: 300;
    cursor: not-allowed;
    background-color: #f2f2f2;
}

.f-personal {
    width: 100%;
    padding: 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #ddd;
	margin-bottom: 20px;
}

.f-personal-no {
    background-color: #fff7f7;
    border: 1px solid #e82424;
}

.f-personal-text input {
    display: none;
}

.f-personal-text label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.f-personal-text label em {
    position: relative;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
}

.f-personal-text label em::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--main-color);
    display: none;
}

.f-personal-text label p {
    color: #444;
    font-size: 15px;
	margin: 0;
    user-select: none;
    cursor: pointer;
}

#cb:checked ~ label em::after {
    display: block;
}

.f-personalBtn {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #bbb;
    cursor: pointer;
}

.f-personalBtn p {
	font-size: 14px;
	margin: 0;
}	

.f-popup-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .5);
    z-index: 99;
    display: none;
}

.f-popup {
    position: relative;
    width: 550px;
    padding: 30px;
    border-radius: 7px;
    background-color: #fff;
}

.f-popup p {
    color: #222;
    font-size: 15px;
    line-height: 1.4;
}

.f-popup p b {
    line-height: 2;
}

.f-popup-closeBtn {
    position: absolute;
    top: 18px; right: 18px;
    width: 15px;
    cursor: pointer;
}



/*==================================================*/
@media (max-width: 850px) {
	.radio-wrapper div {width: 50%;}
}

@media (max-width: 850px) {
    .article7 {
        padding-top: 100px;
    }
}



@media (max-width: 650px) {
    .form-wrapper {
        width: 100%;
    }
    
    .f-personal {
        padding: 15px;
    }
    
    .f-personal-text label p {
        font-size: 12px;
        letter-spacing: -0.02em;
    }

    .f-personalBtn {
        font-size: 10px;
    }

    .gform .input-wrapper .input-title h1 {
        font-size: 13px;
    }

    .f-popup{
        width: 80%;
        padding: 25px;
    }

    .f-popup p {
        font-size: 12px;
        line-height: 1.3;
    }

    .f-popup-closeBtn {
        top: 13px; right: 13px;
    }
}


@media (max-width: 450px) {
    .form-wrapper {
        padding: 0 10px;
    }
    
    .gform .input-group {
        padding: 10px 0;
        gap: 10px;
    }
    
    .gform .inputbox {
        height: 43px;
        font-size: 13px;
    }

    .gform textarea {
        font-size: 13px;
    }

    .radio-wrapper label {
        padding: 11px 0;
        font-size: 13px;
    }

    .f-submit {
        height: 45px;
        font-size: 14px;
    }
}