.y_ani {
    opacity: 0;
}

.page_top .title {
    font-size: var(--ft36);
    color: var(--ft-main);
}

.inquiry_sec {
    margin-top: 100px;
    margin-bottom: var(--sec-gap);
}
.inquiry_sec .sec_content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px 100px;
}
.inquiry_sec form {
    order: -1;
}


/* -- info -- */
.inquiry_col.y_ani {
    --delay: 0.2;
}
.flow {
    margin-bottom: 40px;
}
.flow_head {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    position: relative;
}
.flow_head::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
}
.flow_head h3 {
    font-size: var(--ft20);
    color: var(--ft-main);
    font-weight: var(--bold);
}
.flow_body {
    display: flex;
    flex-direction: column;
}
.flow_body li {
    display: flex;
    gap: 20px;
    padding-bottom: 40px;
    position: relative;
    --size: 34px;
}
.flow_body li:not(:last-child)::after {
    content: '';
    display: block;
    z-index: -1;
    width: 2px;
    top: var(--size);
    bottom: 0;
    border-left: 1px dashed var(--gray-300);
    position: absolute;
    left: calc(var(--size) / 2);
}

.flow_body li:last-child {
    padding-bottom: 0;
}
.flow_body .num {    
    width: var(--size);
    height: var(--size);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: var(--ft14);
    line-height: 1;
}
.flow_body .label {
    font-size: var(--ft16);
    color: var(--primary);
    font-weight: var(--bold);
    margin-bottom: 8px;
}
.flow_body .desc {
    font-size: var(--ft14);
    color: var(--gray-500);
    font-family: var(--sans);
}
.notice_head h3 {
    font-size: var(--ft16);
    color: var(--primary);
    font-weight: var(--bold);
}
.notice_head {
    margin-bottom: 8px;
}
.notice li {
    font-size: var(--ft14);
    color: var(--gray-500);
    font-family: var(--sans);
}

/* -- form -- */
.form_box {
    margin-bottom: 40px;
}
.form_box > label {
    font-size: var(--ft16);
    color: var(--ft-main);
    margin-bottom: 8px;
    font-weight: var(--bold);
    display: inline-block;
}
.form_box > label span {
    color: var(--accent);
}
.input_box .count {
    position: absolute;
    bottom: 24px;
    right: 24px;
    color: var(--ft-light);
    font-size: var(--ft14);
}
.input_box * {
    font-family: var(--sans);
}
textarea {
    resize: none;
}

/* radio */
.radio_group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 16px;
}
.radio_box label {
    font-size: clamp(15px, var(--ft16), 16);
    flex: 1 0 0;
    font-weight: var(--medium);
    height: 100%;
    color: var(--ft-sub);
    font-weight: var(--medium);
    text-align: center;
    border: 1px solid var(--line);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
}
.radio_group input:checked + label {
    background: var(--primary);
    color: var(--white); 
}
.file_input {
    display: none;
}

.file_label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    height: 80px;
    padding: 0 24px;

    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color .3s;
}

.file_label:hover {
    border-color: var(--primary);
}

.file_name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-family: var(--sans);
    font-size: var(--ft16);
    color: var(--gray-400);
}

.file_icon {
    --size: 44px;

    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: var(--ft-main);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.file_icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}



/* agree */
.form_agree {
    margin-top: 60px;
    margin-bottom: 60px;
}
.form_agree > label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.form_agree a {
    width: fit-content;
    margin-left: 10px;
    font-size: var(--ft14);
    text-decoration: underline;
    color: var(--gray-400);
}

.submit_btn {
    width: 100%;
    height: 90px;
    background: var(--primary);
    color: white;
    text-align: center;
    font-size: var(--ft20);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.submit_btn .btn_text {
    transform: translateX(20px);
    transition: transform .4s ease;
}
.submit_btn .btn_icon {
    --size: 28px;
    width: var(--size);
    height: var(--size);
    opacity: 0;
    transform: translateX(20px);
    transition: transform .4s ease, opacity .4s ease;
}
.submit_btn:hover .btn_text,
.submit_btn:hover .btn_icon {
    transform: translateX(0);
}
.submit_btn:hover .btn_icon {
    opacity: 1;
    transition-delay: .2s, .2s;
}

@media screen and (max-width: 1440px) {
    .radio_group {
        gap: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .inquiry_sec .sec_content {
        gap: 60px;
        grid-template-columns: 1fr 260px;
    }
    .radio_group {
        grid-template-columns: repeat(3, 1fr);
    }
    .submit_btn {
        height: 80px;
    }
}
@media screen and (max-width: 768px) {
    .inquiry_sec {
        margin-top: 60px;
    }
    .inquiry_sec .sec_content {
        grid-template-columns: 1fr;
    }
    .inquiry_col.y_ani {
        --delay: 0;
    }
    .info_box {
        padding: 20px;
        background: var(--white);
    }
    .flow_body li:not(:last-child)::after {
        z-index: 0;
    }
    .form_agree {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .file_label {
        height: 60px;
    }
    .submit_btn {
        height: 60px;
    }

}