* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*---------------------- 전역 이미지 반응형 설정 ---------------------- */
img {
    max-width: 100%; /* 부모 요소의 너비를 넘지 않음 */
    width: auto; /* 이미지의 기본 너비를 유지 */
    height: auto; /* 비율을 유지하며 크기 조정 */
    min-width: 100px; /* 최소 너비 설정 * << 이거 건드리면 작아짐*/
    object-fit: contain; /* 이미지가 왜곡되지 않도록 설정 */
    display: block; /* 불필요한 여백 제거 */
    margin: 0 auto; /* 이미지 가운데 정렬 */
        min-width: unset; /* 최소 너비 제한 해제 */
        will-change: transform, opacity;
transform: translateZ(0);
backface-visibility: hidden;
}

video, .animated {
  will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
}

.fade-in {
  will-change: transform, opacity;
  opacity: 0;
   transform: translateY(30px);
}
/*---------------------- 전역 이미지 반응형 설정 ---------------------- */
/*--------------------------------- Font ---------------------------- */

h3 {
  color: #333;
  margin: 0;
  text-align: center; /* 중앙 정렬 */
  font-weight: 600;; /* 기본 두께로 설정 */
  font-size: 1.2rem;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

h4 {
  margin-bottom: 1rem;
  font-weight: 600; /* 기본 두께로 설정 */
  font-size: 1rem;
  color: #555;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

p {
  font-size: .9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

a{
  font-family: 'Montserrat', sans-serif; /* 제목에 Montserrat 폰트 적용 */
}
/*--------------------------------- Font ---------------------------- */
.parallax {
    position: relative;  /* 부모 요소는 relative */
    overflow: hidden;  /* 불필요한 튕김 방지 */
    width: 100%;
    height: auto; /* 높이를 자동으로 조정 */
    min-height: 300px; /* 최소 높이 지정 (이미지가 안 보이는 경우 대비) */
}

.parallax img {
    position: relative;  /* 기존 absolute에서 relative로 변경 */
    width: 100%;
    height: auto;
    display: block;  /* inline 요소로 인한 여백 제거 */
    transform: translateY(0);  /* 초기 위치 */
}




.fade-in-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;  /* 흰색 배경 */
    z-index: 9999;  /* 모든 요소 위에 위치 */
    opacity: 1;  /* 처음에는 완전히 보임 */
    transition: opacity 0.6s ease-in-out;  /* 페이드 아웃 효과 */
    pointer-events: none;  /* 클릭 방지 */
}

/*------------------------------ Header ------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease; /* 부드러운 이동 효과 */
}

/* 헤더 숨김 상태 */
.header.hidden {
    transform: translateY(-100%); /* 위로 숨김 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

header h1 a {
    text-decoration: none;
    color: #7d7d7d;
    font-weight: 900;
    letter-spacing: -3.5px;
    transition: color 0.3s;
}

header h1 a:hover {
    color: #555;
}

header nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: #ccc;
    font-weight: normal;
    transition: color 0.3s, font-weight 0.3s;
}

/* 활성화된 상태 */
header nav a.active {
    color: #000;
    font-weight: bold;
}

header nav a:hover {
    color: #555;
}
/*------------------------------ Header ------------------------------ */



/*-----------------------------01.Main_Intro-----------------------------*/
.container-intro{

 align-items: center;
 max-width: 900px;
 margin: 0 auto;
}

    .intro-section {
      flex-direction: row;
      justify-content: space-between; /* 좌우 정렬 */
      align-items: center;
      text-align: center;
      gap: 1rem;
  }

  .intro-section .left {
      flex: 1;
      max-width: 100%;
  }

  .intro-section .title-image {
         max-width: 80%; /* 작은 화면에서 Left 로고 크기 조정 */
         min-width: 100px; /* 최소 너비 설정 */
     }

     .intro-section .right img {
         max-width: 60%; /* 작은 화면에서 Right 로고 크기 조정 */
         min-width: 80px; /* 최소 너비 설정 */
     }

  .intro-section .project-details {
      text-align: left;
  }

/* Intro 섹션의 이미지만 크기 제한 */
.intro img {
    max-width: 70%; /* 부모 요소의 70% 너비로 제한 */
    height: auto; /* 비율 유지 */
}


/* Intro Section Styling */
.intro-section {
  display: flex;  /* 내부 요소(.left, .right)를 가로 정렬 */
  flex-direction: row;  /* 가로 방향 배치 */
  justify-content: space-between;  /* 좌우 끝으로 배치 */
    align-items: flex-start;
    gap: 3rem; /* 좌우 간격 증가 */
    margin: 3rem 0;
    padding: 0 1.5rem; /* 양옆 여백 */
    font-family: 'Lato', sans-serif; /* Lato 폰트 적용 */
}

.intro-section .left {
    max-width: 600px; /* 최대 너비 제한 */

}

.intro-section .title-image {
    max-width: 17%; /* Left 로고 크기 */
    text-align: left; /* 왼쪽 정렬 */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1rem; /* 로고와 설명 사이 간격 증가 */
}

.intro-section .description_left {
    max-width: 500px; /* 설명의 최대 너비 */
    margin: 0 auto; /* 수평 가운데 정렬 */
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left; /* 텍스트 중앙 정렬 */

}

.intro-section h3 {
font-size: 1.0rem;
line-height: 1.5; /* 줄 간격 */

}

.intro-section .right {
  width: auto; /* 내용물 크기에 맞춤 */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 왼쪽 정렬 */
      max-width: 200px; /* 최대 너비 제한 */
}

.intro-section .right img {
    max-width: 55%; /* Right 로고 크기 */
    height: auto;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: -.5rem; /* 로고와 설명 사이 간격 */
}

.intro-section .description_right {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0; /* 위쪽에 여백 추가 */
  line-height: 2; /* 줄 간격 */
  color: #555; /* 텍스트 색상 */
  font-size: .9rem; /* 글자 크기 */
  font-weight: 600;
  max-width: 140px;
  text-align: left; /* 텍스트 중앙 정렬 */
}
/*-----------------------------01.Main_Intro-----------------------------*/
/*------------------------------ 02.Main_Background-------------------------*/
/* ------------------------------ 02.Main_Background ------------------------- */

.week-section {
    width: 100%;
    background-color: #f9f9f9; /* 연한 회색 배경 */
    padding: 4rem 0; /* 위아래 여백 추가 */
    display: flex;
    justify-content: center; /* ✅ 전체 내용을 중앙 정렬 */
}

/* ✅ 가운데 정렬 컨테이너 */
.week-container {
    width: 1100px; /* ✅ 고정 너비 */
    max-width: 90%;
    margin: 0 auto;
}

/* 🔹 헤더 스타일 */
.week-header {
  display: flex;
  align-items: flex-start; /* ✅ 요소들의 윗줄을 맞춰 정렬 */
  gap: 15px;
  justify-content: flex-start; /* ✅ 왼쪽 정렬 유지 */
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 50px;

}

.week-header h3 {
    margin: 0;
}

.vertical-line {
    width: 1px;
    height: 40px;
    background-color: #757575;
}

.week-header p {
  margin: 0;
  max-width: 300px; /* ✅ 텍스트 길이 제한 */
}

/* 🔹 본문 컨텐츠 스타일 */
.week-content {
  display: flex;
  align-items: center; /* ✅ 텍스트를 이미지의 중앙에 정렬 */
  gap: 5rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto; /* ✅ 부모 안에서 중앙 정렬 */
}

/* 이미지 */
.week-content img {
    width: 380px;
    height: auto;
    object-fit: cover;
}

/* 텍스트 컨텐츠 */
.week-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 내부 텍스트는 왼쪽 정렬 유지 */
    justify-content: center; /* ✅ 중앙 정렬 */
    height: 100%;
}

.week-text-content h4 {

}

/* ------------------------------ 02.Main_Background ------------------------- */
/*------------------------------ 03.Main_Background2-------------------------*/
.background2 {
    background-color: #f9f9f9; /* 배경색 추가 */
    padding: 4rem 1.5rem; /* 섹션 상하좌우 여백 */
}

.background2-container {
    display: flex;
    flex-direction: column; /* 세로 정렬 */
    align-items: center; /* 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    gap: 2rem; /* 요소 간의 간격 */
}


.background2-image-container {
    position: relative;
    width: 100%;
    max-width: 1150px; /* 이미지 최대 너비 */
}

.background2-image-container img {
    width: 100%; /* 이미지 너비 100% */
    height: auto; /* 비율 유지 */
}

.background2-text-content {
   margin-top: 2rem;
    max-width: 620px; /* 텍스트 최대 너비 */
    text-align: center; /* 텍스트 중앙 정렬 */
}


/*------------------------------ 03.Main_Background2-------------------------*/
.custom-line1 {
    width: 1100px;
    height: 1px; /* 선 두께 */
    background-color: #cccccc; /* 선 색상 */
    margin: 0rem auto; /* 위아래 여백 추가 & 중앙 정렬 */
    margin-top: 5rem;
    border: none;
}

/*------------------------------ 04.Main_ideation-------------------------*/
.ideation-section {
    width: 100%;
    background-color: #f9f9f9; /* 연한 회색 배경 */
    padding: 1rem 0; /* 위아래 여백 추가 */
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 가로 중앙 정렬 */
}

/* ✅ 가운데 정렬 컨테이너 */
.ideation-container {
    width: 1100px; /* ✅ 고정 너비 */
    max-width: 90%;
    margin: 0 auto;
}

/* ✅ 헤더는 원래 위치 유지 */
.ideation-header {
    display: flex;
    align-items: flex-start; /* ✅ 요소들의 윗줄을 맞춰 정렬 */
    gap: 15px;
    justify-content: flex-start; /* ✅ 왼쪽 정렬 유지 */
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 5rem;
}

.ideation-header h3 {
    margin: 0;
}

.ideation-vertical-line {
    width: 1px;
    height: 40px;
    background-color: #757575;
}

.ideation-header p {
    margin: 0;
    max-width: 300px; /* ✅ 텍스트 길이 제한 */
}

.ideation-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 가운데 정렬 */
    justify-content: center; /* ✅ 세로 중앙 정렬 */
    width: 100%;
    max-width: 1100px;
    margin: auto; /* ✅ 수평 중앙 정렬 */
    min-height: 60vh; /* ✅ 화면 중앙에 배치되도록 적절한 높이 설정 */
    padding-top: 4rem; /* ✅ 헤더와 간격 유지 */
    grid-gap: 8rem;
}

