@charset "UTF-8";

.top-desc {
    position: relative;
    padding: 10rem 0;
    padding-bottom: 40rem;
    z-index: 0;
    line-height: 2.5;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;

    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
      text-align: left;
      padding-bottom: 35rem;
      text-align: center;
      padding-top: 6rem;
    }
}

.sec-benefit {
    /* background-color: #f3f3f3; */
    padding-top: 40rem;
    padding-bottom: 15rem;

    .inner {
        display: flex;
        gap: 11rem;
        margin-top: -65rem;
        
        @media screen and (max-width: 767px) {
          flex-direction: column;
          gap: 3rem;
        }
    }

    .bnf-list{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 3.3rem;

        @media screen and (max-width: 767px) {
          grid-template-columns: 1fr;
        }

        .bnf-item{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3rem;
            background-color: #fff;
            padding: 4.5rem;
            border-radius: 10px;
            height: 39rem;

            @media screen and (max-width: 767px) {
              gap: 2rem;
              height: auto;
            }
        
            .bnf-title{
                font-size: 2.2rem;
                font-weight: bold;
                color: #7A5B3A;

                @media screen and (max-width: 767px) {
                  font-size: 1.8rem;
                }
            
            }
            .bnf-img{
                min-height: 12rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                flex: 0 0 14rem;

                @media screen and (max-width: 767px) {
                    width: 8rem;
                    flex: 0 0 auto;
                }
            
            }
            .bnf-detail {
                font-size: 1.6rem;
                line-height: 1.8;
                display: flex;
                flex: 1;

                @media screen and (max-width: 767px) {
                  font-size: 1.4rem;
                }
                
            }
        }
}

}

.sec-event {

      .inner {
        display: flex;
        gap: 11rem;
        
        @media screen and (max-width: 767px) {
          flex-direction: column;
          gap: 3rem;
        }
    }

    .event-list{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 3.3rem;

        @media screen and (max-width: 767px) {
          grid-template-columns: 1fr;
        }


        .event-item{
            display: flex;
            flex-direction: column;
            gap: 2rem;
        
            .item-img-box{
            
            }
            .item-content-box{
                display: flex;
                justify-content: space-between;
            
                .title{
                    font-size: 2rem;
                    font-weight: bold;
                
                }
                .item-btn{
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 3.2rem;
                    height: 3.2rem;
                    border-radius: 50%;
                    box-shadow: 0 0 10px rgba(0,0,0,.3);
                    cursor: pointer;
                    transition: all .3s;

                    &:hover {
                        opacity: .7;
                    }
                
                }
            }
        }
}

}

/* Event Modal */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    &.is-open {
        display: block;
    }

    .event-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .event-modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        max-width: 90rem;
        width: 90%;
        max-height: 90vh;
        overflow: auto;
        padding: 6rem;

        @media screen and (max-width: 767px) {
          padding: 3rem;
        }

    }

    .event-modal-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 4rem;
        height: 4rem;
        background: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1;
        transition: opacity .3s;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 10px rgba(0,0,0,.2);

        &:hover {
            opacity: .7;
        }

        img {
            width: 1.6rem;
            height: 1.6rem;
            transform: rotate(45deg);
        }
    }

    .event-modal-inner {
        display: flex;

        @media screen and (max-width: 767px) {
            flex-direction: column;
        }
    }

    .event-modal-img {
        flex-shrink: 0;
        width: 50%;

        @media screen and (max-width: 767px) {
            width: 100%;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .event-modal-info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 4rem;

        @media screen and (max-width: 767px) {
            padding: 2rem;
        }
    }

    .event-modal-title {
        font-size: 2.4rem;
        font-weight: bold;

        @media screen and (max-width: 767px) {
          font-size: 1.8rem;
        }
    }

    .event-modal-desc {
        font-size: 1.6rem;
        line-height: 1.8;

        @media screen and (max-width: 767px) {
          font-size: 1.4rem;
        }
    }
}