@charset "utf-8";

/* 체크박스 (메인 CSS stub 대비) */
.chk-label{ display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chk-label input{ display: none; }
.chk-label i{ display: block; width: 16px; height: 16px; border: 1.5px solid #CBD3DC; border-radius: 4px; background-color: #fff; position: relative; transition: border-color .15s, background-color .15s; }
.chk-label input:checked + i{ background-color: var(--main-color); border-color: var(--main-color); }
.chk-label input:checked + i::after{ content:''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chk-label em{ font-style: normal; font-size: 13px; color: var(--gray-color); white-space: nowrap; }
.allcheck-bar{ display: flex; justify-content: flex-start; padding: 14px 2px 10px; }

/* menuBox 기본 */
.menuBox{ display: flex; align-items: center; justify-content: flex-end; padding: 20px 0; }
.menuBox .menuList{ display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 14px; color: #4D4D4D; flex-wrap: wrap; }
.menuBox .menuList > li{ position: relative; }
.menuBox .menuList .item{ display: flex; align-items: center; gap: 4px; padding: 2px 5px; border-radius: 5px; border: none; background: none; cursor: pointer; color: #4D5863; font-size: 13px; }
.menuBox .menuList .item img{ width: 13px; height: 13px; object-fit: contain; opacity: 0.75; }
.menuBox .menuList .subMenu{
    position: absolute; right: 0; top: calc(100% + 6px); min-width: 88px;
    background: #fff; border: 1px solid #E6E6E6; border-radius: 6px;
    box-shadow: 0 6px 16px rgba(20,26,32,0.08); opacity: 0; visibility: hidden;
    z-index: 10; overflow: hidden;
}
.menuBox .menuList .subMenu.show{ opacity: 1; visibility: visible; }
.menuBox .menuList .subMenu .item{ display: block; width: 100%; padding: 8px 10px; color: #666; font-size: 13px; text-align: center; }
.menuBox .menuList .subMenu > li + li{ border-top: 1px solid #E6E6E6; }

/* 문의 목록 */
.sub .apply-list-section{ padding: 40px 0 100px; }
.sub .apply-list-section .menuBox{ padding: 0 0 14px; }
.sub .apply-list-section .search-box{ position: relative; width: 256px; margin-bottom: 8px; }
.sub .apply-list-section .search-box::before{ content:''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border: 1.5px solid #9AA6B2; border-radius: 50%; box-sizing: border-box; }
.sub .apply-list-section .search-box::after{ content:''; position: absolute; left: 25px; top: 60%; width: 6px; height: 1.5px; background-color: #9AA6B2; transform: rotate(45deg); }
.sub .apply-list-section .search-box .board-stx,
.sub .apply-list-section .search-box input{
    width: 100%; height: 40px; padding: 0 14px 0 38px;
    border: 1px solid var(--border-color); border-radius: 8px;
    font-size: 14px; color: var(--black-color); background: #fff;
}
.sub .apply-list-section .search-box .board-stx::placeholder,
.sub .apply-list-section .search-box input::placeholder{ color: #9AA6B2; }
.sub .apply-list-section .search-box .board-search-btn{
    position: absolute; left: 0; top: 0; width: 40px; height: 100%;
    border: none; background: transparent; cursor: pointer; z-index: 2;
}
.sub .apply-list-section .allcheck-bar{ padding: 16px 2px 8px; }
.sub .apply-list-section .apply-list,
.sub .apply-list-section .notice-list{ border-bottom: 1px solid var(--line-color); margin: 0; padding: 0; list-style: none; }
.sub .apply-list-section .apply-list li,
.sub .apply-list-section .notice-list li{
    display: flex; align-items: center; gap: 12px;
    padding: 15px 10px; border-top: 1px solid var(--line-color);
}
.sub .apply-list-section .apply-list .chk,
.sub .apply-list-section .notice-list .chk{ flex-shrink: 0; display: flex; align-items: center; }
.sub .apply-list-section .apply-list .badge,
.sub .apply-list-section .notice-list .badge{
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; height: 24px; padding: 0 9px; border-radius: 6px;
    font-size: 12px; font-weight: 600; flex-shrink: 0;
    background-color: #EEF7FC; color: var(--deep-color);
}
.sub .apply-list-section .apply-list .title,
.sub .apply-list-section .notice-list .title{
    flex: 1; min-width: 0; overflow: hidden; font-size: 15px; color: #232A31;
}
.sub .apply-list-section .apply-list .title a,
.sub .apply-list-section .notice-list .title a{
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: color .2s;
}
.sub .apply-list-section .apply-list .title a:hover,
.sub .apply-list-section .notice-list .title a:hover{ color: var(--deep-color); }
.sub .apply-list-section .apply-list .writer{
    display: block; margin-top: 4px;
    font-size: 12px; font-style: normal; color: var(--gray-color);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sub .apply-list-section .apply-list .date,
.sub .apply-list-section .notice-list .date{
    width: 110px; flex-shrink: 0; text-align: right;
    font-size: 14px; color: #4D5863;
}
.sub .apply-list-section .apply-list .empty-list,
.sub .apply-list-section .notice-list .empty-list{
    display: block; padding: 48px 16px; text-align: center; color: #6B7785; border-top: 1px solid var(--line-color);
}
.sub .apply-list-section .paging_box{
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; margin-top: 40px; gap: 6px;
}
.sub .apply-list-section .paging_box a,
.sub .apply-list-section .paging_box strong{
    display: flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 6px; border-radius: 6px; font-size: 14px;
}
.sub .apply-list-section .paging_box .pg_page{
    border: 1px solid var(--border-color); color: var(--gray-color);
    transition: border-color .2s, color .2s;
}
.sub .apply-list-section .paging_box .pg_page:hover{ border-color: var(--main-color); color: var(--deep-color); }
.sub .apply-list-section .paging_box .pg_current{
    background-color: var(--deep-color); border: 1px solid var(--deep-color);
    color: #fff; font-weight: 600;
}
@media screen and (max-width: 650px) {
    .sub .apply-list-section{ padding: 30px 0 50px; }
    .sub .apply-list-section .search-box{ width: 100%; }
    .sub .apply-list-section .apply-list li,
    .sub .apply-list-section .notice-list li{ padding: 13px 4px; gap: 8px; }
    .sub .apply-list-section .apply-list .badge,
    .sub .apply-list-section .notice-list .badge{ min-width: 38px; font-size: 11px; }
    .sub .apply-list-section .apply-list .title,
    .sub .apply-list-section .notice-list .title{ font-size: 14px; }
    .sub .apply-list-section .apply-list .date,
    .sub .apply-list-section .notice-list .date{ width: 84px; font-size: 12px; }
    .sub .apply-list-section .paging_box{ margin-top: 28px; }
}

/* 문의 작성 */
.sub .contact-section{ padding: 40px 0 100px; }
.sub .contact-section .contact-div{ display: flex; gap: 16px; align-items: flex-start; }
.sub .contact-section .contact-form{ flex: 1; background-color: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 30px 28px; }
.sub .contact-section .field-list{ display: flex; flex-wrap: wrap; gap: 18px 14px; margin: 0; padding: 0; list-style: none; }
.sub .contact-section .field-list li{ width: 100%; }
.sub .contact-section .field-list li.half{ width: calc(50% - 7px); }
.sub .contact-section .field-list .label{ font-size: 15px; font-weight: 600; color: var(--black-color); line-height: 1.5; }
.sub .contact-section .field-list .label span{ color: #EB5757; }
.sub .contact-section .field-list .ipt{ width: 100%; margin-top: 7px; height: 44px; padding: 0 14px; border: 1px solid var(--border-color); border-radius: 8px; background-color: var(--bg-color); font-size: 14px; color: var(--black-color); transition: border-color .2s, background-color .2s; }
.sub .contact-section .field-list .ipt:focus{ border-color: var(--main-color); background-color: #fff; outline: none; }
.sub .contact-section .field-list textarea.ipt{ height: 120px; padding: 12px 14px; resize: none; }
.sub .contact-section .field-list .ipt::placeholder{ color: #9AA6B2; }
.sub .contact-section .agree-div{ margin-top: 20px; }
.sub .contact-section .agree-div .chk-label{ align-items: flex-start; }
.sub .contact-section .agree-div .chk-label i{ margin-top: 2px; flex-shrink: 0; }
.sub .contact-section .agree-div em{ white-space: normal; line-height: 1.5; }
.sub .contact-section .agree-div .privacy-link{ color: var(--deep-color); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; background: none; border: none; padding: 0; font-size: inherit; cursor: pointer; }
.sub .contact-section .submit-btn{ display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 22px; height: 52px; border: none; border-radius: 10px; background-color: var(--main-color); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.sub .contact-section .submit-btn:hover{ background-color: var(--deep-color); }
.sub .contact-section .contact-info{ width: 385px; flex-shrink: 0; background-color: var(--deep-color); border-radius: 12px; padding: 26px 24px; color: #fff; }
.sub .contact-section .office + .office{ margin-top: 26px; }
.sub .contact-section .office .cate{ font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.sub .contact-section .office-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.18); }
.sub .contact-section .office-head b{ font-size: 22px; font-weight: 700; color: #fff; line-height: 1.4; }
.sub .contact-section .map-btn{ display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 6px; background-color: rgba(255,255,255,0.16); font-size: 12px; font-weight: 600; color: #fff; transition: background-color .2s; }
.sub .contact-section .map-btn:hover{ background-color: rgba(255,255,255,0.3); color: #fff; }
.sub .contact-section .info-list{ margin-top: 16px; display: flex; flex-direction: column; gap: 14px; padding: 0; list-style: none; }
.sub .contact-section .info-list li{ display: flex; align-items: flex-start; gap: 11px; }
.sub .contact-section .info-list img{ width: 17px; margin-top: 2px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.85; }
.sub .contact-section .info-list span{ display: block; font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.sub .contact-section .info-list b{ display: block; font-size: 14px; font-weight: 600; color: #fff; line-height: 1.5; }
@media screen and (max-width: 950px) {
    .sub .contact-section .contact-div{ flex-direction: column; }
    .sub .contact-section .contact-info{ width: 100%; }
}
@media screen and (max-width: 650px) {
    .sub .contact-section{ padding: 30px 0 50px; }
    .sub .contact-section .contact-form{ padding: 22px 16px; }
    .sub .contact-section .field-list li.half{ width: 100%; }
    .sub .contact-section .field-list .label{ font-size: 14px; }
    .sub .contact-section .agree-div em{ font-size: 12px; }
    .sub .contact-section .submit-btn{ height: 48px; font-size: 15px; }
    .sub .contact-section .contact-info{ padding: 20px 16px; }
    .sub .contact-section .office-head b{ font-size: 19px; }
}

/* 문의 상세 (paper-view + apply) */
.sub .paper-view-section,
.sub .apply-view-section{ padding: 60px 0 100px; }
.sub .paper-view-section .menuBox,
.sub .apply-view-section .menuBox{ padding: 0 0 14px; }
.sub .paper-view-section .view-head,
.sub .apply-view-section .view-head{ padding: 26px 4px 22px; border-top: 2px solid var(--black-color); border-bottom: 1px solid var(--border-color); }
.sub .apply-view-section .view-badge{
    display: inline-flex; align-items: center; justify-content: center;
    height: 24px; padding: 0 10px; margin-bottom: 12px; border-radius: 6px;
    background-color: #EEF7FC; color: var(--deep-color);
    font-size: 12px; font-weight: 700;
}
.sub .paper-view-section .view-title,
.sub .apply-view-section .view-title{ display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; color: var(--black-color); }
.sub .paper-view-section .view-meta,
.sub .apply-view-section .view-meta{ margin-top: 12px; font-size: 14px; color: var(--gray-color); line-height: 1.5; }
.sub .paper-view-section .view-meta span,
.sub .apply-view-section .view-meta span{ margin: 0 6px; color: #CBD3DC; }

.sub .apply-view-section .apply-info-box{
    margin-top: 22px; padding: 0;
    border: 1px solid var(--border-color); border-radius: 12px;
    background: #fff; overflow: hidden;
}
.sub .apply-view-section .apply-info-box ul{
    display: grid; grid-template-columns: repeat(2, 1fr);
    margin: 0; padding: 0; list-style: none;
}
.sub .apply-view-section .apply-info-box li{
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line-color);
}
.sub .apply-view-section .apply-info-box li:nth-child(odd){ border-right: 1px solid var(--line-color); }
.sub .apply-view-section .apply-info-box li:nth-last-child(-n+2){ border-bottom: none; }
.sub .apply-view-section .apply-info-box span{
    font-size: 12px; font-weight: 600; color: var(--gray-color); letter-spacing: 0.02em;
}
.sub .apply-view-section .apply-info-box b{
    font-size: 15px; font-weight: 600; color: #232A31; line-height: 1.45; word-break: break-all;
}

.sub .paper-view-section .view-body,
.sub .apply-view-section .view-body{ padding: 34px 4px 50px; border-bottom: 1px solid var(--line-color); }
.sub .apply-view-section .body-label{
    margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--gray-color);
}
.sub .apply-view-section .body-content{
    padding: 22px 20px; border-radius: 10px;
    background: var(--bg-color); border: 1px solid var(--line-color);
    font-size: 15px; line-height: 1.75; color: var(--text-color);
}
.sub .apply-view-section .body-content p{ margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-color); }
.sub .apply-view-section .body-content p + p{ margin-top: 14px; }

.sub .paper-view-section .view-nav,
.sub .apply-view-section .view-nav{ margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-color); }
.sub .paper-view-section .view-nav li + li,
.sub .apply-view-section .view-nav li + li{ border-top: 1px solid var(--line-color); }
.sub .paper-view-section .view-nav a,
.sub .apply-view-section .view-nav a{ display: flex; align-items: center; gap: 20px; padding: 17px 8px; transition: background-color .2s; }
.sub .paper-view-section .view-nav a:hover,
.sub .apply-view-section .view-nav a:hover{ background-color: var(--bg-color); }
.sub .paper-view-section .view-nav .label,
.sub .apply-view-section .view-nav .label{ width: 60px; flex-shrink: 0; font-size: 14px; color: var(--gray-color); }
.sub .paper-view-section .view-nav .subject,
.sub .apply-view-section .view-nav .subject{ flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; font-size: 15px; font-weight: 600; color: #232A31; }
.sub .paper-view-section .view-nav .arrow,
.sub .apply-view-section .view-nav .arrow{ color: #CBD3DC; font-size: 18px; }

.sub .paper-view-section .btn-div,
.sub .apply-view-section .btn-div{ display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 44px; }
.sub .paper-view-section .list-btn,
.sub .apply-view-section .list-btn{
    display: flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 34px; border-radius: 6px;
    background-color: #232A31; color: #fff; font-size: 15px; font-weight: 600;
    transition: background-color .2s;
}
.sub .paper-view-section .list-btn:hover,
.sub .apply-view-section .list-btn:hover{ background-color: var(--deep-color); color: #fff; }
.sub .apply-view-section .edit-btn{
    display: flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 34px; border-radius: 6px;
    border: 1px solid var(--border-color); background: #fff;
    color: #232A31; font-size: 15px; font-weight: 600;
    transition: border-color .2s, color .2s;
}
.sub .apply-view-section .edit-btn:hover{ border-color: var(--main-color); color: var(--deep-color); }

@media screen and (max-width: 650px) {
    .sub .paper-view-section,
    .sub .apply-view-section{ padding: 40px 0 50px; }
    .sub .paper-view-section .view-head,
    .sub .apply-view-section .view-head{ padding: 20px 2px 16px; }
    .sub .paper-view-section .view-title,
    .sub .apply-view-section .view-title{ font-size: 19px; }
    .sub .paper-view-section .view-meta,
    .sub .apply-view-section .view-meta{ font-size: 12px; }
    .sub .apply-view-section .apply-info-box ul{ grid-template-columns: 1fr; }
    .sub .apply-view-section .apply-info-box li{ border-right: none !important; border-bottom: 1px solid var(--line-color); }
    .sub .apply-view-section .apply-info-box li:last-child{ border-bottom: none; }
    .sub .apply-view-section .apply-info-box li:nth-last-child(-n+2){ border-bottom: 1px solid var(--line-color); }
    .sub .apply-view-section .apply-info-box li:last-child{ border-bottom: none; }
    .sub .paper-view-section .view-body,
    .sub .apply-view-section .view-body{ padding: 26px 2px 32px; }
    .sub .apply-view-section .body-content{ padding: 16px 14px; font-size: 14px; }
    .sub .paper-view-section .view-nav a,
    .sub .apply-view-section .view-nav a{ gap: 12px; padding: 14px 4px; }
    .sub .paper-view-section .view-nav .label,
    .sub .apply-view-section .view-nav .label{ width: 48px; font-size: 12px; }
    .sub .paper-view-section .view-nav .subject,
    .sub .apply-view-section .view-nav .subject{ font-size: 14px; }
    .sub .paper-view-section .btn-div,
    .sub .apply-view-section .btn-div{ margin-top: 30px; }
}
