/* Typography measured from the JR East recruitment reference:
   Noto Sans JP body; Zen Kaku Gothic New 900 hero; Poppins 700 English.
   Reference uses a 10px rem; this site keeps the accessible 16px root.
   Desktop/mobile: hero 45/26px, section heading 35/26px, body 16/15px. */
:root {
  --font: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --display-font: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --latin-font: "Poppins", sans-serif;
}
/* Show the sales-free working model immediately after the main visual. */
.sales-promise { margin: 28px 20px 0; padding: 36px clamp(24px, 5vw, 88px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; background: #f5f5f7; border-left: 3px solid var(--wine); }
.sales-promise-label { color: var(--wine); font-size: .9375rem; font-weight: 700; margin: 0 0 12px; }
.sales-promise h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.7; letter-spacing: .03em; margin: 0; }
.sales-promise > p { font-size: 1rem; line-height: 2.1; margin: 0; color: var(--ink); }
.training-intro-note { margin: 26px 0 0; padding: 20px 22px; background: #f5f5f7; border-left: 3px solid var(--coral); }
.training-intro-note strong,
.training-intro-note span { display: block; }
.training-intro-note strong { margin-bottom: 6px; color: var(--ink); font-size: 1rem; }
.training-intro-note span { color: var(--muted); font-size: .9375rem; line-height: 1.9; }
/* Light neutral background with dark text for the three care contexts. */
.care-scenes { background: #f5f5f7; color: var(--ink); }
.care-scenes .care-grid p, .care-scenes .section-heading > p:not(.eyebrow) { color: var(--ink); }
.care-scenes .eyebrow, .care-scenes .number { color: var(--wine); }
.care-scenes .care-grid article { border-top-color: #bdbdc4; }
@media (max-width: 850px) {
  .sales-promise { margin: 24px 12px 0; padding: 28px 24px; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sales-promise h2 { font-size: 1.375rem; }
  .sales-promise > p { font-size: .9375rem; line-height: 1.8; }
}

/* Make the part-time wage progression unmistakable, especially on mobile. */
.parttime-panel { background: #f7f7f7; border-top: 3px solid var(--ink); }
.wage-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 0; border-block: 1px solid var(--line); }
.wage-steps article { position: relative; padding: 28px 30px 28px 0; }
.wage-steps article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.wage-steps article:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 46px; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; background: #f7f7f7; color: var(--wine); font-weight: 700; }
.wage-step-label { display: block; min-height: 3em; color: var(--wine); font-size: .75rem; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.wage-steps strong { display: block; margin: 12px 0 18px; color: var(--ink); font-size: clamp(2rem, 3.2vw, 3.35rem); font-weight: 700; letter-spacing: .04em; line-height: 1.1; white-space: nowrap; }
.wage-steps strong span { margin-left: .24em; font-size: .38em; letter-spacing: .04em; }
.wage-steps p { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.wage-note { margin: 14px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.wage-condition-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wage-condition-list li { position: relative; display: grid; grid-template-columns: minmax(145px, .9fr) minmax(0, 1.1fr); align-items: baseline; gap: 16px; }
.wage-condition-list li::before { content: "•"; position: absolute; top: 0; left: 0; color: var(--wine); }
.wage-condition-list span { padding-left: 18px; }
.wage-condition-list strong { color: var(--ink); font-size: 1.05rem; }
.condition-note { margin: 14px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.trial-note { margin: 32px 0 8px; padding: 24px 28px; background: #fff; border-left: 3px solid var(--coral); }
.trial-note h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.trial-note p { margin: 0; color: var(--ink); font-size: .9375rem; line-height: 1.9; }
.training-system-note { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 36px; margin: 48px 0 0; padding: 28px 32px; background: #fff; border-left: 3px solid var(--coral); }
.training-system-note strong,
.training-system-note span { display: block; }
.training-system-note strong { font-size: 1.125rem; line-height: 1.7; }
.training-system-note span { color: var(--muted); font-size: .9375rem; line-height: 1.9; }
.common-training-callout { margin: 32px 0 40px; padding: 32px; background: #f5f5f7; border-top: 3px solid var(--coral); }
.common-training-callout .eyebrow { color: var(--wine); margin-bottom: 12px; }
.common-training-callout h3 { max-width: 860px; margin-bottom: 14px; font-size: 1.375rem; line-height: 1.7; }
.common-training-callout > p:not(.eyebrow) { max-width: 900px; color: var(--muted); }
.common-training-callout .text-link { margin-top: 10px; }
.priority-pay-title > span,
.priority-pay-title > strong,
.priority-pay-title > b { display: block; }
.priority-pay-title > span { margin: 18px 0 6px; color: var(--coral); font-size: .75rem; letter-spacing: .08em; }
.priority-pay-title > strong { font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.15; letter-spacing: .02em; }
.priority-pay-title > b { margin-top: 8px; color: var(--coral); font-size: 1.125rem; line-height: 1.6; }
.workstyle-contractor-title > span,
.workstyle-contractor-title > small,
.workstyle-contractor-title > strong,
.workstyle-contractor-title > b { display: block; }
.workstyle-contractor-title > span { margin-bottom: 16px; font-size: 1.5rem; }
.workstyle-contractor-title > small { margin-bottom: 3px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.workstyle-contractor-title > strong { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.workstyle-contractor-title > b { margin-top: 10px; color: var(--wine); font-size: .875rem; line-height: 1.6; }
.workstyle-pay-title > span,
.workstyle-pay-title > strong,
.workstyle-pay-title > b { display: block; }
.workstyle-pay-title > span { margin-bottom: 16px; font-size: 1.5rem; }
.workstyle-pay-title > strong { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.workstyle-pay-title > b { margin-top: 10px; color: var(--wine); font-size: .875rem; line-height: 1.6; letter-spacing: .04em; }
.condition-pay-hero { margin: -32px -40px 32px; padding: 34px 40px 36px; border-bottom: 1px solid var(--line); }
.condition-pay-hero--parttime { background: var(--ink); color: #fff; }
.condition-pay-hero--contractor { background: #f9f4f3; border-top: 3px solid var(--coral); }
.condition-pay-hero--fulltime { background: #fff; border-top: 3px solid var(--ink); }
.condition-pay-type { margin-bottom: 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; }
.condition-pay-hero--parttime .condition-pay-type { color: var(--coral); }
.condition-pay-hero h3 { margin: 0; }
.condition-pay-hero h3 > span,
.condition-pay-hero h3 > strong,
.condition-pay-hero h3 > b { display: block; }
.condition-pay-hero h3 > span { margin-bottom: 7px; font-size: .8125rem; letter-spacing: .08em; }
.condition-pay-hero h3 > strong { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.08; letter-spacing: -.045em; }
.condition-pay-hero h3 > b { margin-top: 10px; color: var(--coral); font-size: clamp(1rem, 1.8vw, 1.35rem); line-height: 1.6; }
.condition-pay-hero > p:last-child { max-width: 760px; margin: 20px 0 0; line-height: 1.9; }
.condition-pay-hero--parttime > p:last-child { color: #d7d7d7; }
.contractor-result { margin: 0 0 36px; padding: 32px; background: #fff; border: 1px solid var(--line); }
.contractor-result .eyebrow { margin-bottom: 12px; color: var(--wine); }
.contractor-result h4 { max-width: 760px; margin-bottom: 16px; font-size: clamp(1.8rem, 3.4vw, 3.3rem); line-height: 1.45; letter-spacing: -.025em; }
.contractor-result > p:not(.eyebrow):not(.small) { max-width: 760px; color: var(--muted); }
.contractor-result-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin-top: 28px; border-block: 1px solid var(--line); }
.contractor-result-grid > div { padding: 24px 24px 24px 0; }
.contractor-result-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.contractor-result-grid span { display: block; margin-bottom: 8px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.contractor-result-grid strong { display: block; font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1.1; letter-spacing: -.04em; }
.contractor-result-grid strong small { margin-left: 4px; font-size: .35em; letter-spacing: 0; }
.contractor-result-grid p { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.result-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 24px; }
.result-breakdown > div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.result-breakdown dt { color: var(--muted); }
.result-breakdown dd { font-weight: 700; }
.career-pay-title > span,
.career-pay-title > strong,
.career-pay-title > b { display: block; }
.career-pay-title > span { margin-bottom: 12px; color: var(--coral); font-family: var(--font); font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.career-pay-title > strong { font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: 1.12; letter-spacing: -.03em; }
.career-pay-title > b { margin-top: 12px; color: var(--coral); font-size: clamp(1.45rem, 2.8vw, 2.5rem); line-height: 1.45; }

@media (max-width: 850px) {
  .training-system-note { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .wage-steps { grid-template-columns: 1fr; }
  .wage-steps article,
  .wage-steps article + article { padding: 24px 0; border-left: 0; }
  .wage-steps article + article { border-top: 1px solid var(--line); }
  .wage-steps article:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -12px; }
  .wage-step-label { min-height: 0; }
  .wage-steps strong { margin-block: 12px; }
  .wage-condition-list li { grid-template-columns: 1fr; gap: 2px; }
  .trial-note { margin-top: 28px; padding: 22px 20px; }
}
body { font-size: 1rem; line-height: 2.1; letter-spacing: .03em; }
.hero h1 { font-family: var(--display-font); font-size: 2.8125rem; font-weight: 900; line-height: 1.7; letter-spacing: -.01em; }
.hero-intro h2, .section-heading h2 { font-size: 2.1875rem; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.section-heading .chapter-name, .entry .chapter-name { font-family: var(--latin-font); font-size: 4.5rem; font-weight: 700; line-height: 1.05; letter-spacing: .015em; overflow-wrap: anywhere; }
.eyebrow, .profession-number, .target-number, .day-timeline time { font-family: var(--latin-font), var(--font); }
.hero-lead { font-size: 1.125rem; line-height: 2.4; font-weight: 700; letter-spacing: .03em; }
.intro-copy > p { line-height: 2.1; }
.synergy-heading h3 { font-size: 1.875rem; line-height: 1.5; font-weight: 700; letter-spacing: .05em; }
.care-scenes .section-heading h3 { font-size: 2.1875rem; font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.feature-grid h3, .training-steps h3, .learning-note h3, .values-list h3, .story-topics h3 { font-size: 1.125rem; font-weight: 700; }
.connection p, .feature-grid p, .training-steps p, .values-list p, .story-topics li, .income-model p, .day-timeline p { font-size: 1rem; line-height: 2.1; }
.faq-list summary { font-size: 1.125rem; font-weight: 700; line-height: 1.8; }

/* The illustration and label together form one keyboard-accessible link. */
.target-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; border: 0; }
.target-grid > a.profession-card { display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 0; border: 1px solid #c8c8cd; background: #fff; border-radius: 8px 8px 32px 8px; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.target-art { position: relative; width: 100%; overflow: hidden; border-radius: 7px 7px 0 0; background: var(--gray); }
.target-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.target-number { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--wine); border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; font-size: .875rem; line-height: 1; }
.target-copy { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.target-grid h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.7; letter-spacing: .03em; }
.target-grid h3 br { display: block; }
.target-grid p { font-size: 1rem; line-height: 2.1; margin: 16px 0 24px; }
.target-grid .target-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 700; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; background: var(--ink); color: #fff; border-radius: 50%; font-family: sans-serif; font-size: 22px; line-height: 1; transition: background-color .2s, transform .2s; }
.target-grid > a.profession-card:hover, .target-grid > a.profession-card:focus-visible { background: #fff; border-color: var(--wine); box-shadow: 0 6px 20px #28282b0d; }
.profession-card:hover .link-arrow, .profession-card:focus-visible .link-arrow { background: var(--wine); transform: translateX(3px); }

/* Consistent, explicit navigation: outlined buttons with a filled arrow. */
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; max-width: 100%; padding: 10px 12px 10px 20px; border: 1px solid #96969c; border-radius: 4px; background: #fff; color: var(--ink); font-size: .9375rem; line-height: 1.7; font-weight: 700; text-decoration: none; transition: border-color .2s, background-color .2s; }
.text-link:hover, .text-link:focus-visible { border-color: var(--wine); background: #faf4f5; text-decoration: none; }
.text-link:hover .link-arrow, .text-link:focus-visible .link-arrow { background: var(--wine); transform: translateX(2px); }
/* The priority card is dark, but its navigation button is white. Keep its label readable. */
.priority-card .text-link,
.priority-card .text-link > span:first-child { color: var(--ink); }
.career-section .text-link,
.career-section .text-link > span:first-child { color: var(--ink); }
.career-path--contractor,
.career-path--fulltime { margin-top: 96px; padding-top: 88px; border-top: 1px solid #666; }
.income-cards .income-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.button, .header-cta, .mobile-cta a { font-weight: 700; }
.button > span[aria-hidden], .header-cta > span[aria-hidden] { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--coral); color: var(--coral-ink); line-height: 1; }
.site-header .desktop-nav { gap: 12px; }
.header-brand { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 12px; }
.header-brand img { display: block; width: 72px; height: 72px; flex: 0 0 72px; object-fit: contain; }
.header-brand-label { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-family: var(--latin-font); font-size: .75rem; font-weight: 700; letter-spacing: .18em; line-height: 1; }
.desktop-nav > a:not(.header-cta) { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; }
.desktop-nav > a:not(.header-cta):hover { border-color: var(--wine); background: #faf4f5; }
.nav-arrow { color: var(--wine); font-family: sans-serif; font-size: 16px; line-height: 1; }
.hero-scroll { min-height: 44px; background: #fff; border: 1px solid #96969c; border-radius: 4px; padding: 8px 16px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.site-header .mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 20px; }
.mobile-menu nav .nav-arrow { display: grid; place-items: center; background: var(--gray); width: 30px; height: 30px; border-radius: 50%; }

@media (max-width: 1100px) {
  .header-brand img { width: 60px; height: 60px; flex-basis: 60px; }
  .header-brand-label { padding-left: 10px; font-size: .6875rem; }
  .site-header .desktop-nav { gap: 8px; }
  .desktop-nav > a:not(.header-cta) { padding-inline: 8px; gap: 6px; }
  .target-copy { padding: 24px; }
  .target-grid h3 { font-size: 1.25rem; }
}
@media (max-width: 850px) {
  /* Keep the hamburger menu available while the page is scrolled. */
  .site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 rgba(40, 40, 43, .12); }
  .header-brand { gap: 10px; }
  .header-brand img { width: 48px; height: 48px; flex-basis: 48px; }
  .header-brand-label { padding-left: 10px; font-size: .625rem; letter-spacing: .14em; }
  .career-path--contractor,
  .career-path--fulltime { margin-top: 68px; padding-top: 60px; }
  .hero h1 { font-size: 1.625rem; line-height: 1.6; letter-spacing: -.01em; }
  .hero-lead { font-size: .9375rem; line-height: 2.2; }
  .hero-scroll { display: none; }
  .section-heading .chapter-name, .entry .chapter-name { font-size: 2.5rem; }
  .target-grid { gap: 24px; }
  .target-grid h3 { font-size: 1.125rem; }
}
@media (max-width: 768px) {
  body { font-size: .9375rem; line-height: 1.8; }
  .hero-intro h2, .section-heading h2, .care-scenes .section-heading h3 { font-size: 1.625rem; line-height: 1.5; }
  .synergy-heading h3 { font-size: 1.25rem; line-height: 1.7; }
  .connection p, .feature-grid p, .training-steps p, .values-list p, .story-topics li, .income-model p, .day-timeline p, .target-grid p { font-size: .9375rem; line-height: 1.8; }
  .faq-list summary { font-size: 1rem; }
  .target-copy { padding: 20px; }
  .target-grid .target-link { font-size: .875rem; gap: 8px; }
  .link-arrow { width: 36px; height: 36px; flex-basis: 36px; }
  .common-training-callout { padding: 26px 22px; }
  .common-training-callout h3 { font-size: 1.1875rem; }
  .condition-pay-hero { margin: -24px -24px 28px; padding: 28px 24px 30px; }
  .contractor-result { padding: 26px 22px; }
  .contractor-result-grid { grid-template-columns: 1fr; }
  .contractor-result-grid > div,
  .contractor-result-grid > div + div { padding: 20px 0; border-left: 0; }
  .contractor-result-grid > div + div { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .target-grid { grid-template-columns: minmax(0, 1fr); }
  .target-grid h3 { font-size: 1.25rem; }
  .target-grid .target-link { font-size: .9375rem; }
  .actions { align-items: stretch; }
  .actions .text-link, .surface .text-link { width: 100%; }
  .hero-lead { font-size: .875rem; line-height: 1.8; }
  .priority-pay-title > strong { font-size: 2.5rem; }
  .workstyle-contractor-title > strong { font-size: 2.45rem; }
  .workstyle-pay-title > strong { font-size: 2.45rem; }
  .condition-pay-hero { margin: -24px -18px 26px; padding: 26px 18px 28px; }
  .condition-pay-hero h3 > strong { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .contractor-result { padding: 24px 18px; }
  .contractor-result h4 { font-size: 1.75rem; }
  .contractor-result-grid strong { font-size: 2.5rem; }
  .result-breakdown { grid-template-columns: 1fr; gap: 14px; }
  .career-pay-title > strong { font-size: clamp(2.4rem, 13vw, 4rem); }
  .career-pay-title > b { font-size: 1.35rem; }
}
@media (max-width: 360px) {
  .header-brand-label { display: none; }
  .hero h1 { font-size: 1.5rem; }
  .hero-kicker > span { margin-left: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .profession-card, .text-link, .link-arrow { transition: none !important; }
}
