/* sub06 메인 */
body:has(.sub06.main) .btn.gnb {
    border-color: var(--white);
}
.sub06.main {
    background-image: url('../img/sub06/sub06_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.sub06.main .sub_sec2 {
    padding: 10.42vw 0 6.61vw;
}
.sub06.main .inquiry_wrap {
    width: 49.68vw;
    margin: auto;
    padding: 51px 102px 54px 102px;
    background-color: var(--white);
    border-radius: 10px;
}
.sub06.main .inquiry_wrap .title {
    display: block;
    font-size: 4rem;
    font-weight: var(--bold);
    text-align: center;
}
.sub06.main .inquiry_wrap .desc {
    display: block;
    margin-top: 10px;
    font-size: 2rem;
    text-align: center;
    word-break: keep-all;
}
.sub06.main .form_area {
    margin: 50px auto 70px;
}
.sub06.main .form_area .form_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px 0;
}
.sub06.main .form_area .input_box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.sub06.main .sub_sec2 .form_area input {
    width: calc(100% - 120px);
    height: 45px;
    font-size: 1.8rem;
}
.sub06.main .form_area .input_box:has(label[for="EMAIL_CHK"]) {
    padding-left: 120px;
}
.sub06.main .sub_sec2 .form_area label {
    width: 120px;
    font-size: 2rem;
    font-weight: var(--bold);
}
.sub06.main .sub_sec2 .form_area .input_box:has(button) input {
    width: calc(100% - 120px - 102px);
}
.sub06.main .sub_sec2 .form_area input + button {
    min-width: 102px;
    font-size: 1.6rem;
    font-weight: var(--medi);
    color: var(--white);
    background-color: #999;
    padding: 13px 23px;
}

/* sub06 서브 공통 */
.sub06.sub .sub_sec2 {
    margin: 3.39vw auto 7.81vw;
    
}
.sub06.sub .inner_wrap:not(:last-of-type) {
    margin: 50px auto 60px;
}
.sub06.sub .inner_wrap:last-of-type {
    padding-bottom: 50px;
}
.sub06.sub .title_wrap {
    display: flex;
    justify-content: space-between;
}
.sub06.sub .cancel {
    display: none;
    align-items: center;
    font-size: 2rem;
    font-weight: var(--medi);
    color: #666;
}
.sub06.sub .cancel.on {
    display: flex;
}
.sub06.sub .cancel.off {
    display: none;
}
.sub06.sub .cancel .arrow.right {
    background-image: url(../img/arrow_right_dark.png);
}
.sub06.sub .table_area {
    display: flex;
    gap: 0 30px;
    flex-wrap: wrap;
    padding: 30px;
    margin-top: 10px;
    background-color: var(--gray);
    border-top: 2px solid var(--black);
}
.sub06.sub .table_area .inner_table_wrap {
    flex: 1;
}
.sub06.sub .table_area .inner_table_wrap .title {
    font-size: 2rem;
    font-weight: var(--bold);
}
.sub06.sub .table_area .inner_table_wrap table {
    margin-top: 10px;
    background-color: var(--white);
    border-left-style: hidden;
    border-right-style: hidden;
}
.sub06.sub .table_area table th {
    font-weight: var(--bold);
    border-color: var(--gray_border);
}
.table_area table,
.sub06.sub .table_area table tr {
    border-color: var(--gray_border);
}
.sub06.sub .table_area table tr.reason {
    background-color: #999;
}
.sub06.sub .table_area table .status {
    color: var(--white);
}
.sub06.sub .table_area table td {
    padding-left: 20px;
    text-align: left;
    word-break: break-word;
}
.sub06.sub .table_area table td .status,
.sub06.sub .table_area table tr.reason {
    display: none;
}
.sub06.sub .table_area table tr:has(th.await) {
    background-color: var(--blue);
}
.sub06.sub .table_area table tr:has(th.cfm) {
    background-color: var(--yellow);
}
.sub06.sub .table_area table tr:has(th.rej) {
    background-color: #666;
}
.sub06.sub .table_area table tr:has(th.cancellation) {
    background-color: var(--dark_gray);
}
.sub06.sub .table_area table th.await + td .status.await,
.sub06.sub .table_area table th.rej + td .status.rej,
.sub06.sub .table_area table th.cfm + td .status.cfm,
.sub06.sub .table_area table tr:has(th.rej) + tr.reason td .status,
.sub06.sub .table_area table th.cancellation + td .status.cancellation {
    display: block;
}
.sub06.sub .table_area table tr:first-child:has(th.rej) + tr.reason {
    display: table-row;
}
.sub06.sub .cancel_txt {
    display: none;
    width: 100%;    
    margin: 50px auto 20px;
    font-size: 2.8rem;
    font-weight: var(--bold);
    text-align: center;
}
.sub06.sub .inner_wrap:has(th.cancellation) .cancel_txt {
    display: block;
}
.sub06.sub .inner_wrap:has(th.cancellation) button.inqCancel,
.sub06.sub .inner_wrap:has(.no_record.on) button.inqCancel,
.sub06.sub .table_area:has(.no_record.on) .inner_table_wrap {
    display: none;
}

