/***** Color Chart *****/
/*
Normal Text : #342f2d;
Hover Text : #093696;
*/
/***********************/

:root {
    --main-color: rgba(129, 29, 33, 1);
}

/* 스크롤 효과를 위한 애니메이션 설정 */
@keyframes scroll {
  0% { background-position: 0% 45%; }
  100% { background-position: 0% 80%; }
}

.main_body{
    background: linear-gradient(#FFFFFF, 95%, #F3FFD8);
}

section.main_hero_section {
    min-height: 800px;
}

.main_container {
    max-width: 1425px;
    width: 100%;
    margin: 0 auto;
}

.main_container.product {
    margin: auto;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 860px) {
    .main_container.product {
        padding: 50px 15px 120px !important;
        flex-direction: column;
    }
}

.product-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    padding: 120px 50px;
    gap: 40px;
}

.product-container-left {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
}

.product-container-right {
    flex: 0 0 100%;
    position: relative;
    display: flex;       /* 추가 */
    justify-content: flex-start;
    padding-left: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 300px;
    overflow: hidden;
    /*max-width: 70%;*/
}

.product-category-list {
    list-style: none;
    padding: 0;
    margin-top: 100px;
    flex-direction: column;
    gap: 10px;
}

.product-category-list li {
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(173, 173, 173, 1);
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.3s;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
}

.product-category-list li.active {
    background-color: #89A93E;
    color: #fff;
    border-color: #89A93E;
}
.product-category-list li:hover:not(.active) {
    background-color: #f5f5f5;
    color: #555;
}
.product-category-list .arrow {
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    margin-left: 40px;
}

.board_group_title {
    font-weight: 600;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 50px;
}

@media screen and (max-width: 860px) {
    .product-category-list {
        list-style: none;
        padding: 0;
        margin-top: 0;
        flex-direction: row;
        gap: 0;
    }

    .product-category-list li {
        font-size: 14px;
    }

    .product-category-list .arrow {
        font-size: 14px;
        margin-left: 3px;
    }
}

/* 카드 스타일 */
.product-card {
    width: 430px;
    height: 550px;
    background: #fff;
    border-radius: 70px;
    box-shadow: 0px 10px 30px 0px #00000026;
    padding: 20px;
    text-align: center;
}

.product-swiper {
    width: 430px;
    overflow: visible !important;
}

.product-swiper .swiper-slide {
    width: 430px;
    height: 550px; !important;
    align-content: center;
    cursor: pointer;
    overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--main-color);
}

@media screen and (max-width: 640px) {
    .product-category-list li {
        font-size: 12px;
        border-radius: 14px;
        padding: 10px 6px;
    }

    .product-category-list .arrow {
        display: none;
    }
}
.main_guide_section {
    min-height: revert;
    margin-bottom: 150px;
}

.guide-grid {
    display: flex;
    gap: 30px;
    margin-left: 25px;
}

.guide-large:hover, .guide-small:hover {
    scale: calc(1.05);
}

.guide-right-col {
    width: 100%;
    gap: 30px;
    display: flex;
    flex-direction: row;
}

.guide-item.guide-small {
    width: 50%;
    height: 170px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
    background: #89A93E;
    border-radius: 25px;
    color: #FFFFFF;
    overflow: hidden;
}

@media screen and (max-width: 840px) {
    .guide-right-col {
        flex-direction: column;
    }
}

.guide-large-text {
    position: absolute;
    bottom: 40px;
    left: 50px;
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    color: rgba(255, 255, 255, 1);
}

.main-btn-div {
    position: absolute;
    right: 10px;
    bottom: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    height: 48px;
}

.more-btn {
    width: 48px;
    border-radius: 50%;
}

.guide-content {
    display: flex;
    position: absolute;
    left: 50px;
    justify-content: space-between;
    height: 100%;
    z-index: 1;
    gap: 50px;
}

.guide-tag {
    width: fit-content;
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
    align-content: center;
}

.guide-title {
    font-weight: 600;
    font-size: 20px;
    align-content: center;
    line-height: 30px;
}

.guide-title-content{
    font-weight: 300;
    font-size: 20px;

}

.main_guide_pink_img {
    position: absolute;
    width: 26%;
    max-width: 207px;
    left: 57%;
    bottom: -2px;
}

.main_guide_badge_img {
    position: absolute;
    width: 100%;
    max-width: 330px;
    left: 40%;
    filter: opacity(50%);
    top: -10%;
}

.main_shop_badge {
    max-width: 110px;
    max-height: 88px;
    align-self: center;
}

@media screen and (max-width : 840px) {
    .guide-grid {
        margin-left: 0;
        flex-direction: column;
    }

    .guide-item.guide-large {
        max-width: revert;
        height: 235px;
    }
}

