/* faq main */
.faq_container {
    max-width: 1260px;
    margin: 0 auto;
}

.faq_main_ttl {
    margin-top: 90px;
}

.faq_main_ttl h2 {
    font-size: 32px;
    text-align: center;
    color: #222222;
    font-weight: bold;
}

.faq_main_ttl p {
    font-size: 20px;
    color: #3b3b3b;
    text-align: center;
    margin-top: 10px;
}

.faq_content {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 80px;
}

.faq_list {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 240px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.faq_list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    z-index: 55;
    border-radius: 10px;
}

.faq_list:hover::before {
    border: 1px solid #0072ff;
}

.faq_list:hover {
    box-shadow: 0px 0px 7px rgba(0,0,0,0.3);
}

.faq_list img {
    transition: transform 0.3s ease;
}

.faq_list .list_img {
    display: block;
    width: 300px;
    height: 170px;
    overflow: hidden;
}

.faq_list:hover img {
    transform: scale(1.05);
}

.list_text {
    display: block;
    font-size: 13px;
    color: #ababab;
    margin-top: 13px;
    margin-left: 20px;
}

.list_ttl {
    display: block;
    font-size: 17px;
    color: #222222;
    font-weight: bold;
    margin-left: 20px;
}

/* faq detail */
.con_top{
    border-bottom: none;
}

.con_top h1 {
    font-size: 32px !important;
    color: #222222;
    font-weight: 600;
    letter-spacing: 0;
    margin-top: 90px;
    margin-bottom: 10px;
    text-indent: 0;
}

.con_top h1 span {
    color: #222222;
}

.faq_sub_text {
    font-size: 20px;
    color: #3b3b3b;
    margin-bottom: 40px;
}

.con_top form.box {
    width: 500px;
    height: 50px;
    border-radius: 6px;
    box-shadow: none;
    border: 1px solid #d0d0d0;
    line-height: 50px;
    overflow: hidden;
}

.con_top form.box input {
    color: #666666;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 48px;
    margin-left: 30px;
    width: -webkit-calc(100% - 130px);
    vertical-align: unset;
}

.con_top form.box a {
    line-height: 48px;
}

.con_top .article_cont {
    padding-top: 12px;
    padding-bottom: 70px;
    max-width: 1282px;
    margin: 0 auto;
}

.con_top .article_box {
    position: relative;
    width: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.con_top .article_list {
    display: inline-block;
}

.con_top .article_list.active {
    height: auto;
}

.con_top .article_list .article_answer {
    position: absolute;
    left: 3px;
    width: 99.5%;
    border-top: 1px solid #0072ff;
    border-bottom: 1px solid #0072ff;
    text-align: left;
    margin-top: 30px;
}

.con_top .article_answer .a_ttl {
    height: auto;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    color: #222222;
    font-size: 17px;
    line-height: 35px;
    font-weight: bold;
    padding: 10px 0;
    padding-left: 48px;
}

.con_top .article_answer .a_ttl span {
    display: block;
    width: 93%;
}

.con_top .article_list .a_cont {
    padding: 50px 0;
    height: auto;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding-left: 48px;
}

.con_top .article_list .a_cont .xe_content {
    height: auto;
    max-height: 630px;
    overflow-y: auto;
    margin-right: 42px;
    font-size: 16px;
    font-weight: 500;
    padding-right: 42px;
}

.con_top .article_list .a_cont .xe_content > div,
.con_top .article_list .a_cont .xe_content > p {
    color: #666 !important;
}

.con_top .article_list .a_cont .xe_content::-webkit-scrollbar {
    width: 4px;
    background: #e5e5e5;
}

.con_top .article_list .a_cont .xe_content::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    cursor: pointer;
}

.article_recommend {
    position: relative;
    padding: 20px 0;
    padding-left: 48px;
    height: auto;
    background: #fff;
}

.article_recommend .r_date {
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    padding: 3px 0;
}

.article_recommend .r_text {
    position: relative;
    color: #222222;
    font-size: 14px;
    font-weight: bold;
    padding: 3px 0;
}

.article_recommend .r_text .thumb {
    position: absolute;
    top: 4px;
    left: 260px;
    display: block;
    width: 16px;
    height: 16px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/thumb_icon.png') no-repeat;
    cursor: pointer;
}