@media screen and (max-width: 1240px) {
    .sub06.main .inquiry_wrap {
        width: 75vw;
        padding: 30px;
    }
    .sub06.main .sub_sec2 .form_area label {
        width: 100px;
    }
    .sub06.main .sub_sec2 .form_area input,
    .sub06.main .sub_sec2 .form_area .input_box:has(button) input {
        width: calc(100% - 100px);
    }
    .sub06.main .form_area .input_box:has(label[for="EMAIL_CHK"]) {
        padding-left: 100px;
    }
    .sub06.main .sub_sec2 .form_area input + button {
        position: absolute;
        bottom: 0;
        right: 0;
        min-width: 100px;
    }
}

@media screen and (max-width: 768px) {
    /* Font-size 모음 */
    .sub06.main .inquiry_wrap .title {
        font-size: 40px;
    }
    .sub06.main .sub_sec2 .form_area input,
    .sub06.main .sub_sec2 .form_area input + button,
    .sub06.main .sub_sec2 .form_area label {
        font-size: 17px;
    }
    .sub06.sub .cancel  {
        font-size: 14px;
    }
    /* sub06 메인 */
    .sub06.main .sub_sec2 {
        padding: 200px 0 150px;
    }
    .sub06.main .inquiry_wrap {
        width: calc(100% - 40px);
        padding: 40px 20px;
    }
    .sub06.main .sub_sec2 .form_area input {
        width: 100%;
        height: 50px;
    }
    .sub06.main .sub_sec2 .form_area .input_box {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    .sub06.main .sub_sec2 .form_area .input_box:has(label[for="EMAIL_CHK"]) {
        padding-left: 0;
    }
    .sub06.main .sub_sec2 .form_area .input_box:has(input[type="checkbox"]) {
        margin-top: -40px;
        flex-direction: row;
        align-items: center;
    }
    .sub06.main .sub_sec2 .form_area label {
        gap: 0 20px;
        margin-bottom: 15px;
    }
    .sub06.main .sub_sec2 .form_area .input_box:has(button) input {
        position: relative;
        width: calc(100% - 120px);
    }
    .sub06.main .sub_sec2 .form_area input + button {
        min-width: 170px;
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 14px 43px;
    }
    /* sub06 서브 */
    .sub06.sub .table_area {
        padding: 20px;
    }
    .sub06.sub .table_area .inner_table_wrap {
        margin-bottom: 20px;
    }
    .sub06.sub .cancel .arrow.right {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 540px) {
    .sub06.main .form_area,
    .sub06.main .sub_sec2 .form_area .input_box {
        margin-bottom: 0;
    }
    .sub06.main .sub_sec2 {
        padding: 100px 0;
    }
    .sub06 .sub_sec2 .form_area .input_box {
        margin-bottom: 30px;
    }
    .sub06.main .sub_sec2 .form_area .input_box:has(button) input {   
        width: calc(100% - 110px);
    }
    .sub06.main .sub_sec2 .form_area input + button {
        min-width: 110px;
        padding: 14px 20px;
    }
    .sub06.sub .inner_wrap:last-of-type {
        padding-bottom: 0;
    }
    .sub06.sub .title_wrap {
        flex-wrap: wrap;
    }
    .sub06.sub .table_area {
        padding: 10px;
    }
    .sub06.sub .cancel_txt {
        margin: 30px auto;
    }
    .sub06.sub .red_cap {
        font-size: 24px;
    }
}