/* ============================================================
   U-eki — メインスタイルシート
   構成:
     1. デザイントークン（CSS変数）
     2. リセット・基本設定
     3. ナビゲーション
     4. ヒーローセクション
     5. セクション共通
     6. ボタン共通
     7. PROBLEM セクション
     8. STORY セクション
     9. QUOTE セクション
    10. VALUE セクション
    11. CHAIN（サポートの流れ）
    12. ECOSYSTEM セクション
    13. COMPARISON セクション
    14. CTA BAND セクション
    15. ABOUT セクション
    16. CONTACT セクション
    17. フッター
    18. アニメーション
    19. レスポンシブ（max-width: 900px）
============================================================ */


/* ──────────────────────────────────────────
   1. デザイントークン（CSS変数）
────────────────────────────────────────── */
:root {
  /* グリーン系 */
  --green:    #1E5631;
  --green-m:  #2D7A45;
  --green-l:  #4A9E63;
  --sage:     #7AAF87;

  /* ニュートラル系 */
  --cream:    #F7F4EE;
  --sand:     #E8E2D6;
  --charcoal: #1C1C1A;
  --mid:      #555550;
  --light:    #999990;
  --white:    #FFFFFF;

  /* アクセント */
  --gold:     #C09A3C;
  --gold-l:   #D4B060;
  --orange:   #D9600A;
}


/* ──────────────────────────────────────────
   2. リセット・基本設定.chain-step
────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}


/* ──────────────────────────────────────────
   3. ナビゲーション
────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(28, 28, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo span {
  color: var(--gold-l);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-l);
}

.nav-cta {
  background: var(--green-m);
  color: var(--white);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1.5px solid var(--green-l);
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--green-l);
}

/* ハンバーガーボタン（デスクトップでは非表示） */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 600;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* × アイコン状態 */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SP用メニュー内CTAはデスクトップでは非表示 */
.nav-links-cta-sp {
  display: none;
}


/* ──────────────────────────────────────────
   4. ヒーローセクション
────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* 背景 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 15, 8, 0.97)  0%,
    rgba(5, 15, 8, 0.82) 35%,
    rgba(5, 15, 8, 0.55) 65%,
    rgba(5, 15, 8, 0.35) 100%
  );
}

/* テキストエリア */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(192, 154, 60, 0.2);
  border: 1px solid rgba(192, 154, 60, 0.5);
  color: var(--gold-l);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.25em;
  padding: 7px 16px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-l);
}

.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-headline em {
  font-style: normal;
  color: var(--sage);
}

/* 改行なし・自然折り返しで対応 */
.hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 2.1;
  font-weight: 400;
  max-width: 680px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.hero-sub + .hero-sub {
  margin-top: 20px;
  margin-bottom: 48px;
}

/* ヒーロー統計バー */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 36px;
}

/* 全ての .hero-stat に右境界 */
.hero-stat {
  flex: 1;
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
/* 2番目以降は左側のパディングを追加 */
.hero-stat + .hero-stat {
  padding-left: 32px;
}
/* 最後だけ右境界なし・右パディングなし */
.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
}

/* 免責注記 */
.hero-stats-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 700;
  color: var(--gold-l);
  line-height: 1;
  margin-bottom: 12px;
}
/* 番号の隣のラベルテキスト（「直受注」等） */
.hero-stat-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-left: 8px;
  color: var(--white);
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.hero-stat-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  font-weight: 300;
}

/* スクロールインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(192, 154, 60, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,  100% { transform: scaleY(1);   opacity: 0.8; }
  50%        { transform: scaleY(0.4); opacity: 0.3; }
}


/* ──────────────────────────────────────────
   5. セクション共通
────────────────────────────────────────── */
section {
  padding: 100px 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

.sec-label {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--green-m);
  /*text-transform: uppercase;*/
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green-m);
}

.sec-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.sec-body {
  font-size: 16px;
  line-height: 2.2;
  font-weight: 300;
  color: var(--mid);
  max-width: 1080px;
}


/* ──────────────────────────────────────────
   6. ボタン共通
────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 18px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(192, 154, 60, 0.4);
  transition: all 0.25s;
}
.btn-gold:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192, 154, 60, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold-l);
  color: var(--gold-l);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ──────────────────────────────────────────
   7. PROBLEM セクション
────────────────────────────────────────── */
#problem {
  background: var(--charcoal);
  padding: 0;
}

.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

/* 左：写真エリア */
.problem-photo {
  position: relative;
  overflow: hidden;
}
.problem-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) saturate(0.9);
  transition: transform 0.8s ease, filter 0.5s ease;
}
.problem-photo:hover img {
  transform: scale(1.04);
  filter: brightness(0.85) saturate(1);
}
.problem-photo-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