/* ✅ 전체 행 정렬 */
.ideation-row {
    display: flex;
    align-items: center; /* ✅ 원과 우측 컨텐츠를 서로 중앙 정렬 */
    justify-content: center; /* ✅ 정확한 중앙 정렬 */
    gap: 6rem; /* ✅ 원과 우측 컨텐츠 간격 조정 */
    max-width: 900px; /* ✅ 전체 너비를 줄여서 좌측 정렬되는 느낌 완화 */
    margin: 0 auto;
    position: relative; /* ✅ 정렬 기준 고정 */
}

/* 🔵 원 컨테이너 (좌측) */
.ideation-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 원을 정확히 수직 중앙 정렬 */
    justify-content: center;
    width: 200px; /* ✅ 명확한 너비 지정 */
    min-width: 200px; /* ✅ 최소 너비 유지 */
}

/* 🔵 원 스타일 */
.ideation-circle {
    width: 200px;
    height: 200px;
    background-color: #dcdcdb;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; /* 글자 크기 증가 */
    font-weight: bold;
    color: #333;
}

/* 📖 텍스트 컨테이너 */
.ideation-text-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 내부 텍스트 중앙 정렬 */
    text-align: center; /* ✅ 텍스트도 중앙 정렬 */
    justify-content: center; /* ✅ 수직 중앙 정렬 */
    max-width: 400px;
}

