/* 京仙人自然薯ブランドサイト カスタムCSS */

/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Zen+Maru+Gothic:wght@300;400;500;700&display=swap');

/* カラーパレット（CSS Custom Properties） */
:root {
  /* メインカラー - 自然由来の色合い */
  --kinari: #f7f5f0;         /* 生成り */
  --kinari-light: #faf9f6;   /* 明るい生成り */
  --kinari-dark: #f0ede4;    /* 濃い生成り */
  --deep-green: #2d3e2f;     /* 深緑 */
  --soft-green: #4a5d4c;     /* やわらか緑 */
  --moss-green: #6b7b6d;     /* 苔色 */
  --earth-brown: #8b6f47;    /* 土茶色 */
  --warm-brown: #a0845c;     /* 温かい茶 */
  --light-brown: #c4a373;    /* 明るい茶 */
  
  /* アクセントカラー */
  --gold: #d4af37;           /* 金色 */
  --red-clay: #c8775d;       /* 赤土色 */
  --muted-orange: #d49c5a;   /* くすみオレンジ */
  
  /* 季節カラー（栽培ページ用） */
  --spring-green: #7fb069;
  --summer-green: #5a9f47;
  --autumn-orange: #d49c5a;
  --winter-brown: #8b6f47;
  
  /* グレー系 */
  --soft-gray: #9e9e9e;
  --light-gray: #e8e8e8;
  --dark-gray: #555555;
  
  /* フォントファミリー */
  --font-main: 'Zen Maru Gothic', 'Noto Sans JP', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', sans-serif;
  --font-accent: 'Noto Sans JP', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
  
  /* シャドウ */
  --shadow-soft: 0 2px 8px rgba(45, 62, 47, 0.08);
  --shadow-medium: 0 4px 16px rgba(45, 62, 47, 0.12);
  --shadow-strong: 0 8px 24px rgba(45, 62, 47, 0.16);
  
  /* ボーダーラジアス */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ベーススタイル */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.8;
  color: var(--deep-green);
  background-color: var(--kinari);
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 和紙風背景テクスチャ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    var(--kinari) 0%, 
    var(--kinari-light) 25%, 
    var(--kinari) 50%, 
    var(--kinari-dark) 75%, 
    var(--kinari) 100%);
  background-size: 60px 60px;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* テキスト要素 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1em;
  color: var(--deep-green);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.4;
  position: relative;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
}

/* 見出しの装飾線 */
.heading-accent::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--earth-brown), var(--warm-brown));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.heading-accent.left::after {
  margin: 0.5rem 0 0;
}

/* パラグラフ */
p {
  margin-bottom: 1.2em;
  color: var(--deep-green);
}

/* リンク */
a {
  color: var(--earth-brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--warm-brown);
  text-decoration: underline;
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-accent);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: var(--kinari-light);
  color: var(--deep-green);
  border: 2px solid var(--earth-brown);
}

.btn-secondary:hover {
  background: var(--earth-brown);
  color: white;
  text-decoration: none;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* カードスタイル */
.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
  position: relative;
  /* アニメーション用の初期状態 */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card.active {
  opacity: 1;
  transform: translateY(0);
  /* active後はhover用のtransitionに変更 */
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease-out;
}

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

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-gray);
  font-size: 0.875rem;
}

/* セクション */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.5);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ヘッダー・ナビゲーション */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--deep-green);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--deep-green);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--earth-brown);
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--earth-brown);
  border-radius: 1px;
}

/* 業務用販売ボタン（赤背景・白文字） */
.nav-link-business {
  background: #d32f2f;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav-link-business:hover {
  background: #b71c1c;
  color: white !important;
}

.nav-link-business.active {
  background: #b71c1c;
  color: white !important;
}

.nav-link-business.active::after {
  display: none;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--deep-green);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ヒーロー部分 */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(
    135deg,
    rgba(45, 62, 47, 0.3) 0%,
    rgba(139, 111, 71, 0.2) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  transform: scale(1.1);
  filter: blur(0.5px);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  color: var(--deep-green);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--earth-brown);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* プレミアム特徴セクション */
.feature-section {
  position: relative;
  padding: 5rem 0;
}

.premium-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.premium-feature-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  min-height: 380px;
  height: auto;
}

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

.feature-image-container {
  position: relative;
  overflow: hidden;
}

.feature-content {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.feature-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(139, 111, 71, 0.3);
}

