@import url('reset.css');

/* 전역 스타일 */
html {
    scroll-behavior: smooth;
    /* 부드러운 스크롤 */
}

body {
    overflow-x: hidden;
}

/* 반응형 상단 네비게이션 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 1rem 5rem;
    align-items: center;
    z-index: 1000;
}



.top-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    height: 80px;
    background:#f5f4f6;
}

.lang-wrap {
    position: relative;
}

.lang-btn {
    background: none;
    border: 0;
    cursor: pointer;
}

.lang {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: -1rem;
    min-width: 100px;
    background: #4c4c4c;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    padding: .5rem 0;
    z-index: 1000;
}

.lang.active {
    display: block;
}

.lang li {
    list-style: none;
}

.lang a {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 1rem;
    color: #ffffffc9;
    text-decoration: none;
    white-space: nowrap;
}

.lang a:hover {
    color: #fff;
}

.ta-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.ta-item .search {
    width: 18rem;
    height: 50px;
    border: 0;
    border-radius: 3rem;
    background: linear-gradient(27deg,
            #6557b8 0%,
            #6557b8 60%,
            #f44336 100%);
    color: #ffffffe8;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 30px;
    cursor: pointer;
    transition: all .3s ease;
}

.ta-item .search .icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff33;
    border-radius: 50%;
}

.ta-item .search .icon img {
    width: 23px;
}

.ta-item .search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(57, 22, 176, .25);
}

.ta-item .logo {
    min-width: 130px;
    margin-top: -5px;
}

.ta-item .search img {
    width: 25px;
    filter: brightness(0) invert(1);
}

.ta-item .btn {
    height: inherit !important;
    padding: 5px 25px;
    width: inherit !important;
    gap: 1rem;
    border-radius: 3rem;
    font-size: inherit !important;
}

.lang {
    display: flex;
    gap: 0;
    display: none
}

.lang li {
    cursor: pointer;
    padding: 4px 15px;
    border-radius: 3rem;
    transition: background 0.2s;
}

.lang li:nth-child(5),
.lang li:nth-child(6) {
    display: none;
}

.lang li:hover,
.lang li.active {
    color: #de682b;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: none;
    border: 0;
    cursor: pointer;
}

.current-lang {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 본문 타이틀 */
.haad-title {
    margin: 120px auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1440px;
}

.haad-title h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: clamp(12px, 2vw, 20px);
    line-height: 1.3;
    word-break: keep-all;
}

.haad-title p {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
}
.section-area{
        display: flex;
        gap: 2rem;
        max-width: 1440px;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto 2rem;
}
/* 섹션 스타일 */
section.chapter {
    padding: 120px 20px;
    transition: background 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 9rem 3rem 3rem;
    flex-wrap: wrap;
    margin: 0  ;
    width: calc(50% - 2rem);
    border-radius: 1.5rem;
    box-shadow: 0px 9px 10px 0 rgb(118 118 118 / 28%);
}

.chapter-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.chapter-title h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffffe0;

    text-align: center;
}

.chapter-title p {
    color: #fff !important;
    font-size: 1.4rem !important;
    word-break: keep-all;
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
}

.chapter-title p span {
    color: yellow;
}

/* 리스트 카드형 */
section {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

/* 애니메이션 제외 */
section.verify-section {
    opacity: 1;
    transform: none;
    transition: none;
}

section.chapter ul {
    display: flex;

    gap: 12px;
    width: 100%;
    margin: 2rem 0 0 0;
}

section.chapter li {
     background: #fff;
     padding: 1rem 0;
     border-radius: 5px;
     box-shadow: 0px 6px 10px 0px rgba(31, 22, 19, 0.2);
     transition: transform 0.3s, box-shadow 0.3s;
     opacity: .95;
     word-break: keep-all;
     min-width: 125px;
     width:125px;
}

section.chapter li:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    opacity: 1;
}

section.chapter h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align:center;
}

section.chapter h3 img {
    height: 40px;
}

section.chapter p {
    color: #555555e8;
    display: none;
    flex-direction: column;
    gap: .5rem;
    line-height: 140%;
    font-size: 1rem;
    font-weight: 700;
}

section.chapter p span {
    font-weight: 600;
}




