/* home ページ用スタイル */

@keyframes new-badge-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.new-badge-blink {
    animation: new-badge-blink 1.4s ease-in-out infinite;
}

/* ===== イベントセクション ===== */
.event-section {
    background: #f8fafc;
    padding: 1rem 0 0.85rem;
}
.event-section-header {
    padding: 0 1.5rem 0.65rem;
}
.event-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* 件数バッジ */
.event-count-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.35rem;
    vertical-align: baseline;
}

/* スクロールヒント */
.event-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.event-scroll-hint {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: hintPulse 2s ease-in-out infinite;
}
.event-scroll-hint i {
    font-size: 0.5rem;
}
@keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* 横スクロールコンテナ */
.event-scroll-wrapper {
    position: relative;
}
.event-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-left: 1.5rem;
    gap: 12px;
}
.event-scroll-container::-webkit-scrollbar {
    display: none;
}
.event-slide {
    flex: 0 0 calc(100% - 3.5rem);
    scroll-snap-align: start;
    min-width: 0;
}
.event-slide:only-child {
    flex: 0 0 calc(100% - 3rem);
}
.event-slide:last-child {
    margin-right: 1.5rem;
}

/* スクロールドットインジケーター */
.event-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0.6rem 0 0.15rem;
}
.event-scroll-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background 0.3s ease, transform 0.3s ease;
}
.event-scroll-dot.active {
    background: #0b5500;
    transform: scale(1.25);
}

/* バナー＋詳細を1枚のカードに（ホーム・農家詳細のイベント枠） */
.event-home-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
    transform: translateY(18px);
    animation: evFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.12s;
}
.event-home-card .event-banner-link {
    border-radius: 0;
    box-shadow: none;
}
.event-home-card .event-list-item-card {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #eef2f7;
}
.event-home-card:hover .event-banner-bg-img {
    transform: scale(1.04);
}

/* バナー画像 */
.event-banner-link {
    display: block;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-banner-link:active {
    transform: scale(0.98);
}
.event-banner-img {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56%;
    overflow: hidden;
}
.event-banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease-out;
}
.event-banner-link:hover .event-banner-bg-img {
    transform: scale(1.04);
}
.event-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.32) 50%, rgba(0,0,0,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.15rem;
    color: #fff;
}
.event-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    background: rgba(250, 204, 21, 0.92);
    color: #1a2e05;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.event-banner-participants {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(13, 148, 136, 0.88);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    border: 2px solid transparent;
    background-clip: padding-box;
}
.event-banner-participants::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff6b6b, #ffa94d, #ffd43b, #69db7c, #4dabf7, #9775fa, #ff6b9d);
    background-size: 300% 300%;
    z-index: -1;
    animation: rainbowBorder 3s ease infinite;
}
@keyframes rainbowBorder {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.event-banner-participants i {
    font-size: 0.62rem;
}
.event-banner-farmer {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 8.5rem);
    padding: 0.2rem 0.4rem 0.2rem 0.2rem;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.event-banner-farmer-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.event-banner-farmer-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}
.event-banner-farmer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.64rem;
    flex-shrink: 0;
}
.event-banner-tag i {
    font-size: 0.65rem;
}
.event-banner-catch {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.event-banner-copy {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* イベントカード（日付 + 詳細 + CTA） */
.event-list-item-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.35rem;
    align-items: start;
    margin: 0.65rem 0 0;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-list-item-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* 日付ブロック */
.event-list-item-date {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: stretch;
    width: 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    border-right: 1.5px solid #e5e7eb;
    padding-right: 0.75rem;
    margin-right: 0.1rem;
}
.event-list-item-month {
    font-size: 0.6rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}
.event-list-item-day {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.event-list-item-weekday {
    font-size: 0.55rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: 1px;
}
.event-list-item-weekday.holiday {
    color: #ef4444;
}
.event-list-item-body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
.event-list-item-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}
.event-list-item-meta {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}
.event-list-item-meta i {
    font-size: 0.6rem;
}

/* 主宰農家 */
.event-list-item-farmer {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #0f766e;
}
.event-list-item-farmer-img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccfbf1;
}
.event-list-item-farmer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ccfbf1;
    font-size: 0.5rem;
    color: #0f766e;
}

