/*소개 */
.a_section01 { position: relative; width: 100%; background: url('/images/about/bg01.jpg') repeat center center !important; background-size: cover; }

.a_section01 .swiper-wrapper .swiper-slide img { 
    transition: transform 1.5s ease-in-out;
    transform: scale(1.2);
}
.a_section01 .swiper-wrapper .swiper-slide-active img {
    transform: scale(1);
}
.aboutslide, .aboutslide img { max-height: 700px !important;}


@media (max-width:900px) {
	.slides-nav__index { padding: 0.5rem 1rem !important; }
}
.a_section02 { background: url('/images/about/bg02.jpg') repeat center center; background-size: cover; padding: 4% 0; }
.a_section02 > .title { width: 100%; text-align: center; }
.a_section02 > .title > h1 { transition: 1s ease-in-out; font-size: 2em; color: #393d3c; font-weight: bold; word-break:keep-all; position: relative;}
.a_section02 > .title > h1 .pen { padding: 0.2% 0.5%; background: linear-gradient(to right, rgba(255,255,255,0) 50%, rgba(230,197,174,0.37) 50%); background-size: 200%; transition: 2s; }
.a_section02 > .title > h1 .pen.write { background-position: -100% 0; }
.a_section02 > .title > h1::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	width: 46px;
	height: 2px;
	background-color: #393028;
}
.a_section02 > .title > p { color: #606362; font-weight: 500; padding: 75px 0 4% 0; line-height: 1.5em;}

.a_section02 > .img { width: 94%; display: flex; justify-content: space-around; margin: 0 auto; }
.a_section02 > .img li { width: calc(100% / 3); margin: 0 0.4%; overflow: hidden; }
.a_section02 > .img li > img { width: 100%; vertical-align: top; transition: all 0.5s ease; filter: brightness(0.7);}

/* 각 이미지에 애니메이션 적용 */
.a_section02 > .img li:nth-of-type(1) img {
  animation: bright-change01 6s infinite; /* 전체 주기: 6초 (원하는 속도에 맞게 조정 가능) */
  filter: brightness(1);
}
.a_section02 > .img li:nth-of-type(2) img {
  animation: bright-change02 6s infinite;
}
.a_section02 > .img li:nth-of-type(3) img {
  animation: bright-change03 6s infinite;
}

/* 첫 번째 이미지: 처음 1/3 동안 밝고, 이후 부드럽게 어두워짐 */
@keyframes bright-change01 {
  0% { filter: brightness(1); }
  25% { filter: brightness(1); }
  35% { filter: brightness(0.7); } /* 부드럽게 전환 */
  100% { filter: brightness(0.7); }
}

/* 두 번째 이미지: 1/3 이후부터 밝아지고 2/3 지나면 다시 어두워짐 */
@keyframes bright-change02 {
  0% { filter: brightness(0.7); }
  30% { filter: brightness(0.7); }
  40% { filter: brightness(1); }  /* 서서히 밝아짐 */
  60% { filter: brightness(1); }
  70% { filter: brightness(0.7); } /* 서서히 어두워짐 */
  100% { filter: brightness(0.7); }
}

/* 세 번째 이미지: 2/3부터 밝아지고, 끝날 때 다시 어두워짐 */
@keyframes bright-change03 {
  0% { filter: brightness(0.7); }
  60% { filter: brightness(0.7); }
  70% { filter: brightness(1); }  /* 서서히 밝아짐 */
  90% { filter: brightness(1); }
  100% { filter: brightness(0.7); } /* 마지막에 다시 어두워짐 */
}

@media (max-width:900px) {
	.a_section02 { background: url('/images/about/bg02.jpg') repeat center center; background-size: cover; padding: 12.8% 0; }
	.a_section02 > .title > h1 { transition: 1s ease-in-out; font-size: 1.3em; color: #393d3c; font-weight: bold; word-break: keep-all; }
	.a_section02 > .title > h1::after {
		bottom: -30px;
		width: 43px;
		height: 1px;
	}
	.a_section02 > .title > p { 
		color: #606362; font-weight: 500; padding: 55px 0 5% 0; 
		font-size: 0.8em; line-height: 1.5em; 
	}
	.a_section02 > .img { width: 90%; display: flex; justify-content: space-around; margin: 0 auto; flex-wrap: wrap; }
	.a_section02 > .img li { width: 100% !important; margin: 0 0 2% 0; overflow: hidden; }
	.a_section02 > .img li:last-child { display: none;} /* 3번째 이미지 미노출 */

	.a_section02 > .img li:nth-of-type(1) img {
		animation: bright-change-m01 4s infinite;
		filter: brightness(1);
	}

	.a_section02 > .img li:nth-of-type(2) img {
		animation: bright-change-m02 4s infinite;
	}

	/* 모바일용: 1번과 2번이 번갈아 밝기 전환 */
	@keyframes bright-change-m01 {
		0% { filter: brightness(1); }
		40% { filter: brightness(1); }
		50% { filter: brightness(0.7); } /* 서서히 어두워짐 */
		100% { filter: brightness(0.7); }
	}

	@keyframes bright-change-m02 {
		0% { filter: brightness(0.7); }
		40% { filter: brightness(0.7); }
		50% { filter: brightness(1); } /* 서서히 밝아짐 */
		90% { filter: brightness(1); }
		100% { filter: brightness(0.7); }
	}
}

.a_section03 { position: relative; }
.a_section03 > .txt p { 
	position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
	color: #fff; font-size: 30px; line-height: 44px; letter-spacing: 1.5px; 
}
.a_section03 .map1 {
	position: absolute;
	top: 30%;
	left: 50%;
	width: 45%;
	transform: translateX(-50%);
	margin: 0 auto;
}
.a_section03 .map1 #map {
    width: 100%;
    margin: 0 auto;
    height: 24vw;
    margin-bottom: 2%;
}
.a_section03 > .txt h2 {
	 position: absolute; 
	 width: 100%; 
	 text-align: center; 
	 top: 9%; left: 0; 
	 font-size: 3.8em; color: #fff;
	 font-weight: 400;
	 font-family: 'gowun-dodum';
	-webkit-text-fill-color: transparent;
	color: transparent;
	-webkit-text-stroke: 1px #FFF;
	background: linear-gradient(90deg, #AF4600 0%, #AF4600 100%);
	background-size: 0% 100%;
	background-repeat: no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/*스페셜 하단 배너*/
.a_section03 .spbanner_txt {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: max-content;
}
.a_section03 .spbanner_txt h1 {
	font-size: 69px;
	line-height: 80px;
	color: #fff;
	text-align: center;
	font-weight: 400;
	font-family: 'gowun-dodum';
	-webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 1px #FFF;
    background: linear-gradient(90deg, #AF4600 0%, #AF4600 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width:1200px){
	.a_section03 > .txt h2 { font-size: 2.8em; }
}
@media (max-width:900px) {
	.a_section03 > .txt p { 
		/* bottom: 4%;  */
		width: max-content;
		font-size: 16px; line-height: 24px;
	}
	.a_section03 > .txt h2 { top: 7%; font-size: 2.5em; line-height: 1.1em;  }
	.a_section03 .map1 {
		top: 32%;
		left: 51%;
		width: 60%;
	}
	.a_section03 .map1 #map {
		height: 62vw;
	}
	.map_copyright {
		display: none;
	}
	/*스페셜 하단 배너*/
	.a_section03 .spbanner_txt h1 {
		font-size: 42px;
		line-height: 56px;
	}
}
@media(max-width:400px){
	.a_section03 > .txt h2 { font-size: 2.2em; line-height: 1.1em;  }
	.a_section03 > .txt p { 
		font-size: 14px; line-height: 24px;
	}
	.a_section03 .spbanner_txt h1 {
		font-size: 30px;
		line-height: 50px;
	}
}


/* *,
*::after,
*::before {
	box-sizing: border-box;
} */

:root {
	font-size: 18px;
}

body {
	margin: 0;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}
.slides__caption-link {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	position: relative;
}

.slides__caption-link::after {
	content: '';
	position: absolute;
	width: 50%;
	height: 1px;
	background: currentColor;
	left: 0;
	bottom: -25%;
	transform: scale3d(0,1,1);
	opacity: 0;
	transform-origin: 0% 50%;
	transition: transform 0.3s, opacity 0s 0.3s;
}

.slides__caption-link:hover::after {
	opacity: 1;
	transition: transform 0.3s;
	transform: scale3d(1,1,1);
	background: #fff;
	color: #fff;
}

.slides__caption-link:hover {
	/* color: var(--color-link-hover); */
	color: #fff;
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
.slides__caption-link:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

.slides__caption-link:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

.slides__caption-link:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.frame {
	padding: 3rem 5vw;
	text-align: center;
	position: relative;
	z-index: 1000;
	color: var(--color-frame);
}

.frame a {
	color: var(--color-frame);
}

.frame__title {
	font-size: 1.25rem;
	margin: 0 0 1rem;
}

.frame__title span {
	position: absolute;
	pointer-events: none;
	opacity: 0;
}

.frame__links {
	display: inline;
}

.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
	margin-right: 1rem;
}

.frame__demos {
	margin: 1rem 0;
}

a.frame__demo--current,
a.frame__demo--current:hover {
	color: var(--color-text);
}

.slideshow {
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	overflow: hidden;
}

.slide {
	margin: 0;
}

.slide,
.slide__img-wrap,
.slide__img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.js .slide {
	opacity: 0;
	pointer-events: none;
}

.js .slide--current {
	opacity: 1;
	pointer-events: auto;
}

.slide__img-wrap {
	will-change: transform;
	overflow: hidden;
}

.slide__img {
	background-size: cover;
	will-change: transform;
	-webkit-backspace-visibility: hidden;
}

.slide__caption {
	position: relative;
	padding: 0 10vw;
	cursor: default;
	width: 100%;
}

.slides__caption-headline {
	font-size: 6.5vw;
	/*font-size: clamp(2rem,6.5vw,6rem);*/
	font-size: clamp(2rem,3vw,6rem);
	line-height: 0.9;
	margin: 0;
	text-transform: uppercase;
	font-weight: normal;
}

.text-row {
	position: relative;
	overflow: hidden;
	display: block;
	white-space: nowrap;
}

.text-row > span {
	display: block;
	position: relative;
	padding: 0.5rem 0;
	font-family: 'poppins';
	color: #fff;

	text-shadow: 0 0 2px #929292;
}

.slides__caption-headline {
	font-weight: 300;
}

.slides__caption-headline em,
.slides__caption-headline strong {
	/* font-family: freight-big-pro, serif; */
	font-size: 6.75vw;
	/*font-size: clamp(2rem,7vw,6rem);*/
	font-size: clamp(2rem, 4vw, 6rem);
	color: #fff;
}

.slides__caption-headline em {
	font-weight: 400;
	font-style: italic;
}

.slides__caption-headline strong {
	font-weight: 400;
	font-family: 'Arita-buri-SemiBold';
}

.slides__caption-link {
	display: inline-block;
	margin-top: 1rem;
	text-indent: 0.2vw;
	font-size: 1.75rem;
	font-weight: 300;
	font-size: clamp(1rem, 5vw, 1.75rem);
	font-family: 'poppins';
	color: #fff;
}

.slides-nav {
	display: flex;
	align-items: center;
	justify-content: center;

	position: absolute;
	bottom: 5%;
	left: 10%;
	z-index: 10;
}

.slides-nav__button {
	display: block;
	cursor: pointer;
	background: none;
	border: 0;
	width: 55px;
	height: 24px;
	padding: 0;
	margin: 0 0.75rem;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.slides-nav__button:focus {
	outline: none;
}

.slides-nav svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #fff;
}

.slides-nav__index {
	margin-left: 2rem;
	white-space: nowrap;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 50%;
	padding: 1rem 1.5rem;
	text-align: center;
	display: flex;
	align-items: center;
}

.slides-nav__index > span {
	width: 2rem;
}

.slides-nav__index-current {
	position: relative;
	overflow: hidden;
}

.slides-nav__index-current span {
	display: inline-block;
}

@media screen and (min-width: 53em) {
	.frame {
		position: fixed;
		text-align: left;
		z-index: 100;
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 100%;
		max-width: none;
		height: 100vh;
		padding: 2rem 3.5rem;
		pointer-events: none;
		grid-template-columns: 25% 50% 25%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 'title links info'
							'... ... ...'
							'demos demos nav';
	}
	.frame__title {
		margin: 0;
		grid-area: title;
	}
	.frame__demos {
		margin: 0;
		grid-area: demos;
		justify-self: start;
		align-self: end;
	}
	.frame__links {
		grid-area: links;
		padding: 0;
		justify-self: center;
	}
	.frame__info {
		grid-area: info;
		justify-self: end;
   		align-self: start;
	}
	.slides-nav {
		grid-area: nav;
		justify-self: end;
		align-self: end;
	}
	.frame a,
	.frame button {
		pointer-events: auto;
	}
	.slideshow {
		height: 100vh;
	}
	.slides-nav {
		margin-bottom: -1rem;
	}
	.slides-nav__index {
		margin-right: -2rem;
	}
	.slideshow {
		background: var(--color-bg);
	}

}
