:root {
  --ink: #16313c;
  --ink-soft: #3e5963;
  --teal: #0e6d78;
  --teal-dark: #0a4e57;
  --sky: #d8f1f3;
  --sun: #ffd166;
  --coral: #f47c6c;
  --blue: #5f86d9;
  --paper: #ffffff;
  --cloud: #f5f9f9;
  --line: #d8e4e6;
  --shadow: 0 20px 55px rgba(22, 49, 60, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button, select { font: inherit; }
a { color: inherit; }
.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: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 228, 230, 0.88);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}
.header-inner, .hero-inner, .container, .footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.72rem; text-decoration: none; }
.brand-symbol, .empty-smile {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
}
.brand-symbol i, .empty-smile i { position: absolute; top: 14px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.brand-symbol i:first-child, .empty-smile i:first-child { left: 13px; }
.brand-symbol i:nth-child(2), .empty-smile i:nth-child(2) { right: 13px; }
.brand-symbol b, .empty-smile b { position: absolute; left: 12px; bottom: 11px; width: 22px; height: 10px; border-bottom: 4px solid var(--sun); border-radius: 0 0 20px 20px; }
.brand-copy strong { display: block; font-size: 1rem; line-height: 1.3; letter-spacing: 0.04em; }
.brand-copy small { display: block; margin-top: 0.12rem; color: var(--ink-soft); font-size: 0.7rem; }
.global-nav { display: flex; align-items: center; gap: 1.65rem; }
.global-nav a { font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.global-nav a:hover { color: var(--teal); }
.menu-button { display: none; padding: 0.55rem; border: 0; background: transparent; }
.menu-button > span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  padding: 56px 0 70px;
  background:
    radial-gradient(circle at 13% 23%, rgba(255, 209, 102, 0.3) 0 76px, transparent 77px),
    radial-gradient(circle at 88% 12%, rgba(244, 124, 108, 0.15) 0 135px, transparent 136px),
    linear-gradient(145deg, #eefafb 0%, #ffffff 58%);
}
.hero-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.eyebrow, .section-label { margin: 0 0 0.8rem; color: var(--teal); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.13em; }
.hero h1 { margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.25rem); line-height: 1.15; letter-spacing: -0.05em; }
.hero h1 span { color: var(--teal); }
.hero-copy > p:not(.eyebrow) { max-width: 37rem; margin: 1.45rem 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0; margin: 1.55rem 0 0; list-style: none; }
.hero-notes li { padding: 0.32rem 0.72rem; border: 1px solid #bcd8dc; border-radius: 999px; color: var(--teal-dark); background: rgba(255,255,255,0.72); font-size: 0.78rem; font-weight: 800; }
.finder { padding: 2rem; border: 1px solid rgba(216,228,230,0.88); border-radius: 28px; background: rgba(255,255,255,0.94); box-shadow: var(--shadow); }
.finder-heading p { margin: 0; color: var(--teal); font-size: 0.82rem; font-weight: 800; }
.finder-heading h2 { margin: 0.15rem 0 1.35rem; font-size: 1.45rem; }
.occupation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.occupation-card { min-width: 0; padding: 1rem 0.7rem; border: 2px solid transparent; border-radius: 16px; color: var(--ink); background: var(--cloud); cursor: pointer; text-align: center; text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease; }
.occupation-card:hover { transform: translateY(-2px); border-color: #a8cdd1; }
.occupation-card[aria-pressed="true"] { border-color: var(--teal); background: #edf9fa; }
.occupation-mark { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 0.7rem; border-radius: 15px; color: #fff; background: var(--teal); font-size: 1.25rem; font-weight: 800; }
.occupation-card.teacher .occupation-mark, .occupation-mark.teacher { background: var(--blue); }
.occupation-card.nurse .occupation-mark, .occupation-mark.nurse { background: var(--coral); }
.occupation-card.welfare .occupation-mark, .occupation-mark.welfare { background: #5f8f62; }
.occupation-card strong { display: block; font-size: 1rem; }
.occupation-card small { display: block; margin-top: 0.2rem; color: var(--ink-soft); font-size: 0.7rem; line-height: 1.45; }
.quick-filters { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 1rem; }
label > span { display: block; margin-bottom: 0.35rem; color: var(--ink-soft); font-size: 0.78rem; font-weight: 800; }
select { width: 100%; min-height: 50px; padding: 0.6rem 2.3rem 0.6rem 0.8rem; border: 1px solid #b8ccd0; border-radius: 10px; color: var(--ink); background: #fff; }
select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(14, 109, 120, 0.25); outline-offset: 2px; }
.primary-button { align-self: end; min-height: 50px; padding: 0.65rem 1.2rem; border: 0; border-radius: 10px; color: #fff; background: var(--teal); font-weight: 800; cursor: pointer; }
.primary-button:hover { background: var(--teal-dark); }

.jobs-section, .category-section, .purpose-section, .policy-section { padding: 92px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading h2, .category-section h2, .how-section h2, .policy-section h2, .legal-main h1 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.35; letter-spacing: -0.035em; }
.result-count { margin: 0; color: var(--teal); font-size: 1.2rem; font-weight: 800; }
.filter-panel { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; align-items: end; margin: 2.2rem 0 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--cloud); }
.filter-reset { min-height: 50px; padding: 0.55rem 0.9rem; border: 1px solid #b8ccd0; border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; }
.job-list { display: grid; gap: 16px; }
.job-card { padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(22,49,60,0.06); }
.job-card-top { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.job-tags { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.job-tag { padding: 0.2rem 0.55rem; border-radius: 999px; color: var(--teal-dark); background: var(--sky); font-size: 0.76rem; font-weight: 800; }
.job-card h3 { margin: 0; font-size: 1.3rem; }
.job-facility { margin: 0.2rem 0 0; color: var(--ink-soft); }
.job-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.2rem 0; }
.job-details div { padding: 0.85rem; border-radius: 10px; background: var(--cloud); }
.job-details dt { color: var(--ink-soft); font-size: 0.73rem; font-weight: 800; }
.job-details dd { margin: 0.15rem 0 0; font-weight: 700; }
.job-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1rem; border-radius: 9px; color: #fff; background: var(--teal); font-weight: 800; text-decoration: none; }
.job-meta { color: var(--ink-soft); font-size: 0.78rem; }
.empty-state { padding: 4.2rem 1.5rem; border: 2px dashed #b8d1d4; border-radius: 24px; background: linear-gradient(145deg, #f6fbfb, #fff); text-align: center; }
.empty-smile { display: block; margin: 0 auto 1.25rem; }
.empty-title { margin: 0; font-size: 1.35rem; font-weight: 800; }
.empty-state p:last-child { max-width: 620px; margin: 0.6rem auto 0; color: var(--ink-soft); }

.category-section { background: var(--cloud); }
.category-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 2.3rem; }
.category-list article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.category-list .occupation-mark { margin: 0; }
.category-list h3 { margin: 0; font-size: 1.2rem; }
.category-list h3 a { text-decoration-color: rgba(14,109,120,0.35); text-underline-offset: 0.2em; }
.category-list h3 a:hover { color: var(--teal); }
.category-list p { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.92rem; }

.purpose-section { background: #fff; }
.purpose-section h2 { max-width: 820px; margin: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.35; letter-spacing: -0.035em; }
.purpose-lead { max-width: 720px; margin: 1rem 0 0; color: var(--ink-soft); }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.2rem; }
.purpose-grid a { display: grid; gap: 0.35rem; min-height: 150px; align-content: center; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #f5fbfb, #fff); box-shadow: 0 10px 28px rgba(22,49,60,0.06); text-decoration: none; }
.purpose-grid a:hover { border-color: #96c4ca; transform: translateY(-2px); }
.purpose-grid strong { color: var(--teal-dark); font-size: 1.25rem; }
.purpose-grid span { color: var(--ink-soft); font-size: 0.9rem; }

.seo-landing-section { padding: 72px 0 90px; }
.seo-landing-section.alt { background: var(--cloud); }
.seo-copy { max-width: 820px; }
.seo-copy h2 { margin: 0 0 0.7rem; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.35; }
.seo-copy p { color: var(--ink-soft); }
.seo-job-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.8rem; }
.seo-job-card { padding: 1.45rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(22,49,60,0.05); }
.seo-job-card h3 { margin: 0.65rem 0 0.3rem; font-size: 1.2rem; line-height: 1.45; }
.seo-job-card h3 a { color: var(--ink); text-decoration-color: rgba(14,109,120,0.35); text-underline-offset: 0.2em; }
.seo-job-card p { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.seo-job-card dl { display: grid; gap: 0.45rem; margin: 1rem 0 0; }
.seo-job-card dl div { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.6rem; }
.seo-job-card dt { color: var(--ink-soft); font-size: 0.76rem; font-weight: 800; }
.seo-job-card dd { margin: 0; font-size: 0.88rem; font-weight: 700; }
.seo-notice { margin-top: 1.8rem; padding: 1rem 1.1rem; border-left: 4px solid var(--sun); color: #5c4211; background: #fff8e5; }
.seo-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1.5rem; }
.seo-link-grid a { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--teal-dark); background: #fff; font-weight: 800; text-decoration: none; }

.how-section { padding: 86px 0; color: #fff; background: var(--teal-dark); }
.section-label.light { color: #a8e6e9; }
.how-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 72px; }
.how-section ol { display: grid; gap: 1.1rem; padding: 0; margin: 0; list-style: none; }
.how-section li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; }
.how-section li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--teal-dark); background: var(--sun); font-weight: 800; }
.how-section h3 { margin: 0; font-size: 1.15rem; }
.how-section li p { margin: 0.15rem 0 0; color: #d0e4e6; }

.policy-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 70px; }
.policy-points { display: grid; gap: 0; }
.policy-points article { display: grid; grid-template-columns: 150px 1fr; gap: 1.3rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.policy-points article:last-child { border-bottom: 1px solid var(--line); }
.policy-points strong { color: var(--teal-dark); }
.policy-points p { margin: 0; color: var(--ink-soft); }

.employer-contact-section { padding: 0 0 92px; }
.employer-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  padding: 2.2rem 2.4rem;
  border: 1px solid #b8dadd;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 209, 102, 0.34) 0 82px, transparent 83px),
    linear-gradient(145deg, #edfafa 0%, #ffffff 72%);
  box-shadow: var(--shadow);
}
.employer-campaign {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  color: #6c4700;
  background: var(--sun);
  font-size: 0.86rem;
  font-weight: 900;
}
.employer-contact-card .section-label { margin-bottom: 0.45rem; }
.employer-contact-card h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.3; }
.employer-contact-copy { max-width: 720px; margin: 0.8rem 0 0; color: var(--ink-soft); }
.employer-mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.75rem 1.3rem;
  border-radius: 12px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.employer-mail-button:hover { background: var(--teal-dark); }
.employer-mail-button[role="status"],
.employer-mail-button[role="status"]:hover {
  color: #40545b;
  background: #dce7e9;
  cursor: default;
}

.site-footer { padding: 52px 0 24px; color: #dce8ea; background: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; gap: 3rem; }
.footer-brand { color: #fff; }
.footer-brand .brand-symbol { background: #fff; }
.footer-brand .brand-symbol i { background: var(--teal); }
.footer-brand .brand-copy small { color: #abc0c7; }
.footer-inner > div > p { max-width: 550px; margin: 1rem 0 0; color: #abc0c7; font-size: 0.86rem; }
.footer-inner nav { display: grid; align-content: start; gap: 0.7rem; }
.footer-inner nav a { color: #dce8ea; font-size: 0.86rem; text-decoration: none; }
.copyright { width: min(1160px, calc(100% - 48px)); margin: 2.4rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); color: #819da6; font-size: 0.75rem; }

.legal-main { min-height: 65vh; padding: 72px 0 100px; }
.legal-main .lead { max-width: 760px; color: var(--ink-soft); font-size: 1.05rem; }
.legal-main h2 { margin: 2.4rem 0 0.6rem; font-size: 1.35rem; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.company-profile { max-width: 760px; margin: 1.2rem 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.company-profile div { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.company-profile div:last-child { border-bottom: 0; }
.company-profile dt, .company-profile dd { margin: 0; padding: 0.9rem 1rem; }
.company-profile dt { color: var(--teal-dark); background: var(--cloud); font-weight: 800; }
.company-profile dd { color: var(--ink-soft); }
.company-profile a { color: var(--teal-dark); font-weight: 800; }
.back-link { display: inline-block; margin-top: 2rem; color: var(--teal-dark); font-weight: 800; }

/* 保育士求人一覧・園別求人ページ */
.detail-nav { display: flex; align-items: center; gap: 1.25rem; }
.detail-nav a { color: var(--teal-dark); font-size: 0.9rem; font-weight: 800; text-decoration: none; }
.detail-nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 2rem; color: var(--ink-soft); font-size: 0.82rem; }
.breadcrumb a { color: var(--teal-dark); font-weight: 700; }
.facility-index-hero, .job-detail-hero {
  padding: 58px 0 62px;
  background:
    radial-gradient(circle at 86% 20%, rgba(255,209,102,0.26) 0 90px, transparent 91px),
    linear-gradient(145deg, #edfafa 0%, #fff 72%);
}
.facility-index-hero h1, .job-detail-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1.22; letter-spacing: -0.045em; }
.facility-index-hero .lead { max-width: 680px; margin: 1.1rem 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.facility-index-section { padding: 76px 0; }
.facility-index-section.alt { background: var(--cloud); }
.region-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.region-heading p { margin: 0; color: var(--teal); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; }
.region-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.3; }
.facility-directory { display: grid; gap: 14px; }
.facility-row { display: grid; grid-template-columns: 1.05fr 1.6fr auto; gap: 1.8rem; align-items: center; padding: 1.55rem 1.7rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(22,49,60,0.05); }
.facility-row-name h3 { margin: 0.35rem 0 0; font-size: 1.35rem; }
.facility-row-name h3 a { text-decoration-color: rgba(14,109,120,0.35); text-underline-offset: 0.22em; }
.facility-row-name h3 a:hover { color: var(--teal); }
.area-chip { display: inline-flex; padding: 0.18rem 0.55rem; border-radius: 999px; color: #075763; background: #d8f1f3; font-size: 0.75rem; font-weight: 800; }
.area-chip.sendai { color: #2e4f96; background: #e4ebfb; }
.facility-row address { display: grid; gap: 0.45rem; margin: 0; font-style: normal; }
.facility-row address div { display: grid; grid-template-columns: 3.5rem minmax(0,1fr); gap: 0.55rem; }
.facility-row address span { color: var(--ink-soft); font-size: 0.78rem; font-weight: 800; }
.facility-row address p { margin: 0; font-weight: 700; }
.facility-row address a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.directory-actions { display: grid; gap: 0.55rem; }
.directory-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; min-height: 46px; padding: 0.65rem 1rem; border-radius: 10px; color: #fff; background: var(--teal); font-weight: 800; text-decoration: none; white-space: nowrap; }
.directory-link:hover { background: var(--teal-dark); }

.job-detail-hero .area-chip { margin-bottom: 0.8rem; }
.facility-contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.4rem; margin-top: 1.15rem; color: var(--ink-soft); }
.facility-contact-line p { margin: 0; }
.facility-contact-line a { color: var(--teal-dark); font-size: 1.05rem; font-weight: 900; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.job-detail-section { padding: 72px 0 86px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 28px; align-items: start; }
.vacancy-list { display: grid; gap: 20px; }
.vacancy-card { padding: 1.65rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(22,49,60,0.06); }
.vacancy-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.vacancy-heading h2 { margin: 0.55rem 0 0; font-size: 1.55rem; line-height: 1.35; }
.vacancy-heading p { margin: 0.18rem 0 0; color: var(--ink-soft); font-weight: 700; }
.status-badge, .source-badge { display: inline-flex; padding: 0.22rem 0.62rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.status-badge { color: #795300; background: #fff1c9; }
.status-badge.active { color: #09613d; background: #dbf4e8; }
.status-badge.pending { color: #8a3d2c; background: #ffebe6; }
.source-badge { color: var(--teal-dark); background: var(--sky); white-space: nowrap; }
.vacancy-data { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 1.4rem 0; border-top: 1px solid var(--line); }
.vacancy-data div { padding: 0.85rem 0.7rem; border-bottom: 1px solid var(--line); }
.vacancy-data div:nth-child(odd) { padding-left: 0; padding-right: 1.2rem; }
.vacancy-data dt { color: var(--ink-soft); font-size: 0.76rem; font-weight: 800; }
.vacancy-data dd { margin: 0.18rem 0 0; font-weight: 700; line-height: 1.6; }
.vacancy-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.apply-phone-link, .official-source-link, .secondary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.6rem 1rem; border-radius: 9px; font-weight: 800; text-decoration: none; }
.apply-phone-link, .secondary-link { color: #fff; background: var(--teal); }
.apply-phone-link:hover, .secondary-link:hover { background: var(--teal-dark); }
.official-source-link { border: 1px solid #a9c5c9; color: var(--teal-dark); background: #fff; }
.official-source-link:hover { border-color: var(--teal); background: var(--cloud); }
.facility-side-card { position: sticky; top: 108px; padding: 1.45rem; border: 1px solid var(--line); border-radius: 18px; background: var(--cloud); }
.facility-side-card h2 { margin: 0; font-size: 1.35rem; }
.facility-side-card dl { display: grid; gap: 0; margin: 1rem 0 1.25rem; }
.facility-side-card dl div { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.facility-side-card dt { color: var(--ink-soft); font-size: 0.75rem; font-weight: 800; }
.facility-side-card dd { margin: 0.12rem 0 0; font-weight: 700; }
.facility-side-card dd a { color: var(--teal-dark); }
.facility-side-card .secondary-link { width: 100%; justify-content: center; }
.facility-side-card .secondary-link + .secondary-link { margin-top: 0.55rem; }
.pending-copy { margin: 1.3rem 0 0; padding: 1rem 1.1rem; border-left: 4px solid var(--coral); color: var(--ink-soft); background: #fff5f2; }
.application-note { margin: 0 0 1.2rem; padding: 1rem 1.1rem; border-left: 4px solid var(--sun); color: #5c4211; background: #fff8e5; }
.application-note strong { display: block; color: var(--ink); }
.muted-data dd { color: #6d7c82; }
.source-note { padding: 1.2rem 0; color: #dce8ea; background: var(--teal-dark); }
.source-note.warning { color: #5c4211; background: #fff3d3; }
.source-note p { max-width: 980px; margin: 0; font-size: 0.86rem; }
.compact-footer { padding-top: 38px; }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .global-nav { position: absolute; top: calc(100% + 8px); left: 24px; right: 24px; display: none; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .global-nav.open { display: grid; }
  .global-nav a { padding: 0.55rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 760px; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .category-list { grid-template-columns: 1fr; }
  .how-grid, .policy-grid { grid-template-columns: 1fr; gap: 38px; }
  .employer-contact-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .facility-row { grid-template-columns: 1fr 1.35fr; }
  .directory-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
  .directory-actions .directory-link { grid-column: auto; justify-self: start; }
  .detail-layout { grid-template-columns: 1fr; }
  .facility-side-card { position: static; }
}

@media (max-width: 680px) {
  .header-inner, .hero-inner, .container, .footer-inner { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 70px; }
  .brand-symbol { width: 40px; height: 40px; }
  .brand-symbol i { top: 12px; }
  .brand-symbol i:first-child { left: 11px; }
  .brand-symbol i:nth-child(2) { right: 11px; }
  .brand-symbol b { left: 10px; bottom: 9px; width: 20px; }
  .brand-copy strong { max-width: 210px; font-size: 0.88rem; }
  .brand-copy small { display: none; }
  .hero { padding: 42px 0 54px; }
  .hero h1 { font-size: clamp(2.65rem, 13.5vw, 4rem); }
  .finder { padding: 1.2rem; border-radius: 20px; }
  .occupation-grid { grid-template-columns: 1fr; }
  .occupation-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; text-align: left; }
  .occupation-card .occupation-mark { margin: 0; }
  .quick-filters { grid-template-columns: 1fr; }
  .jobs-section, .category-section, .purpose-section, .policy-section { padding: 66px 0; }
  .employer-contact-section { padding-bottom: 66px; }
  .employer-contact-card { padding: 1.5rem; }
  .employer-mail-button { width: 100%; white-space: normal; }
  .section-heading { align-items: start; }
  .section-heading h2, .category-section h2, .how-section h2, .policy-section h2, .legal-main h1 { font-size: 2rem; }
  .company-profile div { grid-template-columns: 1fr; }
  .company-profile dt { padding-bottom: 0.35rem; }
  .company-profile dd { padding-top: 0.35rem; }
  .filter-panel { grid-template-columns: 1fr; }
  .job-details { grid-template-columns: 1fr; }
  .job-card-top { display: block; }
  .category-list article { grid-template-columns: 1fr; }
  .purpose-grid, .seo-job-grid, .seo-link-grid { grid-template-columns: 1fr; }
  .category-list .occupation-mark { margin: 0; }
  .policy-points article { grid-template-columns: 1fr; gap: 0.3rem; }
  .footer-inner { display: grid; }
  .detail-nav { display: none; }
  .facility-index-hero, .job-detail-hero { padding: 42px 0 48px; }
  .facility-index-hero h1, .job-detail-hero h1 { font-size: 2.45rem; }
  .facility-index-section { padding: 54px 0; }
  .region-heading { display: block; }
  .region-heading h2 { margin-top: 0.2rem; }
  .facility-row { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
  .directory-actions { grid-column: auto; display: grid; }
  .directory-actions .directory-link { grid-column: auto; justify-self: stretch; }
  .vacancy-heading { display: block; }
  .source-badge { margin-top: 0.7rem; }
  .vacancy-data { grid-template-columns: 1fr; }
  .vacancy-data div:nth-child(odd) { padding-right: 0.7rem; }
  .job-detail-section { padding: 52px 0 64px; }
  .vacancy-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .occupation-card { transition: none; }
}
