:root {
    --color-background: #ffffff;
}
.inquiry .table-top-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 60px;
    align-items: start;
    margin-top: 140px;
}
@media screen and (max-width: 839px) {
    .inquiry .table-top-bar {
        grid-template-columns: 1fr;
        margin-top: 50px;
        height: auto;
        row-gap: 10px;
    }
}
.inquiry .table-top-bar .tab-bar {
    width: fit-content;
    height: 60px;
    display: grid;
    grid-template-columns: 200px 200px;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
}
@media screen and (max-width: 839px) {
    .inquiry .table-top-bar .tab-bar {
        width: 100%;
        height: 50px;
        grid-template-columns: 1fr 1fr;
        border-bottom: 1px solid #dddddd;
    }
}
.inquiry .table-top-bar .tab-bar p {
    width: 100%;
    height: 100%;
    font-size: clamp(1rem, 3.32vw, 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #dddddd;
}
.inquiry .table-top-bar .tab-bar p.active {
    background-color: var(--color-green);
    color: var(--color-background);
    border-color: var(--color-green);
}
.inquiry .search-bar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    height: auto;
}
@media screen and (max-width: 839px) {
    .inquiry .search-bar {
        padding-bottom: 10px;
    }
}
.inquiry .search-bar > select {
    width: 220px;
    height: 50px;
    border: 1px solid #dddddd;
    background-color: transparent;
    outline: none;
    padding: 0 1rem;
    font-size: 1rem;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-right: 10px;
}
.inquiry .search-bar > input {
    width: calc(100% - 50px);
    max-width: 300px;
    height: 50px;
    border: 1px solid #dddddd;
    background-color: transparent;
    border-right: none;
    outline: none;
    padding: 0 1rem;
    font-size: 1rem;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
@media screen and (max-width: 599px) {
    .inquiry .search-bar > input {
        max-width: unset;
        flex: 1 1 0;
        height: 40px;
    }
    .inquiry .search-bar > select {
        max-width: unset;
        flex: 1 1 0;
        height: 40px;
    }
}
.inquiry .search-bar > select:focus-visible {
    border-width: 2px;
    border-color: var(--color-green);
}
.inquiry .search-bar > input:focus-visible {
    border-width: 2px;
    border-color: var(--color-green);
}
.inquiry .search-bar > button.search-button {
    width: 50px;
    height: 50px;
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: var(--color-green);
    background-image: url(../images/icon_search.png);
    background-repeat: no-repeat;
    background-position: center center;
}
@media screen and (max-width: 599px) {
    .inquiry .search-bar > button.search-button {
        width: 40px;
        height: 40px;
    }
}
.faq-list-box {
    width: 100%;
    height: auto;
    border-top: 2px solid black;
}
.faq-item {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #dddddd;
    color: black;
    font-size: 18px;
}
.faq-q-line {
    cursor: pointer;
    display: grid;
    grid-template-columns: 80px 1fr 50px;
}
.faq-q-line > div {
    width: 100%;
    padding: 18px;
    color: #666666;
}
@media screen and (max-width: 599px) {
    .faq-q-line {
        grid-template-columns: 30px 1fr 20px;
        font-size: 1rem;
    }
    .faq-q-line > div {
        padding: 14px 0;
    }
    .faq-q-line > div:nth-child(1) {
        padding: 14px 8px;
    }
}
.faq-q-line > div.icon-box {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/icon_arrow_down.png);
}
@media screen and (max-width: 599px) {
    .faq-q-line > div.icon-box {
        background-size: 14px 7.7px;
    }
}
.faq-q-line > div:nth-child(1) {
    text-align: center;
}
.faq-q-line:hover {
    background-color: #f3fefd;
}
.faq-q-line:hover > div:nth-child(2) {
    color: var(--color-green);
}
.faq-a-box {
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 80px 1fr;
    background-color: #f8f8f8;
    transition: max-height 300ms ease;
}
.faq-a-box > div {
    width: 100%;
    padding: 18px;
}
@media screen and (max-width: 599px) {
    .faq-a-box {
        grid-template-columns: 30px 1fr 20px;
        font-size: 1rem;
    }
    .faq-a-box > div {
        padding: 14px 0;
    }
    .faq-a-box > div:nth-child(1) {
        padding: 14px 8px;
    }
}
.faq-a-box > div:nth-child(1) {
    text-align: center;
}
.faq-q-line.opened + .faq-a-box {
    max-height: 400px;
    overflow: auto;
}
.faq-q-line.opened > div.icon-box {
    background-image: url(../images/icon_arrow_up.png);
}
.faq-q-line.opened > div:nth-child(2) {
    color: var(--color-green);
}