/* 스크롤 다운 아이콘 */
.scroll-area {
    width: 100%;display:none;
}

.scroll-down {
    width: 30px;
    height: 30px;
    margin: 25px auto 0;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-down::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 15px;
    height: 15px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateX(-50%) rotate(-45deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* 섹션 배경색 전환 */
.chapter:nth-of-type(1) {
    background: url(../images/vimg01.png) no-repeat right 2rem bottom #d9601d;
    /* 발급 */
}

.chapter:nth-of-type(2) {
    background: url(../images/vimg02.png) no-repeat right 1rem top -1rem #2f9275;
    /* 모바일 */
}

.chapter:nth-of-type(3) {
    background: url(../images/vimg04.png) no-repeat right 2rem center #2c78b8;
    /* 전송 */
}

.chapter:nth-of-type(4) {
    background: url(../images/vimg03.png) no-repeat right 1rem bottom 1rem #6557b8;

    /* 인증 */
}
.cs {
    display: flex;
    flex-direction: column; max-width: 1440px;
    margin: 7rem auto 0;
}
.cs-info {
    text-align: center;
    padding:1rem;
    border-radius: 0 0 1.5rem 1.5rem;
    background:#dbd6ea;
    color: #504c45;

}
.cs-area {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 2rem;
    width: 100%;

    position: relative;
    background: linear-gradient(360deg, #e8e8f7, #f8f5ff);

    border-radius:1.5rem 1.5rem 0 0;
}

.cs-item {
    display: flex;
    width: 100%;
    max-width: 700px;
}

.cs-item li {
    padding: 1rem 0 1rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    width: 100%;
    color: #525252;
    font-weight: 700;
}

.cs-item li:first-child {
    padding: 1rem 5rem 1rem 0;
    align-items: flex-end;
}

.cs-item li span {
    font-size: 1.9rem;
    font-weight: 700;
    color: #6557b8;
    line-height: 110%;
}

.cs-area img {
    border-radius: 100%;
    width: 140px;
    top: -4rem;
    position: absolute;
}

.cs-area span {
    font-size: 90%;
    font-weight: 500;
}

/* ===========================
   FOOTER
=========================== */
footer {
    margin: 4rem auto 2rem;
    line-height: 150%;
    max-width: 1440px;

}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-info{display:Flex; flex-wrap:wrap; gap:2px 1.2rem;}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.footer-nav ul {
    display: flex;
    flex-wrap:Wrap;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.privacy-link {
    color: #2e7ab5
}

.footer-marks {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    align-items: center;
}

.mark-btn {
    display: block;
}

.mark-btn img {
    display: block;
    height: 80px;
    object-fit: contain;
}

/* popup */
.image-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.image-popup:target {
    display: block;
}

.image-popup-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.image-popup-box {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: calc(100% - 2rem);
    margin: 5vh auto;
}

.image-popup-box img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    background: #fff;
}

.image-popup-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}

.image-popup-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.image-popup-box {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: calc(100% - 2rem);
    margin: 5vh auto;
}

.image-popup-box img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    background: #fff;
}

.image-popup-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}


>>>>>>>main .tabs button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 3px solid transparent;
}

.tabs button.active {
    border-color: #0054a6;
    font-weight: 700;
}

.tab-content {
    display: none;
    padding: 1rem 0;
}

.tab-content.active {
    display: block;
}

/* 약관/개인정보처리방침 공통 */
.terms-page {}

.breadcrumb {
    margin-bottom: 14px;
    color: #777;
}

.terms-title {
    margin: 0 0 24px;
    font-size: 34px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.04em;
}

.terms-intro {
    margin-bottom: 36px;
    padding: 26px 28px;
    border: 1px solid #e1e6ed;
    border-radius: 16px;
    background: #f5f8fc;
    word-break: keep-all;
}

.terms-index {
    margin-bottom: 44px;
    padding: 28px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
}

.terms-index h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.terms-index-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.terms-index-list a {
    display: block;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
    color: #333;
    text-decoration: none;
}

.terms-index-list a:hover,
.terms-index-list a:focus {
    border-color: #cfe2ff;
    background: #f0f6ff;
    color: #176bd8;
    outline: none;
}

