:root {
  --blue: #005bac;
  --blue-2: #0b6fc8;
  --blue-dark: #003f7d;
  --green: #21b761;
  --green-dark: #10964d;
  --sky: #eaf7ff;
  --ink: #08335f;
  --muted: #5e7388;
  --line: #d8e8f4;
  --shadow: 0 10px 26px rgba(0, 63, 125, 0.13);
  --radius: 8px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* iOS Safari auto-boosts font sizes on some text blocks ("text
     autosizer") independent of the CSS font-size and independent of
     the user's own pinch-zoom - a real-device-only behavior that
     desktop-engine testing (including Playwright's WebKit) doesn't
     reproduce. Without this, that inflation silently breaks nowrap
     layouts and fixed-column grids sized for the CSS-specified font
     size, and body's overflow-x:hidden below then clips the result
     instead of showing a scrollbar, so it looks like content is cut
     off on the right on real phones only. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(0, 63, 125, 0.08);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 900;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-mark {
  position: relative;
  width: 54px;
  height: 68px;
  background-image: url("assets/Blue.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.brand strong { display: block; font-size: 24px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.brand small {
  display: block;
  width: 100%;
  height: 22px;
  margin-top: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100'%3E%3Cpath d='M0,52 L56,52 L69,6 L82,96 L95,52 L110,52 L119,32 L128,54 L137,38 L148,52 L162,52 L176,4 L189,98 L202,52 L300,52' fill='none' stroke='%2310964d' stroke-width='7' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.inverse small {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100'%3E%3Cpath d='M0,52 L56,52 L69,6 L82,96 L95,52 L110,52 L119,32 L128,54 L137,38 L148,52 L162,52 L176,4 L189,98 L202,52 L300,52' fill='none' stroke='%23ffffff' stroke-width='7' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E");
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 42px);
  flex: 1;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.nav-links a { padding: 8px 0; }
.nav-links a:hover { color: var(--green-dark); }
.header-actions { display: flex; gap: 12px; }
.btn, .btn-search, .wide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.btn-outline { color: var(--blue); background: #fff; border-color: var(--blue); }
.btn-green, .btn-search, .wide-cta { color: #fff; background: linear-gradient(180deg, #28c975, var(--green)); box-shadow: 0 9px 18px rgba(33, 183, 97, 0.26); }

.hero {
  position: relative;
  min-height: 485px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 45%, rgba(232,247,255,0.2) 100%);
}
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% top; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.94) 34%, rgba(255,255,255,0.36) 62%, rgba(255,255,255,0.02) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 32px;
}
.hero-copy h1 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.34;
  letter-spacing: 0;
  font-weight: 900;
}
.hero-copy p {
  width: min(560px, 100%);
  margin: 0 0 24px;
  color: #223f59;
  font-size: 17px;
  font-weight: 800;
}
.search-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(135px, 1fr)) 170px;
  gap: 10px;
  width: min(760px, 100%);
  padding: 20px 22px 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid #d7e8f5;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.search-panel label { display: grid; gap: 5px; }
.search-panel label span { color: var(--blue-dark); font-size: 12px; font-weight: 900; }
.search-panel select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: #6a7c8c;
  background: #fff;
  border: 1px solid #caddeb;
  border-radius: 6px;
  outline: none;
}
.btn-search { gap: 7px; align-self: end; min-height: 48px; border: 0; cursor: pointer; }
.btn-search span { font-size: 22px; line-height: 1; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips a, .tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  color: var(--blue);
  background: #f4fbff;
  border: 1px solid #acd3f1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.chips a:first-child, .tags span:first-child { color: var(--green-dark); border-color: #86d9ab; background: #f2fff7; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 clamp(28px, 8vw, 130px);
  background: #eef8ff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip article {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 16px 28px;
  border-right: 1px solid #c9deef;
}
.trust-strip article:last-child { border-right: 0; }
.trust-strip article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50%;
  font-weight: 900;
}
.trust-strip article > span svg { width: 22px; height: 22px; }
.trust-strip strong { display: block; color: var(--blue); font-size: 15px; }
.trust-strip p { margin: 2px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }

.section { padding: 38px clamp(24px, 7vw, 96px); }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 24px; }
.section-heading.split { position: relative; }
.section-heading h2, .flow-content h2 {
  position: relative;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}
.section-heading h2::after, .flow-content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 10px auto 0;
  background: var(--blue);
  border-radius: 999px;
}
.section-heading a { position: absolute; right: 0; color: var(--blue); font-size: 13px; font-weight: 900; }

