
/* ==== main_sec ==== */
.main_sec {
    padding: 0;
    z-index: 0;
}
.fix_bg {
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    overflow: hidden;
}
.fix_bg .bg_img {
    width: 100%;
    height: 100%;
    filter: brightness(1);
    border-radius: 0;
}

.main_sec .inner {
    height: 200dvh;
}
.main_sec .inner .sticky {
    height: 100dvh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_sec .deco-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.main_sec .deco-item {
    width: clamp(40px, 4vw, 70px);
    height: auto;
    position: absolute;
}
.main_sec .deco_1 {
    top: 5%;
    left: 88%;
    opacity: 0;
}
.main_sec .deco_2 {
    top: 18%;
    right: 80%;
    opacity: 0;
}

.main-content {
    width: 100%;
    height: 100%;
    
}
.main-header {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main-sub_title {
    margin-top: var(--con-gap);
    margin-bottom: 14px;
    font-weight: var(--medium);
}

.main-title {
    text-align: center;

}
.main-con_front {
    position: absolute;
}
.fix_bg .bg_img, 
.main-con_front {
    clip-path: circle(clamp(60px, 5vw, 100px) at 50% 50%);
}
.main-con_back .text_ani {
    -webkit-text-stroke: 1px var(--ft-main);
}
.main-con_front .text_ani {
    color: white;
    -webkit-text-stroke: 1px #fff;
}
/* .main-con_front .bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
} */


.main-con_front .main-title,
.main-con_front .main-sub_title  {
    color: white;
    text-shadow: 2px 2px 16px #00000060;
}




.main-content .text_ani {
    font-size: 9vw;
    font-family: var(--ft-serif);
    text-align: center;
    line-height: 1;
    white-space: normal;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}
.main-content .text_draw {
    width: 80%;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    filter: drop-shadow(2px 2px 16px #00000060);
}
.main-content .text_draw svg {
    width: 100%;
    height: auto;
}
.main-con_back .text_draw path {
    fill: transparent;
    stroke: var(--ft-main);
}
.main-con_front .text_draw path {
    fill: white;
}

/* ==== text_sec ==== */
.text_sec {
    width: 100%;
}
/* .text_sec .sec-bg {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
} */
.text_sec .sec-bg.show {
    opacity: 1;
}
.text_sec .sec-bg .bg_img {
    width: 100%;
    height: 100%;
    filter: brightness(0.4);
}

.text_ani-box {
    font-size: var(--ft32);
    color: white;
    font-family: var(--ft-serif);
}
.text_sec .inner {
    position: absolute;
}
.text_ani-box .split span {
    opacity: 0.3;
}

/* ==== merit_sec ==== */
.merit_sec {
    background: white;
    z-index: 2;
    height: 400vh;
}
.merit_sec .inner {
    position: sticky;
    top: 0;
}
.merit_sec .con_wrap {
    padding: var(--con-gap);
    height: 100vh;    
    background: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
}
.merit_sec .sec-content {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--con-gap);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
.merit_sec .con {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merit_sec .text_box {
    padding: 60px;
    width: 100%;
    max-width: 450px;
}
.merit_sec .con-title {
    font-size: var(--ft46);
    font-family: var(--ft-serif);
    color: var(--ft-main);
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all .3s ease;
}
.merit_sec .con-desc {
    font-size: var(--ft18);
    color: var(--ft-sub);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all .3s ease;
}
.merit_sec .con-visual {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1 / 1;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .3s .1s ease;
}

.merit_sec .sec-content.active {
    pointer-events: visible;
}
.merit_sec .sec-content.active .con-title,
.merit_sec .sec-content.active .con-desc {
    opacity: 1;
    transform: translateY(0);
}
.merit_sec .sec-content.active .con-desc {
    transition-delay: .05s;
}
.merit_sec .con-visual.active {
    clip-path: inset(0 0 0 0);
    transition: clip-path .3s ease;
}
/* .sec-content:nth-child(1) {
    z-index: 4;
}
.sec-content:nth-child(2) {
    z-index: 3;
}
.sec-content:nth-child(3) {
    z-index: 2;
}
.sec-content:nth-child(4) {
    z-index: 1;
} */
.merit-pagination {
    width: fit-content;
    position: absolute;
    /* bottom: 100px;
    left: 100px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 20px;
    mix-blend-mode: difference;
    -webkit-mix-blend-mode: difference;
    z-index: 10;
    opacity: 1;
    transition: opacity .3s ease;
}
.merit-pagination.show {
    opacity: 1;
}
.merit-pagination * {
    line-height: 1;
    font-size: var(--ft18);
    font-weight: 200;
}
.merit-pagination .line {
    display: block;
    width: var(--con-gap);
    height: 1px;
    background: white;
}
.number {
    display: flex;
    align-items: flex-start;
    height: var(--ft18);
    overflow: hidden;
}
.number ul {
    display: inline-block;
}

/* ==== scenery_sec ==== */
.scenery_sec {
    position: relative;
    z-index: 1;
    background: white;
    
}

.scenery_sec .sec-bg {
    position: sticky;
    top: 0;
    clip-path: inset(50%);
    overflow: hidden;
    z-index: 1;
}
/* .scenery_sec .sec-bg::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: calc(var(--sec-gap) * 2);
}
.scenery_sec .sec-bg::before {
    top: 0;
    background: linear-gradient(to top, transparent, white);
} */

.scenery_sec .sec-bg .bg {
    width: 100%;
    height: auto;
    min-height: 500px;
    scale: 1.2;
    border-radius: 0;
}

.scenery_sec .inner {
    margin-top: calc(-(var(--con-gap)));
    padding-bottom: var(--sec-gap);
    padding-top: var(--sec-gap);
    background: white;
    position: relative;
    z-index: 2;
}
.scenery_sec .inner::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: var(--sec-gap);
    background: linear-gradient(to bottom, transparent, white 99%);
    top: 0;
    left: 0;
    transform: translateY(-100%);
}
.scenery_sec .sec-header {
    position: sticky;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}
.scenery_sec .sec-title {
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 6px #ffffff;
}
.scenery_sec .sec-sub_title {
    text-align: center;
}
.scenery_sec .con-visual {
    height: auto;
    background: var(--img);
    margin-top: var(--sec-gap);
}
.scenery_sec .con-visual.v1 {
    width: 450px;
    aspect-ratio: 1 / 1.2;
    margin-right: 11%;
    margin-left: auto;
}
.scenery_sec .con-visual.v2 {
    width: 600px;
    aspect-ratio: 1.2 / 1;
}
.scenery_sec .con-visual.v3,
.scenery_sec .con-visual.v5 {
    width: 450px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
}
.scenery_sec .con-visual.v5 {
    margin-right: 11%;
}
.scenery_sec .con-visual.v4 {
    width: 450px;
    aspect-ratio: 1 / 1.2;
    margin-left: 11%;
}
.scenery_swiper {
    display: none;
}


/* ==== greetings_sec ==== */
.greetings_sec {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: white;
    z-index: 2;
}
.greetings_sec .sec-bg {
    width: 100%;
    height: 100dvh;
    clip-path: inset(13.4%);
    transition: clip-path 1s ease;
    overflow: hidden;
    position: sticky;
    top: 0;
}
.greetings_sec .bg {
    width: 100%; 
    height: 100%;
    scale: 1.1;
    transition: scale 3s ease, filter .5s ease;
    filter: brightness(1);
}
.greetings_sec.active .sec-bg {
    clip-path: inset(0);
}
.greetings_sec.active .bg {
    scale: 1;
    filter: brightness(0.4);
    border-radius: 0;
}
.greetings_sec .inner {
    margin-top: calc(var(--sec-gap) * -1);
}
.greetings-con {
    color: white;
    font-family: var(--ft-serif);
    font-size: var(--ft22);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: var(--con-gap);
}
.greetings-con span {
    opacity: 0;
}
.greetings_sec .btn-link {
    /* opacity: 0; */
    color: white;
    margin: var(--con-gap) auto;
}
.greetings_sec .btn-icon {
    border-color: var(--gray-200);
}
.greetings_sec .sec-content {
    padding-bottom: var(--sec-gap);
}


@media screen and (max-width:1600px) {
  
   
    .scenery_sec .con-visual.v2 {
        width: 33.333%;
    }
    .scenery_sec .con-visual.v1,
    .scenery_sec .con-visual.v3,
    .scenery_sec .con-visual.v4,
    .scenery_sec .con-visual.v5 {
        width: 25%;
    }
}
@media screen and (max-width:960px) {
    .main_sec .deco_2 {
        right: 85%;
    }
    
    .main-sub_title {
        margin-top: 40px;
    }
    .text_ani-box {
        font-size: var(--ft28);
    }
   
    .merit_sec {
        height: auto;
        padding: var(--sec-gap) 0;
    }
    .merit_sec .inner {
        position: static;
    }
    .merit_sec .con_wrap {
        position: relative;
        height: auto;
        gap: var(--con-gap);
        padding: 0;
    }
    .merit_sec .sec-content {
        position: static;
        gap: 30px;
        padding: 0;
    }
    .merit_sec .text_box {
        padding: 30px;
    }
    .merit_sec .con-title {
        font-size: var(--ft32);
    }
    .merit_sec .sec-content .con-title,
    .merit_sec .sec-content .con-desc {
        opacity: 1;
        transform: translateY(0);
    }
    .merit_sec .con-visual {
        clip-path: inset(0 0 0 0);
        transition: clip-path .3s ease;
    }
    .merit-pagination {
        display: none;
    }

    .scenery_sec .con-visual.v2 {
        width: 40%;
    }
    .scenery_sec .con-visual.v1,
    .scenery_sec .con-visual.v3,
    .scenery_sec .con-visual.v4,
    .scenery_sec .con-visual.v5 {
        width: 30%;
    }
    
}
@media screen and (max-width:600px) {
    .main_sec .deco_2 {
        top: 15%;
        right: 90%;
    }

    .merit_sec .sec-content {
        grid-template-columns: 1fr;
        gap: var(--con-gap);
    }
    .merit_sec .con_wrap {
        gap: calc(var(--con-gap) * 2);
    }
    .merit_sec .text_box {
        padding: 0;
    }
    .merit_sec .con-title {
        margin-bottom: 30px;
    }

    .scenery_sec .con-visual.v2 {
        width: 50%;
    }
    .scenery_sec .con-visual.v1,
    .scenery_sec .con-visual.v3,
    .scenery_sec .con-visual.v4,
    .scenery_sec .con-visual.v5 {
        width: 40%;
    }
    .scenery_sec .con-visual.v1,
    .scenery_sec .con-visual.v5 {
        margin-right: 0;
    }
    .scenery_sec .con-visual.v4 {
        margin-left: 0;
    }
}
@media screen and (max-width:500px) {
       .main_sec .inner {
            height: calc(var(--vh) * 200);
        }
        .main_sec .inner .sticky,
        .fix_bg {
            height: calc(var(--vh) * 100);
        }
        .greetings_sec .sec-bg {
            height: 100%;
        }

    .greetings-con {
        font-size: var(--ft20);
        gap: 0;
    }
   .greetings_sec .sec-bg {
        position: absolute;
    }
    .greetings_sec .inner {
        margin-top: 0;
    }
    .greetings-con span {
        opacity: 1;
        line-height: 1.8;
    }
    .greetings_sec .sec-content {
        padding-top: var(--sec-gap);
        opacity: 0;
        transition: opacity 1s .5s ease;
    }
    .greetings_sec.active .sec-content {
        opacity: 1;
    }
    .greetings_sec .btn-link {
        margin-bottom: 0;
    }

    .scenery_swiper {
        display: block;
    }
    .scenery_sec .sec-content:not(.scenery_swiper) {
        display: none;
    }
    .scenery_sec .sec-header {
        position: static;
    }
    .scenery_sec .con-visual {
        margin: 0 !important;
        width: 100% !important;
    }
 
}
