/*
 * Trang chủ JA (post 297) — bố cục theo phong cách careerscout.co.jp:
 * lưới 3 đường dọc mảnh, đường chéo đồng, chữ hiển thị cỡ lớn, tiêu đề
 * Mincho, section nền navy / tối / ivory xen kẽ, dải chữ chạy cuối trang.
 * Toàn bộ chữ hiển thị là tiếng Nhật; ảnh hiển thị màu gốc (không phủ màu).
 * Markup: scripts/home-ja/content.html. Mọi selector nằm dưới .jh nên không
 * ảnh hưởng trang khác. Chỉ enqueue khi is_front_page() && ngôn ngữ 'ja'.
 */

.jh {
  /* Bảng màu "Indigo × Champagne" — giải thích ở cuối file.
     navy cùng hue (~212°) với navy của logo #20405F nhưng đậm hơn; cam logo
     #F07030 được "nâng" thành đồng/champagne (cùng họ ấm, giảm bão hoà). */
  --jh-navy: #16263b;       /* nền khối chính — chữ trắng 15.3:1 */
  --jh-deep: #0e1826;       /* nền khối tối — chữ trắng 17.8:1 */
  --jh-ink: #141c26;        /* chữ chính — trên trắng 17.2:1 */
  --jh-muted: #5e6673;      /* chữ phụ — trên trắng 5.8:1 */
  --jh-bronze: #b08d57;     /* CHỈ đường kẻ / chữ trang trí cỡ lớn (3.1:1) */
  --jh-bronze-tx: #8a6a38;  /* chữ nhấn trên nền sáng — trên trắng 5.0:1, ivory 4.5:1 */
  --jh-champ: #d9c29a;      /* chữ/nhấn trên nền navy — 8.8:1 */
  --jh-ivory: #f6f3ee;      /* nền sáng ấm */
  --jh-stone: #e6ded0;      /* dải nền phụ — chữ ink 12.9:1 */
  --jh-rule: #ddd5c8;       /* viền phân cách trên nền ivory */
  --jh-line: rgba(140, 140, 140, .22);
  --jh-col: 62.5%;          /* độ rộng cột nội dung giữa 2 đường lưới ngoài */
  --jh-gutter: 18.75%;      /* vị trí đường lưới trái */
  --jh-sans: "Noto Sans JP", YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --jh-serif: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  position: relative;
  /* stacking context riêng: z-index của các lớp bên trong (đường chéo, lưới,
     nội dung) chỉ so với nhau, không đè lên header dính / thanh liên hệ cố
     định / nút gọi nổi của theme */
  isolation: isolate;
  overflow: hidden;
  color: var(--jh-ink);
  font-family: var(--jh-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  background: #fff;
}
/* reset dạng .jh :where(x) = specificity (0,1,0): thắng rule thẻ của Flatsome
   (p, h1...) nhưng hoà với class của từng block bên dưới -> block (khai báo
   sau) luôn được ghi đè. */
.jh *, .jh *::before, .jh *::after { box-sizing: border-box; }
.jh :where(img) { display: block; max-width: 100%; height: auto; }
.jh :where(p, ul, ol, li) { margin: 0; }
.jh :where(ul, ol) { padding: 0; list-style: none; }
.jh :where(h1, h2, h3, h4) { margin: 0; color: inherit; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.jh :where(a) { text-decoration: none; }
.jh .sp { display: none; }

/* 3 đường lưới dọc chạy suốt trang */
.jh::before {
  content: "";
  position: absolute; inset: 0;
  /* lưới nằm dưới lớp nội dung (z 5) để không gạch qua tab, thẻ, form */
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--jh-line), var(--jh-line)) 18.75% 0 / 1px 100% no-repeat,
    linear-gradient(var(--jh-line), var(--jh-line)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--jh-line), var(--jh-line)) 81.25% 0 / 1px 100% no-repeat;
}
.jh > section { position: relative; }

/* chữ số (01, 99.97...) dùng Jost cho đều nét; chữ Nhật vẫn rơi về Noto Sans JP */
.jh-num-font { font-family: "Jost", var(--jh-sans); font-weight: 500; letter-spacing: 0; }
/* tiêu đề Mincho đứng (tiếng Nhật không dùng chữ nghiêng) */
.jh-mincho {
  font-family: var(--jh-serif);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .08em;
}
.jh-center { text-align: center; }

/* nhãn "／ 見出し" */
.jh-eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .16em;
  color: var(--jh-bronze-tx);
}
.jh-eyebrow::before {
  content: "";
  position: absolute; left: 4px; top: 50%;
  width: 2px; height: 22px;
  background: var(--jh-bronze);
  transform: translateY(-50%) rotate(40deg);
}

