/* 모바일메뉴 */

@media screen and (max-width: 1024px) {
  /* 헤더 */
 .title h1 {
    font-size: 2.5rem;
}
.title h3{
    padding: 0 1rem;
}
  .header {
    display: none;
  }
  #header {
    display: block;
    position: absolute; /* 헤더를 절대 위치로 설정 */
    top: 0; /* 화면 상단에 위치 */
    left: 0; /* 화면 왼쪽에 위치 */
    width: 100%; /* 너비 100% */
    z-index: 1000; /* 배너보다 위에 표시되도록 z-index 설정 */
    background-color: transparent; /* 배경 투명하게 설정 */
  }
  #menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 999;
    display: none; /* 기본적으로 숨김 */
    flex-direction: column;
    padding-left: 20px;
    padding-top: 70px;
  }
  #header-subdiv {
    background-color: transparent; /* 배경 투명하게 설정 */
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 세로 정렬 */
  }
  #logo-container {
    width: auto; /* 로고 크기 자동으로 조절 */
  }

  #logo {
    max-width: 30%;
    padding: 20px 410px 16px 40px;
  }

  ul,
  li {
    list-style: none;
    text-decoration: none;
  }
  a {
    text-decoration: none;
  }

  /* 햄버거 아이콘 */
  #hamburger-menu {
    cursor: pointer;
    width: 50%;
    display: flex;
    justify-content: flex-end;
  }

  #hamburger-menu span {
    width: 38px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    margin-right: 30px;
    transition: 0.4s ease-in-out;
    cursor: none;
    caret-color: transparent; /* 커서 숨기기 */
    outline: none; /* 포커스 시 나타나는 테두리 제거 */
  }

  /* 열렸을 때 (검정색으로 바뀐다) */
  #hamburger-menu.open span {
    background-color: black;
  }

  /* 햄버거 닫혔을 때 */
  #hamburger-menu span:nth-child(1) {
    top: 25px;
  }
  #hamburger-menu span:nth-child(2) {
    top: 35px;
  }
  #hamburger-menu span:nth-child(3) {
    top: 45px;
  }

  /* 햄버거 열렸을 때 */
  #hamburger-menu.open span:nth-child(1) {
    top: 35px;
    transform: rotate(135deg);
  }
  #hamburger-menu.open span:nth-child(2) {
    opacity: 0;
  }
  #hamburger-menu.open span:nth-child(3) {
    top: 35px;
    transform: rotate(-135deg);
  }

  #menu-container .menu-list {
    position: absolute;
    width: 100%;
    background: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
  }

  /* 서브 메뉴 기본적으로 숨기기 */
  .menu-submenu {
    position: relative;
    display: none;
    list-style: none;
    padding-left: 20px;

    /* background-color: #f5f5f5; */
  }

  /* 서브 메뉴가 열렸을 때 */
  .accordion-toggle.open .menu-submenu {
    display: block;
  }

  /* 메인 메뉴 스타일 */
  .accordion-toggle a {
    display: flex;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
    color: black;
    /* border-top: 2px solid #dbdbdb; */
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 15px;
  }
  /* 첫 번째 메인 메뉴의 a에만 margin-top 적용 */
  .accordion-toggle:first-child > a {
    margin-top: 70px;
  }

  /* 서브 메뉴의 a 요소에는 margin-top이 적용되지 않도록 */
  .accordion-toggle .menu-submenu a {
    margin-top: 0 !important;
  }

  /* 서브 메뉴 항목 스타일 */
  .menu-submenu li a {
    font-size: 16px;
    padding: 8px;
    color: #767676;
  }
}

@media screen and (max-width: 768px) {
  /* main-banenr */
  .banner1 {
    height: 60vh;
    line-height: 1.4;
  }
  .banner-txt h1 {
    font-size: 2.25rem;
  }

  .line1 {
    display: block; /* 모바일에서 첫 번째 줄을 보여줌 */
    text-align: center; /* 가운데 정렬 */
  }

  .line2 {
    display: block; /* 모바일에서 두 번째 줄을 보여줌 */
    text-align: center;
    margin-top: 10px; /* 두 번째 줄에 마진 추가 */
  }
  .banner-txt span {
    font-size: 1rem;
  }
  /* content-1 */

  .content-1 {
    margin: 0;
  }
  .content-1 .title {
     margin-bottom: 1rem;
}
  .content-1 ul {
    flex-direction: column;
    padding: 3rem 0; /* 세로 배치 시 padding 조정 */
  }

  .content-1 ul li {
    width: 100%; /* 모바일에서는 전체 너비 사용 */
    margin-bottom: 2rem; /* 각 항목 사이에 간격 추가 */
  }

  .brand-value-list {
    flex-direction: column;
    align-items: center;
  }

  .brand-value-list li {
    width: 100%;
    max-width: 90%;
    height: 360px;
  }

  .text-wrap {
    text-align: center;
    padding: 1.5rem;
  }

  .text-wrap h2 {
    font-size: 1.4rem;
  }

  .text-wrap p {
    font-size: 0.95rem;
  }

  /* content-2 */
  .txt-left {
    width: 100%;
    text-align: center;
    margin: 0;
    padding-bottom: 20px;
  }
  .txt-left h3 {
    font-size: 1rem;
}
	.txt-box h2 {
    font-size:1.2rem;
}
  #inner2 {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }
  .content-2 {
    display: flex;
    justify-content: center;
    padding: 50px 0;
  }

  /* content-3 */
  .content-3 {
    padding: 50px 0;
  }
  .sub-banner > .title > h3 {
    padding: 16px;
  }
}

/* footer */
@media screen and (max-width: 1200px) {
  /* 화면 너비가 1200px 이하일 때 */
  .footer {
    width: 100%; /* 100%로 너비를 조정 */
    max-width: 1300px; /* 1300px 이상이면 고정 크기 */
    padding: 1rem;
  }

  /* info는 중앙 정렬 */
  .info {
    justify-content: center;
    margin-top: 2rem;
    align-items: center;
  }

  /* 하위 항목들 정보들도 중앙 정렬 */
  ul.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 768px) {
  /* 화면 너비가 768px 이하일 때 */
  .footer {
    padding: 10px;
    height: auto;
  }

  .footer h1 {
    font-size: 1.5rem;
	padding: 1rem 0 2rem 0;
  }

  .footer h2 {
    font-size: 1.8rem;
  }

  ul.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .info {
    justify-content: center;
    margin-top: 2rem;
    align-items: center;
  }
	ul.info li {
    margin-bottom: 0;
	}
  .footer ul {
    flex-direction: column;
    gap: 15px;
  }