/* 🖼️ 이미지 컨테이너 */
.ideation-image-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 정확한 중앙 정렬 */
    text-align: center;
    justify-content: center;
}

.ideation-image-container img {
    width: 400px;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
}

.ideation-image-container p {
    max-width: 350px;
    font-size: 0.9rem;
    color: #555;
    text-align: center; /* ✅ 설명 텍스트도 중앙 정렬 */
}

/*------------------------------ 04.Main_ideation-------------------------*/
.custom-line2 {
    width: 1100px;
    height: 1px; /* 선 두께 */
    background-color: #cccccc; /* 선 색상 */
    margin: 0rem auto; /* 위아래 여백 추가 & 중앙 정렬 */
    margin-top: 5rem;
    border: none;
}

/*------------------------------ 05.Main_question1-------------------------*/
/* 🟡 전체 섹션 스타일 */
.question1-section {
    width: 100%;
    padding: 4rem 0; /* 위아래 여백 */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 질문(p4)은 좌측 정렬 */
    background-color: #f9f9f9; /* 배경색 추가 */

}
/* 🟡 질문 컨테이너 (1100px 너비 + 중앙 정렬) */
.question1-textcontainer {
    max-width: 900px; /* ✅ 최대 너비 1100px */
    width: 90%; /* ✅ 반응형 지원 */
    margin: 0 auto; /* ✅ 화면 중앙 정렬 */
    display: flex;
    justify-content: flex-start; /* ✅ 내부 콘텐츠 왼쪽 정렬 */
}