.agree-input-box {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #dddddd;
    margin-top: 40px;
    font-size: clamp(0.925rem, 3vw, 18px);
}
@media screen and (max-width: 768px) {
    .agree-input-box {
        padding: 10px;
    }
}
.agree-all-box > p,
.agree-input-box > p {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}
.agree-all-box > p > .custom-checkbox,
.agree-input-box > p > .custom-checkbox {
    width: 24px;
    height: 24px;
}
.agree-text-box {
    width: 100%;
    height: 320px;
    border-bottom: 1px solid #dddddd;
    background-color: #f3fefd;
    padding: 1rem;
    overflow-y: auto;
    font-size: 16px;
}
.agree-text-box > h1 {
    padding: 0;
    font-size: 20px;
    color: black;
    margin-top: 20px;
}
.agree-text-box > h2 {
    padding: 0;
    font-size: 16px;
    color: black;
    margin-top: 20px;
}
.agree-text-box > p {
    font-size: clamp(14px, 2.8vw, 16px);
}

.paging-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
    font-size: clamp(0.875rem, 3.3vw, 20px);
}
.paging-bar .clear-button {
    width: clamp(20px, 8.3vw, 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.paging-bar .paging-input {
    width: clamp(40px, 10vw, 60px);
    height: clamp(30px, 6.7vw, 40px);
    text-align: center;
    color: var(--color-green);
    border: 1px solid var(--color-green);
    border-radius: 5px;
    background-color: transparent;
    font-size: clamp(0.875rem, 3.3vw, 20px);
}

/* 1:1 상담, members.css에서 가져옴 */
.qa-list-box {
    width: 100%;
    height: auto;
    border-top: 2px solid black;
}
.qa-item {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #dddddd;
    color: black;
    font-size: 18px;
}
.qa-q-line {
    cursor: pointer;
    display: grid;
    grid-template-columns: 80px 1fr 50px;
}
.qa-q-line > div {
    width: 100%;
    padding: 18px;
}
@media screen and (max-width: 599px) {
    .qa-q-line {
        grid-template-columns: 30px 1fr 20px;
        font-size: 1rem;
    }
    .qa-q-line > div {
        padding: 14px 0;
    }
    .qa-q-line > div:nth-child(1) {
        padding: 14px 8px;
    }
}
.qa-q-line > div.qa-q-line-title {
    display: grid;
    grid-template-columns: 1fr 180px;
}
.qa-q-line > div.qa-q-line-title > div:nth-child(2) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}
@media screen and (max-width: 599px) {
    .qa-q-line > div.qa-q-line-title {
        display: block;
    }
    .qa-q-line > div.qa-q-line-title > div:nth-child(2) {
        /* font-size: 1rem; */
        font-size: 14px;
        justify-content: flex-start;
        padding-top: 1em;
    }
}
.qa-q-line > div.icon-box {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/icon_arrow_down.png);
}
@media screen and (max-width: 599px) {
    .qa-q-line > div.icon-box {
        background-size: 14px 7.7px;
    }
}
.qa-q-line > div:nth-child(1) {
    text-align: center;
}
.qa-q-line:hover > div:nth-child(2) {
    color: var(--color-green);
}
.qa-a-box {
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 80px 1fr;
    background-color: #f8f8f8;
    transition: max-height 300ms ease;
}
.qa-a-box hr {
    margin-block: 1rem;
}

.qa-a-box > div {
    width: 100%;
    padding: 18px;
}
@media screen and (max-width: 599px) {
    .qa-a-box {
        grid-template-columns: 30px 1fr 20px;
        font-size: 1rem;
    }
    .qa-a-box > div {
        padding: 14px 0;
    }
    .qa-a-box > div:nth-child(1) {
        padding: 14px 8px;
    }
}
.qa-a-box > div:nth-child(1) {
    text-align: center;
}
.qa-q-line.opened + .qa-a-box {
    max-height: 400px;
    overflow: auto;
}
.qa-q-line.opened > div.icon-box {
    background-image: url(../images/icon_arrow_up.png);
}
.qa-q-line.opened > div:nth-child(2) {
    color: var(--color-green);
}

.qa-comment {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #dddddd;
    color: black;
    font-size: 18px;
    padding: 18px;
}
@media screen and (max-width: 599px) {
    .qa-comment {        
        font-size: 16px;        
    }
}
.post-table-comment {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #dddddd;
    color: black;
    font-size: 24px;
    font-weight: 500;
    padding: 50px 0px 18px 0px;
}