@media screen and (max-width : 640px) {
    .guide-large-text {
        bottom: 25px;
        left: 27px;
    }

    .guide-title {
        font-size: 22px;
        line-height: 33px;
    }

    .main_guide_pink_img {
        left: 63%;
        align-self: anchor-center;
    }

    .main_guide_badge_img {
        left: 66%;
    }

    .guide-content {
        left: 25px;
    }
}

/****************** Product Group **********************/
.main_product_category {
    width: 100%;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 25px;
}

.main_product_category li,
.main_product_category button {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    margin-right: 15px;

    font-weight: 600;
    font-size: 20px;
    color: var(--main-color);
}

.main_product_category button.tab-link {
    padding: 10px 25px 8px;

    background-color: transparent;
    border-radius: 22.5px;
    outline: none;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);

    transition: border 0.3s;
}

.product-link {
    background-color: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.product_group {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 500px;
}

.product_group_area {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 70%;

    animation: fadeIn 0.5s;
}

.product_group_txt {
    display: inline-flex;
    flex-direction: column;
    width: 60%;
}

.product_group_title {
    font-family: 'GongGothicLight';
    font-size: 55px;
    font-weight: 800;
    word-break: keep-all;
}

.product_group_desc {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}

.product_group_txt a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;

    font-weight: 200;
}

.product_group_txt a svg {
    width: 50px;
    height: 50px;
    padding: 10px;
    fill: black;
    border: 1px solid black;
    border-radius: 100px;
}

.product_group_img {
    position: relative;
    z-index: -1;
    display: inline-flex;
    width: 50%;
    margin: auto 50px;
    justify-content: center;
    align-items: center;

    animation-delay: 1s;
    animation: fadeIn 0.5s;
}

.product_group_img img{
    max-width: 500px;
    max-height: 500px;
}

/* 필터로 숨긴 슬라이드 */
.product-swiper .swiper-slide.filtered-out {
    display: none !important;
}

.product-swiper .swiper-slide:hover {
    scale: calc(1.05);
}

section.main_hero_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 0 0 250px 0;
}

.main_bg_img{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0 0 250px 0;
    inset: 0;
    object-fit: cover;
    object-position: center 40%;
    z-index: 0;
}

.main_hero_section_content {
    width: 100%;
    height: 930px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 0 250px 0;
    z-index: 2;
}

@media screen and (max-width: 1500px) {
    .main_hero_section_content {
        padding: 0 15px;
    }
}

@media screen and (max-width: 640px) {
    .main_hero_section_content {
        border-radius: 0;
    }
}

span.main_hero_section_title {
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
    color: rgba(255, 255, 255, 1);
    max-width: 1260px;
    width: 100%;
    word-break: keep-all;
}

span.main_hero_section_description {
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    color: rgba(255, 255, 255, 1);
    max-width: 1260px;
    width: 100%;
    margin-top: 45px;
    word-break: keep-all;
}

@media screen and (max-width: 830px) {
    span.main_hero_section_title {
        font-size: 50px;
        line-height: 80px;
    }

    span.main_hero_section_description {
        font-size: 20px;
    }
}

@media screen and (max-width: 640px) {
    span.main_hero_section_title {
        font-size: 36px;
        line-height: 60px;
    }

    span.main_hero_section_description {
        font-size: 20px;
    }
}

section.main_menu_section {
    min-height: revert;
    flex-direction: row;
}