/* 🟡 질문 텍스트 (h4) - 좌측 정렬 */
.question1-text {
    text-align: left; /* ✅ 글자를 좌측 정렬 */
    margin-bottom: 2rem; /* ✅ 아래 컨테이너와 간격 */
}

/* 🟡 하단 컨텐츠 컨테이너 */
.question1-container {
    display: flex;
    align-items: center;
    justify-content: center; /* ✅ 화면 중앙 정렬 */
    max-width: 900px;
    width: 90%;
    margin: 0 auto; /* ✅ 중앙 정렬 */
    padding: 2rem;
}

/* 🟡 이미지 스타일 */
.question1-image img {
    width: 400px; /* ✅ 이미지 크기 */
    height: auto;
    object-fit: cover;
}

/* 🟡 텍스트 컨테이너 */
.question1-textbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 좌측 정렬 */
    text-align: left;
    margin-left: 4rem; /* ✅ 이미지와 간격 */
}

/* 🟡 제목 (Backhand & Upper arm) */
.question1-title {
    margin-bottom: 1rem;
}

/* 🟡 설명 스타일 */
.question1-description {
}

/*------------------------------ 05.Main_question1-------------------------*/
/*------------------------------ 06.Main_question2--------------------------*/

/* 🟡 새로운 섹션 (질문 + 컨텐츠 포함) */
.question2-section {
    width: 100%;
    padding: 0rem 0;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9; /* 배경색 추가 */
    align-items: center; /* ✅ 중앙 정렬 */
}

/* 🟡 질문 컨테이너 (900px 너비 + 중앙 정렬) */
.question2-textcontainer {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start; /* ✅ 내부 콘텐츠 왼쪽 정렬 */
}

/* 🟡 질문 텍스트 */
.question2-text {
    text-align: left;
    margin-bottom: 5rem;
}

/* 🟡 컨텐츠 컨테이너 (좌우 정렬) */
.question2-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    width: 90%;
    gap: 8rem; /* ✅ 좌우 간격 조정 */
    margin: 0 auto;
}

/* 🟡 좌측 이미지 */
.question2-left img {
    width: 400px;
    height: auto;
    object-fit: cover;
}

/* 🟡 우측 컨텐츠 (이미지 + 텍스트 세로 정렬) */
/* 🟡 우측 컨텐츠 (이미지 + 텍스트 세로 정렬 + 좌측 정렬) */
.question2-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 내부 요소 좌측 정렬 */
    text-align: left; /* ✅ 텍스트 좌측 정렬 */
    max-width: 500px; /* ✅ 너비 고정으로 이미지 중앙 정렬 방지 */
    width: auto; /* ✅ 부모 요소가 크면 종속되지 않도록 */
}

/* 🟡 우측 이미지 (완벽한 좌측 정렬) */
.question2-right img {
    align-self: flex-start; /* ✅ 이미지 좌측 정렬 */
    display: block; /* ✅ inline-block 성질 제거 */
    margin: 0; /* ✅ 좌우 마진 제거 */
    max-width: none; /* ✅ 부모의 영향을 받지 않도록 */
    width: 450px; /* ✅ 좌측 이미지와 동일한 크기 */
    height: auto;
    object-fit: cover;
}

.question2-title{
  margin-top: 1.5rem;
}
.question2-description{
  max-width: 350px;
}
/*------------------------------ 06.Main_question2--------------------------*/
/*------------------------------ 07.Main_sketch--------------------------*/

/* ✅ Sketch 섹션 전체 스타일 */
.sketch-section {
    width: 100%;
    padding: 4rem 0; /* 위아래 여백 추가 */
    display: flex;
    justify-content: center;
}

/* ✅ 3열 구조 컨테이너 */
.sketch-container {
    width: 1100px;
    max-width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ 3열 레이아웃 */
    gap: 3rem; /* ✅ 컬럼 간격 */
}

/* ✅ 각 컬럼 (Week5, Week6, Week7) */
.sketch-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 좌측 정렬 유지 */
}

