:root {
    --noon-font-max:28px;
}

h1 {
    font-size:var(--noon-font-max);
    font-weight:600;
}

div {
    box-sizing:border-box;
}

/*********** section ****************/
.terix-section, section {
    position:relative;
}

.terix-section-content,
section > .section-inner {
    max-width:600px;
    margin:0 auto;
    padding:60px 0px;
    
}

@media (max-width:640px) {
    .terix-section-content,
    section > .section-inner {
        padding:70px 20px;
    }
}


/******************* navigation *****************/
.terix-navbar {
    position: fixed;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0px;
    width:100%;
    z-index:1000;

}

.terix-navbar .site-name {
	display:none;
}

.terix-navbar .site-name {
	display:none;
	text-decoration:none;
	color:inherit;
}

.terix-navbar .nav-toggle {
    visibility:hidden;
}

@media (max-width:600px) {
    .terix-nav-menu [data-device=desktop] {
        display:none;
    }
    
   .terix-navbar .terix-nav-toggle {
        visibility:visible;
    }
}

.terix-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  1flex:1;
  padding:0px 10px;
}

.terix-navbar .logo {
  height: 28px;
  filter: brightness(0) invert(1);
  margin-top:5px;
  display:inline-block;
  background-size:contain;
}

.clinic-name {
  font-size: 18px;
  font-weight: 600;
}

/* 중앙 메뉴 */
.terix-nav-menu {
  display: flex;
  gap: 15px;
  1flex:1;
}

.terix-nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  
}

/* 햄버거 아이콘 */
.terix-nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding:0px 10px;
}

.terix-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: white;
}

/****************** overlay-menu *************/
.terix-overlay-popup {
    z-index:100;
    display:none;
    background:rgba(255,255,255,0.8);
    position:fixed;
    width:85%;
    top:60px;
    bottom:0px;
    right:0px;
    display:none;
    1padding:50px 10px;
}

.terix-overlay-popup-inner {
    display:flex;
    flex-direction:column;
    height:100%;
}

.terix-overlay-menu {
    padding:20px;
    flex:1;
}

.terix-overlay-popup.show-time {
    1display:block;
    display:flex;
    flex-direction:column;
}

.terix-overlay-menu a {
    text-decoration:none;
    font-size:16px;
    padding:6px 10px;
    cursor:pointer;
    display:block;
    color:#000;
    border-bottom:solid 1px #ddd;
    
}

.terix-overlay-popup .footer-partner {
    font-size:14px;
    font-weight:400;
}

.terix-overlay-popup .link-block {
    font-size:14px;
    font-weight:400;
}

/******************* footer *****************/
.terix-footer {
  background-color: #f2f2f2;
  padding: 40px 20px;
}

.terix-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}


/************* ani and sticky *********/
.fixed-target {
  position: relative;
  height: 500px; /* 박스가 원래 위치해 있던 영역 */
}

.sticky-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  background: pink;
  padding: 10px;
  transition: all 0.3s ease;
  z-index: 10;
}

.sticky-box.fixed {
  position: fixed;
  top: 0;
}


/*********** font and align ***********/
.section-title-block {
    margin-bottom:30px;
}

.section-heading {
    margin-bottom:30px;
}
.section-subing {
    margin-bottom:15px;
}

.ta-center {
    text-align:center;
}

.h1 {
    font-size:32px;
    1line-height:1.5;
    font-weight:700;
}

.h2 {
    font-size:28px;
    font-weight:500;
    1line-height:1.2;
}

.h3 {
    font-size:22px;
    font-weight:400;
}

.tw-600 {
    font-weight:600;
}


/************** reveal-effect *****************/
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.8s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-lite {
  opacity: 0;
  transform: translateY(10px);
  animation: revealUp 0.6s ease forwards;
  animation-delay: 0.5s; /* 나타나는 시간 딜레이 */
}

.reveal-lite.later {
    animation-delay: 1s; /* 나타나는 시간 딜레이 */
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-pin-block {
    position:relative;
}


/************ before-after-group *************/
.before-after-group .before-after-row {
    display:flex;
    height:180px;
    gap:10px;
}

.before-after-group .before-after-row > div {
    flex:1;
    background:#fafafa;
}

.before-after-group .before-after-row img {
    width:200%;
    height:100%;
    object-fit:cover;
    object-position:center bottom;
}

.before-after-group .before-after-row > div:first-child img {
    object-position:left bottom;
    clip-path: inset(0 50% 0 0); position: relative;
}

.before-after-group .before-after-row > div:nth-child(2) img {
    object-position:right bottom;
    clip-path: inset(0 0 0 50%); position: relative;
    margin-left:-100%;
}

.before-after-group .caption {
    text-align:center;
}

.before-after-group {
    margin-bottom:20px;
}

