* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

header {
    display: flex;
    width: 35%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    white-space: nowrap;
    background-color: transparent;
    
    position: fixed;  /* 스크롤 시 항상 고정 */
    top: 0;
    left: 0;
    z-index: 9999;  /* 다른 요소보다 위에 배치 */
}

/* header*/
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-title {
    font-weight: bold;
}

nav ul li a {
    text-decoration: none;
    color: black;
}

header h1, header h2 {
    font-size: 1rem;
}

header h2 {
    position: absolute;
    left: 30%;
}

.menu-icon {
    display: none;
    position: fixed;
    top: 15px; /* header와 겹치지 않도록 조정 */
    right: 20px; /* 오른쪽 상단 고정 */
    z-index: 1100;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.menu-icon ion-icon {
    font-size: 32px;
}


/* 내용 */
.container {
    display: flex;
    height: 100vh;
    align-items: stretch; /* 양쪽 칼럼 높이를 맞춤 */
    min-height: 100vh; /* 최소 높이를 화면 전체로 설정 */
}

.left-column {
    width: 35%;
    flex-shrink: 0;
    padding-top: 50px;
    position: fixed;
    left: 0; 
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transform: translateX(0); /* PC에서는 항상 보이게 */
    transition: transform 0.3s ease-in-out;
}

.text-line {
    width: calc(100% - 40px);
    border-bottom: 1px solid black;
    margin: 0 auto;
}

/* button start */
.text01 {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝으로 정렬 */
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: black;
    padding-bottom: 5px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-left01 {
    padding: 8px 0px 10px 0px;  /* 기존 패딩 유지 */
    white-space: nowrap;
}

.text-right01 {
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgb(0, 0, 0);
    padding: 8px 0px 10px 0px;
}

.text01:hover {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

/* button 02 */
.text02 {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝으로 정렬 */
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: black;
    padding-bottom: 5px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-left02 {
    display: inline-block; 
    padding: 8px 0px 10px 0px; 
    white-space: nowrap; 
}

.text-right02 {
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgb(0, 0, 0);
    padding: 8px 0px 10px 0px;
}

.text02:hover {
    background: #ffffff;
    color: rgb(0, 0, 0);
}

/* button 03 */
.text03 {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝으로 정렬 */
    font-size: 16px;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: black;
    padding-bottom: 5px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-left03 {
    display: inline-block;
    padding: 8px 0px 10px 0px;
    white-space: nowrap;
}

.text-right03 {
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgb(0, 0, 0);
    padding: 8px 0px 10px 0px;
}

.text03:hover {
    background: #ffffff;
    color: rgb(0, 0, 0);
}

/* button 04 */
.text04 {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝으로 정렬 */
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: black;
    padding-bottom: 5px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-left04 {
    display: inline-block;
    padding: 8px 0px 10px 0px; 
    white-space: nowrap;
}

.text-right04 {
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgb(0, 0, 0);
    padding: 8px 0px 10px 0px;
}

.text04:hover {
    background: #ffffff;
    color: rgb(0, 0, 0);
}

/* button 05 */
.text05 {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝으로 정렬 */
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: black;
    padding-bottom: 5px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-left05 {
    display: inline-block; /* 내부 텍스트만 패딩 유지 */
    padding: 8px 0px 10px 0px;  /* 기존 패딩 유지 */
    white-space: nowrap;
}

.text-right05 {
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgb(0, 0, 0);
    padding: 8px 0px 10px 0px;
}

.text05:hover {
    background: #ffffff;
    color: rgb(0, 0, 0);
}

/* button 06 */
.text06 {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 양쪽 끝으로 정렬 */
    font-size: 16px;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: black;
    padding-bottom: 5px;
    padding: 8px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.text-left06 {
    display: inline-block; /* 내부 텍스트만 패딩 유지 */
    padding: 8px 0px 10px 0px;  /* 기존 패딩 유지 */
    white-space: nowrap;
}

.text-right06 {
    text-align: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgb(0, 0, 0);
    padding: 8px 0px 10px 0px;
}

.text06:hover {
    background: #ffffff;
    color: rgb(0, 0, 0);
}

/* rightcolumn start */
.right-column {
    position: relative;
    width: 65%;
    margin-left: 35%;
    padding-top: 50px;
    height: auto;       /* ✅ 내용에 따라 높이 조정 */
    min-height: 100vh;  /* 최소 화면 높이는 유지 */
    display: flex;
    flex-direction: column;
    overflow-y: auto;   /* ✅ 스크롤 가능하게 설정 */
}

/* 비디오 영역만 절대 위치로 상단 고정 → padding 영향 제거 */
.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    justify-content: center; /* 가로 가운데 */
    align-items: center;     /* 세로 가운데 */
    z-index: 1;
    overflow: hidden;
}

.vimeo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200vw;       /* 화면의 200% 너비 */
    height: 100vh; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vimeo-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.hover-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: auto;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.tooltip {
    position: absolute;
    background-color: black;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1001;
}

.righttext01 {
    font-size: 1.2rem;
    padding: 15px 0px 10px 0px;
    font-weight: bold;
    padding-left: 2rem
}

.righttext02 {
    font-size: 1rem;
    padding-left: 2rem;
    text-decoration: underline;
}

.description {
    width: 100%; 
    min-width: 400px;
    padding-left: 30px;
    padding-top: 50px;
    padding-right: 5rem;
    word-wrap: break-word; /* 단어가 너무 길면 자동 줄바꿈 */
    overflow-wrap: break-word; /* 자동 줄바꿈 */
    white-space: normal; /* 기본 줄바꿈 설정 */
    line-height: 1.8; /* 줄 간격을 적절히 조정 */
}

.description01 {
    display: flex;
    width: 100%;
    min-width: 400px;
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 1rem;
    word-wrap: break-word; /* 단어가 너무 길면 자동 줄바꿈 */
    overflow-wrap: break-word; /* 자동 줄바꿈 */
    white-space: normal; /* 기본 줄바꿈 설정 */
    line-height: 1.8; /* 줄 간격을 적절히 조정 */
    gap: 30px;
}

.lang-label {
    font-size: 12px;  /* 원하는 크기로 조절 */
    font-weight: bold; /* 강조 (선택 사항) */
}

.description01 img {
    width: 100%;  /* 부모 요소에 맞춰 너비 조정 */
    height: auto; /* 높이를 자동으로 조정해 원본 비율 유지 */
    display: block; /* 불필요한 여백 제거 */
    padding-top: 50px;
    margin-bottom: 20px;
}

.description01-1 {
    width: 50%; /* 오른쪽 텍스트 영역 */
    margin-left: auto; /* 오른쪽으로 정렬 */
    font-size: 16px;
    line-height: 1.8;
    min-width: 400px;
}

.description01 title {
    font-weight: bold;
}

.description02 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    min-width: 400px;
    padding-top: 50px;
    padding-left: 30px;
    padding-right: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.8;
    gap: 30px;
}

.description02-1 img {
    display: block;
    justify-content: center;  /* 가로 중앙 정렬 */
    align-items: center; 
    margin: 0 auto;    /* 수평 중앙 정렬 */
    max-width: 50%;
    min-width: 20%;
    height: auto;
    padding-left: 30px;
    padding-right: 1rem;
    padding-top: 30px;
}

.description02-2 {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 400px;
    padding-left: 30px;
    padding-right: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.8;
}

.title-text {
    font-weight: bold;
    text-align: center;
    margin-top: 40px;  /* 추가된 1단 텍스트의 상단 여백 */
}

.description02-2-container {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* 왼쪽 텍스트와 오른쪽 이미지를 각각 구분 */
    width: 100%;
    min-width: 400px;
    padding-left: 30px;
    padding-right: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.8;
    gap: 20px;
}

.description02-2-text {
    width: 50%;
    font-size: 16px;
    line-height: 1.8;
    min-width: 400px;
}

.description02-2 img {
    max-width: 80%;
    min-width: 20%;
    height: auto;
    padding-right: 30px;
    display: block; /* 여백 제거 */
}

.image-container {
    position: relative; /* 부모 요소 설정 */
    width: 100%; /* 부모 요소에 맞춰 너비 조정 */
    padding: 100px 0px; /* 이미지 주변 패딩 추가 */
    box-sizing: border-box; /* 패딩을 너비에 포함 */
}

.image {
    position: absolute; /* 이미지 위치 설정 */
    max-width: 100%; /* 이미지 최대 너비 설정 */
    height: auto; /* 이미지 비율 유지 */
}

.image1 {
    width: 20%;
    top: 10%;
    left: 2%;
    z-index: 2;
}

.image2 {
    top: 50%;
    left: 20%;
    width: 20%;
    z-index: 3;
}

.image3 {
    top: 100%;
    left: 45%;
    width: 20%;
    z-index: 4;
}

.image4 {
    top: 20%;
    left: 68%;
    width: 30%;
    z-index: 5;
}

.image-margin {
    margin-top: 35vh; /* 이미지 컨테이너 위 여백 추가 */
    z-index: 5;
}

/*03 start*/
.description03 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding-left: 30px;
    padding-right: 1rem;
    word-wrap: break-word;
    line-height: 1.8;
    gap: 30px;
}

.desc03-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desc03-image img {
    width: 100%;        /* 부모(.desc03-image)를 가득 채움 */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

.desc03-text {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    text-align: left;
    line-height: 1.8;
}

.title-text {
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
}

.desc03-padded {
    padding-top: 30px; /* 원하는 값 */
}

/*04 start*/
.description04 {
    display: flex;
    padding-top: 50px;
    justify-content: center;
    gap: 0;
    padding-left: 30px;
}

.description04 img {
    max-width: 100%; /* 최대 크기 제한 */
    height: auto; /* 비율 유지 */
}

.description04-1 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.Last-img {
    margin-bottom: 50px;
}

.column {
    flex: 1;
    width: 50%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 왼쪽 column에만 padding-left 적용 */
.column:first-child {
    padding-left: 30px;
}

/* 오른쪽 column은 여백 없음 */
.column:last-child {
    padding-right: 0;
}

.column img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}

/* 텍스트 여백: 왼쪽 텍스트에만 padding-left */
.column:first-child p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.column:last-child p {
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 단일 이미지용 - 좌측 정렬 유지 */
.description04-1:not(:has(.column)) img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding-left: 30px;
    padding-right: 0;
    border: none;
    box-sizing: border-box;
}


.description05 {
    width: 100%; 
    min-width: 400px;
    padding-left: 30px;
    padding-top: 50px;
    padding-right: 5rem;
    word-wrap: break-word; /* 단어가 너무 길면 자동 줄바꿈 */
    overflow-wrap: break-word; /* 자동 줄바꿈 */
    white-space: normal; /* 기본 줄바꿈 설정 */
    line-height: 1.8; /* 줄 간격을 적절히 조정 */
}

.description05-1 {
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px; /* 단락 아래에 20px 간격 추가 */
}

.first {
    font-weight: light;
}

.small-margin {
    margin-bottom: 5px; /* 특정 단락만 여백 줄이기 */
}

.Last {
    padding-bottom: 50px;
    font-weight: bold;
}

/* 06 start*/
.image-grid {
    display: grid;
    column-count: 3;
    grid-template-columns: repeat(3, 1fr); /* 3열 구성 */
    gap: 0;                                 /* 간격 없음 */
    padding-left: 30px;
    margin: 0;
  }
  
  .image-grid img {
    width: 100%;
    height: 50vh;
    display: block;
    object-fit: cover;
    break-inside: avoid; /* 컬럼 내부에서 이미지가 깨지지 않도록 */
  }
  

.right-column::-webkit-scrollbar {
    width: 8px; /* 스크롤바 너비 */
}

.right-column::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* 스크롤바 색 (반투명 검정) */
    border-radius: 4px;
}

/* jiyoungnoh 2025 */
.text08 {
    font-size: 0.8rem;
    position: fixed;
    bottom: 15px;
    left: 20px;
}

/* ------------------ 반응형 미디어쿼리 ------------------ */

@media (max-width: 950px) {
    /* 헤더에서 우측 네비게이션과 타이틀 숨기기 */
    header nav:nth-child(2),
    .main-title {
        display: none;
    }

    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* 공통 패딩 적용: 주요 섹션들 */
    .right-column,
    .description,
    .description01,
    .description01-1
    .description02,
    .description04,
    .description05,
    .description05-1,
    .description02-2,
    .description02-2-container,
    .description04-1,
    .righttext01,
    .righttext02 {
        padding-left: 2vw !important;
        padding-right: 2vw !important;
        box-sizing: border-box !important;
    }

    /* 좌우 2단 이미지가 있는 경우 */
    .column {
        padding: 0 !important;
        box-sizing: border-box;
    }

    .column img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
        padding-left: 2vw;
        padding-right: 2vw;
        box-sizing: border-box;
    }

    .description01 {
        flex-direction: column !important;
        padding-left: 2vw !important;
        padding-right: 2vw !important;
        box-sizing: border-box !important;
    }

    .description04-1 img {
        margin: 0;
        box-sizing: border-box;
    }

    .column p {
        padding: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* 단일 이미지인 경우 (column이 없는 경우) */
    .description04-1:not(:has(.column)) img {
        padding-left: 2vw !important;
        padding-right: 2vw !important;
    }


    /* 메뉴 열기용 왼쪽 컬럼 */
    .left-column {
        transform: translateX(-100%);
        display: block;
        width: 80%;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }

    /* 오른쪽 컨텐츠 영역 */
    .right-column {
        margin-left: 0;
        width: 100vw;
        height: 100vh;
        padding: 12px;
        position: relative;
    }

    .right-column::-webkit-scrollbar {
        display: none !important; /* 웹킷 브라우저에서 스크롤바 숨기기 */
    }

    /* 반응형 비디오 */
    .video-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        position: relative;
        z-index: 0;
        height: auto;
        transform: none;    /* ✅ 중앙정렬 transform 제거 */
    }
    
      .vimeo-container {
        width: 200vw; /* 확대해 잘리도록 */
        height: 100vh;
        position: absolute;
        top: 50%;
        left: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
      .vimeo-container iframe {
        width: 200vw;
        height: 100vh;
        object-fit: cover;
        border: none;
        display: block;
    }

    /* 햄버거 메뉴 */
    .menu-icon {
        display: block;
        position: fixed;
        top: 10px;
        right: 30px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background: url('menu-icon.png') no-repeat center;
        background-size: contain;
        cursor: pointer;
    }

    /* 이미지 컨테이너 그리드 */
    .image-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 20px 2vw 0px 2vw;
        box-sizing: border-box;
    }

    .image {
        position: static;
    }

    .image1, .image2, .image3, .image4 {
        width: 100%;
        top: auto;
        left: auto;
    }

    .image-margin {
        margin-top: 50px;
    }

    .description03 {
        flex-direction: column;
        padding-left: 2vw;
        padding-right: 2vw;
        gap: 1rem; /* 세로 간격 */
      }
    
      .desc03-image,
      .desc03-text {
        flex: none;
        max-width: 100%;
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
      }
    
      .desc03-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
      }
    
      .desc03-text {
        font-size: 1rem;
        line-height: 1.6;
        padding-bottom: 1rem;
      }

      @media (max-width: 950px) {
        .image-grid {
          grid-template-columns: repeat(2, 1fr);
          padding : 0
        }
      }
      
      @media (max-width: 480px) {
        .image-grid {
          grid-template-columns: 1fr;
          padding : 0
        }
      }
      
}
