@charset "utf-8";

main {
    width: 100%;
    position: relative;
}

/* 공통 */
.m-more {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 170px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
    font-size: var(--f18);
    color: #333;
}

.m-more::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: #8bb33c;
    transition: width .4s ease;
}

.m-more::after {
    content: '';
    width: 12px;
    height: 12px;
    margin-right: 4px;
    border-top: 2px solid #8bb33c;
    border-right: 2px solid #8bb33c;
    transform: rotate(45deg);
    transition: transform .3s ease;
}

.m-more:hover::before {
    width: 100%;
}

.m-more:hover::after {
    transform: translateX(6px) rotate(45deg);
}

/* 메인비주얼 */
.visual {
    height: 100vh;
    min-height: 911px;
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/img_main.jpg') center/cover no-repeat;
    will-change: transform;
    animation: bgIn 0.5s ease-out backwards;
}

.visual::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 294px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 68.27%);
    pointer-events: none;
    z-index: 1;
}

.visual .visual-inner {
    position: absolute;
    left: 160px;
    bottom: 78px;
    z-index: 1;
}

.visual .visual-inner > * {
    animation: up 1.4s cubic-bezier(.22, 1, .36, 1) 0.4s backwards;
}

.visual h2 {
    font-family: var(--font-type2);
    font-size: var(--f48);
    font-weight: 600;
    margin-bottom: 30px;
    animation-delay: .4s;
}

.visual h2 span {
    font-size: var(--f60);
    text-transform: uppercase;
}

.visual p {
    font-size: var(--f32);
    line-height: 1.5em;
    margin-top: 24px;
    animation-delay: .8s;
}

.visual .info {
    margin-top: 72px;
    animation-delay: 1s;
}

.visual .info span {
    font-size: var(--f16);
    font-weight: 600;
}

.visual .info b {
    margin-top: 28px;
    font-size: var(--f20);
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fixed-book-btn {
    position: sticky;
    bottom: 0;
    z-index: 1;
    display: block;
    width: 380px;
    margin: -64px 0 0 auto;
    line-height: 64px;
    padding-left: 64px;
    background: #000 url('/images/ic_calendar.svg') 24px center no-repeat;
    color: #fff;
    font-size: var(--f20);
    animation: up 1.4s cubic-bezier(.22, 1, .36, 1) 1s backwards;
}

@keyframes bgIn {
    from {
        opacity: 0;
        filter: blur(16px);
    }
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
}

/* 메인 코스 */
.main-course {
    padding: 180px 80px 200px;
    max-width: 1600px;
    margin: auto;
    overflow: hidden;
}

.main-course .mc-inner {
    display: flex;
    justify-content: space-between;
}

.main-course .mc-list {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    flex: 1;
}

.main-course .mc-item {
    margin-bottom: 40px;
}

.main-course .mc-item a {
    display: flex;
    align-items: center;
    position: relative;
}

.main-course .mc-img {
    overflow: hidden;
}

.main-course .mc-img img {
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.main-course .mc-item a:hover .mc-img img {
    transform: scale(1.1);
}

.main-course .mc-txt {
    flex: 1;
    min-width: 0;
    padding: 0 48px 0 32px;
}

.main-course .mc-txt span {
    display: block;
    font-family: var(--font-type2);
    font-size: var(--f13);
    color: var(--sub-color);
}

.main-course .mc-txt h3 {
    font-family: var(--font-type2);
    font-size: var(--f32);
    font-weight: 600;
    padding: 24px 0 16px;
}

.main-course .mc-txt h3 small {
    font-size: var(--f20);
}

.main-course .mc-txt p {
    font-size: var(--f16);
    line-height: 1.5em;
    word-break: keep-all;
}

.main-course .mc-item a::after {
    content: '';
    position: absolute;
    right: clamp(16px, 1.25vw, 20px);
    top: 50%;
    width: 10px;
    height: 10px;
    border: solid var(--sub-color);
    border-width: 2px 2px 0 0;
    transform: translateY(-50%) rotate(45deg);
}

.main-course .mc-item a::after {
    transition: right .4s cubic-bezier(.22, 1, .36, 1), opacity .4s;
}

.main-course .mc-item a:hover::after {
    right: clamp(6px, .5vw, 10px);
}

.main-course .mc-photo {
    width: 670px;
    height: 950px;
    position: relative;
}

.main-course .mc-photo::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 70px;
    width: 602px;
    height: 800px;
    background: rgba(245, 248, 235, 0.5);
}

.main-course .mc-photo .big {
    position: absolute;
    left: 0;
    top: 0;
    width: 580px;
    height: 768px;
    object-fit: cover;
}

.main-course .mc-photo .small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 438px;
    height: 280px;
    object-fit: cover;
}