.feature-catch {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.feature-description {
  font-size: 1rem;
  color: var(--earth-brown);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.feature-details {
  font-size: 0.9rem;
  color: var(--soft-green);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

/* 旧スタイル（下位互換） */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--deep-green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--soft-green);
  line-height: 1.6;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* フッター */
.footer {
  background: var(--deep-green);
  color: var(--kinari-light);
  padding: 2rem 0 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* お問い合わせのテキスト表示制御（デフォルトはデスクトップ） */
.contact-text-desktop {
  display: inline;
}

.contact-text-mobile {
  display: none;
}

/* 京仙人を知るカードのサイズ調整（デスクトップ） */
.know-kyosennin-grid .card {
  padding: 2rem;
}

.know-kyosennin-grid .card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.know-kyosennin-grid .card p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* 大昔から日本に自生している芋セクションの順序制御（デスクトップ） */
.ancient-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ancient-heading-text {
  grid-column: 1;
  grid-row: 1;
}

.ancient-image {
  grid-column: 2;
  grid-row: 1 / 3;
}

.ancient-content-text {
  grid-column: 1;
  grid-row: 2;
}

/* 滋養に富む栄養食セクションの順序制御（デスクトップ） */
@media (min-width: 769px) {
  .nutrition-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    gap: 0 !important;
  }

  .nutrition-heading-text {
    width: 100% !important;
    max-width: 800px !important;
    text-align: center !important;
    margin: 0 auto 1rem !important;
    order: 2 !important;
  }

  .nutrition-heading-text .heading-accent {
    text-align: center !important;
    position: relative !important;
  }

  .nutrition-heading-text .heading-accent::after {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0.5rem 0 0 !important;
  }

  .nutrition-image {
    width: 100% !important;
    max-width: 1100px !important;
    margin-bottom: 2rem !important;
    order: 1 !important;
  }

  .nutrition-content-text {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
    order: 3 !important;
  }
}

/* 他のヤマノイモ類との違いセクションの順序制御（デスクトップ） */
.difference-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.difference-heading-text {
  grid-column: 1;
  grid-row: 1;
}

.difference-image {
  grid-column: 2;
  grid-row: 1 / 3;
}

.difference-content-text {
  grid-column: 1;
  grid-row: 2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 100%;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-medium);
    padding: 2rem 0;
    z-index: 999;
    margin-top: 0;
  }

  .nav-menu.active {
    right: 0;
  }

  .header {
    height: auto;
    min-height: 45px;
  }

  .nav {
    padding: 0.5rem 1.5rem;
  }

  /* お問い合わせの改行をモバイルで制御 */
  .contact-text-desktop {
    display: none;
  }

  .contact-text-mobile {
    display: inline;
  }

  /* 京仙人を知るの画像サイズを統一 */
  .know-kyosennin-grid .card-image-wrapper {
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
  }

  .know-kyosennin-grid .card-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* 京仙人を知るはモバイルで1列表示 */
  .know-kyosennin-grid {
    grid-template-columns: 1fr !important;
  }

  /* 京仙人を知るカードのサイズ調整 */
  .know-kyosennin-grid .card {
    padding: 1.75rem !important;
  }

  .know-kyosennin-grid .card h3 {
    font-size: 1.3rem !important;
  }

  .know-kyosennin-grid .card p {
    font-size: 1rem !important;
  }

  /* 大昔から日本に自生している芋セクションの順序制御（モバイル） */
  .ancient-section {
    display: flex !important;
    flex-direction: column !important;
  }

  .ancient-heading-text {
    order: 2;
  }

  .ancient-image {
    order: 1;
  }

  .ancient-content-text {
    order: 3;
  }

  /* 滋養に富む栄養食セクションの順序制御（モバイル） */
  .nutrition-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .nutrition-heading-text {
    order: 2;
    text-align: center !important;
  }

  .nutrition-heading-text .heading-accent {
    text-align: center !important;
  }

  .nutrition-heading-text .heading-accent::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nutrition-image {
    order: 1;
  }

  .nutrition-content-text {
    order: 3;
  }

  /* 他のヤマノイモ類との違いセクションの順序制御（モバイル） */
  .difference-section {
    display: flex !important;
    flex-direction: column !important;
  }

  .difference-heading-text {
    order: 2;
  }

  .difference-image {
    order: 1;
  }

  .difference-image img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .difference-content-text {
    order: 3;
  }

  /* 横棒を中央に配置（モバイル） */
  .heading-accent.left::after {
    margin: 0.5rem auto 0 !important;
  }

  /* 「自然薯とは」セクションの下部余白を削減 */
  .section:has(+ .section[style*="padding-top: 0"]) {
    padding-bottom: 1rem;
  }

  /* 栽培のこだわりセクション（モバイル） */
  .cultivation-item {
    display: flex !important;
    flex-direction: column !important;
  }

  .cultivation-item .cultivation-image {
    order: 1;
  }

  .cultivation-item .cultivation-text {
    order: 2;
  }

  /* 全ページヒーローセクションのカードスタイル統一（モバイル） */
  .hero .hero-content {
    margin-top: 12vh !important;
    padding: 2rem !important;
    text-align: center !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* トップページのヒーローは中央配置のままにする */
  .hero[style*="min-height: 100vh"] .hero-content {
    margin-top: 0 !important;
  }

  /* モバイル版本文テキストサイズ統一 */
  .section p,
  .ancient-content-text p,
  .nutrition-content-text p,
  .difference-content-text p,
  .card p {
    font-size: 1.0625rem !important;
  }

  /* 微妙なギャップ問題の修正 - 見出しと下のコンテンツのギャップを狭める */
  h2.heading-accent,
  h3.heading-accent {
    margin-bottom: 1.5rem !important;
  }

  /* 見出しの下にある要素のmargin-topを縮小 */
  .grid-2[style*="margin: 3rem auto"],
  .grid-3[style*="margin-top: 3rem"],
  .know-kyosennin-grid[style*="margin-top: 3rem"],
  .section > .container > div[style*="margin-top: 3rem"],
  .section > .container > div[style*="margin: 3rem auto"] {
    margin-top: 1.5rem !important;
  }

  /* セクション内の最初のコンテンツのギャップ調整 */
  .section .heading-accent + p[style*="margin-bottom: 3rem"] {
    margin-top: 0.5rem !important;
  }

  /* 2kg,3kg,5kg画像をカードになじませる */
  .product-image-wrapper {
    margin-bottom: 1.5rem !important;
  }

  .product-image-wrapper > div {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
  }

  .product-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .product-card {
    padding: 1.5rem !important;
  }

  /* お客様の声のテキストはみ出し防止 */
  h2[style*="word-break: keep-all"] {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* 3つのアップ画像サイズ統一 */
  .benefit-card img {
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 80vh;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .premium-features {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .premium-feature-card {
    min-height: 380px;
  }

  .feature-section {
    padding: 3rem 0;
    background-attachment: scroll;
  }

  .feature-content {
    padding: 1.5rem 1rem;
  }

  .feature-catch {
    font-size: 1.25rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .container {
    padding: 0 1rem;
  }
}

/* タブレット用調整 */
@media (max-width: 1024px) and (min-width: 769px) {
  .premium-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .premium-feature-card:nth-child(3) {
    grid-column: 1 / 3;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* feature-cardとhero-cardのアニメーション */
.feature-card,
.hero-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.active,
.hero-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* カルーセル内のカードは除外 */
.carousel-container .card,
.carousel-container .feature-card {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ユーティリティクラス */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* プレースホルダー画像 */
.placeholder-image {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-gray);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  min-height: 200px;
}


/* 年間栽培スケジュール */
.annual-schedule {
  margin: 3rem 0;
}

.schedule-header {
  text-align: center;
  margin-bottom: 6rem;
}

/* 円状年間スケジュール */
.circular-schedule {
  position: relative;
  width: 700px;
  height: 700px;
  margin: 8rem auto 3rem;
  border: 3px dashed var(--earth-brown);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 245, 240, 0.3) 0%, rgba(240, 237, 228, 0.1) 70%);
  box-shadow: inset 0 0 20px rgba(139, 111, 71, 0.1);
  overflow: visible;
}

.circular-schedule::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(139, 111, 71, 0.2);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }
}

.center-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(139, 111, 71, 0.15);
  border: 2px solid rgba(139, 111, 71, 0.1);
  backdrop-filter: blur(10px);
}

.center-info h2 {
  color: var(--deep-green);
  font-size: 1.5rem;
  margin: 0.5rem 0;
  font-weight: 700;
}

.center-info h3 {
  color: var(--earth-brown);
  font-size: 1rem;
  margin: 0;
}

.center-info p {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.cycle-arrows {
  display: flex;
  justify-content: center;
}

.cycle-arrows svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--earth-brown);
  animation: rotate 6s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(139, 111, 71, 0.2));
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.period-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 200px;
  margin-top: -100px;
  margin-left: -80px;
  transform-origin: center;
  transform: rotate(var(--angle)) translateY(-320px) rotate(calc(-1 * var(--angle)));
  transition: all 0.3s ease;
}

