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

/* ========================================
   CSS Variables
======================================== */
:root {
  --color-primary:    #000000;
  --color-secondary:  #000000;
  --color-accent:     #000000;
  --color-bg:         #FFFFFF;
  --color-text:       #333333;
  --color-text-light: #666666;
  --color-border:     #E5E5E5;
  --font-base:        'Noto Sans JP', sans-serif;
  --font-heading:     'Noto Sans JP', sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
}

/* ========================================
   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;
  will-change: opacity;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide.is-visible {
  opacity: 1;
}

.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;
}

/* ----------------------------------------
   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));
  animation:
    symbolFadeIn  0.8s ease-out 2s forwards,
    symbolSpin    5s   cubic-bezier(0, 0.4, 0.2, 1) 2s forwards,
    symbolFadeOut 2s   ease-in-out 13s forwards;
}

@keyframes symbolFadeIn {
  from { opacity: 0; }
  to   { opacity: 0.9; }
}

@keyframes symbolSpin {
  from { transform: perspective(800px) rotateY(0deg); }
  to   { transform: perspective(800px) rotateY(720deg); }
}

@keyframes symbolFadeOut {
  from { opacity: 0.9; }
  to   { opacity: 0; }
}

/* ----------------------------------------
   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));
  animation:
    logoFadeIn  2s ease-in-out 15s forwards,
    logoBreath  8s ease-in-out 17s infinite;
}

@keyframes logoFadeIn {
  from { opacity: 0; }
  to   { 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)
---------------------------------------- */
.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;
  animation: uiFadeIn 1.5s ease-in-out 3s forwards;
}

.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 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;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 20px;
  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: 26px;
    padding: 18px 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;
  animation:
    uiFadeIn  1.5s ease-in-out 5s forwards,
    chatSway  3s   ease-in-out 6.5s infinite;
}

.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)
---------------------------------------- */
.hero__typewriter {
  position: absolute;
  bottom: 50px;
  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;
}

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

/* ----------------------------------------
   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 {
  transform: translateY(-50%) translateX(0) scale(1.20);
  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%; }
}

.hero__pr-card.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.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 {
    font-size: 18px;
    padding: 24px 14px 24px 12px;
  }
}

/* ----------------------------------------
   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で制御 */

/* ========================================
   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 */
  }
}
