/* A two-page design trial. All selectors stay within recruitment or study. */
.recruitment-page .subpage-hero {
  background: linear-gradient(112deg, #1e4c4b 0%, #326966 60%, #477b72 100%);
}
.study-page .study-hero.subpage-hero {
  background: linear-gradient(112deg, #344a81 0%, #455d96 58%, #5a6fa2 100%);
}
:is(.recruitment-page, .study-page) .focus-hero-en {
  margin: -4px 0 16px;
  color: #f8f3e9;
  font: italic 400 17px/1.35 Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}

/* Both chapters use a number and a quiet English label above the Japanese title. */
.recruitment-page .recruitment-section-heading {
  display: block;
  margin-bottom: 23px;
}
.recruitment-page .recruitment-heading-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 13px;
}
.recruitment-page .recruitment-section-number {
  padding: 0;
  color: #a75736;
  font: 700 31px/1.1 Georgia, "Times New Roman", serif;
}
.recruitment-page .recruitment-section-heading .eyebrow,
.recruitment-page .recruitment-price-main .eyebrow,
.recruitment-page .recruitment-consultation-heading .eyebrow,
.recruitment-page .recruitment-contact-label,
.study-page .study-heading .eyebrow,
.study-page .study-language .eyebrow,
.study-page .study-contact .eyebrow {
  margin: 0;
  font: italic 400 16px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: .015em;
  text-transform: none;
}
.recruitment-page .recruitment-section-heading .eyebrow { color: #7c5a50; }
.recruitment-page .recruitment-section-heading h2,
.study-page .study-heading h2 { font-weight: 750; }
.recruitment-page .recruitment-section-first {
  border-top: 1px solid #d3dfdb;
}
.recruitment-page .recruitment-section-lead { margin-bottom: 29px; }
.recruitment-page .recruitment-price {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  border: 1px solid #cba98e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px #3b3d2d0b;
}
.recruitment-page .recruitment-price-main {
  padding: clamp(28px, 3.5vw, 48px);
  background: #fff8f1;
  border-color: #d9c3b0;
}
.recruitment-page .recruitment-price-main .eyebrow { color: #835b48; margin-bottom: 10px; }
.recruitment-page .recruitment-price-main h3 { margin-bottom: 16px; color: #253d3e; }
.recruitment-page .recruitment-price-key {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 12px;
}
.recruitment-page .recruitment-price-amount {
  margin: 0;
  color: #a94926;
}
.recruitment-page .recruitment-price-amount strong {
  font-size: clamp(62px, 6.1vw, 90px);
  font-weight: 700;
}
.recruitment-page .recruitment-price-label {
  margin: 0;
  padding: 6px 13px;
  border-color: #c98660;
  border-radius: 3px;
  background: #fae5d5;
  color: #793b25;
  font-size: 15px;
}
.recruitment-page .recruitment-price-tax {
  gap: 6px 18px;
  margin: 0 0 18px;
  font-size: 17px;
}
.recruitment-page .recruitment-price-tax span { color: #873c28; }
.recruitment-page .recruitment-price-target {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid #d9c3b0;
  color: #2a4241;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}
.recruitment-page .recruitment-price-target strong {
  display: inline-block;
  margin-right: 12px;
  color: #8b4b32;
}
.recruitment-page .recruitment-price-exclusion {
  margin-top: 5px;
  color: #4a5f5d;
  font-size: 13px;
}
.recruitment-page .recruitment-price-conditions {
  background: #fffdfb;
  padding: clamp(28px, 3.4vw, 46px);
}
.recruitment-page .recruitment-price-conditions p {
  padding: 0;
  border: 0;
  color: #334c4a;
  font-size: 15px;
}
.recruitment-page .recruitment-price-conditions strong {
  margin-bottom: 12px;
  color: #8b4b32;
  font-size: 17px;
}
.recruitment-page .recruitment-subheading {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid #d9d3ca;
}
.recruitment-page .recruitment-flow { gap: 12px; }
.recruitment-page .recruitment-flow li { border-radius: 5px; }
.recruitment-page .recruitment-professional {
  background: #f8f7f2;
  border-top: 1px solid #e0d9cd;
}
.recruitment-page .recruitment-consultation {
  background: #f4f8f6;
  border-top: 1px solid #cfdbd7;
}
.recruitment-page .recruitment-consultation-heading .eyebrow { color: #6d5c4d; margin-bottom: 10px; }
.recruitment-page .recruitment-contact-label { color: #7d5748; margin-bottom: 10px; }

/* Study: population cards stay quiet; learner count and rank become the focus. */
.study-page .study-section { border-top-color: #d7d8e6; }
.study-page .study-section#study-strengths,
.study-page .study-partnership { background: #f4f4fa; }
.study-page .study-stats article { background: #fcfbff; border-color: #bdc3df; }
.study-page .study-stats .study-stat-number { color: #525b91; }
.study-page .study-heading { max-width: 900px; }
.study-page .study-section-index {
  display: inline-flex;
  align-items: baseline;
  margin: 0 15px 13px 0;
  color: #605483;
  vertical-align: baseline;
}
.study-page .study-section-index strong {
  font: 700 31px/1.1 Georgia, "Times New Roman", serif;
  font-style: normal;
}
.study-page .study-heading .eyebrow {
  display: inline-block;
  margin: 0 0 13px;
  color: #6e648b;
  vertical-align: baseline;
}
.study-page .study-heading h2 { margin: 0 0 18px; }
.study-page .study-language {
  display: block;
  padding: clamp(23px, 3vw, 34px);
  border-color: #a8afd3;
  background: #fff;
}
.study-page .study-language-copy > .eyebrow {
  min-height: 0;
  padding: 0;
  margin: 0 0 7px;
  color: #655988;
}
.study-page .study-language h3 { padding: 0; margin: 0 0 18px; }
.study-page .study-language-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 22px;
  padding: 20px 25px;
  border: 1px solid #d4d7e8;
  border-radius: 6px;
  background: #f8f8fc;
}
.study-page .study-language-total,
.study-page .study-language-rank { min-width: 0; }
.study-page .study-language .study-stat-label { margin: 0 0 5px; }
.study-page .study-language .study-stat-number {
  margin: 0;
  color: #394f8d;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.15;
}
.study-page .study-language-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding-left: 24px;
  border-left: 1px solid #c6cbe0;
}
.study-page .study-globe-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  color: #81526e;
}
.study-page .study-rank {
  margin: 0;
  color: #824b68;
  font-size: clamp(31px, 3.35vw, 45px);
  line-height: 1.2;
  white-space: nowrap;
}
.study-page .study-language .study-source {
  margin: 14px 0 8px;
  color: #455172;
}
.study-page .study-language-copy > p:last-child {
  margin: 0;
  color: #354260;
}
.study-page .study-contact {
  background: linear-gradient(112deg, #344a81, #52699a);
}
.study-page .study-contact .eyebrow { color: #f3e9e9; margin-bottom: 14px; }

@media (max-width: 850px) {
  .recruitment-page .recruitment-price { grid-template-columns: 1fr; }
  .recruitment-page .recruitment-price-main { border-right: 0; border-bottom: 1px solid #d9c3b0; }
}
@media (max-width: 700px) {
  :is(.recruitment-page, .study-page) .focus-hero-en { font-size: 15px; }
  .recruitment-page .recruitment-section-heading .eyebrow,
  .study-page .study-heading .eyebrow { font-size: 14px; }
  .recruitment-page .recruitment-section-number,
  .study-page .study-section-index strong { font-size: 25px; }
  .recruitment-page .recruitment-section-heading h2,
  .study-page .study-heading h2 { font-size: 27px; }
  .recruitment-page .recruitment-price-main,
  .recruitment-page .recruitment-price-conditions { padding: 25px 22px; }
  .recruitment-page .recruitment-price-amount strong { font-size: clamp(48px, 12vw, 62px); }
  .recruitment-page .recruitment-price-tax { font-size: 15px; }
  .recruitment-page .recruitment-subheading { margin-top: 42px; }
  .study-page .study-language { padding: 22px; }
  .study-page .study-language h3 { margin-bottom: 14px; }
  .study-page .study-language-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 17px;
  }
  .study-page .study-language .study-stat-number {
    font-size: clamp(32px, 9vw, 44px);
  }
  .study-page .study-language-rank {
    min-height: 0;
    gap: 9px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid #c6cbe0;
  }
  .study-page .study-globe-icon { flex-basis: 25px; width: 25px; height: 25px; }
  .study-page .study-rank { font-size: clamp(29px, 8vw, 38px); }
  .study-page .study-language .study-source { margin-top: 13px; }
}
@media (max-width: 360px) {
  .recruitment-page .recruitment-price-label { font-size: 13px; }
  .recruitment-page .recruitment-price-amount strong { font-size: 45px; }
  .study-page .study-language-stats { padding: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  html.focus-motion-ready .focus-reveal {
    opacity: 0;
    transform: translateY(12px);
  }
  html.focus-motion-ready .focus-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .52s ease-out, transform .52s ease-out;
  }
}