.job-grid, .story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: min(1040px, 100%); margin: 0 auto; }
.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 18px;
  min-height: 152px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(0,63,125,0.11);
}
.job-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 4px; }
.heart { position: absolute; top: 12px; right: 12px; color: #a2b0bc; background: transparent; border: 0; font-size: 24px; line-height: 1; cursor: pointer; }
.job-card h3 { margin: 18px 28px 8px 0; color: var(--blue); font-size: 18px; line-height: 1.25; }
.location { margin: 0 0 6px; color: #314d65; font-size: 13px; font-weight: 800; }
.location::before { content: "●"; color: var(--green); margin-right: 6px; font-size: 10px; }
.salary { margin: 0 0 12px; color: var(--green-dark); font-size: 15px; font-weight: 900; }
.salary::before { content: "日給 "; color: var(--blue); font-size: 12px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { min-height: 25px; padding: 0 11px; font-size: 12px; }

.profession-section { background: linear-gradient(180deg, #eaf7ff 0%, #f8fcff 100%); }
.profession-heading {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: min(1400px, 100%);
  margin-inline: auto;
}
.profession-heading-copy { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; min-width: 260px; }
.profession-heading h2 { text-align: left; }
.profession-heading h2 .accent { color: var(--blue); }
.profession-heading h2::after { margin: 10px 0 0; }
.profession-heading p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.profession-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.profession-cta-row .hero-role-card {
  position: static;
  flex: 1 1 260px;
  min-height: 88px;
  padding: 14px 16px;
}
.profession-cta-row .role-text strong { font-size: 14px; }
.profession-cta-row .role-text small { font-size: 11.5px; }
.profession-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 22px; width: min(1400px, 100%); margin: 0 auto; }
.profession-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 14px 28px;
  color: var(--blue-dark);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(0,63,125,0.10);
}
.profession-photo-frame {
  width: 88%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.profession-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 10px 18px rgba(0, 63, 125, 0.16));
}
.profession-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-top: -32px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 63, 125, 0.18);
  position: relative;
  z-index: 1;
}
.profession-icon svg { width: 30px; height: 30px; }
.profession-icon img { width: 34px; height: 34px; object-fit: contain; }
.profession-icon.icon-blue { background: #e3f1ff; color: var(--blue); }
.profession-icon.icon-green { background: #e5f8ee; color: var(--green-dark); }
.profession-icon.icon-orange { background: #fff1e0; color: #d9822b; }
.profession-icon.icon-purple { background: #f1eaff; color: #7c4fd1; }
.profession-grid h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.3; }
.profession-grid p { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 700; line-height: 1.4; }
.profession-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 900;
  font-size: 16px;
}

.flow-panel {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 332px;
  padding: 36px clamp(24px, 7vw, 96px);
}
.flow-panel.seeker { grid-template-columns: minmax(560px, 1fr) 390px; background: linear-gradient(90deg, #eaf7ff, #fff 56%, #eaf7ff); }
.flow-panel.employer { grid-template-columns: 300px minmax(520px, 1fr) 170px; background: linear-gradient(90deg, #eefbf3, #fff 54%, #eefbf3); }
.flow-panel > img { align-self: end; max-height: 340px; object-fit: contain; object-position: center top; }
.flow-panel.seeker > img { justify-self: end; width: min(390px, 30vw); height: 340px; object-fit: cover; object-position: center top; margin-bottom: -36px; }
.flow-panel.employer > img { justify-self: start; width: 300px; height: 230px; object-fit: cover; object-position: center top; border-radius: 8px; box-shadow: 0 8px 18px rgba(0,63,125,0.08); }
.flow-content { position: relative; z-index: 1; }
.flow-content h2 { width: fit-content; margin-bottom: 24px; text-align: left; }
.flow-content h2::after { margin-left: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px; width: min(620px, 100%); }
.employer .steps { gap: 26px; }
.steps article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 138px;
  padding: 18px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0,63,125,0.08);
}
.steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -33px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid var(--blue);
  transform: translateY(-50%);
}
.employer .steps article:not(:last-child)::after { right: -20px; border-left-color: var(--green); }
.steps span { color: var(--blue); font-size: 40px; line-height: 1; }
.steps h3 { margin: 0; color: var(--blue); font-size: 15px; line-height: 1.35; }
.steps p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.55; }
.wide-cta { gap: 42px; min-width: 330px; min-height: 52px; margin-top: 18px; font-size: 18px; }
.wide-cta span { font-size: 28px; line-height: 1; }
.fee-badge {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 152px;
  height: 152px;
  padding: 22px;
  color: #fff;
  text-align: center;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(33,183,97,0.26);
  font-weight: 900;
  line-height: 1.25;
}
.fee-badge strong { display: block; font-size: 33px; line-height: 1; }
.fee-badge small { font-size: 15px; }

.stories { background: #fff; }
.story-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  min-height: 118px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid #cfe3f2;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0,63,125,0.08);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.story-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0,63,125,0.15); }
.story-grid article::after {
  content: "\201D";
  position: absolute;
  top: 2px;
  right: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,91,172,0.07);
  pointer-events: none;
}
.story-grid article.role-blue { border-top-color: var(--blue); }
.story-grid article.role-green { border-top-color: var(--green); }
.story-grid article.role-orange { border-top-color: #f2a44b; }
.story-grid article.role-purple { border-top-color: #9b7ae0; }
.story-grid img { width: 64px; height: 64px; border: 3px solid #eef5fb; border-radius: 50%; object-fit: cover; }
.story-grid span { display: inline-block; margin-bottom: 6px; color: var(--blue); font-size: 13px; font-weight: 900; }
.story-grid span::first-letter { color: var(--green-dark); }
.story-grid p { position: relative; margin: 0; color: #334e66; font-size: 13px; font-weight: 700; line-height: 1.7; }

.faq { padding-top: 8px; background: linear-gradient(180deg, #fff, #f7fbff); }
.faq details { width: min(1060px, 100%); margin: 0 auto; background: #fff; border: 1px solid var(--line); border-bottom: 0; }
.faq details:first-of-type { border-radius: 8px 8px 0 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.faq summary { cursor: pointer; padding: 13px 20px; color: var(--blue-dark); font-size: 15px; font-weight: 900; list-style: none; }
.faq summary::before { content: "Q"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 12px; color: #fff; background: var(--blue); border-radius: 50%; font-size: 12px; }
.faq summary::after { content: "⌄"; float: right; color: var(--blue); }
.faq p { margin: 0; padding: 0 52px 16px; color: var(--muted); font-size: 13px; font-weight: 700; }

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 1.35fr;
  gap: 34px;
  padding: 34px clamp(24px, 7vw, 96px) 14px;
  color: #fff;
  background: linear-gradient(135deg, #004a91 0%, #0068bd 100%);
}
.inverse, .inverse small { color: #fff; }
.inverse .brand-mark { background-image: url("assets/Blue-white.png"); }
.site-footer p, .site-footer a, .site-footer span { color: rgba(255,255,255,0.86); }
.site-footer h3 { margin: 0 0 12px; font-size: 14px; }
.site-footer div:not(.footer-brand):not(.footer-cta):not(.socials) a { display: block; margin: 7px 0; font-size: 13px; font-weight: 700; }
.footer-brand p { max-width: 260px; margin: 12px 0; font-size: 12px; font-weight: 700; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 30px; height: 30px; color: var(--blue) !important; background: #fff; border-radius: 50%; font-size: 13px; font-weight: 900; }
.footer-cta { display: grid; gap: 8px; align-self: start; padding: 18px; border: 1px solid rgba(255,255,255,0.45); border-radius: 8px; background: rgba(255,255,255,0.08); text-align: center; }
.footer-cta strong { font-size: 16px; }
.footer-cta span { font-size: 11px; font-weight: 700; }
.footer-cta .btn { width: 100%; }
.copyright { grid-column: 1 / -1; margin: 12px 0 0; text-align: center; font-size: 11px; }

@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .nav-links { order: 3; flex-basis: 100%; justify-content: flex-start; overflow-x: auto; }
  .job-grid, .story-grid { grid-template-columns: 1fr; max-width: 620px; }
  .profession-grid { grid-template-columns: repeat(4, 1fr); }
  .flow-panel.seeker, .flow-panel.employer { grid-template-columns: 1fr; gap: 20px; }
  .flow-panel > img { display: none; }
  .fee-badge { margin: 0 auto; }
  .site-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { position: static; padding: 12px 18px; }
  .brand strong { font-size: 21px; }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; padding: 0 12px; }
  .hero-inner { width: calc(100% - 36px); padding: 38px 0 26px; }
  .hero-photo img { object-position: 62% top; }
  .hero-photo::after { background: linear-gradient(90deg, rgba(255,255,255,0.97), rgba(255,255,255,0.9)); }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy p { font-size: 15px; }
  .search-panel { grid-template-columns: 1fr; padding: 16px; }
  .trust-strip { grid-template-columns: 1fr; padding: 0; }
  .trust-strip article { border-right: 0; border-bottom: 1px solid #c9deef; }
  .section { padding: 34px 18px; }
  .section-heading.split { justify-content: flex-start; }
  .section-heading a { position: static; margin-left: auto; }
  .job-card { grid-template-columns: 96px 1fr; gap: 12px; padding: 13px; }
  .job-card img { width: 88px; height: 88px; }
  .job-card h3 { margin-top: 4px; font-size: 16px; }
  .profession-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-panel { padding: 34px 18px; }
  .steps, .employer .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps article:not(:last-child)::after { display: none; }
  .wide-cta { width: 100%; min-width: 0; gap: 18px; font-size: 15px; }
  .story-grid article { grid-template-columns: 58px 1fr; padding: 15px; }
  .story-grid img { width: 52px; height: 52px; }
  .faq p { padding: 0 20px 14px; }
  .site-footer { grid-template-columns: 1fr; padding: 32px 18px 14px; }
}

@media (max-width: 440px) {
  .nav-links { gap: 18px; font-size: 12px; }
  .hero-copy h1 { font-size: 31px; }
  .job-card { grid-template-columns: 1fr; }
  .job-card img { width: 100%; height: 190px; }
  .heart { background: rgba(255,255,255,0.85); border-radius: 50%; }
}
/* Responsive hardening: desktop, tablet, and phone */
html,
body {
  width: 100%;
  max-width: 100%;
}

.site-header,
.hero-inner,
.trust-strip,
.section,
.flow-panel,
.site-footer {
  min-width: 0;
}

.site-header {
  flex-wrap: nowrap;
}

.nav-links,
.header-actions,
.search-panel,
.job-card,
.story-grid article,
.steps article,
.footer-cta {
  min-width: 0;
}

@media (min-width: 1440px) {
  .hero {
    min-height: 540px;
  }

  .hero-inner {
    width: min(1280px, calc(100% - 80px));
    padding-top: 76px;
  }

  .hero-copy h1 {
    font-size: 62px;
  }

  .search-panel {
    width: min(820px, 100%);
  }

  .job-grid,
  .story-grid {
    width: min(1160px, 100%);
  }

  .profession-grid {
    width: min(1400px, 100%);
  }
}

@media (max-width: 1280px) {
  .flow-panel > img {
    display: block;
  }

  .site-header {
    gap: 18px;
    padding-inline: 32px;
  }

  .nav-links {
    gap: 22px;
    font-size: 12px;
  }

  .header-actions .btn {
    padding-inline: 18px;
  }

  .hero-photo img {
    object-position: 78% top;
  }

  .job-grid,
  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .job-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .job-card img {
    width: 88px;
    height: 88px;
  }

  .job-card h3 {
    margin-top: 4px;
    font-size: 16px;
  }

  .profession-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .flow-panel.seeker {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 30vw);
  }

  .flow-panel.employer {
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) 140px;
  }

  .steps {
    gap: 26px;
  }

  .steps article:not(:last-child)::after {
    right: -18px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
    padding: 12px 24px;
  }

  .brand {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: thin;
  }

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    width: calc(100% - 40px);
  }

  .hero-photo img {
    object-position: 82% top;
  }

  .hero-photo::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 43%, rgba(255,255,255,0.5) 72%, rgba(255,255,255,0.16) 100%);
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(680px, 100%);
  }

  .btn-search {
    grid-column: span 2;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid #c9deef;
  }

  .job-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .flow-panel.seeker,
  .flow-panel.employer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .flow-panel > img,
  .flow-panel.seeker > img,
  .flow-panel.employer > img {
    display: block;
    justify-self: center;
    width: min(360px, 100%);
    height: auto;
    max-height: none;
    margin: 0;
    object-fit: contain;
    object-position: center top;
  }

  .flow-panel.employer > img {
    order: 2;
  }

  .flow-panel.employer .flow-content {
    order: 1;
  }

  .flow-panel.employer .fee-badge {
    order: 3;
  }

  .steps,
  .employer .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
  }

  .steps article:not(:last-child)::after {
    display: none;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .hero-photo::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9));
  }

  .hero-copy h1 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .hero-copy p {
    font-size: 15px;
  }

  .section-heading.split {
    justify-content: space-between;
  }

  .section-heading a {
    position: static;
  }

  .profession-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps,
  .employer .steps {
    grid-template-columns: 1fr;
  }

  .wide-cta {
    width: min(440px, 100%);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 44px;
    height: 56px;
    transform: scale(0.9);
    transform-origin: left center;
  }

  .brand strong {
    font-size: 20px;
  }

  .header-actions {
    width: 100%;
    margin-left: 0;
  }

  .header-actions .btn {
    flex: 1;
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .nav-links {
    flex-basis: 100%;
    gap: 16px;
    font-size: 12px;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 34px 0 24px;
  }

  .hero-photo img {
    object-position: 70% top;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .btn-search {
    grid-column: auto;
  }

  .chips {
    gap: 8px;
  }

  .chips a,
  .tags span {
    font-size: 12px;
  }

  .section,
  .flow-panel {
    padding: 32px 16px;
  }

  .job-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .job-card img {
    width: 84px;
    height: 84px;
  }

  .profession-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .flow-content h2 {
    width: 100%;
  }

  .flow-content h2,
  .section-heading h2 {
    text-align: left;
  }

  .section-heading h2::after,
  .flow-content h2::after {
    margin-left: 0;
  }

  .flow-panel > img,
  .flow-panel.seeker > img,
  .flow-panel.employer > img {
    width: min(300px, 100%);
  }

  .story-grid article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 30px;
    line-height: 1.28;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .job-card {
    grid-template-columns: 1fr;
  }

  .job-card img {
    width: 100%;
    height: 180px;
  }

  .profession-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px 16px;
  }

  .wide-cta {
    gap: 12px;
    font-size: 14px;
  }

  .fee-badge {
    width: 132px;
    height: 132px;
  }

  .fee-badge strong {
    font-size: 26px;
  }
}
/* Distinct role sections */
.role-sections {
  display: grid;
  gap: 0;
  background: #fff;
}

.role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 390px;
  padding: 54px clamp(24px, 7vw, 96px);
  overflow: hidden;
}

.role-seeker {
  background: linear-gradient(90deg, #eaf7ff 0%, #ffffff 58%, #eef9ff 100%);
}

.role-employer {
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.05fr);
  background: linear-gradient(90deg, #effbf5 0%, #ffffff 48%, #f1fbf6 100%);
  border-top: 1px solid var(--line);
}

.role-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.role-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 12px;
  color: var(--blue);
  background: #f4fbff;
  border: 1px solid #acd3f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.role-employer .role-label {
  color: var(--green-dark);
  background: #f2fff7;
  border-color: #86d9ab;
}

.role-copy h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  font-weight: 900;
}

.role-copy h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 10px;
  background: var(--blue);
  border-radius: 999px;
}

.role-employer .role-copy h2::after {
  background: var(--green);
}

.role-copy p {
  margin: 18px 0 22px;
  color: #334e66;
  font-size: 16px;
  font-weight: 800;
}

.role-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.role-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 63, 125, 0.06);
}

