/* ============================================================
   style.css — t-template-E2
   원본: gjyeoul.co.kr /css/style.css (보조 대조: 여수 헤미쉬)

   원본 구조를 그대로 유지하되 아래만 손봤다.
   - 폰트/색상을 styles/theme.css 의 :root 토큰으로 치환
   - E2 마크업에 없는 요소(.btn_call, .aside_btm 아이콘)의 이미지 참조 제거
   - 파일 끝의 "템플릿 확장" 블록에 매핑용 규칙을 추가 (원본 규칙은 건드리지 않음)
   ============================================================ */

/*** 공통 ***/
.clear:after {
  content: '';
  display: block;
  clear: both;
}
.dn {
  display: none;
}
.for_pc {
  display: inline-block;
}
.for_m {
  display: none;
}
/* 원본은 'Noto Serif KR' / 'Noto sans KR' 을 지정하지만 어느 CSS 도 그 서체를 로드하지 않는다
   (원본 reset.css 의 @import 는 ZCOOL XiaoWei / Lora / Great Vibes / Open Sans 뿐).
   즉 원본 사이트에서도 폴백으로 렌더된다. 로드되는 토큰 서체로 바꿔 실제 렌더와 일치시킨다.
   .ff_noto_serif 는 room.html 의 객실명(히어로 strong / 본문 h3)이 쓴다. */
.ff_noto_serif,
.ff_notokr {
  font-family: var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif !important;
}
.mo {
  display: none;
}
@media screen and (max-width: 640px) {
  .for_pc {
    display: none;
  }
  .for_m {
    display: block;
  }
}
@media screen and (max-width: 479px) {
  .mo {
    display: block;
  }
}
/* ybs */

/* 예약 아이콘 전환 */
.icon_white {
  display: inline-block;
}
.icon_black {
  display: none;
}
.header.on .icon_white {
  display: none;
}
.header.on .icon_black {
  display: inline-block;
}

/* ✅ 모바일에서는 무조건 검정 아이콘 */
@media only screen and (max-width: 999px) {
  .icon_white {
    display: none !important;
  }
  .icon_black {
    display: inline-block !important;
  }
}

/* ✅ YBS 스타일 공통 */
.btn_ybs {
  display: inline-flex !important;
  font-size: 14px;
  align-items: center;
  text-decoration: none;
  margin-right: 10px;
}

/* ✅ PC 화면 */
@media only screen and (min-width: 1000px) {
  .header:not(.on) .btn_ybs {
    color: #fff !important;
  } /* 처음엔 흰색 */
  .header.on .btn_ybs {
    color: #000 !important;
  } /* 스크롤 시 검정 */
}

/* ✅ 모바일 화면 */
@media only screen and (max-width: 999px) {
  .btn_ybs {
    color: #000 !important;
  }
}

/* ---- */