.main_menu_company {
    /*max-width: 640px;*/
    /*max-height: 640px;*/
    aspect-ratio: 1 / 1;
    width: -webkit-fill-available;
    display: flex;
    background: url("/img/main_menu1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.main_menu_company::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(137, 169, 62, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main_menu_company:hover::before {
    opacity: 1;
}

.main_menu_product {
    /*max-width: 640px;*/
    /*max-height: 640px;*/
    aspect-ratio: 1 / 1;
    width: -webkit-fill-available;
    display: flex;
    background: url("/img/main_menu2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.main_menu_product::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(137, 169, 62, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main_menu_product:hover::before {
    opacity: 1;
}

.main_menu_development {
    /*max-width: 640px;*/
    /*max-height: 640px;*/
    aspect-ratio: 1 / 1;
    width: -webkit-fill-available;
    display: flex;
    background: url("/img/main_menu3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.main_menu_development::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(137, 169, 62, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main_menu_development:hover::before {
    opacity: 1;
}

span.main_menu_text {
    font-weight: 700;
    font-size: 45px;
    line-height: 65px;
    text-align: center;
    z-index: 1;
    color: rgba(0, 0, 0, 1);
}

@media screen and (max-width: 640px) {
    section.main_menu_section {
        flex-direction: column;
    }

    .main_menu_company {
        height: 200px;
    }

    .main_menu_product {
        height: 200px;
    }

    .main_menu_development {
        height: 200px;
    }
}

.main_container {
    max-width: 1500px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1500px) {
    .main_container {
        padding: 0 15px;
    }
}

/*.main_news_section{*/
/*    background: linear-gradient(#FFFFFF, 90%, #F3FFD8);*/
/*}*/

.main_section_title_wrap{
    margin-bottom: 45px;
}

span.main_section_title {
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: rgba(137, 169, 62, 1);
}

.main_swiper_text_box {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
    margin-bottom: 45px;
}

span.main_swiper_text {
    font-weight: 700;
    font-size: 45px;
    line-height: 65px;
}

.swiper_button_wrapper {
    display: flex;
    gap: 20px;
}

button.swiper_prev_button, button.swiper_next_button {
    width: 60px;
    height: 60px;
    border-width: 1px;
    border: 1px solid rgba(0, 0, 0, 1);
    background: none;
}

div#productSwiper {
    width: 470px;
}

.swiper-slide.product-card {
    width: 470px;
    height: 470px;
    border-radius: 50px;
    position: relative;
    background: rgba(248, 248, 248, 1);
    align-content: center;
    text-align: center;
    padding: 0;
}

.swiper-slide.product-card img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.product-card-text {
    font-weight: 700;
    font-size: 45px;
    line-height: 65px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    place-self: anchor-center;
    color: rgba(255, 255, 255, 1);
    z-index: 1;
}

.swiper-slide.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgba(137, 169, 62, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide.product-card:hover {
    scale: 1.05;
    transition: all 0.3s ease;
}

.swiper-slide.product-card:hover::before {
    opacity: 1;
}

.swiper-slide.product-card:hover .product-card-text {
    opacity: 1;
}

section.main_gallery_section {
    background: linear-gradient(166.52deg, #FCF8F5 46.59%, #FFE5CE 116.16%);
}

div#gallerySwiper {
    width: 470px;
    min-height: 530px;
}

.swiper-slide.gallery-card {
    width: 470px;
    height: 400px;
    border-radius: 50px;
    position: relative;
    background: rgba(248, 248, 248, 1);
}

.swiper-slide.gallery-card:hover {
    scale: 1.05;
    transition: all 0.3s ease;
}

.swiper-slide.gallery-card img {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    position: relative;
    background: rgba(248, 248, 248, 1);
    object-fit: cover;
    object-position: center;
}

.main_swiper_text_box.news {
    margin-bottom: 60px;
}

.main_news_tab_buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.main_news_tab_button_wrapper {
    display: flex;
    gap: 20px;
}

.main_news_tab_button {
    width: 200px;
    height: 60px;
    border-radius: 30px;
    border: 1.5px solid rgba(137, 169, 62, 1);
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    align-content: center;
    color: rgba(137, 169, 62, 1);
}

.main_news_tab_button.active {
    color: white;
    background-color: #89A93E;

}

div#newsSwiper {
    width: 360px;
}

.swiper-slide.news-card {
    width: 360px;
    height: 240px;
    box-shadow: 0px 5px 15px 0px rgba(61, 4, 6, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 1);
}

.swiper-slide.news-card:hover {
    scale: 1.05;
    transition: all 0.3s ease;
}

span.news-card-type {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: rgba(137, 169, 62, 1);
    margin-bottom: -30px;
}

span.news-card-title {
    font-weight: 600;
    font-size: 25px;
    /*line-height: 25px;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

span.news-card-date {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: rgba(177, 177, 177, 1);
}

@media screen and (max-width: 840px) {
    span.main_swiper_text {
        font-size: 36px;
    }

    .swiper-slide.gallery-card {
        width: 400px !important;
    }
}

@media screen and (max-width: 640px) {

    .main_swiper_text_box {
        flex-direction: column;
        gap: 10px;
    }

    span.main_swiper_text {
        font-size: 25px;
        line-height: 34px;
        word-break: keep-all;
    }

    .swiper_button_wrapper {
        gap: 6px;
        align-self: self-end;
    }

    button.swiper_prev_button, button.swiper_next_button {
        height: 34px;
        width: 34px;
    }

    button.swiper_prev_button svg, button.swiper_next_button svg {
        width: 15px;
    }

    div#productSwiper {
        width: 100%;
    }

    div#gallerySwiper {
        width: 100%;
    }

    div#newsSwiper {
        width: 100%;
    }

    .swiper-slide.product-card {
        width: 100% !important;
        height: revert !important;
        aspect-ratio: 1 / 1 !important;
    }

    .swiper-slide.gallery-card {
        width: 100% !important;
        height: revert !important;
        aspect-ratio: 1 / 1 !important;
    }

    .swiper-slide.news-card {
        width: 100% !important;
    }

    .main_swiper_text_box.news {
        margin-bottom: 20px;
    }

    .main_news_tab_buttons {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
}

.swiper-button-lock {
    display: revert !important;
}