/* ==========================================================================
   ▼ 変数・リセット・共通スタイル
   ========================================================================== */
:root {
  --green: #005236;
  --green-dark: #003624;
  --green-soft: #f2f7f4;
  --brown: #8c4c00; 
  --brown-soft: #f7f1e9;
  --ink: #19211b;
  --line: #ced6d0;
  --white: #ffffff;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: "Noto Sans JP", sans-serif; line-height: 1.85; }

/* ==========================================================================
   ▼ アイコンシステム (HTML埋め込み用)
   ========================================================================== */
.rich-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}
.icon-ring-outer { fill: none; stroke: var(--green); stroke-width: 0.75; opacity: 0.3; }
.icon-ring-inner { fill: none; stroke: var(--green); stroke-width: 1.2; opacity: 0.85; }
.icon-path-green { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-path-brown { fill: var(--brown); stroke: none; }
.rich-icon.white-version .icon-ring-outer,
.rich-icon.white-version .icon-ring-inner { stroke: var(--white); }
.rich-icon.white-version .icon-path-white { fill: none; stroke: var(--white); stroke-width: 2; }
.rich-icon.white-version .icon-path-white-thin { fill: none; stroke: var(--white); stroke-width: 1.5; }

/* ==========================================================================
   ▼ 見出しエリア (共通)
   ========================================================================== */
.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

/* その他、以前のスタイルを継承しつつ最適化 */
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section-block { padding: clamp(64px, 8vw, 100px) 0; }
.center-heading { justify-content: center; border-bottom: none; }

/* ==========================================================================
   ▼ Header Area (PC：ロゴ拡大・中央配置 / スマホ：ロゴ拡大・右横配置)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(206, 214, 208, 0.6);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 128px; /* ロゴ拡大に伴い高さを拡張 */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative; /* テキスト中央配置の基準線 */
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.company-logo {
  height: 96px; /* 従来の倍のサイズに変更 */
  width: auto;
  object-fit: contain;
}

/* PCビュー：テキストブロックを左揃えのまま全体の左右中央に配置 */
.header-text-block {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-name,
.tagline {
  margin: 0;
  font-family: "Noto Serif JP", serif;
}

.company-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.tagline {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

/* ==========================================================================
   ▼ Hero Area (PC時の中心位置を下にずらし新芽を見せる)
   ========================================================================== */
.hero {
  min-height: 55vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  /* 中心位置を下にシフトして新芽の全体が見えるように調整 */
  background: url('assets/main.jpg') no-repeat center 70% / cover;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  color: var(--white);
  padding-left: clamp(10%, 45vw, 52%);
  text-align: left;
}

.hero h1,
.hero p {
  font-family: "Noto Serif JP", serif;
  text-shadow: 
    0 2px 5px rgba(0, 25, 15, 0.5),
    0 4px 15px rgba(0, 25, 15, 0.3);
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.45;
  font-weight: 700;
}

.hero p {
  font-weight: 500;
}

.hero-content p:last-child {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
}

/* ==========================================================================
   ▼ 各種セクション・共通
   ========================================================================== */
.section-block {
  position: relative;
}

.text-section {
  background: #fbfbfa;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 40px));
}

.center {
  text-align: center;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  line-height: 1.4;
}

h2 {
  color: var(--green-dark);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
}

h3 {
  color: var(--green-dark);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(206, 214, 208, 0.5);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.center-heading {
  justify-content: center;
  border-bottom: none;
}

.lead {
  margin-top: 24px;
  color: #2b362e;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.8;
}

.lead-serif {
  margin-top: 24px;
  color: #2b362e;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.8;
}

/* ==========================================================================
   ▼ Vision & Mission エリア
   ========================================================================== */
.story-stack {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.rich-story-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(206, 214, 208, 0.6);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 40, 20, 0.02);
}

.rich-story-card h3 {
  position: relative;
  padding-left: 16px;
}

.rich-story-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: var(--green);
}

.rich-story-card p {
  margin-top: 16px;
  color: #334237;
  font-size: 15px;
}

.quote-panel {
  padding: 40px;
  border: 1px solid rgba(206, 214, 208, 0.7);
  border-radius: 4px;
  background: var(--brown-soft);
  position: relative;
}

.founder-title {
  color: var(--brown) !important;
}

.founder-text {
  margin-top: 16px;
  color: #334237;
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.signature {
  margin-top: 28px;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
  font-size: 15px;
}

/* ==========================================================================
   ▼ Approach & Technology エリア
   ========================================================================== */
.approach-section {
  background: var(--green-soft);
}

.split-copy {
  display: block;
  margin-top: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.split-copy h3 {
  text-align: left;
}

.split-copy p {
  margin-top: 16px;
  color: #334237;
  text-align: left;
  max-width: 820px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.rich-feature-card {
  padding: 36px;
  border: 1px solid rgba(206, 214, 208, 0.7);
  border-radius: 4px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rich-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 54, 36, 0.06);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.feature-card-header h3 {
  margin: 0;
}

.card-num-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brown-soft);
  color: var(--brown);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.rich-feature-card p {
  margin: 0;
  color: #37463b;
  font-size: 15px;
}

.rounded-field-card {
  display: block; 
  margin-top: 40px;
  padding: 38px;
  border-radius: 12px; 
  background: var(--green-dark);
  color: var(--white);
  border-left: none; 
}

.rounded-field-card .field-card-header h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 14px;
}

.rounded-field-card .field-card-body {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0;
  line-height: 1.8;
}

/* ==========================================================================
   ▼ その他のエリア
   ========================================================================== */
.live-section {
  background: var(--white);
}

.video-placeholder-rich {
  width: min(880px, 100%);
  aspect-ratio: 16 / 9;
  margin: 40px auto 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f7f8f7;
  color: var(--muted);
  font-weight: 700;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.play-mark-rich {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  transition: transform 0.2s ease;
}

.video-placeholder-rich:hover .play-mark-rich {
  transform: scale(1.06);
}

.play-mark-rich::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 26px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--white);
}

.order-section {
  background: #fbfbfa;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.rich-business-card {
  padding: 40px;
  border: 1px solid rgba(206, 214, 208, 0.6);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 40, 20, 0.03);
  position: relative;
  overflow: hidden;
}

.card-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
}

