/* ============================================
   HFP Corporate Site — Design System v2
   Conventional Corporate / Formal / Structured
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand: Fresh Emerald */
  --green-900: #065f46;
  --green-800: #047857;
  --green-700: #059669;
  --green-600: #10b981;
  --green-500: #34d399;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  --ink:       #14201b;
  --ink-700:   #38423d;
  --ink-500:   #66706a;
  --ink-400:   #98a19b;
  --line:      #e6ebe8;
  --line-200:  #eef3f0;
  --surface:   #f5f9f7;
  --surface-2: #edf3f0;
  --white:     #ffffff;

  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', 'Inter', sans-serif;

  --shadow-sm: 0 1px 3px rgba(22,33,27,0.06);
  --shadow-md: 0 4px 16px -6px rgba(22,33,27,0.12);
  --shadow-lg: 0 12px 32px -12px rgba(22,33,27,0.18);

  --radius-sm: 4px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease);
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
::selection { background: var(--green-100); color: var(--green-900); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--green { background: var(--green-800); color: var(--white); }

/* --- Section heading (formal corporate style) --- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head.left { text-align: left; }
.sec-head .en {
  display: block; font-family: var(--font-en); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--green-600);
}
.sec-head .jp {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--ink);
  margin-top: 12px; letter-spacing: 0.02em; line-height: 1.4;
}
.sec-head .bar { display: inline-block; width: 44px; height: 3px; background: var(--green-600); margin-top: 20px; }
.sec-head.left .bar { display: block; }
.section--green .sec-head .en { color: #6ee7b7; }
.section--green .sec-head .jp { color: var(--white); }
.section--green .sec-head .bar { background: #6ee7b7; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 34px; border-radius: var(--radius);
  font-family: var(--font-jp); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.03em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-light { background: var(--white); color: var(--green-800); }
.btn-light:hover { background: var(--green-50); }
.section--green .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.7); }
.section--green .btn-outline:hover { background: rgba(255,255,255,0.14); border-color: var(--white); }
/* CTA outline button — ensure clear visibility on dark overlay */
.cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.75); }
.cta .btn-outline:hover { background: rgba(255,255,255,0.14); border-color: var(--white); }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > a {
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
  position: relative; padding: 26px 0; white-space: nowrap; transition: color var(--transition);
}
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--green-600); transform: scaleX(0); transition: transform var(--transition);
}
.nav > a:hover { color: var(--green-700); }
.nav > a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--green-700); color: var(--white) !important;
  padding: 10px 22px !important; border-radius: var(--radius);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-800); }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  font-family: var(--font-en); font-size: 0.74rem; font-weight: 700; margin-left: 2px;
}
.lang-toggle span { padding: 6px 11px; background: var(--green-700); color: #fff; }
.lang-toggle a { padding: 6px 11px; color: var(--ink-500); background: #fff; transition: var(--transition); }
.lang-toggle a:hover { background: var(--surface); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: var(--ink); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero (white, two-column, corporate) --- */
.hero { background: var(--white); padding: 132px 0 84px; }
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; font-family: var(--font-en); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--green-700); background: var(--green-50);
  border: 1px solid var(--green-100); padding: 7px 15px; border-radius: 100px;
}
.hero h1 {
  color: var(--ink); font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 800;
  line-height: 1.22; letter-spacing: 0.01em; margin-top: 22px;
}
.hero h1 .hl { color: var(--green-700); }
/* 英語版は同じ文字数でも横幅を要するため、見出しをわずかに縮めて
   "Toward a" だけが1行に取り残されるのを防ぐ */
html[lang="en"] .hero h1 { font-size: clamp(2rem, 4.1vw, 3.05rem); }
.hero-lead { margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.28rem); font-weight: 700; color: var(--ink); }
.hero-sub { margin-top: 14px; color: var(--ink-500); font-size: 1.02rem; max-width: 520px; line-height: 1.85; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-trust .ht-item { position: relative; padding-left: 22px; font-size: 0.86rem; color: var(--ink-700); font-weight: 600; }
.hero-trust .ht-item::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 800; }
.hero-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { padding: 108px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-figure { order: -1; aspect-ratio: 16 / 9; }
}