.article_recommend .r_text .thumb::before {
    content: '';
    display: block;
    clear: both;
    width: 16px;
    height: 16px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/thumb_icon_hover.png') no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.article_recommend .r_text .thumb.active {
    animation: thumb 0.5s forwards;
}

@keyframes thumb {
    0%{
        transform: scale(1) rotate(0deg);
    }
    25%{
        transform: scale(1.05) rotate(-15deg);
    }
    75% {
        transform: scale(1.05) rotate(15deg);
    }
    100%{
        transform: scale(1) rotate(0deg);
    }
}

.article_recommend .r_text .thumb:hover::before,
.article_recommend .r_text .thumb.active::before {
    opacity: 1;
}

.r_contact {
    position: absolute;
    bottom: 16px;
    right: 42px;
}

.r_contact .c_text {
    display: inline-block;
    color: #666666;
    font-size: 14px;
    font-weight: bold;
    margin-right: 16px;
}

.r_contact a {
    display: inline-block;
    width: 90px;
    height: 34px;
    background: #acacac; 
    color: #fff;
    text-align: center;
    line-height: 34px;
    border-radius: 6px;
    font-size: 14px;
}

.con_top .article {
    position: relative;
    list-style: none;
    width: 300px;
    height: auto;
    min-height: 134px;
    background: #fff;
    border-radius: 6px;
    margin: 4px;
    box-shadow: 0px 0px 7px rgba(0,0,0,0.2);
    border: 1px solid transparent;
    padding: 28px 0;
    box-sizing: border-box;
    cursor: pointer;
}

.con_top .article::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 50%;
    margin-left: -8px;
    border-top: 10px solid #0072ff;
    border-right: 8px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 8px solid transparent;
    opacity: 0;
}

.con_top .article:hover,
.con_top .article_list.active .article {
    border: 1px solid #0072ff;
}

.con_top .article_list.active .article::after {
    opacity: 1;
}

.con_top .article p, .con_top .article a {
    display: block;
    width: 100%;
    height: 100%;
}

.con_top .article a span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    margin-left: 22px;
    width: 255px;
    line-height: 22px;
}

.con_top .article_ttl {
    font-size: 17px;
    color: #222222;
    font-weight: bold;
}

.con_top .article_text {
    font-size: 16px;
    color: #666666;
    margin-top: 5px;
}

/*문의유형별 자주 묻는 질문*/
.category_box {
    height: 100vh;
    background: #e0e0e0;
}

.category_box .category_ttl {
    font-size: 26px;
    text-align: center;
    color: #222222;
    font-weight: bold;
    padding-top: 60px;
    padding-bottom: 26px;
}

.category_box ul {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 130px;
}

.category_box ul li {
    width: auto;
    height: 44px;
    line-height: 44px;
    background: #fff;
    border-radius: 150px;
    border: 1px solid transparent;
}

.category_box.list_format ul li {
    opacity: 0.7;
}

.category_box ul li:hover {
    border: 1px solid #0072ff;
    opacity: 1;
    box-shadow: 0px 0px 8px 1px rgba(0,0,0,.3);
}

.category_box.list_format ul li:hover a {
    color: #222222;
}

.category_box ul li span,
.category_box ul li a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.category_box ul li a {
    padding: 0 25px;
    box-sizing: border-box;
    font-weight: 600;
    color: #222;
    font-size: 16px;
    letter-spacing: -1.5px;
}

.category_box.list_format ul li.active {
    background: #0072ff;
    opacity: 1;
    box-shadow: 0px 0px 8px 1px rgba(0,0,0,.3);
}

.category_box.list_format ul li.active a {
    color: #fff;
}

/*faq list*/
.faq_list_box {
    border-top: 1px solid #0072ff;
    border-bottom: 1px solid #0072ff;
}

.faq_list_box .faqBody li {
    background: #fff;
    position: relative;
}

.faq_list_box .a_cont {
    padding: 50px 0;
    height: auto;
    background: #fff;
    border-bottom: 1px solid #e6e6e6;
    padding-left: 48px;
}

