@charset "UTF-8";

@font-face {
  font-family: "Noto Sans JP";
  src: url("assets/fonts/noto-sans-jp.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --font-family: "Noto Sans JP", sans-serif;
  font-family: var(--font-family);
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Colors and typography from the main site's top.css and shared style.css. */
  --primary: #2db7af;
  --line: #06c755;
  --yellow: #ffd84d;
  --ink: #000;
  --muted: #222;
  --pale: #e4fcfb;
  --content-width: 1280px;
  --gutter: clamp(20px, 3vw, 48px);
  --grid-gap: clamp(12px, 1.5vw, 28px);
  --heading: clamp(22px, 2.25vw, 36px);
  --body: clamp(14px, 1.2vw, 19px);
  --dock-height: calc(84px + env(safe-area-inset-bottom));
  --header-height: 100px;
}

/* Backgrounds fill the viewport; each section's content shares an inner edge. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
/* Keep the fixed dock clearance above WordPress global body padding resets. */
body, body.technical-lp { margin: 0; padding-top: 0; padding-bottom: var(--dock-height); }
body.menu-open { overflow: hidden; }
main, section, header, footer, aside { min-width: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
button { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, a, summary { transition: color .18s, background-color .18s, box-shadow .18s, transform .18s; }
img { display: block; max-width: 100%; height: auto; }
em { color: var(--primary); font-style: normal; }
:focus-visible { outline: 3px solid #216bb2; outline-offset: 4px; }
.section-inner { width: min(calc(100% - var(--gutter) * 2), var(--content-width)); margin-inline: auto; min-width: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 24px; height: 24px; fill: currentColor; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; left: 12px; top: 12px; padding: 10px 18px; background: #fff; transform: translateY(-150%); z-index: 50; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Header dimensions, spacing, and colors match the existing technical LP. */
.site-header { position: relative; height: var(--header-height); background: var(--primary); color: #fff; z-index: 40; line-height: 1; font-weight: 400; }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; padding: 0 20px 0 40px; }
.brand-logo { display: block; flex: 0 0 auto; }
.brand-logo img { width: 237px; height: 50px; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav > a { display: inline-flex; align-items: center; color: #fff; font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: .05em; white-space: nowrap; }
.header-nav > a:not(.header-registration):hover { text-decoration: underline; text-underline-offset: 6px; }
.header-registration { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 24px; border-radius: 50px; background: var(--line); color: #fff; font-size: 18px; font-weight: 600; line-height: 1.44; white-space: nowrap; box-shadow: 0 3.58209px 3.58209px #00000040; }
.header-nav > .header-registration { height: 48px; padding: 14px 22px; border: 1px solid #ffffffb3; background: transparent; box-shadow: none; font-size: 16px; font-weight: 500; line-height: 1.44; letter-spacing: .8px; }
.header-registration:hover { opacity: .85; }
.header-nav > .header-registration:hover { background: #ffffff14; opacity: 1; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; width: 60px; height: 60px; flex: 0 0 auto; color: #fff; position: relative; z-index: 2; }
.menu-toggle span { display: block; width: 30px; height: 2px; background: currentColor; transform-origin: left center; }
.menu-toggle span + span { margin-top: 8px; }
.menu-toggle[aria-expanded="true"] { color: #333; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { visibility: hidden; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.site-menu { position: fixed; inset: 0; z-index: 1; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: 36px 4% max(28px, env(safe-area-inset-bottom)); background: #fff; color: var(--primary); }
.menu-logo { display: block; width: fit-content; }
.menu-logo img { width: 237px; height: 50px; }
.menu-links { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; margin-top: 80px; }
.menu-links > a { display: flex; align-items: center; font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: .05em; }
.menu-links > a:not(.header-registration):hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-links > .header-registration { align-self: center; font-size: 18px; font-weight: 600; line-height: 1.44; letter-spacing: 1px; }

/* Buttons keep readable type and usable hit areas independently of viewport width. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 12px clamp(16px, 1.8vw, 28px); border: 1px solid #ffffffbd; border-radius: 999px; font-size: clamp(15px, 1.4vw, 21px); font-weight: 700; line-height: 1.35; white-space: nowrap; box-shadow: inset 0 0 0 2px #ffffff16; }
.button .icon-search { width: 28px; height: 28px; }
.button .icon-right { width: 17px; height: 17px; margin-left: auto; }
.button > span:not(.line-mark) { text-align: center; flex: 1; }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-line { background: var(--line); color: #fff; }
.button-teal { background: var(--primary); color: #fff; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 14px #123f532b; }
.button:active { transform: none; }
.line-mark { display: inline-grid; place-items: center; position: relative; width: 32px; height: 32px; border-radius: 50%; color: var(--line); background: #fff; font: 700 11px var(--font-family); letter-spacing: -.04em; flex: 0 0 auto; }
.line-mark::after { content: ""; position: absolute; bottom: -3px; left: 8px; width: 8px; height: 8px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.text-link { display: inline-flex; align-items: center; gap: 3px; font-size: clamp(12px, 1.12vw, 17px); font-weight: 700; line-height: 1.6; color: var(--primary); white-space: nowrap; }
.text-link .icon { width: 16px; height: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero: text is HTML; the photograph and angled strips are independent layers. */
.hero { --hero-tilt: -5deg; position: relative; isolation: isolate; background: #081c30 url("assets/photos/hero.webp") center top / cover no-repeat; color: #fff; min-height: clamp(390px, 44vw, 680px); display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0415222e, transparent 75%), linear-gradient(0deg, #04132332, transparent 40%); }
.hero-inner { position: relative; }
.hero-content { position: relative; padding: clamp(26px, 3.5vw, 56px) 0 28px; min-width: 0; }
/* Reserve the lettering space while keeping every vector contour visible. */
.hero-note { width: 8.89em; aspect-ratio: 151 / 67; font-size: clamp(20px, 2vw, 34px); margin: calc(10px - 1.245em) 0 clamp(28px, 3vw, 50px); }
.hero-note img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.hero-note img, .hero-side-note img { filter: drop-shadow(0 2px 6px #051726); }
.hero h1 { display: flex; align-items: flex-start; flex-direction: column; font-size: clamp(30px, 3.85vw, 64px); font-weight: 700; line-height: 1.27; letter-spacing: .01em; transform: rotate(var(--hero-tilt)) skewX(var(--hero-tilt)); transform-origin: left center; width: fit-content; }
.headline-strip { background: #fff; color: var(--ink); padding: 2px .3em 5px; border: 1px solid transparent; white-space: nowrap; }
.second-strip { color: var(--ink); border-color: transparent; }
.headline-brand { display: inline-flex; align-items: baseline; padding: 2px .3em 7px; background: var(--primary); font-size: .92em; letter-spacing: -.035em; white-space: nowrap; }
.headline-brand strong { font-size: 1.38em; letter-spacing: 0; line-height: 1.15; margin: 0 .13em; }
.hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 6px; margin-top: clamp(21px, 2.1vw, 34px); width: min(100%, 390px); }
.hero-actions .button { width: 100%; }
.hero-line-link { display: inline-flex; align-items: center; justify-content: center; justify-self: center; gap: 8px; min-height: 44px; padding: 10px 8px; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; text-shadow: 0 1px 4px #041323; }
.hero-line-link .line-mark { width: 20px; height: 20px; background: var(--line); color: #fff; font-size: 7px; text-shadow: none; }
.hero-line-link .line-mark::after { bottom: -2px; left: 5px; width: 5px; height: 5px; background: var(--line); }
.hero-line-link .icon-right { width: 12px; height: 12px; }
.hero-line-link:focus-visible { outline-color: var(--yellow); border-radius: 4px; }
@media (hover: hover) {
  .hero-line-link:hover { color: #a8edc4; }
}
.hero-side-note { position: absolute; right: 0; bottom: 36px; font-size: clamp(21px, 2.6vw, 38px); }
.hero-side-note img { width: 7.975em; height: auto; }

/* Section headings and cards */
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(18px, 1.8vw, 30px); }
.section-heading h2 { position: relative; padding-left: 22px; font-size: var(--heading); font-weight: 700; line-height: 1.45; letter-spacing: .015em; color: var(--ink); }
.section-heading h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 7px; background: var(--primary); border-radius: 6px; }
.section-heading h2 em { font-size: 1.12em; }
.section-heading > p { font-size: clamp(11px, 1vw, 16px); color: var(--muted); line-height: 1.6; }
.category-section { padding-top: clamp(26px, 3vw, 48px); padding-bottom: clamp(30px, 3vw, 48px); background: linear-gradient(115deg, #f5fafb, #fff); }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--grid-gap); }
.category-card { overflow: hidden; border-radius: 11px; background: #fff; box-shadow: 0 4px 12px #2db7af12; }
.category-card > img { width: 100%; height: auto; aspect-ratio: 123 / 72; object-fit: cover; }
.category-card > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 14px 10px; font-size: clamp(12px, 1.05vw, 14px); font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
.category-card .icon { flex-shrink: 0; width: 14px; height: 16px; color: var(--primary); }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #2db7af24; }
.jobs-section { padding-bottom: clamp(30px, 3vw, 50px); background: linear-gradient(115deg, #f5fafb, #fff); }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.success-story-controls { display: none; }
.job-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e5f0f1; border-radius: 10px; box-shadow: 0 4px 14px #2db7af15; }
.job-photo-button { display: block; width: 100%; background: var(--pale); }
.job-photo-button > img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; }
.job-photo-button:hover { filter: brightness(1.08); }
.job-content { display: flex; flex-direction: column; flex: 1; padding: clamp(14px, 1.5vw, 26px); }
.job-company { margin-bottom: 8px; font-size: 12px; color: #506164; overflow-wrap: anywhere; }
.job-card h3, .job-card p, .job-tags > span { overflow-wrap: anywhere; }
.job-photo-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; width: 100%; aspect-ratio: 1.7; background: #eef7f6; color: #5c8783; font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.job-photo-placeholder .icon { width: 42px; height: 42px; }
.jobs-status { padding: 28px 20px; text-align: center; font-size: 15px; color: var(--muted); }
.jobs-status a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.jobs-status.sr-only { padding: 0; }
.jobs-feedback-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.jobs-feedback-actions .button { font-size: 15px; }
.job-skeleton { min-height: 390px; padding-bottom: 28px; border: 1px solid #e5f0f1; border-radius: 10px; overflow: hidden; background: #fff; }
.job-skeleton > span { display: block; height: 20px; margin: 20px 24px 0; background: #e7efef; border-radius: 4px; }
.job-skeleton > span:first-child { height: auto; aspect-ratio: 1.7; margin: 0 0 26px; border-radius: 0; }
.job-skeleton > span:last-child { width: 55%; }
.job-title-line { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.job-title-line h3 { font-size: 18px; font-weight: 700; line-height: 1.6; letter-spacing: -.02em; color: var(--ink); }
.new-badge { display: inline-block; padding: 4px 9px; border-radius: 999px; font: 700 12px var(--font-family); color: var(--ink); background: var(--yellow); margin-left: auto; flex: 0 0 auto; }
.job-location, .job-salary { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.job-location > .icon, .job-salary > .icon { color: var(--primary); width: 16px; height: 16px; }
.job-salary { color: var(--ink); font-size: 14px; font-weight: 700; }
.job-salary strong { font-size: 1.1em; font-weight: 700; }
.job-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 12px; }
.job-tags > span, .detail-tags > span { padding: 2px 10px; font-size: clamp(11px, 1vw, 16px); line-height: 1.6; border-radius: 5px; background: #edf0f2; color: var(--muted); font-weight: 700; }
.job-tags > span { padding-inline: 8px; font-size: 11px; font-weight: 500; }
.job-tags .employment-tag { border: 1px solid var(--primary); color: var(--primary); background: white; }
.job-tags .field-tag { flex-basis: auto; }

/* High-resolution consultation photo with crisp HTML lettering and chat artwork. */
.consultation-banner { padding-top: clamp(20px, 2vw, 38px); padding-bottom: 0; background: var(--pale); }
.consultation-inner { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 45fr) minmax(0, 21fr); gap: clamp(14px, 2vw, 36px); align-items: center; }
.consultation-photo { position: relative; align-self: end; border-radius: 48% 43% 0 0 / 20% 12% 0 0; overflow: hidden; }
.consultation-photo > img { width: 100%; height: auto; aspect-ratio: 244 / 158; object-fit: cover; }
.consultation-photo-note { position: absolute; left: 4%; top: 38%; width: 47%; filter: drop-shadow(0 1px 3px #102532); }
.consultation-photo-note img { width: 100%; height: auto; }
.consultation-copy { padding-block: 10px 30px; min-width: 0; }
.consultation-copy h2 { border-left: 2px solid var(--primary); padding-left: 16px; font-size: clamp(21px, 2.2vw, 35px); line-height: 1.5; font-weight: 700; letter-spacing: -.045em; word-break: keep-all; }
.consultation-copy p { font-size: clamp(13px, 1.3vw, 20px); line-height: 1.8; margin-top: 19px; }
.consultation-copy .button { width: 100%; margin-top: 18px; padding-inline: 18px; }
.line-phone { position: relative; isolation: isolate; width: 100%; aspect-ratio: 140 / 164; align-self: end; overflow: hidden; }
.line-phone::before { content: ""; position: absolute; inset: 1% 10% -15% 5%; z-index: -1; border: clamp(4px, .45vw, 7px) solid #172129; border-radius: clamp(18px, 2vw, 30px); background: linear-gradient(145deg, #a5efe4, #55cbb7); box-shadow: inset 0 0 0 2px #748782, 1px 0 5px #113c3b26; transform: rotate(4deg); }
.phone-notch { position: absolute; top: 3%; left: 29%; width: 34%; height: 6%; background: #172129; border-radius: 0 0 10px 10px; transform: rotate(4deg); }
.phone-messages { display: flex; flex-direction: column; gap: clamp(8px, 1vw, 14px); padding-top: 24%; font-size: clamp(9px, .95vw, 14px); font-weight: 500; line-height: 1.65; letter-spacing: 0; }
.phone-messages p { position: relative; width: fit-content; max-width: 100%; padding: .7em .8em; background: #fff; border-radius: 7px; box-shadow: 0 2px 7px #125f4e1a; }
.phone-messages p:first-child { align-self: flex-end; background: #e2ffed; margin-right: 2%; }
.phone-messages p:last-child { align-self: flex-end; }

/* Support and process retain the reference's three-column rhythm. */
.reasons-section { padding-top: clamp(26px, 3vw, 46px); padding-bottom: clamp(32px, 3.5vw, 58px); background: radial-gradient(circle at -30px 0, #fff4cf 0 65px, transparent 66px), #fff; }
.reasons-heading { text-align: center; font-size: clamp(22px, 2.3vw, 38px); line-height: 1.5; font-weight: 700; margin-bottom: clamp(20px, 2vw, 32px); }
.reasons-heading > span { color: var(--primary); }
.reasons-heading b { font-size: 1.5em; letter-spacing: -.06em; margin-right: .12em; line-height: 1; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.reason-card { display: grid; grid-template-rows: auto minmax(62px, auto) auto; justify-items: center; align-content: start; background: var(--pale); border-radius: 16px; padding: clamp(22px, 2.2vw, 38px) 14px; text-align: center; }
.reason-card > .icon { width: clamp(48px, 5.5vw, 80px); height: clamp(48px, 5.5vw, 80px); color: var(--primary); margin-bottom: 8px; }
.reason-card:last-child > .icon { width: clamp(64px, 7.5vw, 106px); }
.reason-card h3 { align-self: center; font-size: clamp(18px, 1.8vw, 29px); color: var(--ink); font-weight: 700; line-height: 1.4; }
.reason-card p { font-size: var(--body); margin-top: 9px; line-height: 1.8; color: var(--muted); }
.guide-section { padding-bottom: clamp(32px, 3.5vw, 58px); }
.steps-grid { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 64px); }
.steps-grid li { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); position: relative; padding: 28px clamp(12px, 1.5vw, 26px) 24px; background: var(--pale); border-radius: 16px; min-width: 0; }
.step-number { position: absolute; top: -12px; left: 0; display: grid; place-items: center; width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; font: 700 21px var(--font-family); }
.step-icon { display: grid; place-items: center; width: clamp(50px, 5.5vw, 82px); height: clamp(50px, 5.5vw, 82px); border-radius: 50%; background: var(--primary); color: #fff; flex: 0 0 auto; }
.step-icon .icon { width: 65%; height: 65%; }
.steps-grid h3 { font-size: clamp(15px, 1.45vw, 24px); line-height: 1.5; font-weight: 700; color: var(--ink); letter-spacing: -.045em; }
.steps-grid p { font-size: clamp(12px, 1.1vw, 17px); line-height: 1.7; margin-top: 8px; }
.step-arrow { position: absolute; right: calc(clamp(28px, 3.5vw, 64px) / -2 - 9px); top: calc(50% - 10px); color: var(--primary); }
.step-arrow .icon { width: 18px; height: 20px; }

/* Full-bleed closing section and viewport-wide action bar. */
.closing-banner { color: white; text-align: center; padding-top: clamp(28px, 3vw, 50px); padding-bottom: clamp(30px, 3vw, 50px); background: linear-gradient(#062b456b, #062b4580), url("assets/photos/hero.webp") left 35% / 160% auto; }
.closing-banner h2 { font-size: clamp(23px, 2.5vw, 40px); font-weight: 700; line-height: 1.5; word-break: keep-all; }
.closing-banner p { font-size: clamp(12px, 1.2vw, 19px); margin-top: 8px; line-height: 1.8; word-break: keep-all; }
.closing-actions { display: flex; justify-content: center; gap: 16px; margin-top: 22px; }
.closing-actions .button { min-width: min(310px, 45%); }
.site-footer { padding-block: 40px; background: #2fc6bd; color: #fff; text-align: center; line-height: 1; font-weight: 400; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-company { width: min(100%, 460px); padding-bottom: 14px; border-bottom: 1px solid #fff; }
.footer-company-name { font-size: 15px; font-weight: 400; }
.footer-company address { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; font-style: normal; line-height: 1; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; width: min(100%, 460px); padding-block: 16px; }
.site-footer nav > a { font-size: 14px; font-weight: 400; white-space: nowrap; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-copyright { display: block; margin-top: 10px; font-size: 11px; line-height: 1; }
.sticky-actions { position: fixed; inset: auto 0 0; z-index: 20; padding: 12px 32px calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); box-shadow: 1px 1px 2px rgb(0 0 0 / .4); text-align: center; letter-spacing: 1.5px; line-height: 1; transition: opacity .3s ease, transform .3s ease; }
.sticky-actions-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 724px; margin-inline: auto; }
/* Match the desktop job-detail dock's button dimensions, icons and typography. */
.sticky-button { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; max-width: 350px; height: 60px; margin: 0 auto; padding: 24px 16px; border-radius: 50px; background: var(--line); color: #fff; box-shadow: 0 3.58209px 3.58209px rgb(0 0 0 / .25); transition: opacity .2s; }
.sticky-text { font-size: 18px; font-weight: 800; line-height: 1.44; white-space: pre; }
.sticky-line-icon { width: 32px; height: 30px; flex: 0 0 auto; }
.sticky-arrow { width: auto; height: 30px; flex: 0 0 auto; }
.sticky-button-jobs { background: var(--yellow); color: var(--ink); }
.sticky-button-jobs .sticky-arrow { filter: brightness(0); }
.sticky-button:hover { opacity: .8; }
.js .sticky-actions:not([aria-hidden="false"]), .sticky-actions[aria-hidden="true"] { visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(calc(100% + 20px)); }
@media (max-width: 700px) {
  .sticky-actions-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sticky-button-line { display: none; }
}

/* Job detail page and the existing application notice dialog. */
.job-detail-page { background: #f5faf9; padding: 32px 0 64px; min-height: 70vh; }
.job-page-inner { width: min(calc(100% - var(--gutter) * 2), 960px); margin-inline: auto; }
.job-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--primary); font-size: 14px; font-weight: 700; }
.job-back-link .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.job-back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.job-page-heading { font-size: 28px; margin-bottom: 16px; }
.job-page-content { padding: 32px; border: 1px solid #e0edeb; border-radius: 12px; background: #fff; line-height: 1.9; box-shadow: 0 4px 18px #2db7af0a; }
.job-page-content .detail-actions > .button { width: 100%; min-height: 56px; margin-top: 20px; font-size: 16px; }
.dialog { width: min(580px, calc(100% - 28px)); max-height: 90dvh; padding: 0; border: none; border-radius: 16px; color: var(--ink); box-shadow: 0 24px 90px #04162b55; overflow-y: auto; overscroll-behavior: contain; }
.dialog::backdrop { background: #091e32a6; backdrop-filter: blur(4px); }
.dialog-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: white; border-bottom: 1px solid #e5eeef; z-index: 1; }
.dialog-heading h2 { font-size: 20px; line-height: 1.5; color: var(--ink); }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pale); flex: 0 0 auto; }
.dialog-body { padding: 24px; font-size: 14px; line-height: 1.9; }
.dialog-body p + p { margin-top: 16px; }
.dialog .button { width: 100%; min-height: 50px; margin-top: 20px; font-size: 15px; }
.notice { padding: 14px 16px; border-radius: 8px; background: var(--pale); color: var(--muted); font-size: 13px; }
.detail-media { overflow: hidden; border-radius: 8px; background: #eef7f6; }
.detail-photo { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.detail-media .job-photo-placeholder { max-height: 240px; }
.detail-intro { padding-top: 24px; }
.detail-company { color: #506164; font-size: 15px; }
.detail-title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.6; margin-top: 6px; font-weight: 700; }
.detail-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 14px; color: #506164; font-size: 12px; }
.detail-description { margin-top: 24px; white-space: pre-wrap; }
.job-detail { font-size: 16px; overflow-wrap: anywhere; }
.detail-conditions { margin-top: 32px; }
.detail-conditions > h2 { font-size: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
.detail-tags > span { font-size: 12px; }
.job-detail dl { margin-block: 0; }
.job-detail dl > div { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid #e3edef; }
.job-detail dt { font-weight: 700; color: var(--muted); }
.job-detail dd { margin: 0; white-space: pre-wrap; }
.detail-actions { margin-top: 16px; }
.dialog-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px auto 0; color: var(--primary); font-weight: 700; }
.dialog-secondary > .icon { width: 16px; height: 16px; }
.modal-feature-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: var(--pale); color: var(--primary); }
.modal-feature-icon .icon { width: 36px; height: 36px; }

@media (min-width: 1800px) {
  .job-photo-button > img { max-height: 400px; }
  .category-card > img { max-height: 235px; }
}

@media (max-width: 1150px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 834px) {
  :root { --header-height: 60px; }
  .header-inner { padding: 0 12px 0 32px; }
  .brand-logo img, .menu-logo img { width: 125px; height: 27px; }
}

@media (max-width: 1100px) {
  .hero-actions { width: min(100%, 350px); }
  .hero-actions .button { padding-inline: 16px; font-size: 15px; gap: 9px; min-height: 49px; }
  .hero-actions .icon-search { width: 24px; height: 24px; }
  .hero-side-note { bottom: 23px; font-size: 24px; }
  .consultation-inner { grid-template-columns: minmax(0, 32fr) minmax(0, 48fr) minmax(0, 20fr); gap: 18px; }
  .consultation-copy .button { font-size: 15px; gap: 8px; padding-inline: 14px; }
  .consultation-copy .line-mark { width: 27px; height: 27px; font-size: 10px; }
  .steps-grid li { gap: 12px; padding-inline: 14px; }
  .steps-grid h3 { font-size: 15px; }
}

@media (max-width: 850px) {
  :root { --gutter: 24px; }
  .hero-content { padding-top: 28px; padding-bottom: 18px; }
  .hero-note { margin-bottom: 26px; }
  .hero h1 { font-size: 32px; }
  .hero-side-note { font-size: 20px; }
  .hero-actions { margin-top: 21px; }
  .hero-actions .button { font-size: 14px; padding-inline: 14px; gap: 8px; }
  .section-heading h2 { font-size: 22px; padding-left: 17px; }
  .section-heading h2::before { width: 6px; }
  .category-card > span { padding-inline: 10px; font-size: 13px; }
  .category-card > span .icon { width: 12px; height: 12px; }
  .job-content { padding: 13px 12px; }
  .job-title-line h3 { font-size: 16px; }
  .new-badge { font-size: 10px; padding: 4px 6px; }
  .job-location, .job-salary { font-size: 12px; gap: 5px; }
  .job-salary strong { font-size: 14px; }
  .job-location > .icon, .job-salary > .icon { width: 16px; height: 16px; }
  .job-tags { gap: 6px; }
  .job-tags > span { padding-inline: 7px; }
  .consultation-copy { padding-bottom: 23px; }
  .consultation-copy h2 { font-size: 21px; padding-left: 12px; }
  .consultation-copy p { font-size: 12px; margin-top: 12px; }
  .consultation-copy .button { min-height: 46px; font-size: 13px; margin-top: 14px; }
  .reason-card { padding-inline: 10px; grid-template-rows: auto minmax(54px, auto) auto; }
  .reason-card h3 { font-size: 18px; }
  .reason-card p { font-size: 13px; }
  .steps-grid { gap: 26px; }
  .steps-grid li { flex-direction: row; align-items: center; gap: 10px; padding: 24px 10px 18px 24px; }
  .steps-grid li > div { min-width: 0; }
  .steps-grid h3 { font-size: 12.5px; }
  .steps-grid p { font-size: 11px; }
  .step-icon { width: 44px; height: 44px; }
  .step-number { width: 31px; height: 31px; font-size: 17px; left: -3px; }
  .step-arrow { right: -22px; }
  .closing-actions .button { min-width: 0; font-size: 15px; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .hero { min-height: 510px; align-items: stretch; background-position: 80% center; }
  .hero::before { background: linear-gradient(0deg, #051422a6, transparent 80%), linear-gradient(90deg, #05142233, transparent); }
  .hero-inner { display: flex; }
  .hero-content { display: flex; flex-direction: column; width: 100%; padding-top: 25px; padding-bottom: 25px; }
  .hero-note { margin: calc(4px - 1.245em) 0 42px; font-size: 21px; }
  .hero h1 { font-size: clamp(27px, 6.9vw, 44px); }
  /* Keep both actions together at the bottom, with room below the headline. */
  .hero-actions { width: min(100%, 520px); margin-top: auto; padding-top: 25px; }
  .hero-actions .button { min-height: 48px; font-size: 15px; padding-inline: 22px; }
  .hero-actions .button > span:not(.line-mark) { flex: initial; }
  .hero-actions .button > :first-child { margin-left: auto; }
  .hero-actions .button .icon-right { margin-left: auto; }
  .hero-side-note { display: none; }
  .section-heading { flex-wrap: wrap; gap: 9px 16px; margin-bottom: 18px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading > p { display: none; }
  .section-heading > .text-link { margin-left: auto; font-size: 11px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .category-card > span { padding: 10px 9px; font-size: 12px; }
  .category-section { padding-top: 26px; padding-bottom: 30px; }
  .job-grid { grid-template-columns: 1fr; gap: 22px; }
  .success-story-slider {
    position: relative;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 4px 2px 16px;
    scrollbar-width: none;
  }
  .success-story-slider::-webkit-scrollbar { display: none; }
  .success-story-slider > .job-card { scroll-snap-align: start; scroll-snap-stop: always; }
  .success-story-slider:has(> :only-child) { grid-auto-columns: 100%; }
  .success-story-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 4px; }
  .success-story-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--primary); border-radius: 50%; background: #fff; color: var(--primary); cursor: pointer; }
  .success-story-controls button:disabled { opacity: .3; cursor: default; }
  .success-story-controls .icon { width: 16px; height: 16px; }
  .success-story-prev .icon { transform: rotate(180deg); }
  .success-story-position { min-width: 42px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
  .job-photo-button > img { max-height: 320px; }
  .job-content { padding: 18px; }
  .job-title-line h3 { font-size: 17px; }
  .new-badge { font-size: 12px; padding: 4px 9px; }
  .job-location, .job-salary { font-size: 13px; gap: 6px; line-height: 1.8; }
  .job-salary { font-size: 14px; }
  .job-salary strong { font-size: 1.1em; }
  .job-tags { gap: 6px 8px; margin: 10px 0 12px; }
  .job-tags > span { font-size: 11px; padding-inline: 8px; }
  .consultation-banner { padding-top: 26px; }
  .consultation-inner { grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); align-items: end; gap: 0 16px; }
  .consultation-photo { grid-column: 1; grid-row: 1; height: 235px; border-radius: 65% 35% 0 0 / 17% 10% 0 0; }
  .consultation-photo > img { height: 100%; width: 100%; object-fit: cover; object-position: 77% center; }
  .consultation-photo-note { left: 5%; top: auto; bottom: 7%; width: 90%; }
  .consultation-copy { grid-column: 2; padding: 0 0 26px; }
  .consultation-copy h2 { font-size: clamp(20px, 4.7vw, 27px); padding-left: 12px; }
  .consultation-copy p { margin-top: 15px; font-size: 12px; line-height: 1.9; }
  .consultation-copy p br { display: none; }
  .consultation-copy .button { font-size: clamp(11px, 2.7vw, 15px); min-height: 45px; padding-inline: 11px; gap: 7px; }
  .consultation-copy .line-mark { width: 23px; height: 23px; font-size: 8px; }
  .consultation-copy .icon-right { width: 12px; height: 12px; }
  .line-phone { display: none; }
  .reasons-heading { font-size: 20px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 12px; }
  .reason-card { grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 20px; text-align: left; justify-items: start; padding: 22px 20px; }
  .reason-card > .icon { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 52px; height: 52px; margin: 0; }
  .reason-card:last-child > .icon { width: 58px; }
  .reason-card h3 { grid-column: 2; font-size: 18px; }
  .reason-card p { grid-column: 2; font-size: 13px; margin-top: 7px; }
  .reason-card h3 br, .reason-card p br { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 26px; }
  .steps-grid li { flex-direction: row; align-items: center; gap: 20px; padding: 20px 22px 20px 27px; }
  .steps-grid h3 { font-size: 17px; }
  .steps-grid p { font-size: 12px; margin-top: 5px; }
  .steps-grid p br { display: none; }
  .step-icon { width: 58px; height: 58px; }
  .step-arrow { top: auto; bottom: -24px; right: calc(50% - 9px); transform: rotate(90deg); }
  .closing-banner { background-size: auto 180%; background-position: 35% center; }
  .closing-banner h2 { font-size: 22px; }
  .closing-banner p { font-size: 11px; }
  .closing-actions { flex-direction: column; gap: 10px; margin-top: 20px; }
  .closing-actions .button { width: 100%; min-height: 48px; font-size: 15px; }
  .dialog-heading { padding: 16px 18px; }
  .dialog-heading h2 { font-size: 18px; }
  .dialog-body { padding: 18px; font-size: 13px; }
  .job-detail-page { padding-top: 24px; padding-bottom: 40px; background: #fff; }
  .job-page-content { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .dialog { inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .dialog-heading { padding-top: max(16px, env(safe-area-inset-top)); }
  .dialog-body { padding: 20px 20px max(28px, env(safe-area-inset-bottom)); }
  .job-detail { font-size: 15px; }
  .job-detail dl > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 20px; }
  .job-detail dt { color: #476560; font-size: 13px; }
  .detail-conditions > h2 { font-size: 20px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 24px; }
  .hero-note { font-size: 18px; }
  .hero-side-note { font-size: 15px; }
  .category-card > span { font-size: 11px; padding-inline: 7px; }
  .section-heading h2 { font-size: 19px; }
  .consultation-inner { gap: 12px; }
  .consultation-copy h2 { font-size: 18px; padding-left: 10px; }
  .consultation-copy .button { font-size: 10px; gap: 5px; padding-inline: 8px; }
  .reasons-heading { font-size: 18px; }
  .reason-card { column-gap: 14px; padding-inline: 16px; }
  .reason-card h3 { font-size: 16px; }
}


/* Blank → colored block grows left-to-right → block clears left-to-right. */
.headline-text { display: inline-block; }
.headline-brand .headline-text { display: inline-flex; align-items: baseline; }
@media (prefers-reduced-motion: no-preference) {
  .js .headline-strip, .js .headline-brand { position: relative; isolation: isolate; overflow: hidden; --strip-delay: 120ms; --strip-duration: 820ms; animation: headline-block-enter var(--strip-duration) cubic-bezier(.76, 0, .24, 1) var(--strip-delay) both; }
  .js .second-strip { --strip-delay: 230ms; }
  .js .headline-brand { --strip-delay: 340ms; }
  .js .headline-strip::after, .js .headline-brand::after { content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; background: #15171b; animation: headline-block-clear var(--strip-duration) cubic-bezier(.76, 0, .24, 1) var(--strip-delay) both; }
  .js .hero-note, .js .hero-side-note { animation: gentle-fade 800ms ease 420ms both; }
  .js .hero-actions { animation: content-rise 650ms cubic-bezier(.22, 1, .36, 1) 1100ms both; }
  .motion-ready [data-reveal] { opacity: 0; translate: 0 20px; transition: opacity 650ms ease var(--reveal-delay, 0ms), translate 650ms cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms); }
  .motion-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; }
  .category-card > img, .job-photo-button > img { transition: transform 450ms ease; }
  .category-card:hover > img, .job-photo-button:hover > img { transform: scale(1.035); }
  .button .icon-right { transition: transform 200ms ease; }
  .button:hover .icon-right { transform: translateX(3px); }
}
@keyframes headline-block-enter {
  0% { clip-path: inset(0 100% 0 0); }
  42%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes headline-block-clear {
  0%, 52% { transform: translateX(0); }
  100% { transform: translateX(101%); }
}
@keyframes gentle-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes content-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
