/* ========================================
   銀波 Hero / Modal CSS
   (reset & :root は globals.css に委譲)
======================================== */
:root {
  --color-text:       #333333;
  --color-text-light: #666666;
  --font-base:        var(--font-noto-sans-jp, 'Noto Sans JP', 'Hiragino Sans', sans-serif);
  --font-heading:     var(--font-noto-sans-jp, 'Noto Sans JP', 'Hiragino Sans', sans-serif);
}

/* ========================================
   Hero Slideshow
======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

/* White overlay that fades out */
.hero__white {
  position: absolute;
  inset: 0;
  z-index: 500;
  background: #fff;
  animation: whiteOut 2s ease-in-out 1.5s forwards;
  pointer-events: none;
}

@keyframes whiteOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  will-change: opacity, transform;
  transition: opacity 2s ease-in-out;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* 前のスライド: 下に残って緩やかにフェードアウト */
.hero__slide.is-prev {
  opacity: 1;
  z-index: 2;
  transition: opacity 3s ease-in-out;
}

/* 現在のスライド: 上に来てフェードイン */
.hero__slide.is-visible {
  opacity: 1;
  z-index: 3;
  transition: opacity 2s ease-in-out;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.88) saturate(1.05);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* ----------------------------------------
   Symbol overlay
---------------------------------------- */
.hero__symbol {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero__symbol img {
  width: 120px;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.35));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: symbolAll 15s ease-in-out 2s forwards;
}

@keyframes symbolAll {
  /* 0s-0.8s: fade in + spin start */
  0%   { opacity: 0; transform: perspective(800px) rotateY(0deg); }
  5%   { opacity: 0.9; transform: perspective(800px) rotateY(144deg); }
  /* spin continues */
  33%  { opacity: 0.9; transform: perspective(800px) rotateY(720deg); }
  /* hold visible */
  73%  { opacity: 0.9; transform: perspective(800px) rotateY(720deg); }
  /* fade out */
  100% { opacity: 0; transform: perspective(800px) rotateY(720deg); }
}

/* ----------------------------------------
   Logo (top-left)
---------------------------------------- */
.hero__logo {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 100;
  text-decoration: none;
}

.hero__logo img {
  width: 220px;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: logoFadeIn 2s ease-in-out 15s forwards;
}

@keyframes logoFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.95; }
}

/* breath は fadeIn 完了後に JS で付与 */
.hero__logo img.is-breathing {
  animation: logoBreath 8s ease-in-out infinite;
  opacity: 0.95;
}

@keyframes logoBreath {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
  }
}

/* ----------------------------------------
   Hamburger Menu (top-right)
---------------------------------------- */
@keyframes hamburgerPulse {
  0%, 85%, 100% { transform: scale(1); }
  90%           { transform: scale(1.12); }
  95%           { transform: scale(1.06); }
}

.hero__hamburger {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 300;
  width: 44px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: uiFadeIn 1.5s ease-in-out 3s forwards;
}

/* パルスは fadeIn 完了後に JS で付与 */
.hero__hamburger.is-pulsing {
  animation: hamburgerPulse 4s ease-in-out infinite;
  opacity: 1;
}

.hero__hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease;
}

/* メニュー開いているときはパルス停止 */
.hero__hamburger.is-open {
  animation: none;
  opacity: 1;
}

/* ✕ に変形 */
.hero__hamburger.is-open span {
  background: var(--color-text);
  filter: none;
}
.hero__hamburger.is-open span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}
.hero__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hero__hamburger.is-open span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* ----------------------------------------
   Navigation Overlay
---------------------------------------- */
.nav-overlay {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

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

.nav-overlay__list {
  list-style: none;
  text-align: center;
}

.nav-overlay__list li {
  opacity: 0;
  transform: translateY(15px);
}

.nav-overlay.is-open .nav-overlay__list li {
  animation: navWave 1.8s ease-in-out forwards;
}

.nav-overlay.is-open .nav-overlay__list li:nth-child(1) { animation-delay: 0.1s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(2) { animation-delay: 0.2s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(3) { animation-delay: 0.3s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(4) { animation-delay: 0.4s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(5) { animation-delay: 0.5s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(6) { animation-delay: 0.6s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(7) { animation-delay: 0.7s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(8) { animation-delay: 0.8s; }
.nav-overlay.is-open .nav-overlay__list li:nth-child(9) { animation-delay: 0.9s; }

@keyframes navWave {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  25% {
    opacity: 1;
    transform: translateY(-4px);
  }
  45% {
    transform: translateY(2px);
  }
  60% {
    transform: translateY(-1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-overlay__list a {
  display: inline-block;
  /* ウィンドウ高さの ~70% に収まるよう vh ベースで動的にスケール */
  padding: clamp(6px, 0.9vh, 18px) 0;
  font-family: var(--font-heading);
  font-size: clamp(14px, 3.2vh, 28px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #444;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.25s ease;
}

.nav-overlay__list a:hover {
  color: #2a6b3f;
  transform: scale(1.12);
}

.nav-overlay__list a:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* SNS Icons（ナビ内） */
.nav-overlay__sns-item {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-top: 18px !important;
}

.nav-overlay__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-overlay__sns-link:hover {
  color: #888;
  transform: scale(1.15);
}

@media (min-width: 1024px) {
  .nav-overlay__list a {
    font-size: clamp(16px, 3.5vh, 34px);
    padding: clamp(8px, 1.1vh, 22px) 0;
  }
  .nav-overlay__sns-item {
    gap: 36px;
    padding-top: 24px !important;
  }
  .nav-overlay__sns-link svg {
    width: 32px;
    height: 32px;
  }
}

/* ----------------------------------------
   Chat Button (bottom-right)
---------------------------------------- */
.hero__chat {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: uiFadeIn 1.5s ease-in-out 5s forwards;
}

/* sway は fadeIn 完了後に JS で付与 */
.hero__chat.is-swaying {
  animation: chatSway 3s ease-in-out infinite;
  opacity: 1;
}

.hero__chat img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.hero__chat img:hover {
  transform: scale(1.08);
}

@keyframes chatSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-4px) rotate(2deg); }
  75%      { transform: translateY(2px) rotate(-1.5deg); }
}

@keyframes uiFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ----------------------------------------
   Typewriter (bottom-left)
---------------------------------------- */
/* SEO 用 H1 の視覚的非表示（スクリーンリーダー & 検索クローラーには可視） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__typewriter {
  position: absolute;
  /* PC: 下段の新着情報との間隔を 220px に（ゆとりある配置）*/
  bottom: 220px;
  left: 40px;
  z-index: 100;
  pointer-events: none;
  font-family: var(--font-base);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* ------------------------------------------------------------
   ヒーロー左下：新着情報（typewriter の下）
------------------------------------------------------------ */
.hero__news {
  position: absolute;
  left: 40px;
  bottom: 30px;
  z-index: 100;
  /* PC 版はボックスを横に広げて 1 行タイトルを収まりやすく */
  max-width: min(600px, 55vw);
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-base);
}
.hero__news-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}
.hero__news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__news-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  color: #fff;
  text-decoration: none;
  /* PC 基本 +3px（16px）／スマホは media query で 12px に下げる */
  font-size: 16px;
  line-height: 1.4;
  transition: opacity 0.15s;
}
.hero__news-list a:hover { opacity: 0.75; }
.hero__news-date {
  flex: 0 0 auto;
  font-size: 13px;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.hero__news-title {
  flex: 1 1 auto;
  /* 1 行に収める（ボックス幅を広げて対応）*/
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero__news {
    left: 16px;
    /* 右下チャットボタン(bottom:30, right:30, width:120) を隠さないよう空ける */
    right: 160px;
    bottom: 20px;
    max-width: none;
    padding: 8px 12px;
  }
  .hero__news-label { font-size: 10px; margin-bottom: 4px; }
  .hero__news-list a { font-size: 12px; padding: 2px 0; }
  .hero__news-date { font-size: 10px; }
  /* typewriter は news の上に余裕を持って表示 */
  .hero__typewriter { bottom: 200px; left: 20px; font-size: 18px; }
}

.hero__typewriter.is-active {
  opacity: 1;
}

.hero__typewriter.is-active.is-fading {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

/* ----------------------------------------
   AI生成ヒーローテキスト
---------------------------------------- */
.hero__ai-text {
  position: absolute;
  bottom: 100px;
  left: 40px;
  right: 40px;
  z-index: 100;
  pointer-events: none;
  max-width: 560px;
}

.hero__ai-heading {
  font-family: var(--font-base);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin: 0 0 8px;
}

.hero__ai-subtext {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin: 0;
}

@media (max-width: 767px) {
  .hero__ai-text {
    bottom: 80px;
    left: 20px;
    right: 20px;
  }
  .hero__ai-heading {
    font-size: 20px;
  }
  .hero__ai-subtext {
    font-size: 12px;
  }
}

/* ----------------------------------------
   PR Card (left side, vertical)
---------------------------------------- */
.hero__pr-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  z-index: 100;
  border-radius: 0 8px 8px 0;
  padding: 20px 12px 20px 10px;
  border: 2px solid transparent;
  border-left: none;
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)) padding-box,
    linear-gradient(180deg,
      #ffbbbb, #ffddbb, #ffffbb, #bbffcc, #bbddff, #ddbbff, #ffbbdd, #ffbbbb
    ) border-box;
  background-size: 100% 100%, 100% 400%;
  animation: rainbowBorder 6s linear infinite;
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.6;
  color: #555;
  text-align: center;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.35s ease-out, filter 0.35s ease-out;
  transform-origin: left center;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.15));
}

.hero__pr-card.is-visible:hover {
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.25));
}

@keyframes rainbowBorder {
  0%   { background-position: 50% 0%, 50% 0%; }
  100% { background-position: 50% 0%, 50% 400%; }
}

@keyframes prCardPulse {
  0%, 85%, 100% { transform: translateY(-50%) translateX(0) scale(1); }
  90%           { transform: translateY(-50%) translateX(0) scale(1.08); }
  95%           { transform: translateY(-50%) translateX(0) scale(1.04); }
}

.hero__pr-card.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  animation: prCardPulse 10s ease-in-out 3s infinite;
}

.hero__pr-card.is-visible:hover {
  animation-play-state: paused;
}

.hero__pr-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  bottom: -2px;
  width: 2px;
  background: rgba(255,255,255,0.82);
}

.hero__pr-card span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-6px);
}

.hero__pr-card.is-visible span {
  animation: prCharWave 0.6s ease-out forwards;
}

@keyframes prCharWave {
  0%   { opacity: 0; transform: translateX(-6px); }
  50%  { opacity: 1; transform: translateX(2px); }
  100% { opacity: 1; transform: translateX(0); }
}

@media (min-width: 1024px) {
  .hero__pr-card {
    /* PC のみ +20% → -10% で正味 +8%（TOP ページの左縦型 PR カード）*/
    font-size: 20px;              /* 22 × 0.9 */
    padding: 26px 15px 26px 13px; /* 29/17/29/14 × 0.9 */
    letter-spacing: 0.16em;       /* 0.18em × 0.9 */
    /* 中央から 30px 上に */
    top: calc(50% - 30px);
  }
}