/* đường chéo đồng & dải chéo nhạt trang trí */
.jh-slash {
  position: absolute;
  z-index: 4;
  height: 2px;
  background: var(--jh-bronze);
  transform-origin: 0 50%;
  pointer-events: none;
}
.jh-stripe {
  position: absolute;
  z-index: 0;
  width: 46px; height: 140%;
  background: linear-gradient(180deg, rgba(217,194,154,0) 0%, rgba(217,194,154,.22) 50%, rgba(217,194,154,0) 100%);
  transform: rotate(-42deg);
  transform-origin: 50% 0;
  pointer-events: none;
}
.jh-bar {
  position: absolute; top: 0; bottom: 0; z-index: 1;
  width: 30px; background: var(--jh-navy);
}
.jh-bar--r { right: 0; }
.jh-bar--l { left: 0; }

/* nút bo tròn + mũi tên tròn */
.jh-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.jh-btns--center { justify-content: center; }
.jh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  min-width: 280px; min-height: 62px; padding: 10px 18px 10px 40px;
  border-radius: 999px;
  font-size: 15px; letter-spacing: .1em; font-weight: 500; line-height: 1.5;
  transition: transform .3s, box-shadow .3s, background-color .3s;
}
.jh-btn span { flex: 1; text-align: center; }
.jh-btn--dark { background: var(--jh-ink); color: #fff !important; }
.jh-btn--primary { background: var(--jh-navy); color: #fff !important; }
.jh-btn--light { background: #fff; color: var(--jh-ink) !important; }
.jh-btn--line { background: #fff; color: var(--jh-ink) !important; box-shadow: inset 0 0 0 1px var(--jh-ink); }
.jh-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,24,38,.22); }
.jh-btn--line:hover { box-shadow: inset 0 0 0 1px var(--jh-ink), 0 10px 24px rgba(14,24,38,.16); }
.jh-arrow {
  position: relative; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff;
}
.jh-btn--light .jh-arrow, .jh-btn--line .jh-arrow { background: var(--jh-ink); }
.jh-btn:hover .jh-arrow { background: var(--jh-champ); }
.jh-arrow::before, .jh-arrow::after { content: ""; position: absolute; }
.jh-arrow::before { left: 8px; top: 13px; width: 12px; height: 1.5px; background: var(--jh-ink); }
.jh-arrow::after {
  left: 13px; top: 10px; width: 6px; height: 6px;
  border-top: 1.5px solid var(--jh-ink); border-right: 1.5px solid var(--jh-ink);
  transform: rotate(45deg) translate(1px, 0);
}
.jh-btn--light .jh-arrow::before, .jh-btn--line .jh-arrow::before { background: #fff; }
.jh-btn--light .jh-arrow::after, .jh-btn--line .jh-arrow::after { border-color: #fff; }
.jh-btn:hover .jh-arrow::before { background: var(--jh-ink); }
.jh-btn:hover .jh-arrow::after { border-color: var(--jh-ink); }
.jh-btn:hover .jh-arrow { animation: jh-nudge .6s ease; }
@keyframes jh-nudge { 50% { transform: translateX(4px); } }

/* link "詳細を見る" */
.jh-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: inherit !important;
  border-bottom: 1px solid currentColor;
}
.jh-more::after { content: "→"; transition: transform .3s; }
.jh-more:hover::after { transform: translateX(4px); }

/* tiêu đề section chung */
.jh-head { position: relative; z-index: 5; margin-left: var(--jh-gutter); width: var(--jh-col); }
.jh-head__ttl { margin-top: 22px; font-size: clamp(24px, 2.5vw, 36px); }
.jh-head__txt { margin-top: 30px; font-size: 14px; line-height: 2.1; }

/* ============ 1. ヒーロー ============ */
.jh-hero { padding: 120px 0 110px; background: #fff; }
.jh-stripe--1 { left: 2%; top: -10%; }
.jh-stripe--2 { left: 30%; top: -20%; opacity: .6; }
.jh-stripe--3 { left: 82%; top: 5%; width: 60px; }
.jh-slash--hero { left: 44%; top: 0; width: 980px; transform: rotate(46deg); }
.jh-hero__catch {
  position: relative; z-index: 5;
  display: flex; justify-content: flex-end;
  padding-right: 5%;
}
.jh-hero__catch h1 {
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.55;
  text-align: right;
  color: var(--jh-ink);
}
.jh-hero__big {
  position: relative; z-index: 5;
  margin-top: 36px;
  padding-left: 3.6%;
  font-family: var(--jh-sans); font-weight: 900;
  font-size: min(16.5vw, 240px); line-height: 1; letter-spacing: -.02em;
  color: var(--jh-ink);
  white-space: nowrap;
}
.jh-hero__row {
  position: relative; z-index: 6;
  display: flex; align-items: flex-start; gap: 3%;
  margin-top: 2vw;
  padding: 0 5% 0 3.6%;
}
.jh-hero__big-sm {
  flex: none;
  font-family: var(--jh-sans); font-weight: 900;
  font-size: min(6.4vw, 92px); line-height: 1.12; letter-spacing: -.01em;
  color: var(--jh-ink);
}
.jh-hero__lead { flex: 1 1 360px; max-width: 520px; padding-top: .4vw; }
.jh-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.jh-hero__badges span {
  padding: 2px 14px;
  border: 1px solid var(--jh-ink);
  font-size: 12px; line-height: 1.9;
  background: #fff;
}
.jh-hero__lead p { font-size: 16px; line-height: 2; font-weight: 400; letter-spacing: .04em; color: var(--jh-ink); font-feature-settings: "palt"; }
.jh-hero__lead .jh-btns { margin-top: 26px; }
.jh-hero__lead .jh-btn { min-width: 230px; }
/* ảnh giám đốc: cột riêng trong hàng hero (không nằm dưới chữ), giữ tỉ lệ ảnh
   gốc 478×317 nên không cắt mặt; ảnh gốc nhỏ nên cột tối đa 480px */
.jh-hero__visual {
  position: relative; z-index: 2; flex: 0 1 480px; align-self: flex-end;
  margin: 0 0 0 auto; padding: 0;
}
/* cắt chéo cạnh trái như thiết kế ban đầu; giám đốc đứng bên phải ảnh nên
   đường cắt không chạm vào người */
.jh-hero__visual img {
  display: block; width: 100%; height: auto; aspect-ratio: 478 / 317; object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%);
}
/* < 1500px: 3 cột quá chật -> ảnh xuống dòng, canh phải; đoạn mô tả đủ rộng để đọc */
@media (max-width: 1499px) {
  .jh-hero__row { flex-wrap: wrap; }
  .jh-hero__lead { flex: 1 1 420px; max-width: 560px; }
  .jh-hero__visual { flex: 0 0 auto; width: min(520px, 100%); margin: 48px 0 0 auto; }
}
.jh-hero__visual figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .1em; color: var(--jh-muted); text-align: right; }
.jh-hero__vertical {
  position: absolute; z-index: 5;
  right: 16px; top: 300px;
  writing-mode: vertical-rl;
  font-size: 12px; letter-spacing: .3em;
  color: var(--jh-muted);
}

/* ============ 2. 数字で見る実績 ============ */
.jh-numbers {
  z-index: 1;
  padding: 50px 0 110px;
  background: var(--jh-navy);
  clip-path: polygon(0 0, 70% 0, 75% 70px, 100% 70px, 100% 100%, 0 100%);
}
.jh-numbers__ttl { position: relative; z-index: 5; text-align: center; color: #fff; padding-top: 40px; }
.jh-numbers__big { font-family: var(--jh-serif); font-weight: 600; font-size: clamp(32px, 4vw, 54px); letter-spacing: .14em; line-height: 1.3; }
.jh-numbers__list {
  position: relative; z-index: 5;
  width: 85%; max-width: 1224px;
  margin: 34px auto 0;
  padding: 30px 80px;
  background: var(--jh-ivory);
}
.jh-numbers__row {
  display: grid;
  grid-template-columns: 200px 260px 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--jh-rule);
}
.jh-numbers__row:last-child { border-bottom: 0; }
.jh-numbers__tag { border: 1px solid var(--jh-ink); text-align: center; font-size: 12px; line-height: 2; }
.jh-numbers__num { font-size: 58px; line-height: 1; color: var(--jh-bronze-tx); font-weight: 500; }
.jh-numbers__num small { margin-left: 4px; font-size: 26px; font-family: var(--jh-sans); }
.jh-numbers__desc { font-size: 15px; font-weight: 500; }

/* ============ 3. 私たちについて ============ */
.jh-about { padding: 80px 0 120px; min-height: 920px; }
.jh-slash--about { left: 15%; top: 470px; width: 640px; transform: rotate(-45deg); }
.jh-about__side { position: absolute; z-index: 1; top: 0; width: 18.75%; display: flex; flex-direction: column; }
.jh-about__side img { object-fit: cover; }
.jh-about__side--l { left: 0; }
.jh-about__side--l img:first-child { height: 480px; width: 88%; object-position: 50% 50%; }
.jh-about__side--l img:last-child { height: 300px; width: 115%; }
.jh-about__side--r { right: 0; align-items: flex-end; }
.jh-about__side--r img:first-child { height: 340px; width: 100%; }
.jh-about__side--r img:last-child { height: 470px; width: 88%; }
.jh-about__body {
  position: relative; z-index: 5;
  width: var(--jh-col); margin: 0 auto;
  padding: 0 4%;
  text-align: center;
}
.jh-about__q { margin-top: 18px; font-size: 14px; color: var(--jh-muted); font-weight: 700; letter-spacing: .14em; }
.jh-about__ttl { margin: 14px 0 44px; font-size: clamp(26px, 2.6vw, 38px); }
.jh-about__txt { font-size: 15px; line-height: 2.5; font-weight: 500; }
.jh-about__txt + .jh-about__txt { margin-top: 22px; }
.jh-about__addr { margin-top: 36px; font-size: 12px; color: var(--jh-muted); }
.jh-about__cta { margin-top: 40px; }

/* ============ 4. 選ばれる理由 ============ */
.jh-feature { background: var(--jh-navy); color: #fff; padding-bottom: 120px; }
.jh-feature__visual {
  position: relative;
  height: 600px;
  /* cắt chéo góc dưới-trái và góc trên-phải để lộ nền navy */
  clip-path: polygon(0 0, 92% 0, 100% 18%, 100% 100%, 22% 100%);
}
.jh-feature__visual img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 40%; }
/* chỉ tối nhẹ mép dưới để chữ trắng cỡ lớn đọc được — ảnh giữ màu gốc */
.jh-feature__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,24,38,0) 55%, rgba(14,24,38,.55) 100%);
}
.jh-feature__inner { position: relative; z-index: 5; margin-top: -150px; }
.jh-feature__big {
  padding-left: 3.6%;
  font-family: var(--jh-sans); font-weight: 900;
  font-size: min(11vw, 160px); line-height: 1.05; letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(14,24,38,.35);
}
.jh-feature__ttl, .jh-feature__sub, .jh-feature__groups, .jh-feature__note { margin-left: var(--jh-gutter); }
.jh-feature__ttl { margin-top: 44px; font-size: clamp(24px, 2.8vw, 40px); }
.jh-feature__sub { margin-top: 10px; width: var(--jh-col); font-size: 14px; opacity: .9; }
.jh-feature__groups {
  width: calc(100% - var(--jh-gutter) - 4%);
  margin-top: 50px;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px;
}
.jh-feature__tag {
  display: block;
  padding: 12px 22px;
  background: var(--jh-deep); color: var(--jh-champ);
  border-left: 3px solid var(--jh-bronze);
  font-size: 17px; font-weight: 700; letter-spacing: .08em; line-height: 1.6;
}
.jh-feature__list { margin-top: 34px; display: grid; row-gap: 34px; }
.jh-feature__list li { display: flex; gap: 14px; scroll-margin-top: 120px; }
.jh-num {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--jh-champ); color: var(--jh-navy);
  font-size: 18px; font-weight: 600; line-height: 1;
}
.jh-feature__list h4 { margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.6; color: #fff; }
.jh-feature__list p { margin-top: 8px; font-size: 13px; line-height: 2; opacity: .88; }
.jh-feature__list strong { font-size: 1.25em; color: var(--jh-champ); border-bottom: 1px solid var(--jh-champ); }
.jh-feature__list .jh-more { color: var(--jh-champ) !important; }
.jh-feature__note { margin-top: 60px; color: var(--jh-champ); font-family: var(--jh-serif); font-weight: 600; font-size: 22px; letter-spacing: .1em; }

/* ============ 5. 対応業種 ============ */
.jh-industry { padding: 150px 0 0; }
.jh-slash--industry { right: 2%; top: 60px; width: 1100px; transform: rotate(135deg); }
.jh-industry__deco {
  position: absolute; z-index: 0;
  right: 4%; top: 150px;
  white-space: nowrap;
  font-family: var(--jh-sans); font-weight: 900;
  font-size: min(15vw, 220px); line-height: 1;
  color: #f1ede6;
}
.jh-industry__cards {
  position: relative; z-index: 5;
  margin-top: 90px;
  width: calc(100% - 90px);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.jh-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 500px; padding: 40px 45px;
  color: #fff !important;
  background: var(--jh-deep);
}
.jh-card img {
  position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover;
  transition: transform .8s ease;
}
/* gradient tối ở nửa dưới để chữ trắng đọc được; nửa trên ảnh giữ nguyên màu */
.jh-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,24,38,0) 30%, rgba(14,24,38,.82) 100%);
}
.jh-card:hover img { transform: scale(1.06); }
.jh-card > span, .jh-card > i { position: relative; z-index: 2; }
.jh-card__no { font-size: 15px; font-weight: 600; color: var(--jh-champ); }
.jh-card__ttl { margin-top: 10px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; line-height: 1.45; letter-spacing: .06em; }
.jh-card__ttl small { display: block; font-size: .62em; font-weight: 500; }
.jh-card__sub { margin-top: 12px; font-size: 12px; line-height: 1.8; opacity: .9; }
.jh-circle {
  display: block; margin-top: 26px;
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid #fff;
  transition: background-color .3s;
}
.jh-circle::before, .jh-circle::after { content: ""; position: absolute; }
.jh-circle::before { left: 29px; top: 35px; width: 14px; height: 1px; background: #fff; }
.jh-circle::after { left: 36px; top: 32px; width: 7px; height: 7px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); }
.jh-card:hover .jh-circle { background: rgba(255,255,255,.15); }
.jh-industry__band {
  position: relative; z-index: 4;
  width: calc(100% - 30px);
  margin-top: -160px;
  padding: 220px 0 100px;
  background: var(--jh-stone);
  scroll-margin-top: 0;
}
.jh-ind { position: relative; z-index: 5; width: var(--jh-col); margin: 0 auto; }
.jh-ind__tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--jh-rule); }
.jh-ind__tabs button {
  margin: 0 0 -1px; padding: 14px 28px; min-height: 0; height: auto;
  background: transparent; border: 1px solid transparent; border-bottom: 0; border-radius: 0;
  font: 700 15px/1.5 var(--jh-sans); letter-spacing: .08em; text-transform: none;
  color: var(--jh-muted); cursor: pointer; box-shadow: none;
}
.jh-ind__tabs button.is-active { background: #fff; color: var(--jh-ink); border-color: var(--jh-rule); }
.jh-ind__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 26px 14px;
  padding: 34px 26px; background: #fff;
}
.jh-ind__grid[hidden] { display: none; }
.jh-ind__grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.5; }
.jh-ind__grid img { width: 76px; height: 76px; object-fit: contain; }
.jh-ind__icon {
  position: relative;
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 6px; border-radius: 50%;
  background: #20405f; color: #fff;
  box-shadow: 0 0 0 6px #eef1f5;
  font-weight: 700; font-size: 16px; letter-spacing: .04em;
}
.jh-ind__icon::after { content: ""; position: absolute; right: -2px; top: -2px; width: 18px; height: 18px; border-radius: 50%; background: #f07030; }

/* ============ 6. 優秀な外国人が働くために ============ */
.jh-point {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
  padding: 140px 0 40px;
}
.jh-point__img { position: relative; z-index: 5; height: 460px; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.jh-point__img img { width: 100%; height: 100% !important; object-fit: cover; object-position: 30% 50%; }
.jh-point__body { position: relative; z-index: 5; padding: 0 12% 0 8%; }
.jh-point__txt { margin-top: 20px; font-size: 15px; line-height: 2.3; }
.jh-point__body .jh-head__ttl + .jh-point__txt { margin-top: 30px; }
.jh-point__body .jh-btn { margin-top: 36px; }

/* ============ 7. 採用プロセス ============ */
.jh-process { padding: 120px 0 130px; }
.jh-bar--l { width: 30px; bottom: auto; height: 62%; }
.jh-process__steps {
  position: relative; z-index: 5;
  width: var(--jh-col); margin: 60px 0 0 var(--jh-gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 36px;
}
.jh-process__steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jh-process__no { display: block; margin-top: 18px; font-size: 22px; color: var(--jh-bronze-tx); font-weight: 600; }
.jh-process__steps h3 { margin-top: 2px; font-size: 18px; font-weight: 700; }
.jh-process__steps p { margin-top: 8px; font-size: 13px; line-height: 1.9; }
.jh-process__steps a { color: var(--jh-bronze-tx); text-decoration: underline; }
.jh-process__deco {
  position: relative; z-index: 5;
  margin-top: 100px;
  padding-left: 10%;
  font-family: var(--jh-serif); font-weight: 600;
  font-size: min(5.6vw, 80px); line-height: 1.35; letter-spacing: .06em;
  color: var(--jh-bronze);
}
.jh-process .jh-btns { position: relative; z-index: 5; margin-top: 60px; }

/* ============ 8. よくあるご質問 ============ */
.jh-faq { padding: 110px 0 120px; background: var(--jh-ivory); }
.jh-slash--faq { left: 0; top: 0; width: 440px; transform: rotate(45deg); }
.jh-faq__head { position: relative; z-index: 5; margin-left: var(--jh-gutter); width: var(--jh-col); }
.jh-faq__head > p:not(.jh-eyebrow) { margin-top: 20px; font-size: 15px; }
.jh-faq__tabs { display: flex; flex-wrap: wrap; gap: 6px 30px; margin-top: 36px; }
.jh-faq__tabs button {
  margin: 0; padding: 6px 2px; min-height: 0; height: auto;
  background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  font: 500 15px/1.6 var(--jh-sans); letter-spacing: .04em; text-transform: none;
  color: var(--jh-ink); cursor: pointer; box-shadow: none;
}
.jh-faq__tabs button.is-active { color: var(--jh-bronze-tx); border-bottom-color: var(--jh-bronze); font-weight: 700; }
.jh-faq__list { position: relative; z-index: 5; width: var(--jh-col); margin: 30px 0 0 var(--jh-gutter); }
.jh-faq__list details { background: #fff; margin-bottom: 10px; }
.jh-faq__list details[hidden] { display: none; }
.jh-faq__list summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 64px 20px 66px;
  font-size: 15px; font-weight: 700; line-height: 1.7;
}
.jh-faq__list summary::-webkit-details-marker { display: none; }
.jh-faq__list summary::before {
  content: "問"; position: absolute; left: 22px; top: 19px;
  font: 600 19px/1.5 var(--jh-serif); color: var(--jh-bronze-tx);
}
.jh-faq__list summary::after {
  content: ""; position: absolute; right: 26px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.5px solid var(--jh-ink); border-bottom: 1.5px solid var(--jh-ink);
  transform: rotate(45deg); transition: transform .3s;
}
.jh-faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.jh-faq__list details > div { position: relative; padding: 0 40px 24px 66px; font-size: 14px; line-height: 2; }
.jh-faq__list details > div::before {
  content: "答"; position: absolute; left: 22px; top: -2px;
  font: 600 19px/1.5 var(--jh-serif); color: var(--jh-muted);
}
.jh-faq__list details > div a { color: var(--jh-bronze-tx); text-decoration: underline; }
.jh-em { color: var(--jh-bronze-tx); font-size: 150%; }
.jh-faq__more { position: relative; z-index: 5; margin: 40px 0 0 var(--jh-gutter); width: var(--jh-col); text-align: center; }

/* ============ 9. 導入事例 ============ */
.jh-case { padding: 170px 0 150px; background: var(--jh-deep); color: #fff; }
.jh-slash--case { right: -60px; top: -100px; width: 560px; transform: rotate(45deg); }
.jh-case__visual { position: relative; z-index: 5; width: 85%; max-width: 1224px; margin: 0 auto; }
.jh-case__visual img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 30%; }
.jh-case__body { position: relative; z-index: 5; margin-left: var(--jh-gutter); width: var(--jh-col); margin-top: 110px; }
.jh-case .jh-eyebrow { color: var(--jh-champ); }
.jh-case__ttl { margin-top: 26px; font-size: clamp(26px, 2.6vw, 38px); }
.jh-case__who { display: flex; align-items: center; gap: 24px; margin-top: 50px; }
.jh-case__who img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.jh-case__who h3 { font-size: 20px; font-weight: 700; }
.jh-case__who p { margin-top: 4px; font-size: 13px; line-height: 1.9; opacity: .85; }
.jh-case__quote { margin-top: 36px; font-size: 15px; line-height: 2.3; }
.jh-case__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 50px; }
.jh-case__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.jh-case__more { margin-top: 50px; text-align: center; }

/* ============ 10. 人材ソース ============ */
.jh-country { padding: 140px 0 0; }
.jh-country__cards {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%;
  margin-top: 60px; padding-bottom: 120px;
}
.jh-pcard__img { height: 460px; overflow: hidden; }
.jh-pcard__img img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 25%; transition: transform .8s; }
.jh-pcard:hover .jh-pcard__img img { transform: scale(1.05); }
.jh-pcard__box { position: relative; z-index: 2; margin: -80px 0 0 32px; padding: 44px 40px 36px; background: #fff; }
.jh-pcard__ttl { font-family: var(--jh-serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; letter-spacing: .12em; }
.jh-pcard__box p { margin-top: 14px; font-size: 14px; color: var(--jh-muted); }
.jh-country__wedge {
  position: absolute; z-index: 2; right: 0; bottom: 0;
  width: 31%; height: 115px; background: var(--jh-navy);
  clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%);
}

/* ============ 11. お問い合わせ + セミナー ============ */
.jh-contact { padding: 130px 0 140px; background: var(--jh-ivory); }
.jh-contact__cards {
  position: relative; z-index: 5;
  width: var(--jh-col); margin: 60px 0 0 var(--jh-gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.jh-ccard { padding: 46px 44px 46px; background: #fff; }
.jh-ccard__ttl { font-family: var(--jh-serif); font-weight: 600; font-size: 34px; line-height: 1.2; letter-spacing: .12em; }
.jh-ccard__jp { margin-top: 14px; font-size: 16px; font-weight: 700; }
.jh-ccard p { font-size: 14px; }
.jh-ccard > p:not(.jh-ccard__jp) { margin-top: 14px; }
.jh-ccard__hours { color: var(--jh-bronze-tx); font-weight: 700; }
.jh-ccard .jh-btn { margin-top: 28px; min-width: 0; width: 100%; }
.jh-seminar {
  position: relative; z-index: 5;
  width: var(--jh-col); margin: 30px 0 0 var(--jh-gutter);
  display: grid; grid-template-columns: 38% 1fr;
  background: var(--jh-navy); color: #fff;
  scroll-margin-top: 120px;
}
.jh-seminar__img img { width: 100%; height: 100% !important; object-fit: cover; }
.jh-seminar__body { padding: 46px 44px; }
.jh-seminar .jh-eyebrow { color: var(--jh-champ); font-size: 13px; }
.jh-seminar h3 { margin-top: 16px; font-size: clamp(20px, 1.8vw, 26px); }
.jh-seminar__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.jh-seminar__chips span { padding: 2px 18px; border: 1px solid rgba(217,194,154,.7); color: var(--jh-champ); border-radius: 999px; font-size: 13px; }
.jh-seminar p { font-size: 14px; }
.jh-seminar__note { margin-top: 14px; font-size: 12px !important; opacity: .75; }
.jh-seminar .jh-btn { margin-top: 28px; }

/* ============ 12. お役立ち情報 ============ */
.jh-blog { padding: 130px 0 120px; }
.jh-posts {
  position: relative; z-index: 5;
  width: calc(100% - 8%); margin: 60px auto 50px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.jh-post { display: flex; flex-direction: column; color: var(--jh-ink) !important; }
.jh-post__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--jh-ivory); }
.jh-post__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s; }
.jh-post:hover .jh-post__img img { transform: scale(1.05); }
.jh-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 12px; color: var(--jh-muted); }
.jh-post__cat { padding: 0 12px; border-radius: 999px; background: var(--jh-stone); color: var(--jh-ink); line-height: 1.9; }
.jh-post__ttl { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.jh-post:hover .jh-post__ttl { color: var(--jh-bronze-tx); }
.jh-post__ex { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--jh-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ============ 13. 流れる文字 ============ */
.jh-marquee { padding-top: 110px; background: var(--jh-deep); overflow: hidden; }
.jh-marquee__track {
  position: relative; z-index: 6;
  display: flex; width: max-content;
  font-family: var(--jh-sans); font-weight: 900;
  font-size: min(9vw, 130px); line-height: 1.1; color: #fff; white-space: nowrap;
  animation: jh-marquee 40s linear infinite;
}
.jh-marquee__track span { display: block; }
@keyframes jh-marquee { to { transform: translateX(-50%); } }
.jh-marquee__visual {
  margin-top: -50px; height: 600px;
  clip-path: polygon(0 0, 84% 0, 100% 38%, 100% 100%, 16% 100%, 0 70%);
  overflow: hidden;
}
.jh-marquee__visual img { width: 100%; height: 100% !important; object-fit: cover; }

/* ============ scroll reveal (JS thêm .jh-js vào .jh) ============ */
.jh.jh-js .jh-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.jh.jh-js .jh-reveal.is-in { opacity: 1; transform: none; }
.jh.jh-js .jh-slash { transform: var(--jh-rot, none) scaleX(0); transition: transform 1.4s cubic-bezier(.6,0,.2,1); }
.jh.jh-js .jh-slash.is-in { transform: var(--jh-rot, none) scaleX(1); }
.jh-slash--hero { --jh-rot: rotate(46deg); }
.jh-slash--about { --jh-rot: rotate(-45deg); }
.jh-slash--industry { --jh-rot: rotate(135deg); }
.jh-slash--faq { --jh-rot: rotate(45deg); }
.jh-slash--case { --jh-rot: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .jh.jh-js .jh-reveal, .jh.jh-js .jh-slash { opacity: 1; transform: var(--jh-rot, none); transition: none; }
  .jh-marquee__track { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .jh-hero { padding-bottom: 90px; }
  .jh-hero__row { flex-wrap: wrap; }
  .jh-hero__lead { flex: 1 1 320px; }
  .jh-hero__visual { flex-basis: 100%; max-width: 560px; margin: 40px 0 0; }
  .jh-numbers__list { padding: 20px 40px; }
  .jh-numbers__row { grid-template-columns: 160px 200px 1fr; }
  .jh-about__side { display: none; }
  .jh-about { min-height: 0; }
  .jh-about__body { width: 80%; }
  .jh-card { min-height: 440px; padding: 34px 30px; }
  .jh-ind { width: 88%; }
  .jh-ind__grid { grid-template-columns: repeat(5, 1fr); }
  .jh-posts { grid-template-columns: repeat(2, 1fr); }
  .jh-seminar { grid-template-columns: 1fr; }
  .jh-seminar__img img { aspect-ratio: 16 / 7; }
}

@media (max-width: 849px) {
  .jh { --jh-col: 88%; --jh-gutter: 6%; font-size: 14px; }
  .jh::before {
    background:
      linear-gradient(var(--jh-line), var(--jh-line)) 6% 0 / 1px 100% no-repeat,
      linear-gradient(var(--jh-line), var(--jh-line)) 50% 0 / 1px 100% no-repeat,
      linear-gradient(var(--jh-line), var(--jh-line)) 94% 0 / 1px 100% no-repeat;
  }
  .jh .sp { display: inline; }
  .jh-btn { min-width: 240px; min-height: 56px; padding-left: 32px; }
  .jh-btns { flex-direction: column; align-items: stretch; }
  .jh-btns--center { align-items: center; }

  .jh-hero { padding: 60px 0 70px; }
  .jh-hero__catch { padding-right: 6%; }
  .jh-hero__big { margin-top: 24px; padding-left: 5%; font-size: 17vw; }
  .jh-hero__row { flex-direction: column; padding: 0 6% 0 5%; }
  .jh-hero__big-sm { font-size: 10vw; }
  .jh-hero__lead { width: auto; margin-top: 26px; }
  .jh-hero__lead p { font-size: 14px; line-height: 2.1; }
  .jh-hero__visual { max-width: none; margin-top: 34px; }
  .jh-hero__vertical { display: none; }
  .jh-slash--hero { left: 40%; width: 600px; }

  .jh-numbers { padding: 50px 0 60px; clip-path: polygon(0 0, 60% 0, 68% 40px, 100% 40px, 100% 100%, 0 100%); }
  .jh-numbers__big { font-size: 28px; }
  .jh-numbers__list { width: 88%; padding: 6px 22px; }
  .jh-numbers__row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .jh-numbers__tag { justify-self: start; padding: 0 14px; }
  .jh-numbers__num { font-size: 46px; }

  .jh-about { padding: 70px 0 90px; }
  .jh-slash--about { display: none; }
  .jh-about__body { width: 100%; padding: 0 6%; }
  .jh-about__txt { text-align: left; line-height: 2.2; font-size: 14px; }

  .jh-feature { padding-bottom: 80px; }
  .jh-feature__visual { height: 320px; }
  .jh-feature__inner { margin-top: -60px; }
  .jh-feature__big { font-size: 13vw; }
  .jh-feature__ttl { margin-top: 20px; padding-right: 6%; }
  .jh-feature__groups { grid-template-columns: 1fr; width: 88%; row-gap: 46px; }
  .jh-feature__tag { font-size: 15px; }

  .jh-industry { padding-top: 90px; }
  .jh-industry__deco { top: 130px; font-size: 24vw; }
  .jh-industry__cards { grid-template-columns: 1fr; width: 100%; margin-top: 50px; }
  .jh-card { min-height: 340px; }
  .jh-industry__band { width: 100%; margin-top: 0; padding: 50px 0 60px; }
  .jh-ind__tabs button { padding: 12px 14px; font-size: 13px; }
  .jh-ind__grid { grid-template-columns: repeat(3, 1fr); padding: 24px 12px; gap: 20px 8px; }
  .jh-ind__grid img { width: 62px; height: 62px; }
  .jh-ind__grid li { font-size: 12px; }
  .jh-ind__icon { width: 52px; height: 52px; font-size: 14px; }
  .jh-bar { display: none; }

  .jh-point { grid-template-columns: 1fr; padding: 80px 0 20px; }
  .jh-point__img { height: 240px; clip-path: none; }
  .jh-point__body { padding: 40px 6% 0; }

  .jh-process { padding: 80px 0 90px; }
  .jh-process__steps { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .jh-process__deco { padding: 0 6%; font-size: 8vw; margin-top: 60px; }

  .jh-faq { padding: 70px 0 80px; }
  .jh-slash--faq, .jh-slash--industry { display: none; }
  .jh-faq__tabs { gap: 4px 18px; }
  .jh-faq__tabs button { font-size: 13px; }
  .jh-faq__list summary { padding: 16px 44px 16px 50px; font-size: 14px; }
  .jh-faq__list summary::before { left: 16px; top: 15px; }
  .jh-faq__list summary::after { right: 18px; }
  .jh-faq__list details > div { padding: 0 20px 20px 50px; }
  .jh-faq__list details > div::before { left: 16px; }

  .jh-case { padding: 90px 0 90px; }
  .jh-case__visual { width: 100%; }
  .jh-case__body { margin-top: 60px; }
  .jh-case__gallery { grid-template-columns: 1fr 1fr; }

  .jh-country { padding-top: 80px; }
  .jh-country__cards { grid-template-columns: 1fr; gap: 40px; padding: 0 6% 100px; }
  .jh-pcard__img { height: 300px; }
  .jh-pcard__box { margin: -60px 0 0 24px; padding: 30px 26px; }
  .jh-country__wedge { width: 60%; height: 70px; }

  .jh-contact { padding: 80px 0 90px; }
  .jh-contact__cards { grid-template-columns: 1fr; }
  .jh-ccard { padding: 36px 26px; }
  .jh-seminar__body { padding: 36px 26px; }

  .jh-blog { padding: 80px 0 80px; }
  .jh-posts { grid-template-columns: 1fr; width: 88%; gap: 36px; }

  .jh-marquee { padding-top: 60px; }
  .jh-marquee__track { font-size: 14vw; }
  .jh-marquee__visual { height: 300px; margin-top: -24px; }
}

@media (max-width: 480px) {
  .jh-process__steps { grid-template-columns: 1fr; }
}

/* ============ Ghi chú bảng màu "Indigo × Champagne" ============
   - 60/30/10: trắng + ivory (60) / navy + deep (30) / đồng-champagne (10).
   - Navy lấy cùng hue logo để trang và logo là một hệ; đồng/champagne là
     phiên bản trầm của cam logo — sắc ấm tạo cảm giác cao cấp, trang trọng
     (gần sắc 紺 kon + 金茶 kincha quen thuộc với doanh nghiệp Nhật).
   - Đồng #b08d57 chỉ đạt 3.1:1 -> chỉ dùng cho đường kẻ và chữ trang trí
     cỡ lớn (>=24px). Chữ nhấn cỡ thường dùng --jh-bronze-tx (>=4.5:1).
   - Ảnh giữ màu gốc; chỉ dùng gradient tối ở mép nơi có chữ trắng đè lên.
*/

/* thẻ ngành dùng biểu tượng (không có ảnh thật theo ngành -> không dùng ảnh stock) */
.jh-card--icon { background: var(--jh-navy); justify-content: flex-end; }
.jh-card--icon img {
  position: absolute; inset: auto; top: 38px; left: 45px; width: 96px !important; height: 96px !important;
  object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; opacity: 1;
}
.jh-card--icon::after { background: linear-gradient(180deg, rgba(14,24,38,0) 0%, rgba(14,24,38,.35) 100%); }
.jh-card--icon:hover img { transform: scale(1.06); opacity: 1; }
.jh-card--icon:nth-child(even) { background: var(--jh-deep); }
@media (max-width: 849px) { .jh-card--icon img { top: 28px; left: 30px; width: 80px !important; height: 80px !important; } }