/* 右：テキストエリア */
.problem-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--charcoal);
}
.problem-content .sec-label          { color: var(--sage); }
.problem-content .sec-label::before  { background: var(--sage); }
/* インラインスタイル解消：dark背景内の見出しは白 */
.problem-content .sec-title          { color: var(--white); }

/* ペインリスト */
.pain-list {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pain-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pain-item:last-child {
  border-bottom: none;
}

.pain-num {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: rgba(122, 175, 135, 0.2);
  flex-shrink: 0;
  min-width: 56px;
}

.pain-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.5;
}

.pain-desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}


/* ──────────────────────────────────────────
   8. STORY セクション
────────────────────────────────────────── */
#story {
  background: var(--cream);
  padding: 0;
}

.story-header {
  padding: 80px 48px 56px;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

/* セクションの大見出し（未定義だったので追加） */
.story-header-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* 交互レイアウト */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.story-block.reverse          { direction: rtl; }
.story-block.reverse > *      { direction: ltr; }

/* 写真エリア */
.story-photo {
  position: relative;
  overflow: hidden;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.story-photo:hover img {
  transform: scale(1.04);
}
.story-photo-label {
  position: absolute;
  top: 28px;
  left: 28px;
  background: rgba(30, 86, 49, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  padding: 8px 16px;
  /* text-transform: uppercase; */
}
/* Story After ブロック用：ゴールドラベル */
.story-photo-label--gold {
  background: rgba(192, 154, 60, 0.85);
}

/* テキストエリア */
.story-content {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
/* Story Turning Point ブロック用：砂色背景 */
.story-content--alt {
  background: var(--sand);
}

.story-phase {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold);
 /* text-transform: uppercase; */
  margin-bottom: 12px;
  font-weight: 600;
}
/* Story After ブロック用：ゴールドフェーズ（デフォルトがgoldなので削除不要だが明示） */
.story-phase--gold {
  color: var(--gold);
}

.story-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.55;
  margin-bottom: 20px;
}

.story-text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--mid);
  font-weight: 300;
}


/* ──────────────────────────────────────────
   9. QUOTE セクション
────────────────────────────────────────── */
.quote-section {
  background: var(--green);
  padding: 40px 0;
}

.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

/* 写真ボックス */
.quote-photo-wrap {
  width: 220px;
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.12);
}
.quote-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.quote-photo-placeholder {
  width: 220px;
  height: 260px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.8;
}

/* 引用テキスト */
.quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.1);
  line-height: 0.6;
  margin-bottom: 5px;
  display: block;
}

.quote-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 24px;
}

.quote-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-weight: 300;
}


/* ──────────────────────────────────────────
   10. VALUE セクション
────────────────────────────────────────── */
#value {
  background: var(--white);
  padding: 100px 0;
}

.value-header {
  margin-bottom: 60px;
}

/* カードグリッド */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--sand);
}

.value-card {
  background: var(--white);
  display: grid;
  grid-template-rows: 280px 1fr;
  overflow: hidden;
  transition: background 0.3s;
}
.value-card:hover {
  background: var(--cream);
}

/* 画像エリア */
.value-card-img {
  overflow: hidden;
  position: relative;
}
.value-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.value-card:hover .value-card-img img {
  transform: scale(1.06);
}
.value-card-img-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 8px 18px;
/*  text-transform: uppercase; */
}

/* テキストエリア */
.value-card-body {
  padding: 36px 40px;
}

.value-card-who {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 12px;
}

.value-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
  line-height: 1.5;
}

.value-card-text {
  font-size: 14px;
  line-height: 2;
  color: var(--mid);
  font-weight: 300;
}

/* リスト */
.value-card-list {
  list-style: none;
  margin-top: 16px;
}
.value-card-list li {
  font-size: 13px;
  color: var(--mid);
  font-weight: 300;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.8;
}
.value-card-list li::before {
  content: '→';
  color: var(--green-m);
  flex-shrink: 0;
  font-weight: 600;
}


/* ──────────────────────────────────────────
   11. CHAIN（サポートの流れ）
────────────────────────────────────────── */
.value-chain-section {
  background: var(--charcoal);
  padding: 72px 0;
  margin-top: 2px;
}

.chain-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
}

.chain-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sage);
/*  text-transform: uppercase; */
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chain-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sage);
}

.chain-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.5;
}

.chain-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.chain-step {
  flex: 1;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 15px;
  text-align: center;
}