/* ----------------------------------------
   Kodawari Modal
---------------------------------------- */
.kodawari {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.kodawari__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.kodawari__card {
  position: relative;
  padding: 50px 40px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(170deg, rgba(255,255,253,0.95), rgba(250,248,240,0.92));
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.15),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
  transform: scale(0.9);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kodawari.is-open .kodawari__card {
  transform: scale(1);
}

.kodawari__poem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.kodawari__line {
  white-space: nowrap;
}

.kodawari__line span {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.25em;
  line-height: 2;
  color: #444;
  opacity: 0;
  transform: translateY(10px);
}

/* 各行の頭文字（ぎ・ん・な・み）を強調 */
.kodawari__line span:first-child {
  font-weight: 700;
  color: #2a6b3f;
  font-size: 26px;
}

.kodawari.is-open .kodawari__line span {
  animation: poemWave 0.7s ease-out forwards;
}

@keyframes poemWave {
  0%   { opacity: 0; transform: translateY(10px); }
  50%  { opacity: 1; transform: translateY(-3px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) {
  .kodawari__card {
    padding: 60px 50px;
  }
  .kodawari__poem {
    gap: 8px;
  }
  .kodawari__line span {
    font-size: 28px;
  }
  .kodawari__line span:first-child {
    font-size: 34px;
  }
}

/* ----------------------------------------
   FAQ Modal
---------------------------------------- */
.faq {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.faq__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.faq__card {
  position: relative;
  width: 90vw;
  max-width: 680px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 40px 28px 36px;
  border-radius: 8px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(170deg, rgba(255,255,253,0.97), rgba(250,248,240,0.95));
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.18),
    inset 0 0 30px rgba(255, 255, 255, 0.5);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq.is-open .faq__card {
  transform: scale(1) translateY(0);
}

/* スクロールバー */
.faq__card::-webkit-scrollbar {
  width: 5px;
}
.faq__card::-webkit-scrollbar-track {
  background: transparent;
}
.faq__card::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

/* 閉じるボタン */
.faq__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq__close:hover {
  color: #555;
}

/* タイトル */
.faq__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #333;
  text-align: center;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(8px);
}

.faq.is-open .faq__title {
  animation: faqFadeUp 0.6s ease-out 0.2s forwards;
}

/* カテゴリ */
.faq__category {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(12px);
}

.faq.is-open .faq__category {
  animation: faqFadeUp 0.5s ease-out forwards;
}

.faq.is-open .faq__category:nth-child(2) { animation-delay: 0.25s; }
.faq.is-open .faq__category:nth-child(3) { animation-delay: 0.35s; }
.faq.is-open .faq__category:nth-child(4) { animation-delay: 0.45s; }
.faq.is-open .faq__category:nth-child(5) { animation-delay: 0.55s; }
.faq.is-open .faq__category:nth-child(6) { animation-delay: 0.65s; }
.faq.is-open .faq__category:nth-child(7) { animation-delay: 0.75s; }

.faq__cat-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2a6b3f;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1.5px solid rgba(42, 107, 63, 0.2);
}

/* Q&A アイテム */
.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__q {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 14px 32px 14px 0;
  background: none;
  border: none;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: #444;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.faq__q::before {
  content: 'Q.';
  flex-shrink: 0;
  font-weight: 700;
  color: #2a6b3f;
  margin-right: 8px;
}

/* 開閉アイコン */
.faq__q::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__q::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq__q:hover {
  color: #222;
}

/* 回答 */
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 0 0 28px;
}

.faq__item.is-open .faq__a {
  max-height: 300px;
  padding: 0 0 14px 28px;
}

.faq__a p {
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #666;
}

.faq__a p::before {
  content: 'A.';
  font-weight: 700;
  color: #8b6914;
  margin-right: 6px;
}

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

@media (min-width: 1024px) {
  .faq__card {
    width: 80vw;
    max-width: 1080px;
    padding: 52px 48px 44px;
  }
  .faq__title {
    font-size: 30px;
    margin-bottom: 36px;
  }
  .faq__cat-title {
    font-size: 19px;
  }
  .faq__q {
    font-size: 18px;
    padding: 18px 40px 18px 0;
  }
  .faq__a p {
    font-size: 16px;
  }
  .faq__close {
    top: 16px;
    right: 20px;
    font-size: 32px;
    width: 40px;
    height: 40px;
  }
}

/* ----------------------------------------
   Farm Modal (FAQ共通クラス再利用)
---------------------------------------- */
.farm {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

/* Farmカード：flexで固定ヘッダー＋スクロール分離 */
.farm__card {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;          /* カード自体のスクロールを無効化 */
}
.farm__sticky-header {
  flex-shrink: 0;
  z-index: 2;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(170deg, rgba(255,255,253,0.98), rgba(250,248,240,0.98));
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin: -40px -28px 0;
  padding: 40px 28px 10px;
}
.farm__sticky-header .faq__title {
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 10px;
}
.farm__scroll-body {
  flex: 1;
  overflow-y: auto;
  padding-top: 16px;
  min-height: 0;               /* flex子要素のoverflow対応 */
}
.farm__scroll-body::-webkit-scrollbar {
  width: 5px;
}
.farm__scroll-body::-webkit-scrollbar-track {
  background: transparent;
}
.farm__scroll-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

/* 目次セクション */
.farm__toc {
  background: #f5f9f2;
  border: 1px solid #d4e4cc;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.farm__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}
.farm__toc-list li {
  width: 100%;
}
.farm__toc-link {
  display: block;
  padding: 7px 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #2a6b3f;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}
.farm__toc-link::before {
  content: '▸ ';
  font-size: 11px;
}
.farm__toc-link:hover {
  background: #e4f0de;
  transform: translateX(4px);
}
@media (min-width: 1024px) {
  .farm__toc {
    padding: 18px 24px;
    margin-bottom: 28px;
  }
  .farm__toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .farm__toc-list li {
    width: auto;
  }
  .farm__toc-link {
    font-size: 15px;
    padding: 8px 14px;
  }
  .farm__sticky-header {
    margin: -52px -48px 0;
    padding: 52px 48px 12px;
  }
}

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

.farm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.farm.is-open .faq__card {
  transform: scale(1) translateY(0);
}

.farm.is-open .faq__title {
  animation: faqFadeUp 0.6s ease-out 0.2s forwards;
}

.farm.is-open .faq__category {
  animation: faqFadeUp 0.5s ease-out forwards;
}

.farm.is-open .faq__category:nth-child(2) { animation-delay: 0.25s; }
.farm.is-open .faq__category:nth-child(3) { animation-delay: 0.35s; }
.farm.is-open .faq__category:nth-child(4) { animation-delay: 0.45s; }
.farm.is-open .faq__category:nth-child(5) { animation-delay: 0.55s; }
.farm.is-open .faq__category:nth-child(6) { animation-delay: 0.65s; }

/* Q. ラベルなし — 項目タイトルスタイル */
.farm__q::before {
  content: none;
}

.farm.is-open .faq__item.is-open .faq__q::after,
.farm .faq__item.is-open .faq__q::after {
  transform: translateY(-35%) rotate(-135deg);
}

/* 農作物カレンダー */
.farm__calendar {
  padding: 4px 0;
}

.farm__month {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.farm__month:last-child {
  border-bottom: none;
}

.farm__month-label {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #2a6b3f;
  letter-spacing: 0.03em;
}

.farm__month-text {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
}

/* 基本情報 */
.farm__info {
  padding: 4px 0;
}

.farm__dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2px 12px;
}

.farm__dl dt {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #2a6b3f;
  padding: 8px 0;
  letter-spacing: 0.03em;
}

.farm__dl dd {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  color: #555;
  padding: 8px 0;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 1024px) {
  .farm__month-label {
    width: 100px;
    font-size: 16px;
  }
  .farm__month-text {
    font-size: 16px;
  }
  .farm__dl {
    grid-template-columns: 100px 1fr;
  }
  .farm__dl dt {
    font-size: 15px;
  }
  .farm__dl dd {
    font-size: 16px;
  }
}

/* -- Farm Map -- */
.farm__map-wrap {
  margin-top: 12px;
}
.farm__map-wrap iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}
.farm__map-address {
  margin-top: 8px;
  font-size: 13px;
  color: #555;
  text-align: center;
}
@media (min-width: 1024px) {
  .farm__map-wrap iframe {
    height: 400px;
  }
  .farm__map-address {
    font-size: 15px;
  }
}

/* ----------------------------------------
   Voice Modal (お客様の声)
---------------------------------------- */
.voice {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.voice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.voice.is-open .faq__card {
  transform: scale(1) translateY(0);
}

.voice.is-open .faq__title {
  animation: faqFadeUp 0.6s ease-out 0.2s forwards;
}

.voice__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.voice__item {
  padding: 18px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(10px);
}

.voice.is-open .voice__item {
  animation: faqFadeUp 0.5s ease-out forwards;
}

.voice.is-open .voice__item:nth-child(1)  { animation-delay: 0.15s; }
.voice.is-open .voice__item:nth-child(2)  { animation-delay: 0.22s; }
.voice.is-open .voice__item:nth-child(3)  { animation-delay: 0.29s; }
.voice.is-open .voice__item:nth-child(4)  { animation-delay: 0.36s; }
.voice.is-open .voice__item:nth-child(5)  { animation-delay: 0.43s; }
.voice.is-open .voice__item:nth-child(6)  { animation-delay: 0.50s; }
.voice.is-open .voice__item:nth-child(7)  { animation-delay: 0.57s; }
.voice.is-open .voice__item:nth-child(8)  { animation-delay: 0.64s; }
.voice.is-open .voice__item:nth-child(9)  { animation-delay: 0.71s; }
.voice.is-open .voice__item:nth-child(10) { animation-delay: 0.78s; }

.voice__stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: #d4a017;
  margin-bottom: 8px;
}

.voice__text {
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #555;
  margin-bottom: 10px;
}

.voice__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.voice__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.voice__detail {
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 400;
  color: #999;
}

@media (min-width: 1024px) {
  .voice__item {
    padding: 26px 24px;
  }
  .voice__stars {
    font-size: 17px;
  }
  .voice__text {
    font-size: 17px;
  }
  .voice__name {
    font-size: 17px;
  }
  .voice__detail {
    font-size: 15px;
  }
}

/* ----------------------------------------
   Contact Modal (お問い合わせ)
---------------------------------------- */
.contact {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.contact__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.contact.is-open .faq__card {
  transform: scale(1) translateY(0);
}

.contact.is-open .faq__title {
  animation: faqFadeUp 0.6s ease-out 0.2s forwards;
}

.contact__lead {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #888;
  text-align: center;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(8px);
}

.contact.is-open .contact__lead {
  animation: faqFadeUp 0.5s ease-out 0.3s forwards;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(10px);
}

.contact.is-open .contact__form {
  animation: faqFadeUp 0.5s ease-out 0.4s forwards;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.04em;
}

.contact__req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: #c0392b;
  border-radius: 3px;
  vertical-align: middle;
  letter-spacing: 0;
}

.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-base);
  font-size: 14px;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  border-color: #2a6b3f;
  box-shadow: 0 0 0 3px rgba(42, 107, 63, 0.1);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: #bbb;
}

.contact__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact__textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__privacy {
  padding: 4px 0;
}

.contact__check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-base);
  font-size: 13px;
  color: #666;
  cursor: pointer;
}

.contact__check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2a6b3f;
  cursor: pointer;
}

.contact__submit {
  width: 100%;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  background: #2a6b3f;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact__submit:hover {
  background: #1e5430;
  transform: translateY(-1px);
}

.contact__submit:active {
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .contact__lead {
    font-size: 16px;
    margin-bottom: 32px;
  }
  .contact__label {
    font-size: 16px;
  }
  .contact__input,
  .contact__select,
  .contact__textarea {
    font-size: 17px;
    padding: 14px 18px;
  }
  .contact__submit {
    font-size: 18px;
    padding: 17px;
  }
  .contact__check-label {
    font-size: 15px;
  }
}

/* ----------------------------------------
   Products Modal (商品一覧)
---------------------------------------- */
.products {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.products__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.products.is-open .faq__card {
  transform: scale(1) translateY(0);
}

.products.is-open .faq__title {
  animation: faqFadeUp 0.6s ease-out 0.2s forwards;
}

.products__lead {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #888;
  text-align: center;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(8px);
}

.products.is-open .products__lead {
  animation: faqFadeUp 0.5s ease-out 0.3s forwards;
}

/* サブスク3プラン（商品一覧内） */
.products__sub-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px dashed #c8d6c0;
}
.products__sub-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #2a6b3f;
  margin-bottom: 6px;
  text-align: center;
}
.products__sub-lead {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.7;
}
.products__plans {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.products__plan-card {
  position: relative;
  background: #f9fdf6;
  border: 1.5px solid #d4e4cc;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.products__plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(42,107,63,.12);
}
.products__plan-card--popular {
  border-color: #2a6b3f;
  border-width: 2px;
  background: linear-gradient(135deg, #f0f8ec 0%, #fff 100%);
}
.products__plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a6b3f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 20px;
  letter-spacing: .05em;
}
.products__plan-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}
.products__plan-for {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}
.products__plan-qty {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}
.products__plan-price {
  font-size: 28px;
  font-weight: 800;
  color: #2a6b3f;
  margin-bottom: 4px;
}
.products__plan-yen {
  font-size: 16px;
  vertical-align: top;
  margin-right: 1px;
}
.products__plan-tax {
  font-size: 13px;
  font-weight: 400;
  color: #888;
}
.products__plan-save {
  font-size: 12px;
  color: #c0392b;
  margin-bottom: 10px;
}
.products__plan-btn {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid #2a6b3f;
  border-radius: 30px;
  color: #2a6b3f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.products__plan-btn:hover {
  background: #2a6b3f;
  color: #fff;
}
.products__plan-btn--main {
  background: #2a6b3f;
  color: #fff;
}
.products__plan-btn--main:hover {
  background: #1e5530;
}
.products__plans-note {
  text-align: center;
  font-size: 11px;
  color: #999;
  margin-top: 10px;
}
.products__single-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #2a6b3f;
  text-align: center;
  margin-bottom: 16px;
}