.faq_list_box .q {
    border-top: 0;
    border-bottom: 1px solid #e6e6e6;
    background: none;
    padding-left: 45px;
    font-size: 16px;
} 

.faq_list_box .q:hover {
    background: none;
}

.faq_list_box .q a {
    position: relative;
    display: block;
    color: #222222;
}

.faq_list_box .q a span.recommended {
    position: absolute;
    top: 3px;
    right: 65px;
    color: #d0d0d0;
    font-size: 14px;
    margin-left: 20px;
}

.faq_list_box .q a span.recommended::before {
    display: block;
    clear: both;
    content: '';
    width: 16px;
    height: 16px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/thumb_icon.png') no-repeat;
    position: absolute;
    top: 1px;
    left: -20px;
}

.faq_list_box .q a span.title {
    width: 900px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    vertical-align: bottom;
}

.faq_list_box .article.show .q a span.title {
    text-overflow: inherit;
    white-space: inherit;
    vertical-align: text-top;
}

.faq_list_box .q span.icon {
    position: absolute;
    top: -1px;
    right: 24px;
    display: block;
    width: 28px;
    height: 28px;
    background-position: center center;
    background-image: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/faq_arrow_icon.png');
    background-repeat: no-repeat;
}

.faq_list_box .list_none {
    height: 592px;
    background: #fff;
    text-align: center;
    line-height: 592px;
    color: #666;
    font-size: 15px;
}

.faqBody li.show .q a span.icon {
    background-image: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/faq_close_icon.png');
}

.faq .q:hover a {
    color: #222222 !important;
}

.faq_list_box li:last-child .q {
    border: none;
}

.faq .show .q {
    background: none;
    color: #222;
}

.faqBody li.show .q a {
    color: #222 !important;
}

.faq .a {
    background: none;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
}

.faq .a .xe_content {
    height: auto;
    max-height: 630px;
    overflow-y: auto;
}

.faq .a .xe_content::-webkit-scrollbar {
    width: 4px;
    background: #e5e5e5;
}

.faq .a .xe_content::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    cursor: pointer;
}

.pagination strong,
.pagination a.prev, 
.pagination a.prevEnd, 
.pagination a.next, 
.pagination a.nextEnd {
    border: 0;
}

.pagination.faq a {
    padding: 2px 10px;
}

.pagination strong {
    font-weight: bold;
}

.pagination a.prevEnd {
    padding: 0 30px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/faq_pager_arrow_icon.png') 4px center no-repeat;
    color: #acacac;
}

.pagination a.nextEnd {
    padding: 0 30px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/faq_pager_arrow_next_icon.png') 70px center no-repeat;
    color: #acacac;
}

/*FAQ 작성 페이지*/
#write_form {
    padding: 90px 130px;
    font-weight: 600;
    box-sizing: border-box;
    width: 100%;
}

.faq_write_ttl {
    font-size: 32px;
    color: #222;
    text-align: left;
    font-weight: 600;
    margin-bottom: 38px;
}

#write_form .board {
    margin-top: 40px;
}

#write_form.faq_write_form .container {
    border-bottom: 1px solid #222222;
    border-top: 1px solid #222222;
}

#write_form.faq_write_form .boardNavigation {
    text-align: center;
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

#write_form .row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    column-gap: 70px;
    min-height: 66px;
    line-height: 60px;
    padding: 0 10px;
}

#write_form.faq_write_form .row:nth-child(3) {
    align-items: flex-start;
}

#write_form.faq_write_form .row:nth-child(3) .inquiry_title {
    padding-top: 20px;
}

#write_form .row p {
    font-size: 12px;
}

#write_form .row .inquiry_title {
    flex: 0 0 80px;
    overflow: hidden;
    word-break: break-all;
    font-size: 16px;
    color: #222222;
}

#write_form .row.first .inquiry_title.title-2 {
    margin-left: 100px;
}

#write_form.faq_write_form select {
    width: 208px;
    height: 46px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    color: #222222;
    padding-left: 20px;
    background: #fff url(https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/faq_arrow_icon.png) 180px center no-repeat;
    background-size: 18px 18px;
    appearance: none;
    font-size: 15px;
    font-weight: 500;
}

#write_form.faq_write_form select[name="extra_vars2"] {
    margin-left: -40px;
}