.chain-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sage);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.chain-val {
  font-size: 14px;
  color: var(--white);
  font-weight: 400;
  line-height: 1.6;
}

.chain-arrow {
  color: var(--gold);
  font-size: 22px;
  padding: 0 12px;
  flex-shrink: 0;
}


/* ──────────────────────────────────────────
   12. ECOSYSTEM セクション
────────────────────────────────────────── */
#ecosystem {
  background: var(--cream);
  padding: 100px 0;
}

/* 3列グリッド */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.eco-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.eco-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.eco-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.eco-card:hover .eco-card-img img {
  transform: scale(1.08);
}
.eco-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 86, 49, 0.7) 0%, transparent 50%);
}
.eco-card-img-label {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.eco-card-content {
  padding: 28px 28px 32px;
}

.eco-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.eco-card-body {
  font-size: 13px;
  line-height: 2;
  color: var(--mid);
  font-weight: 300;
}

/* 2列ロー */
.eco-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* ワイドカード（横並び） */
.eco-card-wide {
  background: var(--white);
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.eco-card-wide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.eco-card-wide-img {
  overflow: hidden;
}
.eco-card-wide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.eco-card-wide:hover .eco-card-wide-img img {
  transform: scale(1.06);
}
.eco-card-wide-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* スペシャルカード（グリーン背景） */
.eco-card-special {
  background: var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 40px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.eco-card-special-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.5;
}
.eco-card-special-body {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}


/* ──────────────────────────────────────────
   13. COMPARISON セクション
────────────────────────────────────────── */
#comparison {
  background: var(--white);
  padding: 100px 0;
}

.comp-wrap {
  margin-top: 60px;
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 13px;
  border: 1px solid var(--sand);
}

/* ヘッダー */
.comp-table thead tr {
  background: var(--green);
}
.comp-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--white);
}
.comp-table thead th:first-child {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 300;
  width: 24%;
}
.comp-table thead th.col-ueki {
  color: var(--gold-l);
}

/* ボディ */
.comp-table tbody tr {
  border-bottom: 1px solid var(--sand);
  transition: background 0.2s;
}
.comp-table tbody tr:nth-child(even) {
  background: var(--cream);
}
.comp-table tbody tr:hover {
  background: rgba(30, 86, 49, 0.04);
}
.comp-table td {
  padding: 18px 24px;
  vertical-align: top;
  line-height: 1.9;
  font-weight: 300;
  color: var(--mid);
}
.comp-table td:first-child {
  font-weight: 500;
  color: var(--charcoal);
  font-size: 13px;
  background: rgba(247, 244, 238, 0.8);
}
.comp-table td.col-ueki {
  background: rgba(30, 86, 49, 0.04);
  color: var(--charcoal);
}

/* アイコン */
.comp-icon-yes  { display: block; font-size: 22px; font-weight: 700; color: var(--green-m); line-height: 1; margin-bottom: 6px; }
.comp-icon-no   { display: block; font-size: 22px; font-weight: 700; color: #C0392B;        line-height: 1; margin-bottom: 6px; }
.comp-icon-tri  { display: block; font-size: 22px; font-weight: 700; color: var(--gold);    line-height: 1; margin-bottom: 6px; }
.comp-icon-dash { display: block; font-size: 18px; font-weight: 400; color: var(--light);   line-height: 1; margin-bottom: 6px; }

/* セル内テキスト（div構造化）*/
.comp-cell-text {
  font-size: 13px;
  line-height: 1.8;
  margin: 4px 0 8px;
  color: inherit;
}

.comp-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 8px;
}

.comp-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--light);
}


/* ──────────────────────────────────────────
   14. CTA BAND セクション
────────────────────────────────────────── */
#cta-band {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center 40%;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 15, 0.93)  0%,
    rgba(10, 30, 15, 0.80) 60%,
    rgba(10, 30, 15, 0.65) 100%
  );
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--sage);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-kicker::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--sage);
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 12px;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.cta-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}


/* ──────────────────────────────────────────
   15. ABOUT セクション
────────────────────────────────────────── */
/* overflow: hidden でサブ写真の負のオフセットによる横スクロール防止 */
#about {
  background: var(--cream);
  padding: 100px 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* 写真エリア */
.about-photo-col {
  position: relative;
}

.about-photo-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.about-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.about-photo-main:hover img {
  transform: scale(1.04);
}

.about-photo-sub {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 200px;
  height: 140px;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.about-photo-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.about-tagline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(19px, 2.2vw, 25px);
  color: var(--green);
  line-height: 1.7;
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  margin-bottom: 28px;
  font-weight: 700;
}

