/*
@media all and (display-mode: standalone), (display-mode: fullscreen) {
  *, *:before, *:after {
    -webkit-user-select1: none;        
    -moz-user-select1: none; 
    -ms-user-select1: none; 
  }
}
*/

:root {
    --noon-font-max:28px;
	--terix-color-main:#d2378c;
	--trrix-color-main-in-dark:#fff;
	--terix-layout-header-height:50px;
	--terix-layout-quickbar-height:50px;
}

body.mobile {
	--terix-layout-quickbar-height:80px;
}

h1 {
    font-size:var(--noon-font-max);
    font-weight:600;
}

div {
    box-sizing:border-box; 
}

/*********** layout ****************/
body > .terix-slider-group {
	min-height:100vh;
	width:100%;
}


.terix-body-container {
  min-height: 100vh;
  width: 100%;
}

.terix-body-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  transition: transform 0.3s ease;
  position: relative;
  min-height:100vh;
  1overflow:hidden;
}

.terix-body {
  min-height: 100vh;
  width: 100%;
  flex: 0 0 100%;
  
  display:flex;
  flex-direction: column;
  margin: 0;
}

.terix-page-container {
	flex:1 0 auto;
}

.terix-footer {
  flex-shrink: 0;
}


.terix-body .terix-page-header {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    1border-bottom: solid 1px #aaa;
	margin-bottom:15px;

}

.terix-body .terix-page-header {
	margin-top:calc(var(--terix-layout-header-height) + 20px);
	margin-left:20px;
	margin-right:20px;
	background:#f1f1f1;
	border-radius:5px;
	padding:6px 10px;
	display:flex;
}

.terix-page-header > * {
	padding:4px 10px;
}

@media (max-width:600px) {
	.terix-body .terix-page-header {
		display:none !important;
	}

}


/*********** pageLayout ************/
.terix-body .terix-page-content {
	padding:20px 20px 20px 20px;
}

@media (max-width:600px) {
	.terix-body .terix-page-content {
		padding-top:var(--terix-layout-header-height);
	}
}

.terix-body[data-pageLayout="full-page"] .terix-page-content {
	padding:0px;
}


.terix-body[data-pageLayout="header-space"] .terix-page-content {
	padding:var(--terix-layout-header-height) 0px 0px 0px;
}



.terix-body[data-pageLayout="full-page"] .terix-page-header {
	display:none;
}

.terix-body[data-pageLayout="full-page"] .terix-header .terix-page-tool {
	display:block !important;
}

.terix-body[data-pageLayout="header-space"] .terix-page-header {
	display:none;
}

.terix-body[data-pageLayout="header-space"] .terix-header .terix-page-tool {
	display:block !important;
}

@media (max-width:600px) {
	
	.terix-body .terix-page-header [button=terix-menu-toggle] {
		display:inline-block;
	}
	
	.terix-body.forward .terix-page-container .terix-page-content {
		padding:calc(var(--terix-layout-header-height) + 20px) 20px 20px 20px;
	}

	.terix-body[data-pageLayout="full-page"] .terix-page-content {
		padding:0px !important;
	}

	.terix-body[data-pageLayout="header-space"] .terix-page-content {
		padding:var(--terix-layout-header-height) 0px 0px 0px;
	}
	
}


/*********** error-box *************/
.terix-error-box {
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	min-height: 70vh;
	gap:25px;
}

.terix-error-box .icon {
	width:100px;
	height:100px;
}


/*********** section ****************/
.terix-section, section {
    position:relative;
}

.terix-section-content,
section > .section-inner {
    max-width:600px;
    margin:0 auto;
    padding:60px 0px;
    
}

.terix-body-phyton-controlled {
	max-width:1200px;
	padding-top:100px;
}

@media (max-width:640px) {
    .terix-section-content,
    section > .section-inner {
        padding:70px 20px;
    }
}


/******************* navigation *****************/
.terix-header {
    position: fixed;
	1position: sticky;
    background: rgba(0, 0, 0, 0.4);
    color: #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
	top:0px;
    1padding: 12px 0px;
    width:100%;
    z-index:1000;
	height:var(--terix-layout-header-height);

}

.terix-header i {
	font-size:20px;
	padding:3px 3px;
}

.terix-header.light {
	color:#444;
}

.terix-header > * {
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

/* 화면에 들어오면서 보여지게 될 때 */
body.ready .terix-header > * {
  opacity: 1;
}

.terix-header .site-name {
	display:none;
	text-decoration:none;
	color:inherit;
}

.terix-header .page-name {
	display:none;
}

.terix-header-menu {
  display: flex;
  gap: 15px;
  1flex:1;
}

.terix-header-menu a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  
}

.terix-header [button=backward] {
	display:none;
}

@media (max-width:600px) {

	.terix-body.forward .terix-header .logo-icon,
	.terix-body.forward .terix-header .site-name,
	.terix-body.forward .terix-header [button=terix-menu-toggle]
	{
		display:none;
	}
		
	.terix-body.forward .terix-header .page-name {
		display:block;
	}
	
    .terix-body.forward .terix-header .terix-header-menu {
        display:none;
    }
	
	.terix-header .terix-header-menu .terix-menu-item:not(.pinned) {
		display:none;
	}
	
	.terix-header [button=backward] {
		display:inline-block;
	}
}

