/* ================================
   1. 기본 리셋 및 공통 스타일
================================ */

@font-face { /* 로고용 expoin */
  font-family: 'PartialSansKR-Regular';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/PartialSansKR-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face { /* 로고용 한글설명 */
  font-family: 'Gyeonggi_Batang_Regular';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Batang_Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 100;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Thin.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Thin.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Thin.otf) format('opentype');}

@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 300;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.otf) format('opentype');}

@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 400;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Regular.otf) format('opentype');}

@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 500;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Medium.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Medium.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Medium.otf) format('opentype');}

@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 700;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Bold.otf) format('opentype');}

@font-face {font-family: 'Noto Sans KR';font-style: normal;font-weight: 900;src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Black.woff2) format('woff2'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Black.woff) format('woff'),url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Black.otf) format('opentype');}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  height: 100%;

}

body {
  font-family: 'Noto Sans KR', sans-serif; line-height: 1.6;
  background-color: #f1f1f1;
  font-style: normal;
  font-size:1rem;
  letter-spacing: -0.05em;
  color:#444447 !important;
}
body, h1, h2, h3, h4, h5, h6, input, textarea, select {
  font-family: 'Noto Sans KR', sans-serif;
}

a {
  text-decoration: none;       /* 기본 밑줄 제거 */
  color: inherit;              /* 기본 텍스트 색상 유지 */
  transition: color 0.3s ease; /* 부드럽게 색상 변경 */
}

a:hover {
  color: #ff4d00;              /* 마우스오버 시 색상 변경 */
}

  h1, h2, h3, h4, h5 {
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.07em;
  color: inherit !important;
}
.fw-bold {
  color:#444447 !important;
  
}
.fw-semibold {
  color:#444447 !important;
}

section { padding: 40px 0; }

.head_title h1.title-orange {
  background-color: #444447; /* 주황색 배경 */
  color: #fff !important;               /* 흰색 글자 */
  padding: 0.8rem 1.5rem;    /* 위아래 + 좌우 여백 */
  border-radius: 2rem;       /* 좌우 둥글게 */
  display: inline-block;     /* 크기에 맞게 라운드 */
  font-weight: 700;          /* 굵은 글자 */

  line-height: 1.2;
}

/* ================================
   2. 요소설정
================================ */
 
  input:focus, textarea:focus, select:focus {
  outline: none !important;
  box-shadow: none !important;
}
.form-control:focus {
  border-color: inherit;
  box-shadow: none;
}
.strike {
  text-decoration: line-through;
}

.highlight-yellow {
  background: linear-gradient(to top, #fff79a 40%, transparent 50%);
  padding: 0 2px;
  display: inline;
}


.tube_btn {
  background-color: #444447; 
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  display: inline-block;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  border: 2px solid #2b3037; /* 기본 테두리 */
}


.tube_btn .t-lg {
  font-size:20px !important;
}

.tube_btn:hover {
  background-color: #fff;
  color: #444447;
}

.tube_btn_recom {
  background-color: #ff5e57; 
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  display: inline-block;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  border: 2px solid #ff5e57; /* 기본 테두리 */
}

.tube_btn_recom:hover {
  background-color: #fff;
  color: #ff5e57;
}


.tube_btn_out {
  background-color: #fff;
  color: #444447;
  padding: 0.8rem 1.5rem;
  border: 2px solid #444447;
  border-radius: 2rem;
  display: inline-block;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tube_btn_out:hover {
  background-color: #444447;
  color: #fff;
}

/* 버튼 i 클래스 흔들리는 효과 */
@keyframes slideRightLeft {
  0% { transform: translateX(0); }
  50% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.tube_btn:hover i {
  animation: slideRightLeft 0.5s ease-in-out;
}

.tube_btn_orange {
  background-color: #ff5e57; 
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  display: inline-block;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  border: 2px solid #ff5e57; /* 기본 테두리 */
}

.tube_btn_orange .t-lg {
  font-size:20px !important;
}

.tube_btn_orange:hover {
  background-color: #fff;
  color: #ff5e57;
}

.tube_btn_orange_out {
  background-color: #fff;
  color: #444447;
  padding: 0.8rem 1.5rem;
  border: 2px solid #444447;
  border-radius: 2rem;
  display: inline-block;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tube_btn_orange_out:hover {
  background-color: #444447;
  color: #fff;
}


.tube_btn_orange:hover i {
  animation: slideRightLeft 0.5s ease-in-out;
}

.tube_btn_recom:hover i {
  animation: slideRightLeft 0.5s ease-in-out;
}

.tube_btn_out:hover i {
  animation: slideRightLeft 0.5s ease-in-out;
}


/*이미지 오버시 확대 */
.img-hover-zoom {
  overflow: hidden; /* 넘치는 부분 숨김 */
}

.img-hover-zoom img {
  transition: transform 0.4s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.05); /* 살짝 확대 */
}
/*이미지 오버시 확대 */


.h-right {
  text-align: right
}

/* 폰트사이즈 */
.fs-14 {font-size:14px}
.fs-16 {font-size:16px}

/* 폰트컬러 */
.f-black {color:#000}

/* 폰트두께 */
.b600 {font-weight:600}
.b700 {font-weight:700}

/* ================================
   2. 스와이프
================================ */

/* ================================
   2. hc헤더 영역
================================ */
.st-header.hide,
.mobile-header.hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.st-header.scrolled-up,
.mobile-header.scrolled-up {
  transform: translateY(0);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/* 전체 헤더 스타일 */
.st-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  color:#444447;
  transition: transform 0.3s ease;
  width: 100%;
  /*border-bottom: 1px solid #eee; 헤더 아래쪽 라인 */

}

/* 숨길 때 위로 올림 */
.st-header.hide {
  transform: translateY(-100%);
}

/* 상단 헤더 */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 2rem;
  background: #fff;
}

.logo-area {
  display: flex;
  align-items: flex-end; /* 바닥에 붙이기 */
  gap: 0.8rem;
  height: 100%; /* 부모 높이에 맞춰 정렬 */
}

.logo-icon {
  height: 48px; /* 적절한 로고 높이 */
  object-fit: contain;
}

.logo-text .brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.logo-text .slogan {
  font-family: 'Gyeonggi_Batang_Regular';
  font-size: 0.8rem;
  color: #333;
  margin-bottom: 0.4rem;
  line-height: 1;
}



.logo .stomato {
  font-weight: 800;
  font-size: 1.5rem;
}

.logo .slogan {
  font-family: 'Gyeonggi_Batang_Regular';
  font-size: 0.8rem;
  padding:10px 0 0 10px;
}

/* 메뉴 영역 */
.gnb ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;

}

.gnb li a {
  text-decoration: none;
  color: #444447;
  font-weight: 400;
  position: relative;
  padding-bottom: 12px;
  font-size:14px;
}

.gnb li.on a::after,
.gnb li a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #000;
}

/* 오른쪽 아이콘 */
.header-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.header-icons a {
  color: #444447;
  font-size: 0.9rem;
  text-decoration: none;
}

/* 하단 헤더 */
.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 2rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  background: #f1f1f1
}

