/* ===========================
   DESIGN TOKENS
   =========================== */
:root {
  --navy:       #0f2236;
  --navy-mid:   #1a3a52;
  --teal:       #2a7f74;
  --teal-light: #3a9d91;
  --teal-pale:  #e8f5f3;
  --cream:      #f8f7f4;
  --white:      #ffffff;
  --ink:        #1a1a1a;
  --charcoal:   #37352f;
  --slate:      #5d5b54;
  --steel:      #888680;
  --hairline:   #e5e2dd;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
}

/* ===========================
   BASE
   =========================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-wrap: break-word; /* 長い単語・URLが画面外にはみ出るのを防ぐ */
}

/* Japanese font override — triggered by <html lang="ja"> */
body:lang(ja) {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont,
               'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  line-height: 1.7;
}

/* ===========================
   UTILITIES
   =========================== */

/* -------------------------------------------------------
   .nowrap — テキストを1行に収めるユーティリティクラス
   -------------------------------------------------------
   【デスクトップ (641px 以上)】
     1行に固定し、はみ出た分は「…」で省略します。

   【スマートフォン (640px 以下)】
     white-space: nowrap を無効にして自然な折り返しを許可。
     文字が画面外に切れることはありません。

   使い方:
     <p class="nowrap">1行に収めたいテキスト</p>
     <p class="section-body nowrap">...</p>

   任意の位置で改行したい場合は <br> タグを使います:
     <p>1行目のテキスト<br>2行目のテキスト</p>

   ※ 本文・見出しなど長さが変わるテキストには <br> を推奨。
     .nowrap はラベル・住所・短いキャプションなど
     「常に1行で収まる」ことが確かな箇所に限定してください。
   ------------------------------------------------------- */

/* モバイル共通: 折り返し許可・はみ出し防止 */
.nowrap {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* デスクトップのみ: 1行固定 + 省略記号 */
@media (min-width: 641px) {
  .nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* ===========================
   NAVIGATION
   =========================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 60px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--teal-pale);
  color: var(--teal);
}

.nav-lang { display: flex; align-items: center; gap: 4px; }

.lang-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-md);
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--teal-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--teal-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s, border-color 0.15s;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); }

/* ===========================
   SHARED SECTION STYLES
   =========================== */
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 20px;
}

:lang(ja) .section-title {
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
}

.section-body {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
  max-width: 640px;
}

/* 日本語は文字密度が高いため、1行あたりの文字数を確保 */
:lang(ja) .section-body {
  max-width: 780px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  padding: 40px 32px;
}

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

.footer-logo img { height: 28px; opacity: 0.75; }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--steel); text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: var(--steel); }


/* ===========================
   LANDING PAGE — HERO
   =========================== */
.hero {
  background: #e8f3fb;
  color: var(--navy);
  padding: 110px 32px 90px;
  text-align: center;         /* テキスト中央寄せ */
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;    /* コンテンツ中央寄せ */
}

/* ---------------------------------------------------
   .hero-bg: 背景画像コンテナ
   画像を差し替える場合は .hero-bg-img の src だけ変更
   --------------------------------------------------- */
.hero-bg {
  position: absolute;
  inset: 0;                   /* ヒーロー全体を覆う */
  pointer-events: none;
}

/* 背景画像本体 — src="..." の値を変えるだけで画像を差し替えられます */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* グラデードオーバーレイなし — 画像をそのまま表示 */
.hero::after { content: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 auto 24px;
  color: var(--navy);
}

:lang(ja) .hero h1 {
  font-size: clamp(16px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.hero h1 em { font-style: normal; color: var(--teal); }

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--slate);
  max-width: 580px;
  margin: 0 auto 40px;        /* 中央寄せ */
  line-height: 1.8;
}

:lang(ja) .hero-sub { font-size: 15px; line-height: 1.95; max-width: 580px; }

.hero-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* アウトラインボタン: ライト背景に対応 */
.hero .btn-outline {
  color: var(--navy);
  border-color: rgba(15, 34, 54, 0.35);
}
.hero .btn-outline:hover {
  background: rgba(15, 34, 54, 0.06);
  border-color: var(--navy-mid);
}

/* ===========================
   SECTION BACKGROUND UTILITY
   ===========================
   どのセクション・divにも背景画像を設定できます。

   【使い方】
   対象の section または div の最初の子要素として追加:

     <section id="about">
       <div class="section-bg">
         <img class="section-bg-img" src="パス/to/image.jpg" alt="" aria-hidden="true" />
       </div>
       <div class="section-inner">…コンテンツ…</div>
     </section>

   テクノロジーページ (.content-section) でも同様:

     <div class="content-section">
       <div class="section-bg">
         <img class="section-bg-img" src="../../shared/images/sections/bg.jpg" alt="" aria-hidden="true" />
       </div>
       <div class="content-inner">…コンテンツ…</div>
     </div>

   画像の差し替えは src 属性を変えるだけです。
   =========================== */

