@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}
body {
    font-size: 14px;
    line-height: 1.6;
}

/*이전 약관*/
.term-wrap header{position: relative!important; height: 40px!important;}
.term-wrap .term-history-wrap {
    display: flex;
    justify-content: end;
    padding: 0;
    margin-bottom:10px;
}
.term-wrap .term-history-wrap .btn-term-history {
    padding: 0.5rem 2rem !important;
    height: auto !important;
    border-radius: 0.5rem;
    background-color: #f9f9f9;
}
.term-start-date {
    font-size: 1.6rem;
}
.term-wrap > header .term-history-wrap .term-history-list {
    display: none;
    width: 100%;
    max-width: 200px;
    max-height: 105px;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid #707070;
    padding: 10px 15px;
    background-color: #fff;
}
.btn_term_history_arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg); /* 기본: 오른쪽 화살표 */
    transition: transform 0.3s ease;
    margin-top: -4px;
}

.btn_term_history_arrow.open {
    margin-top: 4px;
    transform: rotate(-135deg); /* 열린 상태: 아래쪽 화살표 */
}
.term-wrap > header .term-history-wrap .term-history-list.active {
    display: block;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
} 
.term-wrap > header .term-history-wrap .term-history-list {
    display: none;
    width: 100%;
    min-width: 200px;
    max-height: 105px;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid #707070;
    padding: 10px 15px;
    background-color: #fff;}

@media (max-width: 768px) {
.term-wrap .term-history-wrap {
    display: flex;
    justify-content: end;
    padding: 0;
    margin-right: 10px;
    margin-bottom:0px;
    margin-top: 26px;
}

}
    
/* 약관 Style 통합 - 20240307 */
.term-wrap{padding: 20px 0 0;}
.terms_wrap {
    padding: 20px 0 0;
    line-height: 1;
}
.terms_wrap a {
    color: #0643be;
}
.terms_wrap a:hover,
.terms_wrap a:focus {
    color: #0643be;
}
.terms_wrap h1 {
    font-size: 2.5rem;
    padding: 0 0 20px;
}
.terms_wrap h2 {
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0 0 15px;
}
.terms_wrap h3 {
    font-size: 1.8rem;
    padding: 0 0 10px;
}
.terms_wrap h4 {
    font-size: 1.8rem; line-height: 1.8;
    padding: 14px 0 10px;
}
.terms_wrap p {
    font-size: 1.6rem; line-height: 1.6;
    padding: 0 0 5px;
}
.terms_wrap p.terms_num {
    padding-left: 20px;
    word-break: break-all;
    
}
.terms_wrap p span {
    margin-left: -20px;
    width: 20px;
    display: inline-block;
}
.tn_depth_01 {
    padding-left: 24px;
    margin-bottom: 5px;
}
.tn_depth_02 {
    padding-left: 48px;
    margin-bottom: 5px;
}
.tn_depth_03 {
    padding-left: 72px;
    margin-bottom: 5px;
}
.tn_depth_04 {
    padding-left: 96px;
    margin-bottom: 5px;
}
.tn_depth_05 {
    padding-left: 120px;
    margin-bottom: 5px;
}
.tn_depth_06 {
    padding-left: 144px;
    margin-bottom: 5px;
}

.table_wrap {
    padding: 0 0 10px 0;
    min-width: 280px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
    clip: rect(0 0 0 0);
}
.terms_wrap table {
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 14px; line-height: 18px;
}
.terms_wrap table {
    width: 100%;
    border-top: 3px solid #555;
    border-bottom: 1px solid #555;
    vertical-align: middle;
    margin: 5px 0 10px;
    min-width: 500px;
}
.terms_wrap table thead th {
    padding: 10px;
    border: 1px solid #555;
    background-color: #f5f5f5;
    vertical-align: middle;
    font-weight: bold;
    text-align: center;
}
.terms_wrap table thead th:first-child {
    border-left: none;
}
.terms_wrap table thead th:last-child {
    border-right: none;
}
.terms_wrap table tbody th.thl {
    text-align: left;
}
.terms_wrap table tbody tr {
    vertical-align: middle;
}
.terms_wrap table tbody tr.btl {
    border-bottom: 1px solid #555;
}
.terms_wrap table tbody td {
    text-align: center;
    padding: 10px;
    vertical-align: middle;
    border-top: 1px dotted #c7c7c7;
    border-right: 1px solid #555;
    border-bottom: 1px dotted #c7c7c7;
    border-left: 1px solid #555;
}
.terms_wrap table tbody td:first-child {
    border-left: none;
}
.terms_wrap table tbody td:last-child {
    border-right: none;
}
.terms_wrap table tbody td.txl {
    text-align: left;
}
.terms_wrap table th {
    padding: 10px;
    border-bottom: 1px solid #555;
    background-color: #f5f5f5;
    vertical-align: middle;
    font-weight: bold;
    text-align: center;
}
.terms_wrap table td {
    text-align: center;
    padding: 10px;
    vertical-align: middle;
    border-top: 1px dotted #c7c7c7;
    border-right: 1px solid #555;
    border-bottom: 1px dotted #c7c7c7;
    border-left: 1px solid #555;
}
.terms_sub_box {
    padding: 10px 20px;
    background: #f5f5f5;
    margin: 5px 0;
}

.terms_wrap .terms_marks_wrap {
    width: 100%;
    margin: 0 auto 20px;
}

.terms_wrap .privacy_marks_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.terms_wrap .privacy_marks_list figure {
    width: calc(100% / 3 - 50px);
    text-align: center;
    margin: 10px;
    padding: 10px;
    border: 1px solid #62a5e4;
}
.terms_wrap .privacy_marks_list figure img {
    padding: 10px;
    text-align: center;
}
.terms_wrap .privacy_marks_list figcaption {
    text-align: left;
    display: flex;
    flex-direction: column;
}
.terms_wrap .privacy_marks_list figcaption strong {
    width: 100%;
    text-align: center;
}
.terms_wrap .privacy_marks_list figcaption ul {
    list-style-type: none;
    margin: 0 10px;
}

/* 약관 Style 통합 - 20240307 끝 */
@media (max-width:1279px) {
.term-wrap{padding: 30px 30px;}
}

/* 약관 style 추가 */
@media (max-width: 768px) {
    .terms_wrap table tbody td {
        overflow: hidden;
        white-space: normal;
        word-break: keep-all;
    }
    .terms_wrap table th {
        white-space: normal;
    }
    .terms_wrap table td {
        max-width: 250px;
    }
    .table_wrap {
        overflow-x: scroll;
        min-width: 0;
        width: 100%;
    }
    .table_wrap {
        overflow-x: scroll;
        min-width: 0;
    }
    .terms_wrap .privacy_marks_list figure {
        width: calc(100% / 2 - 50px);
    }
    /*약관*/
    .terms{padding: 100px 0;}
    .term-wrap{padding:30px 0 0!important;}
    .terms_wrap {padding: 20px 30px 0!important; line-height: 1; font-size: 14px!important;}
    .terms .header_area .tit{font-size:2.5rem; text-align: center;} 
    .term-wrap > .term_history_wrap {
        border-bottom: 1px solid #ccc;
        position: relative;
        display: flex; 
        flex-direction: column;
        justify-content: end;
        align-items: center;
        gap: 15px;
        padding-bottom:30px!important;
        margin-bottom:30px!important;}
    .btn_select {
        width:100%;
        min-width: 250px;
        padding:10px 15px;
        background-color: #fff;
        border: 1px solid #1a1a1a;
        font-size: 1.7rem;
        line-height: 1.7;}

    .terms_wrap h1 { font-size: 2.2rem; padding: 0 0 20px; }
    .terms_wrap h2 {  font-size: 2rem; font-weight: 700; padding: 0 0 15px; }
    .terms_wrap h3 { font-size: 1.6rem;  padding: 0 0 10px; }
    .terms_wrap h4 { font-size: 1.4rem; line-height: 1.8; padding: 14px 0 10px; }
    .terms_wrap p { font-size: 1.4rem; line-height: 1.6; padding: 0 0 5px; }

}
@media (max-width: 350px) {
    .terms_wrap .privacy_marks_list figure {
        width: 100%;
    }
}
/* 약관 style 추가 끝 */
