@import url("common.css");

/* 공통 */
.more_btn .before_icon {display: flex; color: var(--white); transition: all 0.6s ease;}
.more_btn .before_icon::before {content: "\e941"; font-size: 24px;}
.more_btn:hover .before_icon {color: var(--black);}
.more_btn .btn_txt {text-transform: uppercase;}

.out_of_visual {margin-top: -100px}

/* Visual */
#visual {position: relative; width: 100%; height: calc(var(--vh) + 100px); --visual-autoplay-ms: 6000ms;}
#visual .visual_in {height: 100%;}
#visual .v_bg {width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1;}
#visual .v_bg::before {content: ""; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: linear-gradient(180deg, rgba(55, 50, 45, 0.00) 59.32%, #37322D 100%); z-index: 1100;}
#visual .v_bg .bg {width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; background-size: cover; background-position: center; background-repeat: no-repeat; transform: scale(1.1); transition: transform 3s ease;}

#visual .v_txt {position: absolute; z-index: 2; top: 45%; left: 50%; transform: translate(-50%, -50%); padding: 0 80px;}
#visual .v_txt h2 {margin: 15px 0 30px;}
#visual .v_txt .fs20 {color: rgba(255, 255, 255, 0.7);}

#visual .v_txt > * {transform: translateY(100px); opacity: 0; transition: all 1.5s ease;}

#visual .v_txt p.fs22 {transition-delay: 0.3s;}
#visual .v_txt h2 {transition-delay: 0.6s;}
#visual .v_txt p.fs20 {transition-delay: 0.9s; text-wrap: balance;}

#visual .roll.action .v_bg .bg {transform: scale(1);}
#visual .roll.action .v_txt > * {transform: translateY(0); opacity: 1;}

#visual .slick-arrow {opacity: 0.3; display: flex; color: var(--white); font-size: 0; top: 45%; transform: translateY(-50%); position: absolute; z-index: 1100; transition: all 0.6s ease;}
#visual .slick-arrow:hover {opacity: 1;}
#visual .slick-prev {left: calc((100% - 1690px) / 2);}
#visual .slick-next {right: calc((100% - 1690px) / 2);}
#visual .slick-arrow::before {font-size: 60px; line-height: 1; font-weight: 400; font-family: var(--icon);}
#visual .slick-prev::before {content: "\e2ea";}
#visual .slick-next::before {content: "\e5e1";}

#visual .visual_util {position: absolute; bottom: 140px; left: 50%; transform: translateX(-50%); z-index: 1000;}

#visual .visual_pager.visual_pager_mo {display: none;}
#visual .visual_pager {gap: 15px; display: flex; align-items: center; justify-content: center; margin: 0 0 30px;}
#visual .visual_pager li a  {opacity: 0.5; color: var(--white); display: flex; gap: 10px; align-items: center;}
#visual .visual_pager li a .pager_txt {letter-spacing: 0.02em;}
#visual .visual_pager li a .pager_progress {width: 80px; height: 1px; background-color: rgba(255, 255, 255, 0.2); transition: width 0.6s ease; width: 0; position: relative;}
#visual .visual_pager li a .pager_progress::before {content: ""; position: absolute; width: 100%; height: 100%; left: 0; top: 0; background-color: var(--white); transform: scaleX(0); transform-origin: left center;}
#visual .visual_pager li.active a .pager_progress.progress-run::before {transform: scaleX(1); transition: transform var(--visual-autoplay-ms) linear;}

#visual .visual_pager li.active a{opacity: 1;}
#visual .visual_pager li.active a .pager_progress {width: 80px;}

#visual .scr_down {width: 30px; height: 50px; display: flex; margin: 0 auto; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 5px; color: var(--white); justify-content: center; align-items: flex-start;}
#visual .scr_down:hover {border-color: var(--white);}
#visual .scr_down::before {content: "\ead0"; font-size: 20px; animation: scr_down 1.5s ease infinite;}

@keyframes scr_down {
    0% {transform: translateY(0);}
    30% {transform: translateY(20px);}
    60% {transform: translateY(20px); opacity: 1;}
    100% {transform: translateY(50px); opacity: 0;}
}

/* About */
#about {overflow: hidden;}
#about .about_in {display: flex; gap: 0 105px; justify-content: space-between;}
#about .tbox {width: 45%; max-width: 705px; flex-shrink: 0; position: relative; display: flex; justify-content: center; flex-direction: column;}
#about .tbox::after {content: ""; position: absolute; bottom: 0; right: -40px; width: 197px; aspect-ratio: 197 / 183; background: url('/img/about_symbol.svg') no-repeat center center / cover;}
#about .tbox h2 {margin: 0 0 25px;}
#about .tbox p.fs22 {margin: 0 0 25px;}
#about .tbox p.fs18 {margin: 0 0 50px; color: var(--white);}
#about .imgbox {flex: 1; display: flex;}
#about .imgbox img {width: 100%; object-fit: cover;}