/* 商品グリッド */
.products__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 商品カード */
.products__card {
  position: relative;
  padding: 20px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateY(10px);
}

.products.is-open .products__card {
  animation: faqFadeUp 0.5s ease-out forwards;
}

.products.is-open .products__card:nth-child(1) { animation-delay: 0.2s; }
.products.is-open .products__card:nth-child(2) { animation-delay: 0.28s; }
.products.is-open .products__card:nth-child(3) { animation-delay: 0.36s; }
.products.is-open .products__card:nth-child(4) { animation-delay: 0.44s; }
.products.is-open .products__card:nth-child(5) { animation-delay: 0.52s; }
.products.is-open .products__card:nth-child(6) { animation-delay: 0.60s; }

/* 人気バッジ */
.products__badge {
  position: absolute;
  top: -8px;
  right: 14px;
  padding: 3px 10px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: #c0392b;
  border-radius: 3px;
}

.products__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2a6b3f;
  margin-bottom: 8px;
}

.products__desc {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: #666;
  margin-bottom: 14px;
}

/* サイズ・価格 */
.products__sizes {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.products__size {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 5px;
  background: rgba(42, 107, 63, 0.06);
}

.products__kg {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #2a6b3f;
  margin-bottom: 2px;
}

.products__price {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.02em;
}

/* 購入ボタン */
.products__btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #2a6b3f;
  text-decoration: none;
  border: 1.5px solid #2a6b3f;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.products__btn:hover {
  background: #2a6b3f;
  color: #fff;
}

/* 注意書き */
.products__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(8px);
}

.products.is-open .products__note {
  animation: faqFadeUp 0.5s ease-out 0.7s forwards;
}

.products__note p {
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
  color: #999;
}

