/* Mobile Styles - 767.99px and below */

@charset "utf-8";

@media (max-width: 767.99px) {
  /* Font Size Adjustment */
  html {
    font-size: 52.5%;
  }

  /* Display Utilities */
  .po {
    display: none;
  }
  .mo {
    display: block;
  }

  /* Layout Adjustments */
  .lmt {
    width: calc(100% - 48px);
  }

  /* Flexbox Adjustments */
  .fx {
    gap: 12px;
  }

  .fx2 > *,
  .fxm2 {
    width: calc(50% - 6px);
  }

  .fx3 > * {
    width: calc(50% - 6px);
  }

  .fx4 > * {
    width: calc(50% - 6px);
  }

  .fxm {
    width: 100%;
  }

  /* =========================================
   Mobile Header & Navigation (Opened All)
   ========================================= */

  /* 1. 헤더 기본 설정 */
  header.site-header {
    height: 68px !important;
    overflow: visible;
  }
  header.site-header .inner {
    height: 68px;
  }
  #logo img {
    height: 28px;
  }

  /* 2. 햄버거 버튼 */
  #mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    z-index: 200;
    position: relative;
    padding: 0;
    background: transparent;
    flex: none;
    border: none;
  }
  #mobile-menu-btn .line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--cp1);
    transition: all 0.3s ease;
  }
  body.mobile-open #mobile-menu-btn .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  body.mobile-open #mobile-menu-btn .line:nth-child(2) {
    opacity: 0;
  }
  body.mobile-open #mobile-menu-btn .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* 3. GNB 오버레이 */
  #gnb {
    position: fixed;
    top: 68px;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--back-color-1);
    padding-top: 36px;
    padding-bottom: 40px; /* 하단 여백 추가 */
    box-sizing: border-box;
    transition: right 0.3s ease-in-out;
    z-index: 150;
    overflow-y: auto;
    display: block !important;
  }
  body.mobile-open #gnb {
    right: 0;
  }

  .hero-title {
    font-size: var(--fs8);
  }

  .hero-slide-item,
  .sec-hero {
    height: 64vh;
    max-height: 520px;
  }
  .hero-slide-item {
    background-position: right 15% top;
  }
  .hero-slide-item .inner {
    top: 55%;
  }
  #sec-home-brand-list .anim-text-header h1,
  #sec-home-misa-banner .page-title h1 {
    font-size: var(--fs8);
  }
  #sec-home-brand-list .anim-text-header p,
  #sec-home-misa-banner .page-title p {
    font-size: var(--fs5);
  }
  .home-brand-wrapper {
    padding-top: 0;
  }
  #sec-home-notice .notice-list-wrap {
    flex-direction: column-reverse;
  }
  #sec-home-misa-banner .reveal-wrap {
    aspect-ratio: 16 / 10;
  }
  /* 4. 메뉴 리스트 (전체 노출형) */
  #menu-gnb {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 24px;
    width: auto;
    height: auto;
  }
  .page-header,
  .page-header2 {
    margin-top: 80px;
    margin-bottom: 60px;
    aspect-ratio: unset;
    height: auto;
  }

  #menu-gnb > li {
    width: 100%;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--cg7);
    padding: 0; /* 여백을 li에 줌 */
    align-items: flex-start;
    padding-bottom: 20px;
  }

  /* 1뎁스 스타일 */
  #menu-gnb > li > a {
    display: block; /* block으로 변경하여 텍스트 영역 확보 */
    font-size: var(--fs6); /* 제목처럼 보이게 더 키움 */
    font-weight: 700;
    flex: 1;
    color: var(--cp1);
  }

  /* 화살표 제거 (더 이상 토글이 아니므로) */
  #menu-gnb > li.menu-item-has-children > a::after {
    display: none;
  }

  /* 5. 서브 메뉴 (항상 노출) */
  #menu-gnb .sub-menu {
    position: static;
    display: block !important; /* 항상 보임 */
    opacity: 1;
    flex: 1;
    visibility: visible;
    background-color: transparent; /* 배경색 제거하여 자연스럽게 연결 */
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    transform: translate(0);
  }

  #menu-gnb .sub-menu li {
    margin-bottom: 6px;
  }
  #menu-gnb .sub-menu li:last-child {
    margin-bottom: 0;
  }

  /* 2뎁스 스타일 (위계 구분 명확히) */
  #menu-gnb .sub-menu li a {
    font-size: var(--fs5);
    color: var(--cp1);
    font-weight: 500;
    display: block;
  }

  .footer-left {
    width: 100%;
    max-width: 100%;
  }
  .footer-menu-grid .sub-menu li,
  .footer-menu-grid > li > a {
    margin-bottom: 5px;
  }
  .sec-content {
    padding: calc(var(--unit-fx) * 400) 0;
  }

  #sec-location p.contact-info {
    margin-bottom: 20px;
    margin-top: 10px;
  }
  /* 2뎁스 활성화 시 */
  #menu-gnb .sub-menu li.current-menu-item a {
  }
  .brand-content-sec h2, .brand-content-sec h3, .brand-content-sec h4, .brand-content-sec h5, .brand-content-sec h6 {
    line-height: 1.6;
  }

  .ease-item .img-box {
    margin-bottom: 12px;
  }

  #sec-location h4.addr {
    font-size: var(--fs4);
  }
  /* 바디 스크롤 막기 */
  body.mobile-open {
    overflow: hidden;
  }

  .page-header .h-full {
    display: block;
  }

  .page-header .page-title .anim-text-header {
    padding: 32px 36px;
  }
  .page-header .page-title h1 {
    font-size: var(--fs7);
  }
  .page-header .page-title p {
    font-size: var(--fs4);
  }

  .page-header .hero-img img {
    aspect-ratio: 1 / 1;
  }
  .brand-list-wrapper {
    gap: 0px;
  }
  .brand-row {
    display: block;
    margin-bottom: 0;
  }
  .msg-title {
    font-size: var(--fs6);
    margin-bottom: 0;
  }
  .brand-item {
    margin-top: 36px;
    width: 100% !important;
  }
  .brand-list-wrapper .item-desc {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  #sec-ceo .inner {
    display: block;
  }

  #sec-ceo .img-sz-md {
    max-width: 100%;
    margin-left: auto;
    margin-top: 36px;
  }

  #sec-ceo .img-group .ceo-sign {
    text-align: left;
    margin-top: 12px;
  }

  #sec-vision {
    padding-top: 60px !important;
  }
  #sec-vision .desc-box {
    padding-right: 0;
  }

  #sec-vision .inner {
    display: block;
  }
  #sec-vision .img-group .img-sz-md {
    max-width: 100%;
    margin-bottom: 36px;
  }
  #sec-vision .text-group .sub-title {
    font-size: var(--fs6);
    margin-bottom: 20px;
  }
  #brand-view-header h1 {
    font-size: var(--fs7);
    margin-bottom: 32px;
  }
  .brand-content-sec hr.wp-block-separator,
  .brand-content-sec {
    background-size: 200%;
  }
  .scroll-guide {
    display: none;
  }
  .brand-content-sec h2,
  .brand-content-sec h3,
  .brand-content-sec h4,
  .brand-content-sec h5,
  .brand-content-sec h6 {
    font-size: var(--fs6);
    margin-bottom: 20px;
  }
  .brand-content-sec p {
    font-size: var(--fs5);
  }
  .brand-content-sec .wp-block-image {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  #more-brand-list {
    padding-top: 0;
  }
  #sec-bundang-hero h1 {
    font-size: var(--fs7);
  }
  #sec-bundang-hero {
    aspect-ratio: unset;
  }
  #sec-bundang-hero .hero-img .reveal-wrap {
    border-radius: 4px !important;
  }
  #sec-bundang-hero .hero-img img {
    display: none;
  }
  #sec-bundang-hero .h-full .page-title {
    padding-bottom: 0;
  }
  .sec-title {
    font-size: var(--fs8);
  }
  #live-ease h2.sec-title {
    margin-bottom: 28px;
  }
  .ease-tit {
    font-size: var(--fs4);
    margin-bottom: 4px;
    line-height: 1.5;
  }
  .ease-desc {
    font-size: var(--fs3);
  }
  .ease-slider .slick-slide {
    margin: 0 10px;
  }
  .sec-guide2 .inner > div.fx {
    padding: 12px;
    flex-direction: column-reverse !important;
    gap: 0;
  }
  .sec-guide2 .text-group > div {
    padding: 24px;
    gap: 0;
  }
  .sec-guide2 .img-group {
    padding: 20px;
    padding-bottom: 0;
    background-color: var(--cw);
  }
  .sec-guide2 .text-group h2 {
    font-size: var(--fs6);
  }
  .sec-guide .guide-item {
    display: block;
  }
  .sec-guide .guide-item h3 {
    font-size: var(--fs5);
  }
  .sec-guide .guide-item ul li {
    font-size: var(--fs4);
  }
  .sec-guide2.sec-guide {
    padding-bottom: 0px !important;
  }
  .sec-guide .text-group h2 {
    font-size: var(--fs7);
    line-height: 1.5;
  }
  #sec-userguide .inner {
    flex-direction: column-reverse;
    gap: 40px;
  }
  #sec-location h2.section-subtitle {
    font-size: var(--fs7);
  }
  #sec-location .reveal-wrap {
    aspect-ratio: 1 / 1;
  }
  .slider-arrows {
    margin-top: 20px;
  }
  .slider-arrows button {
    width: 52px;
    height: 52px;
  }
  #sec-location .transport-info {
    flex-direction: column;
  }
  #sec-location .transport-info .transport-item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--cg6);
    width: 100%;
    padding-top: 12px;
    display: flex;
    flex-direction: row;
  }
  #sec-location .transport-info .transport-icon {
    flex: 1;
    line-height: 1.5;
  }
  #sec-location .transport-info .transport-details {
    flex: 3;
  }
  #sec-location .transport-info .transport-item:first-child {
    border-top: 0;
  }
  #sec-location .transport-info .transport-item h4,
  #sec-location .transport-info .transport-item h3 {
    font-size: var(--fs5);
  }
  #sec-location .transport-info .transport-item h4 {
    font-weight: 500;
  }
  #sec-location {
    padding-top: 40px;
  }
  .txt-list-tab-link {
    padding: 8px 20px;
  }
  .pr-list,
  .notice-list {
    width: 100%;
  }
  .txt-list-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }
  .n-title {
    width: 100%;
    font-size: var(--fs5);
  }
  .n-date {
    text-align: left;
  }
  #notice-page,
  .single-media,
  #pr-page {
    margin-bottom: 60px;
  }
    #notice-page .hero-img img,
    #pr-page .hero-img img {
      display: none;
    }
    .page-header2 {
      height: auto !important;
    }
  #sec-home-notice .hero-img img {
    display: none;
  }
  .notice-list .txt-list-item:nth-child(n+4) {
        display: none;
    }
  .txt-list-list-sec > .inner {
    flex-direction: column;
  }
  .txt-list-tabs {
    margin-bottom: 32px;
  }

  .single-media #view-header {
    padding-top: 100px;
  }
  .single-media #view-header h1 {
    font-size: var(--fs7);
  }
  .nav-sec {
    margin-top: 60px;
  }
  .txt-list-list {
    width: 100%;
  }
  .n-cat {
    font-size: var(--fs3);
  }
  .pagination {
    margin-top: 32px;
  }

  #ethics-header .hero-img img {
    display: none;
  }
  #sec-home-brand-list .anim-text, #sec-home-brand-list .anim-text-header,
  #sec-home-misa-banner .anim-text, #sec-home-misa-banner .anim-text-header {
    padding: 36px 0;
  }
  #sec-home-brand-list .anim-text-header,
  #sec-home-misa-banner .anim-text-header {
    padding-top: 0;
  }
  #sec-home-brand-list .brand-item {
    margin-top: 0;
  }
  #sec-home-brand-list .brand-item a {
    display: block;
    margin-bottom: 36px;
  }
    #sec-home-brand-list .brand-row:last-child .brand-item:last-child a {
      margin-bottom: 0;
    }
  #sec-home-brand-list .brand-list-wrapper .item-desc {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  #sec-home-notice .page-header {
    margin-bottom: 36px;
  }

  .footer-menu-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 4px;
  }
    .footer-menu-grid li {
      display: flex;

    }
    .footer-menu-grid li>a {
      flex: 1;
    }
    .footer-menu-grid li ul {
      flex: 1;
    }
    .footer-meta {
      padding-top: 36px;
    }
}