/* --- News bar (under hero) --- */
.newsbar { background: var(--white); border-bottom: 1px solid var(--line); }
.newsbar-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; gap: 26px;
}
.newsbar-label {
  font-family: var(--font-en); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--green-700); white-space: nowrap; padding-right: 26px; border-right: 1px solid var(--line);
}
.newsbar-item { display: flex; align-items: center; gap: 18px; min-width: 0; }
.newsbar-item .date { font-family: var(--font-en); font-weight: 600; font-size: 0.85rem; color: var(--ink-500); white-space: nowrap; }
.newsbar-item .tag { font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--green-600); padding: 2px 9px; border-radius: 2px; white-space: nowrap; }
.newsbar-item .txt { font-size: 0.9rem; color: var(--ink-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.newsbar-more { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--green-700); white-space: nowrap; }

/* --- Intro / message --- */
.intro { text-align: center; }
.intro .lead {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem); font-weight: 700; color: var(--ink);
  line-height: 1.7; max-width: 26em; margin: 0 auto;
  text-wrap: balance;
  text-align: left;
}
/* .intro .body … 親子構造（index.html）
   .intro.body … 同一要素に両クラス（business / ir / technology） */
/* .lead と同じ 760px に統一。幅が違うと左揃えにした際に左端がズレるため */
.intro .body,
.intro.body {
  margin-top: 26px; color: var(--ink-500); max-width: 44em; margin-left: auto; margin-right: auto;
  text-wrap: pretty;
  text-align: left;
}

/* --- 日本語の折り返し制御 ---
   行末の孤立文字（「た。」だけ改行される等）と、
   単語途中での分断（「フィリピ／ン」等）を防ぐ */
h1, h2, h3, .hero h1, .hero-lead, .sec-head .jp, .lead, .lead-title,
.statement .big, .statement .sub, .statement.sub {
  text-wrap: balance;
  line-break: strict;
  word-break: auto-phrase;
}
p, li, .card p, .feature-text p {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: pretty;
}
/* ヒーロー説明文は行長を均等配分して末尾の孤立行を防ぐ。
   狭い画面では行数が増え balance の適用上限（6行）を超えるため pretty に切り替える */
.hero-sub {
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: balance;
}
@media (max-width: 700px) {
  .hero-sub { text-wrap: pretty; }
}

/* --- 本文・注釈は左揃え ---
   中央揃えは見出し・数値タイル・カード・ボタンのみに限定する。
   複数行になる文章を中央揃えにすると両端が不揃いになり読みにくいため */
.factrow-note,
.statement.sub,
.prose {
  text-align: left;
}
/* 注釈は中央寄せにせず、親要素の左端に合わせる。
   .feature-text の中でも全幅グリッドの直下でも、上の要素と左端が揃う */
.factrow-note { max-width: 59em; margin-left: 0; margin-right: auto; }
.statement.sub { max-width: 44em; }

/* --- Business cards --- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-tag { font-size: 0.72rem; font-weight: 700; padding: 3px 11px; border-radius: 100px; white-space: nowrap; }
.tag-doing { background: var(--green-100); color: var(--green-800); }
.tag-talk { background: #fbeccb; color: #8a5a00; }
.tag-plan { background: var(--surface-2); color: var(--ink-500); }

/* --- Stat / figure source notes --- */
.stat-note { margin-top: 24px; font-size: 0.8rem; color: var(--ink-400); text-align: left; line-height: 1.7; max-width: 55em; margin-left: auto; margin-right: auto; }
.stat-note a { color: var(--green-700); text-decoration: underline; }
.factrow-note { font-size: 0.74rem; color: var(--ink-400); margin: -12px 0 8px; }
.card-num { font-family: var(--font-en); font-size: 0.8rem; font-weight: 700; color: var(--green-500); letter-spacing: 0.1em; }
.card h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-top: 8px; line-height: 1.5; }
.card p { font-size: 0.92rem; color: var(--ink-500); margin-top: 12px; flex: 1; }
.card .more { margin-top: 18px; font-size: 0.86rem; font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: 8px; }
.card .more .arrow { transition: transform var(--transition); }
.card:hover .more .arrow { transform: translateX(4px); }