.navi {
  display: flex;
  align-items: center;
  color: #888;
  height: 100%;
  font-size:0.8rem
}

.auth-btns {
  display: flex;
  gap: 0.5rem;
}

.auth-btns a {
  font-size: 0.9rem;
  padding: 0.2rem 1rem;
  text-decoration: none;
  border-radius: 5px;
  background: #fff;
}

.auth-btns .btn-outline {
  border: 1px solid #ccc;
  color: #444447;
}
.auth-btns .btn-outline:hover {
  background: #efefef;
}

.auth-btns .btn-black {
  background: #444447;
  color: #fff;
}

.auth-btns .btn-black:hover {
  background: #666;
}
.start-btns {

}

.start-btns a {
  font-size: 0.9rem;
  padding: 0.2rem 1rem;
  text-decoration: none;
  border-radius: 5px;
}

.start-btns .btn-outline {
  border: 1px solid #ccc;
  color: #444447;
}
.start-btns .btn-outline:hover {
  background: #efefef;
}

.start-btns .btn-black {
  background: #444447;
  color: #fff;
}

.start-btns .btn-black:hover {
  background: #666;
}
/* ================================
   3. 모바일헤더
================================ */
/* 모바일 헤더 */

.mobile-header {
  display: none;
  background: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1001;
}

.mobile-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
}

.mobile-logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.mobile-menu-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: #444447;
}

/* 메뉴 오버레이 */
.mobile-menu-overlay {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000;
  color: #fff;
  z-index: 2000;
  padding: 2rem 1.5rem;
}

/* 닫기 버튼 */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
}
.close-btn {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
}

/* 상단 링크 */
.top-links a,
.bottom-links a {
  display: inline-block;
  margin-right: 1.5rem;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}

/* 메뉴 리스트 */
.mobile-menu-list {
  list-style: none;
  padding: 2rem 0;
  margin: 0;
}
.mobile-menu-list li {
  margin: 1rem 0;
}
.mobile-menu-list a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}




/* ================================
   4. 마이페이지
================================ */
.myinfo-btns {
}

.myinfo-btns a {
  font-size: 0.8rem;
  padding: 0.2rem;
  text-decoration: none;
  border-radius: 5px;
  margin-right:6px;
}

.myinfo-btns .btn-outline {
  border: 1px solid #ccc;
  color: #444447;
}
.myinfo-btns .btn-outline:hover {
  background: #efefef;
}

.myinfo-btns .btn-black {
  background: #444447 !important;
  color: #fff !important;
}