.role-list strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 12px;
}

.employer-list strong {
  background: var(--green);
}

.role-list span {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.role-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-width: 300px;
  min-height: 52px;
  padding: 0 24px;
  color: #fff;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 91, 172, 0.2);
}

.seeker-cta {
  background: linear-gradient(180deg, #0b6fc8, var(--blue));
}

.employer-cta {
  background: linear-gradient(180deg, #28c975, var(--green));
  box-shadow: 0 10px 22px rgba(33, 183, 97, 0.22);
}

.role-cta span {
  font-size: 26px;
  line-height: 1;
}

.role-visual {
  position: relative;
  display: grid;
  align-self: stretch;
  min-height: 300px;
}

.role-visual img {
  align-self: end;
  justify-self: center;
  width: min(360px, 100%);
  max-height: 340px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 26px rgba(0, 63, 125, 0.1));
}

.seeker-visual::before,
.employer-visual::before {
  content: "";
  position: absolute;
  inset: 36px 0 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(216, 232, 244, 0.9);
  border-radius: 12px;
}

.role-visual img,
.price-circle {
  position: relative;
  z-index: 1;
}

.price-circle {
  position: absolute;
  right: 8px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  color: #fff;
  text-align: center;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(33, 183, 97, 0.26);
  font-weight: 900;
  line-height: 1.25;
}

.price-circle strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.price-circle small {
  font-size: 12px;
}

@media (max-width: 1024px) {
  .role-panel,
  .role-employer {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .role-employer .role-visual {
    order: 2;
  }

  .role-visual {
    min-height: 250px;
  }

  .role-visual img {
    width: min(320px, 100%);
    max-height: 300px;
  }
}

@media (max-width: 640px) {
  .role-panel {
    padding: 36px 16px;
  }

  .role-copy p {
    font-size: 14px;
  }

  .role-list li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .role-cta {
    width: 100%;
    min-width: 0;
    gap: 18px;
    font-size: 15px;
  }

  .price-circle {
    right: 50%;
    bottom: 10px;
    width: 112px;
    height: 112px;
    transform: translateX(50%);
  }

  .price-circle strong {
    font-size: 20px;
  }
}
/* Hero audience shortcuts */
.hero-audience {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
  border-top: 1px solid rgba(216, 232, 244, 0.72);
}

.hero-audience > span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.audience-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.seeker-link {
  color: var(--blue);
  background: #f4fbff;
  border: 1px solid #acd3f1;
}

.employer-link {
  color: var(--green-dark);
  background: #f2fff7;
  border: 1px solid #86d9ab;
}

.audience-link::after {
  content: "›";
  margin-left: 8px;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 640px) {
  .hero-audience {
    align-items: stretch;
  }

  .hero-audience > span {
    flex-basis: 100%;
  }

  .audience-link {
    flex: 1 1 150px;
  }
}
/* Hero role-choice panel: replaces search controls */
.hero-role-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(760px, 100%);
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7e8f5;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-role-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 63, 125, 0.06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.hero-role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 63, 125, 0.12);
}

