/* ============================================================
   チーム下関 農業体験プログラム - Stylesheet
   Target: 20〜40代 / 力強い農業デザイン
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* -- Colors -- */
  --c-green-dark: #2d5016;
  --c-green: #4a7c23;
  --c-green-light: #6ea636;
  --c-green-pale: #e8f5d4;
  --c-brown: #5c3d1a;
  --c-brown-light: #8b6534;
  --c-earth: #f5f0e8;
  --c-white: #ffffff;
  --c-black: #1a1a1a;
  --c-gray: #666666;
  --c-gray-light: #cccccc;
  --c-accent: #e85d26;
  --c-accent-hover: #d04a18;

  /* -- Typography -- */
  --ff-main: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-accent: "Noto Serif JP", "Yu Mincho", serif;

  /* -- Spacing -- */
  --sp-section: 80px;
  --sp-section-sp: 48px;

  /* -- Transition -- */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--ff-main);
  color: var(--c-black);
  background: var(--c-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only { display: none; }

@media (max-width: 768px) {
  .sp-only { display: inline; }
}

.br-sp { display: none; }

@media (max-width: 600px) {
  .br-sp { display: inline; }
}

/* ---------- Section Title ---------- */
.section-title {
  font-family: var(--ff-accent);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: var(--c-green-dark);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-main);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  padding: 14px 32px;
}

.btn--primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 38, 0.35);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-green-dark);
  padding: 14px 32px;
}

.btn--white:hover {
  background: var(--c-green-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn--lg {
  font-size: 1.15rem;
  padding: 18px 48px;
}

.btn--sm {
  font-size: 0.85rem;
  padding: 8px 16px;
}

.btn--outline {
  background: transparent;
  color: var(--c-green);
  border: 2px solid var(--c-green);
  padding: 8px 16px;
}

.btn--outline:hover {
  background: var(--c-green);
  color: var(--c-white);
}

.btn--full {
  width: 100%;
  max-width: 400px;
}

.btn__icon {
  font-size: 1.3em;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
}

.header__logo {
  display: flex;
  flex-direction: column;
}

.header__logo-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.header__logo-main {
  font-family: var(--ff-accent);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-green-dark);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.header__logo-sub {
  font-size: 0.7rem;
  color: var(--c-green);
  letter-spacing: 0.1em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-black);
  position: relative;
  transition: color 0.3s;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-green);
  transition: width 0.3s var(--ease);
}

.header__nav-link:hover {
  color: var(--c-green);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link--cta {
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: 8px 20px;
  border-radius: 4px;
}

.header__nav-link--cta::after {
  display: none;
}

.header__nav-link--cta:hover {
  background: var(--c-accent-hover);
  color: var(--c-white) !important;
}

/* Hamburger */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-black);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger span:nth-child(3) { bottom: 0; }

.header__hamburger.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* SP: ハンバーガー非表示、ボタンのみ常時表示 */
.header__hamburger {
  display: none !important;
}

@media (max-width: 768px) {
  .header__nav {
    gap: 12px;
  }

  .header__nav-link:not(.header__nav-link--cta) {
    display: none;
  }

  .header__nav-link--cta {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 72px;
  background-color: var(--c-green-dark);
}

.hero-slider__track {
  position: relative;
  width: 100%;
  display: grid;
}

.hero-slider__slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slider__img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
}

.hero-slider__catch {
  font-family: var(--ff-accent);
  font-size: 3rem;
  font-weight: 900;
  color: var(--c-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.08em;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero-slider {
    margin-top: 72px;
  }

  .hero-slider__catch {
    font-size: 1.8rem;
  }
}

/* Slider Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--c-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-slider__arrow--prev { left: 20px; }
.hero-slider__arrow--next { right: 20px; }

/* Slider Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-slider__dot.is-active {
  background: var(--c-white);
  transform: scale(1.2);
}

/* ============================================================
   VIDEOS SECTION
   ============================================================ */
.videos-section {
  padding: var(--sp-section) 0;
  background: var(--c-white);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.videos-grid__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: center;
  transition: transform 0.3s var(--ease);
}

.videos-grid__item:hover,
.videos-grid__item:focus-visible {
  transform: translateY(-4px);
  outline: none;
}

.videos-grid__media {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #000;
  transition: box-shadow 0.3s var(--ease);
}

.videos-grid__item:hover .videos-grid__media,
.videos-grid__item:focus-visible .videos-grid__media {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.videos-grid__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.videos-grid__caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-green-dark);
  letter-spacing: 0.04em;
  line-height: 1.5;
  min-height: calc(1.5em * 2);
  word-break: break-word;
  overflow-wrap: anywhere;
  padding: 0 4px;
}

.videos-grid__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 14px;
  transform: translate(-50%, -50%);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.videos-grid__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.videos-grid__item:hover .videos-grid__play,
