/* Celltrion Medical Products Portal Styles */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Form Elements - 버튼과 입력 필드에 폰트 적용 */
button,
input,
select,
textarea {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* List Styles - 불릿 표시를 위한 기본 스타일 */
ul {
    list-style-type: disc;
    padding-left: 20px;
}

ol {
    list-style-type: decimal;
    padding-left: 20px;
}

li {
    display: list-item;
}

p {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
}

.wrapper {
    max-width: 1920px;
    margin: 0 auto;
}

.visual {
    background-color: #f5f5f5;
    width: 100%;
    padding: 10% 0;
    text-align: left;
    background-image: url(/images/main_visual1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}

.visual_inner {
    width: calc(100% - 100px);
    max-width: 1624px;
    margin: 0 auto;
}

.visual_inner .title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.visual_inner p {
    font-size: 2.25rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.visual_inner p br {
    display: none;
}

.contents {
    width: calc(100% - 100px);
    max-width: 1624px;
    margin: 0 auto;
}

/* Detail Page Specific Styles */
.detail-content .contents {
    width: calc(100% - 100px);
    max-width: 1624px;
    margin: 80px auto 150px;
}

.detail-content .contents .video_wrap {
    width: 100%;
    margin-bottom: 40px;
}

.detail-content .contents .video_wrap video {
    width: 100%;
    max-width: 800px;
    height: auto;
    background: #DADFDA;
    border-radius: 8px;
}

.detail-content .contents .file a.file-btn {
    display: flex;
    width: fit-content;
    padding: 10px 20px 10px 10px;
    align-items: center;
    gap: 10px;
    border-radius: 500px;
    border: 1px solid #E8E8E8;
    background: #FFF;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.detail-content .contents .file a.file-btn img {
    width: 36px;
}

.detail-content .contents .file a.file-btn p {
    color: #222;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: -0.16px;
    margin: 0;
}

.detail-content .contents .no-content {
    padding: 60px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 150px;
}

.detail-content .contents .no-content p {
    color: #666;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
}

.detail-content .contents .audio_wrap {
    width: 100%;
    margin-bottom: 40px;
}

.detail-content .contents .audio_wrap audio {
    width: 100%;
    max-width: 500px;
}

.detail-content .contents .next {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.detail-content .contents .next a {
    color: #55B954;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.16px;
    width: fit-content;
}

.detail-content .nav .inner h6 {
    margin-bottom: 0;
}

.content {
    width: 100%;
    padding: 150px 0;
}

.detail-content {
    width: 100%;
    padding: 0;
}

.content_inner {
    width: 100%;
    margin-bottom: 60px;
}

.content_inner.confirm_inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Confirm Box Styles */
.confirm_box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.confirm_box h2 {
    color: #55B954;
    font-size: 24px;
    margin-bottom: 20px;
}

.confirm_box p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.confirm_wrap,
.btn_wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.confirm_wrap a,
.btn_wrap a {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
}

.btn_confirm {
    background: #55B954;
    color: white;
    transition: background 0.2s ease;
}

.btn_confirm:hover {
    background: #369c2a;
}

.btn_cancel {
    background: #ccc;
    color: #333;
    transition: background 0.2s ease;
}

.btn_cancel:hover {
    background: #bbb;
}

/* Navigation Styles */
.nav {
    border: none;
    border-bottom: 1px solid #DDD;
    background: #FFF;
    padding: 28px 0;
}

.nav .inner {
    width: calc(100% - 100px);
    max-width: 1624px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.nav .inner a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.nav .inner a p {
    color: #55B954;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -0.16px;
}

.nav .inner h6 {
    color: #222;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.nav .inner .nav-back {
    margin-left: auto;
    color: #55B954;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 100%;
    letter-spacing: -0.16px;
}

/* Content Styles */
.contents h4 {
    color: #55B954;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.contents .video_wrap {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: end;
    gap: 40px;
    margin-bottom: 40px;
}

.contents .video_wrap video {
    width: 1186px;
    height: 666px;
    background: #DADFDA;
}

.contents .video_wrap .next {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.contents .video_wrap .next a {
    color: #55B954;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.16px;
}

.contents .file {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 150px;
}

.contents .file h5 {
    color: #000;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: -0.16px;
}

.contents .report {
    width: 100%;
    border-radius: 8px;
    background: #F6F6F6;
    padding: 20px 10px;
}

.contents .report p {
    color: #000;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: -0.16px;
    word-break: keep-all;
}

.contents .report p a {
    color: #55B954;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    letter-spacing: -0.16px;
}

/* Select Box Styles */
.select_box {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    gap: 120px;
    flex-wrap: wrap;
}

.select_box a {
    display: flex;
    width: auto;
    min-width: 200px;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #55B954;
    text-decoration: none;
    flex: 0 1 auto;
}

.select_box a:hover {
    outline: 1px solid #55B954;
}

.select_box a img {
    width: 36px;
    flex-shrink: 0;
}

.select_box a p {
    color: #111;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.16px;
    margin: 0;
}

.select_box select {
    padding: 10px;
    border-bottom: 1px solid #55B954;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1rem;
    min-width: 200px;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355B954' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}

.selected_button {
    display: block;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: #55B954;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.selected_button:disabled {
    background-color: #55B954;
    cursor: not-allowed;
}

.text_box {
    width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
    font-size: 1.125rem;
    color: rgb(151, 151, 151);
    padding: 20px 30px;
    border: 3px solid #ddd;
    border-radius: 5px;
}

.text_box h2 {
    text-align: center;
    margin: 20px 0 50px 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.text_box h3 {
    margin: 40px 0 10px 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.text_box ul {
    padding: 0 0 0 20px;
    margin: 10px 0;
    list-style-type: disc;
}

.text_box p {
    line-height: 1.6;
    margin-bottom: 15px;
    word-break: keep-all;
}

.text_box .publish_date {
    text-align: right;
    margin-bottom: 40px;
}

.text_box li {
    list-style: disc;
    margin: 20px 0 10px 0;
}

.mb-sm { margin-bottom: 10px; }
.mb-md { margin-bottom: 30px; }
.stylenone { list-style: none !important; }
.stylecirlce { list-style: circle !important; }

/* Text Box Table Styles */
.text_box table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    table-layout: fixed;
}

.text_box table,
.text_box table th,
.text_box table td {
    border: 1px solid #ddd;
}

.text_box table th,
.text_box table td {
    padding: 12px;
    word-break: keep-all;
}

.text_box table th {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: center;
}

.text_box table td {
    text-align: left;
}

.text_box table tr:hover {
    background-color: #fafafa;
}

/* Cookie Table Info Styles */
.text_box table td .cookie-info-category {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.text_box table td .cookie-info-type {
    display: block;
    margin-bottom: 8px;
}

.text_box table td .cookie-info-description {
    display: block;
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.popup-content h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.popup-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.popup-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.popup-btn.confirm {
    background-color: #55B954;
    color: white;
}

.popup-btn.cancel {
    background-color: #ccc;
    color: #333;
}

/* Cookie Settings Panel Styles */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.cookie-panel.show {
    left: 0;
}

.cookie-panel-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.cookie-panel-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.cookie-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cookie-panel-content {
    padding: 20px;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-category:hover {
    background-color: #f8f9fa;
}

.cookie-category .cookie-title {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.cookie-category .left-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-category .left-group span {
    line-height: 1;
    display: flex;
    align-items: center;
}

.cookie-category .accordion-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    margin-right: 10px;
}

.cookie-category .accordion-btn:hover {
    color: #333;
}

.cookie-category .category-content {
    display: none;
    margin-top: 10px;
    color: #666;
    font-size: 0.875rem;
    line-height: 1.4;
}

.cookie-category .category-content.show {
    display: block;
}

.cookie-category p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch.active {
    background-color: #55B954;
}

.toggle-switch.locked {
    background-color: #AAD4AA;
    cursor: not-allowed;
    pointer-events: none;
}

.toggle-switch.locked::after {
    transform: translateX(26px);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active::after {
    transform: translateX(26px);
}

.cookie-panel-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
    display: flex;
    gap: 10px;
}

.cookie-panel-footer button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
}

.cookie-panel-footer .reject-all {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-panel-footer .reject-all:hover {
    background-color: #e9ecef;
}

.cookie-panel-footer .confirm-choices {
    background-color: #55B954;
    color: white;
}

.cookie-panel-footer .confirm-choices:hover {
    background-color: #4AA34A;
}

/* Loading Spinner Styles */
.loading-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #55B954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner-text {
    position: absolute;
    margin-top: 100px;
    color: #55B954;
    font-size: 16px;
    font-weight: 500;
}

/* Top Button Styles */
.top-button {
    position: fixed;
    bottom: 10%;
    right: 3%;
    width: 50px;
    height: 50px;
    background-color: #55B954;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-button:hover {
    background-color: #4AA34A;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.top-button.show {
    opacity: 1;
    visibility: visible;
}

/* Footer Cookie Styles */
#cookie_ft {
    background: #FFF;
    box-shadow: 0 -4px 10px 0 rgba(0, 0, 0, 0.09);
    height: 294px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
}

#cookie_ft .inner {
    max-width: 1428px;
    width: calc(100% - 60px);
    margin: 52px auto;
}

#cookie_ft .txt {
    width: 100%;
    height: 100px;
    border: 1px solid #DDD;
    background: #FFF;
    padding: 20px 30px;
    overflow-y: scroll;
    margin-bottom: 40px;
}

#cookie_ft .txt p {
    margin: 0;
    color: #222;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.16px;
}

#cookie_ft .btn_wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cookie_ft .btn_wrap a {
    display: block;
    color: #FFF;
    text-align: center;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: -0.18px;
    border-radius: 4px;
    background: #A7A7A7;
    padding: 0 12px;
    text-decoration: none;
}

#cookie_ft .btn_wrap .btns {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

#cookie_ft .btn_wrap .btns button {
    border-radius: 4px;
    background: #55B954;
    color: #FFF;
    text-align: center;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: -0.18px;
    padding: 0 12px;
    border: 0;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background-color: #333;
    padding: 60px 0;
}

.footer_inner {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 50px;
    gap: 30px;
}

.footer_inner nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_inner nav ul {
    list-style: none;
    padding-left: 0;
}

.footer_inner nav ul li {
    margin-bottom: 16px;
}

.footer_inner nav ul li a {
    font-size: 1.125rem;
    color: #fff;
    text-decoration: none;
}

.footer_inner .coh-text p {
    font-size: 1.125rem;
    color: #fff;
    text-decoration: none;
    line-height: 1.3;
}

.footer_inner .coh-text p a {
    color: #55B954;
    text-decoration: none;
}

/* Responsive Styles */
@media screen and (max-width: 1700px) {
    .text_box {
        width: 90%;
        max-width: 1200px;
        box-sizing: border-box;
    }

    .nav {
        padding: 1.6471vw 0;
    }

    .nav .inner {
        width: calc(100% - 100px);
        gap: 8px;
    }

    .detail-content .contents {
        width: calc(100% - 100px);
    }

    .nav .inner a p {
        font-size: 16px;
        letter-spacing: -0.16px;
    }

    .nav .inner .nav-back {
        font-size: 16px;
        letter-spacing: -0.16px;
    }

    .nav .inner h6 {
        font-size: 16px;
        letter-spacing: -0.16px;
    }

    .contents {
        width: calc(100% - 100px);
        margin: 0 auto 80px;
    }

    .contents h4 {
        font-size: 2.9412vw;
        letter-spacing: -0.0294vw;
        margin-bottom: 2.3529vw;
    }

    .contents .video_wrap {
        gap: 2.3529vw;
        margin-bottom: 2.3529vw;
    }

    .contents .video_wrap video {
        width: 69.7647vw;
        height: 39.1765vw;
    }

    .contents .video_wrap .next {
        gap: 1.1765vw;
        flex: 1;
    }

    .contents .video_wrap .next a {
        font-size: 16px;
        letter-spacing: -0.16px;
    }

    .contents .file {
        gap: 1.1765vw;
        margin-bottom: 8.8235vw;
    }

    .contents .file h5 {
        font-size: 16px;
        letter-spacing: -0.16px;
    }

    .contents .report {
        border-radius: 0.4706vw;
        padding: 1.1765vw 0.5882vw;
    }

    .contents .report p {
        font-size: 16px;
        letter-spacing: -0.16px;
    }

    .contents .report p a {
        font-size: 16px;
        letter-spacing: -0.16px;
    }
}

/* 1500px 쿠키푸터 스타일 제거됨 - 1024px 이하에서 vw 문제 해결 */

/* 영상:next 비율 3:1 이상일 때 세로 정렬 */
@media screen and (max-width: 1220px) {

    .detail-content .contents .video_wrap,
    .contents .video_wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-content .contents .video_wrap video,
    .contents .video_wrap video {
        width: 100%;
        height: auto;
    }

    .detail-content .contents .video_wrap .next,
    .contents .video_wrap .next {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .visual_inner .title {
        font-size: 3rem;
    }

    .visual_inner p {
        font-size: 1.75rem;
    }

    .select_box {
        width: 80%;
        max-width: 500px;
        flex-direction: column;
        gap: 30px;
    }

    .select_box a {
        width: 100%;
    }

    .text_box {
        width: 90%;
        max-width: 800px;
        box-sizing: border-box;
    }

    .footer_inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .confirm_box {
        width: 80%;
        max-width: 500px;
        margin: 0 auto;
    }

    .detail-content .contents .next a {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    /* nav바 - vw 대신 고정값 사용 */
    .nav {
        padding: 15px 0;
    }

    .nav .inner {
        width: calc(100% - 100px);
        gap: 8px;
    }

    .nav .inner a p {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .nav .inner .nav-back {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .nav .inner h6 {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    /* 쿠키푸터 - vw 대신 고정값 사용 */
    #cookie_ft {
        height: auto;
        min-height: 200px;
        padding: 0;
    }

    #cookie_ft .inner {
        width: calc(100% - 60px);
        margin: 30px auto;
    }

    #cookie_ft .txt {
        height: 100px;
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    #cookie_ft .txt p {
        font-size: 13px;
        letter-spacing: -0.02em;
    }

    #cookie_ft .btn_wrap a {
        font-size: 13px;
        line-height: 40px;
        letter-spacing: -0.02em;
        border-radius: 4px;
        padding: 0 10px;
    }

    #cookie_ft .btn_wrap .btns {
        gap: 10px;
    }

    #cookie_ft .btn_wrap .btns button {
        font-size: 13px;
        line-height: 40px;
        letter-spacing: -0.02em;
        border-radius: 4px;
        padding: 0 10px;
    }
}

@media screen and (max-width: 768px) {
    .visual {
        padding: 15% 0;
    }

    .visual_inner .title {
        font-size: 2.25rem;
        margin: 0 0 15px 0;
    }

    .visual_inner p {
        font-size: 1.25rem;
    }

    .content {
        padding: 10% 0;
    }

    .detail-content {
        padding: 0;
    }

    .content_inner.confirm_inner {
        padding: 0 20px;
    }

    .confirm_wrap,
    .btn_wrap {
        flex-direction: column;
    }

    .confirm_wrap a,
    .btn_wrap a {
        text-align: center;
    }

    .select_box {
        flex-direction: column;
        gap: 30px;
        width: 80%;
        max-width: 500px;
    }

    .select_box a {
        width: 100%;
        min-width: auto;
    }

    .select_box select {
        min-width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-color: transparent;
        color: #111;
        border-bottom: 1px solid #55B954;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .selected_button {
        width: 90%;
        max-width: 400px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .text_box {
        width: 90%;
        margin-top: 40px;
        font-size: 1rem;
        padding: 15px 20px;
    }

    .text_box table th,
    .text_box table td {
        font-size: 14px;
        padding: 8px;
    }

    .text_box p:first-child {
        line-height: 1.3;
    }

    .nav {
        padding: 15px 0;
    }

    .nav .inner {
        width: calc(100% - 100px);
        gap: 8px;
    }

    .nav .inner a p {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .nav .inner .nav-back {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .nav .inner h6 {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .detail-content .contents .next a {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .detail-content .contents .file a.file-btn p {
        font-size: 14px;
        margin: 8px 0;
    }

    .contents {
        width: calc(100% - 100px);
        margin: 0 auto 80px;
    }

    .contents h4 {
        font-size: 6.5104vw;
        letter-spacing: -0.0651vw;
        margin-bottom: 5.2083vw;
    }

    .contents .video_wrap {
        gap: 5.2083vw;
        margin-bottom: 5.2083vw;
        flex-direction: column;
        align-items: flex-start;
    }

    .contents .video_wrap video {
        width: 100%;
        height: auto;
    }

    .contents .video_wrap .next {
        gap: 2.6042vw;
        width: 100%;
    }

    .contents .video_wrap .next a {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .contents .file {
        gap: 2.6042vw;
        margin-bottom: 19.5313vw;
    }

    .contents .file h5 {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .contents .report {
        border-radius: 1.0417vw;
        padding: 2.6042vw 1.3021vw;
    }

    .contents .report p {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    .contents .report p a {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    footer {
        padding: 40px 0;
    }

    .footer_inner nav ul li {
        margin-bottom: 8px;
    }

    .footer_inner nav ul li a {
        font-size: 1rem;
    }

    .footer_inner .coh-text p {
        font-size: 1rem;
    }

    #cookie_ft {
        box-shadow: 0 -0.5208vw 1.3021vw 0 rgba(0, 0, 0, 0.09);
        height: auto;
        padding: 0 0 20px 0;
    }

    #cookie_ft .inner {
        width: 90vw;
        margin: 30px auto;
    }

    #cookie_ft .txt {
        height: 100px;
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    #cookie_ft .txt p {
        font-size: 14px;
        letter-spacing: -0.02em;
    }

    #cookie_ft .btn_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #cookie_ft .btn_wrap a {
        width: 100%;
        height: 40px;
        font-size: 12px;
        line-height: 40px;
        letter-spacing: -0.02em;
        border-radius: 4px;
        padding: 0 10px;
        padding: 0 10px;
        font-weight: 300;
        text-align: center;
    }

    #cookie_ft .btn_wrap .btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    #cookie_ft .btn_wrap .btns button {
        width: 100%;
        height: 40px;
        border-radius: 4px;
        font-size: 12px;
        line-height: 40px;
        letter-spacing: -0.02em;
        padding: 0 10px;
        border: 0;
        font-weight: 300;
    }
}

@media screen and (max-width: 480px) {
    .visual {
        padding: 20% 0;
    }

    .visual_inner {
        width: calc(100% - 40px);
    }

    .visual_inner .title {
        font-size: 1.75rem;
    }

    .visual_inner p {
        font-size: 1.125rem;
    }

    .select_box {
        width: 80%;
        gap: 30px;
        margin-bottom: 40px;
    }

    .selected_button {
        width: 50%;
        padding: 10px 15px;
        font-size: 1rem;
    }

    .text_box {
        width: calc(100% - 40px);
        font-size: 1rem;
        padding: 12px;
        box-sizing: border-box;
        word-wrap: break-word;
        word-break: keep-all;
        hyphens: none;
        overflow-wrap: break-word;
    }

    .text_box table th,
    .text_box table td {
        font-size: 12px;
        padding: 6px;
    }

    .nav {
        padding: 15px 0;
    }

    .nav .inner {
        width: calc(100% - 40px);
        gap: 8px;
    }

    .nav .inner a p {
        font-size: 12px;
        letter-spacing: -0.02em;
    }

    .nav .inner .nav-back {
        font-size: 12px;
        letter-spacing: -0.02em;
    }

    .nav .inner h6 {
        font-size: 12px;
        letter-spacing: -0.02em;
    }

    .detail-content .contents .next a {
        font-size: 12px;
        letter-spacing: -0.02em;
    }

    .contents {
        width: calc(100% - 40px);
        margin: 0 auto 60px;
    }

    .detail-content .contents {
        width: calc(100% - 40px);
    }

    .contents h4 {
        font-size: 5.4167vw;
        letter-spacing: -0.1042vw;
        margin-bottom: 8.3333vw;
    }

    .detail-content .contents h4 {
        font-size: 5.4167vw;
    }

    .contents .video_wrap {
        gap: 8.3333vw;
        margin-bottom: 8.3333vw;
    }

    .contents .video_wrap .next {
        gap: 4.1667vw;
        width: 100%;
    }

    .contents .video_wrap .next a {
        font-size: 3.3333vw;
        letter-spacing: -0.0333vw;
    }

    .contents .file {
        gap: 4.1667vw;
        margin-bottom: 31.2500vw;
    }

    .contents .file h5 {
        font-size: 3.3333vw;
        letter-spacing: -0.0333vw;
    }

    .contents .report {
        border-radius: 1.6667vw;
        padding: 4.1667vw 2.0833vw;
    }

    .contents .report p {
        font-size: 3.3333vw;
        letter-spacing: -0.0333vw;
    }

    .contents .report p a {
        font-size: 3.3333vw;
        letter-spacing: -0.0333vw;
    }

    .footer_inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 20px;
    }

    .footer_inner nav ul li {
        margin-bottom: 8px;
    }

    .footer_inner nav ul li a {
        font-size: 0.875rem;
    }

    .footer_inner .coh-text p {
        font-size: 0.875rem;
    }

    .cookie-panel {
        width: 100%;
        left: -100%;
    }

    #cookie_ft {
        box-shadow: 0 -0.8333vw 2.0833vw 0 rgba(0, 0, 0, 0.09);
        height: 57vh;
    }

    #cookie_ft .inner {
        width: 90vw;
        margin: 4.8333vw auto;
    }

    #cookie_ft .txt {
        height: 147px;
        padding: 1.1667vw 1.25vw;
        margin-bottom: 3.3333vw;
    }

    #cookie_ft .txt p {
        font-size: 16px;
        letter-spacing: -0.0333vw;
    }

    #cookie_ft .btn_wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 1vw;
    }

    #cookie_ft .btn_wrap a {
        width: 100%;
        font-size: 16px;
        height: 50px;
        line-height: 50px;
        letter-spacing: -0.0375vw;
        border-radius: 0.8333vw;
        padding: 0;
    }

    #cookie_ft .btn_wrap .btns {
        flex-direction: column;
        align-items: end;
        width: 100%;
    }

    #cookie_ft .btn_wrap .btns button {
        font-size: 16px;
        border-radius: 0.8333vw;
        height: 50px;
        line-height: 50px;
        letter-spacing: -0.0375vw;
        padding: 0;
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .visual_inner p br {
        display: inline;
    }
}

/* Error page */
.error-container {
    max-width: 800px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.error-code {
    font-size: 4rem;
    font-weight: bold;
    color: #55B954;
    margin-bottom: 20px;
}
.error-message {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
}
.error-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}
.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.error-actions .btn-primary {
    background-color: #55B954;
    color: white;
}
.error-actions .btn-primary:hover {
    background-color: #4AA34A;
}
.error-actions .btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}
.error-actions .btn-secondary:hover {
    background-color: #e9ecef;
}
@media (max-width: 768px) {
    .error-container {
        margin: 50px 20px;
        padding: 30px 20px;
    }
    .error-code { font-size: 3rem; }
    .error-message { font-size: 1.25rem; }
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    .error-actions .btn { width: 200px; }
}