/* Product */
#product {position: relative;}
#product .product_list {position: relative; z-index: 2;}
#product .product_list li {border-right: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.6s ease; position: relative; background: rgba(0, 0, 0, 0);}
#product .product_list li:last-child {border-right: none;}
#product .product_list a {display: flex; height: 600px; flex-direction: column; justify-content: center; align-items: center;}
#product .product_list h3 {margin: 0 0 10px; font-size: 2.778rem; line-height: 140%; letter-spacing: 0.02em;}
#product .product_list h3,
#product .product_list p.fs22 {transition: all 0.6s ease;}
#product .product_list .card_txt {position: relative; width: 100%;}
#product .product_list .before_hover_area {transition: all 0.6s ease; width: 100%;}
#product .product_list .hover_area {transition: all 0.6s ease; position: absolute; top: 100%; width: 100%; padding-top: 5px; opacity: 0;}
#product .product_list .hover_area p.fs18 {color: rgba(255, 255, 255, 0.7); margin: 0 0 30px;}
#product .product_list .hover_area .plus {width: 60px; aspect-ratio: 1 / 1; border: 1px solid var(--white); display: flex; align-items: center; justify-content: center; border-radius: 5px; margin: 0 auto; color: var(--white);}
#product .product_list .hover_area .plus::before {content: "\f3dd";}
#product .product_bg_wrap {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
#product .product_bg_item {width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; background-size: cover; background-position: center; background-repeat: no-repeat;}
#product .product_bg_item.active {opacity: 1;}
#product .product_list > li:hover {opacity: 1; background: rgba(0, 0, 0, .25);}
#product .product_list > li:hover .hover_area {opacity: 1; top: 50%;}
#product .product_list > li:hover .before_hover_area {transform: translateY(-50%);}
#product .product_list:hover > li:not(.active) {opacity: 0.5;}
#product .product_list:hover > li:not(.active) h3 {font-size: 2.222rem;}
#product .product_list:hover > li:not(.active) p.fs22 {font-size: 1rem;}

/* Gallery */
#gallery {overflow: hidden;}
#gallery .gallery_top {display: flex; justify-content: space-between; align-items: flex-end;}
#gallery .gallery_top .tbox h2 {margin: 0 0 15px;}
#gallery .gallery_top .tbox p.fs20 {color:var(--white);}

#gallery .swiper-slide {width: 510px; aspect-ratio: 510 / 680; transition: all 0.4s ease; margin: 0 15px; background-color: var(--black);}
#gallery .swiper-slide:not(.swiper-slide-active) img {opacity: 0.9; mix-blend-mode: luminosity;}
#gallery .swiper-slide:not(.swiper-slide-active) {pointer-events: none;}
#gallery .swiper-slide img {width: 100%; height: 100%; object-fit: cover;}

#gallery .gallery_swiper_nav {display: flex; justify-content: space-between; align-items: center; max-width: 780px; width: 90%; margin: 0 auto; position: absolute; top: 50%; left:50%; transform: translate(-50%, -50%); z-index: 10; pointer-events: none;}
#gallery .gallery_swiper_nav a {position: static; width: 60px; height: auto; aspect-ratio: 1/1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); color: var(--white); margin-top: 0; pointer-events: auto; opacity: 0.8;}
#gallery .gallery_swiper_nav a:hover {opacity: 1; border-color: var(--white);}
#gallery .gallery_swiper_nav a::before {font-size: 30px; font-weight: 400; font-variation-settings: "wght" 300; position: relative;}
#gallery .gallery_swiper_nav a.swiper-button-prev::before {content: "\e2ea"; left: -2px;}
#gallery .gallery_swiper_nav a.swiper-button-next::before {content: "\e5e1"; left: 3px;}
#gallery .gallery_swiper_nav a::after {display: none;}

/* Contact */
#contact {background: url('/img/contact_bg.jpg') no-repeat center center / cover; overflow: hidden;}
#contact .contact_in {display: flex; align-items: center; justify-content: space-between;}
#contact .contact_in h2 {margin: 0 0 15px;}
#contact .contact_in .fs18 {color:var(--white);}

