/****************** banner-section ************/
.banner-section {
    color: #111;
    overflow:visible;
    position:relative;
}

.banner-section .top-banner {
	1background: url('../img/home/tusi.jpg') no-repeat center top / cover;
	height: calc( 100vh - var(--terix-layout-header-height));
 	margin-top:var(--terix-layout-header-height);
	display1: flex;
	align-items: center;
	justify-content1: flex-end;
	position:relative;
	width:100vw;
	overflow-y:hidden;
  pointer-events: none;
	
}

@media (max-width:600px) {
    .banner-section .top-banner {
        height:calc(100vh);
    }
}

.banner-section .top-text {
	position:absolute;right:10%;top:10%;
}

.banner-section .top-text .header {
	font-size:20px;display:flex;gap:10px;align-items:center;
}

@media (max-width:600px) {
	.banner-section .top-text {
		right:10%;top:11%;
	}

	.banner-section .top-text .header {
		flex-direction:column;
	}
} 

.banner-section .image-fader {
  position: relative;
  width: 100%;
  1max-width: 800px;  /* 원하는 크기 */
  height: 100%;     /* 원하는 크기 */
  1overflow-y: hidden;

}

.banner-section .fade-image {
  position: absolute;
  1width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  
  1animation: crossfade 16s infinite ease-in-out, zoomin 16s infinite ease-in-out;
}

@media (min-width:1801px) {
	.banner-section .img1 {
		transform: scale(1);
		object-fit:cover;
		object-position: center center;
		1animation: crossfade 16s infinite ease-in-out, zoomin1-max 16s infinite ease-in-out;
		animation: crossfade 16s infinite ease-in-out;  
		 animation-delay: 8s, 8s;
		width:100%;
	}

	.banner-section .img2 {
		transform: scale(1);
 		object-fit:cover;
		width:100%;
		object-position:left bottom;
	  1animation: crossfade 16s infinite ease-in-out, zoomin2-max 16s infinite ease-in-out;	
		animation: crossfade 16s infinite ease-in-out;  
	  animation-delay: 0s, 0s;
	}
}

@media (min-width:1201px) and (max-width:1800px) {

	.banner-section .img1 {
		transform: scale(1);
		object-position: center center;
		1animation: crossfade 16s infinite ease-in-out;, zoomin1-1800 16s infinite ease-in-out;
  		animation: crossfade 16s infinite ease-in-out;
		animation-delay: 8s, 8s;
	}

	.banner-section .img2 {
		transform: scale(1);
		object-fit:cover;
		object-position:left bottom;
		width:100%;
		1animation: crossfade 16s infinite ease-in-out, zoomin2-1800 16s infinite ease-in-out;
 		animation: crossfade 16s infinite ease-in-out;
		animation-delay: 0s, 0s;
	 
	}
}

@media (min-width:801px) and (max-width:1200px) {

	.banner-section .img1 {
		transform: scale(1);
 		object-position: center center;
		1animation: crossfade 16s infinite ease-in-out, zoomin1 16s infinite ease-in-out;
  		animation: crossfade 16s infinite ease-in-out;  
		animation-delay: 8s, 8s;
	}

	.banner-section .img2 {
		transform: scale(1);
		1animation: crossfade 16s infinite ease-in-out, zoomin2 16s infinite ease-in-out;
 		animation: crossfade 16s infinite ease-in-out;
		animation-delay: 0s, 0s;
	 
	}
}


@media (max-width:800px) {

	.banner-section .img1 {
		transform: scale(1.3);
		animation: crossfade 16s infinite ease-in-out, zoomin1-mobile 16s infinite ease-in-out;
		 animation-delay: 8s, 8s;
	}

	.banner-section .img2 {
	  animation: crossfade 16s infinite ease-in-out, zoomin2-mobile 16s infinite ease-in-out;
	  animation-delay: 0s, 0s;
		border:solid 10px red;
	 
	}
}

.register-link2 {
	display:inline-block;position:fixed;right:10%;bottom:10%;width:180px;height:180px;z-index:9999;
}

@media (max-width:800px) {

	.register-link2 {
		right:50px;bottom:50px;width:120px;height:120px;
	}
}

.terix-global-tool-scroll-top {
	display:none;
}


@keyframes crossfade {
  5%   { opacity: 1; }
  45% { opacity: 1; }
  55%  { opacity: 0; }
  100%  { opacity: 0; }
}