/* --- Feature rows (story) --- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row + .feature-row { margin-top: 80px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text .label { font-family: var(--font-en); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: var(--green-600); text-transform: uppercase; }
.feature-text h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--ink); margin-top: 14px; line-height: 1.4; }
.feature-text p { margin-top: 16px; color: var(--ink-500); max-width: 44em; }
.feature-text .accent-p { color: var(--green-800); font-weight: 600; }
.feature-quote { margin-top: 24px; padding: 18px 22px; background: var(--green-50); border-left: 3px solid var(--green-600); border-radius: 0 var(--radius) var(--radius) 0; }
.feature-quote q { font-size: 1.02rem; line-height: 1.7; font-style: normal; color: var(--green-900); }
.feature-quote q strong { color: var(--green-600); }
.feature-quote cite { display: block; margin-top: 8px; font-size: 0.76rem; color: var(--ink-500); font-style: normal; }
/* --- Inline fact row (in feature-text) --- */
.factrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.factrow .f { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; text-align: left; }
.factrow .f .n { font-family: var(--font-en); font-weight: 800; font-size: 1.35rem; color: var(--green-700); line-height: 1.1; }
.factrow .f .l { font-size: 0.76rem; color: var(--ink-500); margin-top: 6px; line-height: 1.45; }
@media (max-width: 560px) { .factrow { grid-template-columns: 1fr 1fr; } }

/* --- Flow (horizontal steps) --- */
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.flow .step { background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 9px 17px; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.flow .arw { color: var(--green-500); font-weight: 800; }

.chain { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chain-item { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--green-100); border-radius: var(--radius-sm); background: var(--green-50); font-size: 0.85rem; font-weight: 600; color: var(--green-800); }

/* --- Stats (green section) --- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); overflow: hidden; }
.stat-cell { padding: 38px 26px; text-align: left; border-right: 1px solid rgba(255,255,255,0.16); }
.stat-cell:last-child { border-right: none; }
.stat-number { font-family: var(--font-en); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.5rem); color: #fff; line-height: 1; letter-spacing: -0.01em; }
.stat-desc { margin-top: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.82); line-height: 1.65; }

/* --- Stats: light variant (white/mint base) --- */
.section--mint { background: var(--green-50); }
.stats-grid.on-light { border-color: var(--green-100); background: var(--white); }
.stats-grid.on-light .stat-cell { border-color: var(--green-100); }
.stats-grid.on-light .stat-number { color: var(--green-700); }
.stats-grid.on-light .stat-desc { color: var(--ink-500); }

/* --- Timeline --- */
.timeline { max-width: 720px; margin: 0 auto; }
.ms { display: grid; grid-template-columns: 92px 1fr; gap: 0; }
.ms .date { font-family: var(--font-en); font-weight: 700; font-size: 0.9rem; color: var(--green-700); text-align: right; padding: 18px 24px 0 0; }
.ms .body { position: relative; padding: 16px 0 30px 30px; border-left: 2px solid var(--line); }
.ms:last-child .body { border-left-color: transparent; }
.ms .body::before { content: ""; position: absolute; left: -8px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--green-500); }
.ms .body .txt { color: var(--ink-700); }
.ms.now .body::before { background: var(--green-600); box-shadow: 0 0 0 5px var(--green-100); }
.ms.now .body .txt { color: var(--green-800); font-weight: 700; }
.ms-sub { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--ink-500); font-weight: 400; line-height: 1.75; }
.ms .now-tag { display: inline-block; font-family: var(--font-en); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; color: #fff; background: var(--green-600); padding: 2px 9px; border-radius: 2px; margin-right: 10px; vertical-align: 1px; }

/* --- News list --- */
.news-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-row { display: flex; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background var(--transition); flex-wrap: wrap; }
.news-row:hover { background: var(--green-50); }
.news-row .date { font-family: var(--font-en); font-weight: 600; font-size: 0.88rem; color: var(--ink-500); min-width: 84px; }
.news-row .tag { font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--green-600); padding: 2px 10px; border-radius: 2px; }
.news-row .txt { color: var(--ink-700); font-weight: 500; }
.news-foot { text-align: center; margin-top: 44px; }

