@charset "utf-8";
img {
    height: auto;
}
#beef {
    background-image: url(../img/bg.png);
    padding: 100px 0;
}
#beef .area-title {
    margin-bottom: 60px;
    font-weight: 500;
}
.beef-flex {
    display: flex;
    gap: 60px;
    justify-content: center;

}
.slid.active {
    display: block;
    opacity: 1;
    animation: active 0.4s ease-in-out;
}
@keyframes active {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.slid {
    display: none;
    opacity: 0;
    width: 100%;
    transition: opacity 0.4s ease-in-out;
    border: rgba(255, 215, 128, 0.7) solid 1px;
    color: white;
}
.slid img {
    width: 100%;
    height: auto;
    display: block;
}
.beef-slid {
    width: 45%;
}
.slid-img {
    position: relative;
    margin-bottom: 20px;
    border-radius: 2px;
    width: 100%;
    overflow: hidden;
}

.sub-img {
    display: flex;
    gap: 10px;
    color: white;
}
.sub-img img {
    width: 32%;
    aspect-ratio: 3/2;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 50;
}
.sub-slid.active,
.sub-slid:hover {
    transform: translateY(-3px);
    border: rgba(255, 215, 128, 0.7) solid 3px;
    filter: none;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 50px;
    cursor: pointer;
    z-index: 50;
}
.arrow-left {
    left: -5px;
}
.arrow-left::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    border-left: 5px solid rgba(255, 198, 109, 0.9);
    border-bottom: 5px solid rgba(255, 198, 109, 0.9);
    transform: translateY(-50%) rotate(45deg);
}
.arrow-right {
    right: 10px;
}
.arrow-right::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    border-right: 5px solid rgba(255, 198, 109, 0.9);
    border-bottom: 5px solid rgba(255, 198, 109, 0.9);
    transform: translateY(-50%) rotate(-45deg);
}
.dots {
    display: flex;
    position: absolute;
    gap: 12px;
    left: 42%;
    bottom: 4%;
    z-index: 50;
}
.dot {
    width: 12px;
    height: 12px;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}
.dot.active {
    transform: scale(1.3);
    background: rgba(255, 198, 109, 0.9);
}
.dot.active:hover {
    transform: scale(1.3);
    background: rgba(255, 198, 109, 0.9);
}
.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}
.beef-text {
    width: 50%;
    padding: 30px 0;
}
.beef-text h3 {
    font-weight: 300;
    color: rgba(255, 215, 128, 0.7);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.beef-text p {
    color: #ffffffc4;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    line-height: 1.8;
    width: 85%;
}
.text1 {
    margin-bottom: 40px;
}
.text2 {
    margin-bottom: 40px;
}

@media screen and (max-width: 743px) {
    #beef {
        background-size: cover;
    }
    #beef .area-title {
        text-align: center;
    }
    .beef-flex {
        flex-direction: column;
        margin: 0 5%;
    }
    .beef-slid {
        width: 100%;
    }
    .beef-text {
        width: 100%;
        padding: 40px 0;
    }
    .slid {
        border: none;
    }
    .sub-img {
        gap: 10px;
    }
    .sub-img img {
        width: 32%;
    }
    .arrow-right::before {
        width: 10px;
        height: 10px;
        border-right: 3px solid rgba(255, 198, 109, 0.9);
        border-bottom: 3px solid rgba(255, 198, 109, 0.9);
    }
    .arrow-left {
        left: -18px;
    }
    .arrow-left::before {
        width: 10px;
        height: 10px;
        border-left: 3px solid rgba(255, 198, 109, 0.9);
        border-bottom: 3px solid rgba(255, 198, 109, 0.9);
    }
    .dots {
        left: 41%;
        bottom: 9%;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .beef-text p {
        font-size: 0.8rem;
        width: 100%;
    }
    .beef-text {
        width: 100%;
    }
    .beef-text h3 {
        font-weight: 300;
        color: rgba(255, 215, 128, 0.7);
        font-size: 0.95rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }
}