/* =============================================
   Earth Saver Farm - メインスタイル
   子どもらしく・上品・可愛い
   最小文字サイズ: 14px (≒10.5pt) 以上
   ============================================= */

/* ===== リセット & 基本 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* カラーパレット - 草花ナチュラル × ポップ */
  --green-deep:   #2d7d46;
  --green-mid:    #4caf6f;
  --green-light:  #a8e6c1;
  --green-pale:   #e8f7ee;
  --yellow:       #ffdf5e;
  --yellow-pale:  #fff8d6;
  --pink:         #f9a8c9;
  --pink-pale:    #fff0f6;
  --sky:          #a0d8ef;
  --sky-pale:     #edf7fb;
  --brown-light:  #f5ede0;
  --cream:        #fffef5;
  --text-dark:    #2c2c2c;
  --text-mid:     #555;
  --text-light:   #888;
  --white:        #ffffff;
  --shadow-soft:  0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius-card:  18px;
  --radius-btn:   50px;
  --radius-pill:  9999px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.8;
  min-font-size: 14px;
  font-size: clamp(14px, 1.1vw + 0.5rem, 18px);
}

h1, h2, h3 {
  font-family: 'Kaisei Decol', 'Hiragino Maru Gothic ProN', serif;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.75; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== ユーティリティ ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: clamp(14px, 1vw + 0.2rem, 16px);
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-pale);
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: clamp(22px, 2.5vw + 0.5rem, 34px);
  color: var(--green-deep);
}

.section-note {
  text-align: center;
  margin-top: 2rem;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--text-light);
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  border-radius: var(--radius-btn);
  font-size: clamp(14px, 1vw + 0.2rem, 16px);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
  text-align: center;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

.btn-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  opacity: 1;
  box-shadow: 0 4px 16px rgba(45, 125, 70, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-outline:hover {
  background: var(--green-pale);
  opacity: 1;
}

/* ===== プレースホルダー (写真・動画用) ===== */
.photo-placeholder {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--yellow-pale) 100%);
  border: 2.5px dashed var(--green-light);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 180px;
  padding: 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.photo-placeholder:hover {
  background: var(--green-light);
  border-color: var(--green-mid);
}

.photo-placeholder.square {
  aspect-ratio: 1;
  min-height: unset;
}

.photo-placeholder img {
    border-radius: var(--radius-card);
}




