// EventsSection.jsx — 季節のイベント・農業体験 const EventsSection = ({ onNavigate }) => { const [ref, setRef] = React.useState(null); const [isVisible, setIsVisible] = React.useState(false); React.useEffect(() => { if (!ref) return; const observer = new IntersectionObserver( ([entry]) => { if (entry.isIntersecting) setIsVisible(true); }, { threshold: 0.2 } ); observer.observe(ref); return () => observer.disconnect(); }, [ref]); const events = [ { season: '春', seasonEn: 'Spring', color: '#F5C518', items: [ { icon: '🌸', title: '春の花摘み体験', desc: '菜の花・チューリップなど春の花を摘んでお持ち帰り' }, { icon: '🌿', title: 'ハーブ摘み取り', desc: 'バジル・ミントなど新鮮ハーブを摘んで香りを楽しむ' }, { icon: '🎨', title: 'お花のリース作り', desc: '摘んだ花で作るオリジナルリースワークショップ' }, ] }, { season: '夏', seasonEn: 'Summer', color: '#3E5C8A', items: [ { icon: '🫐', title: 'ブルーベリー摘み取り', desc: '完熟ブルーベリーの食べ放題・お持ち帰り' }, { icon: '🌻', title: 'ひまわり畑開放', desc: 'フォトスポットとしても人気のひまわり畑' }, { icon: '🍧', title: 'かき氷フェス', desc: '自家製ベリーシロップの特製かき氷' }, ] }, { season: '秋', seasonEn: 'Autumn', color: '#C9920A', items: [ { icon: '🌾', title: '稲刈り体験', desc: '鎌を使った本格的な稲刈り・脱穀体験' }, { icon: '🍯', title: 'ジャム作り教室', desc: 'ブルーベリージャムを一から手作り' }, { icon: '🎃', title: 'ハロウィンイベント', desc: 'かぼちゃランタン作り・収穫祭' }, ] }, { season: '冬', seasonEn: 'Winter', color: '#5E9252', items: [ { icon: '🌿', title: '冬野菜収穫体験', desc: '大根・白菜など旬の野菜を収穫' }, { icon: '🔥', title: '焚き火カフェ', desc: '焚き火を囲んで温かいドリンクとスイーツ' }, { icon: '🎍', title: 'しめ縄作り', desc: '新年を迎えるしめ縄飾りのワークショップ' }, ] }, ]; return (
{/* Section header */}
Seasonal Events

一年中、自然と触れあう。

ブルーベリーだけでなく、四季折々の花・ハーブ・野菜の収穫体験、
農業体験イベントを通じて、家族みんなで楽しめる農園です。

{/* Seasons grid */}
{events.map((season, idx) => (
{/* Season header */}
{season.season}
{season.seasonEn}
{/* Items */}
{season.items.map(item => (
{item.icon}
{item.title}
{item.desc}
))}
))}
{/* CTA */}
※ イベントは季節・天候により変更になる場合があります。最新情報はLINE・SNSでお知らせします。
); }; Object.assign(window, { EventsSection });