@charset "utf-8";

/* ==============================================
   Producers Page (生産者一覧ページ・個別生産者ページ)
   ============================================== */

/* ベーススタイルは common.css から継承 */

/* ==============================================
   生産者一覧ページ
   ============================================== */

.producers-page {
  padding: 0;
}

/* ページヘッダー */
.producers-page .page-header {
  text-align: center;
  padding: 60px 20px 50px;
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.03) 0%, rgba(184, 161, 104, 0.03) 100%);
  border-bottom: 1px solid rgba(143, 169, 104, 0.15);
  margin-bottom: 50px;
}

.producers-page .page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.1em;
  margin: 0 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.producers-page .page-title .sub-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 400;
  color: #8fa968;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

.producers-page .page-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

/* 生産者カードグリッド */
.producers-page .producers-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

/* 生産者カード */
.producers-page .producer-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(143, 169, 104, 0.1);
}

.producers-page .producer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(143, 169, 104, 0.2);
  border-color: rgba(143, 169, 104, 0.3);
}

/* リンクなしカード */
.producers-page .producer-card.no-link {
  cursor: default;
}

.producers-page .producer-card.no-link:hover {
  transform: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(143, 169, 104, 0.1) !important;
}

.producers-page .producer-card.no-link:hover .producer-image {
  transform: none !important;
}

.producers-page .producer-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 生産者画像 */
.producers-page .producer-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f2ee;
  position: relative;
}

.producers-page .producer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.producers-page .producer-card:hover .producer-image {
  transform: scale(1.08);
}

/* 生産者情報 */
.producers-page .producer-info {
  padding: 24px 16px;
  text-align: center;
}

.producers-page .producer-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
  line-height: 1.4;
}

.producers-page .producer-location {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.producers-page .producer-location i {
  font-size: 10px;
  color: #8fa968;
  opacity: 0.7;
}

.producers-page .producer-type {
  font-size: 12px;
  color: #8fa968;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.producers-page .producer-caption {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}


/* ==============================================
   個別生産者ページ
   ============================================== */

.producer-detail {
  padding: 0 0 60px;
}

/* ヒーローセクション */
.producer-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  padding: 40px;
  background: linear-gradient(135deg, 
    rgba(249, 247, 244, 0.4) 0%, 
    rgba(250, 248, 243, 0.6) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(143, 169, 104, 0.1);
  box-shadow: 0 4px 20px rgba(143, 169, 104, 0.08);
}

.producer-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.producer-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.producer-hero-image:hover img {
  transform: scale(1.05);
}

.producer-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.producer-hero-type {
  font-size: 13px;
  color: #8fa968;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 16px;
  padding-left: 24px;
  position: relative;
}

.producer-hero-type::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 2px;
  background: linear-gradient(to right, #8fa968, transparent);
}

.producer-hero-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  line-height: 1.4;
}

.producer-hero-location {
  font-size: 14px;
  color: #999;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 2px;
}

.producer-hero-location i {
  font-size: 13px;
  color: #8fa968;
  opacity: 0.8;
}

.producer-hero-caption {
  font-size: 18px;
  color: #666;
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin: 0;
  padding-left: 2px;
  font-style: italic;
}

/* コンテンツセクション */
.producer-content {
  max-width: 900px;
  margin: 0 auto;
}

.producer-section {
  margin-bottom: 60px;
  padding-bottom: 50px;
  border-bottom: 1px dashed rgba(143, 169, 104, 0.2);
  position: relative;
}

.producer-section:last-child {
  border-bottom: none;
  margin-bottom: 40px;
  padding-bottom: 0;
}

.producer-section::after {
  content: "◆";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(143, 169, 104, 0.3);
  font-size: 10px;
}

.producer-section:last-child::after {
  display: none;
}

.producer-detail .producer-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px !important;
  font-weight: 600;
  color: #2a2a2a !important;
  letter-spacing: 0.1em;
  margin: 0 0 30px !important;
  padding-left: 40px !important;
  padding-bottom: 8px !important;
  border-bottom: none !important;
  position: relative;
  display: flex;
  align-items: center;
}

