/* ======================================================
   KENNDO Management — English site (/en/) styles
   Shared by all /en/ pages, loaded after common.css.
   ====================================================== */

/* ---------- Latin typography ---------- */
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.75;
}
h1, h2, h3, h4, .btn {
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
}
h2.sec { line-height: 1.35; }
.lead { font-size: 17px; max-width: 68ch; }
.lead .muted { color: var(--muted); }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.2em; }
.prose h3 { font-size: 20px; color: var(--navy); margin: 2em 0 .7em; }

/* EN nav carries 7 items — tighten so it fits above the 900px hamburger point */
.nav nav > ul > li > a { padding: 10px 11px; font-size: 13px; }
@media (max-width: 1024px) {
  .nav nav > ul > li > a { padding: 10px 8px; font-size: 12.5px; }
}
@media (max-width: 900px) {
  .nav nav > ul > li > a { padding: 14px 0; font-size: 16px; }
}

/* ---------- Draft-only TBC marker (remove before publish) ---------- */
.tbc {
  background: #fff3cd; outline: 2px dashed #d9a400;
  padding: 1px 6px; border-radius: 4px;
  color: #7a5b00; font-weight: 600; font-style: normal;
}

/* ---------- Home hero (4-photo slider, 10s — driven by assets/common.js) ---------- */
.hero-en {
  position: relative; display: flex; align-items: center;
  /* ロゴを載せた分（約120px）、上余白を140→112に詰めてH1の位置を維持する */
  min-height: 76vh; padding: 112px 0 120px;
  overflow: hidden;
  /* 写真の読み込み前・失敗時は下地の紺が出る */
  background: var(--navy-dark);
}
.hero-en .slider { position: absolute; inset: 0; z-index: 0; }
.hero-en .slide {
  position: absolute; inset: 0;
  background-color: var(--navy-dark);
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-en .slide.active { opacity: 1; }
.hero-en .slide.en1 { background-image: url('img/KFI/IMG_5138_web.jpg'); }
.hero-en .slide.en2 { background-image: url('img/top_hero_1.jpg'); }
.hero-en .slide.en3 { background-image: url('img/top_hero_2.jpg'); }
.hero-en .slide.en4 { background-image: url('img/top_hero_3.jpg'); }
/* 動くグリッド（日本語版TOPと同じ。シアン7%・80px・20秒で1マス分ループ） */
.hero-en .slide::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,167,189,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,167,189,.07) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}
/* 日本語版TOPと同じ色味。紺を重ねると写真全体が青灰色に転ぶため黒・薄め。
   濃度を下げた分の可読性は h1/lead の text-shadow で担保する（日本語版と同じ方針） */
.hero-en .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    rgba(0,0,0,.30) 0%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,0) 85%);
}
.hero-en .hero-dots {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.hero-en .hero-dots i {
  display: block; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-en .hero-dots i.active { background: var(--accent); transform: scale(1.4); }
.hero-en > .wrap { position: relative; z-index: 2; }
/* ヘッダーにも同じブランドが出るため alt="" の装飾扱い（読み上げ二重を避ける）。
   ロゴ内の文字は "Kenndo Management" のラテン表記のみ＝英語版でもそのまま使える */
.hero-en .hero-logo {
  width: 96px; height: auto; margin-bottom: 20px;
  animation: heroText 1s ease .15s both;
}
.hero-en h1 {
  font-size: clamp(30px, 4.2vw, 52px); font-weight: 800;
  color: #fff; line-height: 1.25; margin-bottom: 24px;
  max-width: 20ch;
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 3px 10px rgba(0,0,0,.5), 0 6px 30px rgba(0,0,0,.35);
  animation: heroText 1s ease .3s both;
}
/* ロゴ→見出し→リード→CTA の順に下から立ち上げる（日本語版TOPと同じ間隔） */
@keyframes heroText {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-en .hero-lead {
  /* 写真の上では白82%は自らコントラストを捨てる。白100%＋影で稼ぐ（日本語版と同じ） */
  font-size: 17px; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.5);
  max-width: 62ch; line-height: 1.85; margin-bottom: 40px;
  animation: heroText 1s ease .5s both;
}
.hero-en .cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: heroText 1s ease .7s both;
}

/* ---------- Card grids ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards3 .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cards3 .card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cards3 .card h4 {
  font-size: 16px; font-weight: 700; color: var(--navy);
  line-height: 1.4; margin-bottom: 12px;
}
.cards3 .card .n {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  color: var(--accent-text); margin-bottom: 14px;
}
.cards3 .card p { font-size: 14.5px; color: #48535f; }
.closing { font-size: 16.5px; font-weight: 600; color: var(--navy); max-width: 68ch; }

/* ---------- KFI / What we own ---------- */
.own { background: var(--bg-alt); }
.own-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.own-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.own .tagname {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent-text); text-transform: uppercase; margin-bottom: 12px;
}
.own h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.own .sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; margin: 28px 0; }
.stat b {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--muted); line-height: 1.5; display: block; margin-top: 4px; }
.own .kicker { font-size: 15.5px; font-weight: 600; color: var(--navy); margin: 18px 0 24px; }

/* ---------- Country chips ---------- */
.countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.countries span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 18px; font-size: 13.5px; font-weight: 600; color: var(--navy);
}
/* 「この12カ国が上限ではない」を chip 列そのもので示す */
.countries span.more {
  background: transparent; border-style: dashed; color: var(--muted); font-weight: 500;
}
.countries-note { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 68ch; }