/* CTAボタン */
.event-list-item-cta {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1a2e05;
    background:rgba(250, 204, 21, 0.92);
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.event-list-item-cta i {
    font-size: 0.55rem;
    transition: transform 0.25s ease;
}
.event-list-item-card:hover .event-list-item-cta i {
    transform: translateX(2px);
}

/* 申込み済みバッジ */
.event-banner-tag--registered {
    background: #facc15 !important;
    color: #1a1a1a !important;
    box-shadow: 0 2px 10px rgba(250,204,21,0.5) !important;
}
.event-list-item-cta--registered {
    background: #facc15;
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(250,204,21,0.35);
}

/* 参加済みバッジ */
.event-banner-tag--attended {
    background: #0b5500 !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(13,148,136,0.5) !important;
}
.event-list-item-cta--attended {
    background: #0b5500;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(13,148,136,0.35);
}

/* キャンセル済みバッジ */
.event-banner-tag--cancelled {
    background: rgba(120,120,120,0.85) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(100,100,100,0.4) !important;
}
.event-list-item-cta--cancelled {
    background: #94a3b8;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(148,163,184,0.35);
}

/* 締め切り済みバッジ */
.event-banner-tag--closed {
    background: rgba(220, 38, 38, 0.88) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(220,38,38,0.4) !important;
}
.event-list-item-cta--closed {
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}

/* ===== イベントセクション アニメーション（.event-home-card に集約） ===== */
@keyframes evFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ピックアップ農家さん（横スクロール） */
.pickup-farmers-section {
    padding: 1rem 0 1.25rem;
    background: #f8fafc;
    overflow: hidden;
}
.pickup-farmers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem 0.75rem;
}
.pickup-farmers-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}
.pickup-farmers-view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0b5500;
    text-decoration: none;
}
.pickup-farmers-view-all:hover {
    color: #0f766e;
    text-decoration: underline;
}
.pickup-farmers-scroll {
    display: flex;
    overflow: hidden;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}
.pickup-farmers-track {
    display: flex;
    gap: 1rem;
    padding: 0 0.5rem;
    animation: pickup-marquee 25s linear infinite;
    flex-shrink: 0;
}
.pickup-farmers-scroll:hover .pickup-farmers-track {
    animation-play-state: paused;
}

/* スマホ: タッチで横スクロール可能にする */
@media (max-width: 1024px) {
    .pickup-farmers-scroll {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none; /* Firefox */
    }
    .pickup-farmers-scroll::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .pickup-farmers-scroll.is-touching .pickup-farmers-track {
        animation-play-state: paused;
    }
    .pickup-farmer-card {
        scroll-snap-align: start;
    }
}
@keyframes pickup-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.pickup-farmer-card {
    flex-shrink: 0;
    width: 200px;
    height: 260px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pickup-farmer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.12);
}
.pickup-farmer-card-photo {
    height: 100%;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}
.pickup-farmer-card-photo img,
.pickup-farmer-card-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pickup-farmer-card-media {
    pointer-events: none; /* カード全体クリックを優先 */
}
.pickup-farmer-card-thumb {
    position: relative;
    z-index: 1;
}
.pickup-farmer-card-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 200ms ease-out;
}
.pickup-farmer-card--video-playing .pickup-farmer-card-video {
    opacity: 1;
}
.pickup-farmer-card-photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.pickup-farmer-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.75rem 0.85rem 0.8rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 70%);
    z-index: 3; /* サムネ画像・動画より前面に表示 */
}

