@charset "utf-8";

:root {
    --main-color: #876445;
    --main-font: "Noto Serif KR", serif;
    --section-margin: 200px;
    --section-padding: 180px;
    --font-size_48: 4.8rem;
    --font-size_40: 4.0rem;
    --font-size_38: 3.8rem;
    --font-size_34: 3.4rem;
    --font-size_28: 2.8rem;
    --font-size_26: 2.6rem;
    --font-size_22: 2.2rem;
    --font-size_20: 2.0rem;
    --font-size_18: 1.8rem;

}

@media (max-width:1024px) {
    :root {
        --section-margin: 140px;
        --section-padding: 120px;
        --font-size_48: 4rem;
        --font-size_40: 3.4rem;
        --font-size_38: 3.2rem;
        --font-size_34: 2.6rem;
        --font-size_28: 2.4rem;
        --font-size_26: 2.2rem;
        --font-size_22: 2rem;
        --font-size_20: 1.8rem;
        --font-size_18: 1.6rem;
    }
}

@media (max-width:768px) {
    :root {
        --section-margin: 100px;
        --section-padding: 80px;
        --font-size_48: 3.4rem;
        --font-size_40: 3rem;
        --font-size_38: 2.8rem;
        --font-size_34: 2.2rem;
        --font-size_28: 2rem;
        --font-size_26: 1.8rem;
        --font-size_22: 1.7rem;
        --font-size_20: 1.6rem;
        --font-size_18: 1.5rem;
    }
}