/* ---------- Key clients list (日本語版 company.html の .cl2 と同じ体裁) ---------- */
.cl2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.cl2 li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 12px 18px;
  font-size: 14px; color: var(--navy); font-weight: 500;
  transition: box-shadow var(--transition);
}
.cl2 li:hover { box-shadow: var(--shadow-sm); }

/* ---------- Founder strip (Home) ---------- */
.rep { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.rep-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.rep blockquote {
  font-size: 17px; line-height: 1.9; color: var(--text);
  border-left: 3px solid var(--accent); padding-left: 20px; margin-bottom: 20px;
}
.rep .name { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.rep .name b { color: var(--navy); font-size: 16px; }
.rep .cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Why KENNDO proofs ---------- */
.proof { border-top: 1px solid var(--line); padding: 40px 0; max-width: 820px; }
.proof:last-of-type { border-bottom: 1px solid var(--line); }
.proof .n {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--accent-text);
  margin-bottom: 10px;
}
.proof h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.proof p { max-width: 68ch; }

/* ---------- Note / disclaimer box ---------- */
.notebox {
  background: var(--accent-light); border-left: 4px solid var(--accent-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 28px 0; max-width: 760px;
  font-size: 14.5px; color: var(--navy);
}
.notebox b { color: var(--navy); }

/* ---------- How We Partner: mode blocks ---------- */
.mode {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 44px 44px 36px; margin-bottom: 32px;
}
.mode .n {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--accent-text);
  text-transform: uppercase; margin-bottom: 8px;
}
.mode h3 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.mode > p { max-width: 68ch; margin-bottom: 8px; }
.mode .lbl {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin: 24px 0 6px;
}
.mode .items { font-size: 15px; color: #3a4550; max-width: 72ch; }
@media (max-width: 700px) { .mode { padding: 28px 22px; } }

/* ---------- Method steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 40px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.step .no {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 24px; font-weight: 800; color: var(--accent-text); margin-bottom: 10px;
}
.step h4 { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Track record ---------- */
.tr-group { margin-bottom: 48px; }
.tr-group h3 {
  font-size: 19px; font-weight: 800; color: var(--navy);
  border-left: 4px solid var(--accent); padding-left: 14px; margin-bottom: 18px;
}
.tr-group ul { max-width: 820px; }
.tr-group li {
  padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line);
  font-size: 15px; position: relative;
}
.tr-group li::before {
  content: ''; position: absolute; left: 4px; top: 24px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.tr-group li b { color: var(--navy); }

/* ---------- Who we work with ---------- */
.crit { max-width: 820px; }
.crit li {
  padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line);
  position: relative; font-size: 15.5px;
}
.crit li b { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 4px; }
.crit li::before {
  position: absolute; left: 4px; top: 18px;
  font-size: 18px; font-weight: 800;
}
.crit.yes li::before { content: '✓'; color: var(--accent-dark); }
.crit.no li::before { content: '✕'; color: #a63a3a; }

/* ---------- About: company table & timeline ---------- */
table.co { width: 100%; max-width: 820px; border-collapse: collapse; }
table.co th, table.co td {
  text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line);
  font-size: 15px; vertical-align: top;
}
table.co th { width: 200px; color: var(--navy); font-weight: 700; background: var(--bg-alt); }
@media (max-width: 600px) {
  table.co th, table.co td { display: block; width: 100%; }
  table.co th { border-bottom: none; padding-bottom: 4px; background: none; }
  table.co td { padding-top: 0; }
}

.tl { max-width: 820px; }
.tl > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.tl b { color: var(--navy); font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; }
@media (max-width: 600px) { .tl > div { grid-template-columns: 92px 1fr; } }

/* ---------- Mission block ---------- */
.mvp { max-width: 820px; }
.mvp .blk { margin-bottom: 36px; }
.mvp h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 10px;
}
.mvp .stmt { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.7; margin-bottom: 10px; }

/* ---------- Founder message (About) ---------- */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.founder img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); position: sticky; top: 100px; }
.founder .sig { margin-top: 28px; }
.founder .sig b { display: block; font-size: 18px; color: var(--navy); }
.founder .sig span { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team .tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.team .tcard h4 { font-size: 17px; font-weight: 800; color: var(--navy); }
.team .tcard .role { font-size: 13px; color: var(--accent-text); font-weight: 600; margin: 2px 0 12px; }
/* 顔写真つきヘッダー（日本語版 member.html と同じ縦長クロップ） */
.team .tcard .thead { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.team .tcard .thead img {
  flex: none; width: 112px; height: 148px; object-fit: cover; object-position: center top;
  border-radius: var(--radius); background: linear-gradient(135deg, #1a4a78, #0e2740);
}
.team .tcard .thead .role { margin-bottom: 0; }
.team .tcard p { font-size: 14px; color: #48535f; line-height: 1.75; }

/* ---------- Insights ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.posts .post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow-sm); font-size: 14.5px; color: #48535f;
}
.posts .post h4 { font-size: 16px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.intake { max-width: 720px; margin: 0 auto; }
.intake .who {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 30px; margin-bottom: 18px; background: #fff; box-shadow: var(--shadow-sm);
}
.intake .who b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.intake .who span { font-size: 14.5px; color: var(--muted); }
.mailrow { text-align: center; margin: 40px 0 12px; font-size: 16px; }
.addr { text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .own-body, .rep, .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder img { position: static; max-width: 280px; }
  .cards3, .posts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; }
  .hero-en { min-height: 0; padding: 84px 0 80px; }
  .hero-en .hero-logo { width: 92px; margin-bottom: 18px; }  /* 日本語版の狭幅時と同値 */
}