.hero-role-card.seeker {
  border-color: #acd3f1;
  background: linear-gradient(180deg, #ffffff, #f4fbff);
}

.hero-role-card.seeker:hover {
  border-color: var(--blue);
}

.hero-role-card.employer {
  border-color: #86d9ab;
  background: linear-gradient(180deg, #ffffff, #f2fff7);
}

.hero-role-card.employer:hover {
  border-color: var(--green-dark);
}

.role-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4fbff, #e6f4ff);
  border: 1px solid #bfdef4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(0,91,172,0.12);
  overflow: hidden;
}

.role-icon::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 14px;
  background: #fff;
}

.role-icon::after {
  content: "";
  position: absolute;
  z-index: 2;
}

.role-icon span,
.role-icon span::before,
.role-icon span::after {
  position: absolute;
  content: "";
  z-index: 3;
  display: block;
}

.seeker-icon::after {
  top: 11px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.seeker-icon span {
  left: 13px;
  right: 13px;
  bottom: 10px;
  height: 18px;
  border: 3px solid var(--blue);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.seeker-icon span::before {
  left: 50%;
  top: 4px;
  width: 4px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--green);
}

.seeker-icon span::after {
  left: 50%;
  top: 9px;
  width: 14px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--green);
}

.hero-role-card.employer .role-icon {
  background: linear-gradient(180deg, #f2fff7, #e5faee);
  border-color: #9adfb8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(33,183,97,0.13);
}

.employer-icon::after {
  left: 15px;
  right: 15px;
  top: 10px;
  height: 28px;
  border: 3px solid var(--green-dark);
  border-radius: 5px;
  background: linear-gradient(180deg, #fff, #f2fff7);
}

.employer-icon span {
  left: 20px;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--blue);
}

.employer-icon span::before {
  left: 4px;
  top: -2px;
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
}

.employer-icon span::after {
  left: -2px;
  top: 4px;
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.role-text strong,
.role-text small {
  display: block;
}

.role-text strong {
  color: var(--blue-dark);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 900;
}

.role-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.role-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.hero-role-card.employer .role-arrow {
  background: var(--green);
}

@media (max-width: 1024px) {
  .hero-role-panel {
    width: min(680px, 100%);
  }
}

@media (max-width: 640px) {
  .hero-role-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .hero-role-card {
    min-height: 92px;
    padding: 14px;
  }

  .role-text strong {
    font-size: 17px;
  }
}



/* Larger seeker section single image */
.role-panel.role-seeker {
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  min-height: 610px;
  padding-top: 68px;
  padding-bottom: 68px;
}

.role-seeker .role-copy {
  max-width: 680px;
}

.role-seeker .role-copy h2 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.15;
}

.role-seeker .role-copy p {
  width: min(680px, 100%);
  margin-bottom: 26px;
  font-size: 18px;
}

.seeker-showcase {
  min-height: 500px;
  align-self: stretch;
  isolation: isolate;
}

.seeker-showcase::before {
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(234,247,255,0.7));
  box-shadow: 0 22px 52px rgba(0,63,125,0.12);
}

