.kyuujin-page {
  color: #10172f;
}

/* 導入・学校切替 */
.kj-intro {
  padding: 120px 0 0;
  background: #fff;
}
.kj-intro h2 {
  max-width: 1080px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
}
.kj-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.kj-filter__button {
  min-height: 84px;
  padding: 24px 16px;
  border: 1.5px solid;
  border-radius: 8px;
  background: #fff;
  color: #141a38;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.kj-filter__button:hover { transform: translateY(-2px); }
.kj-filter__button[data-school-filter="tokyo"] { border-color: #2149ff; }
.kj-filter__button[data-school-filter="international"] { border-color: #22c55e; }
.kj-filter__button.is-active { background: #2149ff; color: #fff; }
.kj-filter__button[data-school-filter="international"].is-active { background: #22c55e; }
.kj-filter__school-name,
.kj-filter__legal-name { display: inline; margin: 0; font-weight: 700; }
.kj-filter__school-name { font-size: 26px; line-height: 1.4; }
.kj-filter__legal-name { color: inherit; font-size: 20px; line-height: 1.6; }

/* 勤務地 */
.kj-workplaces {
  padding: 120px 0 0;
  background: #fff;
}
.kj-workplaces h2 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.kj-workplaces__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.kj-workplaces__grid[hidden] { display: none !important; }
.kj-workplace h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.kj-workplace p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.kj-workplace p + p { margin-top: 8px; }
.kj-workplace p img { width: 16px; height: 16px; flex: none; margin-top: 4px; object-fit: contain; }
.kj-workplace .si2-school__map { margin-top: 20px; }
.kj-workplace .si2-mapbtn { margin-top: 20px; }
.kj-school-overview {
  min-width: 0;
}
.kj-school-overview h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.kj-school-overview p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.kj-school-overview p + p { margin-top: 8px; }
.kj-school-overview__legal {
  font-weight: 700;
}
.kj-school-overview > img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
}
/* 9/8修正PPT 3頁：共通地図は維持し、左右の文章量が違っても画像開始位置を揃える。 */
.kj-workplaces__grid--overview .kj-workplace h3 { margin-bottom: 16px; }
.kj-workplaces__grid--overview .kj-workplace p { font-size: 16px; }
@media (min-width: 768px) {
  .kj-workplaces__grid--overview { grid-template-rows: auto auto; row-gap: 20px; }
  .kj-workplaces__grid--overview > article {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    align-items: start;
  }
  .kj-workplaces__grid--overview .si2-school__map,
  .kj-workplaces__grid--overview .kj-school-overview > img { margin-top: 0; }
}

/* 人物像・メッセージ：youseikouza_shikakuと同じtm-rowを使用。 */
.kj-message {
  padding: 120px 0 0;
  background: #fff;
}
.kj-message[hidden] { display: none !important; }
.kj-message .tm-row + .tm-row { margin-top: 80px; }
.kj-message__copy {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  font-family: "Noto Sans JP", sans-serif;
}
.kj-message__copy h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
}
.kj-message__copy ul { margin: 0; }
.kj-message__list {
  display: grid;
  gap: 8px;
  padding-left: 1.5em;
  list-style: disc outside;
}
.kj-message__list li {
  display: list-item;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}
.kj-message__list li::marker { color: #10172f; font-size: .72em; }
.kj-message__subheading {
  margin: -8px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}
.kj-message__features {
  display: grid;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.kj-message__features li,
.kj-message__copy p {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
}
.kj-message__image--international-people { object-position: right center; }

/* 求人一覧・カード */
.kj-list {
  padding: 96px 0;
  background: #f5f7fb;
}
.kj-list__inner {
  --w-container: 1344px;
  --pad-x: 24px;
}
.kj-list__heading { margin-bottom: 48px; text-align: center; }
.kj-list__heading h2 {
  margin: 0;
  outline: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
}
.kj-list__heading > p { margin: 10px 0 0; font-size: 16px; line-height: 1.74; }
.kj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.kj-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 380px;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 4px 4px 6px rgba(15, 23, 42, .1);
  cursor: pointer;
  transition: opacity .2s ease;
}
.kj-card:hover,
.kj-card:focus-within { opacity: .7; }
.kj-card[hidden] { display: none !important; }
.kj-card__hitarea {
  position: absolute;
  z-index: 2;
  inset: -1px;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.kj-card__hitarea:focus-visible {
  outline: 3px solid #2149ff;
  outline-offset: 3px;
}
.kj-card__badges,
.kj-modal__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.kj-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.kj-badge--category { background: #57f142; color: #10203d; }
.kj-badge--employment { background: #e8edff; color: #1e54ff; }
.kj-card__main { display: flex; align-items: flex-start; gap: 24px; width: 100%; }
.kj-card__copy { min-width: 0; flex: 1 1 0; }
.kj-card__title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.4; }
.kj-card__summary { margin: 8px 0 0; font-size: 16px; line-height: 1.74; }
.kj-card__image { width: 211px; height: 131px; flex: none; object-fit: cover; }
.kj-card__facts { display: flex; margin: 0; flex-direction: column; gap: 8px; }
.kj-card__facts > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; min-height: 20px; }
.kj-card__facts dt { color: #6b7489; font-size: 13px; font-weight: 700; }
.kj-card__facts dd { min-width: 0; margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.kj-card__open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2149ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  pointer-events: none;
}
.kj-card__arrow {
  display: inline-flex;
  width: 21px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.kj-card__arrow img { display: block; width: 17px; height: 14px; }
.kj-card:hover .kj-card__arrow,
.kj-card:focus-within .kj-card__arrow { transform: translateX(6px); }

/* Figma 2401:10881の単一・再利用モーダル */
.kj-modal {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #10172f;
  overflow: visible;
}
.kj-modal::backdrop { background: rgba(10, 19, 42, .72); backdrop-filter: blur(4px); }
.kj-modal__surface {
  position: relative;
  display: flex;
  max-height: calc(100dvh - 32px);
  flex-direction: column;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.kj-modal__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef1f6;
  cursor: pointer;
}
.kj-modal__close span,
.kj-modal__close span::after { display: block; width: 20px; height: 2px; background: #10172f; content: ""; }
.kj-modal__close span { transform: rotate(45deg); }
.kj-modal__close span::after { transform: rotate(90deg); }
.kj-modal__scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.kj-modal__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 211px;
  column-gap: 24px;
  padding: 44px 32px 24px;
}
.kj-modal__badges,
.kj-modal__header h2,
.kj-modal__summary { grid-column: 1; }
.kj-modal__header h2 { margin: 16px 0 0; font-size: 26px; font-weight: 700; line-height: 1.4; }
.kj-modal__summary { margin: 10px 0 0; font-size: 16px; line-height: 1.74; }
.kj-modal__image { grid-column: 2; grid-row: 1 / 4; width: 211px; height: 131px; margin-top: 28px; object-fit: cover; }
.kj-modal__columns { display: grid; grid-template-columns: minmax(0, 568px) 304px; gap: 24px; padding: 32px; }
.kj-modal__details { display: grid; gap: 26px; }
.kj-modal__section h3 { margin: 0 0 12px; color: #2149ff; font-size: 17px; font-weight: 700; }
.kj-modal__section ul { display: grid; gap: 8px; margin: 0; padding-left: 1.25em; list-style: disc outside; }
.kj-modal__section li { display: list-item; color: #374057; font-size: 14px; line-height: 1.75; }
.kj-modal__conditions { height: max-content; padding: 24px; border-radius: 8px; background: #f5f7fb; }
.kj-modal__conditions > div + div { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dfe4ec; }
.kj-modal__conditions dt { color: #6b7489; font-size: 12px; font-weight: 700; }
.kj-modal__conditions dd { margin: 7px 0 0; font-size: 14px; line-height: 1.65; }
.kj-modal__footer {
  display: flex;
  min-height: 128px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-top: 1px solid #e5eaf1;
  background: #fff;
}
.kj-modal__footer p { margin: 0; color: #667087; font-size: 12px; line-height: 1.6; }
.kj-modal__action { display: flex; align-items: flex-end; gap: 12px; }
.kj-modal__variant-label { color: #667087; font-size: 11px; font-weight: 700; }
.kj-modal__variant-label[hidden] { display: none; }
.kj-modal__variant { display: block; min-width: 210px; margin-top: 5px; padding: 12px 32px 12px 12px; border: 1px solid #cfd7e5; border-radius: 8px; background: #fff; color: #17203c; font: inherit; }
.kj-modal__apply {
  display: flex;
  width: 288px;
  min-height: 56px;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-radius: 999px;
  background: #2149ff;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.kj-modal__apply img { width: 20px; height: 20px; }
.kj-modal__apply:hover { background: #153fc7; }
.kj-modal__mail-actions { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.kj-modal__copy { padding: 4px 0; border: 0; background: none; color: #2149ff; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.kj-modal__copy-status { max-width: 320px; font-size: 12px; line-height: 1.5; color: #374057; white-space: pre-line; overflow-wrap: anywhere; }
.kj-modal__copy-status:empty { display: none; }
.is-kj-modal-open { overflow: hidden; }

/* ペーパー日本語教師教習コース */
.kj-paper-cta { background: #fff; }
.kj-paper-cta a { display: flex; width: min(1140px, calc(100% - 48px)); margin: 0 auto; flex-direction: column; color: #fff !important; text-align: center; text-decoration: none; }
.kj-paper-cta a > span,
.kj-paper-cta strong { display: block; padding-inline: 24px; background: #61ff48; }
.kj-paper-cta a > span { padding-top: 24px; font-size: 24px; font-weight: 700; }
.kj-paper-cta strong { padding: 8px 24px 24px; font-size: 32px; line-height: 1.4; }
.kj-paper-cta strong > span { display: inline-block; max-width: 100%; }
.kj-paper-cta em { padding: 10px 20px; background: #fff44f; color: #10172f; font-size: 21px; font-style: normal; font-weight: 700; }
/* 共通ov-questionの求人Figma版（2396:14830）。DOMと基礎意匠はcommon.cssを使用。 */
@media (min-width: 768px) and (max-width: 1439px) {
  .course-overview--recruit {
    height: 49.375vw;
    padding-top: 8.333vw;
    box-sizing: border-box;
  }
  .course-overview--recruit .course-overview__header { max-width: none; padding-inline: 0; }
  .course-overview--recruit .ov-question { position: relative; width: 100%; height: 35.347vw; }
  .course-overview--recruit .ov-question__label {
    position: absolute;
    top: 0;
    left: 50%;
    width: 69.236vw;
    max-width: none;
    margin: 0;
    padding: 1.111vw 2.917vw;
    box-sizing: border-box;
    font-size: clamp(22px, 2.361vw, 34px);
    white-space: nowrap;
    transform: translateX(-50%);
  }
  .course-overview--recruit .ov-question__label::after {
    bottom: -1.25vw;
    border-right-width: 1.806vw;
    border-left-width: 1.806vw;
    border-top-width: 1.25vw;
  }
  .course-overview--recruit .ov-question__row { display: block; position: static; width: 100%; }
  .course-overview--recruit .ov-question__illust {
    position: absolute;
    top: 12.548vw;
    left: 0;
    width: 41.181vw;
    max-width: none;
    height: auto;
  }
  .course-overview--recruit .ov-question__cloud {
    position: absolute;
    top: 7.917vw;
    left: 44.167vw;
    display: block;
    width: 44.444vw;
    height: 30.208vw;
    margin: 0;
    aspect-ratio: auto;
  }
  .course-overview--recruit .ov-question__list {
    position: absolute;
    top: 5.278vw;
    left: 7.917vw;
    gap: 0;
  }
  .course-overview--recruit .ov-question__list li {
    gap: 1.111vw;
    font-size: clamp(18px, 1.944vw, 28px);
    line-height: 1.94;
  }
  .course-overview--recruit .ov-question__list li::before { font-size: clamp(10px, 1.042vw, 15px); }
}
@media (min-width: 1440px) {
  .course-overview--recruit { height: 711px; padding-top: 120px; box-sizing: border-box; }
  .course-overview--recruit .ov-question__label {
    left: 221.5px;
    width: 997px;
    max-width: none;
    padding: 16px 42px;
    box-sizing: border-box;
    white-space: nowrap;
  }
}
.kj-paper__band { gap: 64px; }
.kj-paper__main-image { height: 484px !important; object-fit: cover; }
.kj-paper__lead-copy { display: flex; flex-direction: column; }
.kj-paper__lead-copy ul { margin: 0; padding-left: 1.5em; list-style: disc outside; }
.kj-paper__lead-copy li { display: list-item; }
.kj-paper-feature__text {
  color: #2149ff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.kj-paper-feature__text small { font-size: 20px; }
.kj-paper-feature__text--gift { font-size: 26px; line-height: 1.4; }
.kj-paper__notes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: kj-paper-note;
  color: #10172f;
  font-size: 16px;
  line-height: 1.8;
}
.kj-paper__notes li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  counter-increment: kj-paper-note;
}
.kj-paper__notes li::before { content: "※" counter(kj-paper-note); }

@media (max-width: 1000px) {
  .kj-card__main { flex-direction: column; }
  .kj-card__image { width: 100%; height: auto; aspect-ratio: 211 / 131; }
}

@media (max-width: 767px) {
  .kj-intro { padding: 72px 0 0; }
  .kj-intro h2 { font-size: clamp(18px, 5.64vw, 26px); line-height: 1.6; text-align: left; }
  .kj-filter { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
  .kj-filter__button { min-height: 72px; padding: 16px 12px; }
  .kj-filter__school-name { display: block; font-size: 20px; }
  .kj-filter__legal-name { display: block; font-size: 15px; }

  .kj-workplaces { padding-top: 72px; }
  .kj-workplaces h2 { font-size: 27px; }
  .kj-workplaces__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .kj-school-overview h3 { margin-bottom: 16px; }
  .kj-school-overview p { font-size: 16px; }

  .kj-message { padding: 72px 0 0; }
  .kj-message .tm-row + .tm-row { margin-top: 56px; }
  .kj-message__copy { gap: 24px; }
  .kj-message__copy h2 { font-size: 27px; }
  .kj-message__list li,
  .kj-message__features li,
  .kj-message__copy p { font-size: 16px; }
  .kj-message__subheading { font-size: 18px; }
  .kj-message__copy br { display: none; }

  .kj-list { padding: 72px 0; }
  .kj-list__heading { margin-bottom: 36px; }
  .kj-list__heading h2 { font-size: 28px; }
  .kj-list__heading > p { font-size: 14px; }
  .kj-grid { grid-template-columns: 1fr; gap: 16px; }
  .kj-card { min-height: 0; padding: 24px; }
  .kj-card__main { gap: 16px; }
  .kj-card__title { font-size: 23px; }
  .kj-card__summary { font-size: 14px; }
  .kj-card__facts > div { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }

  .kj-modal {
    width: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }
  .kj-modal__surface { height: 100dvh; max-height: none; min-height: 0; border-radius: 0; }
  .kj-modal__close { position: fixed; top: 12px; right: 12px; }
  .kj-modal__scroll { flex: 1 1 auto; min-height: 0; }
  .kj-modal__header { display: block; padding: 64px 20px 24px; }
  .kj-modal__header h2 { margin-top: 16px; font-size: 24px; }
  .kj-modal__summary { font-size: 14px; line-height: 1.7; }
  .kj-modal__image { display: block; width: 100%; height: auto; margin-top: 20px; aspect-ratio: 211 / 131; object-fit: cover; }
  .kj-modal__columns { display: flex; flex-direction: column-reverse; gap: 32px; padding: 32px 20px 40px; }
  .kj-modal__footer { display: block; min-height: 0; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .kj-modal__footer p { display: none; }
  .kj-modal__action { display: grid; gap: 10px; }
  .kj-modal__variant { width: 100%; }
  .kj-modal__apply { width: 100%; min-width: 0; }

  .kj-paper { padding: 0; }
  .kj-paper-cta a { width: calc(100% - 32px); }
  .kj-paper-cta a > span { font-size: 16px; }
  .kj-paper-cta strong { font-size: 22px; }
  .kj-paper-cta em { font-size: 16px; }
  .kj-paper__band { gap: 32px; }
  .kj-paper__main-image { height: auto !important; }
  /* 9/8修正PPT 9頁：共通imp-salaryを維持した求人のコンパクト版。 */
  .kj-paper-feature { gap: 12px; padding-block: 16px; }
  .kj-paper-feature .imp-salary__illust { width: 140px; height: 140px; }
  .kj-paper-feature__text { font-size: 24px; }
  .kj-paper-feature__text small { font-size: 14px; }
  .kj-paper-feature__text--gift { font-size: 20px; }
  .kj-paper__notes { font-size: 12px; }
  .kj-paper__notes li { grid-template-columns: 32px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .kj-card,
  .kj-filter__button,
  .kj-card__arrow { transition: none; }
}