/* 商品一覧の中で使うfaq__cardをPC時に広げる */
@media (min-width: 1024px) {
  .products__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .products__lead {
    font-size: 17px;
    margin-bottom: 32px;
  }
  .products__name {
    font-size: 24px;
  }
  .products__desc {
    font-size: 16px;
  }
  .products__kg {
    font-size: 15px;
  }
  .products__price {
    font-size: 19px;
  }
  .products__btn {
    font-size: 17px;
    padding: 13px;
  }
  .products__badge {
    font-size: 12px;
    padding: 4px 12px;
  }
  .products__card {
    padding: 24px 22px;
  }
  .products__note p {
    font-size: 14px;
  }
  /* サブスク3プラン PC */
  .products__sub-heading {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .products__sub-lead {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .products__plans {
    flex-direction: row;
    gap: 16px;
  }
  .products__plan-card {
    flex: 1;
    padding: 28px 20px;
  }
  .products__plan-name {
    font-size: 19px;
  }
  .products__plan-for {
    font-size: 14px;
  }
  .products__plan-qty {
    font-size: 16px;
  }
  .products__plan-price {
    font-size: 34px;
  }
  .products__plan-save {
    font-size: 14px;
  }
  .products__plan-btn {
    font-size: 15px;
    padding: 10px 28px;
  }
  .products__plans-note {
    font-size: 13px;
  }
  .products__single-heading {
    font-size: 24px;
    margin-top: 8px;
    margin-bottom: 24px;
  }
}

/* ----------------------------------------
   Subscription LP Modal
---------------------------------------- */
.sub {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

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

.sub__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.sub__card {
  position: relative;
  width: 92vw;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub.is-open .sub__card {
  transform: scale(1) translateY(0);
}

.sub__card::-webkit-scrollbar { width: 5px; }
.sub__card::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }

/* スクロールアニメ共通 */
.sub__anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.sub__anim.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.sub__anim--delay1 { transition-delay: 0.1s; }
.sub__anim--delay2 { transition-delay: 0.2s; }
.sub__anim--delay3 { transition-delay: 0.3s; }
.sub__anim--delay4 { transition-delay: 0.4s; }

/* ファーストビュー */
.sub__hero {
  padding: 44px 28px 32px;
  text-align: center;
  background: linear-gradient(170deg, #f0f7f2, #e8f1ea);
}

.sub__hero-label {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #2a6b3f;
  border: 1.5px solid #2a6b3f;
  border-radius: 20px;
  margin-bottom: 16px;
}

.sub__hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #222;
  margin-bottom: 12px;
}

.sub__em {
  color: #2a6b3f;
}

.sub__hero-sub {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #666;
  margin-bottom: 22px;
}

.sub__hero-note {
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}

/* CTA ボタン */
.sub__cta {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2a6b3f;
  text-decoration: none;
  border: 2px solid #2a6b3f;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.sub__cta:hover {
  background: #2a6b3f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(42, 107, 63, 0.3);
}

.sub__cta--main {
  background: #2a6b3f;
  color: #fff;
}

.sub__cta--main:hover {
  background: #1e5430;
  border-color: #1e5430;
}

.sub__cta--large {
  padding: 16px 40px;
  font-size: 16px;
}

/* セクション共通 */
.sub__section {
  padding: 32px 28px;
}

.sub__section--accent {
  background: #fafaf7;
}

.sub__section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #333;
  text-align: center;
  margin-bottom: 22px;
}

/* お悩みセクション */
.sub__pain-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub__pain {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff5f5;
  font-family: var(--font-base);
  font-size: 14px;
  color: #555;
}

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

/* ベネフィット */
.sub__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sub__benefit {
  padding: 18px 14px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sub__benefit-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.sub__benefit h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.sub__benefit p {
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  color: #777;
}

/* 3ステップ */
.sub__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sub__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: #f7faf8;
}

.sub__step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #2a6b3f;
  border-radius: 50%;
}

.sub__step h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.sub__step p {
  font-family: var(--font-base);
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* プラン */
.sub__plans {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub__plan {
  position: relative;
  padding: 24px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.sub__plan--popular {
  border: 2px solid #2a6b3f;
  box-shadow: 0 4px 16px rgba(42, 107, 63, 0.12);
}

.sub__plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #2a6b3f;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.sub__plan-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.sub__plan-for {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.sub__plan-detail {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.sub__plan-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: #2a6b3f;
  margin-bottom: 4px;
}

.sub__plan-yen {
  font-size: 18px;
  vertical-align: top;
  margin-right: 2px;
}

.sub__plan-tax {
  font-size: 13px;
  font-weight: 400;
  color: #999;
}

.sub__plan-save {
  font-size: 12px;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 14px;
}

.sub__plans-note {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: #999;
  line-height: 1.8;
}

/* お客様の声 */
.sub__voices {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub__voice {
  padding: 18px 16px;
  border-radius: 8px;
  background: #f7faf8;
  border-left: 3px solid #2a6b3f;
}

.sub__voice-text {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.sub__voice-name {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-align: right;
}

/* LP内FAQ */
.sub__faq-list {
  display: flex;
  flex-direction: column;
}

.sub__faq-list .faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sub__faq-list .faq__q {
  font-size: 14px;
}

/* 最終CTA */
.sub__final {
  padding: 40px 28px;
  text-align: center;
  background: linear-gradient(170deg, #f0f7f2, #e8f1ea);
}

.sub__final-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #222;
  margin-bottom: 12px;
}

.sub__final-sub {
  font-size: 13px;
  color: #777;
  margin-bottom: 22px;
}

.sub__final-note {
  margin-top: 16px;
  font-size: 12px;
  color: #aaa;
}

/* PC対応 */
@media (min-width: 1024px) {
  .sub__card {
    width: 80vw;
    max-width: 1080px;
  }
  .sub__hero {
    padding: 60px 50px 44px;
  }
  .sub__hero-label {
    font-size: 13px;
    padding: 5px 18px;
  }
  .sub__hero-title {
    font-size: 38px;
  }
  .sub__hero-sub {
    font-size: 17px;
  }
  .sub__hero-note {
    font-size: 14px;
  }
  .sub__section {
    padding: 48px 50px;
  }
  .sub__section-title {
    font-size: 28px;
    margin-bottom: 28px;
  }
  .sub__pain {
    font-size: 16px;
    padding: 16px 20px;
  }
  .sub__pain-icon {
    font-size: 24px;
  }
  .sub__benefits {
    gap: 18px;
  }
  .sub__benefit {
    padding: 24px 18px;
  }
  .sub__benefit-icon {
    font-size: 34px;
  }
  .sub__benefit h4 {
    font-size: 16px;
  }
  .sub__benefit p {
    font-size: 14px;
  }
  .sub__plans {
    flex-direction: row;
    gap: 18px;
  }
  .sub__plan {
    flex: 1;
    padding: 28px 22px;
  }
  .sub__plan-name {
    font-size: 19px;
  }
  .sub__plan-for {
    font-size: 13px;
  }
  .sub__plan-detail {
    font-size: 15px;
  }
  .sub__plan-price {
    font-size: 36px;
  }
  .sub__plan-save {
    font-size: 13px;
  }
  .sub__plans-note {
    font-size: 13px;
  }
  .sub__steps {
    flex-direction: row;
    gap: 18px;
  }
  .sub__step {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: 22px;
  }
  .sub__step-num {
    align-self: center;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .sub__step h4 {
    font-size: 17px;
  }
  .sub__step p {
    font-size: 14px;
  }
  .sub__voice {
    padding: 22px 20px;
  }
  .sub__voice-text {
    font-size: 15px;
  }
  .sub__voice-name {
    font-size: 13px;
  }
  .sub__faq-list .faq__q {
    font-size: 16px;
  }
  .sub__faq-list .faq__a p {
    font-size: 15px;
  }
  .sub__final {
    padding: 52px 50px;
  }
  .sub__final-title {
    font-size: 30px;
  }
  .sub__final-sub {
    font-size: 15px;
  }
  .sub__cta {
    font-size: 16px;
    padding: 15px 36px;
  }
  .sub__cta--large {
    font-size: 18px;
    padding: 18px 48px;
  }
}

/* Ken Burns はJSのinline transitionで制御 */

/* ========================================
   ブログモーダル
======================================== */
.blog-modal {
  position: absolute;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.blog-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.blog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.blog-modal__card {
  position: relative;
  z-index: 1;
  height: 90vh;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-modal.is-open .faq__card {
  transform: scale(1) translateY(0);
}

.blog-modal.is-open .faq__title {
  animation: faqFadeUp 0.6s ease-out 0.2s forwards;
}

.blog-modal__empty {
  text-align: center;
  color: #888;
  padding: 40px 0;
  font-size: 14px;
}

.blog-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .blog-modal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .blog-modal__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-modal__item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #fafaf8;
  border: 1px solid #ece8e0;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-modal__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-modal__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-modal__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: #f0ece4;
}

.blog-modal__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.blog-modal__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a9e5a;
  background: rgba(122, 158, 90, 0.12);
  border-radius: 4px;
  padding: 2px 7px;
  align-self: flex-start;
}

.blog-modal__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #2c2c2c;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-modal__date {
  font-size: 11px;
  color: #aaa;
  margin-top: auto;
}

/* ヘッダー行 */
.blog-modal__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.blog-modal__title-inline {
  margin: 0;
  opacity: 1;
  transform: none;
  animation: none;
}

.blog-modal__close-btn {
  position: static;
  flex-shrink: 0;
}

.blog-modal__back-btn {
  font-size: 13px;
  font-weight: 600;
  color: #7a9e5a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
  transition: opacity 0.2s ease;
}

.blog-modal__back-btn:hover {
  opacity: 0.7;
}

.blog-modal__loading {
  text-align: center;
  color: #aaa;
  padding: 40px 0;
  font-size: 14px;
}

/* ヘッダー行を固定し、コンテンツ部分だけスクロール */
.blog-modal__card .blog-modal__header-row {
  flex-shrink: 0;
}

.blog-modal__grid,
.blog-modal__detail,
.blog-modal__empty {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* 詳細ビュー */
.blog-modal__detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-modal__detail-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: #2c2c2c;
  margin: 0;
}

.blog-modal__detail-date {
  display: block;
}

.blog-modal__detail-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}

.blog-modal__detail-content {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  padding-top: 8px;
  border-top: 1px solid #ece8e0;
}

.blog-modal__detail-content h2,
.blog-modal__detail-content h3 {
  font-weight: 700;
  margin: 16px 0 8px;
  color: #2c2c2c;
}

.blog-modal__detail-content p {
  margin: 0 0 12px;
}

.blog-modal__detail-content img {
  max-width: 100%;
  border-radius: 6px;
}

/* 前後ナビ */
.blog-modal__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #ece8e0;
  margin-top: 8px;
}

.blog-modal__nav-btn {
  font-size: 12px;
  font-weight: 600;
  color: #7a9e5a;
  background: rgba(122, 158, 90, 0.08);
  border: 1.5px solid #7a9e5a;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  max-width: 45%;
  text-align: left;
  transition: background 0.2s ease;
}

.blog-modal__nav-btn--next {
  text-align: right;
  margin-left: auto;
}

.blog-modal__nav-btn:hover {
  background: rgba(122, 158, 90, 0.18);
}

/* 一覧アイテムをbuttonに変更 */
.blog-modal__item {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.blog-modal__footer {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid #ece8e0;
  margin-top: 4px;
}

.blog-modal__all-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #7a9e5a;
  text-decoration: none;
  padding: 10px 24px;
  border: 1.5px solid #7a9e5a;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-modal__all-btn:hover {
  background: #7a9e5a;
  color: #fff;
}

/* ========================================
   チャットモーダル
======================================== */
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.chat-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.chat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.chat-modal__card {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 900px;
  height: min(680px, calc(100vh - 80px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-modal.is-open .chat-modal__card {
  transform: scale(1) translateY(0);
}

.chat-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.85);
}

.chat-modal__close:hover {
  color: #fff;
}

.chat-modal__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  color: #fff;
  flex-shrink: 0;
}

.chat-modal__ai-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.chat-modal__ai-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-modal__ai-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.chat-modal__ai-desc {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.4;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-modal__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8f7f4;
}

.chat-modal__msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-modal__msg--user {
  flex-direction: row-reverse;
}

.chat-modal__avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-modal__bubble {
  max-width: 72%;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 18px;
  line-height: 1.65;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* AI 応答の Markdown 描画（**太字** / *リスト* / [リンク] など） */
.chat-modal__md { font-size: 18px; line-height: 1.65; word-break: break-word; }
.chat-modal__md p            { margin: 0 0 8px; }
.chat-modal__md p:last-child { margin-bottom: 0; }
.chat-modal__md strong       { font-weight: 700; }
.chat-modal__md em           { font-style: italic; }
.chat-modal__md ul,
.chat-modal__md ol           { margin: 4px 0 8px; padding-left: 1.4em; }
.chat-modal__md li           { margin: 2px 0; }
.chat-modal__md h1,
.chat-modal__md h2,
.chat-modal__md h3           { font-size: 1em; font-weight: 700; margin: 8px 0 4px; }
.chat-modal__md a            { color: var(--chat-brand, #2a6b3f); text-decoration: underline; }
.chat-modal__md a:hover      { opacity: 0.85; }
.chat-modal__md code         { background: #f4f4f2; padding: 1px 5px; border-radius: 4px; font-size: 0.9em; }
.chat-modal__md pre          { background: #f4f4f2; padding: 8px 10px; border-radius: 6px; overflow-x: auto; font-size: 0.9em; }
.chat-modal__md blockquote   { border-left: 3px solid #d9d9d9; margin: 4px 0; padding: 2px 0 2px 10px; color: #666; }

.chat-modal__suggestions {
  padding: 8px 14px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  background: #f8f7f4;
  flex-shrink: 0;
}

.chat-modal__sq {
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 20px;
  /* AIに質問（サジェスト）ボタンも水色統一 */
  border: 1.5px solid #5dbee6;
  background: rgba(93, 190, 230, 0.12);
  color: #3a8ec2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  line-height: 1.3;
}

.chat-modal__sq:hover {
  background: #5dbee6;
  color: #fff;
}

.chat-modal__footer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #ece8e0;
  background: #fff;
  flex-shrink: 0;
}

.chat-modal__input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 17px;
  font-family: inherit;
  resize: none;
  outline: none;
  line-height: 1.5;
  max-height: 120px;
  overflow-y: auto;
  transition: border-color 0.2s ease;
}

.chat-modal__input:focus {
  border-color: var(--chat-brand, #2a6b3f);
}

.chat-modal__send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.chat-modal__send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.chat-modal__send:not(:disabled):hover {
  transform: scale(1.08);
}


/* ========================================
   PC — 1024px〜  各要素30%拡大
======================================== */
@media (min-width: 1024px) {
  .hero__logo img {
    width: 286px;   /* 220 × 1.3 */
  }

  .hero__chat img {
    width: 187px;   /* 156 × 1.2 */
  }

  .hero__typewriter {
    font-size: 50px; /* 42 × 1.2 */
  }
}

/* ============================================================
   Editorial Shell（第二階層：egoma スタイル）
   - 白背景 sticky ヘッダー、もくじ、1 カラム、余白重視
============================================================ */
.gn-editorial {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #1f1f1f;
  font-family: var(--font-base, "Noto Sans JP", sans-serif);
  line-height: 1.85;
}

/* ── 左上ロゴ（TOP と同じ fixed 位置・大きめ） ── */
.gn-editorial { padding-top: 100px; }
@media (min-width: 768px) { .gn-editorial { padding-top: 130px; } }

.gn-ed-logo {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.15));
}
.gn-ed-logo img {
  display: block;
  width: auto;
}
.gn-ed-logo__symbol   { height: 56px; }
.gn-ed-logo__logotype { height: 35px; }
@media (min-width: 768px) {
  .gn-ed-logo__symbol   { height: 72px; }
  .gn-ed-logo__logotype { height: 47px; }
}

/* シンボルを縦（Y）軸で 1 回転→静止（5 秒周期）
   親 .gn-ed-logo に perspective を持たせて 3D 感を出す */
.gn-ed-logo { perspective: 800px; }
.gn-ed-logo__symbol {
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  animation: gnLogoFlipY 8s ease-in-out infinite;
}
@keyframes gnLogoFlipY {
  0%   { transform: rotateY(0deg);   }
  60%  { transform: rotateY(360deg); }
  100% { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .gn-ed-logo__symbol { animation: none; }
}
/* ── 左脇 縦型 PR カード（fixed / #808080 背景・白文字・オーロラ枠） */
.gn-editorial .hero__pr-card.gn-ed-pr-card {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 40;
  color: #ffffff;
  background:
    linear-gradient(#808080, #808080) padding-box,
    linear-gradient(180deg,
      #5eff9c 0%,
      #5ee8ff 20%,
      #7f7fff 40%,
      #d070ff 60%,
      #ff70c8 80%,
      #5eff9c 100%
    ) border-box;
  background-size: 100% 100%, 100% 400%;
  animation: auroraBorder 8s linear infinite, prCardPulse 10s ease-in-out 3s infinite;
}
.gn-editorial .hero__pr-card.gn-ed-pr-card::before {
  display: none;
}

@keyframes auroraBorder {
  0%   { background-position: 50% 0%, 50% 0%; }
  100% { background-position: 50% 0%, 50% 400%; }
}

/* ── 右上アイコンボタン（マイページ・カート） ── */
.gn-editorial .gn-ed-icon-btn {
  position: fixed;
  top: 27px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #808080;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.gn-editorial .gn-ed-icon-btn:hover {
  background: #f0f0f0;
  color: #333;
}
/* ハンバーガー(right:30 + width:31) の左に余白 20px 空けて配置 */
.gn-editorial .gn-ed-icon-btn--cart   { right: 88px;  }
.gn-editorial .gn-ed-icon-btn--mypage { right: 138px; }

/* マウスオーバー時にツールチップ表示（data-tooltip 属性の値） */
.gn-editorial .gn-ed-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 4px 10px;
  background: rgba(51, 51, 51, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.gn-editorial .gn-ed-icon-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ── 右上ハンバーガー（TOP と同じ hero__hamburger を fixed 化＆白背景対応＆30% 縮小） */
.gn-editorial .hero__hamburger.gn-ed-hamburger {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 300;
  opacity: 1;
  animation: none;
  /* TOP の 44×36 を 30% 縮小 */
  width: 31px;
  height: 25px;
  padding: 4px 0;
}
.gn-editorial .hero__hamburger.gn-ed-hamburger span {
  height: 2px;
}
/* ✕ に変形するときの translateY も縮小に合わせて 12px → 8px */
.gn-editorial .hero__hamburger.gn-ed-hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.gn-editorial .hero__hamburger.gn-ed-hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* ロゴと同じブランドグリーンに（白背景でも視認性 OK） */
.gn-editorial .hero__hamburger.gn-ed-hamburger span {
  background: #808080;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}
.gn-editorial .hero__hamburger.gn-ed-hamburger.is-pulsing {
  animation: hamburgerPulse 4s ease-in-out infinite;
}
.gn-editorial .hero__hamburger.gn-ed-hamburger.is-open {
  animation: none;
}
.gn-editorial .hero__hamburger.gn-ed-hamburger.is-open span {
  background: #808080;
  filter: none;
}

/* ── ナビオーバーレイ：editorial では position: fixed
   フェード時間を短めに（320ms）してリンククリック→遷移遅延と揃える */
.gn-editorial .nav-overlay.gn-ed-nav-overlay {
  position: fixed;
  z-index: 250;
  transition: opacity 0.32s ease-in-out, visibility 0.32s ease-in-out;
}

/* ── 白背景ヘッダーバー（fixed 全幅、ロゴ・ハンバーガーの背後） */
.gn-ed-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 100px;
  background: #ffffff;
  border-bottom: 1px solid #eae7e0;
}
@media (min-width: 768px) {
  .gn-ed-topbar { height: 130px; }
}

/* ── メインコンテンツ ─────────────────── */
.gn-ed-main {
  flex: 1;
  width: 90%;
  max-width: none;
  margin: 0 auto;
  padding: 20px 0 80px;
}
@media (min-width: 768px) {
  .gn-ed-main {
    width: 80%;
    padding: 32px 0 120px;
  }
}

/* ── フッター ─────────────────────── */
.gn-ed-footer {
  background: #808080;
  color: #ffffff;
  padding: 40px 20px 32px;
  text-align: center;
}
.gn-ed-footer__inner {
  max-width: 780px;
  margin: 0 auto;
}
.gn-ed-footer__brand {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}
.gn-ed-footer__addr {
  font-size: 15px;
  color: #ffffff;
  opacity: 0.85;
  margin: 0 0 20px;
}
.gn-ed-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.gn-ed-footer__nav a {
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
}
.gn-ed-footer__nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.gn-ed-footer__copy {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.7;
  margin: 0;
}

/* ── 右下 AI チャット（TOP と同じ画像ボタン、editorial では fixed＆30% 縮小） ── */
.gn-editorial .hero__chat.gn-ed-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 50;
  opacity: 1;
  animation: chatSway 3s ease-in-out infinite;
}
.gn-editorial .hero__chat.gn-ed-chat img {
  width: 88px; /* 30% 縮小後、さらに +5% */
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.12)); /* 影を薄く小さく */
}

/* ============================================================
   共通コンテンツスタイル（gn-page-hero / gn-section 等の editorial 版）
============================================================ */
/* editorial ヘッダー：シンプル、余白多め（下線＆広い下余白は撤去） */
.gn-editorial .gn-page-hero {
  background: transparent;
  padding: 12px 0 16px;
  text-align: left;
  border-bottom: 0;
  margin-bottom: 16px;
}
.gn-editorial .gn-page-hero h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.gn-editorial .gn-page-hero p {
  font-size: 14px;
  color: #7a6f5e;
  margin: 0;
  letter-spacing: 0.06em;
}
@media (min-width: 768px) {
  .gn-editorial .gn-page-hero { padding: 20px 0 20px; margin-bottom: 24px; }
  .gn-editorial .gn-page-hero h1 { font-size: 40px; }
  .gn-editorial .gn-page-hero p { font-size: 15px; }
}

/* ── ページヒーロー（動画付き）：タイトル左 + 動画右 ── */
.gn-editorial .gn-page-hero--with-video {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gn-editorial .gn-page-hero--with-video .gn-page-hero__text {
  flex: 1 1 auto;
  min-width: 0;
}
.gn-editorial .gn-page-hero__video {
  flex: 0 0 auto;
  width: 100px;
  height: auto;
  display: block;
  border-radius: 4px;
}
@media (min-width: 768px) {
  .gn-editorial .gn-page-hero__video {
    width: 180px;
  }
}

.gn-editorial .gn-page-body {
  padding: 0;
  max-width: none;
}

/* editorial セクション：ナンバリング + 大見出し */
.gn-editorial .gn-section {
  margin-bottom: 64px;
  scroll-margin-top: 120px;
}
.gn-editorial .gn-section__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0 0 24px;
  padding: 0 0 12px;
  border-bottom: 2px solid #2a6b3f;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .gn-editorial .gn-section__title { font-size: 26px; margin: 0 0 32px; }
}

/* editorial TOC（ページ内目次） */
.gn-editorial .gn-toc {
  background: #fff;
  border: 1px solid #eae7e0;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 48px;
}
.gn-editorial .gn-toc a {
  background: transparent;
  color: #4b4232;
  padding: 4px 0;
}
.gn-editorial .gn-toc a:hover {
  background: transparent;
  color: #2a6b3f;
  text-decoration: underline;
}

.gn-page-hero {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 56px 16px 40px;
  text-align: center;
}
.gn-page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #78350f;
  letter-spacing: 0.05em;
}
.gn-page-hero p {
  font-size: 14px;
  color: #92400e;
  margin: 0;
}
@media (min-width: 768px) {
  .gn-page-hero { padding: 80px 16px 56px; }
  .gn-page-hero h1 { font-size: 36px; }
  .gn-page-hero p { font-size: 15px; }
}

.gn-page-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* TOC（目次：farm 等で使用） */
.gn-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 32px;
}
.gn-toc a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s;
}
.gn-toc a:hover {
  background: #fde68a;
  color: #78350f;
}

/* Section 見出し */
.gn-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}
.gn-section__title {
  font-size: 20px;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fbbf24;
}

/* FaqItem（アコーディオン）— サブページでも同じ見た目になるよう簡易再定義 */
.gn-hero-shell .faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.gn-hero-shell .faq__q {
  width: 100%;
  text-align: left;
  padding: 14px 44px 14px 16px;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  position: relative;
}
.gn-hero-shell .faq__q::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #f59e0b;
  transition: transform 0.2s;
}
.gn-hero-shell .faq__q[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(45deg);
}
.gn-hero-shell .faq__a {
  padding: 0 16px 14px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* Calendar（farm 用） */
.gn-calendar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .gn-calendar { grid-template-columns: repeat(2, 1fr); }
}
.gn-calendar__row {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.gn-calendar__month {
  font-weight: 700;
  color: #d97706;
  flex-shrink: 0;
  width: 60px;
}
.gn-calendar__text {
  font-size: 14px;
  color: #4b5563;
}

/* Info DL（farm 基本情報） */
/* 基本情報 DL：外枠なし・行ごとに点線アンダーライン */
.gn-info-dl {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.gn-info-dl__row {
  display: grid;
  grid-template-columns: 6em 1fr;
  column-gap: 4em; /* 「項目名」と「摘要」の間を約 3 文字分＋既存 1em で広めに */
  padding: 10px 0;
  border-bottom: 1px dotted #808080;
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .gn-info-dl__row {
    grid-template-columns: 8em 1fr;
    column-gap: 4em;
    padding: 12px 0;
  }
}
.gn-info-dl dt {
  font-weight: 600;
  color: #92400e;
  margin: 0;
}
.gn-info-dl dd {
  margin: 0;
  color: #1f2937;
}

/* Map */
.gn-map {
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.gn-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.gn-map__addr {
  padding: 12px 16px;
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  background: #fff;
}

/* Footer */
.gn-footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 32px 16px;
  margin-top: 40px;
}
.gn-footer__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.gn-footer__brand {
  font-size: 16px;
  font-weight: 700;
  color: #fbbf24;
  margin: 0 0 4px;
}
.gn-footer__addr {
  font-size: 13px;
  margin: 0 0 16px;
}
.gn-footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  padding: 0;
  margin: 0 0 16px;
}
.gn-footer__nav a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 13px;
}
.gn-footer__nav a:hover {
  color: #fbbf24;
  text-decoration: underline;
}
.gn-footer__copy {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

/* ============================================================
   Subscription Page（/subscription）— sub モーダル CSS の流用＋ページ向け調整
============================================================ */
.gn-sub {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  margin-top: 24px;
  margin-bottom: 32px;
}

/* モーダルでは .sub__anim はスクロール連動で表示するが、ページでは常時表示 */
.gn-sub .sub__anim,
.gn-sub :where(.sub__hero, .sub__section, .sub__final) > * {
  opacity: 1;
  transform: none;
}

/* ページ用 final セクション */
.gn-sub .sub__final {
  padding: 40px 28px 48px;
  text-align: center;
  background: linear-gradient(170deg, #2a6b3f, #1e5430);
  color: #fff;
}
.gn-sub .sub__final-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 12px;
}
.gn-sub .sub__final-sub {
  font-size: 13px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.85);
}
.gn-sub .sub__final-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.gn-sub .sub__final-note a {
  color: #fff;
  text-decoration: underline;
}
.gn-sub .sub__final .sub__cta--main {
  background: #fff;
  color: #2a6b3f;
  border-color: #fff;
}
.gn-sub .sub__final .sub__cta--main:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* h2/h3 タグの差し替えに伴う調整（モーダル時は h3/h4 だった） */
.gn-sub .sub__benefit h3,
.gn-sub .sub__step h3,
.gn-sub .sub__plan-name {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 6px;
}
.gn-sub .sub__benefit h3 { font-size: 14px; color: #333; }
.gn-sub .sub__step h3 { font-size: 16px; color: #333; }

/* ============================================================
   Contact Page（/contact）— シンプル editorial フォーム
============================================================ */
.gn-contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
}

.gn-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gn-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gn-form__label {
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  letter-spacing: 0.04em;
}
.gn-form__req {
  color: #c00;
  margin-left: 4px;
  font-weight: 700;
}
.gn-form__opt {
  color: #808080;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.gn-form__sr {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.gn-form__input,
.gn-form__textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fff;
  border: 1px solid #808080;
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.gn-form__input:focus,
.gn-form__textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 3px rgba(128, 128, 128, 0.15);
}
.gn-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.gn-form__privacy-note {
  font-size: 7px;
  color: #808080;
  line-height: 1.6;
  margin: 8px 0 0;
  text-align: center;
  opacity: 0.85;
}
.gn-form__privacy-note a {
  color: #808080;
  text-decoration: underline;
}
.gn-form__privacy-note a:hover {
  color: #6b6b6b;
}
@media (min-width: 768px) {
  .gn-form__privacy-note { font-size: 8px; }
}
.gn-form__submit {
  padding: 16px 40px;
  background: #808080;
  color: #ffffff;
  border: 0;
  border-radius: 2px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.gn-form__submit:hover:not(:disabled) {
  background: #6b6b6b;
}
.gn-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gn-form__error {
  color: #c00;
  font-size: 13px;
  text-align: center;
  margin: 8px 0 0;
}
@media (min-width: 768px) {
  .gn-form { gap: 28px; }
  .gn-form__label { font-size: 15px; }
  .gn-form__input,
  .gn-form__textarea { font-size: 16px; padding: 14px 16px; }
  .gn-form__submit { font-size: 16px; padding: 18px 48px; }
}

/* ============================================================
   Kodawari Page（/kodawari）
============================================================ */
.kodawari-poem {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-heading);
}
.kodawari-poem__line {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.kodawari-poem__line span {
  font-size: clamp(31px, 6vw, 51px);
  font-weight: 400;
  color: #808080;
  letter-spacing: 0.08em;
}
/* 各行の頭文字（ぎ・ん・な・み）だけ +3px & 太字で強調 */
.kodawari-poem__line span:first-child {
  font-size: calc(clamp(31px, 6vw, 51px) + 3px);
  font-weight: 800;
}
@media (min-width: 640px) {
  .kodawari-poem { gap: 28px; }
  .kodawari-poem__line { gap: 12px; }
}

/* ============================================================
   Products Page（/products）
============================================================ */
.gn-products-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .gn-products-plans { grid-template-columns: repeat(3, 1fr); }
}
.gn-plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.gn-plan-card.is-popular {
  border: 2px solid #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}
.gn-plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.gn-plan-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 4px;
}
.gn-plan-card__for {
  font-size: 12px;
  color: #92400e;
  margin: 0 0 12px;
}
.gn-plan-card__qty {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
}
.gn-plan-card__qty strong {
  color: #1f2937;
  font-size: 18px;
}
.gn-plan-card__price {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 12px 0 4px;
}
.gn-plan-card__yen {
  font-size: 16px;
  margin-right: 2px;
}
.gn-plan-card__tax {
  font-size: 12px;
  color: #6b7280;
  margin-left: 2px;
}
.gn-plan-card__save {
  font-size: 12px;
  color: #d97706;
  margin: 0 0 16px;
}
.gn-plan-card__save strong { color: #b45309; }
.gn-plan-card__btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid #78350f;
  color: #78350f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.gn-plan-card__btn:hover { background: #78350f; color: #fff; }
.gn-plan-card__btn.is-main {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}
.gn-plan-card__btn.is-main:hover {
  background: #d97706;
  border-color: #d97706;
}

.gn-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .gn-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gn-products-grid { grid-template-columns: repeat(3, 1fr); }
}
.gn-product-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.gn-product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d97706;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.gn-product-card__img {
  display: block;
  /* カード内で自然サイズ・水平中央揃え */
  margin: 0 auto 12px;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  animation: gnProductFloat 5s ease-in-out infinite;
}
@media (min-width: 640px) {
  .gn-product-card__img { margin-bottom: 16px; max-height: 300px; }
}

/* 詳細ページへのリンク（画像全体をクリックで遷移） */
.gn-product-card__img-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.gn-product-card__img-link:hover .gn-product-card__img {
  filter: brightness(1.03);
}

/* 上下にゆらぐアニメ（1 サイクル 5s、-4〜+4px） */
@keyframes gnProductFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* 各カードでタイミングをずらす（-0s, -0.6s, -1.2s, ...） */
.gn-products-grid .gn-product-card:nth-child(1) .gn-product-card__img { animation-delay: 0s;    }
.gn-products-grid .gn-product-card:nth-child(2) .gn-product-card__img { animation-delay: -0.6s; }
.gn-products-grid .gn-product-card:nth-child(3) .gn-product-card__img { animation-delay: -1.2s; }
.gn-products-grid .gn-product-card:nth-child(4) .gn-product-card__img { animation-delay: -1.8s; }
.gn-products-grid .gn-product-card:nth-child(5) .gn-product-card__img { animation-delay: -2.4s; }
.gn-products-grid .gn-product-card:nth-child(6) .gn-product-card__img { animation-delay: -3.0s; }
.gn-products-grid .gn-product-card:nth-child(7) .gn-product-card__img { animation-delay: -3.6s; }
.gn-products-grid .gn-product-card:nth-child(8) .gn-product-card__img { animation-delay: -4.2s; }
/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
  .gn-product-card__img { animation: none; }
}

/* ── 商品カード：オーロラ枠ボタン（購入ページへ） ── */
.gn-editorial .gn-product-card__btn--aurora {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(180deg,
      #5eff9c 0%,
      #5ee8ff 20%,
      #7f7fff 40%,
      #d070ff 60%,
      #ff70c8 80%,
      #5eff9c 100%
    ) border-box;
  background-size: 100% 100%, 100% 400%;
  color: #808080;
  border: 2px solid transparent;
  animation: auroraBorder 8s linear infinite;
  transition: color 0.2s;
}
.gn-editorial .gn-product-card__btn--aurora:hover {
  color: #333;
  background:
    linear-gradient(#fafafa, #fafafa) padding-box,
    linear-gradient(180deg,
      #5eff9c 0%,
      #5ee8ff 20%,
      #7f7fff 40%,
      #d070ff 60%,
      #ff70c8 80%,
      #5eff9c 100%
    ) border-box;
  background-size: 100% 100%, 100% 400%;
  animation: auroraBorder 8s linear infinite;
}

/* ── /products/[slug] 商品詳細ページ ── */
.gn-product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .gn-product-detail { grid-template-columns: minmax(220px, 1fr) 1fr; gap: 32px; align-items: center; }
}
.gn-product-detail__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.gn-product-detail__desc {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}
@media (min-width: 768px) { .gn-product-detail__desc { font-size: 17px; } }

.gn-product-detail__price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 640px) {
  .gn-product-detail__price-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (min-width: 900px) {
  .gn-product-detail__price-list { grid-template-columns: repeat(5, 1fr); }
}
.gn-product-detail__price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #808080;
  border-radius: 2px;
}
.gn-product-detail__kg {
  font-weight: 600;
}
.gn-product-detail__price {
  font-weight: 700;
  font-size: 15px;
}