#write_form input[type="text"] {
    width: 100%;
    height: 46px;
    outline: none;
    border: none;
    border-radius: 6px;
    color: #222222;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #d0d0d0;
    padding-left: 20px;
}

#write_form input[type="text"]::placeholder {
    color: #222;
}

#write_form .inquiry_form {
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    outline: none;
    resize: none;
    margin: 12px 0;
    overflow: hidden;
}

#write_form .inquiry_form .ck-rounded-corners {
    border-radius: 6px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-weight: 400;
}

#write_form .inquiry_form .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
    border-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#write_form .inquiry_form .ck-rounded-corners ul ul {
    padding: revert;
}

#write_form .buttonOfficial {
    background-image: none;
    margin: 0 10px;
}

#write_form button.btn_write_cancel {
    font-size: 14px;
    padding: 0;
    border-radius: 6px;
    width: 92px;
    height: 40px;
    box-shadow: none;
    font-weight: 500;
    color: #666666;
    background: #fff;
    border: 1px solid #666666;
    cursor: pointer;
}

#write_form a.btn_del {
    width: 92px;
    height: 40px;
    padding: 0; 
    background-image: none;
    border-radius: 6px;
    box-shadow: none;
    background: #acacac;
    border: none;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 40px;
    color: #fff;
    margin-left: 14px;
}

#write_form .buttonOfficial button:hover,
#write_form .buttonOfficial input:hover
#write_form a.btn_del:hover  {
    transform: translate(0, 0);
}

input[type="submit"].btn:hover, input[type="button"].btn:hover, .btn_wrap .btn:hover {
    transform: translate(0)
}

#write_form .buttonOfficial input {
    width: 92px;
    height: 40px;
    border-radius: 6px;
    font-size: 14px;
    padding: 0;
    box-shadow: none;
    color: #fff;
    font-weight: 400;
    background: #0072ff;
    border: none;
}

.board .boardNavigation .pagination {
    border: none;
}

/*FAQ 리스트 형식*/
.con_top h1.list_format,
.faq_sub_text.list_format,
.Inquiry_history,
.btn_faq_write {
    text-align: left !important;
    padding: 0 130px;
}

.faq_list_box .article .a_cont .xe_content {
    height: auto;
    max-height: 630px;
    overflow-y: auto;
    margin-right: 42px;
    font-size: 16px;
    padding-right: 42px;
}

.faq_list_box .article .a_cont .xe_content ol{
    list-style: decimal;
    padding: revert;
}

.faq_list_box .article .a_cont .xe_content ul {
    list-style: inside;
    padding: revert;
}

.faq_list_box .article .a_cont .xe_content img {
    max-width: 100%;
}

.faq_list_box .article .a_cont .xe_content figure {
    clear: both;
    display: table;
    margin: 0 auto;
    min-width: 50px;
    text-align: center;
}

.faq_list_box .article .a_cont .xe_content figure.image-style-side {
    float: right;
}

.faq_list_box .article .a_cont .xe_content figure figcaption {
    background: #f7f7f7;
    caption-side: bottom;
    color: #333;
    display: table-caption;
    height: auto;
    width: 100%;
    line-height: 20px;
    text-align: center;
    font-size: .75em;
    outline-offset: -1px;
    padding: .6em;
    word-wrap: break-word;
    box-sizing: border-box;
}

.faq_list_box .article .a_cont .xe_content table {
    overflow: hidden;
    border: 1px solid #b3b3b3;
    border-spacing: 0;
    width: 100%;
    height: 100%;
}

.faq_list_box .article .a_cont .xe_content table th,
.faq_list_box .article .a_cont .xe_content table td {
    border: 1px solid #dfdfdf;
    min-width: 2em;
    padding: .4em;
    overflow-wrap: break-word;
    position: relative;
}

.faq_list_box .article .a_cont .xe_content blockquote {
    border-left: 5px solid #ccc;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    padding: 0 1.5em;
}

.con_top h1.list_format {
    margin-top: 0;
}

.con_top .box.list_format {
    position: absolute;
    top: 162px;
    right: 130px;
}

.Inquiry_history {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    padding: 0 116px;
    text-align: right !important;
}