.seeker-single-photo {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  height: 500px;
  margin: 0;
  justify-self: center;
  align-self: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(172,211,241,0.9);
  background: #fff;
  box-shadow: 0 22px 42px rgba(0,63,125,0.13);
}

.seeker-single-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  filter: none;
}

.seeker-single-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,91,172,0) 52%, rgba(0,63,125,0.42) 100%);
}

.seeker-single-photo figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(0,91,172,0.78);
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.seeker-single-photo figcaption strong {
  font-size: 20px;
  line-height: 1.25;
}

.seeker-single-photo figcaption span {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .role-panel.role-seeker {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seeker-showcase {
    min-height: 460px;
  }

  .seeker-single-photo {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .role-seeker .role-copy h2 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .seeker-showcase {
    min-height: 390px;
  }

  .seeker-single-photo {
    width: 100%;
    height: 390px;
  }

  .seeker-single-photo figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

/* Refined employer section image layout */
.role-panel.role-employer {
  scroll-margin-top: 92px;
  grid-template-columns: minmax(520px, 1.04fr) minmax(420px, 0.96fr);
  min-height: 620px;
  padding-top: 78px;
  padding-bottom: 78px;
  gap: clamp(34px, 5vw, 78px);
  background: radial-gradient(circle at 22% 58%, rgba(33,183,97,0.12), transparent 32%), linear-gradient(90deg, #effbf5 0%, #ffffff 52%, #f5fcf8 100%);
}

.role-employer .role-copy {
  max-width: 680px;
}

.role-employer .role-copy h2 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.15;
}

.role-employer .role-copy p {
  width: min(690px, 100%);
  margin-bottom: 26px;
  font-size: 18px;
}

.role-employer .role-visual {
  min-height: 500px;
  align-self: stretch;
  isolation: isolate;
}

.role-employer .employer-visual::before {
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(242,255,247,0.76));
  box-shadow: 0 22px 52px rgba(0,63,125,0.11);
}

.role-employer .role-visual img {
  width: min(640px, 100%);
  height: 440px;
  max-height: none;
  align-self: center;
  justify-self: center;
  object-fit: cover;
  object-position: 42% center;
  border: 1px solid rgba(172,211,241,0.85);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,63,125,0.14);
  filter: none;
}

.role-employer .price-circle {
  right: 20px;
  bottom: 30px;
  width: 148px;
  height: 148px;
  transform: none;
  background: linear-gradient(180deg, #28c975, var(--green));
  box-shadow: 0 20px 36px rgba(33,183,97,0.28);
}

.role-employer .price-circle strong {
  font-size: 26px;
}

@media (max-width: 1024px) {
  .role-panel.role-employer {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .role-employer .role-visual {
    order: 1;
    min-height: 460px;
  }

  .role-employer .role-copy {
    order: 2;
  }

  .role-employer .role-visual img {
    height: 430px;
  }
}

@media (max-width: 640px) {
  .role-panel.role-employer {
    padding: 42px 16px;
  }

  .role-employer .role-copy h2 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .role-employer .role-visual {
    min-height: 380px;
  }

  .role-employer .role-visual img {
    width: 100%;
    height: 360px;
    object-position: 42% center;
  }

  .role-employer .price-circle {
    right: 14px;
    bottom: 14px;
    width: 112px;
    height: 112px;
    transform: none;
  }

  .role-employer .price-circle strong {
    font-size: 20px;
  }
}

/* Show full role-section photos without cropping */
.seeker-single-photo {
  background: linear-gradient(135deg, #f7fcff, #ffffff);
}

.seeker-single-photo img {
  object-fit: contain;
  object-position: center bottom;
  padding: 0;
  background: linear-gradient(135deg, #f7fcff, #ffffff);
}

.seeker-single-photo::after {
  background: linear-gradient(180deg, rgba(0,91,172,0) 62%, rgba(0,63,125,0.34) 100%);
}

.role-employer .role-visual img {
  object-fit: contain;
  object-position: center center;
  padding: 0;
  background: linear-gradient(135deg, #f7fcff, #ffffff);
}

@media (max-width: 640px) {
  .role-employer .role-visual img {
    object-fit: contain;
    object-position: center center;
  }
}
/* Client delivery responsive polish - Japan mobile/tablet/desktop */
:root {
  --page-max: 1180px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  width: 100%;
}

.brand-text,
.nav-links a,
.btn,
.role-text,
.role-copy,
.job-card,
.story-grid,
.faq {
  overflow-wrap: anywhere;
}

main {
  overflow: hidden;
}

.hero {
  min-height: clamp(460px, 46vw, 590px);
}

.hero-photo img {
  object-position: right center;
}

.hero-inner {
  width: min(var(--page-max), calc(100% - clamp(32px, 6vw, 96px)));
  padding-block: clamp(46px, 6vw, 82px) clamp(30px, 4vw, 48px);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.hero-role-panel {
  width: min(820px, 100%);
  backdrop-filter: blur(10px);
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section {
  padding-inline: clamp(18px, 6vw, 96px);
}

.job-grid,
.story-grid {
  width: min(var(--page-max), 100%);
}
.profession-grid {
  width: min(1400px, 100%);
}

.job-card,
.story-grid article,
.profession-grid article,
.role-list li,
.faq details,
.hero-role-card {
  border-color: #cfe3f2;
}

.job-card img {
  background: #f7fcff;
}

.role-panel,
.role-panel.role-seeker,
.role-panel.role-employer {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: 0;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 6vw, 96px);
}

.role-panel.role-employer {
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1fr);
}

.role-copy h2,
.role-seeker .role-copy h2,
.role-employer .role-copy h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.role-copy p,
.role-seeker .role-copy p,
.role-employer .role-copy p {
  font-size: clamp(15px, 1.45vw, 18px);
}

.role-visual,
.seeker-showcase,
.role-employer .role-visual {
  min-height: auto;
  align-self: center;
}

.seeker-showcase::before,
.role-employer .employer-visual::before {
  inset: 0;
  border-radius: 18px;
}

.seeker-single-photo {
  display: grid;
  place-items: center;
  width: min(560px, 100%);
  height: auto;
  aspect-ratio: 4 / 3;
  padding: clamp(14px, 2.2vw, 26px);
  overflow: hidden;
  background: linear-gradient(135deg, #f7fcff, #ffffff);
}

.seeker-single-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.seeker-single-photo figcaption {
  left: clamp(14px, 2vw, 22px);
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
}

.role-employer .role-visual img {
  width: min(560px, 100%);
  height: auto;
  aspect-ratio: 4 / 3;
  padding: clamp(14px, 2.2vw, 26px);
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(135deg, #f7fcff, #ffffff);
}

.role-employer .price-circle {
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
}

.site-footer {
  grid-template-columns: minmax(220px, 1.45fr) repeat(3, minmax(130px, .8fr)) minmax(220px, 1.15fr);
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-inline: 24px;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .job-grid,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profession-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .role-panel,
  .role-panel.role-seeker,
  .role-panel.role-employer {
    grid-template-columns: 1fr;
  }

  .role-employer .role-visual {
    order: 1;
  }

  .role-employer .role-copy {
    order: 2;
  }

  .role-copy {
    max-width: 780px;
  }

  .seeker-single-photo,
  .role-employer .role-visual img {
    width: min(640px, 100%);
    aspect-ratio: 16 / 10;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 0;
  }

  .hero {
    min-height: auto;
    background: #f7fcff;
  }

  .hero-photo img {
    object-position: 68% center;
  }

  .hero-photo::after {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 100%);
  }

  .hero-role-panel {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid #c9deef;
  }

  .section-heading,
  .section-heading.split {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .section-heading h2,
  .flow-content h2,
  .role-copy h2 {
    text-align: left;
  }

  .section-heading h2::after,
  .flow-content h2::after,
  .role-copy h2::after {
    margin-left: 0;
  }

  .section-heading a {
    position: static;
    margin-left: auto;
  }

  .job-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .profession-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seeker-single-photo,
  .role-employer .role-visual img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand-mark {
    width: 44px;
    height: 56px;
  }

  .brand strong {
    font-size: 20px;
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .btn,
  .btn-search,
  .wide-cta,
  .role-cta {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding-block: 30px 22px;
  }

  .hero-copy h1 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-role-card {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 12px;
  }

  .role-icon {
    width: 44px;
    height: 44px;
  }

  .role-text strong {
    font-size: 16px;
  }

  .role-text small {
    font-size: 11px;
  }

  .job-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .job-card img {
    width: 80px;
    height: 80px;
  }

  .role-panel,
  .role-panel.role-seeker,
  .role-panel.role-employer {
    padding: 38px 14px;
  }

  .role-copy h2,
  .role-seeker .role-copy h2,
  .role-employer .role-copy h2 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .role-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .role-list span {
    font-size: 13px;
  }

  .seeker-single-photo,
  .role-employer .role-visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 12px;
  }

  .seeker-single-photo figcaption {
    position: static;
    margin-top: 10px;
    color: var(--blue-dark);
    background: #fff;
    border-color: var(--line);
  }

  .seeker-single-photo figcaption span {
    color: var(--muted);
  }

  .role-employer .price-circle {
    width: 104px;
    height: 104px;
  }

  .role-employer .price-circle strong {
    font-size: 19px;
  }

  .story-grid article {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

/* Register page refreshed to match landing page */
.register-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f3fbff 100%);
}

.register-shell {
  padding: clamp(34px, 6vw, 72px) clamp(16px, 6vw, 96px) clamp(52px, 7vw, 86px);
}

.register-wrap {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
}

.register-title {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.register-title h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  font-weight: 900;
}

.register-title h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-top: 14px;
  background: var(--blue);
  border-radius: 999px;
}

.register-title p {
  width: min(720px, 100%);
  margin: 0;
  color: #334e66;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 800;
}

.register-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.register-choice-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 560px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfe3f2;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0,63,125,.11);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.register-choice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(0,63,125,.15);
}

.register-choice-card.seeker {
  border-color: #acd3f1;
}

.register-choice-card.employer {
  border-color: #9adfb8;
}

.register-choice-photo {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: clamp(14px, 2vw, 24px);
  background: linear-gradient(135deg, #eaf7ff, #fff);
  border-bottom: 1px solid var(--line);
}

.register-choice-card.employer .register-choice-photo {
  background: linear-gradient(135deg, #effbf5, #fff);
}

.register-choice-photo img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center center;
}

.register-choice-body {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: clamp(22px, 3vw, 32px);
}

.register-choice-kicker {
  width: fit-content;
  padding: 4px 12px;
  color: var(--blue);
  background: #f4fbff;
  border: 1px solid #acd3f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.register-choice-card.employer .register-choice-kicker {
  color: var(--green-dark);
  background: #f2fff7;
  border-color: #86d9ab;
}

.register-choice-body h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 900;
}

.register-choice-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.register-choice-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.register-choice-points li {
  display: flex;
  gap: 8px;
  color: #334e66;
  font-size: 14px;
  font-weight: 900;
}

.register-choice-points li::before {
  content: "✓";
  color: var(--green-dark);
  font-weight: 900;
}

.register-choice-card .role-cta {
  width: min(360px, 100%);
  margin-top: 4px;
}

.register-login-note {
  margin: 26px 0 0;
  padding: 18px 20px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,63,125,.06);
}

.register-login-note a {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 900px) {
  .register-choice-grid {
    grid-template-columns: 1fr;
  }

  .register-choice-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .register-choice-photo {
    min-height: 260px;
  }

  .register-choice-photo img {
    height: 240px;
  }
}
/* Final hero face visibility fix */
.hero-photo {
  background: linear-gradient(90deg, #fff 0%, #eef8ff 100%);
}

.hero-photo img {
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 820px) {
  .hero-photo img {
    object-fit: contain;
    object-position: right top;
  }
}

@media (max-width: 560px) {
  .hero-photo img {
    opacity: .38;
    object-position: right top;
  }
}
/* Final employer landing visual: keep employer-photo.png fully visible, including the head. */
.role-panel.role-employer .role-visual {
  overflow: visible;
}

.role-panel.role-employer .role-visual img[src="assets/employer-photo.png"] {
  display: block;
  width: min(600px, 100%);
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 4 / 3;
  padding: clamp(12px, 2vw, 24px);
  object-fit: contain !important;
  object-position: center center !important;
  background: linear-gradient(135deg, #f7fcff, #ffffff);
  border: 1px solid rgba(172,211,241,0.85);
  border-radius: 16px;
}

@media (max-width: 560px) {
  .role-panel.role-employer .role-visual img[src="assets/employer-photo.png"] {
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 10px;
  }
}

/* Final hero role icons: use uploaded PNG assets */
.hero-role-card .role-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.hero-role-card .role-icon::before {
  inset: 0;
  z-index: 2;
  border-radius: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-role-card .role-icon::after,
.hero-role-card .role-icon span,
.hero-role-card .role-icon span::before,
.hero-role-card .role-icon span::after {
  display: none !important;
}

.hero-role-card.seeker .role-icon::before {
  background-image: url("assets/01_doctor_icon_512.png");
  background-size: 46px 46px;
}

.hero-role-card.employer .role-icon::before {
  background-image: url("assets/03_hospital_icon_512.png");
  background-size: 58px 58px;
}

@media (max-width: 560px) {
  .hero-role-card .role-icon {
    width: 56px;
    height: 56px;
  }

  .hero-role-card.seeker .role-icon::before {
    background-size: 40px 40px;
  }

  .hero-role-card.employer .role-icon::before {
    background-size: 50px 50px;
  }
}


/* Keep larger hero icons separated from text */
.hero-role-card {
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  gap: 18px;
}

@media (max-width: 560px) {
  .hero-role-card {
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    gap: 14px;
  }
}

/* Profession info modal */
.profession-grid article[data-profession] { cursor: pointer; }

body.profession-modal-open { overflow: hidden; }

.profession-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 26, 51, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.profession-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.profession-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0, 32, 66, 0.28);
  transform: scale(.94) translateY(8px);
  opacity: 0;
  transition: transform .26s cubic-bezier(.2, .8, .3, 1), opacity .22s ease;
}
.profession-modal-overlay.is-open .profession-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.profession-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.profession-modal-close:hover {
  background: var(--sky);
  transform: rotate(90deg);
}

.profession-modal-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.profession-modal-info h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
}

.profession-modal-desc {
  margin: -14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.profession-modal-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: var(--sky);
  border-radius: 14px;
}
.profession-modal-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.profession-modal-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.profession-modal-stat strong {
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 900;
}

.profession-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profession-modal-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #e5f8ee;
  color: var(--green-dark);
  font-size: 12.5px;
  font-weight: 800;
}
.profession-modal-tag:nth-child(even) {
  background: #e3f1ff;
  color: var(--blue);
}

.profession-modal-duties h3 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
}
.profession-modal-duties ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.profession-modal-duties li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
}
.profession-modal-duties li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--blue);
}

