/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;   /* 웹폰트 도착 전에도 글자를 먼저 그린다 (2026-10-19) */
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;   /* 웹폰트 도착 전에도 글자를 먼저 그린다 (2026-10-19) */
}

/* 전체설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
  --main-navi: #204B62;
  --main-text: #333;
  --main-white: #fff;
}


/* 상세설정 */

.search-button{
    width: 25px;
}


.floating-sidebar {
    position: fixed;
    top: 20%;
    right: 0;
    z-index: 1000;
    background: #204B62;
    padding: 20px 8px;
    border-radius: 20px 0 0 20px;
    will-change: transform;
    transition: transform .15s ease-out;
  }
  
  .floating-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .floating-sidebar li {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .floating-sidebar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
  }
  
  .circle-icon {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  }
  
  .circle-icon img {
    width: 28px;
    height: 28px;
  }

  .circle-icon i {
    font-size: 30px;
  }
  
  .icon-label {
    font-size: 13px;
    color: #fff;
    font-weight: 400;
  }
  

  
  /* 맨 위로 버튼 */
  .btn-top {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 10px auto 0;
    /* ✅ 항상 보이게 */
    opacity: 1;
    visibility: visible;
  }
  
  .btn-top img {
    width: 20px;
    height: 20px;
  }


  /* 모바일 설정 */
  .fixed_m {
    display: none;
  }

  .fixed-bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 999;
  }

  .fixed-bottom-buttons a {
    font-size: 20px;
  }
  
  .fixed-bottom-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 20px 0;
    font-weight: bold;
    color: white;
    text-decoration: none;
  }
  
  .fixed-bottom-buttons .phone {
    background-color: var(--main-navi); /* 파란색 */
  }
  
  .fixed-bottom-buttons .kakao {
    background-color: #FAE100; /* 카카오톡 노란색 */
    color: #000;
  }
  



/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {

}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {
    .floating-sidebar{
        top: 10%;
    }

}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .floating-sidebar {
    display: none !important;
  }

  .fixed_m {
    display: block;
  }

}

/* 모바일 전용 */
@media screen and (max-width: 767px) {
    .floating-sidebar {
        display: none !important;
      }
      
      .fixed_m {
        display: block;
      }
    
}


/* ---------- 네이버 예약 버튼: 다른 칸과 같은 흰 원, 아이콘만 네이버 초록 선 ---------- */
.circle-icon.booking svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #03c75a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 예약 칸이 생겨 여섯 칸이 되면 낮은 화면(노트북)에서 맨 아래 「맨 위로」가 잘린다.
   예약 칸이 있을 때만, 화면 높이에 맞춰 위치를 올리고 간격·원 크기를 줄인다. 색은 그대로. */
@media screen and (min-width: 1025px) and (max-height: 900px) {
  .floating-sidebar.has-booking {
    top: 96px;
    padding: 14px 8px;
  }

  .floating-sidebar.has-booking li {
    margin-bottom: 12px;
  }

  .floating-sidebar.has-booking .circle-icon,
  .floating-sidebar.has-booking .btn-top {
    width: 46px;
    height: 46px;
  }

  .floating-sidebar.has-booking .circle-icon img,
  .floating-sidebar.has-booking .circle-icon.booking svg {
    width: 24px;
    height: 24px;
  }

  .floating-sidebar.has-booking .icon-label {
    font-size: 12px;
  }

  .floating-sidebar.has-booking .btn-top {
    margin-top: 4px;
  }
}

@media screen and (min-width: 1025px) and (max-height: 700px) {
  .floating-sidebar.has-booking {
    top: 84px;
    padding: 10px 6px;
  }

  .floating-sidebar.has-booking li {
    margin-bottom: 7px;
  }

  .floating-sidebar.has-booking .circle-icon,
  .floating-sidebar.has-booking .btn-top {
    width: 40px;
    height: 40px;
    margin-bottom: 3px;
  }

  .floating-sidebar.has-booking .circle-icon img,
  .floating-sidebar.has-booking .circle-icon.booking svg {
    width: 21px;
    height: 21px;
  }

  .floating-sidebar.has-booking .icon-label {
    font-size: 11.5px;
  }
}


/* ---------- 모바일·태블릿 아래 고정 띠: 네이버 예약 칸(세 칸일 때) ---------- */
.fixed-bottom-buttons .booking {
  background-color: #03c75a;   /* 네이버 초록 */
  color: #fff;
}

.fixed-bottom-buttons.has-booking .btn {
  white-space: nowrap;
  font-size: 18px;
  padding: 18px 0;
}

@media screen and (max-width: 767px) {
  .fixed-bottom-buttons.has-booking .btn {
    font-size: 15px;
    padding: 17px 0;
    letter-spacing: -0.02em;
  }
}

@media screen and (max-width: 374px) {
  .fixed-bottom-buttons.has-booking .btn {
    font-size: 13.5px;
  }
}