.pickup-farmer-card-overlay-title {
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.pickup-farmer-card-overlay-farm {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.15rem;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pickup-farmer-card-overlay-catch,
.pickup-farmer-card-overlay-nickname {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pickup-farmer-card-overlay-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pickup-farmer-card-overlay-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.pickup-farmer-card-overlay-row span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.pickup-farmer-card-overlay-icon {
    color: #5eead4;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.pickup-farmers-empty {
    flex-shrink: 0;
    padding: 1.5rem;
    text-align: center;
    min-width: 100%;
}

/* トップページ おすすめ商品（EC） */
.pickup-ec-section {
    padding: 0.5rem 0 1.75rem;
    background: #f8fafc;
}
.pickup-ec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.1rem;
    padding: 0 1.5rem;
}
.pickup-ec-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}
.pickup-ec-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1.5rem 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.pickup-ec-scroll::-webkit-scrollbar {
    display: none;
}
/* ピックアップ農家さんカード（.pickup-farmer-card）と同じ 200×260・角丸・影 */
.pickup-ec-card {
    flex-shrink: 0;
    width: 200px;
    height: 260px;
    background: #fff;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pickup-ec-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 12px;
    background: conic-gradient(
        from 20deg,
        #f43f5e,
        #fb923c,
        #facc15,
        #4ade80,
        #2dd4bf,
        #38bdf8,
        #818cf8,
        #c084fc,
        #f472b6,
        #f43f5e
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}
.pickup-ec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.12);
}

.pickup-ec-card-photo {
    height: 100%;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}
.pickup-ec-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pickup-ec-card-photo-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.pickup-ec-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.85rem 0.85rem 2.8rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0) 75%);
}

.pickup-ec-card-top {
    display: flex;
    justify-content: flex-end;
}