/*** 레이아웃 ***/
#wrap {
  min-width: 280px;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
}
.inner {
  width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

@media only screen and (max-width: 1450px) {
  .inner {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media only screen and (max-width: 860px) {
  .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/*** 상단 ***/
.header,
.header * {
  transition: all 0.3s;
}
.header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 99;
  background: rgba(50, 50, 50, 0.2);
}
.header .for_t {
  display: none;
}
.header .hd_inner {
  text-align: center;
  width: calc(100% - 60px);
  margin: 0 auto;
  position: relative;
}
.header .hd_inner:after {
  content: '';
  display: block;
  clear: both;
}
.header .logo {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  text-align: center;
  transform: translateY(-50%);
  z-index: 90;
  height: 80px;
  min-height: 45px;
}
.header .logo a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.header .logo img {
  height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.header .logo .logo_text {
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  font-family: var(--font-ko-main);
  text-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
}
.header .hd_lnb {
  position: relative;
  z-index: 88;
}
.header .hd_lnb:after {
  content: '';
  display: block;
  clear: both;
}
.header .hd_lnb ul,
.header .hd_lnb ul .depth1 {
  display: inline-block;
  vertical-align: top;
  font-size: 0;
}
.header .hd_lnb ul .depth1 {
  font-size: 16px;
  position: relative;
}
.header .hd_lnb ul .depth1 .depth1_a {
  font-size: inherit;
  line-height: 5.125;
  font-weight: 500;
  padding: 0 0.93em;
  letter-spacing: 0;
  color: #fff;
  display: block;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
}
.header .hd_lnb ul .depth1 .depth1_a span {
  color: inherit;
}
.header .hd_lnb ul .depth1 .depth_box {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 200px;
  transform: translate(-50%, 0);
  z-index: 5;
  text-align: center;
  padding: 10px 0;
  transition: none;
  background: rgba(50, 50, 50, 0.2);
  display: none;
  transform-origin: top left;
}
.header .hd_lnb ul .depth1.on .depth_box {
  display: block;
}
.header .hd_lnb ul .depth1 .depth_box li {
  font-size: 13px;
  line-height: 2.3;
  padding: 0;
  color: #fff;
}
.header .hd_lnb ul .depth1 .depth_box li a {
  display: block;
  font-size: inherit;
  color: inherit;
}
.header .hd_right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.header .hd_right a {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
}
.header .hd_right a + a {
  margin-left: 10px;
}
.header .hd_right .btn_reservation {
  font-size: 15px;
  line-height: 1;
  text-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header .hd_right .btn_reservation span {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  transition: none;
}
.header .hd_right .btn_reservation .for_pc.on {
  display: none;
}
.header .logo2,
.header .hd_right .btn_call,
.header .hd_right .btn_menu,
.aside .btn_close {
  display: none;
}
.aside .aisde_inner {
  position: fixed;
  right: -300px;
  top: 0;
  height: 100%;
  z-index: 991;
  width: 300px;
  overflow-y: auto;
  background: var(--color-secondary);
  transition: all 0.5s;
  transition-timing-function: ease-in-out;
}
.aside.on .aisde_inner {
  right: 0;
}
.aside .aside_box {
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
}
.aside .btn_close {
  position: absolute;
  right: 25px;
  top: 25px;
  width: 25px;
  height: 25px;
  background-image: url('../images/common/close.png');
  background-size: 15px auto;
  background-repeat: no-repeat;
  background-position: 50%;
  z-index: 91;
}
.aside.on .btn_close {
  display: block;
}
.aside .depth1 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #fff;
  display: block;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  cursor: pointer;
}
.aside .depth1:before {
  content: '-';
  display: inline-block;
  font-size: inherit;
  color: inherit;
  line-height: 1;
  margin-right: 5px;
  margin-bottom: 3px;
  vertical-align: middle;
}
.aside .depth_list {
  display: none;
  transition: none;
  padding-bottom: 20px;
  font-size: 0;
}
.aside .depth_list li {
  display: inline-block;
  vertical-align: middle;
}
.aside .depth_list li a {
  font-size: 15px;
  line-height: 1.66;
  padding: 0 5px;
  display: block;
  color: #fff;
}
.aside_btm {
  margin: 20px 0 0;
  font-size: 0;
  text-align: center;
}
.aside_btm li {
  display: inline-block;
  vertical-align: top;
  width: 60px;
  height: 60px;
}
.aside_btm li + li {
  margin-left: 20px;
}
.aside_btm li a {
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: center;
  height: 100%;
  display: block;
  border: 1px dashed #fff;
  box-sizing: border-box;
  border-radius: 100%;
}
.aside_bg {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.5s;
}
.aside_bg.on {
  display: block;
}

/* 상단 on */
.header.on {
  background: #fff;
}
.header.on .logo img {
  filter: none;
}
.header.on .logo .logo_text {
  color: var(--color-secondary);
  text-shadow: none;
}
.header.on .hd_lnb ul .depth1 .depth1_a {
  color: #333;
}
.header.on .hd_right a {
  color: #333;
}
.header.on .hd_right .btn_reservation .for_pc {
  display: none;
}
.header.on .hd_right .btn_reservation .for_pc.on {
  display: inline-block;
}

@media screen and (max-width: 1280px) {
  .header .logo {
    height: 70px;
  }
  .header .hd_lnb ul .depth1 {
    font-size: 14px;
  }
  .header .hd_right .btn_reservation {
    font-size: 13px;
  }
}
@media only screen and (max-width: 1023px) {
  .header {
    background: #fff;
    position: absolute;
  }
  .header .hd_lnb,
  .header .hd_right .btn_reservation .for_pc {
    display: none;
  }
  .header .logo img {
    filter: none;
  }
  .header .logo .logo_text {
    color: var(--color-secondary);
    text-shadow: none;
  }
  .header .hd_right .btn_menu,
  .header .hd_right .btn_call,
  .header .for_t {
    display: inline-block;
    vertical-align: middle;
  }
  .header .hd_inner {
    text-align: left;
    padding: 10px 0;
  }
  .header .logo {
    height: 45px;
    position: static;
    transform: none;
  }
  .header .hd_right .btn_reservation {
    color: #333;
  }
}
@media only screen and (max-width: 640px) {
  .header .hd_inner {
    width: calc(100% - 30px);
    padding: 5px 0;
  }
  .header .logo {
    height: 45px;
  }
  .aside .depth1 {
    font-size: 19px;
  }
  .aside .depth_list li a {
    font-size: 14px;
  }
}

/*** 하단 ***/
.footer_wrap {
  text-align: center;
  word-break: keep-all;
  position: relative;
  z-index: 5;
  background: var(--color-secondary);
}
.footer_wrap .footer {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0;
}
.footer_wrap .footer .ft_logo,
.footer_wrap .footer dl {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% / 3);
}
.footer_wrap .footer dl {
  text-align: center;
}
.footer_wrap .footer dt {
  font-size: 15px;
  line-height: 1.33;
  margin: 0.6em 0 1em;
  font-weight: 700;
  color: #fff;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
.footer_wrap .footer dd,
.footer_wrap .footer dd p,
.footer_wrap .footer dd a {
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
}
.footer_wrap .footer dd a {
  border: 1px solid #fff;
  padding: 4px 10px;
  display: inline-block;
  margin-top: 5px;
}
.footer_wrap .footer dd.call {
  font-size: 20px;
}
.footer_wrap .copy {
  font-size: 11px;
  line-height: 3.6;
  text-align: center;
  color: var(--color-primary);
  border-top: 1px solid #272727;
}
.footer_wrap .copy a {
  color: var(--color-primary);
}
.ft_btn_reserve.on {
  position: fixed;
  bottom: 80px;
  right: 7px;
  z-index: 999;
}
.ft_btn_reserve.on > a > img {
  width: 75px;
  height: 75px;
}
.ft_kakao {
  position: fixed;
  bottom: 30px;
  z-index: 9;
  background: transparent;
  right: 30px;
  width: 70px;
}
.ft_kakao img {
  width: 100%;
}

@media only screen and (max-width: 1023px) {
  .footer_wrap .footer .ft_logo {
    display: none;
  }
  .footer_wrap .footer dl {
    width: 100%;
  }
  .footer_wrap .footer dl + dl {
    margin-top: 20px;
  }
}
@media only screen and (max-width: 860px) {
  .footer_wrap .footer {
    padding: 30px 20px;
  }
  .footer_wrap .footer dl + dl {
    margin-top: 15px;
  }
}
@media only screen and (max-width: 640px) {
  .ft_kakao {
    bottom: 50px;
    right: 10px;
    width: 55px;
  }
  .ft_kakao.on {
    bottom: 100px;
  }
}

/*** 메인 ***/
.arw .swiper-button-prev,
.arw .swiper-button-next {
  width: auto;
  height: auto;
  cursor: pointer;
  opacity: 1;
}
.arw .swiper-button-prev:after,
.arw .swiper-button-next:after {
  display: none;
}
.swiper-container {
  overflow: hidden;
  margin: 0 auto;
}
/* 타이틀 */
.title_box {
  text-align: center;
  padding: 100px 0 50px;
}
.title_box h3 {
  font-size: 47px;
  line-height: 1.27;
  padding-top: 0.64em;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
  font-family: var(--font-en-main), serif;
  background: url('../images/common/icon.png') no-repeat 50% 0;
  background-size: auto 30px !important;
}
/* line-height 는 원본이 1.46 이다. 원본은 이 자리에 한 줄짜리 문구만 넣었지만
   템플릿은 백오피스 설명이 여러 줄로 들어와 줄 간격이 답답해 2 로 넓혔다. */
.title_box p {
  font-size: 13px;
  line-height: 2;
  color: #666;
}

/* main_visual */
.visual {
  height: 100vh;
  z-index: 0;
  position: relative;
}
.visual .visual_box,
.visual .visual_box .swiper-container,
.visual .visual_box .swiper_slide {
  height: 100vh;
}
.visual .visual_txt {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.visual .visual_txt span {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 4px;
  color: #fff;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  display: block;
}
.visual .visual_txt strong {
  font-size: 88px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-en-main), serif;
  display: block;
}
.visual .visual_txt p {
  font-size: 20px;
  line-height: 2.5;
  font-weight: 400;
  color: #fff;
}
/* 히어로 타이틀 로고 (index.essence.images[0], 매퍼가 strong 에 <img> 를 넣고 .has-logo 를 붙인다)
   원본(여수헤미쉬) .visual_txt strong img { width: 15% } / 640px 이하 30%.
   .logo-only = 원본이 로고만 띄우는 숙소(제이플러스) — Welcome To 없이 원본 크기 그대로 */
.visual .visual_txt strong.has-logo img {
  width: 15%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.visual .visual_txt.logo-only span {
  display: none;
}
.visual .visual_txt.logo-only strong.has-logo img {
  width: auto;
}
@media only screen and (max-width: 640px) {
  .visual .visual_txt strong.has-logo img {
    width: 30%;
  }
}
.visual .arw {
  font-size: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 30px;
  z-index: 3;
  overflow: hidden;
}
.visual .arw > div {
  width: 31px;
  height: 56px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  position: static;
  margin-top: 0;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: 50%;
}
.visual .swiper-button-prev {
  background-image: url('../images/common/btn_left.png');
  background-size: cover;
  float: left;
}
.visual .swiper-button-next {
  background-image: url('../images/common/btn_right.png');
  background-size: cover;
  float: right;
}
.visual .scroll_down {
  position: absolute;
  left: 50%;
  bottom: 60px;
  z-index: 2;
  cursor: pointer;
  transform: translateX(-50%);
}

/* main_room */
.main_room {
  margin: 0 100px 100px;
}
.main_room .arw {
  text-align: center;
  margin: -30px 0 80px;
}
.main_room .arw > div {
  font-size: 16px;
  line-height: 1;
  margin: 0 1.875em;
  font-weight: 600;
  color: #555;
  font-family: Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif;
  cursor: pointer;
  position: static;
  margin-top: 0;
  display: inline-block;
  vertical-align: middle;
  width: inherit;
  height: inherit;
}
.main_room .arw > div span {
  padding: 0 7px;
  font-family: var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  margin: -3px 0 0;
}
.room_list .swiper-slide {
  text-align: center;
}
.room_list .swiper-slide .link {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.room_list .swiper-slide .img img {
  width: 100%;
}
.room_list .swiper-slide strong {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 0.5em;
  color: #333;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  display: block;
}
.room_list .swiper-slide p {
  font-size: 15px;
  line-height: 1.4;
  color: #999;
}
.room_list .swiper-slide em {
  font-size: 12px;
  margin-top: 0.83em;
  font-weight: 600;
  color: #555;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  display: block;
}
.room_list .swiper-slide em span {
  font-size: 13px;
  color: #333;
  transition: all 0.5s;
  padding-left: 5px;
}
.room_list .swiper-slide:hover em span {
  padding-left: 1.15em;
}

/* main_bar_bnr */
.main_bar_bnr {
  padding: 50px 0 60px;
}
.main_bar_bnr ul li {
  overflow: hidden;
}
.main_bar_bnr ul li + li {
  margin-top: 50px;
}
.main_bar_bnr ul li .img {
  float: left;
  width: 63%;
  height: 230px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}
.main_bar_bnr ul li .txt_box {
  float: right;
  width: calc(100% - 63%);
  padding-left: 50px;
  padding-top: 80px;
  box-sizing: border-box;
}
.main_bar_bnr ul li .txt_box strong {
  font-size: 30px;
  margin: 0;
  display: block;
  font-family: 'Great Vibes', cursive;
}
.main_bar_bnr ul li .txt_box p {
  font-size: 14px;
  line-height: 1.42;
  margin-top: 1em;
  opacity: 0.8;
}
.main_bar_bnr ul li:nth-of-type(even) .img {
  float: right;
}
.main_bar_bnr ul li:nth-of-type(even) .txt_box {
  float: left;
  padding-left: 0;
  padding-right: 50px;
  text-align: right;
}

/* main_special */
.main_special {
  margin: 30px 200px 200px;
}
.main_special .special_list {
  font-size: 0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.main_special .special_list li {
  width: calc(33.3% - 13%);
  margin: 2%;
  position: relative;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}
.main_special .special_list li a {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.main_special .special_list li .img {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 100%;
  overflow: hidden;
  transition: all 0.5s;
  position: relative;
}
.main_special .special_list li .img img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  max-width: inherit;
}
.main_special .special_list li:hover .img {
  transform: scale(0.9);
}
.main_special .special_list li strong {
  font-size: 15px;
  line-height: 1.46;
  margin-top: 10px;
  display: block;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
.main_special .special_list li p {
  font-size: 13px;
  line-height: 1.46;
  color: #999;
}

@media only screen and (max-width: 1450px) {
  /* main_visual */
  .visual,
  .visual .visual_box,
  .visual .visual_box .swiper-container,
  .visual .visual_box .swiper_slide {
    height: 700px;
  }

  /* main_room */
  .main_room {
    margin: 0 30px 80px;
  }

  /* main_special */
  .main_special {
    margin: 30px 30px 100px;
  }
}
@media only screen and (max-width: 1200px) {
  /* 타이틀 */
  .title_box h3 {
    font-size: 38px;
  }

  /* main_visual */
  .visual,
  .visual .visual_box,
  .visual .visual_box .swiper-container,
  .visual .visual_box .swiper_slide {
    height: 600px;
  }
  .visual .visual_txt strong {
    font-size: 60px;
  }
  .visual .visual_txt p {
    font-size: 18px;
  }
  .visual .arw > div {
    height: 50px;
  }

  /* main_bar_bnr */
  .main_bar_bnr ul li .txt_box strong {
    font-size: 26px;
  }
}
@media only screen and (max-width: 1023px) {
  /* 타이틀 */
  .title_box {
    padding: 100px 0 50px;
  }
  .title_box h3 {
    font-size: 35px;
    background-size: auto 20px !important;
  }

  /* main_visual */
  .visual,
  .visual .visual_box,
  .visual .visual_box .swiper-container,
  .visual .visual_box .swiper_slide {
    height: 450px;
  }
  .visual .visual_txt strong {
    font-size: 50px;
    line-height: 1.5;
  }
  .visual .visual_txt p {
    font-size: 16px;
  }
  .visual .arw > div {
    height: 45px;
  }

  /* main_room */
  .main_room {
    margin: 0 30px 50px;
  }
  .main_room .arw {
    margin: 20px 0 30px;
  }
  .main_room .arw > div {
    font-size: 14px;
  }
  .room_list .swiper-slide strong {
    font-size: 18px;
  }
  .room_list .swiper-slide p {
    font-size: 14px;
  }
  .room_list .swiper-slide:hover em span {
    padding-left: 0;
  }

  /* main_bar_bnr */
  .main_bar_bnr ul li .img {
    height: 200px;
  }
  .main_bar_bnr ul li .txt_box {
    padding-left: 30px;
    padding-top: 70px;
  }
  .main_bar_bnr ul li:nth-of-type(even) .txt_box {
    padding-right: 30px;
  }
  .main_bar_bnr ul li .txt_box strong {
    font-size: 24px;
  }

  /* main_special */
  .main_special .special_list li {
    width: calc(20% - 2%);
    margin-bottom: 50px;
    margin: 1%;
  }
}
@media only screen and (max-width: 860px) {
  /* 타이틀 */
  .title_box {
    padding: 70px 0 30px;
  }
  .title_box h3 {
    font-size: 30px;
  }

  /* main_visual */
  .visual,
  .visual .visual_box,
  .visual .visual_box .swiper-container,
  .visual .visual_box .swiper_slide {
    height: 350px;
  }
  .visual .visual_txt strong {
    font-size: 40px;
  }
  .visual .visual_txt p {
    font-size: 14px;
  }
  .visual .arw > div {
    height: 35px;
  }
  .visual .scroll_down {
    display: none;
  }

  /* main_room */
  .main_room {
    margin: 0 20px 50px;
  }

  /* main_bar_bnr */
  .main_bar_bnr ul li .img {
    height: 150px;
  }
  .main_bar_bnr ul li .txt_box {
    padding-top: 50px;
  }
  .main_bar_bnr ul li .txt_box strong {
    font-size: 22px;
  }

  /* main_special */
  .main_special {
    margin: 0 20px 50px;
  }
  .main_special .special_list li {
    width: calc(25% - 2%);
    margin-bottom: 30px;
  }
  .main_special .special_list li strong {
    font-size: 13px;
  }
}
@media only screen and (max-width: 767px) {
  .main_bar_bnr ul li .img,
  .main_bar_bnr ul li .txt_box,
  .main_bar_bnr ul li:nth-of-type(even) .img,
  .main_bar_bnr ul li:nth-of-type(even) .txt_box {
    float: inherit;
    width: 100%;
  }
  .main_bar_bnr ul li .txt_box,
  .main_bar_bnr ul li:nth-of-type(even) .txt_box {
    padding: 20px 20px 0;
    text-align: left;
  }

  /* main_special */
  .main_special .special_list li {
    width: calc(33.3% - 3%);
    margin: 1% 1.5%;
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 640px) {
  /* 타이틀 */
  .title_box {
    padding: 50px 0 30px;
  }
  .title_box h3 {
    font-size: 26px;
    background-size: auto 15px !important;
  }

  /* main_visual */
  .visual,
  .visual .visual_box,
  .visual .visual_box .swiper-container,
  .visual .visual_box .swiper_slide {
    height: 280px;
  }
  .visual .visual_txt strong {
    font-size: 27px;
  }
  .visual .visual_txt p {
    font-size: 12px;
    line-height: 1.45;
  }
  .visual .arw > div {
    width: 16px;
    height: 28px;
  }

  /* main_room */
  .main_room .arw > div {
    font-size: 13px;
  }
  .room_list .swiper-slide strong {
    font-size: 17px;
  }
  .room_list .swiper-slide p {
    font-size: 13px;
  }
  .room_list .swiper-slide p em {
    display: none;
  }

  /* main_bar_bnr */
  .main_bar_bnr ul li + li {
    margin-top: 30px;
  }
  .main_bar_bnr ul li .img {
    height: 120px;
  }
  .main_bar_bnr ul li .txt_box strong {
    font-size: 20px;
  }
  .main_bar_bnr ul li .txt_box p {
    font-size: 13px;
  }
}
@media only screen and (max-width: 479px) {
  /* main_visual */
  .visual .visual_txt strong {
    font-size: 25px;
  }

  /* main_special */
  .main_special .special_list li {
    width: calc(50% - 4%);
    margin: 1% 2%;
    margin-bottom: 30px;
  }
}

/*** 서브 ***/
/* 서브 비주얼 */
/* 원본은 영문 숙소명(span)을 margin-left:140px 로 왼쪽에 치우쳐 놓고
   strong 을 margin-top:-15px 로 끌어올려 엇갈린 타이포 구성을 만들었다.
   숙소명 길이가 데이터마다 달라 그 오프셋이 맞지 않아 가운데 정렬로 되돌렸는데,
   둘이 같은 축에 놓이면 -15px 이 span 과 strong 을 붙여 버린다.
   음수 마진을 걷어내 index 히어로(.main_visual — 이 규칙이 걸리지 않는다)와 간격을 맞춘다. */
.sub_wide_visual.visual .visual_txt span {
  margin: 0;
}
.sub_wide_visual.visual .visual_txt strong {
  margin: 0;
}

/* 서브 카테고리 */
.sub_cate_wrap {
  text-align: center;
  border-bottom: 1px solid #ddd;
  background: #fff;
}
.sub_cate_wrap ul {
  font-size: 0;
  width: 100%;
  box-sizing: border-box;
}
.sub_cate_wrap ul li {
  font-size: 15px;
  line-height: 3.66;
  padding: 0 1.33em;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}
.sub_cate_wrap ul li.on {
  text-decoration: underline;
  font-weight: 500;
}

/* 서브 이미지 */
.sub_img_bnr li {
  font-size: 0;
}
.sub_img_bnr li + li {
  margin-top: 100px;
}
.sub_img_bnr li .img,
.sub_img_bnr li .txt {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
}
.sub_img_bnr li .img {
  width: 70%;
  height: 600px;
}
.sub_img_bnr li .txt {
  width: calc(30% + 50px);
  position: relative;
  z-index: 1;
}
.sub_img_bnr li:nth-of-type(odd) .txt {
  margin-left: -50px;
}
.sub_img_bnr li:nth-of-type(even) .txt {
  text-align: right;
  margin-right: -50px;
}
.sub_img_bnr li .txt strong {
  font-size: 50px;
  line-height: 0.9;
  color: #ccc;
  font-family: Arial, Helvetica, sans-serif;
}
.sub_img_bnr li .txt p {
  font-size: 12px;
  margin-top: 0.7em;
  line-height: 1.5;
  opacity: 0.4;
}
.sub_wide_bnr {
  background-size: cover;
  height: 600px;
  margin-top: 100px;
}

/* 서브 테이블 */
.table_box {
  margin-top: 40px;
  margin-bottom: 80px;
}
.table_default {
  border-collapse: collapse;
  border-top: 2px solid var(--color-secondary);
  border-bottom: 2px solid #ddd;
  table-layout: fixed;
}
.table_default th,
.table_default td {
  font-size: 14px;
  letter-spacing: -0.3px;
  padding: 10px 0;
  color: #888;
  word-break: break-all;
  transition: all 0.2s;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  background: #fff;
}
.table_default strong {
  font-weight: 600;
  color: #333;
}
.table_default .bg {
  background: var(--color-primary);
}
.table_default tr:hover td {
  color: #333;
}
.table_default thead th:last-of-type,
.table_default tbody td:last-of-type {
  border-right: 0;
}
.table_default thead th:nth-of-type(1),
.table_default tbody td:nth-of-type(1) {
  width: 350px;
}
.table_default thead th:nth-of-type(2),
.table_default tbody td:nth-of-type(2) {
  width: 70px;
}
.table_default thead th:nth-of-type(3),
.table_default tbody td:nth-of-type(3) {
  width: 340px;
}
.table_default thead th:nth-of-type(4),
.table_default tbody td:nth-of-type(4) {
  width: 70px;
}
.table_default tbody td:nth-of-type(1) {
  font-size: 15px;
  color: #333;
}
.table_text {
  font-size: 13px;
  padding: 20px 15px;
  color: #666;
}
.table_text li {
  line-height: 1.5;
}
.table_text li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 2px;
  height: 2px;
  background: #666;
  border-radius: 100%;
  margin-right: 5px;
}
.table_text li + li {
  margin-top: 5px;
}
.table_text li.point {
  color: #b00;
}
.table_text li.point:before {
  display: none;
}
.table_text strong {
  font-weight: 600;
}
.table_box .btn_wrap {
  text-align: center;
}
.table_box .btn_wrap .btn_reserve {
  font-size: 13px;
  line-height: 2.92em;
  letter-spacing: 2px;
  padding: 0 1.92em;
  margin-top: 3.84em;
  background: var(--color-secondary);
  color: #fff;
  transition: all 0.5s;
  display: inline-block;
}
.table_box .btn_wrap .btn_reserve:hover {
  background: #111;
}

@media only screen and (max-width: 1450px) {
  /* 서브 테이블 */
  .table_default th,
  .table_default td {
    font-size: 13px;
  }
}
@media only screen and (max-width: 1200px) {
  /* 서브 이미지 */
  .sub_img_bnr li + li {
    margin-top: 90px;
  }
  .sub_img_bnr li .img {
    height: 400px;
  }
  .sub_img_bnr li .txt strong {
    font-size: 45px;
  }
  .sub_wide_bnr {
    height: 550px;
    margin-top: 90px;
  }

  /* 서브 테이블 */
  .table_default thead th:nth-of-type(1),
  .table_default tbody td:nth-of-type(1) {
    width: 300px;
  }
  .table_default thead th:nth-of-type(3),
  .table_default tbody td:nth-of-type(3) {
    width: 300px;
  }
}
@media only screen and (max-width: 1023px) {
  /* 서브 비주얼 */
  .sub_visual {
    height: 400px;
  }
  .sub_visual > .txt_box {
    top: 50%;
  }
  .sub_visual h3 {
    font-size: 50px;
  }
  .sub_visual p {
    font-size: 15px;
  }
  .sub_wide_visual.visual .visual_txt {
    top: 50%;
  }

  /* 서브 카테고리 */
  .sub_cate_wrap ul li {
    font-size: 14px;
  }

  /* 서브 이미지 */
  .sub_img_bnr li + li {
    margin-top: 80px;
  }
  .sub_img_bnr li .img {
    height: 350px;
  }
  .sub_img_bnr li .txt strong {
    font-size: 40px;
  }
  .sub_wide_bnr {
    height: 450px;
    margin-top: 80px;
  }

  /* 서브 테이블 */
  .table_box {
    margin-top: 0px;
    margin-bottom: 80px;
  }
  .table_box.for_pc {
    display: none;
  }
  .table_box.for_m {
    display: block;
  }
  .table_box.for_m .table_default thead th {
    background: var(--color-primary);
  }
  .table_default thead th:nth-of-type(1),
  .table_default tbody td:nth-of-type(1) {
    width: 200px;
  }
  .table_default thead th:nth-of-type(3),
  .table_default tbody td:nth-of-type(3) {
    width: 100px;
  }
}
@media only screen and (max-width: 860px) {
  /* 서브 비주얼 */
  .sub_visual {
    height: 300px;
  }
  .sub_visual h3 {
    font-size: 40px;
  }
  .sub_visual p {
    font-size: 13px;
  }

  /* 서브 카테고리 */
  .sub_cate_wrap ul li {
    font-size: 13px;
  }

  /* 서브 이미지 */
  .sub_img_bnr li + li {
    margin-top: 50px;
  }
  .sub_img_bnr li .img {
    height: 250px;
  }
  .sub_img_bnr li .txt strong {
    font-size: 35px;
  }
  .sub_img_bnr li .txt p {
    font-size: 12px;
  }
  .sub_wide_bnr {
    height: 350px;
    margin-top: 50px;
  }

  /* 서브 테이블 */
  .table_box {
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .table_default th,
  .table_default thead th:nth-of-type(1),
  .table_default tbody td:nth-of-type(1) {
    width: 100px;
  }
  .table_default thead th:nth-of-type(2),
  .table_default tbody td:nth-of-type(2),
  .table_default thead th:nth-of-type(3),
  .table_default tbody td:nth-of-type(1) {
    font-size: 13px;
  }
  .table_box .btn_wrap .btn_reserve {
    font-size: 14px;
  }
}
@media only screen and (max-width: 640px) {
  /* 서브 비주얼 */
  .sub_visual {
    height: 200px;
  }
  .sub_visual h3 {
    font-size: 30px;
  }
  .sub_visual p {
    font-size: 12px;
  }
  /* 서브 카테고리 */
  .sub_cate_wrap ul {
    padding: 10px 0;
  }
  .sub_cate_wrap ul li {
    font-size: 12px;
    line-height: 2;
  }

  /* 서브 이미지 */
  .sub_img_bnr li + li {
    margin-top: 30px;
  }
  .sub_img_bnr li .img {
    height: 180px;
  }
  .sub_img_bnr li .txt {
    width: calc(30% + 60px);
  }
  .sub_img_bnr li:nth-of-type(odd) .txt {
    margin-left: -60px;
  }
  .sub_img_bnr li:nth-of-type(even) .txt {
    margin-right: -60px;
  }
  .sub_img_bnr li .txt strong {
    font-size: 25px;
  }
  .sub_img_bnr li .txt p {
    font-size: 10px;
  }
  .sub_wide_bnr {
    height: 250px;
    margin-top: 30px;
  }

  /* 서브 테이블 */
  .table_box {
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .table_default {
    border-color: #666;
  }
  .table_default thead th:nth-of-type(1),
  .table_default tbody td:nth-of-type(1) {
    width: 200px;
  }
  .table_default thead th,
  .table_default tbody td,
  .table_default thead th:nth-of-type(2),
  .table_default tbody td:nth-of-type(2),
  .table_default thead th:nth-of-type(3),
  .table_default tbody td:nth-of-type(3),
  .table_default thead th:nth-of-type(4),
  .table_default tbody td:nth-of-type(4) {
    width: auto;
  }
  .table_box .btn_wrap .btn_reserve {
    font-size: 13px;
  }
}
@media only screen and (max-width: 479px) {
  /* 서브 비주얼 */
  .sub_visual {
    height: 86px;
  }
  .sub_visual h3 {
    font-size: 22px;
  }
  .sub_visual p {
    font-size: 11px;
  }

  /* 서브 테이블 */
  .table_default th,
  .table_default td {
    font-size: 12px;
  }
  .table_default thead th:nth-of-type(1),
  .table_default tbody td:nth-of-type(1) {
    width: 100px;
  }
}

/* about */
.about_img_bnr {
  font-size: 0;
  width: 1588px;
  margin: 50px auto 150px;
  box-sizing: border-box;
}
.about_img_bnr .img,
.about_img_bnr .txt {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  box-sizing: border-box;
}
/* 원본은 height:0 + padding-bottom:95.8% 로 콜라주 높이를 고정했다.
   이미지 4장 + 특정 비율을 전제한 값이라, 백오피스에서 3장만 고르거나
   비율이 다른 사진이 오면 아래에 빈 공간이 남거나 잘린다.
   overflow:hidden 이 만드는 BFC 로 float 를 감싸 높이를 내용에 맞춘다. */
.about_img_bnr .img ul {
  font-size: 0;
  overflow: hidden;
  position: relative;
}
.about_img_bnr .img ul li {
  border: 10px solid #fff;
  float: left;
  box-sizing: border-box;
}
.about_img_bnr .img ul li img {
  width: 100%;
}
.about_img_bnr .img ul .img01 {
  width: 79.3%;
}
.about_img_bnr .img ul .img02 {
  width: 51%;
  float: right;
  margin-top: -16%;
}
.about_img_bnr .img ul .img03 {
  width: 44.9%;
  clear: both;
  margin-top: -20%;
  margin-left: 5.4%;
}
.about_img_bnr .img ul .img04 {
  width: 39.6%;
  margin-left: -1.2%;
  margin-top: -1.3%;
}
.about_img_bnr .txt {
  padding-left: 50px;
  word-break: keep-all;
}
.about_img_bnr .txt strong {
  font-size: 50px;
  line-height: 1.26;
  margin-bottom: 0.4em;
  font-weight: 700;
  font-family: 'Great Vibes', cursive;
  display: block;
}
.about_img_bnr .txt p {
  font-size: 14px;
  line-height: 1.71;
  color: #333;
}
.about_img_bnr .txt p + p {
  margin-top: 1.71em;
}
.about_img_bnr .txt .btn_reserve {
  font-size: 13px;
  line-height: 2.9;
  padding: 0 1.9em;
  margin-top: 3.8em;
  letter-spacing: 2px;
  background: var(--color-secondary);
  color: #fff;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  transition: all 0.5s;
  display: inline-block;
}
.about_img_bnr .txt .btn_reserve:hover {
  background: #111;
}
.sub1_2 .about_img_bnr {
  width: 1483px;
}
.sub1_2 .about_img_bnr .img,
.sub1_2 .about_img_bnr .txt {
  width: 100%;
}
.sub1_2 .about_img_bnr .img ul .img01 {
  width: 58.9%;
  margin-left: 4%;
}
.sub1_2 .about_img_bnr .img ul .img02 {
  width: 46.4%;
  margin-top: -14%;
  margin-right: 0.3%;
}
.sub1_2 .about_img_bnr .img ul .img03 {
  width: 40.6%;
  margin-left: 13.3%;
  margin-top: -18%;
}
.sub1_2 .about_img_bnr .txt {
  text-align: center;
  padding-left: 0;
  padding-top: 50px;
}
.about_fixed_bnr {
  height: 600px;
  display: table;
  width: 100%;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
}
.about_fixed_bnr:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #333;
  opacity: 0.4;
  z-index: 2;
}
.about_fixed_bnr div {
  display: table-cell;
  vertical-align: middle;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
  position: relative;
  z-index: 3;
}
.about_fixed_bnr span {
  font-size: 12px;
  line-height: 1.41;
  letter-spacing: 4px;
  color: #fff;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
  display: block;
}
.about_fixed_bnr strong {
  font-size: 70px;
  line-height: 1.27;
  color: #fff;
  font-family: var(--font-en-main), serif;
}
.about_fixed_bnr p {
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
}
.sub_about .map_box {
  margin: 0 auto 100px;
}
.sub_about .map_box .root_daum_roughmap {
  width: 100%;
}
.sub_about .info_box {
  font-size: 0;
  margin: 0 auto 100px;
}
.sub_about .info_box .img,
.sub_about .info_box dl {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}
.sub_about .info_box .img {
  width: 55%;
  height: 500px;
}
.sub_about .info_box dl {
  width: 45%;
  padding: 0 50px;
  word-break: keep-all;
}
.sub_about .info_box dl dt {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 0.75em;
  font-weight: 300;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
.sub_about .info_box dl dd {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}
.sub_about .info_box dl dd strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 0.5em;
  color: inherit;
}
.sub_about .info_box dl dd + dt {
  margin-top: 1em;
}

@media only screen and (max-width: 1600px) {
  .about_img_bnr,
  .sub1_2 .about_img_bnr {
    width: 100%;
    padding: 0 30px;
  }
  .sub1_2 .about_img_bnr .img {
    padding: 0 50px;
  }
}
@media only screen and (max-width: 1200px) {
  .about_img_bnr .txt {
    padding-left: 30px;
  }
  .about_img_bnr .txt strong {
    font-size: 40px;
  }
  .about_img_bnr .txt p {
    font-size: 13px;
  }
  .about_img_bnr .txt p + p {
    margin-top: 0.5em;
  }
  .about_img_bnr .img ul .img03 {
    margin-top: -21%;
    margin-left: 5.8%;
  }
  .about_img_bnr .img ul .img04 {
    margin-left: -1.7%;
    margin-top: -1.7%;
  }
  .sub1_2 .about_img_bnr .img ul .img03 {
    margin-top: -18.5%;
    margin-left: 13.6%;
  }
}
@media only screen and (max-width: 1023px) {
  .about_img_bnr .img,
  .about_img_bnr .txt {
    width: 100%;
  }
  .about_img_bnr .img {
    padding: 0 50px;
    box-sizing: border-box;
  }
  .about_img_bnr .img ul .img03 {
    margin-top: -20%;
    margin-left: 5.4%;
  }
  .about_img_bnr .img ul .img04 {
    margin-left: -1.3%;
  }
  .about_img_bnr .txt {
    padding-left: 0;
    padding-top: 50px;
    text-align: center;
  }
  .about_fixed_bnr {
    height: 400px;
    background-attachment: inherit;
  }
  .about_fixed_bnr strong {
    font-size: 60px;
  }
  .about_fixed_bnr p {
    font-size: 14px;
  }
  .sub_about .map_box,
  .sub_about .info_box {
    margin: 0 auto 80px;
  }
  .sub_about .info_box .img {
    height: 400px;
  }
  .sub_about .info_box dl {
    padding: 0 30px;
  }
  .sub1_2 .about_img_bnr .img ul .img03 {
    margin-top: -18.9%;
    margin-left: 13.9%;
  }
}
@media only screen and (max-width: 860px) {
  .about_img_bnr {
    padding: 0 20px;
    margin: 0 auto 50px;
  }
  .about_img_bnr .img {
    padding: 0 10px;
  }
  .about_img_bnr .txt {
    padding-top: 30px;
  }
  .about_img_bnr .txt strong {
    font-size: 30px;
  }
  .about_img_bnr .txt p {
    font-size: 12px;
  }
  .sub1_2 .about_img_bnr .img {
    padding: 0 10px;
  }
  .sub1_2 .about_img_bnr .txt {
    padding-top: 30px;
  }
  .about_fixed_bnr {
    height: 300px;
  }
  .about_fixed_bnr strong {
    font-size: 50px;
  }
  .about_fixed_bnr p {
    font-size: 13px;
  }
  .sub_about .info_box .img,
  .sub_about .info_box dl {
    width: 100%;
  }
  .sub_about .info_box .img {
    height: 300px;
  }
  .sub_about .info_box dl {
    padding: 30px;
  }
  .sub_about .info_box dl dt {
    font-size: 18px;
  }
  .sub_about .info_box dl dd strong {
    font-size: 14px;
  }
}
@media only screen and (max-width: 767px) {
  .about_fixed_bnr strong {
    font-size: 40px;
  }
  .about_fixed_bnr p {
    font-size: 12px;
  }
}
@media only screen and (max-width: 640px) {
  .about_img_bnr .img {
    padding: 0;
  }
  .about_img_bnr .img ul .img03 {
    margin-top: -19.5%;
    margin-left: 5%;
  }
  .about_img_bnr .img ul .img04 {
    margin-left: -1%;
    margin-top: -0.9%;
  }
  .sub1_2 .about_img_bnr .img {
    padding: 0;
  }
  .about_fixed_bnr {
    height: 200px;
  }
  .about_fixed_bnr strong {
    font-size: 20px;
  }
  .about_fixed_bnr p {
    font-size: 11px;
  }
  .sub_about .map_box,
  .sub_about .info_box {
    margin: 0 auto 50px;
  }
  .sub_about .info_box .img {
    height: 200px;
  }
  .sub_about .info_box dl {
    padding: 20px;
  }
  .about_img_bnr .img ul li {
    border-width: 5px;
  }
  .sub1_2 .about_img_bnr .img ul .img03 {
    margin-top: -18.5%;
    margin-left: 13.8%;
  }
}
@media only screen and (max-width: 479px) {
  .about_img_bnr .img ul .img03 {
    margin-top: -20.5%;
    margin-left: 5.5%;
  }
  .about_img_bnr .img ul .img04 {
    margin-left: -1.5%;
    margin-top: -1.5%;
  }
  .sub_about .info_box dl dd {
    font-size: 12px;
  }
  .sub1_2 .about_img_bnr .img ul .img03 {
    margin-top: -19.5%;
    margin-left: 14.4%;
  }
}

/* view */
.sub_room_detail .visual .visual_txt {
  left: 10%;
  top: 50%;
  text-align: left;
  transform: translateY(-50%);
}
.sub_room_detail .visual .visual_txt strong {
  font-size: 60px;
  line-height: 1.43;
  font-weight: 400;
  text-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}
.sub_room_detail .visual .visual_txt p {
  font-size: 13px;
}
.sub_room_detail .title_box .ff_noto_serif {
  font-size: 36px;
  line-height: 1.5;
}
.view_img_bnr {
  position: relative;
  margin: 0 auto 100px;
}
.view_img_bnr .img {
  margin: 0 65px;
  position: relative;
}
.view_img_bnr .img ul {
  overflow: hidden;
}
.view_img_bnr .img ul li {
  float: left;
  position: relative;
  z-index: 1;
}
.view_img_bnr .img ul li img {
  width: 100%;
}
.view_img_bnr .img ul .img01 {
  width: 68.6%;
}
.view_img_bnr .img ul .img02 {
  width: 30.5%;
  float: right;
  margin-top: 30%;
}
.view_img_bnr .img ul .img03 {
  width: 41.7%;
  margin-left: 26.9%;
  margin-top: 1%;
}
.view_img_bnr .txt {
  position: absolute;
  border: 1px solid #dbdbdb;
  border-left: 0;
  text-align: right;
  padding: 110px 30px 30px 130px;
  right: 9%;
  top: 8%;
}
.view_img_bnr .txt strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.8px;
  display: block;
  font-family: var(--font-en-main), serif;
}
.view_img_bnr .txt strong:after {
  content: '';
  display: inline-block;
  width: 65px;
  height: 1px;
  margin: 14px 0;
  background: #191919;
}
.view_img_bnr .txt p {
  font-size: 20px;
}

@media only screen and (max-width: 1200px) {
  .sub_room_detail .visual .visual_txt strong {
    font-size: 50px;
  }
  .view_img_bnr .txt {
    padding: 80px 20px 20px 80px;
  }
  .view_img_bnr .txt strong {
    font-size: 25px;
  }
  .view_img_bnr .txt strong:after {
    width: 60px;
  }
  .view_img_bnr .txt p {
    font-size: 18px;
  }
}
@media only screen and (max-width: 1023px) {
  .sub_room_detail .visual .visual_txt strong {
    font-size: 40px;
  }
  .sub_room_detail .title_box .ff_noto_serif {
    font-size: 34px;
  }
  .view_img_bnr {
    margin: 0 auto 80px;
  }
  .view_img_bnr .img {
    margin: 0 30px;
  }
  .view_img_bnr .txt {
    padding: 50px 20px 20px 50px;
    right: 11%;
    top: 12%;
  }
  .view_img_bnr .txt strong {
    font-size: 20px;
  }
  .view_img_bnr .txt strong:after {
    width: 50px;
  }
  .view_img_bnr .txt p {
    font-size: 15px;
  }
}
@media only screen and (max-width: 960px) {
  .view_img_bnr .txt strong {
    font-size: 18px;
  }
  .view_img_bnr .txt strong:after {
    width: 40px;
  }
  .view_img_bnr .txt p {
    font-size: 14px;
  }
}
@media only screen and (max-width: 860px) {
  .sub_room_detail .visual .visual_txt strong {
    font-size: 30px;
  }
  .sub_room_detail .visual .visual_txt p {
    font-size: 12px;
  }
  .sub_room_detail .title_box .ff_noto_serif {
    font-size: 32px;
  }
  .view_img_bnr .txt {
    right: 8%;
    top: 9%;
    padding: 60px 20px 15px 70px;
  }
  .view_img_bnr .txt strong {
    font-size: 16px;
  }
  .view_img_bnr .txt strong:after {
    width: 30px;
    margin: 7px 0;
  }
  .view_img_bnr .txt p {
    font-size: 13px;
  }
}
@media only screen and (max-width: 767px) {
  .view_img_bnr .txt {
    top: 5%;
  }
}
@media only screen and (max-width: 640px) {
  .sub_room_detail .visual .visual_txt {
    left: 17%;
  }
  .sub_room_detail .visual .visual_txt strong {
    font-size: 20px;
  }
  .sub_room_detail .visual .visual_txt p {
    font-size: 11px;
  }
  .sub_room_detail .title_box .ff_noto_serif {
    font-size: 26px;
  }
  .view_img_bnr {
    margin: 0 auto 50px;
  }
  .view_img_bnr .img {
    margin: 0;
  }
  .view_img_bnr .txt {
    padding: 50px 20px 10px 50px;
    right: 7%;
  }
  .view_img_bnr .txt strong {
    font-size: 14px;
  }
  .view_img_bnr .txt strong:after {
    width: 20px;
  }
  .view_img_bnr .txt p {
    font-size: 11px;
  }
}
@media only screen and (max-width: 560px) {
  .view_img_bnr .txt {
    padding: 40px 10px 10px 50px;
  }
  .view_img_bnr .txt strong {
    font-size: 13px;
  }
  .view_img_bnr .txt strong:after {
    width: 15px;
  }
  .view_img_bnr .txt p {
    font-size: 10px;
  }
}
@media only screen and (max-width: 430px) {
  .view_img_bnr .txt {
    top: 3%;
    padding: 25px 10px 10px 30px;
    right: 8%;
  }
  .view_img_bnr .txt strong {
    font-size: 12px;
  }
  .view_img_bnr .txt p {
    font-size: 9px;
  }
  .view_img_bnr .img ul .img01 {
    width: 65%;
  }
  .view_img_bnr .img ul .img02 {
    width: 34.2%;
  }
  .view_img_bnr .img ul .img03 {
    margin-left: 23.3%;
  }
}
@media only screen and (max-width: 380px) {
  .view_img_bnr .img ul .img01 {
    width: 64%;
  }
  .view_img_bnr .img ul .img02 {
    width: 35%;
  }
  .view_img_bnr .img ul .img03 {
    margin-left: 22.3%;
  }
}
@media only screen and (max-width: 350px) {
  .view_img_bnr .img ul .img01 {
    width: 60%;
  }
  .view_img_bnr .img ul .img02 {
    width: 39%;
  }
  .view_img_bnr .img ul .img03 {
    margin-left: 18.3%;
  }
}

/* room */
.sub_room .wide_img {
  margin: 0 auto 100px;
}

@media only screen and (max-width: 1023px) {
  .sub_room .wide_img {
    margin: 0 auto 40px;
  }
}
@media only screen and (max-width: 640px) {
  .sub_room .wide_img {
    margin: 0 auto 30px;
  }
}

/* special */
.special_img_bnr {
  width: 1300px;
  margin: 0 auto;
}
.special_img_bnr p {
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.special_img_bnr .img ul {
  padding-top: 80px;
  margin-top: 100px;
  text-align: center;
}
.special_img_bnr .img ul:after {
  content: '';
  display: block;
  clear: both;
}
.special_img_bnr .img ul li {
  float: left;
  font-size: 0;
}
.special_img_bnr .img ul li + li {
  margin-left: 0.8%;
}
.special_img_bnr .img ul .img01 {
  width: 29.4%;
  height: 0;
  padding-bottom: 49.1%;
}
.special_img_bnr .img ul .img02 {
  width: 36.1%;
  height: 0;
  padding-bottom: 23.8%;
}
.special_img_bnr .img ul .img03 {
  width: 36.1%;
  margin-top: 0.8%;
  height: 0;
  padding-bottom: 24.1%;
}
.special_img_bnr .img ul .img04 {
  width: 32.9%;
  margin-top: -29%;
  height: 0;
  padding-bottom: 45.3%;
}
.sub4_1 .main_special {
  margin: 30px 0 150px;
}

@media only screen and (max-width: 1450px) {
  .special_img_bnr {
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
  }
}
@media only screen and (max-width: 1023px) {
  .special_img_bnr .img ul {
    padding-top: 50px;
    margin-top: 50px;
  }
  .sub4_1 .main_special {
    margin: 30px 0 100px;
  }
}
@media only screen and (max-width: 860px) {
  .special_img_bnr {
    padding: 0 20px;
  }
}
@media only screen and (max-width: 640px) {
  .special_img_bnr {
    padding: 0 20px;
  }
  .special_img_bnr .img ul {
    padding-top: 30px;
    margin-top: 30px;
  }
  .sub4_1 .main_special {
    margin: 30px 0 50px;
  }
}
@media only screen and (max-width: 479px) {
  .special_img_bnr .img ul {
    padding-top: 20px;
    margin-top: 20px;
  }
}

/* reserve */
.sub_reserve {
  background: var(--color-primary);
}
.reserve_info .box {
  font-size: 0;
  overflow: hidden;
  clear: both;
  padding-bottom: 100px;
}
.reserve_info .img,
.reserve_info dl {
  box-sizing: border-box;
}
.reserve_info .img {
  width: 55%;
  height: 500px;
  float: left;
}
.reserve_info dl {
  padding: 0 50px;
  float: right;
  width: 45%;
}
.reserve_info dl dt {
  font-size: 20px;
  line-height: 1.35;
  font-family:
    var(--font-ko-sub), var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
.reserve_info dl dd {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}
.reserve_info .box + .box .img {
  float: right;
}
.reserve_info .box + .box dl {
  float: right;
}

@media only screen and (max-width: 1023px) {
  .reserve_info .img {
    height: 400px;
  }
  .reserve_info .box {
    padding-bottom: 80px;
  }
  .reserve_info dl {
    padding: 0 30px;
  }
}
@media only screen and (max-width: 860px) {
  .reserve_info .img {
    height: 300px;
  }
  .reserve_info .box {
    padding-bottom: 20px;
  }
  .reserve_info .img,
  .reserve_info dl {
    width: 100%;
    max-width: 100%;
  }
  .reserve_info dl {
    padding: 30px;
  }
}
@media only screen and (max-width: 640px) {
  .reserve_info .img {
    height: 200px;
  }
  .reserve_info dl {
    padding: 20px;
  }
}

/* travel */
.travel_list {
  margin: 40px auto 70px;
}
.travel_list ul {
  font-size: 0;
  counter-reset: section;
  overflow: hidden;
}
.travel_list ul li {
  width: calc(50% - 1%);
  margin-bottom: 30px;
  float: left;
  word-break: keep-all;
}
.travel_list ul li:nth-of-type(2n) {
  margin-left: 2%;
}
.travel_list ul li:nth-of-type(2n + 1) {
  clear: both;
}
.travel_list ul li img {
  width: 100%;
}
.travel_list ul li strong {
  font-size: 20px;
  line-height: 2.75;
  text-align: center;
  display: block;
  border-bottom: 1px solid #ddd;
}
.travel_list ul li strong:before {
  counter-increment: section;
  content: '0' counter(section) '.';
  font-size: inherit;
  color: inherit;
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
}
.travel_list ul li p {
  font-size: 13px;
  line-height: 1.92;
  padding: 10px;
  color: #666;
}
.travel_list ul li p span {
  font-size: inherit;
  line-height: inherit;
  margin-top: 10px;
  color: #666;
  display: block;
}
.travel_list ul li p em {
  font-size: inherit;
  margin-top: 10px;
  font-weight: 400;
  display: block;
}

@media only screen and (max-width: 860px) {
  .travel_list ul li {
    width: calc(50% - 1%);
    margin-bottom: 80px;
  }
  .travel_list ul li:nth-of-type(2n) {
    margin-left: 2%;
  }
}
@media only screen and (max-width: 640px) {
  .travel_list ul li {
    width: 100%;
    margin-bottom: 20px;
  }
  .travel_list ul li:nth-of-type(2n) {
    margin-left: 0;
  }
  .travel_list ul li strong {
    font-size: 18px;
  }
}

/* ============================================================
   템플릿 확장 — 원본에 없던 규칙만 아래에 둔다.
   (원본 규칙은 위쪽 원문 그대로 유지)
   ============================================================ */

/* ── 헤더 예약 버튼 (인라인 style 이관) ─────────────────────────
   원본은 .reservation_wrap / 아이콘 / 특가 배지에 인라인 style 을 박아 뒀다.
   특가 배지는 시계 아이콘(padding-left 20px 자리, 13px) 바로 위 가운데에 둔다. */
.header .hd_right .btn_reservation .reservation_wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 20px;
}
.header .hd_right .btn_reservation .reservation_wrap > img {
  margin-right: 5px;
}
.header .hd_right .btn_reservation .reservation_wrap .txt {
  font-size: 14px;
  color: inherit;
}
.header .hd_right .btn_reservation .badge_price {
  position: absolute;
  top: -18px;
  left: 26.5px;
  transform: translateX(-50%);
  width: 36px;
  height: auto;
  margin-right: 0;
  z-index: 2;
}

/* ── 스크롤 상태의 서브메뉴 대비 (원본 버그 보정) ────────────────
   원본은 .depth_box 배경이 항상 rgba(50,50,50,.2) + 글자 #fff 라,
   헤더가 흰색으로 바뀐 .on 상태에서 흰 지면 위 흰 글씨가 되어 읽히지 않는다.
   .on 일 때만 흰 배경 + 본문색으로 뒤집는다. */
.header.on .hd_lnb ul .depth1 .depth_box {
  background: #fff;
  box-shadow: 0 6px 12px rgb(0 0 0 / 8%);
}
.header.on .hd_lnb ul .depth1 .depth_box li {
  color: #333;
}

/* ── 서브메뉴 항목 한 줄 말줄임 (템플릿 확장) ────────────────────
   객실명/시설명은 백오피스 입력값이라 길이가 제각각이다
   ("대금산진달래축제(오션뷰,애견동반)" 처럼 길게 오면 두 줄로 접혀 메뉴가 들쭉날쭉해진다).
   폭(200px)에 맞춰 한 줄로 자르고 넘치면 ... 로 줄인다. 전체 문구는 title 로 남긴다. */
.header .hd_lnb ul .depth1 .depth_box li a {
  padding: 0 12px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 서브메뉴 넘침 방지 ────────────────────────────────────────
   객실/시설이 많으면 서브메뉴가 뷰포트 아래로 흘러 내려간다.
   상한을 두고 그 박스만 스크롤시킨다. */
.header .hd_lnb ul .depth1 .depth_box.is-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ── 부대시설 상세 제목 (템플릿 확장) ───────────────────────────
   원본은 시설 영문명(Ocean View)을 히어로 88px / 대제목 47px 로 올린다.
   백오피스 facilities[] 에는 영문명 필드가 없어 실제로는 한글 시설명이 들어간다.
   ZCOOL XiaoWei / Lora 에 한글 글리프가 없어 폴백되고, 88px 한글은 화면을 넘긴다.
   한글 강조 폰트로 받고 크기를 낮춘다. */
.sub_special .visual .visual_txt strong {
  font-size: 52px;
  line-height: 1.3;
  font-family: var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
.sub_special .title_box h3 {
  font-family: var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
@media only screen and (max-width: 1023px) {
  .sub_special .visual .visual_txt strong {
    font-size: 38px;
  }
}
@media only screen and (max-width: 640px) {
  .sub_special .visual .visual_txt strong {
    font-size: 24px;
  }
}

/* ── 시설 사진 콜라주: 개수별 배치 (템플릿 확장) ─────────────────
   원본은 4칸 고정 직소다 (img01 세로 / img02·img03 가로 2단 / img04 세로).
   시설마다 사진 수가 달라 1~3장이면 그 배치가 무너지므로 개수별로 다시 잡는다.
   높이는 원본과 같은 padding-bottom(폭 대비 %) 방식이라 반응형이 그대로 따라온다.
   매퍼가 ul 에 data-count 를 넣는다. 4장 이상이면 원본 배치를 그대로 쓴다. */

/* 1장 — 가로로 넓은 배너 한 장 */
.special_img_bnr .img ul[data-count='1'] li {
  float: none;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 45%;
}

/* 2장 — 같은 크기로 나란히 */
.special_img_bnr .img ul[data-count='2'] li {
  width: 49.6%;
  margin: 0;
  padding-bottom: 33%;
}
.special_img_bnr .img ul[data-count='2'] .img02 {
  margin-left: 0.8%;
}

/* 3장 — 왼쪽 세로 1장 + 오른쪽 가로 2단 (합계 높이를 맞춘다) */
.special_img_bnr .img ul[data-count='3'] .img01 {
  width: 40%;
  margin: 0;
  padding-bottom: 55%;
}
.special_img_bnr .img ul[data-count='3'] .img02,
.special_img_bnr .img ul[data-count='3'] .img03 {
  width: 59.2%;
  margin-left: 0.8%;
  padding-bottom: 27%;
}
.special_img_bnr .img ul[data-count='3'] .img03 {
  margin-top: 0.8%;
}

/* 하단 전체 목록은 index 와 같은 정적 그리드다. 상세 페이지 안에서도
   .main_special 헤딩 위 여백이 과하지 않게 조금 줄인다. */
.sub_special .main_special .title_box {
  padding-top: 100px;
}

/* ── 객실 정보표 PC/모바일 전환 (템플릿 확장) ────────────────────
   .for_pc 의 기본값이 display:inline-block 이라 표 래퍼가 shrink-to-fit 이 된다.
   블록으로 되돌려 폭을 컨테이너에 맞춘다. (전환 자체는 원본 .for_pc/.for_m 규칙이 640px 에서 한다) */
.table_box .price_table.for_pc {
  display: block;
}
@media only screen and (max-width: 640px) {
  .table_box .price_table.for_pc {
    display: none;
  }
}

/* ── 배치도 (템플릿 확장) ───────────────────────────────────────
   원본 .sub_room .wide_img 는 margin 만 갖고 있고 img 규칙이 없다
   (원본 layout.webp 이 컨테이너 폭에 맞는 크기였기 때문).
   백오피스 이미지는 크기가 제각각이라 폭을 맞추고 비율을 유지한다.
   도면이라 잘리면 안 되므로 background cover 가 아니라 <img> + height:auto 다. */
.sub_room .wide_img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ── 오시는길 지도 (템플릿 확장) ────────────────────────────────
   원본은 daum roughmap 임베드라 .root_daum_roughmap 이 지도 자리를 채웠다
   (mapHeight 360). 숙소별 좌표를 쓰려고 kakao-maps-sdk 로 교체했으므로
   #kakao-map 에 같은 높이를 준다. 배경색은 SDK 로드 전/좌표 미입력 시 자리 유지용. */
.sub_about .map_box #kakao-map {
  width: 100%;
  height: 360px;
  background: var(--color-primary);
}
@media only screen and (max-width: 860px) {
  .sub_about .map_box #kakao-map {
    height: 300px;
  }
}
@media only screen and (max-width: 640px) {
  .sub_about .map_box #kakao-map {
    height: 240px;
  }
}

/* ── 섹션 간 여백 (템플릿 확장) ─────────────────────────────────
   원본은 콜라주 ul 에 padding-bottom:95.8% 를 줘서 실제 이미지 아래에
   폭의 약 15%(1588px 기준 ~240px)에 달하는 여백이 함께 들어가 있었다.
   높이를 내용에 맞추면서 그 여백이 사라져 섹션이 붙어 보이므로,
   콜라주 아래 여백 + 블록 간 간격으로 다시 확보한다.
   .title_box 는 main.html(.sub1_1) 안으로 한정한다.
   .sub_cont 로 잡으면 서브 페이지 전부가 걸려 원본의 반응형 padding(860↓ 70px / 640↓ 50px)까지
   덮어써 버린다. */
.about_img_bnr .img ul {
  padding-bottom: 5%;
}
.about_img_bnr {
  margin-bottom: 200px;
}
.sub1_1 .title_box {
  padding-top: 150px;
}
@media only screen and (max-width: 1023px) {
  .about_img_bnr {
    margin-bottom: 130px;
  }
  .sub1_1 .title_box {
    padding-top: 110px;
  }
}
@media only screen and (max-width: 860px) {
  .sub1_1 .title_box {
    padding-top: 70px;
  }
}
@media only screen and (max-width: 640px) {
  .sub1_1 .title_box {
    padding-top: 50px;
  }
}
@media only screen and (max-width: 860px) {
  .about_img_bnr {
    margin-bottom: 90px;
  }
}
@media only screen and (max-width: 640px) {
  .about_img_bnr {
    margin-bottom: 70px;
  }
}

/* ── 외경 콜라주: 이미지 개수별 배치 (템플릿 확장) ────────────────
   원본은 3장 고정 콜라주(img01 58.9% / img02 46.4% -14% / img03 40.6%)다.
   외부풍경이 1~2장뿐이면 그 배치가 어색해져, 개수에 맞는 단순 그리드로 바꾼다.
   3장 이상이면 원본 콜라주를 그대로 쓴다. 매퍼가 ul 에 data-count 를 넣는다. */
.sub1_2 .about_img_bnr .img ul[data-count='1'] li {
  float: none;
  width: 72%;
  margin: 0 auto;
}
.sub1_2 .about_img_bnr .img ul[data-count='2'] li {
  float: left;
  width: 50%;
  margin: 0;
}
@media only screen and (max-width: 640px) {
  .sub1_2 .about_img_bnr .img ul[data-count='1'] li {
    width: 100%;
  }
  .sub1_2 .about_img_bnr .img ul[data-count='2'] li {
    width: 100%;
    float: none;
  }
}

/* ── about[] 블록 지그재그 배치 (템플릿 확장) ────────────────────
   원본 about.html 은 .about_img_bnr 이 한 벌뿐이라 '이미지 좌 + 텍스트 우' 고정이다.
   백오피스 about[] 이 여러 블록으로 오면 매퍼가 블록마다 하나씩 만들고,
   짝수 번째(.is-reverse)를 좌우 반전해 지그재그로 배치한다.

   ⚠️ DOM 순서는 항상 '이미지 → 텍스트' 다. 반전은 flex-direction:row-reverse 로만 한다.
      DOM 을 뒤집으면 세로로 쌓이는 모바일에서 텍스트가 이미지 위로 올라간다.
   .about_img_bnr.is-reverse 는 클래스 2개라 미디어쿼리의 .about_img_bnr 보다 우선한다. */
.about_img_bnr.is-reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
}
.about_img_bnr.is-reverse .txt {
  padding-left: 0;
  padding-right: 50px;
  text-align: right;
}
@media only screen and (max-width: 1200px) {
  .about_img_bnr.is-reverse .txt {
    padding-right: 30px;
  }
}
@media only screen and (max-width: 1023px) {
  /* 세로로 쌓이는 구간 — flex 를 풀어 DOM 순서(이미지 위 / 텍스트 아래)를 그대로 쓴다.
     모든 블록이 같은 순서라 스크롤하며 읽을 때 흐름이 끊기지 않는다. */
  .about_img_bnr.is-reverse {
    display: block;
  }
  .about_img_bnr.is-reverse .txt {
    padding-right: 0;
    text-align: center;
  }
}

/* ── 푸터 span 색상 (원본 버그 보정) ────────────────────────────
   reset.css 가 span 에 color:#333 을 직접 박아 둬서 상속이 끊긴다.
   원본 푸터는 값이 전부 텍스트 노드라 문제가 없었지만, 템플릿은 매핑 슬롯을
   <span data-footer-*> 로 두기 때문에 #333 배경 위 #333 글자가 되어 안 보인다. */
.footer_wrap .footer span {
  color: inherit;
}

/* ── 푸터 전화번호 링크 (템플릿 확장) ───────────────────────────
   원본은 전화번호가 <dd class="call"> 안의 텍스트라 링크가 아니었다.
   템플릿은 tel: 링크로 감싸는데, 그러면 .footer dd a 의 버튼 테두리가 붙는다.
   (그 규칙은 개인정보처리방침 / 야놀자 YBS 버튼용이다) */
.footer_wrap .footer dd.call a {
  border: 0;
  padding: 0;
  margin-top: 0;
  display: inline;
  color: inherit;
}

/* ── 푸터 로고 (템플릿 확장) ───────────────────────────────────
   고정 로고 파일을 두지 않으므로 이미지 → 숙소명 텍스트 순으로 폴백한다. */
.footer_wrap .footer .ft_logo {
  min-height: 40px;
}
/* 원본은 어두운 푸터 위에 흰 로고(w_logo)를 올린다. 백오피스 로고는 한 장뿐이라
   반전 필터로 흰색을 만든다. */
.footer_wrap .footer .ft_logo img {
  max-height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer_wrap .footer .ft_logo .ft_logo_text {
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
  font-family: var(--font-ko-main);
}

/* ── 푸터 농어촌민박사업자 이미지 (템플릿 확장) ─────────────────────
   customFields.footer.ruralStayMark 가 있을 때만 매퍼가 노출한다(마크업 기본 숨김).
   푸터 맨 위 가운데에 독립된 줄로 두고, 그 아래로 로고 | Reservation | Information 3단이 그대로 온다.
   (모바일은 로고가 숨으므로 Reservation 바로 위가 된다)
   세로형(마크 + 신고번호 박스)이라 폭을 고정(PC 180px / 모바일 160px)하고 높이는 비율에 맡긴다.
   신고번호가 읽히도록 모바일에서도 160px 아래로 줄이지 않는다. */
.footer_wrap .footer .ft_rural_stay_mark_wrap {
  display: flex;
  justify-content: center;
  padding: 0 0 16px;
}
.footer_wrap .footer .ft_rural_stay_mark {
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
@media only screen and (max-width: 640px) {
  .footer_wrap .footer .ft_rural_stay_mark {
    width: 160px;
  }
}

/* ── 객실 카드 썸네일 비율 고정 (템플릿 확장) ────────────────────
   원본은 실제 이미지 비율에 맡기지만, 백오피스 이미지는 비율이 제각각이라
   카드 높이가 들쭉날쭉해진다. 4:3 으로 잘라 카드 높이를 맞춘다. */
.room_list .swiper-slide .img {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  overflow: hidden;
}
.room_list .swiper-slide .img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 부대시설 배너 텍스트 (템플릿 확장) ─────────────────────────
   원본은 `영문 시설명(필기체) + 한 줄 설명` 두 줄이다.
   백오피스 facilities[] 에 영문명 필드가 없어 필기체 줄은 'Special' 로 고정하고
   한글 시설명을 그 아래 둔다. 시설 설명은 노출하지 않는다. */
.main_bar_bnr ul li .txt_box .bnr_name {
  font-size: 17px;
  line-height: 1.4;
  margin-top: 0.7em;
  opacity: 1;
  font-family: var(--font-ko-main), 'Malgun Gothic', '맑은 고딕', dotum, sans-serif;
}
/* ── 부대시설 배너: 항목이 3개 미만일 때 (템플릿 확장) ───────────
   원본은 li 3개 고정이다. 데이터가 적으면 남는 칸 없이 그대로 흐르게 둔다. */
.main_bar_bnr ul li:only-child .txt_box {
  padding-top: 60px;
}

/* ── 주변여행지 이미지 비율 고정 (템플릿 확장) ────────────────────
   원본은 .travel_list ul li img 에 width:100% 만 줘서 높이가 원본 비율을 그대로 따른다.
   원본 사이트는 가로 사진만 넣었지만 백오피스 이미지는 세로도 섞여 들어와,
   한쪽만 길어지면 2열 정렬이 무너지고 제목/설명 위치가 어긋난다.
   4:3 으로 잘라 카드 높이를 맞춘다 (객실 카드와 같은 비율). */
.travel_list ul li img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ── PREV/NEXT 숨김 시 여백 보정 (템플릿 확장) ──────────────────
   .main_room .arw 는 흐름 안에 있고 margin: -30px 0 80px 을 갖는다.
   넘길 슬라이드가 없어 숨기면(TplSwiper lockHide) 그 여백이 통째로 사라져
   제목과 카드가 붙는다. 사라진 만큼(-30 + 글자높이 + 80 ≈ 66px)을 되돌린다.
   .visual .arw 는 position:absolute 라 숨겨도 흐름에 영향이 없어 보정하지 않는다. */
.main_room.is-arw-locked .room_list {
  margin-top: 66px;
}
@media only screen and (max-width: 1023px) {
  .main_room.is-arw-locked .room_list {
    margin-top: 64px;
  }
}

/* ── 부대시설 그리드: 개수에 맞춘 열 배분 (템플릿 확장) ──────────
   원본은 열 수가 브레이크포인트로만 고정돼 있어, 시설이 5개면 4+1 처럼
   마지막 줄에 하나만 남는 배치가 나온다.
   js/common.js 의 TplGrid 가 개수와 화면 폭을 보고 열 수를 계산해
   ul 에 data-cols 를 넣고, 폭은 아래 규칙이 잡는다.
     5→3+2  6→3+3  7→4+3  8→4+4  9→3+3+3
   --gutter 는 좌우 margin 합(원본 브레이크포인트별 값)이다. */
.main_special .special_list {
  --gutter: 4%;
}
.main_special .special_list[data-cols='1'] li {
  width: calc(100% - var(--gutter));
}
.main_special .special_list[data-cols='2'] li {
  width: calc(50% - var(--gutter));
}
.main_special .special_list[data-cols='3'] li {
  width: calc(33.333% - var(--gutter));
}
.main_special .special_list[data-cols='4'] li {
  width: calc(25% - var(--gutter));
}
.main_special .special_list[data-cols='5'] li {
  width: calc(20% - var(--gutter));
}

/* 1~2개일 때 원이 지나치게 커지지 않도록 상한을 둔다 */
.main_special .special_list li {
  max-width: 230px;
}

@media only screen and (max-width: 1023px) {
  .main_special .special_list {
    --gutter: 2%;
  }
}
@media only screen and (max-width: 767px) {
  .main_special .special_list {
    --gutter: 3%;
  }
}
@media only screen and (max-width: 479px) {
  .main_special .special_list {
    --gutter: 4%;
  }
  .main_special .special_list li {
    max-width: none;
  }
}

/* ============================================================
   우측 하단 플로팅 버튼 — 상담하기 + 예약하기
   ============================================================ */

/* 예약하기(bottom:80px) 아래에 깔린다.
   ⚠️ 노출 여부는 매퍼가 정한다 — 총판A(`partnerType === 'distributor_a'`)이고
      `tripPropertyId` 가 있을 때만 뜬다. PC·모바일 모두 해당한다. */
#talk_custom_button {
  position: fixed;
  right: 7px;
  bottom: 6px;
  cursor: pointer;
  z-index: 999;
}

#talk_custom_button img {
  width: 75px;
  height: 75px;
  display: block;
}

/* ⚠️ 상담하기가 빠지면(총판B / 판매대행 / tripPropertyId 없음) 예약하기 아래가
   빈 채로 떠 있게 된다. 매퍼가 루트에 찍는 `data-consult` 로 바닥에 붙인다.
   예약하기 자체는 파트너 타입과 무관하게 `.for_m` 미디어쿼리로만 갈린다. */
[data-consult='off'] .ft_btn_reserve.on {
  bottom: 6px;
}

/* ============================================================
   헤더 네이버·인스타그램 버튼 (템플릿 확장)
   homepage.socialLinks.blog → 네이버 / .instagram → 인스타그램. 값이 없으면 매퍼가
   .hidden-social-link 를 유지해 숨긴다(마크업 기본 상태가 숨김 — 깜빡임 방지).
   - 641px 이상: .hd_right 맨 앞(YBS 앞) 같은 줄. 26px(PC) / 22px(1023px 이하), 둘 사이 8px
   - 640px 이하: 헤더엔 자리가 없어(로고+YBS+RESERVATION+메뉴) aside 메뉴 목록 아래로, 36px
   로고 PNG 는 비율 유지(인스타 122×126) — 높이만 고정한다.
   ============================================================ */
.hidden-social-link {
  display: none !important;
}
.header .hd_right .sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header .hd_right .sns a {
  display: block;
  margin: 0;
}
.header .hd_right .sns img,
.aside .sns_aside img {
  display: block;
  width: auto;
  height: 26px;
}
.aside .sns_aside {
  display: none;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.aside .sns_aside img {
  height: 36px;
}

/* 소셜이 보일 때만(매퍼가 루트에 찍는 data-social="on") 1024~1100px 메뉴 좌우 여백 0.93em → 0.7em.
   TRAVEL 이 켜지면 LOCATION 과 소셜이 맞닿는 구간이다.
   .header * 의 transition(0.3s, 전체 속성)이 여백에도 걸리면 매핑 직후 메뉴가 미끄러지므로 색만 남긴다. */
@media only screen and (min-width: 1024px) and (max-width: 1100px) {
  [data-social='on'] .header .hd_lnb ul .depth1 .depth1_a {
    padding: 0 0.7em;
    transition-property: color, background-color, border-color;
  }
}
@media only screen and (max-width: 1023px) {
  .header .hd_right .sns img {
    height: 22px;
  }
}
@media only screen and (max-width: 640px) {
  .header .hd_right .sns {
    display: none;
  }
  .aside .sns_aside {
    display: flex;
  }
}
