/* ============================
   カネサ キサキ糧穀 - スタイルシート
   ============================ */

/* ベースカラー */
body {
    background-color: #FAFAF5;
    color: #4A3F35;
}

/* 曲線・オーガニックシェイプ */
.organic-shape {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: morph 8s ease-in-out infinite both alternate;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 50% 40% 50%;
    }
}

/* スクロールフェードインアニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* カスタムテーブルスタイル */
.info-table th {
    background-color: #f0f3ea;
    color: #4A3F35;
    font-weight: 500;
}

.info-table td,
.info-table th {
    border-bottom: 1px solid #e2e8f0;
}

/* 疑似画像プレースホルダー（フォールバック用） */
.img-placeholder {
    background-color: #DADFCD;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #556040;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
}

/* モバイルメニューオーバーレイ */
#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    transform: translateX(0);
    opacity: 1;
}

/* サブページ用ヒーローバナー */
.page-hero {
    background: linear-gradient(135deg, #A3B18A 0%, #7a9567 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* 品種テーブル */
.variety-table {
    width: 100%;
    border-collapse: collapse;
}

.variety-table th {
    background-color: #A3B18A;
    color: white;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.variety-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.variety-table tr:nth-child(even) td {
    background-color: #f8f9f5;
}

.variety-table tr:hover td {
    background-color: #f0f3ea;
}

/* 生産者テーブル */
.producer-table {
    width: 100%;
    border-collapse: collapse;
}

.producer-table th {
    background-color: #A3B18A;
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.producer-table td {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

/* エコファーマーテーブル */
.eco-table {
    width: 100%;
    border-collapse: collapse;
}

.eco-table th {
    background-color: #A3B18A;
    color: white;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.eco-table td {
    padding: 0.5rem 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.eco-table tr:nth-child(even) td {
    background-color: #f8f9f5;
}

/* 沿革タイムライン */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid #DADFCD;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #A3B18A;
    border: 2px solid white;
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
}

/* カードホバーエフェクト */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* パンくずリスト */
.breadcrumb a {
    color: #A3B18A;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #7a9567;
}

/* ナビゲーションのアクティブ状態 */
.nav-link.active {
    color: #A3B18A;
    border-bottom: 2px solid #A3B18A;
}

/* ロゴバッジ（ヘッダー・フッター用） */
.logo-pill {
    background: white;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.logo-pill-footer {
    background: rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
    display: inline-block;
}