/* 🔹 헤더 스타일 (Week5, Week6, Week7) */
.sketch-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.sketch-header h3{
  font-size: 1rem;

}

.sketch-header p{
  font-size: .85rem;
}
/* 🔹 세로선 */
.sketch-vertical-line {
    width: 1px;
    height: 30px;
    background-color: #757575;
}

/* 🔹 이미지 스타일 */
.sketch-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

/* 첫 번째 이미지들만 margin-bottom -1rem 적용 */
.sketch-column img:nth-of-type(1) {
    margin-bottom: -1rem;
}

/* 🔹 이미지 캡션 (중앙 정렬) */
.sketch-caption {
    text-align: center; /* ✅ 중앙 정렬 */
    width: 100%; /* ✅ 부모 요소의 전체 너비 사용 */
    display: flex;
    justify-content: center; /* ✅ 완전한 중앙 정렬 */
    font-size: .85rem;

}

/* 🔹 텍스트 컨텐츠 (좌측 정렬) */
/* ✅ Sketch Content (완전한 중앙 정렬) */
.sketch-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 내부 요소(h4, p) 중앙 정렬 */
    text-align: center; /* ✅ 텍스트도 중앙 정렬 */
    width: 100%; /* ✅ 부모 요소의 전체 너비 사용 */
}

.sketch-content h4{
  margin-top: 3rem;
  font-size: .9rem;
}

.sketch-content p{
  max-width: 270px;

}
/*------------------------------ 07.Main_sketch--------------------------*/
/*------------------------------ 08.Main_prototype--------------------------*/
/* ✅ Prototype Section 전체 스타일 */
.prototype-section {
    width: 100%;
    background-color: #f9f9f9; /* 연한 회색 배경 */
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

/* ✅ 가운데 정렬 컨테이너 */
.prototype-container {
    width: 1100px;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 모든 요소 중앙 정렬 */
}

/* 🔹 헤더 스타일 (Week8 + 설명) */
.prototype-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 50px;
}

/* 🔹 세로선 */
.prototype-vertical-line {
    width: 1px;
    height: 40px;
    background-color: #757575;
}

.prototype-header p{
    max-width: 350px;

}

/* ✅ 상단/하단 개별 이미지 컨테이너 */
.prototype-image-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ✅ 이미지 기본 스타일 */
.prototype-image {
    width: 100%;
    max-width: 550px; /* ✅ 개별 크기 조정 가능 */
    height: auto;
    object-fit: cover;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* ✅ 중앙 2개 이미지 배치 (좌우 정렬) */
.prototype-image-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* ✅ 좌우 간격 조절 가능 */
    margin-bottom: 20px;
    max-width: 600px;
}

.prototype-image-wrapper2 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.prototype-image-wrapper2 img{
  max-width: 700px;
}

/* ✅ 이미지 캡션 (중앙 정렬) */
.prototype-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: -1rem;
}

/* ✅ 마지막 이미지 아래 설명 */
.prototype-text-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ 중앙 정렬 */
    text-align: center;
    max-width: 400px;
    margin-top: 3.2rem;
    margin-bottom: 1rem;
}

/*------------------------------ 08.Main_prototype--------------------------*/
/*------------------------------ 09.Main_shapestudy--------------------------*/
/* ✅ 전체 섹션 스타일 */
.shape-study-section {
    width: 100%;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

/* ✅ 가운데 정렬 컨테이너 */
.shape-study-container {
    width: 1100px;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🔹 헤더 스타일 */
.shape-study-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 50px;
}

/* 🔹 세로선 */
.shape-study-vertical-line {
    width: 1px;
    height: 40px;
    background-color: #757575;
}

.shape-study-header p {
    max-width: 300px;
}

/* ✅ 이미지 전체 컨테이너 */
.shape-study-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    gap: 2rem; /* ✅ 위아래 이미지 간격 조절 */
}

/* ✅ 위쪽 3개 이미지 정렬 */
.shape-study-row-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 2rem; /* ✅ 위쪽 이미지 간 간격 조절 */
    margin-top: 1rem;

}

/* ✅ 아래쪽 2개 이미지 정렬 */
.shape-study-row-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 2rem; /* ✅ 아래쪽 이미지 간 간격 조절 */
    margin-top: 1.5rem;
}

/* ✅ 개별 이미지 스타일 */
.shape-study-image {
    object-fit: contain;
    display: block;
}

