
/* ------------------------------------------------------------------------- */
/* 고려청자 이야기
/* ------------------------------------------------------------------------- */
/* ------ common ------- */
main.fullpage {
  width: 100%; height: 100dvh; 
  overflow: hidden;
  position: relative;
}

/* 챕터 바 */
.chap-bar {
  width: 100%; height: 8rem; padding-inline: 2.8rem;
  display: flex; align-items: center; justify-content: flex-start; gap: 1.2rem;
  font-family: 'Arita'; font-weight: 700;
  background-color: transparent;
  position: fixed; left: 0; top: 0%; z-index: 10;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.chap-bar.show {opacity: 1; visibility: visible;}
.chap-label {
  padding: 0.8rem 1rem; 
  font-size: 1.6rem;
  background-color: var(--label-bg); color: var(--WT);
}
.chap-bar .js-chap-tit {font-size: 2rem; color: var(--BK); transition: color 0.15s ease;}

.chap-bar[data-bg="hero-intro"] .js-chap-tit, 
.chap-bar[data-bg^="ch"][data-bg$="-hero"] .js-chap-tit,
.chap-bar[data-bg="dark"] .js-chap-tit { color: var(--WT); }

/* 프로그래스 바 */
.swiper.gc .swiper-pagination {
  width: 100%; height: 8px;
  position: fixed !important; top: auto !important; right: auto !important;
  left: 0; bottom: 8px; z-index: 50;
}
.swiper.gc .swiper-pagination-progressbar {
  position: relative !important;
  width: 100% !important; height: 100% !important;
  transform: none !important;
  background-color: rgba(0, 0, 0, 0.2);
}
.swiper.gc .swiper-pagination-progressbar-fill {
  background-color: var(--GN-60);
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: var(--progress, 0%) !important;
  height: 100% !important;
  transform: none !important;
  transition: width 700ms ease;
}

/* 다음 버튼 */
.scroll-arrow {
  width: 6rem; height: 6rem;
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  z-index: 10;
  animation: down 1s ease-in-out infinite;
}
.scroll-arrow.hide {opacity: 0; visibility: hidden;}
.scroll-arrow:hover {animation-play-state: paused;}

.scroll-arrow .txt {font: 700 1.4rem / 1.2 "Arita"; color: var(--WT);}
.scroll-arrow .arrow {
  display: inline-block;
  width: 2.4rem; height: 2.4rem;
  border-left: 4px solid var(--WT); border-bottom: 4px solid var(--WT);
  transform: rotate(-45deg); opacity: 1; border-color: var(--WT);
  transition: opacity 0.15s ease, border-color 0.2s ease;
}
.scroll-arrow[data-bg="light"] .arrow,
.scroll-arrow[data-bg="light"] .txt {border-color: var(--BK); color: var(--BK);}



@keyframes down {
  0%   { transform: translateX(-50%) translateY(0); opacity: 0.6;}
  50%  { transform: translateX(-50%) translateY(8px); opacity: 1;}
  100% { transform: translateX(-50%) translateY(0); opacity: 0.7;}
}


/*------ button -------*/
/* 버튼 정렬 */
.icons-wrap {display: flex; align-items: center; justify-content: center; gap: 1.2rem;}
.btn.more {margin-top: 0;}

.ico.share {background-image: url(../img/ico_share.svg);}
.ico.list {background-image: url(../img/ico_list.svg); border-color: var(--BK); background-color: var(--BK);}
.ico.close {background-image: url(../img/ico_close_WT.svg); border-color: var(--BK); background-color: var(--BK);}
.ico.BK {background-color: var(--BK); color: var(--WT); padding: 1.25rem 2.8rem;}

.ico:hover {border-color: var(--BK);}
.ico.BK:hover,
.ico.list:hover {background-color: var(--BK-90); border-color: var(--BK-90);}


/*------ 전체메뉴 ------*/
.util-btns {
  display: flex; flex-direction: column; gap: 1.2rem;
  position: absolute; right: 2rem; top: 2rem; z-index: 100;
  transition: opacity 0.3s ease;
}

aside {
  width: 100vw; height: 100dvh;
  background-image: url(../img/gc_hero_bg.png); background-repeat: no-repeat; 
  background-position: center; background-size: cover;
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
aside.is-open {opacity: 1; visibility: visible;}

aside .ico.close {position: absolute; right: 2rem; top: 2rem;}
aside nav {width: 80rem; display: flex; align-items: center; justify-content: center;}
aside nav .dep1 {width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4.8rem;}
aside nav .dep1 span {display: inline-block;}
aside nav .dep1 > li > a {
  width: 100%; height: 6rem; 
  display: flex; align-items: center;
  font: 700 3.2rem / 1.3 "Arita"; color: var(--WT); 
  border-bottom: 1px solid var(--WT-a20); margin-block: 0.8rem;
}
aside nav .dep2 {margin-top: 1.2rem;}
aside nav .dep2 li {height: 5rem; display: flex; align-items: center;}
aside nav .dep2 li a {font: 700 2rem / 1.3 'Arita'; color: var(--GN-20);}




/*------ 타입별 배경  ------*/
.swiper.gc,
.swiper.gc > .swiper-wrapper,
.swiper.gc > .swiper-wrapper > .swiper-slide {width: 100% !important; height: 100dvh !important; z-index: 2; cursor: default;}
.swiper.gc > .swiper-wrapper .swiper-slide {position: relative; overflow: hidden; padding: 0 12rem;}
.swiper.gc > .swiper-wrapper .swiper-slide::before { content: '';
  position: absolute; inset: 0; z-index: -1;
  background-repeat: no-repeat; background-size: cover;background-position: center;
  transition: transform 7s ease-in-out;
}
[data-bg="hero-intro"]::before {background-image: url(../img/gc_hero_bg.png);}
[data-bg="light"]::before {background-image: url(../img/gc_con_bg01.png);}
[data-bg="dark"]::before {background-image: url(../img/gc_con_bg02.png);}
[data-bg="ch1-hero"]::before {background-image: url(../img/gc_ch1_hero.png);}
[data-bg="ch2-hero"]::before {background-image: url(../img/gc_ch2_hero.png);}
[data-bg="ch3-hero"]::before {background-image: url(../img/gc_ch3_hero.png);}


/*------ 히어로 인트로  ------*/
.swiper-slide.gc-hero  {
  width: 100%; height: 100dvh; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.swiper-slide.gc-hero .obje {position: absolute;}
.swiper-slide.gc-hero .obje.lt {width: 48rem; left: -6rem; top: -23rem;}
.swiper-slide.gc-hero .obje.rb {width: 39.5rem; height: 61rem; right: -5rem; bottom: -20rem;}
.swiper-slide.gc-hero .obje img {width: 100%; height: 100%;}
.swiper-slide.gc-hero .gc-head {
  max-width: 92.4rem; padding: 3rem;
  border-top: 2px solid var(--GN-80); border-bottom: 2px solid var(--GN-80);
}  
.swiper-slide.gc-hero .gc-head h1 {
  font-family: 'Arita'; font-size: 10rem; font-weight: 700; line-height: 1.4; 
  color: var(--GN-60); letter-spacing: -0.03em;
}


/* ------------------------------------------------------------------------- */
/* ch1
/* ------------------------------------------------------------------------- */
.swiper-slide-active.ch-hero::before {transform: scale(1.1);}
.ch-hero {display: flex; align-items: center; justify-content: center;}

/* 헤더 */
.ch-hero .gc-head {margin-top: -5rem;}
.ch-hero .gc-head h2 {
  font-family: 'Arita'; font-size: 8rem; font-weight: 700; line-height: 1.3; 
  letter-spacing: -0.01em; color: var(--WT);
  text-decoration: underline var(--WT-a20) 2px; text-underline-offset: 2.4rem;
}
.ch-hero .gc-head:has(span) {display: flex; flex-direction: column; align-items: flex-start; gap: 2rem;}
.ch-hero .gc-head .gc-chap-label {
  padding: 0.8rem 1.6rem;
  font: 700 3.2rem / 1.4 'Arita'; color: var(--WT);
  background-color: var(--BK-a30);
}

/* 컨텐츠 */
.ch-con {
  position: relative; padding: 0 12rem;
  display: flex; align-items: center; justify-content: center;
}
.ch-con .obje {position: absolute; z-index: -1;}
.ch-con .obje.lb {left: 8rem; bottom: -9.8rem;}
.ch-con .obje.rt {right: 8rem; top: -7rem;}
.ch-con .desc-wrap {max-width: 84rem; font: 500 2.4rem / 1.6 'Pretendard'; color: var(--BK-95); letter-spacing: -0.1rem; position: relative;}
.ch-con .desc-wrap::before {content: ''; display: inline-block;
  max-width: 22.2rem; width: 100%; height: 19rem;
  background-image: url(../img/gc_con_bg00.png); background-repeat: no-repeat; 
  background-position: center; background-size: contain;
  position: absolute; z-index: -1; top: -6rem; left: -6rem;
}
.ch-con .desc-wrap.none::before {display: none;}
.ch-con .desc-wrap p.WT {color:  var(--WT);}
.ch-con .desc-wrap p + p {margin-top: 3.6rem;}
.ch-con .desc-wrap .desc-label {font: 400 1.8rem / 1.5 "Pretendard"; color: var(--BK-70);}

.ch-con .item-wrap { width: 100%; display: flex; align-items: center; justify-content: center; gap: 4rem;}
.ch-con .item-wrap .item { 
  display: flex; flex-direction: column; align-items: center; justify-content: center; 
  gap: 2.4rem; flex: 1 1 0; min-width: 0;
  cursor: pointer;
}
.ch-con.ch1 .item-wrap .item {cursor: default;}
.ch-con .item-wrap .item .bg {content: ''; display: inline-flex;
  width: 100%; aspect-ratio: 1/1; max-width: 39rem;
  display: flex; align-items: center; justify-content: center;
  background-image: url(../img/gc_ch1_item00.png); background-repeat: no-repeat; 
  background-size: cover; background-position: center;
  box-shadow: 3.4rem 6.8rem 14rem 0 rgba(0, 0, 0, 0.3);
}
.ch-con .item-wrap .item .item-name{font: 500 2.4rem / 1.5 'Pretendard'; color: var(--WT); text-align: center;}


/* ------------------------------------------------------------------------- */
/* chap2
/* ------------------------------------------------------------------------- */
.ch-con.ch2 .obje.rt {right: 12rem; top: -19rem;}
.ch-con.ch2 .obje.lb {left: 12rem; bottom: -19rem;}

.ch-con.ch2 .item-wrap {gap: 0;}
.ch-con.ch2 .item-wrap .item {position: relative; z-index: 1; opacity: 1; transition: 0.2s ease;}
.ch-con.ch2 .item-wrap .item-tit {font: 700 6rem / 1 "Pretendard"; color: var(--BK-a30); transition: color 0.4s linear;}
.ch-con.ch2 .item-wrap .item img {transition: transform 0.5s ease;}
.ch-con.ch2 .item-wrap .item .btn.more {margin-top: 0; opacity: 0; visibility: hidden; transition: opacity 0.2s ease;}

.ch-con.ch2 .item-wrap .item:hover {z-index: 100;}
.ch-con.ch2 .item-wrap .item:hover > img {transform: scale(1.1);}
.ch-con.ch2 .item-wrap .item:hover .item-tit {color: var(--WT);}
.ch-con.ch2 .item-wrap .item:hover .btn.more {opacity: 1; visibility: visible;}

/* item aos */
.item-wrap[data-aos="zoom-in"] {
  opacity: 0; transform: scale(0.9); 
  transition-property: opacity, transform;
}
.item-wrap[data-aos="zoom-in"].aos-animate {opacity: 1;  transform: scale(1); position: relative; z-index: 2;}


/* 딤 + 블러 */
.ch-con.ch2::after {content: '';
  position: absolute; inset: 0; z-index: 1;
  background-color: var(--BK-a50); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, blur 0.2s ease;
}
.ch-con.ch2:has(.item:hover)::after {opacity: 1;} 
.ch-con.ch2 .item-wrap:has(.item:hover) .item {opacity: 0.4; filter: blur(2px);}
.ch-con.ch2 .item-wrap:has(.item:hover) .item:hover {opacity: 1; filter: blur(0);}
.ch-con.ch2 .item-wrap .item:hover .chap-bar {z-index: -1;}

/* 챕터바, 슬라이드 버튼 */
main.fullpage:has(.ch-con.ch2 .item-wrap .item:hover) .chap-bar,
main.fullpage:has(.ch-con.ch2 .item-wrap .item:hover) .scroll-arrow {
  opacity: 0.3; filter: blur(2px); transition: opacity 0.3s ease, filter 0.3s ease;
}

.obj-wrap {max-width: 90rem; width: 100%; height: 58.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5rem;}
.obje-wrap.ty-row {display: flex; align-items: flex-start; gap: 4rem;}
.obj-wrap .obj-imgs {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative;}
.obj-wrap .obj-imgs img {position: absolute; top: 50%; transform: translateY(-50%); transition-property: left, right, opacity, transform;}
.obj-wrap .obj-imgs img:first-child {filter: drop-shadow(0 4px 40px rgba(0,0,0,0.6)); left: 50%;  transform: translate(-50%, -50%);}
.obj-wrap .obj-imgs img:last-child {opacity: 0.3; right: 50%;  transform: translate(50%, -50%);}

.obj-wrap .obj-imgs img:first-child.aos-animate {left: 20%;}
.obj-wrap .obj-imgs img:last-child.aos-animate {right: 20%; opacity: 1;}



/* ------------------------------------------------------------------------- */
/* chap3
/* ------------------------------------------------------------------------- */
.ch-con.ch3 .obje.lb  {left: -12rem; bottom: -26rem;}
.ch-con.ch3 .obje.rt  {right: -23rem;}
.ch-con.ch3 .fxStart.w1200 {gap: 8rem; width: 120rem;}
.ch-con.ch3 .desc-wrap > * + * {margin-top: 2rem;}

/* 컨텐츠 */
.ch-con.ch3 .item-wrap.col-3 {max-width: 168rem; height: 60rem; display: grid; grid-template-columns: repeat(3, 1fr);}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row {flex-direction: row;}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row img {transition: transform 0.5s ease;}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row .item-name {text-align: left; margin-top: 6.4rem;}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row .btn.more {margin-top: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row:hover {z-index: 100;}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row:hover > img {transform: scale(1.1);}
.ch-con.ch3 .item-wrap.col-3 .item.ty-row:hover .btn.more {opacity: 1; visibility: visible;}

/* 딤 + 블러 */
.ch-con.ch3::after {content: '';
  position: absolute; inset: 0; z-index: -1;
  background-color: var(--BK-a50); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, blur 0.2s ease;
}
.ch-con.ch3:has(.item:hover)::after {opacity: 1;} 
.ch-con.ch3 .item-wrap:has(.item:hover) .item {opacity: 0.4; filter: blur(2px);}
.ch-con.ch3 .item-wrap:has(.item:hover) .item:hover {opacity: 1; filter: blur(0);}

/* 챕터바, 슬라이드 버튼 */
main.fullpage:has(.ch-con.ch3 .item-wrap .item:hover) .chap-bar,
main.fullpage:has(.ch-con.ch3 .item-wrap .item:hover) .scroll-arrow {
  opacity: 0.3; filter: blur(2px); transition: opacity 0.3s ease, filter 0.3s ease;
}

.ch-con.ch3 .desc-wrap.fx5 {flex: 5;}
.ch-con.ch3 .desc-wrap.fx6 {flex: 6.2;}
.ch-con.ch3 .desc-wrap.fx6 .btn.more.BK {margin-top: 0.8rem;}
.ch-con.ch3 .obje-wrap.bg {
  height: 52rem; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  background-image: url(../img/ch3_objbg.png); background-repeat: no-repeat; background-size: 62rem 52rem;
}
.ch-con.ch3 .obje-wrap.bg .obj-label {padding-bottom: 4rem; font: 500 1.8rem / 1.4 "pretendard"; color: var(--BK-70); opacity: 0; transition: opacity 1s ease 1.4s;}
.ch-con.ch3 .obje-wrap.bg .obj-label[data-aos="fade-in"].aos-animate {opacity: 1;}
.ch-con.ch3 .obje-wrap.bg .obj-imgs {width: 32rem; height: 33.2rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.ch-con.ch3 .obje-wrap.bg .obj-imgs img {
  width: 32rem; height: 14.6rem;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition-property: top, opacity, transform;
}
.ch-con.ch3 .obje-wrap.bg .obj-imgs img:last-child {opacity: 0.3;}
.ch-con.ch3 .obje-wrap.bg .obj-imgs img:first-child.aos-animate {top: 20%;}
.ch-con.ch3 .obje-wrap.bg .obj-imgs img:last-child.aos-animate {top: 78%; opacity: 1;}

.ch-con.ch3 .desc-wrap .icons-wrap.mt40 {margin-top: 4rem;}


/* ------ ch3 서브슬라이드 ------ */
.ch-con.ch3 .w1200:has(.marquee-wrap) {width: 120rem; height: 58rem; gap: 10.8rem; overflow: visible; clip-path: inset(0 -100vw 0 0);}
.ch-con.ch3 .marquee {display: flex; align-items: center; animation: marquee 40s linear infinite;}
.ch-con.ch3 .marquee .marquee-item {width: 58.4rem;}
.ch-con.ch3 .marquee-item img {border: 2px solid transparent; transition: border 0.2s ease, box-shadow 0.5s ease;}
.ch-con.ch3 .marquee-item .btn.more {margin-top: 2rem;}

.ch-con.ch3 .marquee:hover {animation-play-state: paused;}
.ch-con.ch3 .marquee-item:hover img {filter: brightness(1.02); border: 2px solid var(--WT); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 삭제 예정 */
/* .swiper.gc .swiper.ch3-sub {
  width: 100%; min-width: 0 !important;
  position: relative;
  overflow: visible !important; 
  clip-path: inset(0 -100vw 0 0);
}
.swiper-slide-active .swiper.ch3-sub .swiper-wrapper {height: 39.6rem;}
.swiper-slide-active .swiper.ch3-sub .swiper-wrapper,
.swiper-slide-active .swiper.ch3-sub .swiper-slide {pointer-events: auto !important;}

.swiper.ch3-sub .swiper-slide {padding: 0 !important; width: 58.4rem !important; height: auto;}
.swiper.ch3-sub .swiper-slide img {border: 2px solid transparent; transition: border 0.2s ease, box-shadow 0.5s ease;}
.swiper.ch3-sub .swiper-slide:hover img {border: 2px solid var(--WT); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);} 
.swiper.ch3-sub .swiper-slide .btn.more {margin-top: 2rem;}

.swiper.ch3-sub .swiper-controls {
  width: 100%; height: 3.6rem; 
  display: flex; align-items: center;
  position: absolute; bottom: 0; z-index: 20; 
  color: var(--BK-a50);
}
.swiper.ch3-sub .swiper-controls .swiper-counter {padding-right: 1.6rem;}
.swiper.ch3-sub .swiper-controls .swiper-counter em {color: var(--BK-95);}
.swiper.ch3-sub .swiper-controls button {opacity: 0.5; transition: opacity 0.2s ease; filter: invert(1);}
.swiper.ch3-sub .swiper-controls button:hover, 
.swiper.ch3-sub .swiper-controls button:active {opacity: 1;}
.swiper.ch3-sub .swiper-controls button:disabled,
.swiper.ch3-sub .swiper-controls button:disabled:hover,
.swiper.ch3-sub .swiper-controls button:disabled:active {opacity: 0.3; cursor: not-allowed; pointer-events: none;} */