/* 左側の正方形装飾 */
.producer-detail .producer-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(
    135deg,
    #8fa968 0%,
    #7d9056 50%,
    #b8a168 100%
  );
  border-radius: 3px;
  box-shadow: 
    0 2px 8px rgba(143, 169, 104, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* タイトル下のアンダーライン */
.producer-detail .producer-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    #8fa968 0%,
    rgba(143, 169, 104, 0.5) 40%,
    rgba(143, 169, 104, 0.2) 70%,
    transparent 100%
  );
}

.producer-text p {
  font-size: 15px;
  color: #555;
  line-height: 2;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}

.producer-text p:last-child {
  margin-bottom: 0;
}

/* リスト */
.producer-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.producer-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.producer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8fa968;
  font-weight: bold;
  font-size: 16px;
}

/* メッセージセクション */
.producer-message {
  background: linear-gradient(135deg, 
    rgba(249, 247, 244, 0.5) 0%, 
    rgba(250, 248, 243, 0.7) 100%
  );
  padding: 30px 40px;
  border-radius: 12px;
  border-left: 4px solid #8fa968;
  box-shadow: 0 2px 12px rgba(143, 169, 104, 0.08);
  position: relative;
}

.producer-message::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 40px;
  color: rgba(143, 169, 104, 0.15);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.producer-message p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: #444;
}

/* 商品を見るボタン */
.producer-products-link {
  text-align: center;
  margin-top: 50px;
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.06) 0%, rgba(184, 157, 107, 0.06) 100%);
  border-radius: 12px;
}

.btn-products {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;
  background: #8fa968;
  color: #fff;
  border: 2px solid #8fa968;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-products:hover {
  background: #7a9455;
  border-color: #7a9455;
  color: #fff;
  box-shadow: 0 6px 20px rgba(143, 169, 104, 0.4);
  transform: translateY(-2px);
}

.btn-products i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-products:hover i {
  transform: translateX(4px);
}

/* 戻るボタン */
.producer-back {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px dashed rgba(143, 169, 104, 0.2);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: #fff;
  color: #8fa968;
  border: 2px solid #8fa968;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-back:hover {
  background: #8fa968;
  color: #fff;
  box-shadow: 0 6px 20px rgba(143, 169, 104, 0.3);
  transform: translateY(-2px);
}

.btn-back i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.btn-back:hover i {
  transform: translateX(-4px);
}


/* ==============================================
   レスポンシブ対応
   ============================================== */

/* タブレット */
@media screen and (max-width: 1024px) {
  .producers-page .producers-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .producers-page .page-title {
    font-size: 28px;
  }
  
  .producers-page .page-header {
    padding: 50px 20px 40px;
    margin-bottom: 40px;
  }
  
  .producers-page .page-intro {
    font-size: 14px;
  }
  
  .producer-hero {
    gap: 40px;
    padding: 30px;
  }
  
  .producer-hero-name {
    font-size: 36px;
  }
  
  .producer-hero-caption {
    font-size: 16px;
  }
  
  .producer-detail .producer-section-title {
    font-size: 22px !important;
    padding-left: 36px !important;
    padding-bottom: 7px !important;
  }
  
  .producer-detail .producer-section-title::before {
    width: 22px;
    height: 22px;
  }
}