.Inquiry_history.list_format {
    display: block;
}

.Inquiry_history a {
    color: #acacac;
    position: relative;
}

.Inquiry_history a::before {
    content: '';
    clear: both;
    display: block;
    width: 12px;
    height: 10px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/qna_icon.png') no-repeat;
    position: absolute;
    top: 6px;
    left: -18px;
}

.btn_faq_write {
    display: none;
}

.btn_faq_write.list_format {
    display: block;
}

.btn_faq_write a {
    position: relative;
    padding-left: 18px;
    color: #0072ff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.btn_faq_write a::before {
    display: block;
    clear: both;
    content: '';
    width: 12px;
    height: 12px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/faq_write_icon.png') no-repeat;
    position: absolute;
    left: 0;
    top: 5px;
}

.btn_faq_write a.recommended {
    float: right;
    color: #666;
}

.btn_faq_write a.recommended::before {
    display: block;
    clear: both;
    content: '';
    width: 16px;
    height: 16px;
    background: url('https://web-files-tokyo-cdn.masangsoft.com/public/CS/images/thumb_icon.png') no-repeat;
    position: absolute;
    left: -2px;
    top: 3px;
}

.board {
    position: relative;
}

.category_box.list_format {
    height: auto;
    background: transparent;
    margin: 0 auto;
    margin-top: -50px;
    margin-bottom: 12px;
}

.category_box.list_format .category_ttl {
    display: none;
}

.list_format_cont {
    display: none;
}

.list_format_cont.list_format {
    display: block;
    width: 100%;
    padding: 0 130px;
    box-sizing: border-box;
}

.list_manager {
    position: absolute;
    right: 13px;
    top: 15px;
    width: 24px;
}

.list_manager img {
    vertical-align: middle;
}

@media screen and (max-width: 1660px) {
    .btn_faq_write a.recommended {
        float: inherit;
        margin-left: 10px;
    }

    .con_top .article_box {
        justify-content: center;
    }

    .category_box ul {
        width: auto;
        justify-content: center;
        padding: 0;
    }

    .faq_content {
        justify-content: center;
    }

    .con_top h1.list_format,
    .faq_sub_text.list_format {
        text-align: center !important;
    }

    .btn_faq_write.list_format {
        text-align: center !important;
        margin-top: 10px;
        padding: 0;
    }

    .con_top h1.list_format {
        margin-top: 90px;
    }

    .con_top .box.list_format {
        position: inherit;
    }

    .category_box.list_format {
        position: inherit;
        margin: 20px 0;
        top: 0;
    }

    .category_box.list_format ul {
        padding: 0;
    }

    .list_format_cont.list_format {
        padding: 0;
    }

    #write_form .row.first .inquiry_title.title-2,
    #write_form.faq_write_form select[name="extra_vars2"] {
        margin-left: 0;
    }

    #write_form .row p {
        display: none;
    }
}

@media screen and (max-width: 1460px) {
    .con_top .box input {
        margin-left: 30px !important;
    }
}

@media screen and (max-width: 1200px) {
    .mobile_copyright {
        margin: 0;
    }

    #write_form .row {
        column-gap: 20px;
    }

    .Inquiry_history {
        text-align: center !important;
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    .con_top .article_answer .a_ttl,
    .faq_list_box .q {
        padding-left: 20px;
    }

    .con_top .article_list .a_cont,
    .faq_list_box .a_cont {
        padding-left: 20px;
    }

    .faq_list_box .q a {
        display: flex;
    }

    .faq_list_box .q a span.title { 
        display: inline-block;
        width: 150px;
        word-wrap: break-word;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        margin-left: 5px;
    }

    .article_recommend {
        height: 96px;
    }

    .article_recommend {
        padding-left: 20px;
    }

    .r_contact {
        left: 20px;
        right: inherit;
        bottom: 21px;
    }

    .r_contact .c_text {
        display: none;
    }

    #write_form {
        padding: 90px 20px;
    }

    #write_form .row .inquiry_title {
        display: none;
    }

    .con_top h1.list_format, .faq_sub_text.list_format {
        padding: 0;
    }
}

@media screen and (max-width: 600px) {
    .con_top form.box {
        width: 84%;
    }
}