@charset "utf-8";

main {
    width: 100%;
}

/* 메인 section */
.main-area {
    position: relative;
    height: 100dvh;
    min-height: 800px;
    max-height: 1080px;
    background: #333;
    box-sizing: border-box;
}

.main-swiper {
    height: 100%;
}

.main-swiper .swiper-slide {
    position: relative;
}

.bg1, .bg2, .bg3 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg1 {
    background-image: url('/images/img_main_01.jpg');
}

.bg2 {
    background-image: url('/images/img_main_02.jpg');
}

.bg3 {
    background-image: url('/images/img_main_03.jpg');
}

.main-swiper-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
}

.main-swiper-nav .swiper-btn-prev,
.main-swiper-nav .swiper-btn-next {
    cursor: pointer;
    margin-top: -3px;
}

.main-swiper-nav .swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: auto;
    top: auto;
    width: auto;
}

.main-swiper-nav .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: 1px solid #fff;
    background-color: transparent;
    opacity: 1;
}

.main-swiper-nav .swiper-pagination-bullet-active {
    background-color: #fff;
    width: 30px;
    border-radius: 10px;
}

.main-calendar-wrap {
    position: absolute;
    bottom: min(330px, calc(100vh * 0.3055556));
    left: 50%;
    width: 740px;
    transform: translateX(-50%);
    z-index: 50;
}

.calendar-panel {
    min-height: 340px;
    overflow: hidden;
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    padding: 20px 35px;
    position: absolute;
    bottom: 72px;
    gap: 0 40px;
}

.main-calendar-box {
    flex: 1;
    position: relative;
}

.main-calendar-box .calendar-top {
    width: 100%;
    position: relative;
}

.main-calendar-box .calendar-top button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.main-calendar-box .calendar-top button.left {
    left: 0;
    color: #CBCBCB;
}

.main-calendar-box .calendar-top button.right {
    right: 0;
    color: var(--main-color);
}

.auto-hide-arrow {
    display: none;
}

.main-calendar-box .calendar-tit {
    font-size: var(--f20);
    line-height: 35px;
    font-weight: 400;
    color: #303030;
    text-align: center;
}

.main-calendar-box table {
    width: 100%;
    position: relative;
    z-index: 0;
    font-size: var(--f14);
}

.main-calendar-box table thead th {
    font-weight: 400;
    color: var(--black);
    padding: 12px 0;
}

.main-calendar-box table thead th:first-child {
    color: var(--red);
}

.main-calendar-box table thead th:last-child {
    color: var(--blue);
}

.main-calendar-box table tbody td {
    color: #cbcbcb;
    padding: 13px 0;
    text-align: center;
    font-weight: 500;
    line-height: 1.2em;
    position: relative;
}

.main-calendar-box table tbody td.possible {
    color: #292929;
    cursor: pointer;
}

.main-calendar-box table tbody td.possible:first-child {
    color: #e90505;
}

.main-calendar-box table tbody td.possible:last-child {
    color: #1075ce;
}

.main-calendar-box table tbody td.choice {
    font-weight: 400;
    color: #fff !important;
    cursor: pointer;
}

.main-calendar-box table tbody td.choice::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    background-color: var(--sub-color);
    z-index: -1;
}

.main-calendar-box table tbody td.possible .tee {
    position: absolute;
    font-size: var(--f12);
    color: var(--main-color2);
    border-radius: 5px;
    line-height: 20px;
    width: 55px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    letter-spacing: -0.26px;
    z-index: 10;
    font-weight: 400;
}

.main-calendar-box table tbody td.impossible::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #efefef;
    z-index: -1;
}

.main-calendar-box table tbody td.holiday {
    color: var(--red);
}

.btn-calendar-wrap {
    display: flex;
    align-items: center;
    width: 466px;
    height: 48px;
    margin: auto;
    border-radius: 4px;
    font-weight: 300;
    overflow: hidden;
}

.btn-calendar-wrap button {
    height: 100%;
    color: #fff;
    font-weight: 300;
    font-size: var(--f18);
}

.btn-calendar-wrap .btn-select-day {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    gap: 0 14px;
    background: rgba(0, 0, 0, 0.80);
}

.btn-calendar-wrap .btn-move-reser {
    flex-grow: 1;
    background-color: var(--sub-color);
    min-width: 95px;
    max-width: 146px;
}