.terms-section {
    padding: 32px 0 8px;
    border-top: 1px solid #ddd;
    scroll-margin-top: 100px;
}

.terms-section-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.03em;
}

.terms-content {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.9;
    word-break: keep-all;
}

.terms-content p {
    margin: 0 0 16px;
}

.terms-content ol,
.terms-content ul {
    margin: 12px 0 18px;
    padding-left: 24px;
}

.terms-content li+li {
    margin-top: 6px;
}

.terms-footer {
    margin-top: 48px;
    padding: 24px 26px;
    border-radius: 14px;
    background: #f1f3f5;
}

/* 개인정보처리방침 표 */
.terms-table {
    width: 100%;
    margin: 18px 0 24px;
    border-collapse: collapse;
    border-top: 2px solid #333;
    background: #fff;
}

.terms-table th,
.terms-table td {
    padding: 13px 14px;
    border: 1px solid #ddd;
    vertical-align: middle;
    line-height: 1.6;
}

.terms-table th {
    background: #f5f7fa;
    font-weight: 700;
    text-align: center;
}

.terms-table td {
    text-align: left;
}

.terms-icon-cell {
    text-align: center !important;
}

.terms-icon-cell img {
    display: block;
    max-width: 80px;
    height: auto;
    margin: 0 auto 8px;
}

/* 버튼 */
.terms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 8px 0 16px;
    padding: 9px 16px;
    border: 1px solid #176bd8;
    border-radius: 999px;
    background: #fff;
    color: #176bd8;
    font-weight: 700;
    cursor: pointer;
}

.terms-btn:hover,
.terms-btn:focus {
    background: #176bd8;
    color: #fff;
    outline: none;
}

/* 개인정보처리방침 이전 버전 목록 */
.privacy-history {
    margin: 12px 0 18px;
    padding: 4px 20px;
    list-style: none;
    border-radius: 14px;
    background: #f1f3f5;
}

.privacy-history li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
}

.privacy-history li + li {
    border-top: 1px solid #ddd;
}

.privacy-history .history-date {
    font-size: 15px;
    color: #333;
}

.privacy-history .history-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 16px;
    border: 1px solid #176bd8;
    border-radius: 999px;
    background: #fff;
    color: #176bd8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.privacy-history .history-link:hover,
.privacy-history .history-link:focus {
    background: #176bd8;
    color: #fff;
    outline: none;
}

@media (max-width: 480px) {
    .privacy-history li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 모달 */
.policymodal.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    padding: 48px 20px;
    background: rgba(0, 0, 0, 0.45);
    overflow-y: auto;
}

.policymodal-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
}

