/* 시안 6: 기존 홈페이지의 영상 위 메뉴와 모바일 중앙 로고 배치. */
.home-floating .header {
  position: relative;
  inset: 0 0 auto;
  width: 100%;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 12px rgb(22 43 59 / 10%);
}
.home-floating .header-inner {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 0;
  width: 100%;
  height: 52px;
}
.home-floating .header .brand-wordmark {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-items: center;
}
.home-floating .header-cta,
.home-floating .desktop-nav {
  display: none;
}
.home-floating .header-consult,
.home-floating .menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #008298;
}
.home-floating .header-consult {
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  gap: 1px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.home-floating .menu-button {
  grid-column: 3;
  grid-row: 1;
  gap: 6px;
}
.home-floating .menu-button span {
  background: currentColor;
  transition: transform 160ms ease;
}
.home-floating .menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.home-floating .menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
/* 폰 위 빠른 메뉴 — 다섯 칸을 옆으로 밀지 않고 한 줄에(대표 2026-10-22 「상단 이거 스크롤 없이 한 줄로」). 전엔 네 칸씩 보이고 다섯째(상담·문의)는 밀어야 보였다. 글씨는 폭 따라 11~13px */
.home-floating .header-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.home-floating .header-shortcuts a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 40px;
  font-size: clamp(11px, 3.3vw, 13px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}
/* 햄버거 메뉴를 열면 위 빠른 메뉴 줄(소개 · 패키지·요금 · 펜션 · 강습 · 고객센터)은 숨겨 메뉴가 로고 바로 아래로 올라온다(대표 2026-10-23 「햄버거 열었을 때는 슬라이드 메뉴 영역 위로 올라가게」) — 닫으면 다시 보임 */
.home-floating .header-shortcuts:has(~ #mobile-menu:not([hidden])) {
  display: none;
}
.home-floating #mobile-menu {
  /* 한 줄에 하나(대표 2026-10-16 「가로 메뉴 한 줄씩」) — 전엔 두 칸 격자 */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  padding: 8px 20px 20px;
  max-height: calc(100dvh - 180px);
  overflow-y: auto;
  overscroll-behavior: contain;
  /* 열면 위 빠른 메뉴 줄이 숨어 로고 줄과 메뉴 사이 선이 없어 어색했다(대표 2026-10-24 「구분선이 없어서 그런지 어색해」) — 강습센터 메뉴처럼 한 줄 */
  border-top: 1px solid var(--line);
}
/* 강습센터 메뉴처럼 옅은 바탕 + 화면 아래까지(대표 2026-10-24 「렌탈도 강습처럼 백그라운드 색, 메뉴 펼쳐졌을 때 살짝 어색해」).
   전엔 흰 메뉴 바로 밑으로 첫 화면 사진이 이어져 메뉴가 어디서 끝나는지 흐렸다. 52px = 로고 줄 높이, 아래 여백 = 하단 바에 마지막 줄이 안 가리게 */
.home-floating #mobile-menu {
  background: #f5f9fc;
}
.home-floating #mobile-menu:not([hidden]) {
  align-content: start;
  min-height: calc(100dvh - 52px);
  max-height: none;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
.home-floating #mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
/* 강습센터와 같은 모바일 퀵메뉴 — 요금·예약·방문·상담 */
.home-floating #mobile-menu .mm-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}
.home-floating #mobile-menu .mm-shortcuts a {
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 8px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.home-floating #mobile-menu .mm-shortcuts svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--blue);
}
/* 「Language」 칸(2026-10-21, 예전 카톡 상담 자리) — 다른 칸과 같은 모양, 언어 줄이 열리면 옅은 청록 */
.home-floating #mobile-menu .mm-shortcuts .mm-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 8px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.home-floating #mobile-menu .mm-shortcuts .mm-lang-btn svg {
  color: #008298;
}
.home-floating #mobile-menu .mm-shortcuts .mm-lang-btn[aria-expanded="true"] {
  background: #e6f4f6;
  color: #006d80;
}
/* 펼쳐보기 묶음(강습) — 제목 줄은 다른 항목과 같은 높이·선, 펼치면 하위 항목이 들여쓰기로 */
.home-floating #mobile-menu .mm-group {
  border-bottom: 1px solid var(--line);
}
.home-floating #mobile-menu .mm-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.home-floating #mobile-menu .mm-group summary::-webkit-details-marker {
  display: none;
}
.home-floating #mobile-menu .mm-group .mm-sub,
.home-floating #mobile-menu .mm-direct .mm-sub {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted, #64748b);
}
.home-floating #mobile-menu .mm-direct {
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
}
/* 이름 칸 폭을 고정해 회색 설명이 다섯 줄 모두 같은 세로선에서 시작(대표 2026-10-24 「왼쪽 영역 잡아서, 이름들 왼쪽 라인부터 일자로」).
   이름은 글자 그대로(익명 칸) · 설명(.mm-sub) · 꺾쇠(::after) 세 칸 격자 — 폭은 가장 긴 「패키지·요금」·「렌탈샵 소개」 기준 */
