@charset "utf-8";

/* =============================================
   반응형 표시/숨김 유틸리티
   ============================================= */
.pc_v {
  display: block;
}

/* PC 전용 – 태블릿↓ 숨김 */
.mo_v {
  display: none;
}

/* 모바일 전용 – PC에서 숨김 */

/* =============================================
   공통
   ============================================= */
.one-container {
  min-height: 200vh;
}

.one-hd-con {
  background-color: #fff;
}

.one-hd-con img {
  width: 100%;
  height: auto;
}

/* =============================================
   PC 헤더 – row1
   ============================================= */
.one-hd-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.one-hd-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 16px;
}

.one-hd-row1 .lf {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.one-hd-row1 .lf img {
  max-width: 188px;
  width: 100%;
}

.one-hd-row1 .ct {
  flex: 1;
  display: flex;
  justify-content: center;
  padding-right: 3.5em;
}

.one-hd-row1 .one-hd-logo {}

.one-hd-row1 .rg {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.one-hd-row1 .rg img {
  max-width: 385px;
  width: 75%;
}

/* =============================================
   PC 헤더 – row2 (GNB 네비)
   ============================================= */
.one-hd-row2 {
  position: relative;
  width: 100%;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  padding: 8px 16px;
  background-color: #fff;
}

.one-hd-row2.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  animation: oneSlideDown 0.3s ease forwards;
}

@keyframes oneSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.one-nav {
  height: 60px;
}

.one-nav-inner {
  height: 100%;
}

.one-nav-inner .menu-main_nav-container {
  max-width: 1400px;
  width: 70%;
  height: 100%;
  margin: 0 auto;
}

.one-nav-inner .one-main-menu {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
}

.one-nav-inner .menu-item {
  display: flex;
  height: 100%;
  align-items: center;
  font-size: 18px;
  justify-content: center;
  flex: 1;
}

.one-nav-inner .menu-link {}

/* =============================================
   모바일 헤더 – 바 (상단 고정 영역)
   ============================================= */
.one-mo-hd {
  background-color: #fff;
  border-bottom: 1px solid #d8d8d8;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.one-mo-hd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  height: 70px;
}

.one-mo-hd-lf,
.one-mo-hd-rg {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
}

.one-mo-hd-lf {
  justify-content: flex-start;
}

.one-mo-hd-rg {
  justify-content: flex-end;
}

/* 전화 버튼 */
.one-mo-tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.one-mo-tel-btn img {
  width: 100%;
  object-fit: contain;
}

/* 로고 */
.one-mo-hd-ct {
  flex: 1;
  display: flex;
  justify-content: center;
}

.one-mo-hd-logo {
  line-height: 1;
}

.one-mo-hd-logo a,
.one-mo-hd-logo img {
  display: block;
  max-height: 36px;
  width: auto;
}

/* 햄버거 버튼 */
.one-mo-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  background: #a6a6a6;
  border-radius: 50%;
}

/* 아이콘 래퍼 */
.one-mo-menu-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}

/* 공통 바 */
.one-mo-bar {
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    top 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.3s ease;
  transform-origin: center;
}

/* 기본: 햄버거 위치 */
.one-mo-bar--top {
  top: 4px;
}

.one-mo-bar--mid {
  top: 11px;
}

.one-mo-bar--btm {
  top: 18px;
}

/* 활성화: X 변환 */
.one-mo-menu-btn.is-active .one-mo-bar--top {
  top: 11px;
  transform: rotate(45deg);
}

.one-mo-menu-btn.is-active .one-mo-bar--mid {
  opacity: 0;
  transform: scaleX(0);
}

.one-mo-menu-btn.is-active .one-mo-bar--btm {
  top: 11px;
  transform: rotate(-45deg);
}

/* =============================================
   모바일 헤더 – 풀다운 네비게이션 패널
   ============================================= */
.one-mo-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background-color: #fff;
  border-top: 1px solid #d8d8d8;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.one-mo-nav.is-open {
  max-height: var(--one-mo-nav-h, 600px);
}

/* 메뉴 리스트 */
.one-mo-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.one-mo-menu>.menu-item {
  border-bottom: 1px solid #d8d8d8;
}

.one-mo-menu>.menu-item:last-child {
  border-bottom: none;
}

.one-mo-menu>.menu-item>a {
  display: block;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  text-align: center;
}

.one-mo-menu>.menu-item>a:hover,
.one-mo-menu>.menu-item.current-menu-item>a {
  background-color: #f7f7f7;
  color: var(--main-color);
}

/* 하위 메뉴 (sub-menu) */
.one-mo-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
}

.one-mo-menu .sub-menu .menu-item>a {
  display: block;
  padding: 12px 20px 12px 36px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  border-top: 1px solid #ececec;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.one-mo-menu .sub-menu .menu-item>a:hover {
  background-color: #f0f0f0;
  color: #b08a5e;
}

/* =============================================
   태블릿 이하 (≤ 1024px)
   ============================================= */
@media all and (max-width: 1024px) {
  .pc_v {
    display: none !important;
  }

  .mo_v {
    display: block;
  }
}

/* =============================================
   모바일 (≤ 639px)
   ============================================= */
@media all and (max-width: 639px) {
  /* 필요 시 추가 미세 조정 */
}