.policyclose {
    float: right;
    padding: 6px 10px;
    border-radius: 8px;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.policyclose:hover,
.policyclose:focus {
    background: #f1f3f5;
    outline: 2px solid #176bd8;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}



/* 반응형 */
@media (max-width:1800px) {
    section.chapter {
        flex-direction: column;
        padding: 2.5rem 3rem 1rem;
    }

    section.chapter h3 {
        flex-direction: column-reverse;
        gap: 1.2rem
    }

    .chapter-title {
        width: auto !important;
    }
        section.chapter ul {
            max-width: 1100px;
        }


}

@media (max-width: 1200px) {
    section.chapter {
        padding-bottom: 17rem !important;
        background-position: bottom center !important;
    }

    section.chapter ul {
        max-width: 800px;
        flex-direction:column;
        }
    section.chapter li{
        width:auto;
        padding: 0.5rem 1rem;
    }
 section.chapter h3{    flex-direction: row;
                          display: flex;
                          width: 100%;
                          justify-content: space-between;}

    .chapter-title {
        margin-bottom: 2rem
    }



    .top-area {
        height: inherit;
        position: relative;
        padding: 80px 2rem 0;
        background:none;
    }

    .terms-section {
        scroll-margin-top: 140px;
    }

    .haad-title {
        margin: 2rem 2rem;
        position: relative;
    }

    .haad-title p {
        width: calc(100% - 200px);
    }

    .haad-title img {
        position: absolute;
        right: 1rem;
        bottom: -3.5rem;
    }

    .head-title p {
        width: calc(100% - 150px);
    }

    .ta-item .search {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
    }

    .ta-item .search .icon {
        border-radius: 0;
    }

    .sidenav {
        display: none;
    }

    .sub-header {
        flex-direction: column-reverse;
    }

    nav.location {
        width: 100%;
    }

    nav.location ul {
        justify-content: center;
        padding: 1rem;
        background: #fff;
        border-radius: 1rem;
        margin: 2rem 0;
        border: 1px solid #b2b2b2;
        box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05);
        border-radius: 6px;
    }

    .header-title {
        width: 100% !important;
    }

    .info-list {
        gap: 1rem !important;
    }

    footer {
        margin: 2rem 1rem;
    }

}

@media (max-width: 768px) {
    section.chapter {
        background-position: right 0 !important;
        margin: 0 1rem 1rem !important;
        padding: 2rem 2rem 15rem !important;
        background-size: 40%;
        background-position: bottom center !important;
        width: calc(100% - 0rem);
    }

    .section.chapter p {
        font-size: 1.3rem;
        fort-weight: 600
    }

    .top-area {
        flex-direction: column;
        background: none;
    }

    .terms-section {
        scroll-margin-top: 180px;
    }

    .head-info {
        align-items: center !important;
        flex-direction: column;
        background: none;
    }

    header {
        padding: 0;
    }

    section.chapter h3 {
        flex-direction: row;
        margin: 0;
    }

    section.chapter ul p {
        display: none
    }

    .lang li:nth-child(5),
    .lang li:nth-child(6) {
        display: block;
    }

    .ta-item:first-child {
        gap: 1rem;
    }

    .ta-item:first-child button {
        width: 100%;
        justify-content: space-between;
    }

    .chapter-title h2 {
        font-size: inherit;
    }

    .chapter-title p {
        font-size: 1.4rem;
    }

    .ta-item .btn {
        margin: 0 !important;
    }

    .ta-item .btn img {
        display: none;
    }

    .haad-title {
        padding: 0 0 12rem !important;
    }

    .haad-title img {
        left: 50%;
        right: 50%;
        transform: translatex(-50%);
    }

    .haad-title p {
        width: calc(100% - 0px);
    }

    .haad-title h1 {
        line-height: 120%;
        word-break: keep-all;
    }

    .cs-area {
        margin: 0;
        flex-direction: column;
        gap: 0;
    }

    .cs-area img {
        border-radius: 100%;
        width: 140px;
        position: absolute;
        right: 2rem;
    }

    .cs-item {
        flex-direction: column;
        background: none;
        box-shadow: none;
        gap: 1rem;
        padding: 1rem;
    }

    .cs-item li {
        border-radius: 1rem;
        background: #ffffff;
        box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.05);
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        padding: 2rem 0 2rem 3rem;
    }

    section.chapter ul {
        max-width: 500px;
    }

    .btn-area {
        flex-direction: column;
    }

    .btn-area a {
        margin: 0 !important;
        width: 100%;
    }

    .info-list {
        flex-wrap: wrap;
    }



    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-nav ul {
        display: flex;
        justify-content: center;
    }



    .ta-item .search {
        gap: 1rem !important;
        width: 100%;
        justify-content: space-between;
        border-radius: 0
    }





    section.chapter ul {
        grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
        gap: .5rem;
        max-width: 100%;
    }



    section.chapter h3 {
        font-size: 1.2rem;
    }


.cs-area {
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    background: #efeff3 !important;
}


    footer {
        padding: 0 1.5rem !important;
    }

    .footer-inner {
        text-align: center;
    }

    .ta-item .btn {
        display: none;
    }

    .lang li {
        padding: 0 .5rem !important;
    }

    .terms-page {
    }

    .terms-title {
        font-size: 28px;
    }

    .terms-intro,
    .terms-index {
        padding: 22px;
    }

    .terms-index-list {
        grid-template-columns: 1fr;
    }

    .terms-section-title {
        font-size: 20px;
    }

    .terms-content {
        word-break: break-word;
    }

    .terms-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cs-item li:first-child {
        align-items: flex-start;
        padding: 2rem 0 2rem 3rem;
    }
}

/* 초소형 화면 (480px 이하) */
@media (max-width: 480px) {


    .ta-item .search {
        font-size: 1.1rem;
    }

}