/* スマートフォン */
@media screen and (max-width: 768px) {
  /* 生産者一覧ページ */
  .producers-page .page-header {
    padding: 45px 15px 35px;
    margin-bottom: 35px;
  }
  
  .producers-page .page-title {
    font-size: 24px;
  }
  
  .producers-page .page-title .sub-title {
    font-size: 12px;
  }
  
  .producers-page .page-intro {
    font-size: 13px;
    line-height: 1.8;
  }
  
  .producers-page .producers-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .producers-page .producer-card {
    max-width: 100%;
  }
  
  .producers-page .producer-info {
    padding: 16px 12px;
  }
  
  .producers-page .producer-name {
    font-size: 15px;
    margin-bottom: 5px;
  }
  
  .producers-page .producer-location {
    font-size: 10px;
    margin-bottom: 6px;
    gap: 3px;
  }
  
  .producers-page .producer-location i {
    font-size: 9px;
  }
  
  .producers-page .producer-type {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .producers-page .producer-caption {
    font-size: 12px;
  }
  
  .producers-page {
    padding: 30px 0 60px;
  }
  
  .producers-page .category-title {
    margin-bottom: 40px;
  }
  
  .producers-page .category-title h1 {
    font-size: 24px;
    padding-bottom: 24px;
  }
  
  .producers-page .category-title h1::after {
    width: 60px;
    height: 2.5px;
  }
  
  .producers-page .category-title .en-sub {
    font-size: 12px;
    margin-top: 10px;
  }
  
  .producers-intro {
    padding: 20px 24px;
    margin-bottom: 40px;
  }
  
  .producers-intro::before {
    font-size: 36px;
    top: 10px;
    left: 15px;
  }
  
  .producers-intro p {
    font-size: 13px;
    line-height: 1.9;
  }
  
  /* 個別生産者ページ */
  .producer-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
    margin-bottom: 40px;
  }
  
  .producer-hero-image {
    aspect-ratio: 16 / 10;
  }
  
  .producer-hero-info {
    padding: 10px 0 0;
  }
  
  .producer-hero-name {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .producer-hero-location {
    font-size: 12px;
    margin-bottom: 12px;
    gap: 4px;
  }
  
  .producer-hero-location i {
    font-size: 11px;
  }
  
  .producer-hero-caption {
    font-size: 15px;
  }
  
  .producer-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
  }
  
  .producer-detail .producer-section-title {
    font-size: 20px !important;
    margin-bottom: 24px !important;
    padding-left: 34px !important;
    padding-bottom: 6px !important;
  }
  
  .producer-detail .producer-section-title::before {
    width: 20px;
    height: 20px;
  }
  
  .producer-text p {
    font-size: 14px;
    line-height: 1.9;
  }
  
  .producer-list li {
    font-size: 14px;
    padding-left: 24px;
  }
  
  .producer-message {
    padding: 24px 28px;
  }
  
  .producer-message::before {
    font-size: 32px;
    top: 15px;
    left: 15px;
  }
  
  .producer-products-link {
    margin-top: 40px;
    padding: 30px 0;
  }

  .btn-products {
    padding: 14px 36px;
    font-size: 13px;
  }

  .producer-back {
    margin-top: 50px;
    padding-top: 30px;
  }
  
  .btn-back {
    padding: 12px 30px;
    font-size: 13px;
  }
}

/* ============================================================
   訪問記への誘導ブロック（生産者一覧末尾）
   ============================================================ */

.visits-promo {
  max-width: 900px;
  margin: 60px auto 0;
  padding-top: 50px;
  border-top: 1px solid #e8e0d5;
}

.visits-promo-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.06) 0%, rgba(184, 161, 104, 0.04) 100%);
  border: 1px solid rgba(143, 169, 104, 0.2);
  border-radius: 14px;
}

.visits-promo-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(143, 169, 104, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6b8c45;
}

.visits-promo-body {
  flex: 1;
  min-width: 0;
}

.visits-promo-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 6px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.visits-promo-desc {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.btn-visits-promo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: #6b8c45;
  border: 2px solid #8fa968;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-visits-promo:hover {
  background: #8fa968;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(143, 169, 104, 0.35);
}

.btn-visits-promo i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.btn-visits-promo:hover i {
  transform: translateX(3px);
}

@media screen and (max-width: 768px) {
  .visits-promo {
    margin-top: 40px;
    padding-top: 36px;
  }

  .visits-promo-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .visits-promo-body {
    text-align: center;
  }

  .btn-visits-promo {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    box-sizing: border-box;
  }
}