.period-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 60px;
  background: linear-gradient(to bottom, var(--earth-brown), transparent);
  transform: translate(-50%, -100%) rotate(calc(var(--angle)));
  transform-origin: bottom;
  opacity: 0.4;
  z-index: -1;
}

.period-item:hover {
  z-index: 15;
  transform: rotate(var(--angle)) translateY(-330px) rotate(calc(-1 * var(--angle))) scale(1.05);
}

.period-card-compact {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.period-card-compact.winter-period { border-left-color: var(--winter-brown); }
.period-card-compact.spring-period { border-left-color: var(--spring-green); }
.period-card-compact.summer-period { border-left-color: var(--summer-green); }
.period-card-compact.autumn-period { border-left-color: var(--autumn-orange); }
.period-card-compact.harvest-start-period { border-left-color: var(--red-clay); }
.period-card-compact.harvest-period { border-left-color: var(--gold); }

.period-card-compact:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(139, 111, 71, 0.25);
  z-index: 5;
}

.period-card-compact {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(139, 111, 71, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.period-card-compact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 111, 71, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.period-card-compact:hover::after {
  opacity: 1;
}

.period-image-compact {
  width: 100%;
  height: 80px;
  overflow: hidden;
}

.period-image-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.period-card-compact:hover .period-image-compact img {
  transform: scale(1.1);
}

.period-info {
  padding: 0.75rem 0.75rem 0;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.period-info h4 {
  color: var(--deep-green);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.period-info h5 {
  color: var(--earth-brown);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.period-info p {
  color: var(--soft-green);
  font-size: 0.7rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.detail-btn-compact {
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  color: white;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-main);
  position: relative;
  overflow: hidden;
  margin: 0 0.75rem 0.75rem 0.75rem;
  width: calc(100% - 1.5rem);
}

.detail-btn-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.detail-btn-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 111, 71, 0.4);
}

.detail-btn-compact:hover::before {
  left: 100%;
}

.period-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 5px solid;
}

.period-card.winter-period { border-left-color: var(--winter-brown); }
.period-card.spring-period { border-left-color: var(--spring-green); }
.period-card.summer-period { border-left-color: var(--summer-green); }
.period-card.autumn-period { border-left-color: var(--autumn-orange); }
.period-card.harvest-start-period { border-left-color: var(--red-clay); }
.period-card.harvest-period { border-left-color: var(--gold); }

.period-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.period-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
}

.period-image img {
  transition: transform 0.3s ease;
}

.period-card:hover .period-image img {
  transform: scale(1.05);
}

.period-content {
  padding: 1.5rem;
}

.period-title {
  color: var(--deep-green);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.period-subtitle {
  color: var(--earth-brown);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.period-description {
  color: var(--soft-green);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.detail-btn {
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

.detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 111, 71, 0.3);
}

/* モーダルウィンドウ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

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

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  width: 90%;
  position: relative;
  overflow-y: auto;
  box-shadow: var(--shadow-strong);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--soft-gray);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--earth-brown);
}

.modal-month-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 1.5rem;
}

.modal-month-title {
  color: var(--deep-green);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-month-subtitle {
  color: var(--earth-brown);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.modal-month-description {
  color: var(--soft-green);
  font-size: 1rem;
  line-height: 1.6;
}

.modal-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.work-section {
  margin-bottom: 2rem;
}

.work-section h4 {
  color: var(--deep-green);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--earth-brown);
  padding-left: 1rem;
}

.work-section ul {
  color: var(--soft-green);
  line-height: 1.8;
  margin-left: 1.5rem;
}

.work-section ul li {
  margin-bottom: 0.5rem;
}

.highlight-box {
  background: rgba(139, 111, 71, 0.1);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.highlight-box h5 {
  color: var(--earth-brown);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.highlight-box p {
  color: var(--soft-green);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* モーダル画像ギャラリー */
.modal-images-gallery {
  margin-bottom: 2rem;
}

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

.gallery-item {
  background: white;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.gallery-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}


/* クリック可能な画像 */
.gallery-image {
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-image:hover {
  opacity: 0.85;
}

/* 画像拡大モーダル */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.image-modal-overlay.active {
  display: flex;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  animation: imageModalSlideIn 0.3s ease-out;
}

.image-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.expanded-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.image-info {
  padding: 1.5rem;
  text-align: center;
}

.image-info h4 {
  color: var(--deep-green);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.image-info p {
  color: var(--soft-green);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@keyframes imageModalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* プロセスステップ */
.process-steps {
  margin-top: 2rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

/* テクニックカード */
.technique-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border-left: 4px solid var(--earth-brown);
}

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

.technique-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.technique-badge {
  background: linear-gradient(135deg, var(--gold), var(--muted-orange));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.technique-content h4 {
  margin-bottom: 0.5rem;
}

.technique-benefits ul {
  line-height: 1.7;
  margin-left: 1rem;
}

/* CTA セクション */
.cta-section {
  background: linear-gradient(135deg, rgba(139, 111, 71, 0.05), rgba(212, 175, 55, 0.1));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 111, 71, 0.05) 0%, transparent 50%);
  z-index: -1;
}

/* レスポンシブ対応 - 栽培ページ */
@media (max-width: 768px) {
  .timeline {
    padding-left: 1rem;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-marker {
    left: -18px;
  }
  
  .timeline-content {
    margin-left: 0.5rem;
    padding: 1.5rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto 1rem;
  }
  
  .technique-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .technique-badge {
    align-self: flex-start;
  }
  
  .cta-section {
    padding: 2rem;
  }
}

/* 料理ページ用スタイル */
.cooking-highlight {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.cooking-highlight:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* レシピカード */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.recipe-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.recipe-card.featured {
  border: 2px solid var(--gold);
}

.recipe-header {
  position: relative;
}

.recipe-image {
  width: 100%;
  height: 200px;
}

.recipe-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--earth-brown);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.recipe-content {
  padding: 1.5rem;
}

.recipe-details {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.detail-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--soft-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-weight: 600;
  color: var(--earth-brown);
}

.recipe-ingredients, .recipe-steps {
  margin-bottom: 1.5rem;
}

.recipe-ingredients h4, .recipe-steps h4 {
  color: var(--deep-green);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.recipe-ingredients ul, .recipe-steps ol {
  color: var(--soft-green);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-left: 1rem;
}

.recipe-steps ol li {
  margin-bottom: 0.5rem;
}

/* 調理のコツ */
.cooking-tips {
  margin-top: 2rem;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.tip-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tip-content {
  flex: 1;
}

/* 栄養情報 */
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.nutrition-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.nutrition-label {
  color: var(--soft-green);
  font-size: 0.9rem;
}

.nutrition-value {
  font-weight: 600;
  color: var(--earth-brown);
}

/* 季節のレシピ */
.seasonal-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.season-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.season-card.spring { border-left-color: var(--spring-green); }
.season-card.summer { border-left-color: var(--summer-green); }
.season-card.autumn { border-left-color: var(--autumn-orange); }
.season-card.winter { border-left-color: var(--winter-brown); }

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

.season-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.season-header h3 {
  color: var(--deep-green);
  margin-bottom: 0;
}

.season-icon {
  font-size: 1.5rem;
}

.season-content h4 {
  color: var(--earth-brown);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.season-content ul {
  color: var(--soft-green);
  line-height: 1.7;
  margin: 0 0 1rem 1rem;
}

.season-description {
  font-size: 0.9rem;
  color: var(--soft-green);
  line-height: 1.6;
  font-style: italic;
}

/* 農場見学リスト */
.farm-visit-list {
  color: var(--soft-green);
  line-height: 1.8;
  margin-bottom: 2rem;
  list-style: none;
  padding-left: 0;
}

.farm-visit-list li {
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.farm-visit-list li::before {
  content: '•';
  color: var(--earth-brown);
  font-size: 1rem;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.8;
}

/* 購入CTA関連 */
.purchase-features {
  margin-bottom: 2rem;
}

.feature-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-point:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.feature-point-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--earth-brown), var(--warm-brown));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-point-content h4 {
  color: var(--deep-green);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-point-content p {
  color: var(--soft-green);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* レスポンシブ対応 - 料理ページ */
@media (max-width: 768px) {
  .recipe-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .recipe-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .detail-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .tip-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .tip-icon {
    margin: 0 auto 1rem;
  }
  
  .nutrition-grid {
    grid-template-columns: 1fr;
  }
  
  .seasonal-recipes {
    grid-template-columns: 1fr;
  }
  
  .season-header {
    justify-content: center;
    gap: 1rem;
  }
}

/* レスポンシブ対応 - 円状スケジュール */
@media (max-width: 1200px) {
  .circular-schedule {
    width: 600px;
    height: 600px;
  }
  
  .period-item {
    width: 140px;
    height: 180px;
    margin-top: -90px;
    margin-left: -70px;
    transform: rotate(var(--angle)) translateY(-280px) rotate(calc(-1 * var(--angle)));
  }
  
  .period-item:hover {
    transform: rotate(var(--angle)) translateY(-290px) rotate(calc(-1 * var(--angle))) scale(1.08);
  }
}

@media (max-width: 900px) {
  .circular-schedule {
    width: 420px;
    height: 420px;
  }
  
  .period-item {
    width: 130px;
    height: 170px;
    margin-top: -85px;
    margin-left: -65px;
    transform: rotate(var(--angle)) translateY(-260px) rotate(calc(-1 * var(--angle)));
  }
  
  .period-item:hover {
    transform: rotate(var(--angle)) translateY(-270px) rotate(calc(-1 * var(--angle))) scale(1.1);
  }
  
  .center-info {
    padding: 1.8rem;
  }
}

@media (max-width: 768px) {
  .circular-schedule {
    display: none;
  }
  
  .mobile-schedule {
    display: block !important;
    max-width: 600px;
    margin: 2rem auto;
  }
  
  .mobile-schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .mobile-period-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }
  
  .mobile-period-card.winter-period { border-left-color: var(--winter-brown); }
  .mobile-period-card.spring-period { border-left-color: var(--spring-green); }
  .mobile-period-card.summer-period { border-left-color: var(--summer-green); }
  .mobile-period-card.autumn-period { border-left-color: var(--autumn-orange); }
  .mobile-period-card.harvest-start-period { border-left-color: var(--red-clay); }
  .mobile-period-card.harvest-period { border-left-color: var(--gold); }
  
  .mobile-period-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
  }
  
  .mobile-period-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .mobile-period-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .mobile-period-info {
    flex: 1;
  }
  
  .mobile-period-info h4 {
    color: var(--deep-green);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
  
  .mobile-period-info h5 {
    color: var(--earth-brown);
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .mobile-period-info p {
    color: var(--soft-green);
    font-size: 0.9rem;
    margin: 0;
  }
  
  .center-info {
    padding: 1.5rem;
  }
  
  .center-info h2 {
    font-size: 1.3rem;
  }
  
  .center-info h3 {
    font-size: 0.95rem;
  }
  
  .cycle-arrows svg {
    width: 2rem;
    height: 2rem;
  }
  
  .period-item {
    width: 120px;
    height: 160px;
    margin-top: -80px;
    margin-left: -60px;
    transform: rotate(var(--angle)) translateY(-200px) rotate(calc(-1 * var(--angle)));
  }
  
  .period-item:hover {
    transform: rotate(var(--angle)) translateY(-210px) rotate(calc(-1 * var(--angle))) scale(1.12);
  }
  
  .period-image-compact {
    height: 70px;
  }
  
  .period-info {
    padding: 0.6rem;
  }
  
  .period-info h4 {
    font-size: 0.8rem;
  }
  
  .period-info h5 {
    font-size: 0.75rem;
  }
  
  .period-info p {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
  }
  
  .detail-btn-compact {
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .circular-schedule {
    width: 320px;
    height: 320px;
    margin: 1.5rem auto;
  }
  
  .center-info {
    padding: 1rem;
  }
  
  .center-info h2 {
    font-size: 1.1rem;
  }
  
  .center-info h3 {
    font-size: 0.85rem;
  }
  
  .center-info p {
    font-size: 0.8rem;
  }
  
  .cycle-arrows svg {
    width: 1.6rem;
    height: 1.6rem;
  }
  
  .period-item {
    width: 100px;
    height: 140px;
    margin-top: -70px;
    margin-left: -50px;
    transform: rotate(var(--angle)) translateY(-170px) rotate(calc(-1 * var(--angle)));
  }
  
  .period-item:hover {
    transform: rotate(var(--angle)) translateY(-180px) rotate(calc(-1 * var(--angle))) scale(1.15);
  }
  
  .period-image-compact {
    height: 50px;
  }
  
  .period-info {
    padding: 0.4rem;
  }
  
  .period-info h4 {
    font-size: 0.7rem;
  }
  
  .period-info h5 {
    font-size: 0.65rem;
  }
  
  .period-info p {
    font-size: 0.55rem;
    margin-bottom: 0.4rem;
  }
  
  .detail-btn-compact {
    padding: 0.3rem 0.5rem;
    font-size: 0.6rem;
  }
}
  
  .period-title {
    font-size: 1rem;
  }
  
  .period-subtitle {
    font-size: 0.9rem;
  }
  
  .period-description {
    font-size: 0.85rem;
  }
  
  .modal-content {
    width: 95%;
    padding: 1.5rem;
    max-height: 85vh;
  }
  
  .modal-month-title {
    font-size: 1.5rem;
  }
  
  .modal-month-subtitle {
    font-size: 1rem;
  }
  
  .images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .gallery-image {
    height: 120px;
  }
}

/* =========================================
   購入ページ専用スタイル
========================================= */

/* タブナビゲーション */
.purchase-tabs {
  max-width: 1200px;
  margin: 0 auto;
}

.tab-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
  background: var(--light-gray);
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.tab-button {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.tab-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.tab-button.active {
  border-color: var(--earth-brown);
  background: linear-gradient(135deg, var(--kinari), var(--kinari-light));
}

.tab-button.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--earth-brown), var(--warm-brown));
}

.tab-icon {
  font-size: 2.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tab-button h3 {
  color: var(--deep-green);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tab-button p {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin: 0;
}

.tab-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--deep-green);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* タブコンテンツ */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.business-highlight, .consumer-highlight {
  text-align: center;
  margin-bottom: 3rem;
}

/* 業務用お問い合わせセクション */
.business-inquiry-section {
  max-width: 600px;
  margin: 0 auto;
}

.business-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--earth-brown);
}

.business-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.business-card-image {
  width: 100%;
  height: 100%;
}

.business-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-badge-exclusive {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold);
  color: var(--deep-green);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.business-card-content {
  padding: 2rem;
}

.business-card-content h3 {
  color: var(--deep-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

.business-description {
  color: var(--soft-green);
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: center;
}

.business-features {
  margin-bottom: 2rem;
}

.business-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(139, 111, 71, 0.05);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--earth-brown);
}

.business-feature-item:last-child {
  margin-bottom: 0;
}

.business-feature-item .feature-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.business-feature-item .feature-text h4 {
  color: var(--deep-green);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.business-feature-item .feature-text p {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.business-cta {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.business-inquiry-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.business-note {
  color: var(--soft-green);
  font-size: 0.85rem;
  margin: 0;
  font-style: italic;
}

/* シンプルな業務用セクション */
.business-simple-section {
  max-width: 400px;
  margin: 0 auto;
}

.business-simple-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--earth-brown);
  text-align: center;
  padding: 3rem 2rem;
}

.business-simple-content h3 {
  color: var(--deep-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.business-simple-content p {
  color: var(--soft-green);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.business-simple-content .btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* =========================================
   業務用ページ専用スタイル
========================================= */

/* 特徴リスト */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(139, 111, 71, 0.05);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--earth-brown);
}

.feature-item .feature-icon {
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.feature-item .feature-icon-text {
  background: var(--deep-green);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2rem;
}

.feature-item .feature-content h4 {
  color: var(--deep-green);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.feature-item .feature-content p {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* 供給システム */
.supply-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.supply-item {
  padding: 1rem;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-gray);
}

.supply-item h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* FAQ */
.faq-list .faq-item {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}

.faq-list .faq-item:last-child {
  margin-bottom: 0;
}

/* 生産体制カードの高さ統一 */
.section .grid-3 .card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.section .grid-3 .card h4 {
  margin-top: auto;
}

.section .grid-3 .card p {
  flex-grow: 1;
}

/* ベネフィットリスト */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.benefit-item .benefit-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(139, 111, 71, 0.1);
  border-radius: 50%;
}

.benefit-item .benefit-icon-text {
  background: var(--earth-brown);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
}

.benefit-item .benefit-content h4 {
  color: var(--deep-green);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.benefit-item .benefit-content p {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .feature-list,
  .benefit-list {
    gap: 1rem;
  }
  
  .feature-item,
  .benefit-item {
    padding: 1rem;
  }
  
  .supply-system {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .faq-list .faq-item {
    padding: 1rem;
  }
}

/* 商品パッケージカード */
.product-package {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-package:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.product-package.featured {
  border: 2px solid var(--gold);
  position: relative;
}

.package-header {
  position: relative;
  overflow: hidden;
}

.package-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.package-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.business-badge {
  background: var(--earth-brown);
  color: white;
}

.consumer-badge {
  background: var(--soft-green);
  color: white;
}

.package-popular {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--deep-green);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.package-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-content h3 {
  color: var(--deep-green);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.package-description {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.package-specs {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--soft-green);
  font-size: 0.85rem;
}

.spec-value {
  color: var(--deep-green);
  font-weight: 500;
}

.package-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--earth-brown);
}

.price-unit {
  font-size: 0.85rem;
  color: var(--soft-green);
  margin-left: 0.25rem;
}

.package-btn {
  width: 100%;
  margin-top: auto;
}

/* 特典セクション */
.business-benefits, .consumer-benefits {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(139, 111, 71, 0.05);
  border-radius: var(--radius-md);
}

.benefit-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  color: var(--deep-green);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.benefit-card p {
  color: var(--soft-green);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* お客様の声 */
.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.business-testimonial .testimonial-avatar {
  background: rgba(139, 111, 71, 0.1);
}

.consumer-testimonial .testimonial-avatar {
  background: rgba(74, 93, 76, 0.1);
}

.testimonial-header h4 {
  color: var(--deep-green);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.testimonial-header p {
  color: var(--soft-green);
  font-size: 0.85rem;
  margin: 0;
}

.testimonial-content {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.testimonial-content p {
  color: var(--soft-green);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.testimonial-rating {
  color: var(--gold);
  font-size: 1.1rem;
}

/* 選択された商品セクション */
.selected-package {
  background: linear-gradient(135deg, var(--kinari), var(--kinari-light));
  border-top: 3px solid var(--earth-brown);
  padding: 2rem 0;
  margin-top: 2rem;
}

.package-summary {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
}

.package-summary h3 {
  color: var(--deep-green);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.selected-package-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.selected-package-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.selected-package-info h4 {
  color: var(--deep-green);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.selected-package-description {
  color: var(--soft-green);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.selected-package-specs {
  margin-bottom: 1rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.spec-row span:first-child {
  color: var(--soft-green);
  font-size: 0.85rem;
}

.spec-row span:last-child {
  color: var(--deep-green);
  font-weight: 500;
}

.selected-package-price {
  display: flex;
  align-items: baseline;
}

.selected-package-price .price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--earth-brown);
}

.selected-package-price .price-unit {
  font-size: 0.85rem;
  color: var(--soft-green);
  margin-left: 0.25rem;
}

/* 数量セレクター */
.quantity-selector {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.quantity-selector label {
  color: var(--deep-green);
  font-weight: 600;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--soft-green);
  background: white;
  color: var(--deep-green);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quantity-controls button:hover {
  background: var(--soft-green);
  color: white;
}

.quantity-controls input {
  width: 60px;
  height: 32px;
  text-align: center;
  border: 1px solid var(--soft-green);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.total-price {
  text-align: right;
}

.total-price span:first-child {
  color: var(--soft-green);
  font-size: 0.9rem;
}

.total-price span:last-child {
  color: var(--earth-brown);
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

/* アクションボタン */
.summary-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.summary-actions .btn {
  flex: 1;
  max-width: 200px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .tab-navigation {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  
  .tab-button {
    padding: 1rem;
  }
  
  .tab-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
  }
  
  .tab-button h3 {
    font-size: 1.1rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .selected-package-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .quantity-selector {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .quantity-controls {
    justify-content: center;
  }
  
  .total-price {
    text-align: center;
  }
  
  .summary-actions {
    flex-direction: column;
  }
  
  .summary-actions .btn {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .package-summary {
    padding: 1rem;
  }
  
  .business-benefits, .consumer-benefits {
    padding: 1rem;
  }
  
  .tab-button {
    padding: 0.75rem;
  }
  
  .tab-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
  }
  
  .tab-button h3 {
    font-size: 1rem;
  }
  
  .tab-button p {
    font-size: 0.8rem;
  }
  
  .business-card-content {
    padding: 1.5rem;
  }
  
  .business-feature-item {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .business-feature-item .feature-icon {
    font-size: 1.25rem;
  }
  
  .business-inquiry-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* 追加の包括的レスポンシブ対応 */
@media (max-width: 768px) {
  /* コンテナの調整 */
  .container {
    padding: 0 1rem !important;
  }

  /* セクションのパディング調整 */
  .section {
    padding: 2rem 0 !important;
  }

  /* グリッドレイアウトの完全対応 */
  .grid-2,
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="display: grid"][style*="grid-template-columns"][style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .grid-3,
  [style*="grid-template-columns"][style*="repeat"] {
    grid-template-columns: 1fr !important;
  }

  /* ヒーローセクション */
  .hero {
    height: auto !important;
    min-height: 60vh !important;
    padding: 3rem 0 !important;
  }

  .hero-content {
    padding: 2rem 1rem !important;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  /* カードの調整 */
  .card {
    padding: 1.5rem !important;
  }

  /* 画像の高さ調整 */
  [style*="height: 200px"],
  [style*="height: 250px"],
  [style*="height: 300px"],
  [style*="height: 350px"],
  [style*="height: 400px"],
  [style*="height: 450px"] {
    height: auto !important;
    min-height: 200px !important;
  }

  /* テキストの調整 */
  [style*="font-size: 1.125rem"],
  [style*="font-size: 1.25rem"],
  [style*="font-size: 1.5rem"],
  [style*="font-size: 1.75rem"] {
    font-size: 1rem !important;
  }

  /* 最大幅の調整 */
  [style*="max-width: 800px"],
  [style*="max-width: 900px"],
  [style*="max-width: 1000px"],
  [style*="max-width: 1100px"] {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* ボタンサイズの調整 */
  .btn-large {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }

  /* フッターの調整 */
  .footer-content {
    padding: 0 1rem !important;
  }

  [style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }

  /* カルーセルの調整 */
  .carousel-item {
    min-width: 250px !important;
  }

  /* アニメーション要素 */
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  /* 極小画面用の追加調整 */
  body {
    font-size: 14px;
  }

  .section {
    padding: 1.5rem 0 !important;
  }

  .hero {
    min-height: 50vh !important;
  }

  .card {
    padding: 1rem !important;
  }

  h1, .hero-title {
    font-size: 1.75rem !important;
  }

  h2, .heading-accent {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  /* ボタンの調整 - タッチ領域最適化 */
  .btn {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .btn-large {
    padding: 1rem 1.75rem !important;
    min-height: 52px !important;
  }

  /* 業務用ページのCTAボタン */
  .product-cta {
    width: 100% !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }

  /* カルーセルの調整 */
  .carousel-item {
    min-width: 220px !important;
    margin: 0 0.5rem !important;
  }

  /* ギャップの調整 */
  .grid-2,
  .grid-3 {
    gap: 1.5rem !important;
  }

  /* パディングの調整 */
  [style*="padding: 2rem"],
  [style*="padding: 2.5rem"],
  [style*="padding: 3rem"] {
    padding: 1rem !important;
  }
}

/* タブレット縦向き対応 */
@media (min-width: 481px) and (max-width: 768px) {
  .grid-2 {
    gap: 2rem !important;
  }

  .carousel-item {
    min-width: 280px !important;
  }
}

/* タブレット横向き対応 */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 90% !important;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* お客様紹介カードの縦スペース調整（メディアクエリの後に配置して優先度を確保） */
.grid-2.customer-cards {
  gap: 1rem !important;
  row-gap: 1rem !important;
  column-gap: 2rem !important;
}

.grid-2.customer-cards .card {
  margin-bottom: 0 !important;
}

@media (max-width: 480px) {
  .grid-2.customer-cards {
    gap: 1rem !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .grid-2.customer-cards {
    gap: 1rem !important;
    row-gap: 1rem !important;
    column-gap: 2rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-2.customer-cards {
    gap: 1rem !important;
    row-gap: 1rem !important;
    column-gap: 2rem !important;
  }
}