/* ============================================
   サンプル農園 スマホ用スタイルシート
   link media="(max-width:768px)" で制御
   ============================================ */

/* ── Variables ───────────────────────────── */
:root {
    --section-padding:  56px;
    --font-size-4xl:    28px;
    --font-size-3xl:    24px;
    --font-size-2xl:    20px;
    --header-height:    64px;
}

/* ── Header ──────────────────────────────── */
.header-inner   { height: 64px; }
.header-logo .logo-img { height: 24px; }
.header-nav     { display: none; }
.header-contact { display: none; }
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    /* header外に独立配置 → position:fixed で右上に固定 */
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 1200; /* mobile-menu(1050)より常に上 */
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    border-radius: 2px;
    background: var(--color-text);
    transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
    margin: 3px 0;
    transform-origin: center;
}
/* メニューopen時：スパン3本が×にアニメーション変化 */
.hamburger.open span { background: var(--color-white); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Mobile Menu ─────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #4a6741; /* 透過なし */
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu-inner { text-align: center; padding: 24px; }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 28px; }
.mobile-menu-nav a {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.08em;
}
.mobile-menu-tel {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.mobile-menu-tel a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-white);
}
.mobile-menu-tel svg { width: 20px; height: 20px; }
.mobile-menu-tel p {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}
.mobile-menu-sns {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.mobile-menu-sns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
}
.mobile-menu-sns svg { width: 20px; height: 20px; }

/* ── Breadcrumb ──────────────────────────── */
.breadcrumb { padding-top: 80px; }
.breadcrumb-list { flex-wrap: nowrap; overflow-x: auto; }

/* ── Page Header ─────────────────────────── */
.page-header { padding: 28px 0 36px; }
.page-header-en { font-size: 52px; }
.page-header-image { padding: 0 16px; }
.page-header-image img { height: 200px; }

/* ── Section Header ──────────────────────── */
.section-header        { margin-bottom: 48px; }
.section-header.has-lead { margin-bottom: 0; }
.section-lead          { margin-top: 36px; margin-bottom: 48px; }
.section-header-en     { font-size: 48px; margin-bottom: -14px; }
.about-text .section-header-en { font-size: 40px; }
.about-text .section-title { font-size: var(--font-size-2xl); }

/* ── Hero ────────────────────────────────── */
.hero { height: 100vh; min-height: 500px; }
.hero-catch { font-size: 30px; letter-spacing: 0.05em; }
.hero-sub { font-size: var(--font-size-base); }
.hero-btn { font-size: var(--font-size-base); padding: 14px 20px 14px 32px; }
.hero-btn .btn-fancy-icon { width: 36px; height: 36px; }

/* ── About ───────────────────────────────── */
.about-content { flex-direction: column; gap: 36px; }
.about-image { flex: auto; width: 100%; }
.about-image-deco { display: none; }

/* ── Products ────────────────────────────── */
.products-grid { grid-template-columns: 1fr; gap: 20px; }

/* ── News ────────────────────────────────── */
.news-item { flex-direction: column; gap: 0; }
.news-item-image { width: 100%; aspect-ratio: 1200/630; }
.news-item-body { padding: 16px 20px; }

/* ── FAQ ─────────────────────────────────── */
.faq-question { padding: 18px 16px; }
.faq-answer-inner { padding: 16px 16px 20px; }

/* ── CTA ─────────────────────────────────── */
.cta-actions { flex-direction: column; gap: 20px; }

/* ── Footer ──────────────────────────────── */
.footer-inner { flex-direction: row; flex-wrap: wrap; gap: 24px; }
.footer-info { width: 100%; }
.footer-nav-group { width: calc(50% - 12px); flex-shrink: 0; }
.footer-nav-group h4 { margin-bottom: 12px; }
.footer-nav-group ul { gap: 0; }
.footer-nav-group a {
    display: block;
    padding: 10px 0;
}

/* ── Kodawari ────────────────────────────── */
.kodawari-section-title-en { font-size: 36px; }
.kodawari-item { flex-direction: column !important; gap: 24px; }
.kodawari-item-image { flex: auto; width: 100%; }

/* ── Product Detail ──────────────────────── */
.product-detail-body { padding: 28px 20px; }