.home-floating #mobile-menu .mm-group summary,
.home-floating #mobile-menu .mm-direct {
  display: grid;
  grid-template-columns: 6.4em minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 10px;
}
.home-floating #mobile-menu .mm-group summary::after,
.home-floating #mobile-menu .mm-direct::after {
  grid-column: 3;
}
.home-floating #mobile-menu .mm-group summary::after,
.home-floating #mobile-menu .mm-direct::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}
.home-floating #mobile-menu .mm-group[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.home-floating #mobile-menu .mm-group[open] .mm-sub {
  visibility: hidden;
}
.home-floating #mobile-menu .mm-group a {
  min-height: 44px;
  padding: 8px 0 8px 16px;
  border-bottom: 0;
  border-top: 1px dashed var(--line);
  font-size: 15px;
}
.home-floating #main {
  padding-top: 0;
}
.home-floating .test-switcher {
  border-top: 1px solid var(--line);
}
.home-floating .test-switcher .container {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 20px;
  padding-block: 12px;
}
@media (min-width: 761px) {
  .home-floating .header {
    position: absolute;
    top: 24px;
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    /* 맨 위 3px 청록 줄은 뺐다 — 양쪽 청록 상자(지구본·카톡)와 이어져 상자가 흰 바 위로 삐져나온 것처럼 보였다(대표 2026-10-19 「의도한 거 아니면 흰색 영역으로 덮기」) */
  }
  .home-floating .header-inner {
    display: flex;
    /* PC 헤더 높이 76 → 64px(대표 2026-10-21 「상단 메뉴 바 PC 에서 높이 좀 줄여 줘」) — 메뉴 칸·카톡/지구본 상자·격자 끝 칸도 같은 값 */
    height: 64px;
    gap: 20px;
    padding-left: 24px;
  }
  .home-floating .header .brand-wordmark {
    order: 0;
    align-items: flex-end;
  }
  .home-floating .desktop-nav {
    display: flex;
    order: 1;
    margin-inline: auto;
    gap: clamp(16px, 2vw, 28px);
  }
  .home-floating .desktop-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
  }
  .home-floating .header-cta {
    display: block;
    order: 2;
    white-space: nowrap;
  }
  .home-floating .header-consult {
    order: 3;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    gap: 4px;
    font-size: 12px;
  }
  .home-floating .menu-button,
  .home-floating .header-shortcuts,
  .home-floating #mobile-menu {
    display: none;
  }
  .home-floating #main {
    padding-top: 0;
  }
  .home-floating .photo-experiences {
    padding-top: 24px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .home-floating .header-inner {
    gap: 14px;
    padding-left: 18px;
  }
  .home-floating .header-cta {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-floating .menu-button span {
    transition: none;
  }
}

/* 메인과 서브페이지에서 같은 PC 전체 소메뉴를 사용한다. */
.home-floating .brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 3px;
  padding-block: 4px;
  color: #008298;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.home-floating .brand-wordmark-name {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.065em;
}
.home-floating .brand-wordmark-en {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
@media (min-width: 761px) {
  .home-floating .header-inner {
    display: grid;
    /* 3번째 칸 = 외국어 알약 + 예약하기 묶음(.header-tools, 대표 2026-10-18) — 내용 폭 */
    grid-template-columns: 120px minmax(0, 1fr) auto 64px;
  }
  .home-floating .header .brand-wordmark {
    grid-column: 1;
    justify-self: start;
  }
  .home-floating .desktop-nav {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 64px;
    margin: 0;
  }
  .home-floating .header-cta {
    grid-column: 3;
    grid-row: 1;
    padding-inline: 10px;
  }
  .home-floating .header-consult {
    grid-column: 4;
    grid-row: 1;
  }
  .home-floating .desktop-menu-titles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: 100%;
  }
  .home-floating .desktop-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }
  .home-floating .desktop-menu-item > a {
    height: 100%;
    border-bottom: 3px solid transparent;
    padding-top: 3px;
    font-size: clamp(12px, 1.05vw, 15px);
    font-weight: 700;
  }
  .home-floating .desktop-menu-item:hover > a,
  .home-floating .desktop-menu-item:focus-within > a,
  .home-floating .desktop-menu-item[data-current] > a {
    color: #008298;
    border-bottom-color: #008298;
  }
  .home-floating .desktop-submenus {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 20px 206px 28px 164px;
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgb(15 32 40 / 94%);
    box-shadow: 0 16px 24px rgb(0 0 0 / 14%);
  }
  .home-floating .desktop-submenu-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .home-floating .desktop-submenus a {
    justify-content: center;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    text-decoration: none;
  }
  .home-floating .desktop-submenus a:hover,
  .home-floating .desktop-submenus a:focus-visible,
  .home-floating .desktop-submenus a[aria-current="page"] {
    color: #9de3ed;
    background: rgb(255 255 255 / 8%);
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .home-floating .header-inner {
    grid-template-columns: 110px minmax(0, 1fr) auto 64px;
  }
  .home-floating .header-consult {
    grid-column: 4;
  }
  .home-floating .desktop-submenus {
    padding-inline: 142px 90px;
  }
  .home-floating .desktop-submenus a {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .home-floating .header .brand-wordmark-name {
    font-size: 25px;
  }
}

/* 현재 페이지 표시도 상담 버튼의 대비는 유지한다. */
.home-floating .header .header-consult[aria-current="page"] {
  color: #fff;
  text-decoration: none;
}

/* 시안 6: 하단 로고 옆에 전화 상담 정보를 배치한다. */
.home-floating.test-6 .footer .footer-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home-floating.test-6 .footer .story-contact {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
  scroll-margin-top: 24px;
}
.home-floating.test-6 .footer .story-contact .phone-consult-number {
  gap: 6px;
  font-size: clamp(20px, 5.8vw, 24px);
  white-space: nowrap;
}
.home-floating.test-6 .footer .story-contact-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
.home-floating.test-6 .footer .phone-consult-hours {
  margin: 2px 0 0;
  font-size: 12px;
}
@media (max-width: 380px) {
  .home-floating.test-6 .footer-heading .brand-wordmark-name {
    font-size: 24px;
  }
}
@media (min-width: 761px) {
  .home-floating.test-6 .footer .story-contact .phone-consult-number {
    gap: 10px;
    font-size: 34px;
  }
  .home-floating.test-6 .footer .story-contact-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .home-floating.test-6 .footer .phone-consult-hours {
    font-size: 14px;
  }
}

/* 전광판으로 하단 로고와 사업자 정보 사이 구분선을 대신한다. */
.home-floating.test-6 .footer .lift-marquee {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}
.home-floating.test-6 .footer .footer-business {
  border-top: 0;
  padding-top: 0;
}

/* 사업자 정보의 항목명과 값을 콜론으로 구분한다. */
.home-floating .footer-business dt::after {
  content: " :";
}

/* 시안 6 푸터: 옅은 브랜드 배경과 정보·방문 안내의 명확한 구분. */
.home-floating.test-6 .site-footer {
  display: block;
  width: 100%;
  padding: 36px 0 40px;
  background: #f0f6f7;
}
.home-floating.test-6 .site-footer .footer-inner {
  display: grid;
  gap: 24px;
}
.home-floating.test-6 .site-footer .footer-business {
  display: grid;
  gap: 22px;
  font-size: 13px;
  line-height: 1.8;
}
.home-floating.test-6 .site-footer .footer-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.home-floating.test-6 .site-footer .footer-quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 44px;
  padding-block: 6px;
  border-bottom: 1px solid #c5d9de;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  word-break: keep-all;
}
.home-floating.test-6 .site-footer .footer-quick-links span {
  flex-shrink: 0;
  color: #008298;
  font-size: 17px;
}
.home-floating.test-6 .site-footer .footer-business dl {
  display: grid;
  gap: 8px;
}
.home-floating.test-6 .site-footer .footer-business dt {
  color: #546b75;
}
.home-floating.test-6 .site-footer .footer-business dd {
  color: #314b58;
}
.home-floating.test-6 .site-footer .footer-policy {
  gap: 0 16px;
  margin: 0;
  font-size: 12px;
}
.home-floating.test-6 .site-footer .footer-copyright {
  margin: 0;
  color: #546b75;
  font-size: 11px;
}
.home-floating.test-6 .site-footer a:focus-visible {
  outline: 2px solid #008298;
  outline-offset: 4px;
}
.home-floating.test-6 .site-footer .footer-quick-links a:hover,
.home-floating.test-6 .site-footer .footer-policy a:hover {
  color: #008298;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 761px) {
  .home-floating.test-6 .site-footer {
    padding-block: 48px 32px;
  }
  .home-floating.test-6 .site-footer .footer-inner {
    gap: 32px;
  }
  .home-floating.test-6 .site-footer .footer-heading .brand-wordmark-name {
    font-size: 34px;
  }
  .home-floating.test-6 .site-footer .footer-business {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px 64px;
    font-size: 14px;
  }
  .home-floating.test-6 .site-footer .footer-quick-links {
    grid-column: 2;
    grid-row: 1 / 3;
    grid-template-columns: 1fr;
    gap: 0;
    align-self: start;
  }
  .home-floating.test-6 .site-footer .footer-quick-links a {
    font-size: 14px;
  }
  .home-floating.test-6 .site-footer .footer-business dl {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .home-floating.test-6 .site-footer .footer-policy {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }
  .home-floating.test-6 .site-footer .footer-copyright {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1100px) {
  .home-floating.test-6 .site-footer .footer-business dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
  }
  .home-floating.test-6 .site-footer .footer-business dl > div {
    display: block;
  }
  .home-floating.test-6 .site-footer .footer-business dt,
  .home-floating.test-6 .site-footer .footer-business dd {
    display: inline;
  }
  .home-floating.test-6 .site-footer .footer-business dt {
    margin-right: 8px;
  }
}

/* 시안 6 소개·방문 안내: 같은 왼쪽 기준과 선택 상태를 쓰는 탭 */
.test-6.home-floating :is(.story-tabs, .visitor-tabs) {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin-bottom: 24px;
  border-bottom: 0;
}
.test-6.home-floating :is(.story-tabs, .visitor-tabs)[hidden] {
  display: none;
}
.test-6.home-floating :is(.story-tabs, .visitor-tabs) button {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #c4d8de;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
}
.test-6.home-floating :is(.story-tabs, .visitor-tabs) button[aria-selected="true"] {
  border-color: #008398;
  background: #008398;
  color: #fff;
}
@media (hover: hover) {
  .test-6.home-floating :is(.story-tabs, .visitor-tabs) button:not([aria-selected="true"]):hover {
    border-color: #008398;
    background: #edf7f8;
  }
}
@media (max-width: 700px) {
  .test-6.home-floating :is(.story-tabs, .visitor-tabs) {
    gap: 6px;
    margin-bottom: 20px;
  }
  .test-6.home-floating :is(.story-tabs, .visitor-tabs) button {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px;
    font-size: 13px;
  }
}

/* PC 푸터: 사업자 정보 왼쪽, 로고·안내 링크·전화 상담 오른쪽. */
.home-floating.test-6 .site-footer .footer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 12px;
}
.home-floating.test-6 .site-footer .footer-heading > .logo {
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}
.home-floating.test-6 .site-footer .footer-heading > .story-contact {
  grid-column: 2;
  grid-row: 1;
}
.home-floating.test-6 .site-footer .footer-heading > .footer-quick-links {
  grid-column: 1 / -1;
  grid-row: 2;
}
@media (min-width: 761px) {
  .home-floating.test-6 .site-footer .footer-inner {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 32px;
  }
  .home-floating.test-6 .site-footer .footer-heading {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .home-floating.test-6 .site-footer .footer-heading > .footer-quick-links {
    width: 100%;
  }
  .home-floating.test-6 .site-footer .footer-heading > .story-contact {
    text-align: left;
  }
  .home-floating.test-6 .site-footer .footer-business {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 1100px) {
  .home-floating.test-6 .site-footer .footer-inner {
    column-gap: 64px;
  }
}
