@charset "utf-8";

.pk-qna-page .pk-page__title { display: none; }
.pk-qna { width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 0 80px; color: #111; }
.pk-qna *, .pk-qna *::before, .pk-qna *::after { box-sizing: border-box; }
.pk-qna a { color: inherit; text-decoration: none; }
.pk-qna button, .pk-qna input, .pk-qna select, .pk-qna textarea { font: inherit; }

.pk-qna__hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 64px; align-items: end; min-height: 290px; padding: 58px 64px; border-radius: var(--radius-card, 8px); background: #f0eee9; }
.pk-qna__eyebrow, .pk-qna__content-eyebrow { margin: 0 0 12px; color: #777; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.pk-qna__hero h2 { margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.08; letter-spacing: -.05em; }
.pk-qna__hero > div:first-child > p:last-child { margin: 20px 0 0; color: #666; font-size: 14px; line-height: 1.8; }
.pk-qna__privacy { padding: 24px 26px; border: 1px solid #d8d4cd; border-radius: var(--radius-card, 8px); background: rgba(255,255,255,.64); }
.pk-qna__privacy > span { display: inline-flex; margin-bottom: 14px; padding: 6px 9px; border-radius: 999px; background: #111; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.pk-qna__privacy strong { display: block; font-size: 16px; }
.pk-qna__privacy p { margin: 9px 0 0; color: #777; font-size: 12px; line-height: 1.7; }

.pk-qna__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding-bottom: 18px; border-bottom: 1px solid #111; }
.pk-qna__categories { min-width: 0; overflow: hidden; }
.pk-qna__categories ul { display: flex; gap: 30px; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.pk-qna__categories ul::-webkit-scrollbar { display: none; }
.pk-qna__categories a { position: relative; display: block; padding: 14px 1px; color: #8a8a8a; font-size: 13px; white-space: nowrap; }
.pk-qna__categories a#bo_cate_on { color: #111; font-weight: 700; }
.pk-qna__categories a#bo_cate_on::after { position: absolute; right: 0; bottom: -19px; left: 0; height: 3px; background: #111; content: ""; }
.pk-qna__search { display: grid; flex: 0 0 350px; grid-template-columns: minmax(0, 1fr) 64px; height: 44px; border: 1px solid #cfcac2; background: #fff; }
.pk-qna__search input { min-width: 0; height: 42px; padding: 0 14px; border: 0; outline: 0; color: #111; font-size: 12px; }
.pk-qna__search input:focus { box-shadow: inset 0 0 0 2px #111; }
.pk-qna__search button { border: 0; background: #111; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }

.pk-qna__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 52px 0 18px; }
.pk-qna__head h3 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.pk-qna__head > p { margin: 0 0 3px; color: #888; font-size: 12px; }
.pk-qna__head > p b { margin-right: 3px; color: #111; font-size: 14px; }

.pk-qna__list { margin: 0; padding: 0; border-top: 1px solid #111; list-style: none; }
.pk-qna__item { display: grid; grid-template-columns: 46px minmax(0, 1fr) 98px 78px 88px; gap: 16px; align-items: center; min-height: 74px; padding: 14px 12px; border-bottom: 1px solid #dedbd5; }
.pk-qna__number { color: #aaa; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.pk-qna__item-main { display: flex; min-width: 0; align-items: center; gap: 10px; }
.pk-qna__category, .pk-qna__mine { display: inline-flex; flex: 0 0 auto; min-height: 24px; align-items: center; padding: 0 8px; border-radius: 999px; font-size: 10px; }
.pk-qna__category { background: #f1efe9; color: #555; }
.pk-qna__mine { background: #111; color: #fff; }
.pk-qna__author { overflow: hidden; color: #777; font-size: 11px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.pk-qna__subject { display: block; min-width: 0; overflow: hidden; color: #111; font-size: 14px; font-weight: 600; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
a.pk-qna__subject:hover { text-decoration: underline; text-underline-offset: 4px; }
.pk-qna__subject.is-readonly { color: #777; cursor: default; }
.pk-qna__file { display: inline-grid; flex: 0 0 auto; width: 20px; height: 20px; place-items: center; border: 1px solid #ddd8d0; border-radius: 50%; color: #777; font-size: 13px; font-weight: 400; }
.pk-qna__date { color: #888; font-size: 11px; }
.pk-qna__status { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; border-radius: 999px; font-size: 10px; font-weight: 700; }
.pk-qna__status.is-done { background: #111; color: #fff; }
.pk-qna__status.is-waiting { background: #efede8; color: #777; }
.pk-qna__empty { padding: 84px 20px; border-top: 1px solid #111; border-bottom: 1px solid #dedbd5; text-align: center; }
.pk-qna__empty strong { font-size: 17px; }
.pk-qna__empty p { margin: 10px 0 0; color: #888; font-size: 12px; }

.pk-qna__paging { margin-top: 34px; text-align: center; }
.pk-qna__paging .pg_wrap { display: inline-block; }
.pk-qna__paging .pg_page, .pk-qna__paging .pg_current { display: inline-grid; width: 34px; height: 34px; margin: 0 2px; place-items: center; border: 1px solid #dedbd5; border-radius: 50%; background: #fff; color: #777; font-size: 11px; }
.pk-qna__paging .pg_current { border-color: #111; background: #111; color: #fff; }

.pk-qna__cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 64px; padding: 38px 42px; border-radius: var(--radius-card, 8px); background: #111; color: #fff; }
.pk-qna__cta p { margin: 0 0 10px; color: #aaa; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.pk-qna__cta h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.pk-qna__cta span { display: block; margin-top: 9px; color: #aaa; font-size: 12px; }
.pk-qna__cta-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.pk-qna__cta-actions a { display: inline-flex; min-width: 132px; min-height: 46px; align-items: center; justify-content: center; border: 1px solid #fff; background: #fff; color: #111; font-size: 11px; font-weight: 700; }
.pk-qna__cta-actions a.is-secondary { background: transparent; color: #fff; }

/* View */
.pk-qna-view, .pk-qna-write { width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 0 80px; color: #111; }
.pk-qna-view *, .pk-qna-view *::before, .pk-qna-view *::after, .pk-qna-write *, .pk-qna-write *::before, .pk-qna-write *::after { box-sizing: border-box; }
.pk-qna-view a, .pk-qna-write a { color: inherit; text-decoration: none; }
.pk-qna-view__topline, .pk-qna-write__topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.pk-qna-view__back, .pk-qna-write__back { display: inline-flex; align-items: center; gap: 7px; color: #666; font-size: 12px; }
.pk-qna-view__private, .pk-qna-write__private { color: #777; font-size: 11px; }
.pk-qna-view__header { padding: 48px 54px; border-radius: var(--radius-card, 8px); background: #f0eee9; }
.pk-qna-view__badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.pk-qna-view__badges span { display: inline-flex; min-height: 26px; align-items: center; padding: 0 10px; border-radius: 999px; background: #fff; color: #666; font-size: 10px; }
.pk-qna-view__badges .is-dark { background: #111; color: #fff; }
.pk-qna-view__header h2 { max-width: 880px; margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -.045em; word-break: keep-all; }
.pk-qna-view__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; color: #777; font-size: 12px; }
.pk-qna-view__manager { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 16px 18px; border: 1px solid #dedbd5; border-radius: var(--radius-card, 8px); }
.pk-qna-view__manager strong { display: block; font-size: 12px; }
.pk-qna-view__manager span { display: block; margin-top: 4px; color: #888; font-size: 10px; }
.pk-qna-view__manager button { min-height: 38px; padding: 0 14px; border: 1px solid #111; background: #111; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.pk-qna-view__content { margin-top: 46px; padding: 42px 48px; border-top: 1px solid #111; border-bottom: 1px solid #dedbd5; color: #444; font-size: 14px; line-height: 1.9; }
.pk-qna-view__content img { max-width: 100%; height: auto; }
.pk-qna-view__files { margin: 20px 0 0; padding: 18px 20px; border-radius: 6px; background: #f7f6f3; list-style: none; }
.pk-qna-view__files li + li { margin-top: 8px; }
.pk-qna-view__files a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.pk-qna-view__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.pk-qna-view__actions a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid #cfcac2; font-size: 11px; font-weight: 700; }
.pk-qna-view__actions a.is-primary { border-color: #111; background: #111; color: #fff; }
.pk-qna-view__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 42px 0 0; padding: 0; list-style: none; }
.pk-qna-view__nav a { display: flex; min-height: 54px; align-items: center; padding: 0 18px; border: 1px solid #dedbd5; color: #666; font-size: 11px; }
.pk-qna-view__nav li:last-child a { justify-content: flex-end; }

#bo_v_ans, #bo_v_ans_form { margin-top: 52px; padding: 34px 38px; border-radius: var(--radius-card, 8px); background: #f4f2ee; }
#bo_v_ans h2, #bo_v_ans_form h2 { margin: 0 0 20px; font-size: 22px; }
#bo_v_ans header { display: flex; align-items: center; justify-content: space-between; color: #888; font-size: 11px; }
#bo_v_ans #ans_con { margin-top: 22px; color: #444; font-size: 14px; line-height: 1.9; }
#bo_v_ans #ans_add { position: relative; }
#bo_v_ans .more_add { position: absolute; right: 0; z-index: 2; min-width: 100px; margin: 4px 0 0; padding: 6px; border: 1px solid #ddd; background: #fff; list-style: none; }
#bo_v_ans_form .form_01 ul { margin: 0; padding: 0; list-style: none; }
#bo_v_ans_form .form_01 li + li { margin-top: 12px; }
#bo_v_ans_form input[type="text"], #bo_v_ans_form textarea { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid #d5d1ca; background: #fff; }
#bo_v_ans_form textarea { min-height: 180px; resize: vertical; }
#bo_v_ans_form .btn_confirm { margin-top: 16px; text-align: right; }
#bo_v_ans_form .btn_submit { min-height: 44px; padding: 0 20px; border: 0; background: #111; color: #fff; font-weight: 700; cursor: pointer; }
#bo_v_ans_form #ans_msg { margin: 0; color: #666; font-size: 13px; }
.bo_v_btn { margin-top: 10px; text-align: right; }
.bo_v_btn .add_qa { display: inline-flex; min-height: 40px; align-items: center; padding: 0 15px; border: 1px solid #111; font-size: 11px; font-weight: 700; }

.pk-qna-view__related { margin-top: 52px; }
.pk-qna-view__related h3 { margin: 0 0 15px; font-size: 20px; }
.pk-qna-view__related ul { margin: 0; padding: 0; border-top: 1px solid #111; list-style: none; }
.pk-qna-view__related li { display: grid; grid-template-columns: minmax(0, 1fr) 100px 90px; gap: 16px; align-items: center; min-height: 68px; border-bottom: 1px solid #dedbd5; font-size: 12px; }

/* Write */
.pk-qna-write__header { padding: 44px 50px; border-radius: var(--radius-card, 8px); background: #f0eee9; }
.pk-qna-write__header p { margin: 0 0 10px; color: #777; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.pk-qna-write__header h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.pk-qna-write__header span { display: block; margin-top: 14px; color: #666; font-size: 12px; }
.pk-qna-write__form { margin-top: 42px; }
.pk-qna-write__field { margin-top: 22px; }
.pk-qna-write__field > label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.pk-qna-write__field select, .pk-qna-write__field input[type="text"], .pk-qna-write__field input[type="email"], .pk-qna-write__field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d5d1ca; background: #fff; }
.pk-qna-write__field textarea { min-height: 260px; resize: vertical; }
.pk-qna-write__field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pk-qna-write__notice { margin-top: 20px; padding: 18px 20px; border-radius: 6px; background: #f7f6f3; color: #777; font-size: 11px; line-height: 1.7; }
.pk-qna-write__files { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pk-qna-write__file { padding: 16px; border: 1px dashed #c8c3bb; border-radius: 6px; }
.pk-qna-write__file label { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 700; }
.pk-qna-write__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 30px; }
.pk-qna-write__actions a, .pk-qna-write__actions button { display: inline-flex; min-width: 120px; min-height: 48px; align-items: center; justify-content: center; border: 1px solid #111; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.pk-qna-write__actions button { background: #111; color: #fff; }

.pk-qna-write #bo_w { margin-top: 34px; }
.pk-qna-write #bo_w > h2 { display: none; }
.pk-qna-write #fwrite .form_01 > ul { margin: 0; padding: 0; list-style: none; }
.pk-qna-write #fwrite .form_01 > ul > li { margin-top: 20px; }
.pk-qna-write #fwrite select,
.pk-qna-write #fwrite input[type="text"],
.pk-qna-write #fwrite input[type="email"],
.pk-qna-write #fwrite textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d5d1ca; background: #fff; color: #111; }
.pk-qna-write #fwrite textarea { min-height: 260px; resize: vertical; }
.pk-qna-write #fwrite .qa_content_wrap iframe { max-width: 100%; }
.pk-qna-write #fwrite .bo_w_mail,
.pk-qna-write #fwrite .bo_w_hp { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.pk-qna-write #fwrite .frm_info { color: #777; font-size: 11px; }
.pk-qna-write #fwrite .bo_w_flie { padding: 18px; border: 1px dashed #c8c3bb; border-radius: 6px; }
.pk-qna-write #fwrite .file_wr { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pk-qna-write #fwrite .lb_icon { color: #666; font-size: 11px; }
.pk-qna-write #fwrite .frm_file { max-width: 100%; font-size: 11px; }
.pk-qna-write #fwrite .btn_confirm { display: flex; justify-content: flex-end; gap: 8px; margin-top: 30px; }
.pk-qna-write #fwrite .btn_confirm a,
.pk-qna-write #fwrite .btn_confirm button { display: inline-flex; min-width: 120px; min-height: 48px; align-items: center; justify-content: center; border: 1px solid #111; background: #fff; color: #111; font-size: 12px; font-weight: 700; cursor: pointer; }
.pk-qna-write #fwrite .btn_confirm button { background: #111; color: #fff; }

@media (hover: hover) {
    .pk-qna__categories a:hover { color: #111; }
    .pk-qna__cta-actions a:hover { background: transparent; color: #fff; }
    .pk-qna__cta-actions a.is-secondary:hover { background: #fff; color: #111; }
}

@media (max-width: 767px) {
    .pk-qna, .pk-qna-view, .pk-qna-write { padding: 20px 0 96px; }
    .pk-qna__hero { display: block; min-height: 0; padding: 34px 20px 26px; }
    .pk-qna__hero h2 { font-size: 32px; }
    .pk-qna__hero > div:first-child > p:last-child { font-size: 12px; }
    .pk-qna__privacy { margin-top: 24px; padding: 18px; }
    .pk-qna__toolbar { display: block; margin-top: 26px; padding-bottom: 0; border-bottom: 0; }
    .pk-qna__categories { border-bottom: 1px solid #111; }
    .pk-qna__categories ul { gap: 25px; }
    .pk-qna__categories a { padding-bottom: 15px; }
    .pk-qna__categories a#bo_cate_on::after { bottom: -1px; }
    .pk-qna__search { grid-template-columns: minmax(0, 1fr) 66px; width: 100%; height: 48px; margin-top: 16px; }
    .pk-qna__search input { height: 46px; }
    .pk-qna__head { padding-top: 38px; }
    .pk-qna__head h3 { font-size: 23px; }
    .pk-qna__head > p { font-size: 10px; }
    .pk-qna__item { grid-template-columns: minmax(0, 1fr) 70px 70px; gap: 8px; min-height: 72px; padding: 13px 2px; }
    .pk-qna__number { display: none; }
    .pk-qna__item-main { grid-column: 1; }
    .pk-qna__category { min-height: 22px; padding: 0 6px; font-size: 9px; }
    .pk-qna__mine { display: none; }
    .pk-qna__author { grid-column: 2; font-size: 9px; }
    .pk-qna__date { display: none; }
    .pk-qna__status { grid-column: 3; grid-row: 1; min-height: 28px; }
    .pk-qna__subject { font-size: 12px; }
    .pk-qna__cta { display: block; margin-top: 48px; padding: 28px 22px; }
    .pk-qna__cta h3 { font-size: 19px; }
    .pk-qna__cta span { line-height: 1.6; }
    .pk-qna__cta-actions { display: grid; margin-top: 22px; }
    .pk-qna__cta-actions a { width: 100%; }
    .pk-qna-view__header, .pk-qna-write__header { padding: 32px 20px; }
    .pk-qna-view__header h2 { font-size: 28px; }
    .pk-qna-view__private, .pk-qna-write__private { display: none; }
    .pk-qna-view__manager { align-items: flex-start; }
    .pk-qna-view__content { margin-top: 32px; padding: 28px 4px; font-size: 13px; }
    .pk-qna-view__actions { justify-content: stretch; }
    .pk-qna-view__actions a { flex: 1; }
    .pk-qna-view__nav { grid-template-columns: 1fr; }
    .pk-qna-view__nav li:last-child a { justify-content: flex-start; }
    #bo_v_ans, #bo_v_ans_form { margin-top: 38px; padding: 26px 20px; }
    .pk-qna-view__related li { grid-template-columns: minmax(0, 1fr) 78px; }
    .pk-qna-view__related li time { display: none; }
    .pk-qna-write__header h2 { font-size: 30px; }
    .pk-qna-write__field-row, .pk-qna-write__files { grid-template-columns: 1fr; }
    .pk-qna-write__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .pk-qna-write__actions a, .pk-qna-write__actions button { min-width: 0; }
    .pk-qna-write #fwrite .bo_w_mail,
    .pk-qna-write #fwrite .bo_w_hp { display: block; }
    .pk-qna-write #fwrite .bo_w_mail input[type="checkbox"],
    .pk-qna-write #fwrite .bo_w_hp input[type="checkbox"] { margin-top: 12px; }
    .pk-qna-write #fwrite .btn_confirm { display: grid; grid-template-columns: 1fr 1fr; }
    .pk-qna-write #fwrite .btn_confirm a,
    .pk-qna-write #fwrite .btn_confirm button { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pk-qna * { scroll-behavior: auto !important; transition: none !important; }
}