.videos-grid__item:focus-visible .videos-grid__play {
  background: #e62117;
  transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 768px) {
  .videos-section {
    padding: var(--sp-section-sp) 0;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .videos-grid__caption {
    margin-top: 10px;
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 0;
  }

  .videos-grid__play {
    width: 56px;
    height: 40px;
  }

  .videos-grid__play::before {
    border-width: 9px 0 9px 15px;
  }
}

/* ---------- Video Modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
  z-index: 1;
}

.video-modal__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

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

.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s var(--ease);
}

.video-modal__close:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .video-modal {
    padding: 12px;
  }

  .video-modal__close {
    top: -38px;
    font-size: 2rem;
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--sp-section) 0;
  background-color: var(--c-earth);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(74, 124, 35, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(139, 101, 52, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 52L52 0' stroke='%234a7c23' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}

.cta-section .container {
  max-width: 1280px;
}

/* CTA Grid - テキスト左 / ボタン右 */
.cta-grid {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
}

.cta-grid__text {
  text-align: left;
}

.section-title--left {
  text-align: left;
}

.cta-section__lead {
  font-size: 1.05rem;
  color: var(--c-gray);
  line-height: 2;
  margin-bottom: 0;
}

.cta-section__lead strong {
  color: var(--c-green-dark);
  font-weight: 700;
}

/* 正方形ボタン */
.cta-grid__action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  text-align: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(232, 93, 38, 0.3);
}

.btn-square:hover {
  background: var(--c-accent-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(232, 93, 38, 0.4);
}

.btn-square__icon {
  font-size: 2.4rem;
  line-height: 1;
}

.btn-square__label {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .cta-section {
    padding: var(--sp-section-sp) 0;
  }

  .cta-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    text-align: center;
  }

  .cta-grid__text {
    text-align: left;
  }

  .section-title--left {
    text-align: center;
  }

  .cta-section__lead {
    font-size: 0.95rem;
  }

  .cta-section__lead br {
    display: none;
  }

  .btn-square {
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 18px 24px;
    gap: 16px;
  }

  .btn-square__icon {
    font-size: 1.8rem;
  }

  .btn-square__label {
    font-size: 1.05rem;
  }

  .btn-square__label br {
    display: none;
  }
}

/* ---------- CTA section note（協議会の控えめな案内文） ---------- */
.cta-section__note {
  max-width: 980px;
  margin: 40px auto 0;
  padding: 18px 22px;
  font-size: 0.82rem;
  line-height: 1.9;
  color: #7a7a7a;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid rgba(74, 124, 35, 0.35);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .cta-section__note {
    font-size: 0.78rem;
    padding: 14px 16px;
    margin-top: 28px;
  }
}

/* ============================================================
   PROGRAM INFO（下関市 ヤングファーマーズサポート事業 案内）
   ============================================================ */
.program-info {
  padding: var(--sp-section) 0;
  background-color: #fbfaf6;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(74, 124, 35, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(232, 93, 38, 0.04) 0%, transparent 45%);
  border-top: 1px solid rgba(74, 124, 35, 0.08);
  border-bottom: 1px solid rgba(74, 124, 35, 0.08);
}

.program-info__head {
  text-align: center;
  margin-bottom: 40px;
}

.program-info__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-green);
  padding: 5px 16px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.program-info__lead {
  font-size: 1rem;
  color: var(--c-gray);
  line-height: 2;
  margin-top: 16px;
}

.program-info__lead strong {
  color: var(--c-green-dark);
  font-weight: 700;
}

/* Highlight cards（給付金 / 募集期間 / 対象年齢 / 募集人数） */
.program-info__highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.program-info__highlight-item {
  background: var(--c-white);
  border: 1px solid rgba(74, 124, 35, 0.18);
  border-top: 4px solid var(--c-accent);
  border-radius: 10px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.06);
}

.program-info__highlight-item:nth-child(2) {
  border-top-color: var(--c-green);
}

.program-info__highlight-item:nth-child(3) {
  border-top-color: var(--c-brown-light);
}

.program-info__highlight-item:nth-child(4) {
  border-top-color: var(--c-green-dark);
}

.program-info__highlight-label {
  display: block;
  font-size: 0.78rem;
  color: var(--c-gray);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.program-info__highlight-value {
  display: block;
  font-family: var(--ff-accent);
  font-size: 1.05rem;
  color: var(--c-black);
  line-height: 1.4;
}

.program-info__highlight-value strong {
  font-size: 1.6rem;
  color: var(--c-green-dark);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.program-info__highlight-note {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--c-gray);
  line-height: 1.5;
}

/* Detail grid（3カード横並び） */
.program-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.program-info__card {
  background: var(--c-white);
  border-radius: 10px;
  padding: 26px 24px;
  border: 1px solid #ececec;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.program-info__card-title {
  font-family: var(--ff-accent);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-green-dark);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--c-green-pale);
}