.terix-header .terix-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  1flex:1;
  padding:0px 10px;
}

.terix-header .terix-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  1flex:1;
  padding:0px 20px;
}

.terix-header .logo-icon {
  height: 28px;
  filter: brightness(0) invert(1);
  margin-top:5px;
  display:inline-block;
  background-size:contain;
}

/* 중앙 메뉴 */
.terix-menu-item {
	text-decoration:none;
}

.terix-menu-item.selected {
	color:var(--terix-color-main);
}

.terix-header.dark .terix-menu-item.selected {
	color:var(--trrix-color-main-in-dark);
}

.terix-menu-tree {
	background:rgba(255,0,0,0.3);
	position:absolute;
	top:var(--terix-layout-header-height);
	left:0px;
	right:0px;
}

.terix-menu-group[data-depth="2"] > .terix-menu-item {
	padding-left:20px;
}

.terix-menu-group[data-depth="3"] > .terix-menu-item {
	padding-left:40px;
}

.terix-menu-tree .terix-menu-group[data-depth="1"] {
  position: relative;
  display: none;
  padding: 10px;
}


/****************** page-tool ****************/
.terix-page-tool {
  position: relative;
  font-size: 0; /* 텍스트 숨김 */
  cursor:pointer;
}

.terix-page-tool::before {
  font-family: "Font Awesome 5 Free";  /* Font Awesome 5 사용 시 */
  font-weight: 900;                    /* Solid 스타일 */
  font-size: 20px;                     /* 원하는 크기로 조절 */
  display: inline-block;
  content: ""; /* 기본 비워두고 아래에서 채움 */
  
}

/* tool별로 content 지정 */
.terix-page-tool[data-tool="search"]::before {
  content: "\f002"; /* fa-search */
}
.terix-page-tool[data-tool="append"]::before {
  content: "\f067"; /* fa-plus */
}

.terix-header .terix-page-tool {
	display:none;
}

@media (max-width:600px) {

	.terix-header .terix-page-tool {
		display:block;
	}
}

/****************** menu-style **************/
body[menu-type=left] .terix-menu-tree {
	 position:fixed;
	 top1:50px;
	 left:0px;
	 width:250px;
	 bottom:0px;
	 background:#eee;
	 overflowY:auto;
	 border-right:solid 1px #ccc;
}

/*** container *****/
body[menu-type=left] .terix-page-container,
body[menu-type=left] .terix-footer {
	margin-left:250px;
}


@media (max-width:600px) {

	body[menu-type=left] > .terix-menu-tree {
		display:none;
	}

	body[menu-type=left] .terix-page-container,
	body[menu-type=left] .terix-footer {
		margin-left:0px;
	}
}


/****************** overlay-menu *************/
.terix-overlay-popup {
    z-index:100;
    display:none;
    background:rgba(255,255,255,0.9);
    position:fixed;
    width:85%;
    top:var(--terix-layout-header-height);
    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;
}


.terix-body-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.terix-body-wrapper {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%; /* 중요 */
}

.terix-body {
  flex: 0 0 100%;
  width: 100%;
}

body.standalone .terix-body {
	padding-bottom:var(--terix-layout-quickbar-height);
	
}


/************* terix-slider ****************/

.terix-slider {
	display:none;
	1opacity: 0;
	1transition: opacity 3s ease;
	pointer-events: none; /* 안 보일 때 클릭 방지 */
}

.terix-slider.active {
	display:block;
	1opacity: 1;
	pointer-events: auto;
}

/************* terix-slider-group ****************/
.terix-slider-anchor-container {
	display:none;
}

body.standalone .terix-slider-anchor-container {
	position:fixed;
	bottom:0px;
	background:#fff;
	border-top:solid 1px #ccc;
	display:flex;
	justify-content: space-between;
	width:100%;
	height:var(--terix-layout-quickbar-height);
	align-items:start;
	
	
	
}

.terix-slider-anchor-container .terix-slider-anchor {
	text-align:center;
	1border-right:solid 1px red;
	width:100%;
	display:block;
	cursor:pointer;
	1padding:20px;
	padding-top:10px;
}

.terix-slider-anchor-container .terix-slider-anchor.active {
	color:var(--terix-color-main);
	
}

body.standalone .terix-slider-anchor-container {
	height:var(--terix-layout-quickbar-height);
	padding-bottom:var(--terix-layout-quickbar-space);
	box-sizing:border-box;
}



body.standalone .terix-header .terix-header-menu {
	display:none;
}

body.standalone .terix-header [button=terix-menu-toggle] {
	display:none;
}

body.standalone .terix-header .logo-icon {
	display:none;
}

body.standalone .terix-header .site-name {
	display:none;
}

body.standalone .terix-header .page-name {
	display:block;
	font-size:18px;
	font-weight:600;
}