/* 背景画像コンテナ — 親要素全体を覆う */
.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 背景画像本体 */
.section-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --------- 位置・重なり順の設定 --------- */

/* section / content-section は position: relative が必要 */
section,
.content-section,
.cta-section,
.contact-banner {
  position: relative;
}

/* コンテンツを背景の前面に (z-index: 1) */
.section-inner,
.content-inner {
  position: relative;
  z-index: 1;
}

/* ===========================
   LANDING PAGE — SECTIONS
   =========================== */
section { padding: 96px 32px; }

#about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.stat-label { font-size: 13px; color: var(--slate); font-weight: 500; }

#technology { background: var(--white); }

.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.tech-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tech-card:hover { box-shadow: 0 8px 32px rgba(15, 34, 54, 0.08); transform: translateY(-2px); }

.tech-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.tech-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.tech-card p  { font-size: 14px; color: var(--slate); line-height: 1.65; }

.tech-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 11px 22px;
  transition: background 0.15s, color 0.15s;
}
.tech-more-link:hover { background: var(--teal); color: var(--white); }

#team { background: var(--cream); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover { box-shadow: 0 8px 28px rgba(15, 34, 54, 0.07); transform: translateY(-2px); }

.team-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(15, 34, 54, 0.18);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.avatar-a { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border: 4px solid var(--hairline); }
.avatar-b { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.avatar-c { background: linear-gradient(135deg, #2d5a8e, #3a7abd); }

.team-card h3   { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.team-role      { font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 14px; }
.team-bio       { font-size: 13px; color: var(--slate); line-height: 1.7; }
.team-tags      { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 16px; }
.team-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 3px 10px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.team-social-link:hover {
  border-color: #F08300;
  color: #c06600;
  background: #fff5eb;
}

#news { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: 0 4px 20px rgba(15, 34, 54, 0.07); }

.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  align-self: flex-start;
}

.news-date { font-size: 12px; color: var(--steel); font-family: 'Inter', sans-serif; }
.news-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.news-card p  { font-size: 14px; color: var(--slate); line-height: 1.6; flex: 1; }

.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.news-link:hover { color: var(--teal-light); }

.contact-banner {
  background: var(--navy);
  color: var(--white);
  padding: 80px 32px;
  text-align: center;
}
.contact-banner h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.35;
}
.contact-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
}


/* ===========================
   TECHNOLOGY PAGE
   =========================== */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 88px 32px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(42, 127, 116, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 0% 50%,   rgba(58, 157, 145, 0.10) 0%, transparent 60%);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--navy);
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 700px;
  margin-bottom: 20px;
}

:lang(ja) .page-hero h1 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  max-width: 620px;
  line-height: 1.7;
}

:lang(ja) .page-hero p { font-size: 16px; line-height: 1.9; }

/* -------------------------------------------------
   .page-hero.has-light-bg — ライト背景画像用スタイル
   ライトな背景画像を使う場合に .page-hero に追加する。
   テキストを白→ネイビーに変更し、背景もライト化。
   ------------------------------------------------- */
.page-hero.has-light-bg {
  background: #eef4fb;           /* ライトブルー背景 */
  color: var(--navy);
}
.page-hero.has-light-bg::before { display: none; } /* 装飾グラデードを非表示 */

.page-hero.has-light-bg h1,
.page-hero.has-light-bg .page-hero-inner { color: var(--navy); }

.page-hero.has-light-bg p { color: var(--slate); }

.page-hero.has-light-bg .breadcrumb,
.page-hero.has-light-bg .breadcrumb a { color: var(--slate); }
.page-hero.has-light-bg .breadcrumb a:hover { color: var(--teal); }

/* -------------------------------------------------
   背景画像の濃淡 (opacity) 制御
   親要素の style 属性で --bg-opacity を指定:
     <div class="section-bg" style="--bg-opacity: 0.25">
   数値は 0（完全透明）〜 1（元の色）で調整します。
   ------------------------------------------------- */
.section-bg-img { opacity: var(--bg-opacity, 1); }

.content-section { padding: 80px 32px; }
.content-section.alt { background: var(--cream); }
.content-inner { max-width: 1200px; margin: 0 auto; }