body.main {

    .tit {
        color: var(--main-color);
        text-align: center;
        font-size: var(--font-size_22);
        font-family: "Noto Serif KR", serif;
        position: relative;
        padding-bottom: 30px;
        line-height: 2;
        margin-bottom: 100px;
    }

    .tit:after {
        content: '';
        width: 1400px;
        height: 1px;
        background: #ccc;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }

    h3 {
        font-size: 38px;
        color: var(--main-color);
        font-family: "Noto Serif KR", serif;
        font-weight: 500;
    }

    h3+p {
        font-size: var(--font-size_22);
        color: #222;
        padding-top: 5px;
        line-height: 1.5;
    }

    span.color_b {
        color: #222;
    }

    @media (max-width:1450px) {
        .tit {
            margin: 0 5% 70px;
        }

        .tit:after {
            content: '';
            width: 100%;
            height: 1px;
            background: #ccc;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;

        }
    }

    @media (max-width:1024px) {
        .tit {
            padding-bottom: 30px;
        }

        h3 {
            font-size: 32px;
        }
    }

    @media (max-width:768px) {
        .tit {
            padding-bottom: 30px;
            margin: 0 5% 50px;
        }

        h3 {
            font-size: 26px;
        }
    }


    /* .mv */
    .mv {
        /* background: url(../img/main/mv.jpg) no-repeat center/cover; */
        color: #fff;
        text-align: center;
        /* padding-top: 380px; */
        position: relative;
    }

    .mv::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 99.5%;
        /*메인 밑에 여백 지우면 100%로 수정해주삼*/
        background: rgb(111 80 51 / 48%);
    }

    .mv .main_video {
        width: 100vw;
    }

    .mv .txt {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9;
    }

    .mv .txt div {
        font-family: "Noto Serif KR", serif;
        font-size: var(--font-size_26);
        font-weight: 200;
        letter-spacing: 5px;
    }

    .mv .txt h2 {
        font-family: "Noto Serif KR", serif;
        font-size: var(--font-size_48);
        margin: 20px 0 60px;
        font-weight: 500;
    }

    .mv .txt p {
        font-size: var(--font-size_20);
    }

    @media (max-width:768px) {
        .mv {
            height: 80vh;
            margin-bottom: 0;
        }

        .mv .main_video {
            height: 100%;
            object-fit: cover;
        }


    }



    /* .intro */
    .intro {
        padding: 150px 0;
    }

    .intro .con {
        display: flex;
        margin-bottom: 120px;
    }

    .intro .con:last-child {
        margin-bottom: 0;
    }

    .intro ul.con:nth-of-type(even) {
        display: flex;
        flex-direction: row-reverse;
    }

    .intro .txt {
        width: 50%;
    }

    .intro .pic {
        width: 50%;
        height: 700px;

        >img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .intro .txt {
        margin: auto 0;
        width: 50%;
    }

    .intro .txt .inner {
        width: 700px;
        margin: 0 0 0 auto;
    }

    .intro .txt p:nth-of-type(1) {
        color: var(--main-color);
        font-family: "Noto Serif KR", serif;
        font-size: 38px;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .intro .txt p:nth-of-type(2) {
        color: #818181;
        line-height: 1.8;
        font-size: var(--font-size_18);
    }

    @media (max-width:1400px) {
        .intro {
            padding: 100px 0;
        }

        .intro .pic {
            width: 50%;
            height: 700px;
        }

        .intro .con {
            display: flex;
            margin-bottom: 80px;
        }

        .intro .txt .inner {
            width: 100%;
            margin: 0;
            padding: 0 5%;
        }
    }

    @media (max-width:1024px) {
        .intro {
            padding: 80px 0;
        }

        .intro .con {
            display: flex;
            margin-bottom: 60px;
        }

        .intro .con:last-child {
            margin-bottom: 0;
        }

        .intro ul.con:nth-of-type(even) {
            display: flex;
            flex-direction: row-reverse;
        }

        .intro .txt {
            width: 50%;
        }

        .intro .pic {
            width: 50%;
            height: 500px;
        }

        .intro .txt {
            display: block;
            margin: auto 0;
        }

        .intro .txt .inner {
            width: 100%;
            margin: 0;
            padding: 0 5%;
        }

        .intro .txt p:nth-of-type(1) {
            font-size: 32px;
        }

        .intro .txt p:nth-of-type(2) {
            color: #818181;
            line-height: 1.8;
            font-size: var(--font-size_18);
        }
    }

    @media (max-width:768px) {
        .intro .con {
            flex-direction: column-reverse;
            margin-bottom: 40px;
        }

        .intro ul.con:nth-of-type(even) {
            flex-direction: column-reverse;
        }

        .intro .txt {
            width: 100%;
            margin-top: 20px;
        }

        .intro .txt p:nth-of-type(1) {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .intro .pic {
            width: 100%;
            height: 280px;
        }

        .intro .pic img {
            width: 100%;
        }
    }


    /* .signature */

    .signature {
        margin-bottom: var(--section-margin);
    }

    .signature ul {
        display: flex;
        gap: 5px;
    }

    .signature ul li {
        width: calc((100% - 60px)/7);
        overflow: hidden;
        position: relative;
        height: 600px;
        transition: all .7s;
    }

    .signature ul li.active {
        width: calc(100%/3);
    }

    .signature ul li>div {
        width: 100%;
        height: 100%;
    }

    .signature ul li div::before {
        content: '';
        width: 100%;
        height: 100%;
        background: rgba(157, 114, 83, .3);
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
    }

    .signature ul li div img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* transition: all .5s; */
        position: relative;
        display: block;
        filter: brightness(.6);
    }

    .signature ul li.active img {
        /* transform: scale(1.15); */
        filter: brightness(1);
    }

    .signature ul li p {
        display: none;
        transition: all .5s;
        font-size: var(--font-size_28);
        color: #fff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        text-align: center;
        font-family: "Noto Serif KR", serif;
        z-index: 2;
    }

    .signature ul li.active p {
        display: block;
    }

    @media (max-width:1024px) {
        .signature {
            margin-bottom: var(--section-margin);
        }

        .signature ul {
            display: flex;
            gap: 5px;
        }

        .signature ul li {
            width: calc((100% - 60px)/7);
            overflow: hidden;
            position: relative;
            height: 400px;
            transition: all .7s;
        }

        .signature ul li.active {
            width: calc(100%/3);
        }

        .signature ul li>div {
            width: 100%;
            height: 100%;
        }

        .signature ul li div::before {
            content: '';
            width: 100%;
            height: 100%;
            background: rgba(157, 114, 83, .3);
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
        }

        .signature ul li div img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* transition: all .5s; */
            position: relative;
            display: block;
            filter: brightness(.6);
        }

        .signature ul li.active img {
            /* transform: scale(1.15); */
            filter: brightness(1);
        }

        .signature ul li p {
            display: none;
            transition: all .5s;
            font-size: var(--font-size_28);
            color: #fff;
            text-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            text-align: center;
            font-family: "Noto Serif KR", serif;
            z-index: 2;
        }

        .signature ul li.active p {
            display: block;
        }
    }

    @media (max-width:768px) {
        .signature {
            margin-bottom: var(--section-margin);
        }

        .signature ul {
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .signature ul li {
            width: 100%;
            overflow: hidden;
            position: relative;
            height: 70px;
            transition: all .7s;
        }

        .signature ul li.active {
            width: 100%;
        }

        .signature ul li>div {
            width: 100%;
            height: 100%;
        }

        .signature ul li div::before {
            content: '';
            width: 100%;
            height: 100%;
            background: rgba(157, 114, 83, .3);
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
        }

        .signature ul li div img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: relative;
            display: block;
            filter: brightness(1);
        }

        .signature ul li.active img {

            filter: brightness(1);
        }

        .signature ul li p {
            display: block;
            transition: all .5s;
            font-size: var(--font-size_28);
            color: #fff;
            text-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            text-align: center;
            font-family: "Noto Serif KR", serif;
            z-index: 2;
        }

        .signature ul li.active p {
            display: block;
        }
    }



    /* equipments */
    .equipments {
        margin-bottom: var(--section-margin);
    }

    .equipments .swiper {
        width: 100%;
        position: relative;
    }

    .equipments .swiper::before {
        content: '';
        width: 100%;
        height: 340px;
        background: #ece5de;
        left: 0;
        bottom: 0;
        position: absolute;
    }

    .equipments .swiper .swiper-slide {
        text-align: center;

        img {
            width: 100%;
            transform: scale(.8);
            transition: all .5s;
        }
    }

    .equipments .swiper .swiper-slide p {
        font-size: 22px;
        margin: 30px 0 100px;
        padding: 5px 20px;
        background: var(--main-color);
        border-radius: 30px;
        display: inline-block;
        color: #fff;
    }

    .equipments .swiper .swiper-slide-active img {
        transform: scale(.95);
    }

    @media (max-width: 768px) {

        .equipments .swiper::before {
            height: 220px;
        }

        .equipments .swiper .swiper-slide {
            img {
                transform: scale(.8);
            }
        }

        .equipments .swiper .swiper-slide p {
            font-size: 16px;
            margin: 30px 0 50px;
            padding: 5px 20px;
        }

        .equipments .swiper .swiper-slide-active img {
            transform: scale(1);
        }
    }



    /* #interior */
    .interior {
        position: relative;
        margin-bottom: var(--section-margin);
    }

    .interior .swiper {
        width: 1400px;
        height: 700px;
        overflow: hidden;
        margin: 0 auto;
        position: relative;
    }

    .interior .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .interior .swiper-pagination-bullet-active {
        background: var(--main-color);
        width: 20px;
        border-radius: 8px;
    }

    .interior .swiper-button-prev {
        width: 40px;
        height: 40px;
        background-color: var(--main-color);
        background-image: none;
        border-radius: 100%;
        left: 30px;
    }

    .interior .swiper-button-next {
        width: 40px;
        height: 40px;
        background-color: var(--main-color);
        background-image: none;
        border-radius: 100%;
        right: 30px;
    }

    .interior .swiper-button-prev::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        transform: translate(-30%, -50%) rotate(-45deg);
        border-left: 2px solid #fff;
        border-top: 2px solid #fff;
    }

    .interior .swiper-button-next::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        transform: translate(-70%, -50%) rotate(45deg);
        border-right: 2px solid #fff;
        border-top: 2px solid #fff;
    }

    @media (max-width: 1450px) {
        .interior .swiper {
            width: 80%;
            height: 700px;
            overflow: hidden;
            margin: 0 10%;
            position: relative;
        }
    }


    @media (max-width: 1024px) {
        .interior {
            position: relative;
            margin-bottom: var(--section-margin);
        }

        .interior .swiper {
            width: 80%;
            height: 500px;
            overflow: hidden;
            margin: 0 10%;
            position: relative;
        }

        .interior .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .interior .swiper-pagination-bullet-active {
            background: var(--main-color);
            width: 20px;
            border-radius: 8px;
        }

        .interior .swiper-button-prev {
            width: 40px;
            height: 40px;
            background-color: var(--main-color);
            background-image: none;
            border-radius: 100%;
            left: 30px;
        }

        .interior .swiper-button-next {
            width: 40px;
            height: 40px;
            background-color: var(--main-color);
            background-image: none;
            border-radius: 100%;
            right: 30px;
        }

        .interior .swiper-button-prev::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: 10px;
            height: 10px;
            transform: translate(-30%, -50%) rotate(-45deg);
            border-left: 2px solid #fff;
            border-top: 2px solid #fff;
        }

        .interior .swiper-button-next::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: 10px;
            height: 10px;
            transform: translate(-70%, -50%) rotate(45deg);
            border-right: 2px solid #fff;
            border-top: 2px solid #fff;
        }
    }

    @media (max-width: 768px) {
        .interior {
            position: relative;
            margin-bottom: var(--section-margin);
        }

        .interior .swiper {
            width: 90%;
            height: 250px;
            margin: 0 5%;
        }

        .interior .swiper-button-prev {
            width: 30px;
            height: 30px;
            left: 15px;
        }

        .interior .swiper-button-next {
            width: 30px;
            height: 30px;
            right: 15px;
        }

        .interior .swiper-button-prev::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: 7px;
            height: 7px;
            transform: translate(-30%, -50%) rotate(-45deg);
            border-left: 2px solid #fff;
            border-top: 2px solid #fff;
        }

        .interior .swiper-button-next::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: 7px;
            height: 7px;
            transform: translate(-70%, -50%) rotate(45deg);
            border-right: 2px solid #fff;
            border-top: 2px solid #fff;
        }
    }



    /* .belief */
    .belief {
        background: url(../img/main/belief_bg.jpg) no-repeat fixed;
        text-align: center;
        padding: 50px 0;
        color: var(--main-color);
        position: relative;
        overflow: hidden;
    }

    .belief .txt {
        content: '';
        height: 100%;
        width: 100%;
        margin: auto 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .belief .circle {
        width: 37vw;
        height: 37vw;
        border-radius: 1000px;
        background: #f6f2ee;
        margin: 0 auto;
        transition: all 1s;
        transform: scale(3.1);
        opacity: .5;
    }

    .belief:hover .circle {
        transform: scale(1);
        opacity: 1;
    }


    .belief .line {
        width: 25vw;
        height: 1px;
        background: #ccc;
        margin: 0 auto;
    }

    .belief p {
        font-size: var(--font-size_18);
    }

    .belief p span {
        font-weight: 700;
    }

    @media (max-width: 1024px) {
        .belief {
            background: url(../img/main/belief_bg.jpg) no-repeat fixed;
            text-align: center;
            padding: 50px 0;
            color: var(--main-color);
            position: relative;
            overflow: hidden;
        }

        .belief .txt {
            content: '';
            height: 100%;
            margin: auto 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 50px;
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .belief .circle {
            width: 45vw;
            height: 45vw;
            border-radius: 1000px;
            background: #f6f2ee;
            margin: 0 auto;
            transition: all 1s;
            transform: scale(3.1);
            opacity: .5;
        }

        .belief:hover .circle {
            transform: scale(1);
            opacity: 1;
        }

        .belief .line {
            width: 25vw;
            height: 1px;
            background: #ccc;
            margin: 0 auto;
        }

        .belief p {
            font-size: var(--font-size_18);
        }

        .belief p span {
            font-weight: 700;
        }
    }

    @media (max-width: 768px) {
        .belief {
            height: 450px;
        }

        .belief .txt {
            gap: 30px;
        }

        .belief .line {
            width: 50vw;
        }

        .belief .circle {
            width: 0;
            height: 0;
        }
    }
}