/* ── EC Link ─────────────────────────────── */
.ec-link-area { padding: 28px 20px; }

/* ── Product Nav ─────────────────────────── */
.product-nav { flex-direction: row !important; gap: 4px; padding-top: 32px; align-items: center; }
.product-nav-item { flex: 1 !important; text-align: left !important; }
.product-nav-item.nav-center { flex: 0 0 auto !important; white-space: nowrap; }
.product-nav-item.nav-next { text-align: right !important; }
.product-nav-link { font-size: 13px; gap: 4px; }
.product-nav-link svg { width: 14px; height: 14px; }
.nav-list-link { font-size: 13px; padding: 6px 10px; white-space: nowrap; }

/* ── Contact ─────────────────────────────── */
/* ── Contact Form (SP) ── */
.step-indicator { max-width: 100%; margin-bottom: 32px; padding: 0 16px; }
.step-item { font-size: var(--font-size-xs); gap: 6px; }
.step-number { width: 30px; height: 30px; font-size: var(--font-size-xs); }
.step-line { min-width: 20px; margin: 0 6px; }
.form-wrapper { padding: 24px 20px 32px; }
.confirm-item { flex-direction: column; gap: 4px; }
.confirm-item dt { flex: auto; }
.confirm-buttons { flex-direction: column-reverse; gap: 12px; }
.confirm-buttons .btn-back,
.confirm-buttons .btn-send { width: 100%; justify-content: center; }
.complete-note { padding: 16px 18px; display: block; text-align: left; }


/* ── News List ────────────────────────────── */
.news-item { flex-direction: column; gap: 0; }
.news-item-image { width: 100%; aspect-ratio: 1200/630; }
.news-item-body { padding: 16px 20px; }

/* ── News Detail ─────────────────────────── */
.news-detail-inner { max-width: 100%; }
.news-detail-title { font-size: var(--font-size-3xl); }

/* ── News Nav ────────────────────────────── */
.news-nav { flex-direction: row !important; gap: 4px; padding-top: 32px; align-items: center; }
.news-nav-item { flex: 1 !important; text-align: left !important; }
.news-nav-item.nav-center { flex: 0 0 auto !important; white-space: nowrap; }
.news-nav-item.nav-next { text-align: right !important; }
.news-nav-link { font-size: 13px; gap: 4px; }
.news-nav-link svg { width: 14px; height: 14px; }
.news-nav-link.nav-prev { white-space: nowrap; }
.news-nav-link.nav-next { white-space: nowrap; }

/* ── News Detail section padding (SP) ───── */
.news-detail-section { padding: 56px 0; }

/* ── About Page (SP) ─────────────────────── */
.greeting-content { flex-direction: column; gap: 32px; }
.greeting-image { flex: auto; width: 70%; margin: 0 auto; }
.greeting-image img { aspect-ratio: 3/4; }
.greeting-image-deco { bottom: -10px; right: -10px; }
.greeting-text .section-header-en { font-size: 40px; }

.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-item-caption { transform: translateY(0); }

.overview-table th,
.overview-table td { display: block; width: 100%; padding: 12px 16px 12px 20px; }
.overview-table th { border-bottom: none; padding-bottom: 0; }
.overview-table td { padding-top: 4px; }

.access-map { padding-bottom: 70%; }

.history-timeline::before { left: 20px; }
.history-year { flex: 0 0 auto; min-width: 0; font-size: var(--font-size-base); text-align: left; padding-left: 40px; padding-right: 16px; }
.history-item::after { left: 20px; top: 8px; width: 12px; height: 12px; }
.history-item { flex-direction: column; gap: 8px; }
.history-body { padding-left: 40px; }

/* ── FAQ Page (SP) ─────────────────────── */
.faq-category-nav { gap: 8px; }
.faq-category-link { padding: 8px 16px; font-size: var(--font-size-xs); }
.faq-question { padding: 16px 18px; }
.faq-answer-inner { padding: 16px 18px 20px; }
.faq-cta { padding: 24px 16px; }
.faq-category-title { font-size: var(--font-size-lg); }


/* ── 商品詳細 ヘッダー上余白調整(SP) ── */
.product-detail-section { padding-top: 56px; }