/* --- CTA --- */
.cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-overlay { position: absolute; inset: 0; background: rgba(15,40,31,0.76); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 16px; }
.cta-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Footer --- */
.footer { background: var(--ink); color: rgba(255,255,255,0.68); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .fb-logo { color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-links { display: grid; gap: 11px; }
.footer-links a, .footer-links p { color: rgba(255,255,255,0.6); font-size: 0.89rem; transition: color var(--transition); }
.footer-links a:hover { color: #6ee7b7; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* --- Scroll reveal --- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 1240px) and (min-width: 961px) {
  .nav { gap: 17px; }
  .nav > a { font-size: 0.83rem; }
  .nav-cta { padding: 10px 16px !important; }
}

@media (max-width: 960px) {
  .nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px); background: var(--white); flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 40px; box-shadow: var(--shadow-lg); transition: right var(--transition); }
  .nav.open { right: 0; }
  .nav > a { font-size: 1.05rem; padding: 12px 0; }
  .nav > a::after { display: none; }
  .hamburger { display: flex; z-index: 101; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.16); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsbar-inner { flex-wrap: wrap; }
  .newsbar-more { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .container, .hero-inner, .newsbar-inner { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding: 0 20px; }
  .hero { height: auto; min-height: 0; padding: 80px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .stat-cell:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .ms { grid-template-columns: 72px 1fr; }
  .lang-toggle { display: none; }
  .newsbar-item .txt { white-space: normal; }
}

/* ============================================
   Inner page components
   ============================================ */

/* --- Page hero (inner pages) --- */
.page-hero { margin-top: 72px; position: relative; background: var(--green-800); color: #fff; padding: 76px 0; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .en { display: block; font-family: var(--font-en); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #6ee7b7; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 2.8rem); font-weight: 800; margin-top: 12px; letter-spacing: 0.02em; }
.page-hero p { color: rgba(255,255,255,0.82); margin-top: 14px; font-size: 1.05rem; }

/* --- Breadcrumb --- */
.crumb { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumb .container { padding-top: 14px; padding-bottom: 14px; font-size: 0.82rem; color: var(--ink-500); }
.crumb a { color: var(--ink-500); transition: color var(--transition); }
.crumb a:hover { color: var(--green-700); }
.crumb .sep { margin: 0 10px; color: var(--ink-400); }
.crumb .cur { color: var(--ink-700); font-weight: 600; }

/* --- Prose helpers --- */
.prose p { color: var(--ink-500); margin-top: 16px; max-width: 44em; }
.prose p.accent { color: var(--green-800); font-weight: 600; }
.lead-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; color: var(--ink); line-height: 1.5; }

/* --- Info table --- */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 20px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.info-table th { width: 200px; font-weight: 700; color: var(--ink); }
.info-table td { color: var(--ink-700); }
@media (max-width: 600px) {
  .info-table th, .info-table td { display: block; padding: 12px 8px; }
  .info-table th { border-bottom: none; padding-bottom: 0; width: auto; }
}

/* --- Representative --- */
.rep-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: start; }
.rep-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; }
.rep-photo img { width: 100%; height: 100%; object-fit: cover; }
.rep-name { font-size: 1.7rem; font-weight: 800; color: var(--ink); margin-top: 12px; }
.rep-title { font-family: var(--font-en); font-size: 0.85rem; color: var(--green-600); font-weight: 600; letter-spacing: 0.04em; }
.rep-message p { color: var(--ink-500); margin-top: 16px; }
.rep-message p.accent { color: var(--green-800); font-weight: 600; }
@media (max-width: 800px) { .rep-section { grid-template-columns: 1fr; gap: 30px; } .rep-photo { max-width: 320px; } }

/* --- Icon cards --- */
.icard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.icard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); text-align: left; }
.icard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.icard .ic { font-size: 2rem; line-height: 1; }
.icard h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-top: 16px; line-height: 1.5; }
.icard p { font-size: 0.9rem; color: var(--ink-500); margin-top: 12px; }
.section--green .icard { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section--green .icard:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); }
.section--green .icard h3 { color: #fff; }
.section--green .icard p { color: rgba(255,255,255,0.8); }
@media (max-width: 860px) { .icard-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .icard-grid { grid-template-columns: 1fr; } }

/* --- Simple content section CTA band (reuse .cta) --- */

/* --- Definition/feature list --- */
.deflist { display: grid; gap: 14px; margin-top: 24px; }
.deflist .row { display: flex; gap: 14px; align-items: flex-start; }
.deflist .row .mk { color: var(--green-600); font-weight: 800; flex-shrink: 0; }
.deflist .row .tx { color: var(--ink-500); }
.deflist .row .tx strong { color: var(--ink); }

/* --- Statement band (inside .section--green) --- */
.statement { text-align: left; max-width: 880px; margin: 0 auto; }
.statement .big { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; color: #fff; line-height: 1.6; letter-spacing: 0.01em; }
.statement .big .hl { color: #6ee7b7; }
.statement .sub { margin-top: 18px; color: rgba(255,255,255,0.82); font-size: 1.02rem; }

/* --- Checklist --- */
.checklist { margin-top: 20px; display: grid; gap: 11px; }
.checklist li { position: relative; padding-left: 28px; color: var(--ink-500); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 800; }

/* --- Icard highlight variant --- */
.icard.highlight { border: 2px solid var(--green-600); }
.icard.highlight h3 { color: var(--green-700); }
.icard.muted { background: var(--surface); }

/* --- News articles (list page) --- */
.news-articles { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.na { display: grid; grid-template-columns: 128px 1fr; gap: 24px; padding: 26px 10px; border-bottom: 1px solid var(--line); align-items: start; }
.na .meta { display: flex; flex-direction: column; gap: 8px; }
.na .date { font-family: var(--font-en); font-weight: 600; font-size: 0.9rem; color: var(--ink-500); }
.na .tag { align-self: flex-start; font-size: 0.66rem; font-weight: 700; color: #fff; background: var(--green-600); padding: 2px 10px; border-radius: 2px; }
.na h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.6; }
.na p { font-size: 0.9rem; color: var(--ink-500); margin-top: 8px; }
.na.pin { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); margin-bottom: 14px; padding: 24px 22px; }
@media (max-width: 600px) { .na { grid-template-columns: 1fr; gap: 10px; } }

/* --- Contact form --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-group .req { color: var(--green-600); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100);
}
.form-group textarea { min-height: 152px; resize: vertical; line-height: 1.7; }
.contact-card { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.contact-card h4 { font-size: 0.85rem; color: var(--green-700); margin-bottom: 10px; font-weight: 700; }
.contact-card a { color: var(--green-700); font-weight: 600; }
.contact-card p { font-size: 0.92rem; line-height: 1.8; color: var(--ink-700); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* --- Thanks page --- */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks .mark { width: 78px; height: 78px; margin: 0 auto 24px; border-radius: 50%; background: var(--green-50); border: 2px solid var(--green-100); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--green-600); }
.thanks h2 { font-size: 1.5rem; color: var(--ink); margin-bottom: 16px; }
.thanks p { color: var(--ink-500); line-height: 2; margin-bottom: 12px; text-align: left; }
.thanks .note { color: var(--ink-400); font-size: 0.85rem; margin-bottom: 40px; }

/* --- Badges --- */
.badge { display: inline-block; padding: 3px 13px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.badge-solid { background: var(--green-600); color: #fff; }
.badge-soft { background: var(--green-100); color: var(--green-800); }
.badge-amber { background: #fbeccb; color: #8a5a00; }
.badge-mute { background: var(--surface-2); color: var(--ink-700); }

/* --- Stat row (light) --- */
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 780px; margin: 0 auto; }
.statrow .item { text-align: left; padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.statrow .n { font-family: var(--font-en); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; color: var(--green-700); line-height: 1; }
.statrow .l { margin-top: 12px; color: var(--ink-500); font-size: 0.9rem; }
@media (max-width: 600px) { .statrow { grid-template-columns: 1fr; } }

/* --- Partner cards --- */
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-100); }
.pcard .region { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--green-500); margin-bottom: 8px; }
.pcard h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.pcard .sub { font-size: 0.85rem; color: var(--ink-400); margin-top: 4px; }
.pcard .desc { margin-top: 14px; color: var(--ink-500); font-size: 0.9rem; }
.pcard .badge { margin-top: 14px; }
.pcard.hl { border-left: 4px solid var(--green-600); }
.section--green .pcard { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section--green .pcard h3 { color: #fff; }
.section--green .pcard .desc { color: rgba(255,255,255,0.8); }
.section--green .pcard .sub { color: rgba(255,255,255,0.6); }
@media (max-width: 860px) { .pcard-grid { grid-template-columns: 1fr; } }

/* --- Region heading + status table --- */
.region-h { margin: 44px 0 14px; color: var(--green-700); font-size: 1.15rem; font-weight: 800; }
.info-table thead th { background: var(--surface); color: var(--ink); font-size: 0.85rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.info-table td strong { color: var(--ink); }

/* --- Notice box --- */
.notice { max-width: 960px; margin: 0 auto; border: 1px solid var(--green-100); background: var(--green-50); padding: 18px 22px; border-radius: var(--radius); font-size: 0.9rem; line-height: 1.85; color: var(--ink-700); }
.notice strong { color: var(--green-800); }

/* --- Bulleted list --- */
.blist { margin-top: 16px; display: grid; gap: 9px; }
.blist li { position: relative; padding-left: 18px; font-size: 0.9rem; color: var(--ink-500); line-height: 1.7; }
.blist li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }

/* --- ESG / accent-top card --- */
.icard.top { border-top: 3px solid var(--green-600); }
.icard .label { font-family: var(--font-en); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-600); }
.icard.side { border-left: 4px solid var(--green-500); }

/* --- Roadmap timeline --- */
.rtl { position: relative; max-width: 820px; margin: 44px auto 0; }
.rtl::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.rti { position: relative; padding: 0 0 36px 46px; }
.rti:last-child { padding-bottom: 0; }
.rti::before { content: ""; position: absolute; left: 1px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--green-500); }
.rti.now::before { background: var(--green-600); box-shadow: 0 0 0 5px var(--green-100); }
.rti .ph { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 700; font-size: 0.92rem; color: var(--green-600); flex-wrap: wrap; }
.rti h3 { font-size: 1.18rem; font-weight: 800; color: var(--ink); margin-top: 8px; }
.rti .d { margin-top: 8px; color: var(--ink-500); font-size: 0.92rem; }
.rti .thumb { float: right; width: 200px; margin: 0 0 10px 18px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.section--green .rtl::before { background: rgba(255,255,255,0.22); }
.section--green .rti::before { background: var(--green-800); border-color: #6ee7b7; }
.section--green .rti h3 { color: #fff; }
.section--green .rti .d { color: rgba(255,255,255,0.82); }
.section--green .rti .ph { color: #6ee7b7; }
@media (max-width: 560px) { .rti .thumb { float: none; width: 100%; margin: 0 0 12px; } }

/* --- Callout --- */
.callout { margin-top: 18px; padding: 20px 24px; background: var(--green-50); border-left: 4px solid var(--green-600); border-radius: 0 var(--radius) var(--radius) 0; }
.callout .ct { font-weight: 700; color: var(--green-800); margin-bottom: 8px; }
.callout .cd { color: var(--ink-700); font-size: 0.9rem; line-height: 1.9; }
.callout blockquote { margin-top: 12px; padding: 12px 16px; background: #fff; border-radius: var(--radius-sm); color: var(--green-800); font-size: 0.9rem; font-style: italic; }
.callout blockquote strong { color: var(--green-600); }

/* --- Glass box (on navy sections) --- */
.gbox { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 26px; }
.gbox .big-en { font-family: var(--font-en); font-size: 2.5rem; font-weight: 800; color: #6ee7b7; }
.gbox .sm { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 8px; line-height: 1.8; }
.gbox a { color: #6ee7b7; text-decoration: underline; }

/* --- Rocket stages --- */
.rocket { max-width: 840px; margin: 0 auto; display: grid; gap: 16px; }
.rstage { display: grid; grid-template-columns: 52px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; align-items: start; }
.rstage .num { width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.rstage h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-top: 6px; }
.rstage p { margin-top: 10px; color: var(--ink-500); font-size: 0.92rem; }
.rstage .rtag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 100px; background: var(--green-100); color: var(--green-800); }
@media (max-width: 560px) { .rstage { grid-template-columns: 1fr; gap: 12px; } }

/* --- SVG frame --- */
.svg-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.svg-frame svg { display: block; width: 100%; height: auto; }

/* --- Advantage cards (numbered, on navy) --- */
.advcard { position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 28px 26px; text-align: left; }
.advcard .num { font-family: var(--font-en); font-size: 1.6rem; font-weight: 800; color: #6ee7b7; line-height: 1; }
.advcard h3 { color: #fff; font-size: 1.15rem; font-weight: 800; margin-top: 12px; }
.advcard p { color: rgba(255,255,255,0.82); font-size: 0.9rem; margin-top: 10px; }
.advcard p strong { color: #6ee7b7; }
.advcard .kw { position: absolute; top: 22px; right: 24px; font-family: var(--font-en); font-size: 0.9rem; font-weight: 800; color: rgba(255,255,255,0.28); }

/* --- Process steps --- */
.psteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.pstep { text-align: left; }
.pstep .pn { width: 52px; height: 52px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--font-en); font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 0 16px; }
.pstep h4 { color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.pstep p { color: var(--ink-500); font-size: 0.88rem; margin-top: 8px; }
@media (max-width: 700px) { .psteps { grid-template-columns: 1fr 1fr; } }

/* --- Comparison table --- */
.table-wrap { overflow-x: auto; margin-top: 40px; }
.ctable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ctable th, .ctable td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.92rem; }
.ctable thead th { background: var(--green-800); color: #fff; font-weight: 700; }
.ctable thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.ctable thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.ctable tbody td:first-child { font-weight: 600; color: var(--ink); }
.ctable td.hl { color: var(--green-800); font-weight: 700; background: var(--green-50); }
