
#inquiry{
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}
#inquiry > .bg{
    display: none;
}
#inquiry h3{
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
    color: #000;
    letter-spacing: -0.03em;
}
#inquiry .noti{
    display: block;
    text-align: right;
    font-size: 13px;
    color: #333;
    margin-bottom: 30px;
}

#inquiry > caption b{
    color: #e85a2c;
    font-weight: 700;
}
#inquiry .read_more{
    position: relative;
    display: block;
    width: 100px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}
#inquiry form{
    width: 100%;
    margin: 0 auto;
    background: #fff;
}
#inquiry form .write{
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
#inquiry form .write .top{
    margin-bottom: 0;
}
#inquiry form .write .top > div{
    display: block;
    border-bottom: none;
    padding: 0;
    margin-bottom: 24px;
}
#inquiry form .write .top .first{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 0;
}
#inquiry form .write .top .first > div{
    margin-bottom: 24px;
}
#inquiry form .write label{
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}
/* 필수 항목 빨간 별표 */
#inquiry form .write label[for="name"]::after,
#inquiry form .write label[for="company"]::after,
#inquiry form .write label[for="area"]::after,
#inquiry form .write label[for="phone"]::after,
#inquiry form .write label[for="content"]::after{
    content: '*';
    color: #e85a2c;
    margin-left: 1px;
    font-weight: 700;
}
#inquiry form .write input:not([type="checkbox"]){
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #f2f2f2;
    padding: 16px 18px;
    font-size: 15px;
    color: #333;
    box-sizing: border-box;
    outline: none;
}
#inquiry form .write input:not([type="checkbox"])::placeholder{
    color: #aaa;
    font-size: 14px;
}
#inquiry form .write select{
    width: 100%;
    border: none;
    border-radius: 8px;
    background: #f2f2f2;
    padding: 16px 18px;
    font-size: 15px;
    color: #999;
    box-sizing: border-box;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
}
#inquiry form .write select option:not(:first-child){
    color: #333;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus,
select:focus{
    box-shadow: none !important;
    border: none !important;
    outline: none;
}
#inquiry form .write .bottom{
    margin: 0;
}
#inquiry form .write .bottom > div:first-child{
    margin-bottom: 24px;
}
#inquiry form .write .bottom textarea{
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 8px;
    background: #f2f2f2;
    resize: none;
    padding: 16px 18px;
    font-size: 15px;
    color: #333;
    margin: 0;
    box-sizing: border-box;
    outline: none;
}
#inquiry form .write .bottom textarea::placeholder{
    color: #aaa;
    font-size: 14px;
}
#inquiry form .write .bottom .privacy{
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 24px;
}
#inquiry form .write .bottom .privacy .pri_form{
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}
#inquiry form .write .bottom .privacy .pri_form label{
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    order: 1;
}
#inquiry form .write .bottom .privacy .pri_form label::after{
    content: '*';
    color: #e85a2c;
    margin-left: 1px;
    font-weight: 700;
}
#inquiry form .write .bottom .privacy .pri_form input[type="checkbox"]{
    order: 2;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
#inquiry form .write .bottom .privacy > span{
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #323232;
    cursor: pointer;
    order: 3;
}
#inquiry form .write button{
    display: block;
    width: 240px;
    margin: 40px auto 0;
    padding: 20px 0;
    text-align: center;
    background: #f26a21;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}
#inquiry form .write button:hover{
    background: #e05a15;
}

/* 개인정보 팝업 */
#inquiry article{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    border: 1px solid #E9E9E9;
    background-color: #ffffff;
    padding: 50px 40px;
    display: none;
    z-index: 111111;
}
#qna{
    position: relative;
}
#qna .bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 111;
    display: none;
}
#inquiry article textarea{
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    resize: none;
}
#inquiry article .close{
    font-size: 26px;
    color: #141414;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* dim 배경 */
.dim{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 111110;
}

/* 반응형 */
@media screen and (max-width: 768px){
    #inquiry{
        padding: 40px 16px 60px;
    }
    #inquiry h3{
        font-size: 28px;
    }
    #inquiry form .write .top .first{
        grid-template-columns: 1fr;
        gap: 0;
    }
    #inquiry form .write button{
        width: 100%;
        max-width: 240px;
    }
    #inquiry article{
        width: 90%;
        height: 60%;
        padding: 30px 20px;
    }
}