/* ✅ 위쪽 이미지 크기 (너비 고정) */
.shape-study-row-top img {
    width: 400px; /* ✅ 너비 고정 */
}

/* ✅ 아래쪽 이미지 크기 (높이 고정) */
.shape-study-row-bottom img {
    height: 250px; /* ✅ 높이 고정 */
    width: auto; /* ✅ 비율 유지 */
}

/* ✅ 이미지 아래 텍스트 (왼쪽 정렬) */
.shape-study-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 왼쪽 정렬 */
    text-align: left;
    padding-left: 5px; /* ✅ 이미지와 좌측 텍스트 간 간격 */
}

/* ✅ 캡션 스타일 */
.shape-study-text h4 {
  margin-top: 1rem;
    margin-bottom: 5px;
    font-size: .9rem;
}

.shape-study-text p {
 max-width: 400px;
}

.shape-study-text2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ✅ 왼쪽 정렬 */
    text-align: left;
    padding-left: 5px; /* ✅ 이미지와 좌측 텍스트 간 간격 */
}

.shape-study-text2 h4 {
  margin-top: 1rem;
    margin-bottom: 5px;
    font-size: .9rem;
}

.shape-study-text2 p {
 max-width: 600px;
}
/*------------------------------ 09.Main_shapestudy--------------------------*/
/*------------------------------ 10.Main_week11--------------------------*/
/* ✅ 전체 섹션 스타일 */
.week11-section {
    width: 100%;
    background-color: #f9f9f9;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

/* ✅ 가운데 정렬 컨테이너 */
.week11-container {
    width: 1000px; /* ✅ 최대 너비 제한 */
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🔹 헤더 스타일 (Week11 + 설명) */
.week11-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 50px;
}

/* 🔹 세로선 */
.week11-vertical-line {
    width: 1px;
    height: 40px;
    background-color: #757575;
}

.week11-header p{
 max-width: 300px;
}

/* ✅ 모든 이미지 공통 스타일 */
.week11-image {
    width: 300px; /* ✅ 이미지 크기 고정 */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ✅ 첫 번째 그룹 (이미지 2개 가로 정렬 + 개별 h4 + 공통 p) */
.week11-image-text-group1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.week11-image-text-group1 img{
    max-width: 450px;
    flex-grow: 1; /* ✅ 이미지가 가능한 최대 크기까지 확장 */
    width: 100%; /* ✅ 부모 요소에 맞춰 자동 확장 */
    height: auto; /* ✅ 비율 유지 */
    margin-bottom: 1rem;
}

/* ✅ 이미지 아래 텍스트 중앙 정렬 */
.week11-image-text-group1 p {
    margin-top: 1rem;
}

/* ✅ 공통 설명 텍스트 (왼쪽 정렬) */
.week11-description {
    text-align: left;
    max-width: 900px;
    margin-bottom: 3rem;
}

/* ✅ 두 번째 그룹 (이미지 2개 가로 정렬) */
/* ✅ 두 번째 그룹 (이미지 2개 - 높이 동일하게) */
.week11-image-group2 {
    display: flex;
    flex-direction: row; /* ✅ 가로 정렬 */
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin-bottom: 4rem;
}

/* ✅ 두 번째 그룹 내 개별 이미지 크기 (높이 동일) */
.week11-image-group2 img {
    width: auto; /* ✅ 너비는 자동 */
    height: 300px; /* ✅ 높이 동일하게 맞춤 */
    object-fit: cover; /* ✅ 비율 유지하면서 조정 */
    display: block;
}

/* ✅ 세 번째 그룹 (텍스트 + 이미지 2개) */
.week11-text-image-group3 {
    display: flex;
    flex-direction: column; /* ✅ 텍스트는 세로 정렬 유지 */
    align-items: center;
    text-align: center; /* ✅ 텍스트 전체 중앙 정렬 */
    max-width: 900px;
    margin: 0 auto;
    gap: 0rem;
}

.week11-image-text-group3 img{
    max-width: 350px;
}

.week11-image-text-group3 h4{
  margin-top: 1rem;
}

.week11-image-text-group3 p{
}

.week11-image-group4 {
    display: flex;
    flex-direction: row; /* ✅ 가로 정렬 */
    justify-content: center;
    align-items: center;
    gap: .5rem;
    max-width: 1000px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/*------------------------------ 10.Main_week11--------------------------*/
/*------------------------------ 11.Main_week12--------------------------*/
/* ✅ 전체 섹션 스타일 */
.week12-section {
    width: 100%;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

/* ✅ 가운데 정렬 컨테이너 */
.week12-container {
    width: 1000px; /* ✅ 최대 너비 제한 */
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 🔹 헤더 스타일 (Week12 + 설명) */
.week12-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: flex-start;
    max-width: 1000px;
    width: 100%;
    margin-bottom: 50px;
}

/* 🔹 세로선 */
.week12-vertical-line {
    width: 1px;
    height: 20px;
    background-color: #757575;
}

/* ✅ 모든 이미지 공통 스타일 */
.week12-image {
    width: 400px; /* ✅ 이미지 크기 고정 */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ✅ 첫 번째 그룹 (이미지 2개 가로 정렬) */
.week12-image-group1{
  display: flex;
  flex-direction: row; /* ✅ 가로 정렬 */
  justify-content: center;
  align-items: center;
  gap: 6rem;
  max-width: 1000px;
  margin-bottom: 4.5rem;
  margin-top: 3.5rem;
  }
  .week12-image-group2  {
    display: flex;
    flex-direction: row; /* ✅ 가로 정렬 */
    justify-content: center;
    align-items: center;
    gap: .5rem;
    width: 400px; /* ✅ 이미지 크기 고정 */
    max-width: 1000px;
    margin-bottom: .5rem;
    }

.week12-image-group3 {
  display: flex;
  flex-direction: row; /* ✅ 가로 정렬 */
  justify-content: center;
  align-items: center;
  gap: .5rem;
  width: 400px; /* ✅ 이미지 크기 고정 */
  max-width: 1000px;
  margin-bottom: 1rem;
}

/* ✅ 이미지 아래 소제목 */
.week12-subtitle1 {
    text-align: center;
    margin-top: 5rem;
}

.week12-subtitle2 {
    text-align: center;
}

/* ✅ 네 번째 그룹 (이미지 2개 세로 정렬) */
.week12-image-group4 {
    display: flex;
    flex-direction: column; /* ✅ 세로 정렬 */
    justify-content: center;
    align-items: center;
    gap: .5rem;
    max-width: 1200px;
    margin-top: 8rem;
}

/* ✅ 네 번째 그룹의 큰 이미지 */
.week12-image-large {
    width: 1000px; /* ✅ 가로 크기 고정 */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/*------------------------------ 11.Main_week12--------------------------*/

/*---------------------------BacktoMain--------------------------*/
/* 섹션 정렬 */
.back-to-home {
    display: flex;
    justify-content: center;
    align-items: center;
padding-top: 1rem;
    text-align: center; /* 가운데 정렬 */

}

/* 정사각형 프레임 */
.grid-icon {
    width: 44px; /* 20px + 20px + 3px 간격 */
    height: 44px; /* 정사각형 프레임 */
    display: grid;
    grid-template-columns: 20px 20px;
    grid-template-rows: 20px 20px;
    gap: 1px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* 네모 기본 스타일 */
.square {
    background-color: #b0b0b0;
    border-radius: 2px;
    transition: height 0.3s ease-in-out;
    position: absolute;
}

/* 초기 네모 크기 및 위치 */
.square-1 { width: 20px; height: 25px; top: 0; left: 0; }  /* 좌측 위 */
.square-2 { width: 20px; height: 15px; top: 0; right: 0; }   /* 우측 위 */
.square-3 { width: 20px; height: 15px; bottom: 0; left: 0; } /* 좌측 아래 */
.square-4 { width: 20px; height: 25px; bottom: 0; right: 0; } /* 우측 아래 */

/* 🟢 호버 시 길이만 변경 (위치는 유지됨) */
.grid-icon:hover .square-1 { height: 15px; }   /* 좌측 위 → 작아짐 */
.grid-icon:hover .square-2 { height: 25px; }  /* 우측 위 → 길어짐 */
.grid-icon:hover .square-3 { height: 25px; }  /* 좌측 아래 → 길어짐 */
.grid-icon:hover .square-4 { height: 15px; }   /* 우측 아래 → 작아짐 */

/* 호버 시 색상 변경 */
.grid-icon:hover .square {
    background-color: #4b5563; /* 어두운 회색 */
}

/*---------------------------BacktoMain--------------------------*/


/* Footer */
footer {
  padding: 4rem 2rem 0.5rem 2rem; /* 아래쪽 패딩 조정 */
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #333;
    letter-spacing: -1.3px;
}