.gn-product-detail__others {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .gn-product-detail__others { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .gn-product-detail__others { grid-template-columns: repeat(7, 1fr); }
}
.gn-product-detail__other {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #808080;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gn-product-detail__other:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.gn-product-detail__other img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.gn-product-detail__other span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.gn-product-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 8px;
}
.gn-product-card__desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 16px;
}
.gn-product-card__sizes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px;
  background: #fef3c7;
  border-radius: 8px;
}
.gn-product-card__size {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.gn-product-card__kg { color: #92400e; font-weight: 600; }
.gn-product-card__price { color: #1f2937; font-weight: 700; }
.gn-product-card__btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #78350f;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.gn-product-card__btn:hover { background: #5a2508; }

.gn-products-note {
  margin-top: 24px;
  padding: 16px;
  background: #fef3c7;
  border-radius: 8px;
  font-size: 12px;
  color: #92400e;
  line-height: 1.8;
}
.gn-products-note p { margin: 0; }

/* ============================================================
   Voice Page（/voice）
============================================================ */
.gn-voices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .gn-voices { grid-template-columns: repeat(2, 1fr); }
}
.gn-voice-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.gn-voice-card__stars {
  font-size: 16px;
  color: #f59e0b;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.gn-voice-card__text {
  font-size: 14px;
  color: #1f2937;
  line-height: 1.8;
  margin: 0 0 16px;
}
.gn-voice-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.gn-voice-card__name {
  font-size: 13px;
  font-weight: 700;
  color: #78350f;
}
.gn-voice-card__detail {
  font-size: 11px;
  color: #6b7280;
}

/* ============================================================
   Products Page – 送料・支払・CTA（editorial スタイル）
============================================================ */
.gn-shipping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid #eae7e0;
}
.gn-shipping-table th,
.gn-shipping-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eae7e0;
  text-align: left;
}
.gn-shipping-table th {
  background: #f4f0e8;
  font-weight: 700;
  color: #4b4232;
  font-size: 12px;
  white-space: nowrap;
}
.gn-shipping-table td {
  color: #1f1f1f;
}
.gn-shipping-table tbody tr:last-child td {
  border-bottom: none;
}
.gn-shipping-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #7a6f5e;
  line-height: 1.7;
}
.gn-shipping-note a {
  color: #2a6b3f;
  text-decoration: underline;
}

