/* レシピスライダーのスタイル */
.sec-recipe {
    background-color: #f8f8f8;
    padding: 60px 0;
    position: relative;
}

.recipe-slider {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.recipe-season {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.recipe-season.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.season-title {
    font-size: 24px;
    font-weight: bold;
    color: #2a7d7d;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.season-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2a7d7d;
    margin: 10px auto 0;
}

.recipe-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.recipe-item {
    width: calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.recipe-item:hover {
    transform: translateY(-5px);
}

.recipe-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.recipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-item:hover .recipe-img img {
    transform: scale(1.05);
}

.recipe-content {
    padding: 20px;
}

.recipe-month {
    display: inline-block;
    background-color: #2a7d7d;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.recipe-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.recipe-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.recipe-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.recipe-nav-btn {
    background-color: #2a7d7d;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.recipe-nav-btn:hover {
    background-color: #1d5c5c;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recipe-items {
        flex-direction: column;
        gap: 20px;
    }
    
    .recipe-item {
        width: 100%;
    }
}
