:root {
  color-scheme: light;
  --page: #f8f7f2;
  --white: #fffefa;
  --ink: #20352d;
  --muted: #4d5d54;
  --green: #174b3b;
  --green-dark: #0d382a;
  --rule: #dddcd1;
  --focus: #87561d;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.65;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure, p, h1, h2, h3, h4, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; top: 10px; left: 12px; transform: translateY(-180%); z-index: 5; padding: 8px 14px; background: white; }
.skip:focus { transform: none; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e4e2d7; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b, .brand small { display: block; line-height: 1.2; }
.brand b { font-size: 15px; letter-spacing: .025em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { display: flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; text-decoration: none; }
nav a:hover, .hero-secondary:hover, .career-links > a:not(.button):hover { text-decoration: underline; }
nav span { margin-left: 6px; }

.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(22px, 5vw, 72px); align-items: center; padding-block: 52px 38px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.eyebrow > span { display: inline-block; width: 16px; height: 2px; background: currentColor; }
h1 { margin-top: 15px; font-size: clamp(34px, 4.15vw, 61px); font-weight: 900; line-height: 1.23; letter-spacing: -.045em; }
h1 em { font-style: normal; color: #21634d; }
.intro { margin: 21px 0 25px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.button { display: inline-flex; justify-content: space-between; gap: 15px; align-items: center; min-height: 48px; padding: 10px 17px; border-radius: 9px; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; }
.button:hover { background: var(--green-dark); }
.hero-secondary { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; margin-left: 13px; color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; }
.hero-visual { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.52; border-radius: 17px; background: #e4e5d7; }
.hero-visual > img { height: 100%; object-fit: cover; object-position: center 49%; }
.hero-visual figcaption { position: absolute; inset: auto auto 13px 13px; padding: 5px 10px; border-radius: 5px; background: #152e26ec; color: #fff; font-size: 11px; font-weight: 700; }
.hero-visual figcaption span { margin-left: 4px; font-size: 10px; color: #dcebe2; font-weight: 500; }

.finder-wrap, .comparison, .career-wrap { scroll-margin-top: 18px; }
.finder { padding: 19px 22px 15px; border: 1px solid #cfdfd1; border-radius: 14px; background: #edf2e9; }
.finder-head { display: flex; align-items: center; gap: 11px; }
.finder-icon { display: grid; flex: 0 0 43px; height: 43px; place-items: center; border-radius: 10px; background: #dce9dc; color: var(--green); }
.finder-icon svg { width: 23px; height: 23px; }
.overline { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.finder h2 { font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; font-weight: 850; }
.finder-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.finder-options button { min-height: 44px; padding: 7px 14px; border: 1px solid #b5c4b6; border-radius: 8px; background: var(--white); color: var(--green-dark); cursor: pointer; font-size: 13px; font-weight: 750; }
.finder-options button:hover { border-color: var(--green); }
.finder-options button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.filter-status { margin-top: 10px; font-size: 13px; color: #3e5447; }

.comparison { margin-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.section-heading h2, .career h2 { margin-top: 4px; font-size: clamp(24px, 3.2vw, 39px); font-weight: 900; line-height: 1.35; letter-spacing: -.03em; }
.count { flex: none; border-radius: 6px; padding: 4px 9px; background: #eeece3; color: #485249; font-size: 11px; font-weight: 750; }
.section-note { margin: 9px 0 19px; color: var(--muted); font-size: 13px; }
.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.work-card { overflow: hidden; min-width: 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); display: flex; flex-direction: column; }
.cargo { --tag-bg: #e3efe3; --tag-ink: #244c33; }
.food { --tag-bg: #f5e9d8; --tag-ink: #734511; }
.employee { --tag-bg: #e2edf2; --tag-ink: #2a4c5b; }
.card-photo { position: relative; aspect-ratio: 2.5; overflow: hidden; background: #e6e5dc; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-number { position: absolute; left: 12px; top: 12px; padding: 3px 8px; border-radius: 5px; background: #f8f7f1f5; color: #233d32; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 12px; }
.category { align-self: start; border-radius: 4px; padding: 2px 7px; background: var(--tag-bg); color: var(--tag-ink); font-size: 11px; font-weight: 800; }
.card-body h3 { margin-top: 5px; font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.4; letter-spacing: -.035em; }
.card-summary { min-height: 3.4em; margin-top: 4px; color: var(--muted); font-size: 13px; }
.facts { margin-block: 8px 14px; }
.facts > div { display: grid; grid-template-columns: 2.25em minmax(0, 1fr); gap: 7px; padding: 7px 0; border-top: 1px solid #e8e6de; font-size: 13px; }
.facts dt, .check b { color: var(--green); font-weight: 850; }
.fit { margin-top: auto; padding: 9px 10px; border-radius: 7px; background: var(--tag-bg); color: var(--tag-ink); font-size: 13px; }
.fit h4 { font-weight: 850; font-size: 12px; }
.fit p { margin-top: 3px; }
.check { margin: 9px 0 3px; font-size: 12px; color: var(--muted); }
.check b { margin-right: 4px; white-space: nowrap; }
.card-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; align-self: start; color: var(--green); font-size: 12px; font-weight: 800; }

.referral { margin-top: 3px; padding-top: 12px; border-top: 1px solid var(--rule); }
.referral-label { margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 750; }
.referral-button { width: 100%; min-height: 48px; padding-inline: 12px; font-size: 12px; }
.referral-button span { flex: none; }
.referral-code { margin-top: 8px; color: var(--ink); font-size: 12px; }
.referral-code code { margin-left: 4px; font-size: 14px; font-weight: 800; letter-spacing: .04em; user-select: all; }
.referral-note { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.work-cards:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }
.work-cards:has(> [hidden]) .work-card { display: grid; grid-template-columns: .62fr 1fr; }
.work-cards:has(> [hidden]) .card-photo { aspect-ratio: auto; min-height: 180px; }
.work-cards:has(> [hidden]) .card-summary { min-height: auto; }

.career-wrap { margin-block: 39px 27px; }
.career { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 23px 25px; border: 1px solid #d6dfd5; border-radius: 14px; background: #edf2eb; }
.career h2 { font-size: clamp(22px, 2.6vw, 30px); }
.career p:not(.eyebrow) { margin-top: 7px; color: var(--muted); font-size: 13px; max-width: 62ch; }
.career-links { display: grid; justify-items: center; gap: 3px; }
.career-links > a:not(.button) { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 12px; color: var(--green); font-weight: 800; }

.site-footer { border-top: 1px solid var(--rule); padding-block: 7px 20px; color: var(--muted); font-size: 12px; }
.site-footer summary { cursor: pointer; min-height: 44px; padding-block: 11px; color: var(--green); font-weight: 800; }
.site-footer details[open] { padding-bottom: 12px; }
.sources { margin: 1px 0 10px; padding-left: 1.5em; }
.sources li { margin-bottom: 4px; }
.footer-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer-line a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; flex: none; }

@media (max-width: 920px) {
  .wrap { width: calc(100% - 44px); }
  .hero { gap: 25px; padding-top: 39px; }
  .hero-secondary { margin-left: 5px; }
  .desktop-break { display: none; }
  .work-cards { gap: 10px; }
  .card-body { padding-inline: 12px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 59px; gap: 5px; }
  .brand { gap: 7px; }
  .brand img { width: 31px; height: 31px; }
  .brand b { font-size: 12px; }
  .brand small { margin-top: 3px; font-size: 8px; }
  nav { gap: 0; }
  nav a { font-size: 11px; }
  nav a:first-child { display: none; }
  nav span { margin-left: 4px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 25px 21px; }
  .hero .eyebrow { font-size: 11px; }
  h1 { margin-top: 8px; font-size: clamp(31px, 8.7vw, 49px); }
  .intro { margin: 10px 0 13px; line-height: 1.75; font-size: 13px; }
  .hero-visual { aspect-ratio: 2; border-radius: 12px; }
  .hero-visual figcaption { inset: auto auto 8px 8px; }
  .hero-secondary { margin-left: 7px; font-size: 11px; }
  .button { padding-inline: 12px; font-size: 13px; }
  .finder { padding: 13px; }
  .finder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
  .finder-options button { padding: 6px 3px; font-size: 11.5px; }
  .filter-status, .section-note { font-size: 12px; }
  .comparison { margin-top: 27px; }
  .section-note { margin-bottom: 12px; }
  .work-cards { grid-template-columns: 1fr; gap: 13px; }
  .work-cards:has(> [hidden]) .work-card { display: flex; }
  .work-cards:has(> [hidden]) .card-photo { aspect-ratio: 2.5; min-height: 0; }
  .card-body { padding-inline: 14px; }
  .card-summary { min-height: 0; }
  .career-wrap { margin-block: 24px 19px; }
  .career { grid-template-columns: 1fr; padding: 15px; gap: 13px; }
  .career-links { justify-items: stretch; }
  .career-links > a:not(.button) { justify-content: center; }
  .footer-line { align-items: start; }
  .footer-line p { padding-top: 6px; }
}
