@charset "utf-8";

.inquiry_page .title_wrap { text-align: center; margin-bottom: 70px; }
.inquiry_page .title_wrap h3 {
    font-family: 'NanumMyeongjo', serif;
    font-weight: 700;
    font-size: 36px;
    color: #111;
    letter-spacing: -0.03em;
    line-height: 1.45;
}
.inquiry_page .title_wrap p {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 300;
    color: #888;
    letter-spacing: -0.02em;
}

.qna { position: relative; }
.customWrite { position: relative; }
.customWrite table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.customWrite table th,
.customWrite table td {
    padding: 18px 10px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #222;
    letter-spacing: -0.03em;
}
.customWrite table tr:first-child th,
.customWrite table tr:first-child td { border-top: 1px solid #eee; }
.customWrite table th {
    width: 180px;
    min-width: 180px;
    font-weight: 500;
    background: none;
    white-space: nowrap;
}
.customWrite table th i { font-style: normal; color: #e31c23; }
.customWrite table td { width: 100%; }

.customWrite table td .inputText {
    display: block;
    width: 52%;
    max-width: 520px;
    height: 52px;
    padding: 0 22px;
    border: 0 !important;
    border-radius: 26px;
    background: #f4f4f4;
    outline: none !important;
    box-shadow: none !important;
    font-size: 15px;
    color: #333;
}
.customWrite table td .inputText::placeholder { color: #bbb; }
.customWrite table td textarea.inputText {
    width: 100%;
    max-width: 100%;
    height: 240px;
    padding: 22px;
    border-radius: 24px;
    resize: vertical;
    line-height: 1.6;
}

.customWrite table td .fileLabel {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    cursor: pointer;
    width: 100%;
    max-width: 640px;
}
.customWrite table td .fileLabel input[type="file"] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 0;
    height: 0;
}
.customWrite table td .fileLabel .fileText1 {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 26px;
    background: #f4f4f4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 52px;
    font-size: 15px;
    color: #333;
}
.customWrite table td .fileLabel .fileText2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 44px;
    margin-left: 10px;
    padding: 0 22px;
    border: 1px solid #ddd;
    border-radius: 22px;
    background: #fff;
    font-size: 14px;
    color: #555;
}

.inq_agree {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    font-size: 15px;
    color: #444;
    letter-spacing: -0.03em;
}
.inq_agree label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.inq_agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.inq_agree label span {
    position: relative;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #fff;
}
.inq_agree input:checked + span {
    border-color: #8a5a1f;
    background: #8a5a1f;
}
.inq_agree input:checked + span::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.inq_agree .privacy_open {
    border: 0;
    background: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
}

.writeBtn { margin-top: 48px; text-align: center; }
.writeBtn .btnwrap { display: flex; justify-content: center; }
.writeBtn .btnwrap button {
    min-width: 220px;
    height: 56px;
    padding: 0 48px;
    border: 0;
    border-radius: 15px;
    background: #8a5a1f;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.03em;
    cursor: pointer;
    transition: background-color 0.2s;
}
.writeBtn .btnwrap button:hover { background: #6f4718; }

@media (max-width: 1023px) {
    .inquiry_page .title_wrap { margin-bottom: 40px; }
    .inquiry_page .title_wrap h3 { font-size: 28px; }
    .customWrite table,
    .customWrite table tbody,
    .customWrite table tr,
    .customWrite table th,
    .customWrite table td { display: block; width: 100%; }
    .customWrite table th,
    .customWrite table td { padding: 8px 0; min-width: 0; }
    .customWrite table th { border-bottom: 0; padding-bottom: 6px; }
    .customWrite table td { padding-bottom: 16px; }
    .customWrite table td .inputText { width: 100%; max-width: 100%; }
    .customWrite table td .fileLabel { max-width: 100%; }
}
@media (max-width: 767px) {
    .inquiry_page .title_wrap h3 { font-size: 24px; }
    .inquiry_page .title_wrap p { font-size: 14px; }
    .writeBtn .btnwrap button { width: 100%; min-width: 0; font-size: 16px; }
}