.profession-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.profession-modal-cta:hover {
  box-shadow: 0 12px 24px rgba(0, 91, 172, 0.28);
}
.profession-modal-cta-arrow {
  transition: transform .18s ease;
}
.profession-modal-cta:hover .profession-modal-cta-arrow {
  transform: translateX(5px);
}

@media (max-width: 720px) {
  .profession-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .profession-modal {
    width: calc(100% - 32px);
    max-height: 90vh;
    margin: 16px;
    padding: 24px;
    border-radius: 24px;
  }
  .profession-modal-info h2 {
    font-size: 24px;
  }
}

/* Example spot-work cards ("スポットワークの例") */
.example-jobs-heading > div { display: flex; flex-direction: column; gap: 6px; }
.example-jobs-heading p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 700; }

.example-jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: min(1220px, 100%);
  margin: 0 auto;
}
.example-job-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 63, 125, 0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.example-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 63, 125, 0.14);
}
/* 4 / 3 matches the native ratio of the current photo set
   (profession-*-japan-v2.png, all 1448x1086) exactly, so object-fit: cover
   has effectively nothing left to crop - a plain 2 / 1 box was cropping
   roughly a third of each photo's height and cutting off medical equipment
   (the CT scanner, the raised pipette) that a wider/shorter box can't fit. */