.pickup-ec-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    text-shadow: none;
}
.pickup-ec-card-badge--available {
    padding: 0.4rem 0.85rem;
    background: linear-gradient(to right, #ffd54a, #5eead4);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.pickup-ec-card-badge--available i {
    font-size: 0.62rem;
}
.pickup-ec-card-badge--soldout {
    background: rgba(239, 68, 68, 0.92);
}

.pickup-ec-card-bottom {
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

/* 画像オーバーレイ内：税込価格（右下） */
.pickup-ec-card-price-corner {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.3rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}
.pickup-ec-card-tax-label-overlay {
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.08em;
}
.pickup-ec-card-tax-value-overlay {
    font-size: 0.95rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
/* 割引価格表示（shopページと統一） */
.pickup-ec-card-original-price {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.pickup-ec-card-sale-price {
    color: #f87171;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.pickup-ec-card-discount-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 800;
    border-radius: 4px;
    padding: 0.08rem 0.28rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.pickup-ec-product-name {
    width: 100%;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 0.18rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pickup-ec-product-farmer {
    width: 100%;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.95;
    margin-bottom: 0.35rem;
}

.pickup-ec-product-price {
    font-size: 0.95rem;
    font-weight: 900;
    opacity: 0.98;
}

/* ===== ピックアップ農家モーダル ===== */

/* スワイプヒント */
.pf-swipe-hint {
    position: absolute;
    bottom: 5.5rem;
    right: 1.25rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    pointer-events: none;
    animation: pfSwipeHintPulse 1.8s ease-in-out infinite;
}
.pf-swipe-hint i {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
}
@keyframes pfSwipeHintPulse {
    0%, 100% { opacity: 0.7; transform: translateX(0); }
    50%       { opacity: 1;   transform: translateX(4px); }
}

.pf-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: none;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pf-modal.is-open {
    display: block;
    animation: pfFadeIn 0.55s ease-out;
}
@keyframes pfFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 上部タップで閉じるゾーン */
.pf-modal-topzone {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 56px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-modal-topzone::after {
    content: '';
    width: 36px; height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
}

/* パネル本体 */
.pf-modal-panel {
    position: absolute;
    top: 56px; left: 0; right: 0; bottom: 0;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: pfPanelUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pfPanelUp {
    from { transform: translateY(80px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* デスクトップ：スマホ型に縦長表示 */
@media (min-width: 769px) {
    .pf-modal-panel {
        left: 50%;
        right: auto;
        width: 400px;
        transform: translateX(-50%);
        border-radius: 24px;
        top: 40px;
        bottom: 40px;
        animation: pfPanelUpDesktop 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes pfPanelUpDesktop {
        from { transform: translateX(-50%) translateY(80px) scale(0.97); opacity: 0; }
        to   { transform: translateX(-50%) translateY(0)    scale(1);    opacity: 1; }
    }
    .pf-modal-topzone { display: none; }
}

/* 上部バー（インジケーター + 閉じる） */
.pf-modal-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 0.85rem 1rem 0.5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.pf-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}
.pf-dot {
    width: 6px; height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.35);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pf-dot.is-active {
    width: 22px;
    background: #fff;
}
.pf-modal-close {
    position: absolute;
    top: 0.65rem; right: 0.75rem;
    width: 34px; height: 34px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s, transform 0.15s;
}
.pf-modal-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

/* Swiper */
.pf-swiper { flex: 1; width: 100%; height: 100%; }
.pf-slide {
    position: relative;
    width: 100%; height: 100%;
    cursor: pointer;
    overflow: hidden;
}

/* 写真 */
.pf-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    will-change: transform;
}
.pf-slide.swiper-slide-active .pf-photo {
    animation: pfKenBurns 10s ease-out both;
}
@keyframes pfKenBurns {
    0%   { transform: scale(1.09); }
    100% { transform: scale(1.0); }
}
.pf-photo-empty {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

/* オーバーレイ */
.pf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.1)  65%,
        transparent      80%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.5rem 2.25rem;
    pointer-events: none;
}
.pf-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5eead4;
    border: 1px solid rgba(94, 234, 212, 0.45);
    background: rgba(20, 184, 166, 0.12);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.65rem;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}
.pf-name {
    color: #fff;
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    font-weight: 800;
    text-shadow: 0 2px 14px rgba(0,0,0,0.55);
    margin: 0 0 0.4rem;
    line-height: 1.2;
}
.pf-catch {
    color: rgba(255,255,255,0.88);
    font-size: 0.88rem;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    margin: 0 0 0.6rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pf-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.1rem;
}
.pf-meta div {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pf-meta i { color: #5eead4; font-size: 0.72rem; }
.pf-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.65rem 1.35rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.45), 0 0 0 1px rgba(255,255,255,0.08);
    align-self: flex-start;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* ===== me販売コンセプト（インライン + モーダル） ===== */
.pickup-ec-header-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.ec-concept-copy {
    margin: 0 0 0.85rem;
    padding: 0 1.5rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
}
.ec-concept-more {
    flex-shrink: 0;
    background: none;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}
.ec-concept-more:hover {
    border-color: #0b5500;
    color: #0b5500;
}

/* ===== me販売モーダル ===== */
.ec-about-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fafdf9;
}
.ec-about-modal-top {
    display: flex;
    justify-content: flex-end;
    padding: 0.85rem 1rem 0;
}
.ec-about-modal-close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.ec-about-modal-close:hover {
    background: #f1f5f9;
    color: #475569;
}
.ec-about-modal-body {
    padding: 0.5rem 1.75rem 1.75rem;
}
.ec-about-label {
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #0b5500;
    margin: 0 0 0.6rem;
}
.ec-about-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a2e1a;
    line-height: 1.5;
    margin: 0 0 1.1rem;
    letter-spacing: 0.02em;
}
.ec-about-divider {
    width: 32px;
    height: 2px;
    background: #0b5500;
    margin-bottom: 1.2rem;
    border-radius: 1px;
}
.ec-about-text p {
    font-size: 0.82rem;
    line-height: 1.85;
    color: #4a5568;
    margin: 0 0 0.9rem;
}
.ec-about-text p:last-child {
    margin-bottom: 0;
}
.ec-about-em {
    color: #0f766e;
    font-weight: 700;
    font-size: 1.5rem;
}
.ec-about-footer {
    margin-top: 1.5rem;
    text-align: center;
}
.ec-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0b5500;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}
.ec-about-cta:hover {
    background: #0f766e;
    color: #fff;
}
.ec-about-cta i {
    font-size: 0.68rem;
    transition: transform 0.2s;
}
.ec-about-cta:hover i {
    transform: translateX(3px);
}

/* ============================================================
   農家さんを探すバナー
   ============================================================ */
.find-farmer-banner {
    padding: 4px 1.5rem 0;
}
.find-farmer-banner-link {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}
.find-farmer-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.find-farmer-banner-img {
    display: block;
    width: 100%;
    height: auto;
}