/* 부드럽게 줌인하는 애니메이션 */
@keyframes zoomin1 {
  0%   { transform: scale(1); }
  70%  { transform: scale(1.1);  }
  80%  { transform: scale(1); }
}

@keyframes zoomin1-1800 {
  0%   { transform: scale(1);  }
  70%  { transform: scale(1.1);  }
  80%  { transform: scale(1);  }
  
}

@keyframes zoomin1-max {
  0%   { transform: scale(1);  }
  70%  { transform: scale(1.1) ; }
  80%  { transform: scale(1);  }
  
}

@keyframes zoomin1-mobile {
  0%   { transform: scale(1);  }
  70%  { transform: scale(1.1);  }
  80%  { transform: scale(1);  }
  
}

@keyframes zoomin2 {
  0%   { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  70%  { transform: scale(1.4) translate(-10%,-5%) rotateX(10deg); }
  80%  { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  
}

@keyframes zoomin2-mobile {
  0%   { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  70%  { transform: scale(1.4) translate(-50%,-10%) rotateX(30deg); }
  80%  { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  
}

@keyframes zoomin2-1800 {
  0%   { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  70%  { transform: scale(1.4) translate(-30%,-10%) rotateX(20deg); }
  80%  { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  
}

@keyframes zoomin2-max {
  0%   { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  70%  { transform: scale(1.3) translate(0%,-5%) rotateX(5deg); }
  80%  { transform: scale(1.1) translate(0,0) rotateX(0deg); }
  
}


/******************** show-time **********************/
section.another-intro {
	background:#fff;
}

section.another-intro .section-inner {
	text-align:center;
	padding:150px 20px;
}

section.another-intro .first {
	font-size:36px;
	margin-top:5px; 
}

section.another-intro .second {
	margin-top:30px;
	font-size:22px;
}

section.another-intro .third { 
	margin-top:50px;
}

section.another-intro .button.normal {
	text-decoration:none;font-size:18px;color:#fff;background:#89683f;padding:10px 25px;border-radius:10px;
}

section.another-intro img {
	height:80px;
}

@media (max-width:600px) {

	section.another-intro .first {
		font-size:22px;
		margin-top:5px; 
	}

	section.another-intro .second {
		margin-top:22px;
		font-size:16px;	  
	}

	section.another-intro img {
		height:60px;
	}

}

/**************** section .fantastic *****************/
section.fantastic {
	background:#e7e3df;position:relative;
}

section.fantastic .section-inner {
	display:flex;gap:40px;
}

section.fantastic .autoplay-slider {
	overflow:hidden;position:absolute;left:50%;right:0px;top:0px;bottom:0px;
}

section.fantastic .title-area {
	text-align:center;padding-right:80px;
}

section.fantastic .fanta {
	margin-bottom:5px;font-size:22px;font-weight:400;
}

@media (max-width:1200px) {
	section.fantastic .section-inner {
		display:flex;
		flex-direction:column;
		gap:40px;
	}
	
	section.fantastic .autoplay-slider {
		overflow:hidden;position:static;width:100%;height:500px;
	}
	
	section.fantastic .title-area {
		padding-right:0px;
	}
	

	section.fantastic .fanta {
		font-size:16px;
	}
	
	section.fantastic .sub {
		font-size:14px;
	}
	
	section.fantastic .section-inner {
		padding-bottom:60px;
	}
}

/**************** section .location *****************/
section.location {
	background:#fff;
}

section.location .section-inner {
	display:flex;gap:60px;
}

section.location .contact {
	font-size:60px;margin-top:10px;color:#89683f;
}

section.location .leel {
	font-size:20px;display:flex;gap:10px;align-items:center;
}

section.location .points {
	margin-top:15px;display:flex;gap:10px;flex-direction:column;justify-content:space-beween;
}

section.location .main {
	display:flex;flex-direction:column;justify-content:space-between;
}

section.location .map-block {
	margin-top:20px;flex:1;
}

section.location .map-block img.narrow {
	display:none;
}

@media (max-width:800px) {
	section.location .section-inner {
		display:flex;
		gap:40px;
		flex-direction:column;
	}

	section.location .contact {
		font-size:40px;
	}
	
	section.location .leel {
		font-size:16px;
	}
	
	section.location .points {
		margin-top:30px;
	}	
	
	section.location .map-block {
		margin-top:0px;
	}
	
	section.location .main {
		display:flex;flex-direction:column;justify-content:none;
	}
	
	section.location .map-block img.wide {
		display:none;
	}
	
	section.location .map-block img.narrow {
		display:block;
	}
}


.text-animate {
  display1: inline-block;
  font-weight: bold;
  white-space: pre-wrap; /* 줄바꿈 유지 */
}

.text-animate span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  animation: fadeUp 0.5s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




 .flip-icon {
  1position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  1backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  background:#89683f;
	margin-bottom:30px;
}

.flip-button {
  width: 80px;
  height: 80px;
  perspective: 1000px;
  margin-bottom:30px;
}


@media (max-width:600px) {

	.flip-button {
		margin:0 auto;
		margin-bottom:40px;
	}
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 50%;
  cursor: pointer;
}

/*
.flip-button:hover .flip-inner {
  transform: rotateY(180deg);
}
*/


.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
}

/* 앞면 */
.flip-front {
  background-color: #3498db;
}

/* 뒷면 */
.flip-back {
  background-color:#89683f;var(--terix-color-main); #e74c3c;
  transform: rotateX(180deg);
  font-size:40px;
  font-weight:600;
}



.text-animate span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.6s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-animate span {
  animation-play-state: paused;
}




    .shine-text {
      position: relative;
      font-size: 64px;
      font-weight: 800;
      color: #111;  /* 진한 검정 텍스트 */
      padding: 20px 40px;
      overflow: hidden;
    }

    .shine-text::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 50%;
      height: 100%;
      background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.8) 50%,
        rgba(255,255,255,0) 100%
      );
      transform: skewX(-20deg);
      animation: shine 2.5s infinite;
      pointer-events: none;
    }

    @keyframes shine {
      0%   { left: -100%; }
      100% { left: 100%; }
    }




.flip-card {
	--bg:#7d5729; 
	--size:200px;
	--text-main:18px;
 	--text-sub:16px;
	--padding:18px 25px;
	--top:64px;
	--img:45px;
	--gap:10px;
  perspective: 1000px;
  width: var(--size);
  height1: 120px;
 
}

.register-link {
	width:100%;position:absolute;top:280px;display:none;pointer-events: auto;
}

@media (max-width:600px) {
	.flip-card { 
		--size:150px;
		--text-main:15px;
		--text-sub:15px;
 		--padding:18px 15px;
		--top:78px;
 		--img:38px;
		--gap:9px;
	}
}

@media (max-width:600px) {
	.fblock {
	   text-align:center;
	}

 	.flip-icon {
		margin-left:auto;
		margin-right:auto;
	}


	.register-link {
		top:240px;
	}
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg); /* 좌우 플립 */
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  1width: 100%;
  1height: 100%;
  backface-visibility: hidden;
  1display: flex;
  1align-items: center;
  1justify-content: center;
  1font-size: 16px;
}

/* 앞면은 완전 투명 */
.flip-card-front {
  background: transparent;
  color: black;
}

.flip-card-back {
  1background: 1tomato;
  color: white;
  transform: rotateY(180deg);
}


.flip-card-back .back {

 	position:absolute;
	width:var(--size);
	
}

.flip-card-back .back *:first-child {
	width:100%;
	height:160px;
	background:var(--bg);
	border-radius: 10px 10px 0px 0px;
}

.flip-card-back .back *:last-child {
	width:100%;
	height:var(--size);
	border-radius:50%;
	position:absolute;bottom:0px;left:0px;right:0px;top: var(--top);
	background:var(--bg);
}

.flip-card-back .text {
	position:absolute;
	left:0px;top:0px;
	width:var(--size);
	z-index:1;
	left: 0px;right: 0px;
	padding: var(--padding);
	display:flex;
	flex-direction:column;
	gap:var(--gap);

}

.flip-card-back .text *:first-child {
	text-align:center;
 	font-size:var(--text-sub);
}

.flip-card-back .text .hr {
	height:1;
	border-top:solid 1px #eee;
}

.flip-card-back .text *:nth-child(3) {
	color: #ffe800;
	text-align: center;
	font-size: var(--text-main);
}

.flip-card-back .text img {
 	height:var(--img);
 	object-fit:contain;
}

.video-container {
  position: relative;
  display: inline-block;
}

.video-container video {
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button:hover {
  background: rgba(0,0,0,0.8);
}


section.video .section-inner {
	padding:20px !important;
	max-width:1200px !important;

}

@container (max-width:800px) {

	section.video .section-inner {
		padding:0px !important;
		max-width:1200px !important;

	}
}

		 