/* Partner */
#partner .partner_top {display: flex; align-items: center; margin-bottom: 60px;}
#partner .partner_top .partner_title {width: calc(100% / 4); flex-shrink: 0;}
#partner .partner_top .partner_title h2 {margin: 0 0 15px;}
#partner .partner_top .partner_title p.fs20 {color:var(--white);}
#partner .partner_top ul {flex:1}
#partner .partner_top ul li {padding: 30px 0;}
#partner .partner_top ul li:nth-child(2) {border-right: 1px solid rgba(255, 255, 255, 0.3); border-left: 1px solid rgba(255, 255, 255, 0.3);}
#partner .partner_top ul li h3 {margin: 0 0 10px; font-weight: 400;}
#partner .partner_top ul li strong {display: block; font-size: 3.333rem; line-height: 125%;}

#partner .partner_roll_wrap {overflow: hidden; width: 100%; margin: 0 0 60px;}
#partner .partner_roll_track {display: flex; width: max-content; will-change: transform;}
#partner .partner_roll_list {display: flex; animation: partnerRollRight 30s linear infinite;}
#partner .partner_roll_list > li {flex-shrink: 0; width: 274px;}
#partner .partner_roll_list > li a {display: flex; align-items: center; justify-content: center; aspect-ratio: 274 / 135; overflow: hidden;}
#partner .partner_roll_list > li a img {width: 100%; height: 100%; object-fit: cover;}
#partner .partner_roll_list > li a .partner_name {text-align: center; word-break: keep-all; padding: 15px; box-sizing: border-box;}
#partner .partner_roll_list > li a.no_link {cursor: default;}

#partner .partner_roll_wrap .partner_roll_row:last-child .partner_roll_list {animation: partnerRollleft 30s linear infinite; flex-direction: row-reverse;}

#partner .partner_roll_wrap:hover .partner_roll_list {animation-play-state: paused !important}

@keyframes partnerRollRight {
    0% {transform: translateX(0);}
    100% {transform: translateX(-50%);}
}

@keyframes partnerRollleft {
    0% {transform: translateX(-50%);}
    100% {transform: translateX(0);}
}

#partner .more_btn_wrap {display: flex; justify-content: center;}


/*******************************************************************************
    @media 1760px
*******************************************************************************/
@media all and (max-width:1760px){
/* visual */
#visual .slick-prev {left: 5%;}
#visual .slick-next {right: 5%;}
}

/*******************************************************************************
    @media ~1500px
*******************************************************************************/
@media all and (max-width:1500px){

}

/*******************************************************************************
    @media ~1300px
*******************************************************************************/
@media all and (max-width:1300px){
/* About */
#about .about_in {gap: 60px;}
#about .tbox {justify-content: flex-start;}
#about .tbox br {display: none;}
#about .tbox::after {width: 140px; right: -25px;}

/* Gallery */
#gallery .gallery_top {margin-bottom: 30px;}

/* Partner */
#partner .partner_top {flex-direction: column; gap: 20px; align-items: flex-start;}
#partner .partner_top .partner_title {width: 100%;}
#partner .partner_top ul {width: 100%; flex: auto;}
}

/*******************************************************************************
    @media  ~980px               
*******************************************************************************/
@media all and (max-width:980px){
 /* 공통 */
 .out_of_visual {margin-top: 0}
 .more_btn .before_icon::before {font-size: 22px;}

/* Visual */
#visual .v_txt {padding: 0 50px;}
#visual .v_txt h2 {margin: 10px 0 20px;}

#visual .slick-arrow::before {font-size: 40px;}

#visual .visual_pager {margin: 0 0 20px;}
#visual .visual_pager li a {gap: 6px;}

#visual .scr_down::before {font-size: 18px;}

/* About */
#about .about_in {flex-direction: column; gap: 50px;}
#about .tbox {width: 100%; max-width: 100%;}
#about .tbox::after {display: none;}
#about .tbox h2 {margin: 0 0 15px;}
#about .tbox p.fs22 {margin: 0 0 15px;}
#about .tbox p.fs18 {margin: 0 0 30px;}

/* Product */
#product .product_list a {height: 450px;}
#product .product_list h3 {margin: 0 0 5px; font-size: 2.2rem;}

#product .product_list .hover_area p.fs18 {margin: 0 0 20px;}
#product .product_list .hover_area .plus {width: 50px;}
#product .product_list .hover_area .plus::before {font-size: 22px;}

#product .product_list:hover > li:not(.active) h3 {font-size: 1.9rem;} 

/* Gallery */
#gallery .swiper-slide {width: 400px; margin: 0 10px;}
#gallery .gallery_swiper_nav {max-width: 600px;}
#gallery .gallery_swiper_nav a {width: 50px;}
#gallery .gallery_swiper_nav a::before {font-size: 24px;}

/* Partner */
#partner .partner_top {gap: 10px; margin-bottom: 30px;}
#partner .partner_top ul li h3 {margin: 0 0 5px;}
#partner .partner_top ul li strong {font-size: 2.5rem;}

#partner .partner_roll_wrap {margin: 0 0 30px;}
#partner .partner_roll_list > li {width: 200px;}
}
/*******************************************************************************
    @media 768px
*******************************************************************************/
@media all and (max-width:768px){
/* Product */
#product .product_list {grid-template-columns: repeat(1, 1fr);}
/* #product .product_list a {height: auto; padding: 40px 5%; background-size: cover; background-position: center; background-repeat: no-repeat;} */
#product .product_list a {height: auto; padding: 40px 5%;}
/* #product .product_list li:nth-child(1) a {background-image: url('/img/prd_bg2.jpg');}
#product .product_list li:nth-child(2) a {background-image: url('/img/prd_bg3.jpg');}
#product .product_list li:nth-child(3) a {background-image: url('/img/prd_bg4.jpg');} */
#product .product_list h3 {font-size:2.2rem !important}
#product .product_list p.fs22 {font-size: 1.222rem !important}
#product .product_list li {border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); opacity: 1 !important;}
#product .product_list li:last-child {border-bottom: none;}

/* #product .product_bg_wrap {display: none;} */
#product .product_list .before_hover_area {position: static; transform: none !important;}
#product .product_list .hover_area {position: static; opacity: 1;}
}