.m-notice-area {
    background-color: #e4e4e4;
    padding: 80px 100px 165px;
}

.m-title-area {
    width: 100%;
    text-align: left;
}

.m-title-area h4 {
    font-family: var(--font-en);
    font-size: var(--f20);
    color: #222433;
    padding-bottom: 20px;
}

.m-title-area h2 {
    font-weight: 700;
    font-size: var(--f40);
    text-transform: uppercase;
    line-height: 1.3em;
}

.m-title-area h2 b {
    display: block;
    font-weight: 500;
}

.main-title-area {
    width: 100%;
    text-align: center;
}

.main-title-area h4 {
    font-family: var(--font-en);
    font-size: var(--f20);
    color: #222433;
    padding-bottom: 20px;
}

.main-title-area h2 {
    font-weight: 700;
    font-size: var(--f40);
    text-transform: uppercase;
    line-height: 1.3em;
}

.main-title-area h2 b {
    display: block;
    font-weight: 500;
}

.main-title-area p {
    font-size: var(--f16);
    max-width: 460px;
    text-align: center;
    margin: 28px auto 0;
    color: #8b8b8b;
    line-height: 1.4em;
}

.m-visual-area {
    background-color: #e4e4e4;
    padding: 80px 100px 120px;
    position: relative;
}

.m-visual-area.wide {
    padding: 80px 0 120px;
}

.m-visual-area::before {
    content: '';
    position: absolute;
    top: -25px;
    right: 60px;
    background: url("/images/bg_club.svg") center center no-repeat;
    background-size: 898px 651px;
    width: 898px;
    height: 651px;
}

.m-visual-area.wide::before{
    display: none;
}

.visual-swiper {
    width: 100%;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-swiper .swiper-slide {
    width: 80%;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
}

.visual-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 52px;
    overflow: hidden;
    object-fit: cover;
}

.club-visual-area {
    position: relative;
    padding-top: 180px;
    margin: 50px 0 95px;
}

.club-visual-area::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.62);
    top: 0;
    left: 0;
}

.club-visual-area::after {
    content: 'FOUR SEVEN GEUMGANG COUNTRY CLUB';
    position: absolute;
    top: 18px;
    left: 14px;
    font-size: var(--f10);
}

.club-visual-scroll {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.club-visual-scroll li {
    position: relative;
    flex: 0 0 18%;
    min-width: 310px;
    height: 383px;
    border-radius: 24px;
    overflow: hidden;
    background: #FFF;
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.club-visual-scroll li h2 {
    font-size: var(--f20);
    font-weight: 600;
    padding: 33px 33px 0;
}

.club-visual-scroll li h4 {
    font-family: var(--font-en);
    font-size: var(--f12);
    padding: 8px 33px 28px;
    color: var(--main-color);
}

.club-visual-scroll li p {
    font-size: var(--f12);
    line-height: 1.5em;
    padding: 0 33px;
}

.club-visual-scroll li figure {
    width: 100%;
    height: 280px;
    position: absolute;
    bottom: 0;
}

.club-visual-scroll li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-visual-scroll li:first-child {
    color: #fff;
    background: var(--main-color);
}

.club-visual-scroll li:first-child h4 {
    color: #fff;
}

.club-visual-scroll::-webkit-scrollbar {
    height: 3px;
}

.club-visual-scroll::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}

.club-visual-scroll::-webkit-scrollbar-track {
    background: #ddd;
}

.club-slider-wrap {
    width: 100%;
    height: 1080px;
    position: relative;
}

.m-course-area {
    display: flex;
    flex-direction: column;
    padding: 90px clamp(1rem, -0.426rem + 6.0841vw, 6.875rem);
}

.m-course-area ul {
    display: flex;
    align-items: center;
    height: 498px;
    overflow: hidden;
}

.m-course-area ul li {
    flex: 1;
    flex-basis: 50%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-course-area ul li figure {
    width: 100%;
    height: 100%;
}

.m-course-area ul li figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-course-area ul li a {
    position: absolute;
    left: 0;
    bottom: 25px;
}

.m-course-area ul.reverse li a {
    left: auto;
    right: 0;
}

.m-course-area ul.reverse li a img {
    transform: rotateY(180deg);
}

.m-course-area ul:first-child figure img {
    border-radius: 25px 25px 25px 0;
}

.m-course-area ul:nth-of-type(2) figure img {
    border-radius: 25px 0 0 25px;
}

.m-course-area ul:last-child figure img {
    border-radius: 0 25px 25px 25px;
}

.map-area {
    position: relative;
    width: 100%;
}

#daumRoughmapContainer1760056014580 {
    width: 100%;
    height: 630px !important;
    position: relative;
}

#daumRoughmapContainer1760056014580 > div,
#daumRoughmapContainer1760056014580 iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.map-info {
    position: absolute;
    right: 160px;
    bottom: 140px;
    z-index: 5;
    background-color: #fff;
    width: 540px;
    height: 332px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #212429;
}