.example-job-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3f7;
}
.example-job-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.example-job-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6b8b, #f0355c);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
}
.example-job-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #a2b0bc;
  font-size: 16px;
  cursor: pointer;
}
.example-job-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 18px;
}
.example-job-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.example-job-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.example-job-icon img { width: 20px; height: 20px; object-fit: contain; }
.example-job-icon.icon-blue { background: #e3f1ff; }
.example-job-icon.icon-green { background: #e5f8ee; }
.example-job-icon.icon-orange { background: #fff1e0; }
.example-job-icon.icon-purple { background: #f1eaff; }
.example-job-heading h3 { margin: 0; color: var(--blue-dark); font-size: 16px; font-weight: 900; }
.example-job-facility { margin: 0; color: #314d65; font-size: 13px; font-weight: 800; }
.example-job-facility.is-masked { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-style: italic; font-weight: 700; }
.example-job-facility.is-masked::before { content: "\1F512"; font-style: normal; font-size: 11px; }
.example-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
}
.example-job-meta span { overflow-wrap: anywhere; }
/* Pushes salary + tags + CTA to the same bottom position across all 4
   cards regardless of how many lines the title/facility/meta above take
   (example-job-body is flex:1, so this auto margin eats the leftover
   space in the taller cards of the row). */
.example-job-salary { margin: auto 0 0; color: var(--green-dark); font-size: 16px; font-weight: 900; }
.example-job-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.example-job-cta span { transition: transform .18s ease; }
.example-job-cta:hover span { transform: translateX(4px); }

@media (max-width: 980px) {
  .example-jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .example-jobs-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* Seeker showcase photo: full-bleed image with in-photo gradient caption
   (final overrides — supersedes the earlier fragmented rules above) */
.seeker-showcase::before {
  content: none;
}
.seeker-single-photo {
  width: min(560px, 100%);
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  background: none;
}
.seeker-single-photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  background: none;
  padding: 0;
}
.seeker-single-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 38, 63, 0) 45%, rgba(4, 38, 63, 0.55) 75%, rgba(4, 38, 63, 0.92) 100%);
}
.seeker-single-photo figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  display: block;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}
.seeker-single-photo figcaption strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.seeker-single-photo figcaption span {
  display: block;
  margin-top: 4px;
  color: #e6f1fb;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 560px) {
  .seeker-single-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
  }
  .seeker-single-photo figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    margin-top: 0;
    color: #fff;
    background: none;
    border-color: transparent;
  }
  .seeker-single-photo figcaption span {
    color: #e6f1fb;
  }
}