.myinfo-btns .btn-black:hover {
  background: #666;
}
/* ================================
   6. 메인
================================ */
main {
  padding-top: var(--header-height);
  margin-top: 120px;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.main-inner {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  line-height: 1.8;
}
.main-inner p {
  color: inherit !important;
  margin-top: 0 !important;
}
.main-inner .fw-bold {
  margin-top: 0 !important;
}
.main-inner .fw-semibold {
  margin-top: 0 !important;
}

.head_title {
  margin:80px 0;
  text-align: center;
}



  
  
  
/* ================================
   7. 푸터
================================ */
.footer-wrap {

  margin-top:80px;
  padding:40px 0 !important;
}

.footer-links {
  text-align: left; /* 원하면 center로 변경 가능 */
  font-size: 14px;
  padding:10px;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 10px 0;
}

.footer-left {
  max-width: 700px;
  font-size: 14px;
  padding:10px;
}

.footer-right img {
  display: block;
  margin-left: auto;
  margin-bottom: 8px;
}

/* ================================
   8. 반응형 모바일 메뉴
================================ */
@media (max-width: 768px) {
  .st-header { display: none; }

  .mobile-header {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 1rem;
  }

  .mobile-top .logo {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
  }

  .hamburger span {
    position: absolute;
    height: 2px;
    width: 100%;
    background: #444447;
    left: 0;
    transition: 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 9px; }
  .hamburger span:nth-child(3) { top: 18px; }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
    background: #fff;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
    background: #fff;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #444447;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 1.5rem 30px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    height: auto;
    padding-bottom: 2rem;
  }

.mobile-menu-top {
    display: flex;
    justify-content: center;  /* 가운데 정렬 */
    align-items: center;       /* 수직 정렬도 필요 시 추가 */
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: #333;
    padding:10px;
  }
  
  .mobile-menu-top a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
  }


  .mobile-menu-center {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-menu-center li {
    margin: 1rem 0;
    list-style: none;
  }

  .mobile-menu-center a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
  }

  .mobile-menu-footer {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .mobile-menu-footer a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .mobile-menu hr {
    border-color: rgba(255,255,255,0.2);
  }
}

/* ================================
   4. 모달
================================ */

/* ================================
   8. 카카오상담톡
================================ */
.talk-fixed-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 24px;
  color: #444447;
  font-weight: bold;
  display: inline-flex;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background: #fff; /* 기본 배경 지정 */
  transition: all 0.3s ease;
}

.talk-fixed-btn i {
  color: #444447;
}

.talk-fixed-btn:hover {
  background: #fee600;
  color: #444447;
  transform: translateY(-2px);
}

.talk-fixed-btn:hover i {
  animation: slideRightLeft 0.5s ease-in-out;
}




/* ================================
   9. 반응형 (모바일 화면)
================================ */
@media (max-width: 768px) {
.logo-area {
  display: flex;
  align-items: flex-end; /* 바닥에 붙이기 */
  gap: 0.8rem;
  height: 100%; /* 부모 높이에 맞춰 정렬 */
}

.logo-icon {
  height: 48px; /* 적절한 로고 높이 */
  object-fit: contain;
}

.logo-text .brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.logo-text .slogan {
  font-family: 'Gyeonggi_Batang_Regular';
  font-size: 0.8rem;
  color: #333;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.logo .stomato {
  font-weight: 800;
  font-size: 1.5rem;
}

.logo .slogan {
  font-family: 'Gyeonggi_Batang_Regular';
  font-size: 0.8rem;
  padding:10px 0 0 10px;
}

main {
  margin-top:90px;
}

.head_title {
  margin:20px 0;
  text-align: center;
  }
section { padding: 20px 0; }


  .modal-dialog {
    margin-top: 70px !important;  /* 모바일 헤더 높이만큼 내리기 */
  }
  .modal-dialog.modal-dialog-centered {
    display: block !important;
    align-items: start !important;
  }
  
  .modal-content {
    width: 100%;
  }

  .btn-close {
    top: 0.8rem;
    right: 1rem;
  }
.tube_btn {
    background-color: #000; 
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    display: inline-block;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
    border: 2px solid #2b3037; /* 기본 테두리 */
  }
  
  
  .tube_btn .t-lg {
    font-size:20px !important;
  }
  
  .tube_btn:hover {
    background-color: #fff;
    color: #444447;
  }
  #kakaoBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
  }
  
  #kakaoBtn.show {
    opacity: 1;
    visibility: visible;
  }
}


/* ================================
   9. 반응형 (PC 화면)
================================ */

  @media (min-width: 769px) { /* 모바일 전용 헤더는 데스크톱에서 숨김 */
  .mobile-header {
    display: none;
  }
}
/* ================================
   10. 반응형 (PC 화면에서 메뉴폰트 줄이기)
 ================================ */
   

   
   