.map-info h1 {
    font-size: var(--f36);
    font-weight: 100;
    color: #999;
}

.map-info h2 {
    padding: 20px 0 15px;
    font-size: var(--f24);
    font-weight: 600;
}

.map-info p {
    font-size: var(--f20);
    line-height: 1.5em;
}

.map-info a {
    margin-top: 32px;
    font-weight: 400;
    color: #C8A445;
    text-decoration: underline;
}

/* 메인 팝업 */
.main-pop-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 10px;
}

.main-pop {
    position: relative;
    width: 100%;
    max-width: 1160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pop-swiper {
    position: relative;
    width: 100%;
}

.pop-swiper .swiper-slide {
    position: relative;
}

.pop-swiper .swiper-slide img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.main-pop .swiper-btn-prev,
.main-pop .swiper-btn-next {
    cursor: pointer;
}

.btn-pop-close {
    width: 100%;
    max-width: 1140px;
    text-align: right;
}

.btn-pop-close button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 400;
    font-size: var(--f18);
}


@media (max-width: 1200px) {
    .main-area {
        min-height: 670px;
    }

    .main-calendar-wrap {
        bottom: 120px;
        width: 90%;
    }

    .calendar-panel {
        padding: 20px;
    }

    .calendar-panel .main-calendar-box:last-child {
        display: none;
    }

    .auto-hide-arrow {
        display: block;
    }

    .btn-calendar-wrap {
        width: 100%;
    }

    .btn-calendar-wrap button {
        font-size: var(--f16);
    }

    .m-title-area h4 {
        font-size: var(--f12);
    }

    .m-title-area {
        padding: 0 16px;
    }

    .m-title-area h2 {
        font-size: var(--f28);
        word-break: keep-all;
    }

    .main-title-area h4 {
        font-size: var(--f12);
    }

    .main-title-area h2 {
        font-size: var(--f28);
        word-break: keep-all;
    }

    .main-title-area h2 b {
        font-weight: 500;
    }

    .main-title-area p {
        font-size: var(--f14);
        word-break: keep-all;
    }

    .visual-swiper .swiper-slide {
        width: 84%;
    }

    .visual-swiper .swiper-slide img{
        border-radius: 24px;
    }

    .m-visual-area {
        background-color: #e4e4e4;
        padding: 40px 16px 80px;
    }

    .m-visual-area.wide {
        padding: 40px 0 80px;
    }

    .m-visual-area::before {
        display: none;
    }

    .m-course-area {
        padding-top: 0;
    }

    .m-course-area ul {
        flex-direction: column;
        height: auto;
    }

    .m-course-area ul.reverse {
        flex-direction: column-reverse;
    }

    .m-course-area ul li {
        width: 100%;
        flex-basis: 346px;
    }

    .m-course-area ul li a {
        left: 50%;
        transform: translateX(-50%);
    }

    .m-course-area ul.reverse li a {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .m-course-area ul li a img {
        width: 38px;
        height: 38px;
    }

    .m-course-area ul.reverse li a img {
        transform: none;
    }

    .m-course-area ul figure img {
        border-radius: 25px !important;
    }

    .map-area {
        margin-bottom: 60px;
    }

    .map-info {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 25px;
        width: 85%;
        height: 223px;
        padding: 0 40px;
    }

    .map-info h1 {
        font-size: var(--f24);
    }

    .map-info h2 {
        padding: 15px 0;
        font-size: var(--f18);
    }

    .map-info p {
        font-size: var(--f16);
    }

    .map-info a {
        margin-top: 16px;
    }

    .club-visual-area {
        padding: 140px 16px 30px;
        margin: 20px 0;
    }

    .club-visual-area::before {
        left: 16px;
    }

    .club-visual-area::after {
        left: 30px;
    }

    .club-visual-scroll {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .main-title-area p {
        max-width: 80%;
    }
}