.program-info__dl {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444;
}

.program-info__dl dt {
  font-weight: 700;
  color: var(--c-green-dark);
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.program-info__dl dt:first-child {
  margin-top: 0;
}

.program-info__dl dd {
  margin-left: 0;
  margin-top: 2px;
  color: #555;
}

.program-info__schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-info__schedule li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed #e6e6e6;
  font-size: 0.88rem;
}

.program-info__schedule li:last-child {
  border-bottom: none;
}

.program-info__schedule li span:first-child {
  font-weight: 700;
  color: var(--c-green-dark);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.program-info__schedule li span:last-child {
  color: #555;
}

.program-info__small {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--c-gray);
  text-align: right;
}

/* Contact box（市HPリンク） */
.program-info__contact {
  background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 100%);
  color: var(--c-white);
  border-radius: 12px;
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 12px 32px rgba(45, 80, 22, 0.18);
}

.program-info__contact-head {
  flex: 1;
}

.program-info__contact-title {
  font-family: var(--ff-accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.program-info__contact-sub {
  font-size: 0.9rem;
  opacity: 0.85;
}

.program-info__contact-body {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.program-info__contact-address {
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: right;
  opacity: 0.95;
}

.program-info__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-white);
  color: var(--c-green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 6px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.program-info__contact-link:hover {
  background: var(--c-green-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.program-info__contact-link-icon {
  font-size: 1.1em;
  line-height: 1;
}

@media (max-width: 900px) {
  .program-info__highlight {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-info__grid {
    grid-template-columns: 1fr;
  }

  .program-info__contact {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
  }

  .program-info__contact-head,
  .program-info__contact-body {
    flex: initial;
    align-items: stretch;
  }

  .program-info__contact-address {
    text-align: left;
  }

  .program-info__contact-link {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .program-info {
    padding: var(--sp-section-sp) 0;
  }

  .program-info__lead {
    font-size: 0.92rem;
  }

  .program-info__lead br {
    display: none;
  }

  .program-info__highlight {
    grid-template-columns: 1fr;
  }

  .program-info__highlight-value strong {
    font-size: 1.4rem;
  }

  .program-info__card {
    padding: 22px 20px;
  }
}

/* ============================================================
   MEMBERS SECTION
   ============================================================ */
.members-section {
  padding: var(--sp-section) 0;
  background-color: var(--c-white);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C32 10 35 12 30 15 C25 12 28 10 30 5z' fill='%234a7c23' fill-opacity='0.04'/%3E%3Cpath d='M30 15 L30 22' stroke='%234a7c23' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}

.members-section__intro {
  text-align: center;
  color: var(--c-gray);
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .members-section {
    padding: var(--sp-section-sp) 0;
  }
}

/* Member Tabs */
.member-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 3px solid var(--c-green-pale);
}

.member-tabs__btn {
  background: none;
  border: none;
  font-family: var(--ff-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-gray);
  padding: 14px 32px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-tabs__btn::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}

.member-tabs__btn.is-active {
  color: var(--c-green-dark);
}

.member-tabs__btn.is-active::after {
  background: var(--c-green);
}

.member-tabs__btn:hover {
  color: var(--c-green);
}

.member-tabs__count {
  font-size: 0.75rem;
  background: var(--c-green-pale);
  color: var(--c-green-dark);
  padding: 2px 8px;
  border-radius: 12px;
}

.member-tabs__btn.is-active .member-tabs__count {
  background: var(--c-green);
  color: var(--c-white);
}

@media (max-width: 768px) {
  .member-tabs__btn {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
}

/* Member Panel */
.member-panel {
  display: none;
  animation: fadeInUp 0.5s var(--ease);
}

.member-panel.is-active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Member Grid - 2 columns */
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 600px) {
  .member-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Member Card - 上段：画像2枚（左右）/ 下段：名前・作物 */
.member-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.member-card__img-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2px;
  background: var(--c-green-pale);
  width: 100%;
}

.member-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
}

.member-card__body {
  padding: 16px 20px;
  text-align: center;
}

.member-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-brown);
  margin-bottom: 4px;
}

/* Company name */
.member-card__company {
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

/* Crop tags */
.member-card__crops {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.member-card__crop {
  font-size: 0.78rem;
  color: var(--c-green-dark);
  font-weight: 600;
  display: inline-block;
  background: var(--c-green-pale);
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(74, 124, 35, 0.15);
  letter-spacing: 0.03em;
}

/* Description text */
.member-card__desc {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e0e0e0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

.member-card__type {
  font-size: 0.85rem;
  color: var(--c-green);
  font-weight: 600;
  display: inline-block;
  background: var(--c-green-pale);
  padding: 2px 10px;
  border-radius: 4px;
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.bottom-cta {
  position: relative;
  padding: var(--sp-section) 0;
  text-align: center;
  background-color: var(--c-accent);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(0, 0, 0, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #f07a3a 0%, #e85d26 35%, #d04a18 70%, #a93a13 100%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0M-10 10L10 -10M30 50L50 30' stroke='%23ffffff' stroke-opacity='0.18' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: auto, auto, auto, 40px 40px;
  color: var(--c-white);
  overflow: hidden;
}

.bottom-cta::before,
.bottom-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bottom-cta::before {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 200, 150, 0.35) 0%, transparent 70%);
}

.bottom-cta::after {
  width: 380px;
  height: 380px;
  bottom: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.25) 0%, transparent 70%);
}

.bottom-cta .container {
  position: relative;
  z-index: 1;
}

.bottom-cta__text {
  font-family: var(--ff-accent);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bottom-cta .btn--white {
  color: var(--c-accent);
}

.bottom-cta .btn--white:hover {
  background: #fff5ef;
  color: var(--c-accent-hover);
}

@media (max-width: 768px) {
  .bottom-cta {
    padding: var(--sp-section-sp) 0;
  }

  .bottom-cta__text {
    font-size: 1.2rem;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 24px 0;
  text-align: center;
  background-color: var(--c-black);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* ============================================================
   FORM PAGE
   ============================================================ */

/* Form Hero */
.form-hero {
  margin-top: 72px;
  padding: 64px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 100%);
  color: var(--c-white);
}

.form-hero__title {
  font-family: var(--ff-accent);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-hero__sub {
  font-size: 1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .form-hero {
    padding: 40px 0;
  }

  .form-hero__title {
    font-size: 1.8rem;
  }
}

/* Form Description */
.form-description {
  padding: 48px 0;
  background-color: var(--c-earth);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='2' fill='%234a7c23' fill-opacity='0.06'/%3E%3C/svg%3E");
}

.form-description__box {
  max-width: 800px;
  margin: 0 auto;
}

.form-description__heading {
  font-family: var(--ff-accent);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: var(--c-green-dark);
  margin-bottom: 32px;
}

.form-description__steps {
  display: flex;
  gap: 24px;
}

/* 6ステップ表示用（3列×2段） */
.form-description__steps--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-description__step {
  flex: 1;
  text-align: center;
  background: var(--c-white);
  padding: 24px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.form-description__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-white);
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.form-description__step-text {
  font-size: 0.9rem;
  color: var(--c-gray);
  line-height: 1.6;
}

.form-description__step-text strong {
  color: var(--c-green-dark);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .form-description__steps--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .form-description__steps {
    flex-direction: column;
    gap: 16px;
  }

  .form-description__steps--6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Form Section */
.form-section {
  padding: var(--sp-section) 0;
  background: var(--c-white);
}

.application-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 28px;
}

.form-group--submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit-note {
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #555;
  background: var(--c-green-pale);
  border-left: 3px solid var(--c-green);
  border-radius: 4px;
  text-align: left;
}

@media (max-width: 768px) {
  .form-submit-note {
    font-size: 0.8rem;
    padding: 12px 14px;
  }

  .form-submit-note br {
    display: none;
  }
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 8px;
}

.form-label__required {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--c-white);
  background: var(--c-accent);
  padding: 1px 8px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--ff-main);
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--c-white);
}

.form-input:focus {
  outline: none;
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(74, 124, 35, 0.15);
}

.form-input.is-error {
  border-color: #e74c3c;
}

.form-input--zip {
  width: 160px;
}

.form-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-input-prefix {
  font-size: 1.1rem;
  color: var(--c-gray);
  font-weight: 700;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 1em;
}

/* Checkbox Group */
.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.form-checkbox:hover {
  border-color: var(--c-green-light);
  background: var(--c-green-pale);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--c-green);
  width: 18px;
  height: 18px;
}

.form-checkbox input[type="checkbox"]:checked + span {
  color: var(--c-green-dark);
  font-weight: 600;
}

/* Form Thanks */
.form-thanks {
  text-align: center;
  padding: 48px 0;
}

.form-thanks__inner {
  max-width: 480px;
  margin: 0 auto;
}

.form-thanks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-white);
  font-size: 2rem;
  margin-bottom: 24px;
}

.form-thanks__title {
  font-family: var(--ff-accent);
  font-size: 1.6rem;
  color: var(--c-green-dark);
  margin-bottom: 16px;
}

.form-thanks__text {
  font-size: 0.95rem;
  color: var(--c-gray);
  margin-bottom: 32px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .form-section {
    padding: var(--sp-section-sp) 0;
  }
}

/* ============================================================
   UTILITY / ANIMATION
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