/* 会社情報テーブル */
.about-info-wrap {
  background: var(--white);
  border: 1px solid var(--sand);
  margin-top: 32px;
  overflow: hidden;
}

.about-info-item {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--sand);
  font-size: 14px;
}
.about-info-item:last-child {
  border-bottom: none;
}

.about-info-label {
  background: var(--green);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  min-width: 100px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.about-info-val {
  padding: 14px 24px;
  color: var(--charcoal);
  font-weight: 400;
  display: flex;
  align-items: center;
}


/* ──────────────────────────────────────────
   16. CONTACT セクション
────────────────────────────────────────── */
#contact {
  background: var(--charcoal);
  padding: 100px 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* 左カラム */
.contact-left .sec-label         { color: var(--sage); }
.contact-left .sec-label::before { background: var(--sage); }
.contact-left .sec-title         { color: var(--white); }
.contact-left .sec-body          { color: rgba(255, 255, 255, 0.5); margin-bottom: 40px; }

.contact-photo {
  margin-top: 48px;
  height: 280px;
  overflow: hidden;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) saturate(0.8);
}

/* フォームエリア */
.gform-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* iframe: deprecated属性（frameborder等）をCSS側で管理 */
.gform-wrap iframe {
  display: block;
  width: 100%;
  border: none;
  margin: 0;
  min-height: 1346px;
}

.gform-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.9;
  font-weight: 300;
}
.gform-note a {
  color: var(--sage);
}


/* ──────────────────────────────────────────
   17. フッター
────────────────────────────────────────── */
footer {
  background: rgba(10, 16, 11, 1);
  padding: 48px 0;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span {
  color: var(--gold-l);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.06em;
}


/* ──────────────────────────────────────────
   18. アニメーション
────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }


/* ──────────────────────────────────────────
   19. レスポンシブ（max-width: 900px）
────────────────────────────────────────── */
@media (max-width: 900px) {

  /* ナビ */
  nav            { padding: 0 16px; gap: 8px; }
  .nav-hamburger { display: flex; }
  /* CTA は SP でも常時表示 */
  .nav-cta {
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    margin-left: auto;
    margin-right: 8px;
  }

  /* SPドロップダウンメニュー */
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 16, 11, 0.97);
    padding: 12px 24px 24px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.22s ease;
    z-index: 499;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links li:last-child        { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
  }
  /* SP用CTA（メニュー内） */
  .nav-links-cta-sp { display: block; padding-top: 4px; }

  /* ヒーロー */
  .hero-inner      { padding: 0 24px 60px; }
  .hero-stats      { flex-direction: column; gap: 0; }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0 !important;
    width: 100%;
    text-align: center;
  }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .hero-stat-num        { font-size: 38px; }
  .hero-stat-label      { font-size: 24px; }
  .hero-stat-desc       { font-size: 15px; }

  /* PROBLEM */
  .problem-split   { grid-template-columns: 1fr; }
  .problem-photo   { min-height: 300px; }

  /* STORY */
  .story-block         { grid-template-columns: 1fr; }
  .story-block.reverse { direction: ltr; }
  .story-content       { padding: 48px 32px; }
  .story-header        { padding: 56px 24px 36px; }

  /* QUOTE */
  .quote-inner            { grid-template-columns: 1fr; gap: 32px; }
  .quote-photo-placeholder { width: 100%; height: 200px; }

  /* VALUE */
  .value-grid { grid-template-columns: 1fr; }

  /* ECOSYSTEM */
  .eco-grid              { grid-template-columns: 1fr; }
  .eco-row-2             { grid-template-columns: 1fr; }
  .eco-card-wide         { grid-template-columns: 1fr; }
  .eco-card-wide-img     { height: 200px; }

  /* ABOUT */
  .about-grid      { grid-template-columns: 1fr; }
  .about-photo-sub { display: none; }

  /* CONTACT */
  .contact-wrap { grid-template-columns: 1fr; }

  /* CHAIN */
  .chain-row   { flex-direction: column; align-items: stretch; }
  .chain-arrow { transform: rotate(90deg); text-align: center; display: block; }

  /* その他 */
  .container   { padding: 0 24px; }
  .cta-inner   { flex-direction: column; }
  section      { padding: 72px 0; }
  .footer-inner { flex-direction: column; text-align: center; padding: 0 24px; gap: 28px; }

  /* フッター スマホ改善 */
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    padding: 4px 0;
  }
  .footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
  }
  .problem-content {
  padding: 80px 20px;
  }
}

/* ===== PC専用 改行制御 ===== */
.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

/* ===== SP専用 改行制御 ===== */
.sp-only {
  display: block;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}