* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #fafafa 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(to right, #000000 0%, #1a1a1a 25%, #2d2d2d 50%, #404040 75%, #555555 100%);
    padding: 1.2rem 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #dc143c;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #dc143c;
    transform: translateY(-2px);
}

.hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #2d2d2d 50%, #404040 75%, #555555 100%);
    color: white;
    padding: 110px 20px;
    text-align: center;
    border-bottom: 5px solid #dc143c;
    position: relative;
}

.hero::before {
    content: '🍱';
    position: absolute;
    font-size: 13rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.45rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background: #dc143c;
    color: white;
    padding: 18px 45px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
    border: 2px solid #dc143c;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #b01030;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
}

.recipes-section {
    padding: 85px 20px;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #000000;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 180px;
    height: 3px;
    background: linear-gradient(to right, #000000 0%, #dc143c 100%);
    margin: 20px auto 0;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 2.5rem;
}

.recipe-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: #dc143c;
}

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

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

.recipe-content {
    padding: 2.2rem;
}

.recipe-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
}

.recipe-content p {
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    color: #dc143c;
    font-weight: 700;
    font-size: 1.05rem;
}

.view-recipe-btn {
    margin-top: 1.3rem;
    padding: 15px 35px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-recipe-btn:hover {
    transform: translateY(-2px);
    background: #dc143c;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.recipe-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: #fafafa;
    border-radius: 5px;
    margin-top: 0;
}

.recipe-details.active {
    max-height: 2800px;
    transition: max-height 0.8s ease-in;
    padding: 2.5rem;
    margin-top: 1.5rem;
    border: 2px solid #dc143c;
}

.recipe-section {
    margin-bottom: 2rem;
}

.recipe-section h4 {
    color: #000000;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.recipe-section ul, .recipe-section ol {
    padding-left: 2rem;
    color: #1a1a1a;
}

.recipe-section li {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.recipe-section ol li {
    padding-left: 0.5rem;
}

footer {
    background: linear-gradient(to right, #000000 0%, #1a1a1a 25%, #2d2d2d 50%, #404040 75%, #555555 100%);
    color: #ffffff;
    padding: 3.5rem 20px 2rem;
    margin-top: 4rem;
    border-top: 5px solid #dc143c;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-section p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.footer-section a:hover {
    color: #dc143c;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(220, 20, 60, 0.3);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}
