/* 西三河しごと地図 — a local wayfinding board for work and daily life. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --hero: #e9f2fb;
  --pale: #f2f7fc;
  --pale-strong: #dceaf8;
  --pale-line: #cfdeec;
  --ink: #142f4a;
  --navy: #173650;
  --cobalt: #1f5aa8;
  --cobalt-dark: #174680;
  --blue-soft: #a9c8e8;
  --vermilion: #c74732;
  --gray: #54677a;
  --line: #dbe5ee;
  --radius: 12px;
  --max: 1400px;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); }
a { color: var(--cobalt); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.35; text-wrap: pretty; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: .01em; }
h2 { font-size: clamp(1.35rem, 2.1vw, 1.72rem); font-weight: 800; letter-spacing: .01em; }
h3 { font-size: 1.08rem; font-weight: 750; }
p + p { margin-top: .7rem; }
ul, ol { padding-left: 1.35rem; }
a, button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--vermilion); }
button:disabled { opacity: .5; cursor: not-allowed; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 20; padding: .7rem 1rem; background: var(--white); border: 2px solid var(--cobalt); }
.skip-link:focus { top: 1rem; }
.icon { width: 24px; height: 24px; flex: none; vertical-align: middle; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Preview notice and two-row site header. */
.preview { font-size: .74rem; text-align: center; background: var(--pale); color: var(--gray); padding: 6px 18px; border-bottom: 1px solid var(--pale-line); }
body > header { max-width: var(--max); margin: auto; padding: 16px 40px 0; }
.header-top { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 2vw, 1.62rem); line-height: 1.3; font-weight: 850; letter-spacing: .02em; text-decoration: none; white-space: nowrap; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-descriptor { font-size: .73rem; line-height: 1.6; border-left: 1px solid var(--line); padding-left: 20px; max-width: 280px; color: var(--gray); }
body > header nav { display: flex; align-items: center; gap: 30px; margin-top: 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
body > header nav::-webkit-scrollbar { display: none; }
body > header nav a { display: inline-flex; gap: 7px; align-items: center; min-height: 48px; padding: 0 2px; border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap; color: var(--ink); font-size: .92rem; font-weight: 750; }
body > header nav a[aria-current="page"] { color: var(--cobalt); border-bottom-color: var(--cobalt); }
body > header nav .nav-listing { margin-left: auto; padding: 6px 13px; border: 1px solid var(--line); border-radius: 8px; min-height: 44px; margin-bottom: 4px; }
body > header nav .nav-listing[aria-current="page"] { border-color: var(--cobalt); }
.free-badge { display: inline-block; padding: 1px 7px; border-radius: 5px; background: var(--vermilion); color: #fff; font-size: .72rem; line-height: 1.7; font-weight: 800; white-space: nowrap; }

main { max-width: var(--max); margin: auto; padding: 0 40px 64px; }
main > h1 { margin-top: 30px; }
main > h1 + p { margin-top: 10px; max-width: 900px; }
main > section { margin-top: 42px; }
.breadcrumb { font-size: .78rem; color: var(--gray); padding-top: 16px; }
.breadcrumb a { text-decoration: none; }
.muted { color: var(--gray); font-size: .82rem; }

/* Home hero: pale blue band, blue shapes, no photography. */
/* Compact hero: ~250px on desktop so the entry panels start sooner. */
.hero { position: relative; overflow: hidden; margin-top: 18px; padding: 24px 40px 72px; background: var(--hero); border: 1px solid #d9e8f5; border-radius: 20px; }
.hero-inner { position: relative; z-index: 1; max-width: 840px; }
.hero-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 8px; background: var(--cobalt); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.hero h1 { margin-top: 12px; font-size: clamp(2.25rem, 3vw, 2.5rem); line-height: 1.25; text-wrap: balance; }
.hero-lead { margin-top: 12px; max-width: 720px; font-size: .95rem; line-height: 1.8; color: #405a72; }
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art::before { content: ""; position: absolute; right: 9%; top: -34%; width: 460px; height: 460px; border: 2px solid #c2dbf2; border-radius: 50%; }
.hero-art span { position: absolute; display: block; border-radius: 50%; }
.hero-art span:nth-child(1) { right: -90px; top: -110px; width: 390px; height: 390px; background: #d2e5f7; }
.hero-art span:nth-child(2) { right: 18%; bottom: -110px; width: 210px; height: 210px; background: #c7ddf3; }
.hero-art span:nth-child(3) { right: 5%; bottom: 22%; width: 88px; height: 88px; background: #dcebf9; border: 2px solid #b9d6f0; }

/* Ordered home sections. Job search overlaps the hero bottom and keeps the
   West blue/navy panel treatment; lifestyle panels sit later and are quieter. */
.home-sections { position: relative; z-index: 2; display: grid; gap: 26px; margin-top: -52px; }
.home-sections > .home-section { margin-top: 0; }
.home-section { min-width: 0; }
.home-job-search .entry-panel-primary { border-top: 4px solid var(--cobalt); box-shadow: 0 18px 40px rgba(20, 47, 74, .1); }
.home-job-search .entry-panel-primary .entry-head h2 { font-size: 1.45rem; }
.home-living-entry .entry-panel-secondary { background: var(--pale); border-color: var(--pale-line); box-shadow: none; }
.home-living-entry .entry-panel-secondary .entry-head h2 { font-size: 1.08rem; }
.entry-panel { display: flex; flex-direction: column; min-width: 0; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(20, 47, 74, .06); }
.entry-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.entry-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; letter-spacing: .01em; }
.entry-head h2 .icon { width: 27px; height: 27px; color: var(--cobalt); }
.entry-head > a { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; min-height: 44px; font-size: .78rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.entry-head > a .icon { width: 16px; height: 16px; }
.entry-lead { margin-top: 4px; font-size: .86rem; line-height: 1.75; color: var(--gray); }
.entry-note { margin-top: 12px; font-size: .72rem; line-height: 1.65; color: var(--gray); }

/* Three honest search entries built only from existing filters. */
.home-features { margin-top: 6px; }
.feature-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.feature-link { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue-soft); border-radius: 10px; color: var(--ink); font-weight: 750; text-decoration: none; }
.feature-link .icon { width: 22px; height: 22px; color: var(--cobalt); }
.feature-link span { min-width: 0; }
.feature-link::after { content: "›"; margin-left: auto; color: var(--cobalt); font-size: 1.4rem; line-height: 1; }
.feature-note { margin-top: 8px; font-size: .72rem; color: var(--gray); }

/* Job search form. Inside an entry panel it sits directly on white. */
.search-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding: 16px; background: var(--pale); border: 1px solid var(--pale-line); border-radius: var(--radius); }
.entry-panel .search-form { padding: 0; background: transparent; border: 0; border-radius: 0; }
.search-primary { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr) auto; gap: 10px; align-items: end; }
.search-form label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: .74rem; font-weight: 750; color: var(--ink); }
.search-form .label-text { display: flex; align-items: center; gap: 5px; color: var(--gray); }
.search-form .icon { width: 16px; height: 16px; color: var(--cobalt); }
.search-form input, .search-form select { width: 100%; min-width: 0; }
.search-form > .search-primary > button { min-height: 46px; white-space: nowrap; }
.search-secondary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-secondary label { flex-direction: row; align-items: center; gap: 8px; }
.search-secondary select { width: auto; min-width: 156px; }
.search-hint { font-size: .72rem; line-height: 1.6; color: var(--gray); }

/* Horizontal city strip. */
.city-strip { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 6px 14px; background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); }
.city-strip-label { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 0; border-right: 1px solid var(--pale-line); font-size: .85rem; font-weight: 800; white-space: nowrap; }
.city-strip-label .icon { width: 20px; height: 20px; color: var(--cobalt); }
.city-strip ul { display: flex; flex-wrap: wrap; gap: 0; flex: 1; min-width: 0; list-style: none; padding: 0; margin: 0; }
.city-strip li { display: flex; align-items: center; }
.city-tile { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 4px 11px; border-radius: 8px; color: var(--ink); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.city-tile::after { content: "›"; margin-left: 2px; color: var(--cobalt); font-weight: 800; }
.city-strip-note { margin-top: 8px; font-size: .72rem; color: var(--gray); }
.city-strip-note a { font-weight: 700; }

/* Home sections and living categories. */
.home-section { margin-top: 38px; }
.section-heading { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.section-heading h2 { display: flex; align-items: center; gap: 10px; }
.section-heading h2 .icon { width: 26px; height: 26px; color: var(--cobalt); }
.section-heading p { color: var(--gray); font-size: .8rem; }
.section-heading > a { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 750; text-decoration: none; }
.section-heading > a::after { content: "›"; margin-left: 6px; font-size: 1.4rem; line-height: 1; }

.category-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category-panel { display: grid; grid-template-columns: 80px minmax(0, 1fr) 22px; align-items: center; gap: 13px; min-height: 112px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.panel-art { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: var(--pale); border-radius: var(--radius); }
.panel-art .pictogram { width: 64px; height: 51px; }
.panel-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.panel-copy strong { font-size: 1rem; line-height: 1.45; }
.panel-copy span { font-size: .76rem; line-height: 1.6; color: var(--gray); }
.category-panel > .icon { width: 20px; height: 20px; color: var(--cobalt); }

/* Living-link panel: three icon entries, equal to the job panel. */
.living-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1; margin-top: 12px; }
.living-links a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 112px; padding: 10px 8px; background: #fbfdff; border: 1px solid var(--pale-line); border-radius: 10px; color: var(--ink); text-align: center; text-decoration: none; }
.living-art .pictogram { width: 58px; height: 47px; }
.living-links strong { font-size: .82rem; line-height: 1.45; }
.living-links a > .icon { position: absolute; right: 8px; bottom: 7px; width: 15px; height: 15px; color: var(--cobalt); }

/* Lower home columns: jobs, verified places, employer CTA. */
.home-lower { display: grid; grid-template-columns: 1.08fr 1fr .96fr; gap: 24px; align-items: start; margin-top: 38px; }
.home-column { min-width: 0; border-top: 2px solid var(--cobalt); padding-top: 14px; }
.column-head { display: flex; align-items: center; gap: 10px; }
.column-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; }
.column-head h2 .icon { width: 24px; height: 24px; color: var(--cobalt); }
.column-head > a { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; font-size: .76rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.column-lead { margin-top: 2px; font-size: .78rem; line-height: 1.7; color: var(--gray); }
.latest-list { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.latest-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 12px; align-items: center; min-height: 60px; padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--pale); border-radius: 10px; color: var(--cobalt); }
.row-icon .icon { width: 22px; height: 22px; }
.row-icon .pictogram { width: 38px; height: 31px; }
.row-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-copy strong { font-size: .92rem; line-height: 1.45; }
.row-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; color: var(--gray); }
.row-copy .row-meta { color: var(--cobalt-dark); }
.row-arrow { display: flex; justify-content: flex-end; color: var(--cobalt); }
.row-arrow .icon { width: 18px; height: 18px; }

/* Employer CTA, also used on area detail pages. */
.free { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--pale); border: 1px solid var(--pale-line); border-radius: var(--radius); color: var(--ink); }
.free-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--white); border: 1px solid var(--pale-line); border-radius: var(--radius); color: var(--cobalt); }
.free-icon .icon { width: 28px; height: 28px; }
.free-kicker { display: inline-block; padding: 1px 8px; border-radius: 5px; background: var(--vermilion); color: #fff; font-size: .72rem; font-weight: 800; }
.free-copy h2 { margin-top: 7px; font-size: 1.3rem; }
.free-lead { margin-top: 6px; font-size: .94rem; font-weight: 750; line-height: 1.6; }
.free-copy p { font-size: .79rem; line-height: 1.7; color: var(--gray); margin-top: 5px; }
.free .button { width: 100%; margin-top: auto; background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
/* Detail and area pages use the same CTA in a compact horizontal band. */
.detail .free, .free-section .free { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.free-section { max-width: 900px; margin-top: 38px; }
.detail .free .button, .free-section .free .button { width: auto; margin-top: 0; }
.detail .free .free-icon, .free-section .free .free-icon { align-self: start; }
/* Employer contact in the ordered home flow. */
.home-contact .free { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.home-contact .free .button { width: auto; margin-top: 0; }
.home-contact .free .free-icon { align-self: start; }

/* Regional guide with official links. */
.region-guide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; margin-top: 46px; padding: 28px; background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-copy { min-width: 0; }
.guide-copy h2 { margin-bottom: 12px; }
.guide-copy p { font-size: .86rem; line-height: 1.85; color: var(--gray); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--cobalt); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--vermilion); flex: none; }
.guide-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; align-content: start; }
.guide-links a { display: flex; flex-direction: column; justify-content: center; min-height: 54px; padding: 7px 12px; background: var(--white); border: 1px solid #c9dbea; border-radius: 8px; color: var(--ink); text-decoration: none; }
.guide-links a span { font-weight: 750; font-size: .92rem; }
.guide-links a small { display: flex; align-items: center; gap: 3px; color: var(--cobalt); font-size: .65rem; font-weight: 700; }
.guide-links .icon { width: 13px; height: 13px; }
.source-note { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--pale-line); font-size: .7rem; color: var(--gray); overflow-wrap: anywhere; }

/* Generic buttons and form controls. */
input:not([type=checkbox]):not([type=radio]), select, textarea { max-width: 100%; min-height: 46px; padding: 8px 11px; border: 1px solid #aebfce; border-radius: 8px; background: var(--white); color: var(--ink); }
input::placeholder, textarea::placeholder { color: #71808e; }
textarea { min-height: 150px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--cobalt); width: 18px; height: 18px; vertical-align: middle; }
.button, button[type=submit] { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 10px 21px; border: 1px solid var(--cobalt); border-radius: 8px; background: var(--cobalt); color: #fff; font-weight: 750; font-size: .95rem; line-height: 1.5; text-decoration: none; cursor: pointer; }
.button.secondary { background: var(--white); color: var(--cobalt); border-color: var(--cobalt); }
.button .icon { width: 19px; height: 19px; }
form:not(.search-form):not(.filters) { max-width: 820px; margin: 22px 0; }
form:not(.search-form):not(.filters) > label { display: grid; gap: 6px; margin: 17px 0; font-weight: 650; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin: 20px 0; background: var(--white); }
legend { font-weight: 750; padding: 0 7px; }
fieldset label { display: grid; gap: 6px; margin: 17px 0; font-weight: 650; }
.form-help { font-size: .85rem; color: var(--gray); font-weight: 400; }
.form-error, [role=alert] { color: #8c2822; background: #fff2ec; border: 1px solid #d7aca3; border-radius: 8px; padding: 12px; }

/* Area filter keeps its compact panel form. */
.filters { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, .9fr) auto; gap: 10px; align-items: end; margin: 24px 0 0; padding: 16px; background: var(--pale); border: 1px solid var(--pale-line); border-radius: var(--radius); }
.filters label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: .73rem; font-weight: 750; color: var(--ink); }
.filters .label-text { display: flex; gap: 6px; align-items: center; }
.filters .icon { width: 18px; height: 18px; }
.filters input, .filters select { width: 100%; min-width: 0; }
.filters > button, .filters > .button { min-height: 46px; white-space: nowrap; }

/* Job cards and list pages. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 14px 0 0; }
.grid > * { min-width: 0; }
.card { display: block; padding: 18px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--cobalt); border-radius: 10px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.card h2 { font-size: 1.15rem; }
.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card p { margin-top: 8px; font-size: .88rem; }
.card .muted { font-size: .78rem; }
.card-header { display: flex; gap: 14px; align-items: flex-start; }
.card-body { min-width: 0; flex: 1; }
.card-art { display: flex; align-items: center; justify-content: center; flex: none; width: 54px; min-height: 62px; border-radius: 8px; background: var(--pale); color: var(--cobalt); }
.card-art .icon { width: 30px; height: 30px; }
.card-meta { display: grid; gap: 4px; margin: 10px 0; font-size: .8rem; color: var(--gray); }
.card-meta > span { display: flex; gap: 6px; align-items: start; }
.card-meta .icon { width: 16px; height: 16px; margin-top: 3px; }
.card-source { margin-top: 12px; padding-top: 9px; border-top: 1px dotted var(--line); font-size: .72rem; color: var(--gray); }
.card-source a { display: inline-flex; align-items: center; gap: 4px; }
.tag { display: inline-block; margin: 0 5px 7px 0; padding: 2px 8px; border-radius: 5px; background: var(--pale); color: var(--ink); font-size: .72rem; font-weight: 700; line-height: 1.7; }
.tag.employment { background: #dce8fb; color: var(--cobalt-dark); }

.empty { padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--cobalt); border-radius: 10px; }
.empty > .icon { width: 34px; height: 34px; margin-bottom: 6px; color: var(--cobalt); }
.empty h2, .empty h3 { margin-bottom: 7px; }
.empty p { max-width: 720px; font-size: .88rem; color: var(--gray); }
.empty .button { margin-top: 14px; }
.empty.error { border-left-color: var(--vermilion); }
.empty.compact { padding: 20px; background: #fbfdff; }
.empty.compact h3 { font-size: 1rem; }
.empty.compact p { font-size: .81rem; }
.empty.compact .button { margin-top: 12px; }

/* Detail pages and draft forms. */
.detail { max-width: 980px; }
.detail > h1 { margin-top: 28px; }
.detail dl, main > dl { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0, 1fr); gap: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.detail dt, .detail dd, main > dl dt, main > dl dd { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.detail dt, main > dl dt { font-size: .82rem; font-weight: 750; color: var(--gray); background: var(--pale); }
.detail dd, main > dl dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail section { margin-top: 30px; }
.cautions { padding: 18px; margin: 20px 0; background: #fff6ee; border-left: 4px solid var(--vermilion); border-radius: 8px; }
.cautions h2 { font-size: 1.08rem; }
.caution { color: #9b3a28; font-size: .78rem; }
.content-body, dd { white-space: pre-wrap; }
.contact-links { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.contact-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
#notice:not(:empty), #correction-notice:not(:empty) { margin: 18px 0; padding: 14px; background: var(--pale); border-radius: 8px; }
dialog { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
dialog::backdrop { background: #17365066; }
dialog p { margin: 12px 0 20px; }
.detail .free { flex-wrap: wrap; }
.detail .free .button { margin-top: 0; }

body > footer { max-width: var(--max); margin: auto; padding: 26px 40px 40px; border-top: 1px solid var(--line); }
body > footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .8rem; font-weight: 700; }
body > footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
body > footer p { margin-top: 8px; font-size: .72rem; color: var(--gray); max-width: 940px; }

@media (hover: hover) {
  a.card:hover { border-color: var(--cobalt); }
  .button:hover, button[type=submit]:hover { background: var(--cobalt-dark); }
  .button.secondary:hover { background: var(--pale); }
  .city-tile:hover, .guide-links a:hover, .living-links a:hover { border-color: var(--cobalt); background: #f7fbff; }
  .feature-link:hover { border-color: var(--cobalt); border-left-color: var(--cobalt); background: #f7fbff; }
  .category-panel:hover { border-color: var(--cobalt); background: #fbfdff; }
  .latest-row:hover { background: #f7fbff; }
  header nav a:hover, .section-heading > a:hover, .entry-head > a:hover, .column-head > a:hover { text-decoration: underline; }
}

@media (max-width: 1080px) {
  body > header { padding: 14px 24px 0; }
  .brand-descriptor { margin-left: auto; }
  body > header nav { gap: 22px; }
  main { padding: 0 24px 56px; }
  .hero { padding: 22px 30px 66px; }
  .home-sections { gap: 20px; }
  .entry-panel { padding: 18px; }
  .search-primary { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
  .search-primary > button { grid-column: 1 / -1; }
  .living-links a { min-height: 106px; padding: 10px 6px; }
  .living-links strong { font-size: .76rem; }
  .home-lower { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-lower .free { grid-column: 1 / -1; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; }
  .home-lower .free .button { width: auto; align-self: center; }
  .category-rail { grid-template-columns: 1fr; }
  .category-panel { min-height: 100px; }
  .region-guide { grid-template-columns: 1fr; gap: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr); }
  .filters > button, .filters > .button { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .home-sections { margin-top: 18px; }
  .hero { padding-bottom: 32px; }
  .home-lower { grid-template-columns: 1fr; }
  .home-lower .free { display: flex; }
  .home-lower .free .button { width: 100%; }
  .living-links a { min-height: 110px; }
}

@media (max-width: 760px) {
  body > header { padding: 12px 16px 0; }
  .brand { font-size: 1.32rem; gap: 9px; white-space: normal; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-descriptor { display: none; }
  body > header nav { gap: 8px; justify-content: space-between; margin-top: 10px; }
  body > header nav a { min-height: 46px; font-size: .76rem; gap: 4px; }
  body > header nav .icon { width: 17px; height: 17px; }
  body > header nav .nav-listing { margin-left: 0; padding: 5px 8px; }
  main { padding: 0 16px 44px; }
  .hero { margin-top: 14px; padding: 20px 18px 24px; border-radius: 16px; }
  .hero h1 { font-size: clamp(1.6rem, 6.8vw, 1.95rem); line-height: 1.3; }
  .hero-lead { font-size: .88rem; line-height: 1.8; }
  .hero-art span:nth-child(1) { right: -140px; top: -150px; width: 300px; height: 300px; }
  .hero-art span:nth-child(2) { right: -40px; bottom: -120px; }
  .hero-art span:nth-child(3) { display: none; }
  .home-sections { margin-top: 14px; }
  .feature-links { grid-template-columns: 1fr; }
  .home-contact .free { display: flex; }
  .home-contact .free .button { width: 100%; }
  .entry-panel { padding: 16px; }
  .entry-head h2 { font-size: 1.12rem; }
  .entry-head > a { margin-left: 0; }
  .search-form { padding: 13px; }
  .entry-panel .search-form { padding: 0; }
  /* One column on phones: the job-city select is full width (44px+ target). */
  .search-primary { grid-template-columns: 1fr; }
  .search-primary .keyword { grid-column: 1 / -1; }
  .search-primary > button { grid-column: 1 / -1; width: 100%; }
  .search-secondary { align-items: flex-start; flex-direction: column; gap: 8px; }
  .search-secondary select { width: 100%; }
  .search-hint { font-size: .7rem; }
  .living-links { gap: 7px; }
  .living-links a { min-height: 100px; padding: 9px 4px; }
  .living-art .pictogram { width: 48px; height: 39px; }
  .living-links strong { font-size: .71rem; }
  .detail .free, .free-section .free { display: flex; }
  .detail .free .button, .free-section .free .button { width: 100%; }
  .city-strip { display: block; padding: 12px; }
  .city-strip-label { padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--pale-line); }
  .city-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 8px; }
  .city-tile { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 4px 11px; background: var(--white); border: 1px solid var(--pale-line); }
  .home-section { margin-top: 36px; }
  .section-heading { gap: 4px 10px; }
  .section-heading p { flex-basis: 100%; }
  .section-heading > a { margin-left: 0; }
  .category-panel { grid-template-columns: 68px minmax(0, 1fr) 20px; gap: 11px; min-height: 92px; padding: 12px; }
  .panel-art { width: 68px; height: 68px; }
  .panel-art .pictogram { width: 56px; height: 45px; }
  .panel-copy span { font-size: .72rem; }
  .home-lower { margin-top: 32px; gap: 26px; }
  .latest-row { min-height: 60px; }
  .region-guide { margin-top: 36px; padding: 18px; }
  .guide-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-links a { min-height: 56px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 16px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 13px; gap: 10px; }
  .filters .keyword { grid-column: 1 / -1; }
  .filters > button, .filters > .button { grid-column: 1 / -1; width: 100%; }
  .detail dl, main > dl { grid-template-columns: 1fr; }
  .detail dt, main > dl dt { border-bottom: 0; padding-bottom: 2px; }
  .detail dd, main > dl dd { padding-top: 4px; }
  body > footer { padding: 20px 16px 32px; }
  body > footer nav { gap: 4px 16px; }
}

@media (max-width: 400px) {
  .guide-links { grid-template-columns: 1fr; }
  .living-links strong { font-size: .68rem; }
}

@media (prefers-reduced-motion: no-preference) {
  a, button { transition: background-color .15s, border-color .15s, color .15s; }
}

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

@media print {
  body > header nav, .search-form, .filters, .free, body > footer nav, .city-strip, .category-rail, .living-links { display: none; }
  main { max-width: none; padding: 0; }
  .grid, .home-lower { grid-template-columns: 1fr; }
  .card { break-inside: avoid; }
  a { color: inherit; }
}

/* === visual-support 2026-11-07: small decorative SVG vocabulary + hero artwork === */
/* One coherent chip mark reused by guide cards, place cards and the
   new/update/end company cards. Labels stay HTML text; icons are decoration. */
.card-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 0 6px; border-radius: 8px; background: var(--pale); color: var(--cobalt); }
.card-mark .icon { width: 19px; height: 19px; }
/* Lower-page source/caution headings and the inline caution note. */
.with-icon .icon { width: 22px; height: 22px; margin-right: 7px; vertical-align: -4px; }
.caution .icon { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; color: #9b3a28; }
/* Employer publishing route: the existing semantic ol with visible numbering
   and a calm vertical connector. No extra steps, no icon replacements. */
.publish-route { list-style: none; counter-reset: publish-step; display: grid; gap: 12px; max-width: 620px; margin: 18px 0; padding: 0; }
.publish-route li { position: relative; counter-increment: publish-step; min-height: 44px; padding: 11px 16px 11px 58px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 650; }
.publish-route li::before { content: counter(publish-step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--blue-soft); border-radius: 50%; background: var(--pale); color: var(--cobalt-dark); font-weight: 800; font-variant-numeric: tabular-nums; }
.publish-route li + li::after { content: ""; position: absolute; left: 28px; top: -12px; width: 2px; height: 12px; background: var(--pale-line); }
/* Hero artwork: original local transparent asset (art concentrated low), right
   and bottom aligned inside the clipped hero band, behind the text layer.
   Phones never place text on detailed art: the in-hero copy is hidden and a
   small block is rendered after the job-search panel instead, so nothing
   above the search moves and no tall region is added before it. */
.hero-image { position: absolute; right: 24px; bottom: 0; z-index: 0; width: min(36vw, 500px); height: auto; pointer-events: none; user-select: none; }
.hero-image-after-search { display: none; }
@media (max-width: 1080px) {
  .hero-image { width: min(40vw, 380px); right: 12px; }
}
/* Narrow header contract: jobs and the free-posting CTA stay discoverable at
   390/320px without horizontal nav scrolling. The nav wraps into restrained
   rows with >=44px targets; meaningful labels are kept, not shrunk or hidden.
   Header height is rebalanced by trimming hero vertical gaps above the search
   panel, so the search button position does not move down. */
@media (max-width: 760px) {
  body > header { padding-top: 8px; }
  body > header nav { flex-wrap: wrap; overflow: visible; gap: 2px 10px; justify-content: flex-start; margin-top: 6px; min-width: 0; }
  body > header nav a { white-space: normal; min-height: 44px; min-width: 0; }
  body > header nav .nav-listing { margin-left: auto; }
  .hero { margin-top: 8px; padding: 14px 18px 12px; }
  .home-sections { margin-top: 0; }
  .entry-panel { padding: 13px 16px; }
  .hero-image { display: none; }
  .hero-image-after-search { display: block; width: min(44vw, 180px); height: auto; margin: 10px 2px 0 auto; pointer-events: none; user-select: none; }
}
/* === end visual-support 2026-11-07 === */