.mini-label {
  color: var(--brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.company-section {
  background: var(--white);
}

.company-table-rich {
  margin: 40px 0 0;
  border-top: 2px solid var(--green);
}

.company-table-rich div {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 16px;
  border-bottom: 1px solid rgba(206, 214, 208, 0.5);
}

.company-table-rich div:nth-child(even) {
  background: #fdfdfc;
}

.company-table-rich dt {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 15px;
}

.company-table-rich dd {
  margin: 0;
  color: #2c382f;
  font-size: 15px;
}

.contact-section {
  background: var(--green-dark);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .lead {
  color: rgba(255, 255, 255, 0.9);
}

.mail-link-rich {
  display: inline-flex;
  margin-top: 32px;
  padding: 16px 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mail-link-rich:hover {
  background: var(--brown-soft);
  transform: translateY(-2px);
}

.site-footer {
  padding: 32px 20px;
  background: #002418;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 13px;
}

.text-section, .approach-section, .live-section, .order-section, .company-section, .contact-section {
  padding: clamp(64px, 8vw, 100px) 0;
}

.btn-more {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-more:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   ▼ business.html ヒーローエリア（天地サイズを半分に縮小）
   ========================================================================== */
.page-hero {
  background: var(--green-dark);
  padding: clamp(32px, 4vw, 50px) 0 clamp(24px, 3vw, 40px);
  color: var(--white);
}

.page-hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.page-hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 16px;
}

.page-hero h1 span {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.page-hero-lead {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0;
}

/* ==========================================================================
   ▼ 分離したパンくずナビゲーションエリア（薄い緑背景）
   ========================================================================== */
.breadcrumb-container {
  background: var(--green-soft); 
  padding: 14px 0;
  border-bottom: 1px solid rgba(206, 214, 208, 0.4);
}

.breadcrumb-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-inner a {
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.breadcrumb-inner a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.breadcrumb-sep {
  font-size: 10px;
  opacity: 0.7;
  color: var(--muted);
}

/* 受託生産セクション */
.business-section {
  background: #fbfbfa;
  padding: clamp(64px, 8vw, 100px) 0;
}

.business-section + .business-section {
  border-top: 1px solid var(--line);
}

.business-section.alt-bg {
  background: var(--green-soft);
}

.section-lead-block {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-lead-block p {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.85;
  color: #2b362e;
  margin: 16px 0 0;
}

/* 仕様カード */
.spec-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.spec-item {
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(206, 214, 208, 0.6);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

.spec-item-value {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.4;
  margin: 0;
}

.spec-item-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* フロー図 */
.flow-section-heading {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flow-section-heading::before {
  content: "";
  display: block;
  width: 4px;
  height: 20px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}

.flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow-step {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow-step-inner {
  width: 100%;
  padding: 28px 16px 24px;
  background: var(--white);
  border: 1px solid rgba(206, 214, 208, 0.7);
  border-radius: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.flow-step-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 54, 36, 0.07);
}

.flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-label {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}

.flow-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  flex-shrink: 0;
  color: var(--green);
}

.flow-arrow svg {
  width: 20px;
  height: 20px;
}

/* 農園オーナー制度 */
.owner-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.owner-feature-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid rgba(206, 214, 208, 0.6);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owner-feature-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--brown));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.owner-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 54, 36, 0.06);
}

.owner-feature-card:hover::after {
  transform: scaleX(1);
}

.owner-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.owner-card-icon svg {
  width: 22px;
  height: 22px;
}

.owner-feature-card h3 {
  font-size: clamp(16px, 1.5vw, 18px);
  margin-bottom: 14px;
  color: var(--green-dark);
}

.owner-feature-card p {
  font-size: 14px;
  color: #37463b;
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   ▼ モバイルレスポンシブ調整（スマホ版ヘッダーの横並び・倍サイズ指定を適用）
   ========================================================================== */
@media (max-width: 900px) {
  .owner-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 16px 0;
    flex-direction: row; /* 縦並びを解除し、ロゴの右側にテキストを配置 */
    justify-content: flex-start;
    align-items: center;
    gap: 16px; /* ロゴとテキストブロックの隙間 */
    min-height: auto;
  }
  
  /* スマホ表示時も、PCの中央配置用の絶対配置を解除してロゴの右側に並べる */
  .header-text-block {
    position: static;
    transform: none;
    left: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  /* スマホビューでもロゴを縮小せず「倍のサイズ(96px)」に維持 */
  .company-logo {
    height: 96px;
  }
  
  /* 横並び時の画面幅圧迫を考慮し、フォントサイズを流動的に最適化 */
  .company-name {
    font-size: clamp(14px, 4vw, 16px);
  }
  
  .tagline {
    font-size: clamp(10px, 3vw, 12px);
  }
  
  .hero {
    min-height: 35vh;
    background-position: center center; /* スマホ時は中央基準に */
  }
  .hero-content {
    padding-left: 15%;
  }
  .hero h1 {
    font-size: 20px;
  }
  .section-heading {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .rich-icon {
    width: 42px;
    height: 42px;
  }
  .feature-grid, .two-column, .company-table-rich div {
    grid-template-columns: 1fr;
  }
  .company-table-rich div {
    gap: 4px;
    padding: 16px 8px;
  }
  .rich-story-card, .quote-panel, .rich-feature-card, .rich-business-card, .rounded-field-card {
    padding: 24px;
  }
  .spec-card {
    grid-template-columns: 1fr;
  }
  .flow-diagram {
    flex-direction: column;
    gap: 12px;
    overflow-x: visible; /* 横スクロールを無効化 */
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  /* 必要に応じて個別のカード幅を調整 */
  .flow-step {
    width: 100%;
    min-width: unset;
  }

  .flow-step-inner {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .flow-num {
    margin-top: 2px;
  }
}

/* styles.css に追加・修正 */

/* 既存の .btn-more を修正して、親要素で制御できるようにします */
.btn-more {
  display: inline-flex;
  /* ...既存のスタイル... */
}

/* 受注生産カード内のボタンを広げるためのスタイル */
.rich-business-card .btn-more {
  display: flex; /* ブロック要素として幅を広げる */
  width: 100%;
}