/* ========== PC 모드 (>=768px) 최적화 CSS ========== */
@media screen and (min-width: 768px) {

  .bottom-bar{
    display: none;
  }
  .hero img:nth-of-type(n+2),
  .tel-icon {
    display: none !important;
  }
    .menu-btn { background: none; border: 0; font-size: 22px; cursor: pointer; }

  /* 2. Drawer (모바일 메뉴) 애니메이션 설정 */
  .drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
  }
  .drawer.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .24s ease;
  }
  .drawer.is-open .drawer-backdrop {
    background: rgba(0, 0, 0, .35);
  }
  .drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: min(84vw, 360px);
    background: #fff;
    box-shadow: 2px 0 20px rgba(0, 0, 0, .12);
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    padding: 16px;
    padding-top: 104px; /* 헤더 높이 고려 */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .drawer.is-open .drawer-panel {
    transform: translateX(0);
  }
  .drawer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 40px;
    cursor: pointer;
  }
  .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .drawer-link {
    display: block;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 18px;
    color: #1b3550;
    text-decoration: none;
    border-radius: 10px;
  }
  body.drawer-open {
    overflow: hidden;
  }

  /* 3. 헤더 레이아웃 (3열 그리드 형태) */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    height: 60px;
  }
  .brands {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .brand-logo {
    height: 20px;
    width: auto;
  }
/* 1. 링크 태그 자체의 밑줄 제거 */
.tel {
  text-decoration: none !important; /* 밑줄 강제 제거 */
  display: flex;
  align-items: center;
}

/* 2. 텍스트 span의 밑줄 및 색상 고정 */
.tel-text {
  text-decoration: none !important;
  color: #000; /* 또는 원하시는 색상 */
  font-weight: 800;
  font-size: 24px;
  border: none; /* 혹시 모를 하단 테두리 제거 */
}
  .nav-menu {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0;
    justify-content: space-around;
    gap: 30px;
  }
  .nav-link {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
  }

  /* 4. 메인 비주얼 (Hero) */
  .hero {
    margin-top: 110px; /* 헤더 공간 */
    width: 100%;
  }
  .hero img {
    width: 100%;
    display: block;
  }
    #section-form {
        position: relative;
        background: url('../img/backimg\ 1.jpg') center / cover no-repeat;
        padding: 90px 0;
        height: 750px;
    }
    #section-form .pad {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: row; /* 가로 나열 */
      align-items: center; /* 수직 중앙 정렬 */
      justify-content: space-between; /* 좌우 끝으로 벌리기 */
      gap: 40px; /* 좌우 간격 */
      padding: 0 20px;
    }
  /* 우측 폼은 칼럼 너비 꽉 채움 */
.backimg {
  flex: 1; /* 좌측과 동일 비율 또는 고정 너비 */
  display: flex;
  justify-content: flex-end; /* 폼을 오른쪽 끝으로 밀기 */
}


/* 좌측 텍스트 영역 */
.call-info {
  flex: 1; /* 남은 공간 차지 */
  text-align: center; /* 텍스트 왼쪽 정렬 */
}

.call-info .title {
  font-size: 42px;
  font-weight: 800;
  color: #1b3550;
  margin: 0 0 15px 0; /* 하단 간격 15px */
  line-height: 1.2;
}

.call-info .subtitle {
  font-size: 32px;
  font-weight: 700;
  color: #2c8b83;
  margin: 0 0 40px 0; /* 큰 제목 그룹과 본문 사이 간격 40px */
  line-height: 1.2;
}

.call-info h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px 0; /* 설명글 사이 간격 15px */
  line-height: 1.4;
}

