/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.6em;
    color: #333;
    letter-spacing: 0.02em;
}

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

/* ヘッダー */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    max-width: 350px;
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 0.3rem 0.6rem;
}

.nav-menu a:hover {
    color: #f39c12;
}

.shop-btn {
    background: #f39c12 !important;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.shop-btn:hover {
    background: #e67e22 !important;
}

/* メインコンテンツ */
main {
    margin-top: 120px;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2em;
    font-weight: 300;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    letter-spacing: 0.02em;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #f39c12;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* セクション共通スタイル */
section {
    padding: 4rem 0;
    scroll-margin-top: 140px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d5016;
}

/* 農園について */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8em;
    letter-spacing: 0.01em;
}

.about-image {
    text-align: center;
}

.producer-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 商品紹介 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    padding: 1rem;
    color: #2d5016;
    font-size: 1.3rem;
}

.product-card p {
    padding: 0 1rem 1.5rem;
    color: #666;
    line-height: 1.6em;
    letter-spacing: 0.01em;
}

/* ショップセクション */
.shop-section {
    background: #2d5016;
    color: white;
    text-align: center;
}

.shop-section h2 {
    color: white;
}

.shop-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.shop-link {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
}

.shop-link:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* お問い合わせ */
.contact {
    background: #f8f9fa;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #333;
}

.social-media {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.instagram-link {
    display: inline-block;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* フッター */
footer {
    background: #2d5016;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    opacity: 0.8;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        right: -100%;
        max-width: 250px;
        width: 80%;
        height: calc(100vh - 100px);
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        height: 100%;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        color: #333;
        border-bottom: none;
    }
    
    .nav-menu a:hover {
        background: #f8f9fa;
        color: #f39c12;
    }
    
    header .container {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 20px;
        justify-content: space-between;
    }
    
    .logo-img {
        height: 80px;
        max-width: 280px;
    }
    
    main {
        margin-top: 120px;
    }
    
    section {
        scroll-margin-top: 140px;
    }
    
    .hero-logo {
        max-width: 600px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        max-width: 200px;
        width: 75%;
        top: 80px;
        height: calc(100vh - 80px);
    }
    
    .nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-logo {
        max-width: 350px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    section {
        scroll-margin-top: 160px;
    }
}