.gn-payment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .gn-payment-list { grid-template-columns: repeat(2, 1fr); }
}
.gn-payment-list li {
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #eae7e0;
  border-left: 3px solid #2a6b3f;
  border-radius: 2px;
  font-size: 14px;
  color: #1f1f1f;
}

.gn-payment-cod {
  padding: 16px 20px;
  background: #f4f0e8;
  border-radius: 4px;
}
.gn-payment-cod__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #4b4232;
  letter-spacing: 0.1em;
}
.gn-payment-cod__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.gn-payment-cod__rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 12px;
  background: #fff;
  border-radius: 2px;
  font-size: 13px;
}
.gn-payment-cod__rows strong {
  color: #2a6b3f;
  font-weight: 700;
}

.gn-cta-block {
  text-align: center;
  padding: 40px 24px;
  background: #f4f0e8;
  border-radius: 4px;
}
.gn-cta-block__lead {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1f;
}
.gn-cta-block__sub {
  margin: 0 0 24px;
  font-size: 13px;
  color: #7a6f5e;
}
.gn-cta-block__btn {
  display: inline-block;
  padding: 14px 40px;
  background: #2a6b3f;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s;
}
.gn-cta-block__btn:hover {
  background: #1e5430;
}

/* ============================================================
   Editorial Sub-page Unified Color Override
   コーナーページの文字色・線色をすべて #808080 に統一
   （フッター内は既に白統一・CTA/決済ボタン等の背景色は既存維持）
============================================================ */
.gn-editorial {
  color: #808080;
}
.gn-ed-topbar { border-bottom-color: #808080; }

/* Page hero */
.gn-editorial .gn-page-hero { border-bottom-color: #808080; }
.gn-editorial .gn-page-hero h1,
.gn-editorial .gn-page-hero p { color: #808080; }

/* Section headers */
.gn-editorial .gn-section__title {
  color: #808080;
  border-bottom-color: #808080;
}

/* Body copy inherits #808080 from .gn-editorial; リンクだけ強調色を残す */
.gn-editorial a { color: #808080; }
.gn-editorial a:hover { color: #808080; }

/* ─ Farm ページ・共通アコーディオン ─ */
.gn-editorial .gn-toc,
.gn-editorial .gn-hero-shell .faq__item,
.gn-editorial .gn-calendar__row,
.gn-editorial .gn-info-dl,
.gn-editorial .gn-shipping-table,
.gn-editorial .gn-shipping-table th,
.gn-editorial .gn-shipping-table td,
.gn-editorial .gn-payment-list li {
  border-color: #808080;
}
.gn-editorial .gn-toc a,
.gn-editorial .gn-calendar__month,
.gn-editorial .gn-calendar__text,
.gn-editorial .gn-info-dl dt,
.gn-editorial .gn-info-dl dd,
.gn-editorial .gn-map__addr,
.gn-editorial .gn-shipping-table th,
.gn-editorial .gn-shipping-table td,
.gn-editorial .gn-shipping-note,
.gn-editorial .gn-shipping-note a,
.gn-editorial .gn-payment-list li,
.gn-editorial .gn-payment-cod__title,
.gn-editorial .gn-payment-cod__rows strong,
.gn-editorial .gn-cta-block__lead,
.gn-editorial .gn-cta-block__sub {
  color: #808080;
}

/* Farm カレンダー・情報の背景アクセントを白基調に */
.gn-editorial .gn-toc,
.gn-editorial .gn-calendar__row,
.gn-editorial .gn-info-dl,
.gn-editorial .gn-shipping-table,
.gn-editorial .gn-payment-list li {
  background: #fff;
}
/* /farm の地図は枠・背景なしのフラット表示 */
.gn-editorial .gn-map {
  border: 0;
  background: transparent;
  border-radius: 0;
}
.gn-editorial .gn-map__addr {
  padding: 8px 0 0;
  background: transparent;
}
.gn-editorial .gn-shipping-table th { background: #f5f5f5; }
.gn-editorial .gn-payment-cod { background: #f5f5f5; }
.gn-editorial .gn-payment-cod__rows > div { background: #fff; }
.gn-editorial .gn-cta-block { background: #f5f5f5; }

/* FAQ アコーディオン */
.gn-editorial .gn-hero-shell .faq__item { border-color: #808080; }
.gn-editorial .gn-hero-shell .faq__q { color: #808080; }
.gn-editorial .gn-hero-shell .faq__q::after { color: #808080; }
.gn-editorial .gn-hero-shell .faq__a { color: #808080; }

/* editorial 版：Q. ラベルを グレー正円 + 白文字「Q」に */
.gn-editorial .faq__q::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #808080;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 12px;
  line-height: 1;
}
@media (min-width: 768px) {
  .gn-editorial .faq__q::before {
    width: 28px;
    height: 28px;
    font-size: 14px;
    margin-right: 14px;
  }
}

/* Contact フォーム */
.gn-editorial .gn-contact-card { border-color: #808080; }

/* Voice カード */
.gn-editorial .gn-voice-card,
.gn-editorial .gn-voice-card__meta {
  border-color: #808080;
}
.gn-editorial .gn-voice-card__stars,
.gn-editorial .gn-voice-card__text,
.gn-editorial .gn-voice-card__name,
.gn-editorial .gn-voice-card__detail {
  color: #808080;
}

/* Products カード */
.gn-editorial .gn-plan-card,
.gn-editorial .gn-product-card {
  border-color: #808080;
}
.gn-editorial .gn-plan-card__name,
.gn-editorial .gn-plan-card__for,
.gn-editorial .gn-plan-card__qty,
.gn-editorial .gn-plan-card__qty strong,
.gn-editorial .gn-plan-card__price,
.gn-editorial .gn-plan-card__yen,
.gn-editorial .gn-plan-card__tax,
.gn-editorial .gn-plan-card__save,
.gn-editorial .gn-plan-card__save strong,
.gn-editorial .gn-product-card__name,
.gn-editorial .gn-product-card__desc,
.gn-editorial .gn-product-card__kg,
.gn-editorial .gn-product-card__price,
.gn-editorial .gn-products-note {
  color: #808080;
}
.gn-editorial .gn-product-card__sizes { background: #f5f5f5; }
.gn-editorial .gn-products-note { background: #f5f5f5; }

/* footer 内は白統一のまま（override しない） */
.gn-editorial .gn-ed-footer,
.gn-editorial .gn-ed-footer * { color: #ffffff; }
.gn-editorial .gn-ed-footer__nav a { color: #ffffff; }

/* ── フッターのサブナビ（ガイド・特商法） ── */
.gn-ed-footer__nav--sub {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.gn-ed-footer__nav--sub a {
  font-size: 14px;
  opacity: 0.85;
}

/* ── ショッピングガイド：注文の流れ ── */
.gn-guide-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.gn-guide-flow li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #808080;
  border-radius: 2px;
}
.gn-guide-flow__title {
  font-weight: 700;
  font-size: 15px;
  color: #808080;
}
.gn-guide-flow__text {
  font-size: 14px;
  color: #808080;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .gn-guide-flow li { grid-template-columns: 200px 1fr; align-items: baseline; padding: 20px 24px; }
  .gn-guide-flow__title { font-size: 17px; }
  .gn-guide-flow__text  { font-size: 16px; }
}

/* ── ブログのカテゴリタブ ── */
.gn-blog-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 24px;
  border-bottom: 2px solid #eaeaea;
}
.gn-blog-tab {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #808080;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  letter-spacing: 0.06em;
}
.gn-blog-tab:hover { background: #f5f5f5; color: #333; }
.gn-blog-tab.is-active {
  color: #333;
  border-bottom-color: #808080;
}
@media (min-width: 640px) {
  .gn-blog-tab { font-size: 15px; padding: 14px 20px; }
}

/* ── ブログ一覧 ── */
.gn-blog-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.gn-blog-item { }
.gn-blog-link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid #808080;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gn-blog-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.gn-blog-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 2px;
  background: #f5f5f5;
}
.gn-blog-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: 0.5;
}
.gn-blog-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gn-blog-date { font-size: 11px; color: #808080; opacity: 0.7; }
.gn-blog-title { font-size: 15px; font-weight: 700; margin: 4px 0 0; color: #808080; }
.gn-blog-excerpt { font-size: 13px; color: #808080; line-height: 1.6; opacity: 0.85; margin: 4px 0 0; }
@media (min-width: 768px) {
  .gn-blog-link { grid-template-columns: 200px 1fr; gap: 24px; padding: 20px; }
  .gn-blog-thumb { height: 130px; }
  .gn-blog-title { font-size: 18px; }
  .gn-blog-excerpt { font-size: 14px; }
  .gn-blog-date { font-size: 12px; }
}

.gn-blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid #808080;
}
.gn-blog-pager-link {
  color: #808080;
  text-decoration: underline;
  font-size: 14px;
}
.gn-blog-pager-info { font-size: 13px; color: #808080; opacity: 0.7; }

/* ── ブログ詳細記事 ── */
.gn-article-hero {
  margin: 0 0 32px;
}
.gn-article-hero img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.gn-article-body {
  font-size: 15px;
  line-height: 1.95;
  color: #808080;
}
.gn-article-body h2 {
  margin: 40px 0 16px;
  font-weight: 700;
  color: #808080;
  border-bottom: 1px solid #808080;
  padding-bottom: 8px;
}
.gn-article-body h3 {
  margin: 32px 0 12px;
  font-weight: 700;
  color: #808080;
}
.gn-article-body p { margin: 0 0 1.2em; }
.gn-article-body a { color: #808080; text-decoration: underline; }
.gn-article-body img { max-width: 100%; height: auto; border-radius: 4px; }
.gn-article-body ul, .gn-article-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.gn-article-body li { margin: 0.3em 0; }
.gn-article-body blockquote {
  border-left: 3px solid #808080;
  padding: 4px 16px;
  margin: 1.2em 0;
  color: #808080;
  opacity: 0.85;
}
@media (min-width: 768px) {
  .gn-article-body { font-size: 17px; }
}

.gn-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid #808080;
}
.gn-article-nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid #808080;
  border-radius: 2px;
  text-decoration: none;
  color: #808080;
  background: #fff;
  min-width: 0;
}
.gn-article-nav__link--next { text-align: right; }
.gn-article-nav__label { font-size: 11px; opacity: 0.7; }
.gn-article-nav__title {
  font-size: 13px; font-weight: 700; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ── ページ内目次ボタン（farm 等） ── */
.gn-toc-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 40px;
}
@media (min-width: 640px) {
  .gn-toc-buttons { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (min-width: 900px) {
  .gn-toc-buttons { grid-template-columns: repeat(3, 1fr); }
}

/* --row4：/kodawari 用に PC で 4 個を横 1 行 */
@media (min-width: 900px) {
  .gn-toc-buttons.gn-toc-buttons--row4 { grid-template-columns: repeat(4, 1fr); }
}
.gn-toc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #808080;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
/* .gn-editorial a:hover の一般ルール（色 #808080）に勝つよう .gn-editorial 付きで再定義 */
.gn-editorial .gn-toc-btn:hover,
.gn-toc-btn:hover {
  background: #808080;
  color: #ffffff;
}
@media (min-width: 768px) {
  .gn-toc-btn { padding: 16px 20px; font-size: 15px; }
}

/* ============================================================
   /products/[slug] EC 詳細ページ（ヤクシ shop 相当）
============================================================ */
.gn-shop-crumb {
  font-size: 12px;
  color: #808080;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.gn-shop-crumb a { color: #808080; text-decoration: none; }
.gn-shop-crumb a:hover { text-decoration: underline; }
.gn-shop-crumb [aria-current="page"] { color: #333; }

.gn-shop-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 0 0 56px;
}
@media (min-width: 900px) {
  .gn-shop-main { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.gn-shop-gallery { position: relative; }
.gn-shop-gallery__main {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #f5f5f5;
  transform-origin: 50% 50%;
  animation: gnShopPulse 7s ease-in-out infinite;
}
/* ゆっくり前後に少しズームイン/アウトするループ */
@keyframes gnShopPulse {
  0%, 100% { transform: scale(1);    }
  50%      { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .gn-shop-gallery__main { animation: none; }
}
.gn-shop-gallery__placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  font-size: 64px;
  border-radius: 4px;
}

/* ── サムネイル一覧 ── */
.gn-shop-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.gn-shop-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.gn-shop-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gn-shop-gallery__thumb:hover { transform: translateY(-2px); }
.gn-shop-gallery__thumb--active { border-color: #5dbee6; }

/* ── 注文パネル ── */
.gn-order-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gn-order-panel__name {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #333;
}
@media (min-width: 768px) {
  .gn-order-panel__name { font-size: 28px; }
}
.gn-order-panel__desc {
  font-size: 14px;
  color: #808080;
  line-height: 1.8;
  margin: 0;
}
.gn-order-panel__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}
.gn-order-panel__price {
  font-size: 30px;
  font-weight: 700;
  color: #333;
}
.gn-order-panel__unit {
  font-size: 13px;
  color: #808080;
}
.gn-order-panel__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gn-order-panel__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #808080;
  text-transform: uppercase;
}

.gn-order-panel__sizes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.gn-order-panel__size {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.gn-order-panel__size:hover { background: #f5f5f5; }
.gn-order-panel__size.is-active {
  background: #808080;
  color: #ffffff;
  border-color: #808080;
}
.gn-order-panel__size-kg { font-size: 13px; font-weight: 700; }
.gn-order-panel__size-price { font-size: 11px; opacity: 0.85; }

.gn-order-panel__grain {
  display: flex;
  gap: 8px;
}
.gn-order-panel__grain-btn {
  flex: 1;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #808080;
  color: #808080;
  border-radius: 2px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.gn-order-panel__grain-btn.is-active {
  background: #808080;
  color: #ffffff;
}

.gn-order-panel__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #808080;
  border-radius: 2px;
  overflow: hidden;
  align-self: flex-start;
}
.gn-order-panel__qty button {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 0;
  font-size: 18px;
  font-family: inherit;
  color: #808080;
  cursor: pointer;
  transition: background 0.15s;
}
.gn-order-panel__qty button:hover { background: #f5f5f5; }
.gn-order-panel__qty-num {
  min-width: 56px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.gn-order-panel__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f5f5f5;
  border-radius: 2px;
}
.gn-order-panel__total span { font-size: 13px; color: #808080; }
.gn-order-panel__total strong {
  font-size: 29px;
  font-weight: 700;
  color: #333;
}
/* 送料 + 支払い方法をまとめた案内ボックス（合計から -2px） */
.gn-order-panel__info {
  padding: 12px 16px;
  background: #fafafa;
  border-radius: 2px;
  font-size: 10px;
  color: #808080;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gn-order-panel__info p { margin: 0; }
.gn-order-panel__info strong { color: #333; }

.gn-editorial .gn-order-panel__submit,
.gn-editorial .gn-order-panel__submit:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: #d82d05;
  color: #ffffff !important;
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  box-shadow: none;
}
.gn-editorial .gn-order-panel__submit svg {
  color: #ffffff;
  stroke: #ffffff;
}
.gn-editorial .gn-order-panel__submit:hover {
  background: #b62504;
  transform: translateY(-1px);
}


/* ── 特徴リスト ── */
.gn-shop-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.gn-shop-features li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
  font-size: 14px;
}
.gn-shop-features li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #808080;
}

/* ── スペック表 ── */
.gn-shop-spec {
  margin: 0;
  padding: 0;
  border-top: 1px solid #808080;
}
.gn-shop-spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 4px;
  border-bottom: 1px dotted #808080;
}
.gn-shop-spec dt {
  font-weight: 700;
  font-size: 13px;
  color: #808080;
  letter-spacing: 0.08em;
}
.gn-shop-spec dd {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .gn-shop-spec__row { grid-template-columns: 180px 1fr; gap: 16px 24px; padding: 16px 4px; }
  .gn-shop-spec dt { font-size: 14px; }
  .gn-shop-spec dd { font-size: 15px; }
}

/* ── 炊き方ステップ ── */
.gn-shop-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.gn-shop-steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 60px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.8;
}
.gn-shop-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #808080;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
}
.gn-shop-steps li strong { color: #333; }

/* ── FAQ ── */
.gn-shop-faq {
  margin: 0;
  padding: 0;
}
.gn-shop-faq__item {
  padding: 16px 0;
  border-bottom: 1px solid #eaeaea;
}
.gn-shop-faq dt {
  font-weight: 700;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  padding-left: 24px;
  position: relative;
}
.gn-shop-faq dt::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #808080;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.gn-shop-faq dd {
  margin: 0;
  padding-left: 24px;
  font-size: 13px;
  color: #808080;
  line-height: 1.8;
}

/* ── 関連商品 ── */
.gn-shop-related {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .gn-shop-related { grid-template-columns: repeat(4, 1fr); }
}
.gn-shop-related__item {
  display: block;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gn-shop-related__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.gn-shop-related__item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #ffffff;
}
@media (min-width: 640px) {
  .gn-shop-related__item img { height: 220px; }
}

/* ← ショッピングへ戻る ボタン */
.gn-shop-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 9999px;
  color: #808080;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.gn-shop-back-btn:hover {
  background: #808080;
  color: #ffffff;
}
.gn-shop-related__body {
  padding: 10px 12px;
}
.gn-shop-related__name {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}
.gn-shop-related__price {
  margin: 0;
  font-size: 12px;
  color: #808080;
}

/* ============================================================
   /cart（ginnami 用カート）
============================================================ */
.gn-cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.gn-cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
}
@media (min-width: 640px) {
  .gn-cart-item { grid-template-columns: 100px 1fr auto; gap: 16px; padding: 16px; }
}
.gn-cart-item__img {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: contain;
  background: #f5f5f5;
  border-radius: 2px;
}
.gn-cart-item__body { min-width: 0; }
.gn-cart-item__name { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.gn-cart-item__name a { color: #333; text-decoration: none; }
.gn-cart-item__name a:hover { text-decoration: underline; }
.gn-cart-item__meta { margin: 0 0 8px; font-size: 12px; color: #808080; }
.gn-cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #808080;
  border-radius: 2px;
  overflow: hidden;
}
.gn-cart-item__qty button {
  width: 30px; height: 30px;
  background: #fff; border: 0;
  font-size: 15px; color: #808080; cursor: pointer;
  font-family: inherit;
}
.gn-cart-item__qty button:hover { background: #f5f5f5; }
.gn-cart-item__qty span {
  min-width: 40px; text-align: center;
  font-size: 14px; font-weight: 700; color: #333;
}
.gn-cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.gn-cart-item__line { font-weight: 700; font-size: 15px; color: #333; }
.gn-cart-item__remove {
  background: transparent; border: 0;
  font-size: 16px; color: #808080; cursor: pointer;
  padding: 4px 8px;
}
.gn-cart-item__remove:hover { color: #d82d05; }

/* サマリー */
.gn-cart-summary {
  padding: 20px 24px;
  background: #fafafa;
  border-radius: 4px;
  display: grid;
  gap: 10px;
}
.gn-cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #808080;
}
.gn-cart-summary__note { font-size: 12px; }
.gn-cart-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid #eaeaea;
  margin-top: 4px;
}
.gn-cart-summary__total span { font-size: 13px; color: #808080; }
.gn-cart-summary__total strong { font-size: 26px; font-weight: 700; color: #333; }

.gn-cart-notice {
  font-size: 11px;
  color: #808080;
  line-height: 1.7;
  margin: 12px 0 20px;
}

.gn-editorial .gn-cart-checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  background: #d82d05;
  color: #ffffff !important;
  border: 0;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.gn-editorial .gn-cart-checkout:hover:not(:disabled) {
  background: #b62504;
  transform: translateY(-1px);
}
.gn-editorial .gn-cart-checkout:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 代金引換・振替・コンビニ（お問合せ）は控えめな 2 番手 */
.gn-editorial .gn-cart-checkout-alt {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  padding: 14px 24px;
  background: #ffffff;
  color: #808080 !important;
  border: 1px solid #808080;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.gn-editorial .gn-cart-checkout-alt:hover {
  background: #808080;
  color: #ffffff !important;
}

/* ============================================================
   ショッピングフロー STEP インジケータ
   ── お客様が迷わないよう「今どの段階か」を明示
============================================================ */
.gn-editorial .gn-shop-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0 32px;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.gn-editorial .gn-shop-flow__item {
  position: relative;
  padding: 14px 8px 12px;
  text-align: center;
  border-top: 3px solid #d9d9d9;
  color: #a9a9a9;
  transition: color 0.2s, border-color 0.2s;
}
.gn-editorial .gn-shop-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d9d9d9;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  transition: background 0.2s;
}
.gn-editorial .gn-shop-flow__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.gn-editorial .gn-shop-flow__item.is-done {
  border-top-color: #808080;
  color: #808080;
}
.gn-editorial .gn-shop-flow__item.is-done .gn-shop-steps__num {
  background: #808080;
}
.gn-editorial .gn-shop-flow__item.is-current {
  border-top-color: #d82d05;
  color: #d82d05;
}
.gn-editorial .gn-shop-flow__item.is-current .gn-shop-steps__num {
  background: #d82d05;
}
@media (max-width: 720px) {
  .gn-editorial .gn-shop-flow__item { padding: 12px 4px 10px; }
  .gn-editorial .gn-shop-flow__num  { width: 22px; height: 22px; font-size: 11px; margin-right: 4px; }
  .gn-editorial .gn-shop-flow__label { font-size: 11px; letter-spacing: 0.02em; }
}

/* ============================================================
   /kodawari ヒーロー直下のビジュアル（sankyo.png）
============================================================ */
.gn-editorial .gn-kodawari-hero-visual {
  margin: 0 auto 32px;
  padding: 0;
  text-align: center;
  width: 100%;   /* コンテンツ幅（.gn-page-body：PC 80% / SP 90%）いっぱい */
  max-width: none;
}
.gn-editorial .gn-kodawari-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .gn-editorial .gn-kodawari-hero-visual { margin-bottom: 24px; }
}

/* ============================================================
   /checkout（ginnami・yakushi 式）
============================================================ */
.gn-editorial .gn-checkout            { max-width: 720px; margin: 0 auto; }
.gn-editorial .gn-checkout-summary    { border: 1px solid #d9d9d9; border-radius: 8px; padding: 16px 20px; background: #fafafa; }
.gn-editorial .gn-checkout-summary__row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; }
.gn-editorial .gn-checkout-summary__note { font-size: 12px; color: #999; }
.gn-editorial .gn-checkout-summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px; margin-top: 10px; border-top: 1px solid #d9d9d9;
  font-size: 15px; font-weight: 700;
}
.gn-editorial .gn-checkout-summary__total strong { font-size: 20px; color: #d82d05; }

.gn-editorial .gn-checkout-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.gn-editorial .gn-checkout-grid label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; color: #666; font-weight: 500;
  grid-column: span 2;
}
.gn-editorial .gn-checkout-grid label .req { color: #d82d05; margin-left: 2px; }
.gn-editorial .gn-checkout-grid label input,
.gn-editorial .gn-checkout-grid label select,
.gn-editorial .gn-checkout-grid label textarea {
  width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit;
  border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; color: #333;
}
.gn-editorial .gn-checkout-grid label input:focus,
.gn-editorial .gn-checkout-grid label select:focus,
.gn-editorial .gn-checkout-grid label textarea:focus {
  outline: none; border-color: #808080;
}
@media (min-width: 720px) {
  .gn-editorial .gn-checkout-grid label { grid-column: span 1; }
  .gn-editorial .gn-checkout-grid label:last-child { grid-column: span 2; }
}

.gn-editorial .gn-checkout-grain      { display: flex; flex-wrap: wrap; gap: 10px; }
.gn-editorial .gn-checkout-grain__opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 2px solid #d9d9d9; border-radius: 9999px;
  font-size: 14px; cursor: pointer; transition: all 0.15s;
}
.gn-editorial .gn-checkout-grain__opt input { accent-color: #808080; }
.gn-editorial .gn-checkout-grain__opt.is-active {
  border-color: #808080; background: #f4f4f2;
}
.gn-editorial .gn-checkout-note { font-size: 12px; color: #999; margin-top: 8px; }

.gn-editorial .gn-checkout-methods    { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gn-editorial .gn-checkout-method {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border: 2px solid #d9d9d9; border-radius: 10px;
  cursor: pointer; transition: all 0.15s; background: #fff;
}
.gn-editorial .gn-checkout-method input { margin-top: 3px; accent-color: #808080; }
.gn-editorial .gn-checkout-method div   { display: flex; flex-direction: column; gap: 2px; }
.gn-editorial .gn-checkout-method strong { font-size: 14px; color: #333; font-weight: 700; }
.gn-editorial .gn-checkout-method span   { font-size: 12px; color: #999; }
.gn-editorial .gn-checkout-method.is-active { border-color: #808080; background: #f4f4f2; }
@media (max-width: 640px) {
  .gn-editorial .gn-checkout-methods { grid-template-columns: 1fr; }
}

.gn-editorial .gn-checkout-hint {
  font-size: 12px; color: #999; text-align: center; margin-top: 10px;
}

/* ============================================================
   /mypage（ginnami 用マイページ・localStorage ベース）
============================================================ */
.gn-mypage-cart {
  padding: 20px 24px;
  background: #fafafa;
  border-radius: 4px;
  display: grid;
  gap: 8px;
}
.gn-mypage-cart__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #808080;
}
.gn-mypage-cart__row strong { color: #333; font-size: 16px; }
.gn-editorial .gn-mypage-cart__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 24px;
  background: #808080;
  color: #ffffff !important;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.15s;
}
.gn-editorial .gn-mypage-cart__btn:hover { background: #6b6b6b; }

/* お客様情報フォーム */
.gn-mypage-form {
  display: grid;
  gap: 16px;
}
.gn-mypage-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #808080;
}
.gn-mypage-form input,
.gn-mypage-form textarea {
  padding: 10px 12px;
  border: 1px solid #808080;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  background: #fff;
}
.gn-mypage-form textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.gn-mypage-form input:focus,
.gn-mypage-form textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 3px rgba(128,128,128,0.15);
}
.gn-mypage-form__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.gn-mypage-form__save {
  padding: 12px 24px;
  background: #808080;
  color: #fff;
  border: 0;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s;
}
.gn-mypage-form__save:hover { background: #6b6b6b; }
.gn-mypage-form__clear {
  padding: 10px 18px;
  background: transparent;
  color: #808080;
  border: 1px solid #808080;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.gn-mypage-form__clear:hover { background: #f5f5f5; }

/* お気に入り・最近見た商品グリッド */
.gn-mypage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .gn-mypage-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .gn-mypage-grid { grid-template-columns: repeat(5, 1fr); } }
.gn-mypage-card {
  position: relative;
  display: block;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gn-mypage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.gn-mypage-card > a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.gn-mypage-card img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: contain;
  background: #fff;
}
.gn-mypage-card__name {
  margin: 6px 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.gn-mypage-card__price {
  margin: 0;
  font-size: 11px;
  color: #808080;
  text-align: center;
}
.gn-mypage-card__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #808080;
  border-radius: 999px;
  font-family: inherit;
  font-size: 10px;
  color: #808080;
  cursor: pointer;
}
.gn-mypage-card__remove:hover { background: #808080; color: #fff; }

/* ── 用語集（wiki）：五十音インデックス（正円・小さめ） ── */
.gn-wiki-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 40px;
}
.gn-wiki-index__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #808080;
  border-radius: 50%;
  color: #808080;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.gn-wiki-index__btn:hover {
  background: #808080;
  color: #ffffff;
}
.gn-wiki-index__btn.is-empty {
  opacity: 0.35;
  pointer-events: none;
}
@media (min-width: 768px) {
  .gn-wiki-index__btn { width: 36px; height: 36px; font-size: 14px; }
}

.gn-wiki-dl__reading {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
}
@media (min-width: 768px) {
  .gn-wiki-dl__reading { font-size: 12px; }
}

/* ── 用語集（wiki） ── */
.gn-wiki-dl {
  margin: 0;
  padding: 0;
  border-top: 1px solid #808080;
}
.gn-wiki-dl__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 4px;
  border-bottom: 1px solid #808080;
}
.gn-wiki-dl dt {
  font-weight: 700;
  font-size: 15px;
  color: #808080;
}
.gn-wiki-dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #808080;
}
@media (min-width: 768px) {
  .gn-wiki-dl__row {
    grid-template-columns: 220px 1fr;
    gap: 16px 24px;
    padding: 20px 4px;
  }
  .gn-wiki-dl dt { font-size: 17px; }
  .gn-wiki-dl dd { font-size: 16px; }
}

/* ── 特定商取引法テーブル ── */
.gn-tokusho-dl {
  margin: 0;
  padding: 0;
  border-top: 1px solid #808080;
}
.gn-tokusho-dl__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 4px;
  border-bottom: 1px solid #808080;
}
.gn-tokusho-dl dt {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #808080;
}
.gn-tokusho-dl dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #808080;
}
@media (min-width: 768px) {
  .gn-tokusho-dl__row {
    grid-template-columns: 200px 1fr;
    gap: 16px 24px;
    padding: 20px 4px;
  }
  .gn-tokusho-dl dt { font-size: 15px; }
  .gn-tokusho-dl dd { font-size: 16px; }
}

/* ── ボタン統一：#808080 背景・白文字 ── */
.gn-editorial .gn-product-card__btn,
.gn-editorial .gn-plan-card__btn,
.gn-editorial .gn-plan-card__btn.is-main,
.gn-editorial .gn-cta-block__btn,
.gn-editorial .contact__submit {
  background: #808080;
  color: #ffffff;
  border-color: #808080;
}
.gn-editorial .gn-product-card__btn.gn-product-card__btn--aurora {
  background:
    linear-gradient(#808080, #808080) padding-box,
    linear-gradient(180deg,
      #5eff9c 0%,
      #5ee8ff 20%,
      #7f7fff 40%,
      #d070ff 60%,
      #ff70c8 80%,
      #5eff9c 100%
    ) border-box;
  background-size: 100% 100%, 100% 400%;
  color: #ffffff;
  border: 2px solid transparent !important;
  animation: auroraBorder 8s linear infinite;
  transition: background 0.2s;
}
.gn-editorial .gn-product-card__btn.gn-product-card__btn--aurora:hover {
  background:
    linear-gradient(#5a5a5a, #5a5a5a) padding-box,
    linear-gradient(180deg,
      #5eff9c 0%,
      #5ee8ff 20%,
      #7f7fff 40%,
      #d070ff 60%,
      #ff70c8 80%,
      #5eff9c 100%
    ) border-box;
  background-size: 100% 100%, 100% 400%;
  color: #ffffff;
  animation: auroraBorder 8s linear infinite;
}

.gn-editorial .gn-product-card__btn:hover,
.gn-editorial .gn-plan-card__btn:hover,
.gn-editorial .gn-plan-card__btn.is-main:hover,
.gn-editorial .gn-cta-block__btn:hover,
.gn-editorial .contact__submit:hover {
  background: #6b6b6b;
  color: #ffffff;
  border-color: #6b6b6b;
}

/* ── PC 版：本文の文字サイズを一律 +2px ── */
@media (min-width: 768px) {
  /* ページヘッダー */
  .gn-editorial .gn-page-hero h1 { font-size: 42px; }
  .gn-editorial .gn-page-hero p  { font-size: 17px; }

  /* セクションタイトル */
  .gn-editorial .gn-section__title { font-size: 28px; }

  /* コンテンツベース（含 p, li, dt, dd 等） */
  .gn-editorial .gn-ed-main,
  .gn-editorial .gn-ed-main p,
  .gn-editorial .gn-ed-main li,
  .gn-editorial .gn-ed-main dt,
  .gn-editorial .gn-ed-main dd,
  .gn-editorial .gn-ed-main span,
  .gn-editorial .gn-ed-main strong { font-size: 18px; }

  /* 送料テーブル */
  .gn-editorial .gn-shipping-table       { font-size: 15px; }
  .gn-editorial .gn-shipping-table th    { font-size: 14px; }
  .gn-editorial .gn-shipping-note        { font-size: 14px; }

  /* 支払 */
  .gn-editorial .gn-payment-list li          { font-size: 16px; }
  .gn-editorial .gn-payment-cod__title       { font-size: 14px; }
  .gn-editorial .gn-payment-cod__rows > div  { font-size: 15px; }

  /* CTA */
  .gn-editorial .gn-cta-block__lead { font-size: 20px; }
  .gn-editorial .gn-cta-block__sub  { font-size: 15px; }
  .gn-editorial .gn-cta-block__btn  { font-size: 16px; }

  /* Voice */
  .gn-editorial .gn-voice-card__stars  { font-size: 18px; }
  .gn-editorial .gn-voice-card__text   { font-size: 16px; }
  .gn-editorial .gn-voice-card__name   { font-size: 15px; }
  .gn-editorial .gn-voice-card__detail { font-size: 13px; }

  /* Products */
  .gn-editorial .gn-product-card__name  { font-size: 22px; }
  .gn-editorial .gn-product-card__desc  { font-size: 15px; }
  .gn-editorial .gn-product-card__size  { font-size: 15px; }
  .gn-editorial .gn-product-card__btn   { font-size: 15px; }
  .gn-editorial .gn-product-card__badge { font-size: 13px; }
  .gn-editorial .gn-plan-card__name     { font-size: 20px; }
  .gn-editorial .gn-plan-card__for      { font-size: 14px; }
  .gn-editorial .gn-plan-card__qty      { font-size: 16px; }
  .gn-editorial .gn-plan-card__qty strong { font-size: 20px; }
  .gn-editorial .gn-plan-card__price    { font-size: 30px; }
  .gn-editorial .gn-plan-card__yen      { font-size: 18px; }
  .gn-editorial .gn-plan-card__tax      { font-size: 14px; }
  .gn-editorial .gn-plan-card__save     { font-size: 14px; }
  .gn-editorial .gn-plan-card__btn      { font-size: 15px; }

  /* FAQ */
  .gn-editorial .gn-hero-shell .faq__q { font-size: 17px; }
  .gn-editorial .gn-hero-shell .faq__a { font-size: 16px; }

  /* Farm カレンダー・info */
  .gn-editorial .gn-calendar__text { font-size: 16px; }
  .gn-editorial .gn-info-dl dt     { font-size: 16px; }
  .gn-editorial .gn-info-dl dd     { font-size: 16px; }
  .gn-editorial .gn-map__addr      { font-size: 16px; }

  /* ページ内目次 */
  .gn-editorial .gn-toc a { font-size: 15px; }
}