.call-info h4 {
  font-size: 18px;
  color: #666;
  font-weight: 400;
  margin: 0; /* 마지막 요소는 마진 제거 */
  line-height: 1.6;
}

    /* ==== 방문예약 폼 전용 스타일 ==== */
    .visit-form {
  width: 100%;
  max-width: 500px; /* 폼 최대 너비 제한 */
  margin: 0; /* 기존 margin: 0 auto 해제 */
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
    .form-group{margin-bottom:25px}
    .visit-form label{display:block;font-weight:600;margin-bottom:4px;font-size:15px;text-align:left}
    .required{color:red;margin-left:3px}
    .sub-info{font-size:12px;color:#777;margin-bottom:5px;text-align:left}
    .input-row{display:flex;gap:10px;flex-wrap:wrap}
    .input-row input,
    .visit-form input[type="text"],
    .visit-form input[type="tel"],
    .visit-form select{
      flex:1;min-width:0;padding:10px;font-size:14px;border:1px solid #ccc;
      border-radius:4px;box-sizing:border-box;text-align:left;width:100%;background:#fff
    }

    /* 버튼 */
    .visit-form button{
      width:100%;padding:12px;background:#2c8b83;color:#fff;font-size:16px;border:none;
      border-radius:30px;cursor:pointer;margin-top:10px;transition:transform .02s ease,opacity .2s ease,background-color .2s ease
    }
    .visit-form button:hover{background:#2c5f59}
    .visit-form button:disabled{opacity:.5;cursor:not-allowed}

    /* 개인정보 수집·이용 동의서 */
    details.privacy-accordion{border:1px solid #e3e8eb;border-radius:10px;background:#fdfdfd;padding:8px 10px;margin-top:8px}
    details.privacy-accordion>summary{list-style:none;cursor:pointer;font-weight:800;font-size:13px;color:#2c5f59;display:flex;align-items:center;gap:6px}
    details.privacy-accordion>summary::-webkit-details-marker{display:none}
    details.privacy-accordion>summary::before{content:"▶";font-size:11px;transform:translateY(-1px);opacity:.8}
    details.privacy-accordion[open]>summary::before{content:"▼"}
    .privacy-content{white-space:pre-wrap;line-height:1.6;font-size:12px;color:#424b55;margin-top:10px;max-height:50px;overflow:auto;padding:8px;border-top:1px dashed #e6ecf0}

    .checkbox-inline{position:relative;top:22px;display:inline-block;margin-bottom:16px}
    .checkbox-inline input{position:absolute;bottom:-6px}
    .checkbox-inline span{position:absolute;bottom:-5.5px;left:23px;right:0;font-size:12px}

    /* ==== 시간 슬롯 드롭다운 ==== */
    .time-wrap{position:relative;flex:1;min-width:0}
    .time-display{
      cursor:pointer;background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232c8b83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>")
        no-repeat 10px 50%/18px 18px;padding-left:36px
    }
    .time-dropdown{
      position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:8px;
      box-shadow:0 10px 24px rgba(0,0,0,.08);max-height:280px;overflow:auto;display:none
    }
    .time-dropdown.open{display:block}
    .slot-sec{padding:8px 10px;border-bottom:1px solid #f1f5f9}
    .slot-sec h4{margin:6px 2px 8px;font-size:13px;color:#2563eb}
    .slot{padding:10px 14px;border-radius:6px;cursor:pointer;font-size:14px}
    .slot:hover,.slot:focus{background:#f1f5f9;outline:none}
    .slot[aria-selected="true"]{background:#e8f2ff}


  /* 전화: 오른쪽(3열) */
  .tel{
    grid-column: 3;
    justify-self: end;
  }
  .tel-icon{
    height: 32px;
    width: auto;
    display: block;
  }

    /* Footer */
  .footer {

    text-align: center;
    padding: 80px 16px 120px; /* 하단바 공간 확보 위해 80px 추가 */
    color: #444;
  }
  .footer-title {
    font-size: 28px;
    font-weight: 300;
    margin: 0 0 8px;
  }
  .footer-phone {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 12px;
  }
  .footer-phone a {
    color: #000;
    text-decoration: none;
  }
  .footer-text {
    font-size: 17px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    font-weight: 300;
  }

    /* 안내페이지 상단 */
    .page-hero {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('../img/special-bg.png') center bottom / cover no-repeat;
    display: flex;
    color: #fff;
    padding-top: 150px;
  }

  .page-hero-inner {
    text-align: left;
    margin-left: 2vw;
    line-height: 1.2;  /* ✅ 텍스트 줄간격 조정 */
  }

  .page-hero .hero-kor {
    font-size: clamp(16px, 4vw, 25px);
    font-weight: 300;
    margin-bottom: 10px; /* ✅ 기본 8px → 줄임 */
  }

  .page-hero .hero-eng {
    font-size: clamp(28px, 4vw,70px);
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-top: 0; /* 혹시 기본 margin 있으면 제거 */
  }
/* ----- Sub Tabs ----- */
.subtabs{
  position: sticky;
  top: var(--header-h, 96px);
  z-index: 500;
  display: flex;
  flex-wrap: nowrap;              /* ✅ 줄바꿈 금지 */
  gap: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;               /* ✅ 바깥으로 안 나가게 */
  -webkit-overflow-scrolling: touch;
}

  /* 탭 바 컨테이너(있다면) 정렬/폭 */
  .subtabs{
    max-width: 1200px;
    margin: 0 auto;
    position: static;   /* ← sticky 끄기 */
    top: auto;
    z-index: auto;
    display: flex;
    flex-wrap: nowrap;            /* 한 줄 유지 */
    justify-content: center;      /* 가운데 정렬 */
    gap: 16px;                    /* 탭 간격 */
    border-bottom: 1px solid #e5e7eb;
    overflow: visible;            /* PC에선 잘리지 않게 */
  }

  .subtab{
    -webkit-tap-highlight-color: transparent;
    flex: 0 0 auto;               /* 텍스트 길이만큼 */
    min-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    padding: 10px 18px;           /* PC 여백 업 */
    font: inherit;
    font-weight: 700;
    font-size: 18px;              /* PC 고정 크기 */
    color: #1b3550;
    background: transparent;
    border: 0;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
  }

  /* 호버 */
  .subtab:hover{
    background: #f5f7fa;
    color: #0e3a5f;
  }

  /* 활성 */
  .subtab.is-active{
    color: #0e3a5f;
    background: #eef2f5;
    border-radius: 10px 10px 0 0;
  }

  /* 포커스 접근성 */
  .subtab:focus-visible{
    outline: 2px solid #91b5ff;
    outline-offset: 2px;
  }

  /* 패널: PC는 적당한 패딩과 가독성 라인 높이 */
  .subtab-panel{
    display: none;
    padding: 24px 0;
    line-height: 1.4;
    scroll-margin-top: calc(var(--header-h, 96px) + 8px); /* 앵커 이동 시 헤더 보정 */
  }
  .subtab-panel.is-active{ display: block; }
  .subtab-panel img{
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover; /* 이미지가 박스를 꽉 채우게 (비율 유지) */
}
.subtabs-title{
  text-align: center;
  margin: 50px 0;                 /* ↑↓ 50px */
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  color: #233252;
}
/* VR iframe 중앙정렬 + 반응형 */
.vr-embed{
  max-width: 1200px;     /* 필요시 조절 */
  margin: 0 auto;        /* 가운데 정렬 */
  padding: 0 16px;       /* 좌우 여백(옵션) */
  display: flex;
  justify-content: center;
}

.vr-embed iframe{
  display: block;
  width: 100%;
  max-width: 1024px;     /* iframe 자체 최대폭 (원하면 변경) */
  aspect-ratio: 16 / 9;  /* 비율 유지해서 높이 자동 */
  height: 630px;
  border: 0;
}
.page-hero {
    position: relative;
    width: 100%;
    height: 400px; /* 높이가 너무 낮으면(100px) 답답해 보일 수 있어 상향 조정 권장 */
    background: url('../img/special-bg.png') 100% bottom / cover no-repeat;
    
    /* 추가된 중앙 정렬 코드 */
    display: flex;
    justify-content: center; /* 좌우 가운데 정렬 */
    align-items: center;     /* 상하 가운데 정렬 */
    text-align: center;
    
    color: #fff;
    /* padding-top: 150px; */ /* 완벽한 중앙 정렬을 위해 기존 패딩은 주석 처리하거나 제거하세요 */
}

/* 내부 텍스트 스타일 */
.page-hero h2 {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5); /* 배경 대비 가독성 확보 */
    margin: 0;
}
}