/* YEC JP layout — Japanese job-site style. Scoped under .yj so Civi dashboards are untouched. */
body.yecjp-on header.site-header,
body.yecjp-on footer.site-footer,
body.yecjp-on .page-title,
body.yecjp-on .civi-breadcrumb,
body.yecjp-on .alert-form { display: none !important; } /* .alert-form: Civi's floating Job Alert box covered the job cards */
body.yecjp-on #content.site-content { padding: 0; margin: 0; max-width: none; }
body.yecjp-on { background: #f4f6f9; }

.yj {
  --yj-primary: #0b57a4;
  --yj-primary-dark: #08427d;
  --yj-accent: #f0641e;
  --yj-accent-dark: #d4530f;
  --yj-ink: #1f2933;
  --yj-sub: #5b6672;
  --yj-line: #dfe4ea;
  --yj-bg: #f4f6f9;
  --yj-card: #fff;
  --yj-tint: #eaf2fb;
  color: var(--yj-ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, "Noto Sans Myanmar", "Pyidaungsu", "Myanmar Text", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  background: var(--yj-bg);
}
.yecjp-lang-vi .yj, .yecjp-lang-id .yj, .yecjp-lang-vi .yj input, .yecjp-lang-vi .yj select, .yecjp-lang-vi .yj button, .yecjp-lang-vi .yj textarea { font-family: "Noto Sans", "Segoe UI", system-ui, "Noto Sans JP", Meiryo, sans-serif; }
.yj-lang a[lang=vi], .yj-lang a[lang=id] { font-family: "Noto Sans", "Segoe UI", sans-serif; }
.yecjp-lang-my .yj { font-family: "Noto Sans Myanmar", "Pyidaungsu", "Myanmar Text", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, system-ui, sans-serif; line-height: 1.9; }
.yj *, .yj *::before, .yj *::after { box-sizing: border-box; }
.yj a { color: var(--yj-primary); text-decoration: none; }
.yj a:hover { text-decoration: underline; }
.yj ul { list-style: none; margin: 0; padding: 0; }
.yj h1, .yj h2, .yj h3, .yj h4, .yj p { margin: 0; }
.yj-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* buttons */
.yj .yj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 18px; border-radius: 6px; border: 1px solid transparent; font-weight: 700; font-size: 14px; line-height: 1.3; cursor: pointer; text-decoration: none; white-space: nowrap; }
.yj .yj-btn--primary { background: var(--yj-primary); color: #fff; }
.yj .yj-btn--primary:hover { background: var(--yj-primary-dark); text-decoration: none; }
.yj .yj-btn--accent { background: var(--yj-accent); color: #fff; }
.yj .yj-btn--accent:hover { background: var(--yj-accent-dark); text-decoration: none; }
.yj .yj-btn--ghost { background: #fff; color: var(--yj-primary); border-color: var(--yj-primary); }
.yj .yj-btn--ghost:hover { background: var(--yj-tint); text-decoration: none; }
.yj .yj-btn--lg { min-height: 48px; padding: 10px 28px; font-size: 16px; }
.yj .yj-btn--block { display: flex; width: 100%; }
.yj .yj-link { font-size: 13px; color: var(--yj-sub); }

/* preview strip */
.yj-preview { background: #fff4d6; color: #6b4a00; text-align: center; font-size: 12px; padding: 4px 8px; border-bottom: 1px solid #f0d98a; }

/* header */
.yj-header { background: #fff; border-bottom: 2px solid var(--yj-primary); }
.yj-util { background: #f0f3f7; font-size: 12px; color: var(--yj-sub); }
.yj-util__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; flex-wrap: wrap; }
.yj-util__links { display: flex; align-items: center; gap: 16px; }
.yj-util__links a { color: var(--yj-sub); }
.yj-lang { display: inline-flex; border: 1px solid var(--yj-line); border-radius: 4px; overflow: hidden; background: #fff; }
.yj-lang a { padding: 1px 10px; border-left: 1px solid var(--yj-line); }
.yj-lang a:first-child { border-left: 0; }
.yj-lang a.is-on { background: var(--yj-primary); color: #fff; }
.yj-lang a { line-height: 1.9; white-space: nowrap; }
.yj-lang a[lang=my] { font-family: "Noto Sans Myanmar", "Pyidaungsu", "Myanmar Text", "Myanmar Sangam MN", sans-serif; }
.yj-loggedout { display: inline-flex; align-items: center; gap: 10px; }
.yj-lang a[lang=ja] { font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
/* Burmese labels are longer: tighten the header so logo, menu and account stay on one line. */
.yecjp-lang-my .yj-head { column-gap: 16px; }
.yecjp-lang-my .yj .yj-logo { font-size: 18px; }
.yecjp-lang-my .yj-nav { gap: 6px 12px; }
.yecjp-lang-my .yj .yj-nav a { font-size: 13px; white-space: nowrap; }
.yj-head { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.yj .yj-logo { font-size: 20px; font-weight: 800; color: var(--yj-primary); letter-spacing: .01em; }
.yj .yj-logo:hover { text-decoration: none; }
.yj-nav { display: flex; gap: 22px; flex: 1; flex-wrap: wrap; }
.yj .yj-nav a { color: var(--yj-ink); font-weight: 700; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; }
.yj .yj-nav a:hover { color: var(--yj-primary); border-bottom-color: var(--yj-primary); text-decoration: none; }
.yj-account { display: flex; align-items: center; gap: 10px; }

/* hero + search */
.yj-hero { background: var(--yj-primary); color: #fff; padding: 32px 0 36px; }
.yj-hero__title { font-size: 28px; font-weight: 800; line-height: 1.4; color: #fff; }
.yj-hero__sub { margin-top: 6px; font-size: 15px; opacity: .92; }
.yj-search { margin-top: 20px; background: #fff; color: var(--yj-ink); border-radius: 10px; padding: 18px 20px; }
.yj-search__count { font-size: 13px; color: var(--yj-sub); margin-bottom: 10px; }
.yj-search__count strong { font-size: 22px; color: var(--yj-accent); margin: 0 4px; }
.yj-search__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.yj-search__fields label { display: block; }
.yj-search__fields label > span, .yj-field > span { display: block; font-size: 12px; font-weight: 700; color: var(--yj-sub); margin-bottom: 4px; }
.yj-search__kw { grid-column: span 3; }
.yj .yj-search select, .yj .yj-search input[type=search], .yj .yj-filter select, .yj .yj-filter input[type=search] {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c5ccd6; border-radius: 6px; background: #fff; color: var(--yj-ink); font: inherit; font-size: 14px; }
.yj .yj-search select:focus, .yj .yj-search input:focus, .yj .yj-filter select:focus, .yj .yj-filter input:focus { outline: 2px solid var(--yj-primary); outline-offset: 1px; }
.yj-search__more { display: inline-block; margin-top: 10px; font-size: 13px; }

/* sections */
.yj-home { padding-top: 28px; padding-bottom: 40px; }
.yj-sec { background: var(--yj-card); border: 1px solid var(--yj-line); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.yj-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.yj .yj-h2 { font-size: 18px; font-weight: 800; padding-left: 10px; border-left: 4px solid var(--yj-primary); margin-bottom: 14px; line-height: 1.4; color: var(--yj-ink); }
.yj .yj-h2--gap { margin-top: 22px; }
.yj .yj-h1 { font-size: 22px; font-weight: 800; color: var(--yj-ink); }
.yj-more { font-size: 13px; white-space: nowrap; }
.yj-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.yj-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.yj .yj-tiles a { display: flex; align-items: center; min-height: 52px; padding: 8px 14px; border: 1px solid var(--yj-line); border-radius: 8px; background: #fff; color: var(--yj-ink); font-weight: 700; font-size: 14px; line-height: 1.4; }
.yj .yj-tiles a:hover { border-color: var(--yj-primary); background: var(--yj-tint); color: var(--yj-primary); text-decoration: none; }
.yj-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.yj-area { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--yj-line); }
.yj .yj-area h3 { font-size: 14px; font-weight: 800; }
.yj-area ul { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.yj-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.yj .yj-pills a { display: inline-block; padding: 6px 14px; border: 1px solid var(--yj-line); border-radius: 999px; background: #fff; color: var(--yj-ink); font-size: 13px; line-height: 1.5; }
.yj .yj-pills a:hover { border-color: var(--yj-primary); color: var(--yj-primary); background: var(--yj-tint); text-decoration: none; }
.yj-empty { color: var(--yj-sub); padding: 16px 0; }

/* cards */
.yj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yj-cards { display: grid; gap: 14px; }
.yj-card { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 16px 18px; }
.yj-card__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--yj-sub); min-height: 22px; }
.yj-card__company { font-weight: 700; color: var(--yj-sub); }
.yj .yj-card__title { font-size: 17px; font-weight: 800; line-height: 1.5; margin: 4px 0 8px; }
.yj .yj-card__title a { color: var(--yj-primary); }
.yj-card--compact .yj-card__title { font-size: 15px; }
.yj-badge { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; line-height: 1.6; }
.yj-badge--new { background: #e0312f; color: #fff; }
.yj-badge--closed { background: #e6e9ee; color: #55606c; }
.yj-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.yj-chips:empty { display: none; }
.yj-chip { display: inline-block; padding: 1px 9px; border-radius: 4px; font-size: 12px; line-height: 1.7; border: 1px solid var(--yj-line); background: #f7f9fb; color: var(--yj-sub); }
.yj-chip--type { background: var(--yj-tint); border-color: #bcd5f0; color: var(--yj-primary-dark); font-weight: 700; }
.yj-chip--jlpt { background: #fff1e6; border-color: #f6c9a6; color: #9a430b; font-weight: 700; }
.yj-rows { margin: 0; border-top: 1px solid var(--yj-line); }
.yj-rows > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--yj-line); font-size: 14px; }
.yj-rows dt { font-weight: 700; color: var(--yj-sub); font-size: 13px; margin: 0; }
.yj-rows dd { margin: 0; }
.yj-card--compact .yj-rows > div { grid-template-columns: 76px 1fr; font-size: 13px; }
.yj-salary { font-weight: 800; color: #c0392b; }
.yj-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.yj-card__date { font-size: 12px; color: var(--yj-sub); }

/* CTA bands */
.yj-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff7f1; border: 1px solid #f6c9a6; border-radius: 10px; padding: 22px 24px; margin-bottom: 20px; }
.yj .yj-cta h2 { font-size: 19px; font-weight: 800; line-height: 1.5; color: var(--yj-ink); }
.yj-cta p { color: var(--yj-sub); font-size: 14px; }
.yj-cta--emp { background: var(--yj-tint); border-color: #bcd5f0; }

/* articles */
.yj-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yj .yj-article { display: flex; flex-direction: column; gap: 6px; color: var(--yj-ink); }
.yj-article img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.yj-article__title { font-weight: 700; line-height: 1.5; }
.yj-article__date { font-size: 12px; color: var(--yj-sub); }

/* list page */
.yj-crumbs { font-size: 12px; color: var(--yj-sub); padding: 14px 0; }
.yj-list { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 40px; }
.yj-filter { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 16px; }
.yj .yj-side__title { font-size: 16px; font-weight: 800; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--yj-primary); color: var(--yj-ink); }
.yj-field { display: block; margin-bottom: 12px; }
.yj-fgroup { border: 0; border-top: 1px solid var(--yj-line); margin: 0 0 4px; padding: 12px 0 8px; min-width: 0; }
.yj-fgroup legend { font-size: 13px; font-weight: 800; padding: 0 6px 0 0; color: var(--yj-ink); }
.yj-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; }
.yj-check input { margin-top: 5px; flex: none; width: 16px; height: 16px; }
.yj-filter__clear { display: block; text-align: center; margin-top: 10px; font-size: 13px; }
.yj-results__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.yj-results__count { font-size: 14px; color: var(--yj-sub); }
.yj-results__count strong { font-size: 22px; color: var(--yj-accent); margin-right: 2px; }
.yj-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.yj .yj-active a { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--yj-tint); border: 1px solid #bcd5f0; font-size: 13px; color: var(--yj-primary-dark); }
.yj-pager { display: flex; justify-content: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.yj .yj-pager a, .yj-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--yj-line); border-radius: 6px; background: #fff; font-size: 14px; }
.yj-pager span.is-on { background: var(--yj-primary); border-color: var(--yj-primary); color: #fff; font-weight: 700; }

/* detail page */
.yj-detail { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; padding-bottom: 24px; }
.yj-job { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 24px; }
.yj .yj-job__title { font-size: 24px; font-weight: 800; line-height: 1.45; margin: 6px 0 10px; color: var(--yj-ink); }
.yj-job__date { font-size: 12px; color: var(--yj-sub); margin-top: 8px; }
.yj-points { background: #fffbea; border: 1px solid #efdf9e; border-radius: 8px; padding: 14px 16px; margin: 18px 0 0; }
.yj .yj-points h2 { font-size: 15px; font-weight: 800; margin-bottom: 4px; color: var(--yj-ink); }
.yj-tabs { display: flex; flex-wrap: wrap; margin: 22px 0 0; border: 1px solid var(--yj-line); border-radius: 8px; overflow: hidden; }
.yj .yj-tabs a { flex: 1; text-align: center; padding: 10px 8px; font-size: 14px; font-weight: 700; color: var(--yj-ink); background: #f7f9fb; border-left: 1px solid var(--yj-line); white-space: nowrap; }
.yj .yj-tabs a:first-child { border-left: 0; }
.yj .yj-tabs a:hover { background: var(--yj-tint); color: var(--yj-primary); text-decoration: none; }
.yj-block { margin-top: 28px; scroll-margin-top: 16px; }
.yj-content { font-size: 15px; }
.yj-content p { margin: 0 0 1em; }
.yj-content ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.yj-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.yj-content img { max-width: 100%; height: auto; }
.yj-table { width: 100%; border-collapse: collapse; border: 1px solid var(--yj-line); font-size: 14px; }
.yj-table:empty { display: none; }
.yj-table th, .yj-table td { border: 1px solid var(--yj-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.yj-table th { width: 170px; background: #f2f5f9; font-weight: 700; color: var(--yj-ink); }
.yj-apply { margin-top: 16px; padding: 18px; background: #fff7f1; border: 1px solid #f6c9a6; border-radius: 8px; text-align: center; }
.yj-closed { font-weight: 800; color: #55606c; text-align: center; padding: 8px 0; }
.yj-aside { position: sticky; top: 16px; }
.yj-aside__box { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 16px; display: grid; gap: 10px; }
.yj-aside__title { font-weight: 800; line-height: 1.5; }

/* footer */
.yj-footer { background: #26313d; color: #cfd6de; padding: 32px 0 20px; margin-top: 20px; font-size: 13px; }
.yj-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.yj .yj-footer h4 { color: #fff; font-size: 14px; font-weight: 800; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #44505d; }
.yj .yj-footer ul + h4 { margin-top: 18px; }
.yj .yj-footer a { color: #cfd6de; }
.yj .yj-footer a:hover { color: #fff; }
.yj-footer li { padding: 2px 0; }
.yj-footer .yj-inline { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.yj-copy { margin-top: 24px; padding-top: 14px; border-top: 1px solid #44505d; text-align: center; font-size: 12px; color: #9aa5b1; }

/* ---------- save (気になる) ---------- */
.yj .yj-keep { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; min-height: 28px; border: 1px solid var(--yj-line); border-radius: 999px; background: #fff; color: var(--yj-sub); font-size: 12px; font-weight: 700; line-height: 1.4; cursor: pointer; font-family: inherit; }
.yj .yj-keep:hover { border-color: var(--yj-accent); color: var(--yj-accent-dark); }
.yj-keep__icon::before { content: "\2661"; font-size: 14px; }
.yj .yj-keep.is-on { background: #fff1e6; border-color: #f6c9a6; color: var(--yj-accent-dark); }
.yj-keep.is-on .yj-keep__icon::before { content: "\2665"; }
.yj-keep--card { margin-left: auto; }
.yj .yj-keep--block { width: 100%; justify-content: center; min-height: 40px; border-radius: 6px; font-size: 14px; }
.yj-keeppage { padding-bottom: 32px; }
.yj-sec--gap { margin-top: 24px; }
.yj-note { font-size: 13px; color: var(--yj-sub); margin: 0 0 14px; }

/* ---------- guide ---------- */
.yj-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yj .yj-guide { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--yj-line); border-radius: 8px; background: #fff; color: var(--yj-ink); }
.yj .yj-guide:hover { border-color: var(--yj-primary); background: var(--yj-tint); text-decoration: none; }
.yj-guide__title { font-weight: 800; color: var(--yj-primary); line-height: 1.5; }
.yj-guide__lead { font-size: 13px; color: var(--yj-sub); }
.yj-guides--list { margin-top: 18px; }
.yj-doc__lead { color: var(--yj-sub); font-size: 15px; }
.yj-doc .yj-block { margin-top: 22px; }
.yj-doc .yj-note { margin-top: 24px; padding: 12px 14px; background: #fffbea; border: 1px solid #efdf9e; border-radius: 8px; color: var(--yj-ink); }
.yj-doc__cta { margin-top: 24px; text-align: center; }
.yj-toc li { border-top: 1px solid var(--yj-line); }
.yj .yj-toc a { display: block; padding: 8px 2px; font-size: 14px; line-height: 1.5; }
.yj .yj-toc li.is-on a { font-weight: 800; color: var(--yj-ink); }

.yj .yj-guide--practice { background: #fff7f1; border-color: #f6c9a6; }
.yj-guide--practice .yj-guide__title { color: var(--yj-accent-dark); }
.yj-doc__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- interview practice ---------- */
.yj-pr { margin-top: 20px; }
.yj-pr__step { font-size: 13px; font-weight: 700; color: var(--yj-sub); }
.yj-pr__bar { height: 6px; background: var(--yj-line); border-radius: 3px; overflow: hidden; margin: 6px 0 16px; }
.yj-pr__bar span { display: block; height: 100%; background: var(--yj-primary); }
.yj-pr__msg { position: relative; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; max-width: 92%; }
.yj-pr__msg--emp { background: var(--yj-tint); border: 1px solid #bcd5f0; }
.yj-pr__msg--you { background: #fff7f1; border: 1px solid #f6c9a6; margin-left: auto; }
.yj-pr__who { display: block; font-size: 12px; font-weight: 800; color: var(--yj-sub); margin-bottom: 2px; }
.yj-pr__text { font-size: 17px; font-weight: 700; line-height: 1.7; }
.yj-pr__sub { font-size: 14px; color: var(--yj-sub); margin-top: 4px; }
.yj .yj-pr__listen { margin-top: 8px; padding: 3px 12px; border: 1px solid var(--yj-line); border-radius: 999px; background: #fff; font-size: 13px; cursor: pointer; font-family: inherit; color: var(--yj-primary); }
.yj-pr__modeltag { display: inline-block; font-size: 11px; background: var(--yj-accent); color: #fff; border-radius: 4px; padding: 0 8px; margin-bottom: 4px; }
.yj-pr__label { display: block; font-size: 13px; font-weight: 700; color: var(--yj-sub); }
.yj .yj-pr__input { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--yj-line); border-radius: 8px; font-size: 16px; font-family: inherit; line-height: 1.6; resize: vertical; }
.yj-pr__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin: 12px 0 16px; }
.yj-pr__point { background: #fffbea; border: 1px solid #efdf9e; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.yj-pr__sum { border-top: 1px solid var(--yj-line); padding: 12px 0; }
.yj-pr__sumq { font-weight: 800; }
.yj-pr__summine { margin: 4px 0; white-space: pre-wrap; }
.yj-pr__summodel { font-size: 14px; color: var(--yj-sub); }

/* ---------- employer page ---------- */
.yj-emp__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.yj-hero--emp .yj-btn--ghost { border-color: #fff; }
.yj-cta .yj-emp__btns { margin-top: 0; }
.yj-merits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yj-merit { border: 1px solid var(--yj-line); border-radius: 8px; padding: 16px; background: #fff; }
.yj-merit__no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yj-primary); color: #fff; font-weight: 800; font-size: 14px; }
.yj .yj-merit h3 { font-size: 16px; font-weight: 800; margin: 8px 0 6px; line-height: 1.5; color: var(--yj-ink); }
.yj-merit p { font-size: 14px; color: var(--yj-sub); }
.yj-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; counter-reset: none; }
.yj-flow li { background: var(--yj-tint); border: 1px solid #bcd5f0; border-radius: 8px; padding: 12px 14px; font-weight: 700; font-size: 14px; line-height: 1.5; }
.yj-flow__no { display: block; font-size: 11px; font-weight: 800; color: var(--yj-primary); letter-spacing: .05em; }
.yj .yj-bullets { list-style: disc; padding-left: 1.4em; font-size: 14px; }
.yj-bullets li { padding: 3px 0; }

/* ---------- company page ---------- */
.yj-co__head { display: flex; align-items: center; gap: 16px; }
.yj-co__logo { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--yj-line); border-radius: 8px; background: #fff; flex: none; }
.yj-co__biz { color: var(--yj-sub); font-size: 14px; }

/* ---------- phase 3: my conditions, match, alerts, interview times, translations, visa check ---------- */
.yj-narrow { max-width: 760px; padding-bottom: 48px; }
.yj-lead { margin: 8px 0 18px; color: var(--yj-sub); font-size: 15px; }
.yj-notice { padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; font-size: 14px; border: 1px solid; }
.yj-notice--ok { background: #ecf8f0; border-color: #a9dcb9; color: #1d5e33; }
.yj-notice--warn { background: #fffbea; border-color: #efdf9e; color: #5c4400; }
.yj-notice--ng { background: #fdeeee; border-color: #f2b8b5; color: #8a1f1b; }
.yj-form { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 20px; }
.yj .yj-form select, .yj .yj-form input[type=date], .yj .yj-alertbox input[type=email], .yj .yj-ivpick textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #c5ccd6; border-radius: 6px; background: #fff; color: var(--yj-ink); font: inherit; font-size: 15px; }
.yj-form__note { font-size: 13px; color: var(--yj-sub); margin: 4px 0 14px; }
.yj-form__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.yj-more-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.yj-match { display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; line-height: 1.6; }
.yj-match--ok { background: #1e9b55; color: #fff; }
.yj-match--ng { background: #e6e9ee; color: #8a1f1b; }
.yj-mbox { margin-top: 12px; background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 14px; font-size: 14px; }
.yj-mbox p { margin: 0 0 8px; }
.yj-mbox--ok { border-color: #a9dcb9; background: #f4fbf6; }
.yj-mbox--ng { border-color: #f2b8b5; background: #fff8f8; }
.yj-mbox__head { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; color: var(--yj-sub); }
.yj-mbox__head a { font-weight: 400; }
.yj-mbox__me { font-weight: 700; }
.yj-mbox ul { margin: 0; padding: 0; }
.yj-mbox li { padding: 2px 0 2px 22px; position: relative; }
.yj-mbox li::before { position: absolute; left: 0; font-weight: 800; }
.yj-mbox li.is-ok::before { content: "✓"; color: #1e9b55; }
.yj-mbox li.is-ng::before { content: "✕"; color: #c0392b; }
.yj-mbox__none { color: var(--yj-sub); }
.yj-mebar { font-size: 14px; margin: 4px 0 12px; color: var(--yj-sub); }
.yj-mebar:empty { display: none; }
.yj .yj-mebar__go { display: inline-block; font-weight: 700; background: #ecf8f0; border: 1px solid #a9dcb9; color: #1d5e33; border-radius: 999px; padding: 4px 14px; }
.yj-alertbox { margin-top: 24px; background: var(--yj-tint); border: 1px solid #bcd5f0; border-radius: 10px; padding: 16px; }
.yj-alertbox__title { font-weight: 800; margin: 0 0 4px; }
.yj-alertbox__cond, .yj-alertbox__note { font-size: 13px; color: var(--yj-sub); margin: 0 0 8px; }
.yj-alertbox__note { margin: 8px 0 0; }
.yj-alertbox__row { display: flex; gap: 8px; }
.yj-alertbox__row input { flex: 1; min-width: 0; }
.yj-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yj .yj-apply__civi .civi-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 40px; border: 0; border-radius: 6px; background: var(--yj-accent); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; }
.yj .yj-apply__civi .civi-button:hover { background: var(--yj-accent-dark); color: #fff; }
.yj .yj-apply__civi .button-disbale { background: #e6e9ee; color: #55606c; }
.yj-ivpick { text-align: left; background: #fff7f1; border: 1px solid #f6c9a6; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.yj-ivpick fieldset { border: 0; margin: 0 0 10px; padding: 0; min-width: 0; }
.yj-ivpick legend { font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.yj-ivpick__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.yj-ivpick__note { font-size: 13px; color: var(--yj-sub); margin: 6px 0 0; }
.yj .yj-job__orig { font-size: 13px; color: var(--yj-sub); margin: 4px 0 0; }
.yj-trnote { font-size: 13px; color: #5c4400; background: #fffbea; border: 1px solid #efdf9e; border-radius: 6px; padding: 6px 10px; margin: 0 0 12px; }
.yj-orig { margin-top: 10px; border: 1px solid var(--yj-line); border-radius: 8px; padding: 8px 12px; background: #fafbfc; }
.yj-orig summary { cursor: pointer; font-weight: 700; color: var(--yj-primary); font-size: 14px; }
.yj-orig .yj-content { margin-top: 8px; }
.yj-ck { background: #fff; border: 1px solid var(--yj-line); border-radius: 12px; padding: 22px; min-height: 220px; }
.yj-ck__step { font-size: 13px; font-weight: 800; color: var(--yj-primary); margin: 0 0 4px; }
.yj .yj-ck__q, .yj .yj-ck__title { font-size: 19px; font-weight: 800; line-height: 1.6; margin: 0 0 14px; color: var(--yj-ink); }
.yj-ck__opts { display: grid; gap: 8px; }
.yj .yj-ck__opt { text-align: left; padding: 12px 16px; border: 1px solid #c5ccd6; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: var(--yj-ink); cursor: pointer; }
.yj .yj-ck__opt:hover, .yj .yj-ck__opt:focus { border-color: var(--yj-primary); background: var(--yj-tint); }
.yj-ck__back { margin-top: 14px; }
.yj-ck__label { display: inline-block; background: var(--yj-accent); color: #fff; font-size: 12px; font-weight: 800; border-radius: 4px; padding: 1px 10px; margin: 0 0 8px; }
.yj .yj-ck__h { font-size: 15px; font-weight: 800; margin: 16px 0 6px; color: var(--yj-ink); }
.yj .yj-ck__h--warn { color: #8a1f1b; }
.yj .yj-ck__steps { list-style: decimal; padding-left: 1.5em; margin: 0; }
.yj .yj-ck__warns { list-style: disc; padding-left: 1.5em; margin: 0; }
.yj-ck__steps li, .yj-ck__warns li { padding: 4px 0; line-height: 1.75; }
.yj-ck__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.yj-ck__disc { font-size: 13px; color: var(--yj-sub); margin-top: 14px; }

/* ---------- phase 4: tools, guest apply, resume ---------- */
.yj .yj-form input[type=text], .yj .yj-form input[type=number], .yj .yj-form input[type=email], .yj .yj-form input[type=tel], .yj .yj-form input:not([type]), .yj .yj-form textarea,
.yj .yj-guest input[type=text], .yj .yj-guest input[type=email], .yj .yj-guest input[type=tel], .yj .yj-guest input[type=date], .yj .yj-guest select, .yj .yj-guest textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #c5ccd6; border-radius: 6px; background: #fff; color: var(--yj-ink); font: inherit; font-size: 15px; }
.yj-pay__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.yj-payres { margin-top: 18px; }
.yj .yj-paytable td { text-align: right; white-space: nowrap; }
.yj .yj-paytable thead th { background: var(--yj-tint); }
.yj .yj-paynet th, .yj .yj-paynet td { font-weight: 800; font-size: 17px; color: var(--yj-accent); background: #fff7f1; }
.yj .yj-paylink { display: inline-block; margin: 2px 0 10px; font-size: 13px; font-weight: 700; }
.yj-sd__card { display: flex; gap: 14px; border: 1px solid var(--yj-line); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: #fff; }
.yj-sd__rank { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yj-accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.yj .yj-sd__name { font-size: 18px; font-weight: 800; margin: 0 0 4px; color: var(--yj-ink); }
.yj-sd__card p { font-size: 14px; color: var(--yj-sub); margin: 0 0 6px; }
.yj-sd__ssw { display: inline-block; font-size: 12px; font-weight: 700; background: #ecf8f0; color: #1d5e33; border: 1px solid #a9dcb9; border-radius: 999px; padding: 1px 10px; margin-right: 10px; }
.yj .yj-sd__go { font-weight: 700; font-size: 14px; }
.yj-guest { text-align: left; background: #fff; border: 2px solid var(--yj-accent); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.yj .yj-guest__title { font-size: 18px; font-weight: 800; margin: 0 0 4px; color: var(--yj-accent); }
.yj-guest__lead { font-size: 14px; color: var(--yj-sub); margin: 0 0 10px; }
.yj-guest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.yj-guest__slots { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.yj-guest__slots legend { font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.yj-guest .yj-check { margin: 6px 0 12px; }
.yj-guest__or { font-size: 13px; color: var(--yj-sub); margin: 4px 0 6px; }
.yj-appinfo { margin-top: 6px; padding: 8px 12px; background: #eaf2fb; border-left: 3px solid #0b57a4; border-radius: 4px; font-size: 13px; line-height: 1.7; }
.yj-appinfo p { margin: 0 0 4px; }
.yj-apps__row { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.yj-apps__head { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; margin: 0; }
.yj-apps__head span { color: var(--yj-sub); }
.yj-photos { display: grid; gap: 8px; margin: 0 0 16px; }
.yj-photos--2 { grid-template-columns: 1fr 1fr; }
.yj-photos--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.yj-photos--3 .yj-photos__img:first-child { grid-row: 1 / 3; }
.yj-photos__img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; display: block; }
.yj-mkt { display: grid; gap: 8px; margin-top: 8px; }
.yj .yj-mkt__row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 110px 190px; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--yj-line); border-radius: 8px; padding: 10px 14px; color: var(--yj-ink); text-decoration: none; }
.yj .yj-mkt__row:hover { border-color: var(--yj-primary); text-decoration: none; }
.yj-mkt__name { font-weight: 700; } .yj-mkt__name small { color: var(--yj-sub); font-weight: 400; }
.yj-mkt__bar { height: 10px; background: var(--yj-line); border-radius: 5px; overflow: hidden; } .yj-mkt__bar i { display: block; height: 100%; background: var(--yj-primary); }
.yj-mkt__avg { font-weight: 800; color: var(--yj-accent); text-align: right; }
.yj-mkt__range { font-size: 12px; color: var(--yj-sub); text-align: right; }
.yj-mkt__filter { max-width: 280px; }
.yj-scoutset { border: 1px solid var(--yj-line); border-radius: 10px; padding: 12px 16px; margin: 6px 0 14px; }
.yj-scoutset legend { font-weight: 800; padding: 0 6px; }
.yj-apps__tools { margin-bottom: 18px; }
.yj-apps__tools .yj-btn { margin: 6px 6px 0 0; }
.yj-scoutsend { margin-top: 8px; } .yj-scoutsend summary { cursor: pointer; font-weight: 700; color: var(--yj-primary); }
.rs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 40px; }
.rs-wide { grid-column: 1 / -1; }
.rs-sub { font-weight: 800; font-size: 14px; margin: 12px 0 6px; }
.rs-row { display: grid; grid-template-columns: 76px 56px minmax(0, 1fr) 32px; gap: 6px; margin-bottom: 6px; }
.yj .rs-row input { min-height: 38px; padding: 6px 8px; border: 1px solid #c5ccd6; border-radius: 6px; font: inherit; font-size: 14px; width: 100%; }
.yj .rs-del { border: 1px solid var(--yj-line); background: #fff; border-radius: 6px; cursor: pointer; font-size: 16px; color: var(--yj-sub); }
.rs-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.yj .rs-ta { margin: 8px 0 6px; }
.rs-btns { margin-top: 18px; }
.rs-prev { position: sticky; top: 12px; }
.rs-paper { background: #fff; border: 1px solid var(--yj-line); box-shadow: 0 4px 16px rgba(0,0,0,.08); padding: 22px 24px; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; color: #111; font-size: 12px; }
.rp-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.rp-top h2 { font-size: 22px; letter-spacing: .3em; margin: 0; }
.rp { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.rp th, .rp td { border: 1px solid #333; padding: 5px 7px; vertical-align: top; text-align: left; font-weight: 400; line-height: 1.6; }
.rp th { background: #f3f3f3; }
.rp .c { text-align: center; width: 54px; } .rp .r { text-align: right; }
.rp-l { width: 72px; background: #fafafa; font-size: 11px; }
.rp-name { font-size: 20px; }
.rp-photo { width: 100px; height: 128px; text-align: center !important; vertical-align: middle !important; font-size: 10px; color: #777; }
.rp-photo img { width: 90px; height: 120px; object-fit: cover; display: block; margin: 0 auto; }
.rp-h td { height: 26px; }
.rp-box { min-height: 70px; height: 80px; }
.rp-small { height: 54px; }
@media print {
  body * { visibility: hidden !important; }
  .rs-paper, .rs-paper * { visibility: visible !important; }
  .rs-paper { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; font-size: 11pt; }
  @page { size: A4; margin: 12mm; }
}

/* Logo, menu and account buttons no longer fit on one line: give the menu its own single-line row. */
@media (max-width: 1100px) {
  .yj-account { margin-left: auto; }
  .yj-nav { order: 3; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .yj-nav::-webkit-scrollbar { display: none; }
  .yj .yj-nav a { flex: none; white-space: nowrap; }
}
@media (max-width: 900px) {
  .yj-search__fields { grid-template-columns: 1fr 1fr; }
  .yj-search__kw { grid-column: span 2; }
  .yj-search__fields .yj-btn { grid-column: span 2; }
  .yj-tiles { grid-template-columns: 1fr 1fr; }
  .yj-areas, .yj-two { grid-template-columns: 1fr; }
  .yj-grid, .yj-articles, .yj-guides, .yj-merits { grid-template-columns: 1fr; }
  .yj-flow { grid-template-columns: 1fr 1fr; }
  .yj-list, .yj-detail { grid-template-columns: 1fr; }
  .yj-aside { position: static; order: -1; }
  .yj-footer__cols { grid-template-columns: 1fr 1fr; }
  .yj-nav { order: 3; flex-basis: 100%; gap: 16px; }
  .yj-util__tag { display: none; }
  .yj-util__in { justify-content: flex-end; }
  .yj-util__links { flex-wrap: wrap; justify-content: flex-end; gap: 2px 14px; padding: 3px 0; }
  .yj-util__links > a { white-space: nowrap; }
  .yj-detail--doc .yj-aside { order: 0; }
}
@media (max-width: 560px) {
  .yj-hero__title { font-size: 22px; }
  .yj-search__fields { grid-template-columns: 1fr; }
  .yj-search__kw, .yj-search__fields .yj-btn { grid-column: auto; }
  .yj-area { grid-template-columns: 1fr; gap: 4px; }
  .yj-rows > div { grid-template-columns: 88px 1fr; }
  .yj-table th { width: 110px; }
  .yj-job { padding: 16px; }
  .yj .yj-job__title { font-size: 20px; }
  .yj-account .yj-btn { padding: 6px 10px; font-size: 13px; }
  .yj-ivpick__list { grid-template-columns: 1fr; }
  .yj-pay__grid, .yj-guest__grid, .rs, .rs-checks { grid-template-columns: 1fr; }
  .rs-prev { position: static; }
  .yj .yj-mkt__row { grid-template-columns: 1fr auto; }
  .yj-mkt__bar, .yj-mkt__range { grid-column: 1 / -1; }
  .yj-mkt__range { text-align: left; }
  .yj-alertbox__row { flex-direction: column; }
  .yj-ck { padding: 16px; }
}
/* trust: verified badge + agents */
.yj .yj-verified { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e6f4ea; color: #1e7a3f; font-size: 12px; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.yj-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.yj-agent { background: #fff; border: 1px solid var(--yj-line); border-radius: 10px; padding: 14px 16px; }
.yj-agent__name { font-weight: 800; margin: 0 0 4px; }
.yj-agent__kind { color: var(--yj-sub); font-size: 13px; margin: 0 0 8px; }
.yj-agent__dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 13px; margin: 0 0 6px; }
.yj-agent__dl dt { color: var(--yj-sub); }
.yj-agent__dl dd { margin: 0; }
.yj-agent__note { font-size: 13px; margin: 0 0 6px; }
/* extra languages: scripts + drop-down language menu */
.yecjp-lang-tl .yj, .yecjp-lang-tl .yj input, .yecjp-lang-tl .yj select, .yecjp-lang-tl .yj button { font-family: "Noto Sans", "Segoe UI", system-ui, "Noto Sans JP", sans-serif; }
.yecjp-lang-km .yj { font-family: "Noto Sans Khmer", "Khmer UI", "Noto Sans", "Noto Sans JP", sans-serif; line-height: 1.9; }
.yecjp-lang-bn .yj { font-family: "Noto Sans Bengali", "Nirmala UI", "Noto Sans", "Noto Sans JP", sans-serif; line-height: 1.85; }
.yecjp-lang-hi .yj { font-family: "Noto Sans Devanagari", "Nirmala UI", "Noto Sans", "Noto Sans JP", sans-serif; line-height: 1.85; }
.yecjp-lang-si .yj { font-family: "Noto Sans Sinhala", "Nirmala UI", "Noto Sans", "Noto Sans JP", sans-serif; line-height: 1.85; }
.yj [lang=km] { font-family: "Noto Sans Khmer", "Khmer UI", sans-serif; }
.yj [lang=bn] { font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif; }
.yj [lang=hi] { font-family: "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
.yj [lang=si] { font-family: "Noto Sans Sinhala", "Nirmala UI", sans-serif; }
.yj [lang=tl], .yj [lang=vi], .yj [lang=id] { font-family: "Noto Sans", "Segoe UI", sans-serif; }
.yj-langmenu { position: relative; display: inline-block; }
.yj-langmenu summary { list-style: none; cursor: pointer; padding: 1px 10px; border: 1px solid var(--yj-line); border-radius: 4px; background: #fff; line-height: 1.9; white-space: nowrap; }
.yj-langmenu summary::-webkit-details-marker { display: none; }
.yj-langmenu__list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 50; display: grid; grid-template-columns: repeat(2, minmax(110px, auto)); gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--yj-line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.yj-langmenu__list a { padding: 4px 10px; border-radius: 4px; white-space: nowrap; line-height: 1.8; }
.yj-langmenu__list a:hover { background: var(--yj-bg, #f4f6f9); }
.yj-langmenu__list a.is-on { background: var(--yj-primary); color: #fff; }