/* 코스 소개 */
.main-nature {
    position: relative;
    padding-bottom: 150px;
}

.nature-img-box {
    width: 87.5%;
    aspect-ratio: 1680 / 480;
    overflow: hidden;
}

.nature-img-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nature-inner {
    padding: 80px 160px;
}

.main-text-area h2 {
    font-family: var(--font-type2);
    font-size: var(--f48);
    font-weight: 600;
    line-height: 1.5em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.main-text-area h2 b {
    font-size: var(--f60);
}

.main-text-area .tit {
    font-size: var(--f20);
    font-weight: 600;
    margin-bottom: 26px;
}

.main-text-area .tit.en {
    font-family: var(--font-type2);
}

.main-text-area p {
    font-size: var(--f16);
    line-height: 1.5em;
    margin-bottom: 15px;
    word-break: keep-all;
}

.main-nature .m-more {
    margin-top: 40px;
}

/* 메인 부대시설 */
.main-rest {
    background: url('/images/bg_main_facil.jpg') center/cover no-repeat;
    width: 100%;
}

.main-rest-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1920px;
    margin: auto;
}

.rest-photo {
    flex: 1;
    max-width: 810px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rest-photo li {
    flex: 1 1 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.rest-photo li:nth-child(2), .rest-photo li:nth-child(3) {
    flex-basis: 40%;
    height: 310px;
}

.rest-photo li:last-child {
    height: 250px;
}

.rest-photo a {
    display: block;
    height: 100%;
}

.rest-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.rest-photo a:hover img {
    transform: scale(1.02);
}

.rest-photo span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #fff;
    font-size: var(--f20);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.main-rest .m-more {
    margin-top: 40px;
}

.rest-inner {
    padding-right: clamp(30px, calc(20.3125vw - 230px), 160px);
}

.rest-inner h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 40px 0;
    background: var(--sub-color);
}

/* 뉴스 */
.m-more.sm {
    width: auto;
    gap: 10px;
    padding: 0;
    border: 0;
}

.m-more.sm::before {
    display: none;
}

.m-more.sm::after {
    width: 12px;
    height: 12px;
    margin-right: 0;
    border-width: 2px;
}

.main-news {
    padding: 160px 20px;
}

.news-inner {
    display: flex;
    max-width: 1600px;
    margin: auto;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.news-banner {
    flex: 1;
    min-width: 777px;
    max-width: 836px;
    max-height: 556px;
    display: flex;
    gap: calc(2.5vw - 12px);
}

.news-banner li {
    flex: 1;
}

.news-banner img {
    width: 100%;
}

.news-board {
    min-width: 0;
    flex: 1;
    max-width: 640px;
}

.news-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

.news-head h2 {
    font-family: var(--font-type2);
    font-size: var(--f48);
    font-weight: 600;
    text-transform: uppercase;
}

.news-head h2 b {
    font-size: var(--f60);
}

.news-list a {
    display: block;
    padding: 30px 0 26px;
    border-bottom: 1px solid #ccc;
}

.news-list h3 {
    font-size: var(--f22);
    font-weight: 500;
    margin-bottom: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list span {
    font-size: var(--f16);
    color: #999;
}

/* 메인 팝업 */
.main-pop-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.main-pop {
    position: relative;
    width: 100%;
    max-width: 1144px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.pop-swiper {
    position: relative;
    width: 100%;
}

.pop-swiper .swiper-slide {
    position: relative;
}

.pop-swiper .swiper-slide img {
    width: 100%;
}

.main-pop .swiper-btn-prev,
.main-pop .swiper-btn-next {
    cursor: pointer;
}

.btn-pop-close {
    width: 100%;
    max-width: 1144px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

.btn-pop-close button {
    cursor: pointer;
    background-color: #222;
    line-height: 35px;
    border-radius: 60px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: var(--f16);
}

@media (max-width: 1280px) {
    .visual {
        min-height: 858px;
    }

    .visual .visual-inner {
        left: 16px;
        bottom: 170px;
    }

    .visual h2 {
        font-size: var(--f24);
        margin-bottom: 20px;
    }

    .visual h2 span {
        font-size: var(--f32);
    }

    .visual p {
        font-size: var(--f16);
        margin-top: 20px;
    }

    .visual .info {
        margin-top: 56px;
    }

    .visual .info span {
        font-size: var(--f14);
    }

    .visual .info b {
        margin-top: 8px;
        font-size: var(--f16);
    }

    .visual .info b em img {
        width: 24px;
    }

    .fixed-book-btn {
        width: 240px;
        margin: -64px 0 0 auto;
        line-height: 48px;
        padding-left: 44px;
        background: #000 url(/images/ic_calendar.svg) 16px center no-repeat;
        background-size: 24px 24px;
        color: #fff;
        font-size: var(--f16);
    }

    .main-course {
        padding: 56px 16px 80px;
        max-width: 100%;
    }

    .main-course .mc-inner {
        flex-direction: column-reverse;
        gap: 48px;
        align-items: center;
    }

    .main-course .mc-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 670 / 950;
        position: relative;
    }

    .main-course .mc-photo::before {
        left: 10%;
        top: 7%;
        width: 90%;
        height: 84%;
    }

    .main-course .mc-photo .big {
        width: 87%;
        height: 81%;
    }

    .main-course .mc-photo .small {
        width: 65%;
        height: 29%;
    }

    .main-course .mc-list {
        max-width: 100%;
        width: 100%;
    }

    .main-course .mc-item {
        margin-bottom: 24px;
    }

    .main-course .mc-item:last-child {
        margin-bottom: 0;
    }

    .main-course .mc-img {
        overflow: hidden;
        flex: 1;
        min-width: 0;
        aspect-ratio: 92 / 124;
    }

    .main-course .mc-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .main-course .mc-txt {
        padding: 0 32px 0 16px;
        min-width: 240px;
    }

    .main-course .mc-txt span {
        font-size: var(--f12);
    }

    .main-course .mc-txt h3 {
        font-size: var(--f20);
        padding: 12px 0 8px;
    }

    .main-course .mc-txt h3 small {
        font-size: var(--f12);
    }

    .main-course .mc-txt p {
        font-size: var(--f13);
        line-height: 1.3em;
    }

    .main-nature {
        padding-bottom: 40px;
    }

    .nature-inner {
        padding: 40px 16px;
    }

    .main-text-area h2 {
        font-size: var(--f24);
        margin-bottom: 24px;
    }

    .main-text-area h2 b {
        font-size: var(--f32);
    }

    .main-text-area .tit {
        font-size: var(--f16);
    }

    .main-text-area p {
        font-size: var(--f13);
    }

    .m-more {
        font-size: var(--f16);
    }

    .main-nature .m-more {
        margin-top: 24px;
    }

    .main-rest-inner {
        flex-direction: column;
        max-width: 100%;
        align-items: flex-start;
        gap: 0;
    }

    .rest-photo {
        max-width: none;
        width: 100%;
        gap: 8px;
    }

    .rest-photo li {
        height: auto;
        aspect-ratio: 810 / 280;
    }

    .rest-photo li:nth-child(2), .rest-photo li:nth-child(3) {
        flex: 0 0 calc(50% - 4px);
        height: auto;
        aspect-ratio: 397 / 310;
    }

    .rest-photo li:last-child {
        height: auto;
        aspect-ratio: 810 / 250;
    }

    .rest-photo span {
        font-size: var(--f14);
    }

    .rest-inner {
        padding: 40px 16px;
    }

    .rest-inner h2::after {
        width: 24px;
    }

    .main-rest .m-more {
        margin-bottom: 16px;
    }

    .main-news {
        padding: 40px 16px 80px;
    }

    .news-inner {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .news-banner {
        min-width: 0;
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        gap: 5px;
    }

    .news-board {
        max-width: 100%;
    }

    .news-head {
        padding-bottom: 24px;
    }

    .news-head h2 {
        font-size: var(--f24);
    }

    .news-head h2 b {
        font-size: var(--f32);
    }

    .news-list a {
        padding: 16px 0;
    }

    .news-list h3 {
        font-size: var(--f16);
        margin-bottom: 8px;
    }

    .news-list span {
        font-size: var(--f14);
    }

}

@media (max-width: 800px) {
    .nature-img-box {
        width: 96%;
        aspect-ratio: 359 / 320;
    }

    .nature-img-box img {
        object-position: right center;
    }
}

@media (max-width: 479px) {
    .btn-pop-close {
        justify-content: center;
    }
}


/* aos효과 수정 */
[data-aos="reveal"] {
    clip-path: inset(0 100% 0 0);
    transition-property: clip-path;
}

[data-aos="reveal"].aos-animate {
    clip-path: inset(0 0% 0 0);
}

[data-aos="fade-zoom"] {
    overflow: hidden;
    opacity: 0;
    transition-property: opacity;
}

[data-aos="fade-zoom"].aos-animate {
    opacity: 1;
}

[data-aos="fade-zoom"] img {
    transform: scale(1.15);
    transition: transform 1.8s cubic-bezier(.19, 1, .22, 1);
}

[data-aos="fade-zoom"].aos-animate img {
    transform: scale(1);
}

[data-aos="fade-zoom"][data-aos-delay="200"] img {
    transition-delay: .2s;
}