/* Employer showcase photo — same full-bleed + gradient-caption treatment
   as .seeker-single-photo, scoped separately since .employer-visual has
   its own long list of legacy rules (price-circle, etc.) elsewhere. */
.employer-visual::before,
.role-employer .employer-visual::before {
  content: none;
}
.employer-single-photo {
  position: relative;
  width: min(520px, 100%);
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  background: none;
}
.employer-single-photo img,
.role-employer .employer-single-photo img,
.role-employer .role-visual .employer-single-photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center 25%;
  background: none;
}
.employer-single-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 38, 63, 0) 45%, rgba(4, 38, 63, 0.55) 75%, rgba(4, 38, 63, 0.92) 100%);
}
.employer-single-photo figcaption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  display: block;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}
.employer-single-photo figcaption strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}
.employer-single-photo figcaption span {
  display: block;
  margin-top: 4px;
  color: #e6f1fb;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 560px) {
  .employer-single-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .employer-single-photo figcaption {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }
}

/* Dashboard-style headers (seeker/employer/admin) share the marketing
   .site-header class but must never wrap onto a second line the way the
   marketing nav-links are designed to - brand + user actions have no
   sensible 2-line layout here, so shrink them instead so everything
   always stays on one row. */
.site-header.seeker-topbar,
.site-header.dash-topbar {
  flex-wrap: nowrap;
}
.site-header.seeker-topbar .brand,
.site-header.dash-topbar .brand {
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
}
.site-header.seeker-topbar .brand-text,
.site-header.dash-topbar .brand-text {
  min-width: 0;
  overflow: hidden;
}
.site-header.seeker-topbar .brand strong,
.site-header.dash-topbar .brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .site-header.seeker-topbar,
  .site-header.dash-topbar {
    gap: 10px;
    padding: 10px 14px;
  }
  .site-header.seeker-topbar .seeker-topbar-right,
  .site-header.dash-topbar .dash-topbar-right {
    gap: 8px;
  }
  .site-header.seeker-topbar .brand-mark,
  .site-header.dash-topbar .brand-mark {
    width: 32px;
    height: 40px;
  }
  .site-header.seeker-topbar .brand strong,
  .site-header.dash-topbar .brand strong {
    font-size: 15px;
  }
  .site-header.seeker-topbar .brand small,
  .site-header.dash-topbar .brand small {
    display: none;
  }
  .site-header.seeker-topbar .seeker-user strong {
    display: none;
  }
  .site-header.dash-topbar .dash-user-text {
    display: none;
  }
  .site-header.seeker-topbar .logout-btn,
  .site-header.dash-topbar .dash-logout {
    padding: 0 10px;
    font-size: 11px;
  }
}