/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){
 /* 공통 */
 .more_btn .before_icon::before {font-size: 20px;}

/* Visual */
#visual .v_txt {padding: 0; top:40%}
#visual .v_txt br {display: none;}
#visual .v_txt h2 {margin: 5px 0 15px;}

#visual .visual_util {bottom: 155px;}
#visual .visual_util .visual_pager {display: none;}

/* 모바일: .v_txt 아래 50px — 위치는 main.js positionVisualPagerMo()가 계산(마크업 변경 없음) */
#visual .visual_pager.visual_pager_mo {display: flex; margin: 0; position: absolute; left: 50%; transform: translateX(-50%); width: 90%; z-index: 1000; top: calc(40% + 50px);}

#visual .slick-prev {top:auto; bottom: 159px; transform:none;}
#visual .slick-next {top:auto; bottom: 159px; transform:none;}


/* About */
#about .tbox::after {width: 80px;}
#about .tbox p.fs18 {margin: 0 0 25px;}

/* Product */
#product .product_list .hover_area .plus {width: 35px;}
#product .product_list .hover_area .plus::before {font-size: 20px;}

/* Gallery */
#gallery .gallery_top {flex-direction: column; align-items: flex-start; gap: 25px;}
#gallery .gallery_top .tbox {transform: translate3d(0,100px,0);}
#gallery .gallery_top .tbox.aos-animate {transform: translateZ(0);}
#gallery .gallery_top .more_btn_wrap {transform: translate3d(0,100px,0); transition-delay: 400ms;}
#gallery .gallery_top .more_btn_wrap.aos-animate {transform: translateZ(0);}
#gallery .swiper-slide {width: 375px; margin: 0 5px; max-width: 85%;}

#gallery .swiper-slide {transform: none !important;}

#gallery .gallery_swiper_nav {position: static; transform: none; margin-top: 30px;}
#gallery .gallery_swiper_nav a {width: 40px;}
#gallery .gallery_swiper_nav a::before {font-size: 20px;}
#gallery .gallery_swiper_nav a.swiper-button-prev::before {left:-1px;}
#gallery .gallery_swiper_nav a.swiper-button-next::before {left:2px}

/* Contact */
#contact .contact_in {flex-direction: column; align-items: center; gap: 50px; text-align: center;}
#contact .contact_in p.fs18 {text-wrap: balance;}

#contact .contact_left {transform: translate3d(0,100px,0);}
#contact .contact_left.aos-animate {transform: translateZ(0);}
#contact .contact_right {transform: translate3d(0,100px,0); transition-delay: 400ms;}
#contact .contact_right.aos-animate {transform: translateZ(0);}

/* Partner */
#partner .partner_top {margin-bottom: 0; align-items: center; text-align: center; gap: 0;}
#partner .partner_top .partner_title h2 {margin: 0 0 8px;}
#partner .partner_top ul {grid-template-columns: 1fr;}
#partner .partner_top ul li {padding: 20px 0; border-left: none !important; border-right: none !important;}
#partner .partner_top ul li h3 {margin: 0 0 5px;}
#partner .partner_top ul li strong {font-size: 2rem;}

#partner .partner_roll_wrap {margin: 0 0 20px;}
#partner .partner_roll_list > li {width: 183px;}
}