.video-placeholder {
  background: linear-gradient(135deg, #1c3d2e 0%, #2d5a3d 100%);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  aspect-ratio: 16 / 9;
  color: var(--white);
  overflow: hidden;
  position: relative;
  transition: opacity 0.2s;
}

.video-placeholder:hover { opacity: 0.9; }

.video-placeholder .placeholder-icon {
  font-size: clamp(32px, 4vw, 52px);
  display: block;
  background: rgba(255,255,255,0.15);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder .placeholder-text {
  font-size: clamp(14px, 1vw + 0.2rem, 16px);
  font-weight: 700;
}

.video-placeholder .placeholder-note {
  font-size: clamp(12px, 0.9vw, 14px);
  opacity: 0.65;
}

.video-placeholder iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.video-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--green-light);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-leaf {
  font-size: clamp(24px, 2.5vw, 32px);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(16px, 1.5vw + 0.3rem, 22px);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.2;
    width: 300px;
}

.logo-sub {
  font-size: clamp(10px, 0.8vw + 0.1rem, 12px);
  color: var(--text-light);
  line-height: 1.4;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover {
  color: var(--green-deep);
  border-color: var(--green-deep);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--green-deep);
  cursor: pointer;
  margin-left: auto;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(150deg, var(--green-pale) 0%, var(--yellow-pale) 50%, var(--pink-pale) 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  font-size: clamp(24px, 3vw, 40px);
  animation: floatBubble linear infinite;
  opacity: 0.5;
}

.b1 { left: 5%;  top: 10%; animation-duration: 9s;  animation-delay: 0s; }
.b2 { left: 20%; top: 70%; animation-duration: 12s; animation-delay: 1s; }
.b3 { left: 75%; top: 15%; animation-duration: 10s; animation-delay: 2s; }
.b4 { left: 88%; top: 60%; animation-duration: 8s;  animation-delay: 0.5s; }
.b5 { left: 50%; top: 80%; animation-duration: 11s; animation-delay: 1.5s; }
.b6 { left: 40%; top: 5%;  animation-duration: 13s; animation-delay: 3s; }

@keyframes floatBubble {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50%  { transform: translateY(-30px) rotate(10deg); opacity: 0.7; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyecatch {
  font-size: clamp(14px, 1.2vw + 0.2rem, 16px);
  color: var(--green-deep);
  font-weight: 700;
  background: var(--white);
  display: inline-block;
  padding: 0.3em 1.4em;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.hero-title-en {
  font-size: clamp(32px, 6vw + 1rem, 64px);
  color: var(--green-deep);
  font-family: 'Nunito', 'Kaisei Decol', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 2px 3px 0px rgba(76, 175, 111, 0.2);
}

.hero-title-catch {
  font-size: clamp(18px, 2vw + 0.5rem, 26px);
  color: var(--text-dark);
  font-weight: 700;
}

.hero-desc {
  font-size: clamp(15px, 1.2vw + 0.2rem, 17px);
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-video-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about-lead {
  font-size: clamp(16px, 1.3vw + 0.3rem, 19px);
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about p {
  font-size: clamp(15px, 1.1vw + 0.2rem, 17px);
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.about-points {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(15px, 1.1vw + 0.2rem, 17px);
  font-weight: 600;
  background: var(--green-pale);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
}

.point-icon { font-size: 20px; flex-shrink: 0; }

.about-photo-block {
  display: grid;
  gap: 1rem;
}
.about-photo-block img {
    border-radius: 12px;
    width: 90%;
    margin: auto;
}

.bg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bg-card {
  background: var(--cream);
  border: 2px solid var(--green-light);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.bg-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.bg-card-icon { font-size: clamp(28px, 3vw, 40px); margin-bottom: 0.75rem; }

.bg-card h3 {
  font-size: clamp(15px, 1.2vw + 0.2rem, 17px);
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.bg-card p {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== FEATURES ===== */
.features {
  background: linear-gradient(180deg, var(--yellow-pale) 0%, var(--green-pale) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 1rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.feature-img-wrap {
  aspect-ratio: 16 / 9;
}

.feature-img-wrap .photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: unset;
  border-radius: 0;
    background: #FFF;
  border: none;
  border-bottom: 2.5px dashed var(--green-light);
}

.feature-body {
  padding: 1.5rem;
}

.feature-tag-pill {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: clamp(13px, 0.9vw + 0.1rem, 14px);
  font-weight: 700;
  padding: 0.2em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: 0.7rem;
}

.feature-body h3 {
  font-size: clamp(16px, 1.4vw + 0.2rem, 20px);
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}

.feature-body p {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== MEMBERS ===== */
.members {
  background: var(--pink-pale);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.member-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s, transform 0.25s;
}

.member-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.member-photo-wrap {
  max-width: 80%;
  margin: 0 auto 1rem;
}
.member-photo-wrap img {
    border-radius: 50%;
}

.member-photo-wrap .photo-placeholder.square {
  border-radius: 50%;
  min-height: unset;
}

.member-role {
  font-size: clamp(12px, 0.9vw + 0.1rem, 13px);
  color: var(--green-mid);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.member-name {
  font-size: clamp(17px, 1.5vw + 0.2rem, 21px);
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}

.member-card p {
  font-size: clamp(13px, 0.9vw + 0.1rem, 14px);
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--sky-pale);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1;
  min-height: unset;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* ===== NEWS ===== */
.news-section {
  background: var(--white);
}

.news-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--cream);
  border: 2px solid var(--green-light);
  color: var(--text-mid);
  padding: 0.4em 1.4em;
  border-radius: var(--radius-pill);
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  background: var(--cream);
  border: 2px solid var(--green-pale);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.8rem;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.news-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}

.news-item-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 80px;
  text-align: center;
}

.news-date {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  font-weight: 700;
  color: var(--green-deep);
  white-space: nowrap;
}

.news-cat-badge {
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 700;
  padding: 0.15em 0.9em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-news  { background: var(--green-pale); color: var(--green-deep); }
.badge-event { background: var(--yellow-pale); color: #7a5c00; }
.badge-media { background: var(--pink-pale); color: #a0305a; }

.news-item-body {
  flex: 1;
}

.news-title {
  font-size: clamp(15px, 1.2vw + 0.2rem, 17px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.news-excerpt {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  color: var(--text-light);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-detail-text {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  color: var(--text-mid);
  line-height: 1.9;
  margin-top: 0.8rem;
  display: none;
}

.news-item.open .news-excerpt { display: none; }
.news-item.open .news-detail-text { display: block; }

.loading-text {
  text-align: center;
  color: var(--text-light);
  font-size: clamp(14px, 1.1vw, 16px);
  padding: 2rem 0;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-btn {
  background: var(--cream);
  border: 2px solid var(--green-light);
  color: var(--text-mid);
  padding: 0.4em 1em;
  border-radius: var(--radius-pill);
  font-size: clamp(14px, 1vw, 15px);
  font-weight: 700;
  cursor: pointer;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: background 0.2s, color 0.2s;
}

.page-btn:hover,
.page-btn.active {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

/* ===== JOIN ===== */
.join {
  background: linear-gradient(160deg, var(--green-pale) 0%, var(--sky-pale) 100%);
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.join-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.join-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.join-card-icon { font-size: clamp(32px, 4vw, 44px); }

.join-card h3 {
  font-size: clamp(16px, 1.4vw + 0.2rem, 19px);
  color: var(--green-deep);
}

.join-card p {
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  color: var(--text-mid);
  line-height: 1.8;
  flex: 1;
}

.join-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.join-photo-row img {
    border-radius: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-deep);
  color: var(--white);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-text {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(18px, 1.8vw + 0.3rem, 22px);
  font-weight: 700;
}

.footer-expo {
  font-size: clamp(13px, 1vw, 14px);
  opacity: 0.85;
}

.footer-orgs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(14px, 1vw + 0.1rem, 15px);
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-orgs a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.footer-copy {
  font-size: clamp(13px, 0.9vw, 14px);
  opacity: 0.6;
}

.footer-admin-link a {
  font-size: clamp(13px, 0.9vw, 14px);
  opacity: 0.5;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: opacity 0.2s;
}

.footer-admin-link a:hover { opacity: 0.9; }

/* ===== モーダル ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.modal-inner img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-close {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  background: var(--white);
  color: var(--text-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ===== NEWS ===== */

#farm-news .col4 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: auto;
}
#farm-news img {
    border-radius: 12px;
}
#farm-news .col4 ul {
    flex: 0 0 calc(25% - 18px); 
    min-width: 0;
}
#farm-news .col4 li {
    margin-bottom: 1rem;
    list-style: none;
}
#farm-news .ttl {
  font-size: clamp(14px, 0.9vw + 0.1rem, 14px);
}
#farm-news .date {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--green-deep);
}
#farm-news .category {
    font-size: 0.8rem;
    color: var(--green-deep);
}
#farm-news .col4 li {
    text-align: left;
}
#farm-news .col4 li a { width: 100%;}


/* ページャー */
#farm-news ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

#farm-news ul.page-numbers li a,
#farm-news ul.page-numbers li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

#farm-news ul.page-numbers li .current {
    background-color: #4a7c59;
    color: #fff;
    border-color: #4a7c59;
}

#farm-news ul.page-numbers li a:hover {
    background-color: #f0f0f0;
}
/* ===== RESPONSIVE ===== */

@media screen and (max-width: 767px) {
    .logo-text {
        text-align: center;
    }
    .logo-main img {
        width: 100%;
    }    
}

@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; }
  .about-photo-block{ grid-template-columns: 1fr 1fr; }
  .bg-cards         { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr; }
  .members-grid     { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid     { grid-template-columns: repeat(3, 1fr); }
  .join-grid        { grid-template-columns: 1fr; }
  .join-photo-row   { grid-template-columns: 1fr 1fr; }
  .video-row-3      { grid-template-columns: 1fr 1fr; }
    
    
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 2px solid var(--green-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 99;
    gap: 1.2rem;
  }
  .nav-toggle { display: block; }

  .section-pad { padding: 3.5rem 0; }
  .hero { padding: 3.5rem 1rem 2.5rem; }

  .members-grid     { grid-template-columns: 1fr; }
  .gallery-grid     { grid-template-columns: repeat(2, 1fr); }
  .video-row        { grid-template-columns: 1fr; }
  .video-row-3      { grid-template-columns: 1fr; }
  .join-photo-row   { grid-template-columns: 1fr; }
  .about-photo-block{ grid-template-columns: 1fr; }
    
}

/* ===== スクロールアニメーション ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== 装飾 ===== */
.features::before,
.join::before {
  content: '';
  display: block;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 C300,40 900,40 1200,0 L1200,40 L0,40 Z' fill='%23fffef5'/%3E%3C/svg%3E") center/cover no-repeat;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}