.content-inner .section-body { max-width: 780px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.problem-stat {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}

.problem-stat-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

:lang(ja) .problem-stat-num { font-size: 30px; }

.problem-stat-label { font-size: 13px; color: var(--slate); font-weight: 500; line-height: 1.4; }

.approach-list { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }

.approach-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.approach-num {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.approach-item h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
:lang(ja) .approach-item h3 { font-size: 17px; font-weight: 700; }

.approach-item p { font-size: 15px; color: var(--slate); line-height: 1.7; }
:lang(ja) .approach-item p { line-height: 1.85; }

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.platform-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-teal { background: var(--teal-pale); }
.icon-navy { background: rgba(15, 34, 54, 0.07); }

.platform-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.icon-teal svg { stroke: var(--teal); }
.icon-navy svg { stroke: var(--navy); }

.platform-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
:lang(ja) .platform-card h3 { font-size: 18px; }

.platform-card p  { font-size: 14px; color: var(--slate); line-height: 1.75; margin-bottom: 16px; }
:lang(ja) .platform-card p { line-height: 1.85; }

.platform-card ul { padding-left: 18px; }
.platform-card li { font-size: 14px; color: var(--slate); line-height: 1.8; margin-bottom: 4px; }
:lang(ja) .platform-card li { line-height: 1.85; }

.pipeline-wrapper { margin-top: 48px; overflow-x: auto; }

.pipeline { display: flex; gap: 0; min-width: 700px; }

.pipeline-stage {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-right: none;
  padding: 28px 20px;
  position: relative;
}
.pipeline-stage:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.pipeline-stage:last-child  { border-right: 1px solid var(--hairline); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.pipeline-stage::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--steel);
  z-index: 2;
  background: var(--cream);
  padding: 2px 4px;
  border-radius: 4px;
}
.pipeline-stage:last-child::after { display: none; }

.stage-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.stage-active .stage-label { color: var(--teal); }
.stage-future .stage-label { color: var(--steel); }

.pipeline-stage h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.pipeline-stage p  { font-size: 12px; color: var(--slate); line-height: 1.55; }

.stage-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.badge-active { background: var(--teal-pale); color: var(--teal); }
.badge-future { background: var(--cream); color: var(--steel); border: 1px solid var(--hairline); }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.focus-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.focus-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
:lang(ja) .focus-card h3 { font-weight: 700; }

.focus-card p { font-size: 14px; color: var(--slate); line-height: 1.7; }
:lang(ja) .focus-card p { line-height: 1.8; }

.focus-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  margin-bottom: 14px;
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.collab-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.collab-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.collab-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collab-card h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
:lang(ja) .collab-card h4 { font-weight: 700; }

.collab-card p { font-size: 13px; color: var(--slate); line-height: 1.65; }
:lang(ja) .collab-card p { line-height: 1.8; }

.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 32px;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
:lang(ja) .cta-section h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.3;
  letter-spacing: 0;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
:lang(ja) .cta-section p { line-height: 1.9; }


/* ===========================
   NEWS / ARTICLE PAGES
   =========================== */
.article-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 32px 64px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(42, 127, 116, 0.20) 0%, transparent 65%);
}

.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(58, 157, 145, 0.15);
  border: 1px solid rgba(58, 157, 145, 0.35);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.article-hero h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

:lang(ja) .article-hero h1 {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}

.lead {
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

:lang(ja) .lead { font-size: 17px; line-height: 1.95; }

.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 16px;
  letter-spacing: -0.3px;
}

:lang(ja) .article-body h2 { font-size: 21px; letter-spacing: 0; }

.article-body h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin: 32px 0 12px; }

.article-body p {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 20px;
}

:lang(ja) .article-body p { font-size: 15px; line-height: 1.95; }

.article-body ul,
.article-body ol { padding-left: 24px; margin-bottom: 20px; }

.article-body li {
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 6px;
}

:lang(ja) .article-body li { font-size: 15px; line-height: 1.9; margin-bottom: 8px; }

.article-divider { border: none; border-top: 1px solid var(--hairline); margin: 48px 0; }

.highlight-box {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.highlight-box p {
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.75;
}
:lang(ja) .highlight-box p { font-size: 14px; line-height: 1.9; }

.quote-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 36px 0;
  position: relative;
}
.quote-block::before {
  content: '\201C';
  font-size: 64px;
  color: var(--teal);
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: Georgia, serif;
}
.quote-block p {
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.75;
  font-style: italic;
  padding-left: 32px;
  margin-bottom: 12px;
}
:lang(ja) .quote-block p { font-size: 16px; line-height: 1.85; }

.quote-block .quote-attr {
  font-size: 13px;
  color: var(--slate);
  font-style: normal;
  font-weight: 600;
  padding-left: 32px;
}

/* Numbered step list (research article) */
.step-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  counter-reset: step-counter;
}

.step-list li {
  counter-increment: step-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.step-list li::before {
  content: counter(step-counter);
  min-width: 32px;
  height: 32px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-list li span { font-size: 16px; color: var(--charcoal); line-height: 1.75; }
:lang(ja) .step-list li span { font-size: 15px; line-height: 1.85; }

/* Collaboration pillars grid (collaboration article) */
.collab-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.pillar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--hairline);
}
.pillar-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pillar-card p  { font-size: 14px; color: var(--slate); line-height: 1.7; margin-bottom: 0; }
:lang(ja) .pillar-card p { line-height: 1.8; }

/* Article footer */
.article-footer { background: var(--cream); padding: 48px 32px; }
.article-footer-inner { max-width: 820px; margin: 0 auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  margin-bottom: 40px;
  transition: background 0.15s, color 0.15s;
}
.back-link:hover { background: var(--teal); color: var(--white); }

.related-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.15s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(15, 34, 54, 0.08); }

.related-card .r-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.related-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; }
:lang(ja) .related-card h4 { line-height: 1.5; }
