header{
    
    height: 90px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 1px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.header_logo a{
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    

}
.header_logo img{
    width: 275px;
    position: absolute;
}

@media (max-width: 768px) {
    header{
        height: 70px;
        background-color: #1B1818;
    }
    .header_logo a{
    height: 70px;
    }

.header_logo img {
    width: 33%;
    
}
}

@media (max-width: 430px) {
        .header_logo img {
        width: 50%;
    }
}
@media (max-width: 375px) {
    header{
        height: 70px;
    }
    .header_logo img{
        width: 60%;
    }

}


/* ------header end  */


.section_1{
    width: 100%;
    /* height: 100vh; */
    position: relative;
}
.main {
    width: 100%;
      position: relative;
    /* height: 100vh; */
    /* background-image: url(../img/sec_1_main.png);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     */
}
.img_wrap img{
    width: 20%;
    height: 100%;
}

/* .img_wrap_1 img, .img_wrap_2 img{
    width: 20%;
    height: 100%;

} */
.img_wrap_1,.img_wrap_2{
    /* width: 100%; */
    display: flex;
    
}


/* 섹션/컨테이너 기본 */
.section_1 {
  width: 100%;
  position: relative;
  /* background: #000;
  padding: 5vh 0; */
  /* box-sizing: border-box; */
}

/* 5x2 레이아웃 */
.flip_group {
  /* width: 90%; */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  gap: 0;
  align-items: start;
  justify-items: center;
}

.img_wrap {
    display: grid;
  width: 100%;
  height: 100%;          /* row 높이 100% 채움 */
  margin: 0;
  padding: 0;
  position: relative;
  perspective: 1000px;
  overflow: hidden;
}

/* 이미지: 원본 비율(가로 기준) 유지 */
.img_wrap img {
   grid-area: 1 / 1;
  width: 100%;
  height: 100%;          /* 부모 높이에 맞춤 */
  object-fit: cover;     /* 비율 유지하면서 꽉 채움 */
  display: block;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

/* 초기: front만 보이고 back/title은 뒤집혀 있으며 투명 */
.img_wrap img.front {
  opacity: 1;
  transform: rotateY(0deg);
}
.img_wrap img.back,
.img_wrap img.title {
  opacity: 0;
  transform: rotateY(180deg);
}

/* 단계별 클래스 (클래스만 바꾸면 transform/opacity가 바뀜) */
/* front -> back */
.img_wrap.flipped1 img.front {
  transform: rotateY(180deg);
  opacity: 0;
}
.img_wrap.flipped1 img.back {
  transform: rotateY(0deg);
  opacity: 1;
}

/* back -> title */
.img_wrap.flipped2 img.back {
  transform: rotateY(180deg);
  opacity: 0;
}
.img_wrap.flipped2 img.title {
  transform: rotateY(0deg);
  opacity: 1;
}

/* title -> front (복귀) */
.img_wrap.flipped3 img.title {
  transform: rotateY(180deg);
  opacity: 0;
}
.img_wrap.flipped3 img.front {
  transform: rotateY(0deg);
  opacity: 1;
}

/* 반응형: 모바일에서 한 줄에 2~3장 등 */
/* @media (max-width: 1024px) {
  .flip_group { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .flip_group { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .flip_group { grid-template-columns: repeat(1, 1fr); }
} */



/* 기존 front/back 단계: grid로 5x2 배치 */
.flip_group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;  /* 모든 row 높이 동일 */
  gap: 0;                /* 칸 사이 간격 없음 */
  align-items: stretch;
}


/* 마지막 단계(title)에서는 10장이 겹치도록 설정 */

.img_wrap img.title {
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  opacity: 0;
  transform: rotateY(180deg);
  position: absolute; /* 부모(.img_wrap) 기준 */
  top: 0;
  left: 0;
  z-index: 10; /* front/back 위로 올라오도록 */
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.img_wrap.flipped2 img.title {
  opacity: 1;
  transform: rotateY(0deg);
}

.img_wrap.flipped2 img.title {
  opacity: 1;
  transform: rotateY(0deg) scale(1.008); /* 10% 키움 */
  z-index: 5;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.flip_group_2, .flip_group_3{
    display: none;
}

@media (max-width: 1024px) {
    
    .flip_group, .flip_group_3{
        display: none;
    }

    .flip_group_2{
    display: flex;
    }
    .img_wrap.flipped2 img.title {
  opacity: 1;
  transform: rotateY(0deg) scale(1.019); /* 10% 키움 */

}
    .flip_group_2 img{
        width: 100%;
    
}

}

@media (max-width: 768px) {
    header {
        position: relative;
    }
    .flip_group_2{
        display: none;
    }
    .flip_group_3{
        
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 0;
        align-items: start;
        justify-items: center;
    }
    .img_wrap.flipped2 img.title {
  opacity: 1;
  transform: rotateY(0deg) scale(1.01); /* 10% 키움 */

}
}




















.sec_1_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 90%;
}

.sec_1_container{
    color: #fff;
    text-align: center;
}

.sec_1_container h2{
    font-size: 72px;
    padding-bottom: 15px;
    font-weight: 500;
}
.sec_1_container > p{
    font-size: 22px;
    font-weight: 200;
    padding-bottom: 64px;

}
.main_btn a{
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.main_btn p{
    color: #fff;
    text-align: center;
        position: relative;
    top: 30%;
}

.main_btn {
  position: absolute;
  bottom: 60px; /* 하단에서 얼마나 띄울지 조정 */
  left: 50%;
  transform: translateX(-50%);
  width: 219px;
  height: 58px;
  background-color: #ffffff30;
  border: 1px solid #ffffff90;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10; /* 이미지 위로 올라오게 */
}

.main_btn:hover{
    background-color: #81000050;
}
.sec_1_container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.sec_1_container.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .sec_1_container h2{
        font-size: 64px;
    }
    .sec_1_container > p{
    font-size: 18px;
    }
    
    
}
@media (max-width: 375px) {
    .sec_1_container h2{
        font-size: 54px;
    }


    .sec_1_container > p {
        font-size: 16px;
    }
    .main_btn {
        width: 179px;
        height: 48px;
    }



}

/* ---section_1 end------ */
.sec_2_container{
    min-height: auto;
    display: flex;
    color: #fff;
}
.sec_2_con{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
}
.sec_2_con_1, .sec_2_con_2, .sec_2_con_3, .sec_2_con_4{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 45px;
}
.sec_2_con_1{
    background-image: url(../img/sec_2_1.png);
}

.sec_2_con_2{
    background-image: url(../img/sec_2_2.png);
}

.sec_2_con_3{
    background-image: url(../img/sec_2_3.png);

}

.sec_2_con_4{
    background-image: url(../img/sec_2_4.png);
}

.sec_2_text_box_1_2, .sec_2_text_box_2_2, .sec_2_text_box_3_2, .sec_2_text_box_4_2{
    display: none;
} 

.sec_2_text_box_1 p, .sec_2_text_box_2 p, .sec_2_text_box_3 p, .sec_2_text_box_4 p{
    font-size: 22px;
    padding-bottom: 31px;
        padding-top: 287px;
}

.sec_2_text_box_1 h4, .sec_2_text_box_2 h4, .sec_2_text_box_3 h4, .sec_2_text_box_4 h4{
    font-size: 48px;
    font-weight: 500;
}
.sec_2_text_box_1 h4, .sec_2_text_box_4 h4{
    padding-bottom: 123px;
}
.sec_2_text_box_2 h4, .sec_2_text_box_3 h4{
    padding-bottom: 58px;
    line-height: 70px;
}

.sec_2_text_box_1_1 p, .sec_2_text_box_2_1 p, .sec_2_text_box_3_1 p, .sec_2_text_box_4_1 p{
    font-size: 20px;
    padding-bottom: 31px;
    line-height: 30px;
}
.sec_2_text_box_1_1, .sec_2_text_box_2_1, .sec_2_text_box_3_1, .sec_2_text_box_4_1{
    padding-bottom: 300px;
}

.text_animate {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.text_animate.show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1400px){

.sec_2_container{
    height: auto;
    display: flex;
    flex-direction: column;
}
.sec_2_con_1, .sec_2_con_2, .sec_2_con_3, .sec_2_con_4 {
    padding-left: 0;
}
.sec_2_text_box_1_1, .sec_2_text_box_2_1, .sec_2_text_box_3_1, .sec_2_text_box_4_1{
    display: none;
}
.sec_2_text_box_1_2, .sec_2_text_box_2_2, .sec_2_text_box_3_2, .sec_2_text_box_4_2{
    display: block;
    text-align: center;
    padding-bottom: 47px;
    font-size: 18px;
    line-height: 30px;
} 
.sec_2_text_box_1 h4,.sec_2_text_box_2 h4 ,.sec_2_text_box_3 h4, .sec_2_text_box_4 h4 {
    font-size: 32px;
    padding-bottom: 35px;
}
.sec_2_text_box_1 p, .sec_2_text_box_2 p, .sec_2_text_box_3 p, .sec_2_text_box_4 p {
    padding-top: 7px;
}
.sec_2_text_box_2 h4 ,.sec_2_text_box_3 h4{
    line-height: 40px;
}
.sec_2_text_box_1,
  .sec_2_text_box_2,
  .sec_2_text_box_3,
  .sec_2_text_box_4 {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding-top: 36px;
  }

}
@media (max-width: 375px){
.sec_2_container {
    height: auto;
}
.sec_2_text_box_1 p, .sec_2_text_box_2 p, .sec_2_text_box_3 p, .sec_2_text_box_4 p {
    padding-bottom: 11px;
}
.sec_2_text_box_1 h4,.sec_2_text_box_2 h4 ,.sec_2_text_box_3 h4, .sec_2_text_box_4 h4 {
    font-size: 28px;
    padding-bottom: 25px;
}
.sec_2_text_box_1, .sec_2_text_box_2, .sec_2_text_box_3, .sec_2_text_box_4 {
    padding-top: 26px;
}
    .sec_2_text_box_1_2, .sec_2_text_box_2_2, .sec_2_text_box_3_2, .sec_2_text_box_4_2 {
        font-size: 16px;
        line-height: 28px;
        padding-bottom: 25px;
    }


}
/* -----section_2 end--- */
.section_3{
    width: 100%;
    height: 994px;
    background-image: url(../img/sec_3.png);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
}

.sec_3_title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: fit-content;
    text-align: center;
    padding-bottom: 70px;
}
.sec_3_con{
    display: flex;
}
.sec_3_title h3{
    padding-bottom: 15px;
}
.sec_3_container_wrap {
    display: flex;
    gap: 20px;
    width: fit-content; 
}
.sec_3_con_1, .sec_3_con_3, .sec_3_con_5{
    margin-bottom: 20px;
}
.sec_3_title h3{
    font-size: 48px;
}
.sec_3_title p{
    font-size: 22px;
}
.sec_3_container_wrap{
    display: flex;
}


.sec_3_icon_1, .sec_3_icon_2, .sec_3_icon_3, .sec_3_icon_4, .sec_3_icon_5, .sec_3_icon_6{
    width: 215px;
    padding-right: 9px;
    padding-left: 11px;
}


.sec_3_con{
    width: 31vw;
    height: 14vw;
    background-color: #ffffff2d;
    border: 1px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec_3_text{
    color: #fff;
    padding-right: 25px;
}

.sec_3_text p:nth-of-type(1){
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 21px;
}
.sec_3_text p:nth-of-type(2){
    font-size: 18px;
    line-height: 30px;
}
.sec_3_text p:nth-of-type(3){
    display: none;
}

@media (max-width: 1400px){
    .section_3 {
    width: 100%;
    height: 100%;
    }
    .sec_3_title{
    padding-top: 204px;
    padding-bottom: 60px;
    }
    .sec_3_container_wrap {
    display: flex;
    flex-direction: column;
    padding-bottom: 174px;
        gap: 30px
}

.sec_3_con {
    width: 81vw;
}
.sec_3_con_1, .sec_3_con_3, .sec_3_con_5 {
    margin-bottom: 30px;
}


}

@media (max-width: 1024px){
    .sec_3_icon_1, .sec_3_icon_2, .sec_3_icon_3, .sec_3_icon_4, .sec_3_icon_5, .sec_3_icon_6{
        width: 185px;
    }
}

@media (max-width: 820px){
    .sec_3_icon_1, .sec_3_icon_2, .sec_3_icon_3, .sec_3_icon_4, .sec_3_icon_5, .sec_3_icon_6 {
    width: 175px;
    }
    .sec_3_text p:nth-of-type(1) {
    font-size: 18px;
    padding-bottom: 10px;
    }
    .sec_3_text p:nth-of-type(2) {
    font-size: 16px;
    line-height: 24px;
    }

.sec_3_con {
    height: 19vw;
}
}
@media (max-width: 820px){
        .sec_3_title {
        padding-top: 174px;
        padding-left: 20px;
        padding-right: 20px;
        }
    .sec_3_con {
    height: 22vw;
}
}

@media (max-width: 620px){

    .sec_3_title {
        padding-top: 134px;
    }
        .sec_3_container_wrap {
        padding-bottom: 144px;
        gap: 20px;
        }
            .sec_3_con_1, .sec_3_con_3, .sec_3_con_5 {
        margin-bottom: 20px;
    }
    .sec_3_title h3 {
    font-size: 42px;
}

.sec_3_title p {
    font-size: 18px;
}
.sec_3_text p:nth-of-type(2){
    display: none;
}
.sec_3_text p:nth-of-type(3){
    display: block;
}
}

@media (max-width: 490px){
        .sec_3_icon_1, .sec_3_icon_2, .sec_3_icon_3, .sec_3_icon_4, .sec_3_icon_5, .sec_3_icon_6 {
        width: 135px;
    }
    .sec_3_text p:nth-of-type(1) {
        font-size: 16px;
    }
    .sec_3_text p:nth-of-type(3) {
    font-size: 14px;
    }
        .sec_3_con {
        width: 91vw;
        height: 24vw;
    }
}
@media (max-width: 375px){
        .sec_3_title h3 {
        font-size: 32px;
    }
        .sec_3_title p {
        font-size: 16px;
    }
        .sec_3_con {
        width: 91vw;
        height: 26vw;
    }
    .sec_3_title {
        padding-top: 104px;
    }
        .sec_3_container_wrap {
        padding-bottom: 104px;
        }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sec_3_con {
  opacity: 0;
  transition: all 0.6s ease;
}

.sec_3_con.show {
  opacity: 1;
  transform: translateY(0);
}

/* ----section_3 end----- */
.section_4{
    width: 100%;
    
     display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sec_4_container img{
    width: 15.6vw;
}
.sec_4_container a{
    width: 15.6vw;
    cursor: pointer;
}

.sec_4_title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #101010;
    width: fit-content;
    text-align: center;
    padding-top: 170px;
    padding-bottom: 70px;
}

.sec_4_title h3{
    font-size: 48px;
    padding-bottom: 15px;
}
.sec_4_title p{
    font-size: 22px;
}

.sec_4_top, .sec_4_bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.sec_4_top{
    padding-bottom: 30px;
}
.sec_4_bottom{
    padding-bottom: 145px;
}

@media (max-width: 1024px){
    .sec_4_container img{
        width: 18.6vw;
}
.sec_4_container a {
    width: 18.6vw;
}
.sec_4_top, .sec_4_bottom {
    gap: 10px;
}
}

@media (max-width: 820px){
    .sec_4_top, .sec_4_bottom{
        flex-direction: column;
                width: 402px;
    }
    .sec_4_container{
        display: flex;
        justify-content: center
    }

.sec_4_bottom {
    padding-bottom: 0px;
}

    .sec_4_top, .sec_4_bottom {
        gap: 30px;
        justify-content: normal;
    }
        .sec_4_container img {
        width: 38.6vw;
    }
        .sec_4_container a {
        width:38.6vw;
    }
    
    .sec_4_bottom a:nth-of-type(5){
       padding-right: 50px;
       margin-right: 52vw !important;
       padding-bottom: 160px;
    }
    
}

@media (max-width: 700px){
    .sec_4_top, .sec_4_bottom {
        width: 282px;
    }
}
@media (max-width: 500px){
        .sec_4_top, .sec_4_bottom {
        width: 242px;
    }
    .sec_4_title h3 {
    font-size: 42px;
    }
    .sec_4_title p {
    font-size: 18px;
}
}

@media (max-width: 430px){
        .sec_4_top, .sec_4_bottom {
        width: 212px;
    }
}
@media (max-width: 375px){
    .sec_4_title h3 {
        font-size: 32px;
    }
        .sec_4_title p {
        font-size: 16px;
    }
        .sec_4_top, .sec_4_bottom {
        width: 182px;
    }
}
/* -----sec_4 end---- */

.footer_text,
.footer_text * {
  -webkit-touch-callout: none;  
  -webkit-user-select: text;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  color: #fff;
  pointer-events: none;         
}
footer{
    background-color: #1B1818;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer_logo{
    width: 275px;
    padding-top: 38px;
    padding-bottom: 27px;
}
.footer_text{
    color: #fff;
    text-align: center;
}
.footer_text{
    line-height: 45px;
    font-size: 16px;
    font-weight: 200;
    padding-bottom: 45px;
}
.foo_text p{
    color: #fff !important;
    user-select: text;
}
.copy_writer{
    height: 80px;
    border-top: 1px solid #8B8B8B;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #8B8B8B;
    font-size: 16px;
}

@media (max-width: 700px){
.footer_text{
    font-size: 14px;
}
.footer_logo {
    width: 235px;
    padding-top: 18px;
    padding-bottom: 17px;
}
.footer_text {
    line-height: 40px;
    font-size: 16px;
    font-weight: 200;
    padding-bottom: 25px;
}
.copy_writer {
    font-size: 14px;
}

}

@media (max-width: 420px){
    .footer_text {
        line-height: 36px;
        font-size: 14px;
        padding-bottom: 20px;
    }
        .footer_logo {
        width: 195px;
        padding-top: 14px;
        padding-bottom: 11px;
        }
        .copy_writer {
        font-size: 12px;
            height: 60px;
    }
}









