:root {
  font-family:
    system-ui,
    -apple-system,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    sans-serif;
  color: #1e2b30;
  background: #fff;
  line-height: 1.7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid #2175c4;
  outline-offset: 3px;
}
.shell {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.site-header {
  border-bottom: 1px solid #e2e8e9;
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.brand {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.header-inner nav {
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
  color: #486067;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  align-items: center;
  padding: 90px 0 100px;
}
.hero h1 {
  font-size: clamp(2.65rem, 6vw, 5rem);
  line-height: 1.26;
  letter-spacing: -0.07em;
  margin: 0;
}
.hero em {
  font-style: normal;
  color: #166a70;
}
.hero p {
  max-width: 560px;
  font-size: 1.1rem;
  color: #465a62;
  margin: 30px 0;
}
.hero-panel {
  min-height: 295px;
  background: #e8f3f0;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #17686a;
}
.hero-panel span {
  font-size: 8rem;
  line-height: 1;
  font-weight: 800;
}
.hero-panel p {
  margin: 14px 0 0;
  font-weight: 700;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 25px;
  border-radius: 8px;
  font-weight: 700;
}
.primary {
  background: #176b70;
  color: #fff;
}
.primary:hover {
  background: #105358;
  text-decoration: none;
}
.secondary {
  background: #fff;
  color: #176b70;
  border: 1px solid currentColor;
}
.section {
  padding: 52px 0;
}
.section h2,
.about h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading p,
.section > p {
  color: #52646a;
  margin: 0;
}
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.vertical-card {
  min-height: 150px;
  padding: 25px;
  border: 1px solid #dae5e5;
  border-radius: 14px;
  display: flex;
  gap: 16px;
  align-items: start;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.vertical-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--accent);
}
.card-mark {
  width: 8px;
  height: 38px;
  background: var(--accent);
  border-radius: 6px;
  flex: none;
}
.vertical-card strong {
  display: block;
  font-size: 1.17rem;
}
.vertical-card small {
  display: block;
  color: var(--accent);
  font-weight: 700;
}
.card-desc {
  display: block;
  color: #53666b;
  font-size: 0.88rem;
  margin-top: 8px;
}
.arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 1.3rem;
}
.about {
  margin: 65px 0 100px;
  padding: 40px 45px;
  background: #f1f6f5;
  border-radius: 18px;
}
.about p {
  max-width: 760px;
  color: #4d6066;
}
.site-footer {
  border-top: 1px solid #dae5e5;
  padding: 45px 0 65px;
  background: #f9fbfb;
  color: #52666d;
}
.site-footer strong {
  color: #1e2b30;
}
.site-footer p {
  margin: 8px 0;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #62757a;
  padding: 22px 0;
}
.vertical-hero {
  background: color-mix(in srgb, var(--accent) 10%, white);
  border-radius: 22px;
  margin: 20px 0;
  padding: 56px;
  min-height: 300px;
}
.vertical-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.3;
  letter-spacing: -0.05em;
  margin: 10px 0;
}
.vertical-name {
  color: var(--accent);
  font-weight: 800;
}
.vertical-hero > p:not(.vertical-name) {
  max-width: 600px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.page-head {
  padding: 45px 0 30px;
}
.page-head h1,
.detail h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.35;
  margin: 0 0 15px;
}
.page-head p {
  color: #53676c;
}
.list {
  list-style: none;
  margin: 22px 0 55px;
  padding: 0;
  border-top: 1px solid #dfe7e8;
}
.list li {
  padding: 20px 4px;
  border-bottom: 1px solid #dfe7e8;
}
.list a {
  font-weight: 700;
  color: #155e6c;
}
.list small {
  display: block;
  color: #596e74;
  margin-top: 4px;
}
.empty {
  padding: 25px;
  background: #f3f7f7;
  border-radius: 10px;
  color: #53666b;
}
.text-link {
  display: inline-block;
  color: #176b70;
  font-weight: 700;
  margin-top: 16px;
}
.pagination {
  display: flex;
  gap: 12px;
  margin: 12px 0 60px;
}
.text-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.text-links a {
  border: 1px solid #ccdddd;
  border-radius: 8px;
  padding: 8px 13px;
  color: #176b70;
}
.detail {
  max-width: 780px;
  padding: 40px 0 100px;
}
.eyeline {
  color: #176b70;
  font-weight: 700;
}
.lead {
  font-size: 1.15rem;
  color: #4a6268;
}
.detail dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid #dce5e6;
  margin: 35px 0;
}
.detail dt,
.detail dd {
  padding: 13px;
  border-bottom: 1px solid #dce5e6;
  margin: 0;
}
.detail dt {
  background: #f6f9f8;
  font-weight: 700;
}
.description {
  white-space: pre-wrap;
}
.question-list {
  list-style: none;
  padding: 0;
  max-width: 720px;
}
.question-list li {
  border-bottom: 1px solid #dae5e5;
  padding: 20px 0;
  font-weight: 700;
}
.question-list span {
  margin-right: 20px;
  color: #176b70;
}
@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }
  .header-inner {
    min-height: 62px;
  }
  .header-inner nav {
    gap: 12px;
    font-size: 0.8rem;
  }
  .hero {
    display: block;
    padding: 60px 0;
  }
  .hero p {
    margin: 22px 0;
  }
  .hero-panel {
    display: none;
  }
  .section {
    padding: 35px 0;
  }
  .section-heading {
    display: block;
  }
  .vertical-grid {
    grid-template-columns: 1fr;
  }
  .vertical-card {
    min-height: 125px;
    padding: 20px;
  }
  .about {
    padding: 25px;
    margin: 45px 0;
  }
  .vertical-hero {
    padding: 30px 24px;
  }
  .detail dl {
    grid-template-columns: 115px 1fr;
  }
  .detail dt,
  .detail dd {
    padding: 10px;
  }
}
/* card grid, prefecture grid, sample labels */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 18px 0; }
.job-card { border: 1px solid #e2e8e9; border-radius: 16px; overflow: hidden; background: #fff; }
.job-card:hover { box-shadow: 0 10px 28px rgb(20 40 50 / 10%); }
.job-card-photo { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3f4; }
.job-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.job-card-body { padding: 14px 16px 16px; }
.job-card-body h3 { margin: 4px 0; font-size: 1rem; line-height: 1.5; }
.job-card-area, .job-card-employer { margin: 0; color: #5b6b72; font-size: .82rem; }
.job-card-pay { margin: 8px 0 0; font-weight: 800; color: #0f5e8f; }
.sample-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fff4d6; color: #7a5200; border: 1px solid #f0d58a; font-size: .74rem; font-weight: 800; }
.job-card-photo .sample-badge { position: absolute; left: 10px; top: 10px; }
.sample-banner { padding: 10px 14px; border-radius: 12px; background: #fff8e1; border: 1px solid #f0d58a; }
.sample-note { color: #5b6b72; font-size: .82rem; }
.detail-photo { display: block; width: 100%; max-width: 640px; height: auto; border-radius: 16px; margin-bottom: 12px; }
.pref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; padding: 0; margin: 12px 0; list-style: none; }
.pref-grid a { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 9px 12px; border: 1px solid #e2e8e9; border-radius: 12px; background: #fff; font-weight: 650; font-size: .9rem; }
.pref-grid a:hover { border-color: #5aa9e6; background: #f1f8fd; text-decoration: none; }
.pref-grid small { color: #7a5200; font-size: .7rem; }
.apply-cta { margin: 22px 0; }
.apply-cta .primary { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 28px; border-radius: 999px; background: #12303f; color: #fff; font-weight: 800; text-decoration: none; }
.apply-cta small { margin-left: 10px; color: #5b6b72; }
/* top AI button, header CTAs, business strip */
.header-ctas { display: flex; gap: 10px; align-items: center; }
.header-ai, .header-biz { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.header-ai { color: #fff; background: linear-gradient(135deg, #58c9a6, #5aa9e6 55%, #8b7cf0); }
.header-biz { color: #12303f; border: 1.5px solid #12303f; }
.ai-top { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 640px; margin: 0 0 22px; padding: 20px 26px; border: 0; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #58c9a6 0%, #5aa9e6 52%, #8b7cf0 100%); box-shadow: 0 14px 34px rgb(90 169 230 / 35%); text-decoration: none; cursor: pointer; font: inherit; text-align: left; }
.ai-top:hover { filter: brightness(.96); text-decoration: none; }
.ai-top strong { display: block; font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.3; }
.ai-top small { display: block; font-size: .9rem; opacity: .95; }
.ai-top b { margin-left: auto; font-size: 1.8rem; }
.ai-top-mark { display: inline-grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: rgb(255 255 255 / 25%); font-weight: 800; letter-spacing: .05em; }
.biz-strip { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 18px auto; padding: 16px 20px; width: min(1120px, calc(100% - 40px)); border: 1.5px solid #d6e6f2; border-radius: 18px; background: #f1f8fd; }
.biz-strip strong { display: block; } .biz-strip span { color: #5b6b72; font-size: .9rem; }
.biz-strip-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.biz-strip-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.biz-strip-actions .primary { color: #fff; background: #12303f; } .biz-strip-actions .secondary { color: #12303f; border: 1.5px solid #12303f; background: #fff; }
.ai-options { display: grid; gap: 10px; margin: 18px 0; } .ai-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid #e2e8e9; border-radius: 16px; background: #fff; cursor: pointer; }
.ai-option:has(input:checked) { border-color: #2b9b78; background: #eefaf5; } .ai-option input { width: 20px; height: 20px; accent-color: #2b9b78; }
.ai-step { color: #2b7f9e; font-weight: 800; } .match-list { display: grid; gap: 22px; margin: 18px 0; } .match-result { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 18px; align-items: start; }
.match-score b { font-size: 2.2rem; background: linear-gradient(135deg, #58c9a6, #8b7cf0); -webkit-background-clip: text; background-clip: text; color: transparent; } .match-why h3 { margin: 12px 0 4px; font-size: .95rem; }
@media (max-width: 720px) { .match-result { grid-template-columns: 1fr; } .header-ctas .header-biz { display: none; } }
.header-inner { flex-wrap: wrap; gap: 8px 16px; padding-block: 8px; }
.header-inner nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 720px) { .header-inner nav { order: 3; width: 100%; } .ai-top { padding: 16px 18px; } .ai-top-mark { width: 44px; height: 44px; } }

/* ---------- modern polish for the vertical portals ---------- */
:root { --ai: linear-gradient(135deg, #58c9a6 0%, #5aa9e6 52%, #8b7cf0 100%); }
body { -webkit-font-smoothing: antialiased; background: #fbfcfd; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 80%); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgb(16 32 43 / 6%); }
.brand { font-weight: 800; letter-spacing: -.02em; }
.vertical-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 48px); align-items: center; width: min(1120px, calc(100% - 40px)); margin: 24px auto; padding: clamp(24px, 5vw, 56px); border-radius: 36px; position: relative; isolation: isolate; overflow: hidden; background: #fff; border: 1px solid #e6edf2; box-shadow: 0 30px 70px rgb(16 32 43 / 8%); }
.vertical-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(520px 300px at 8% 0%, #dff5ec, transparent 70%), radial-gradient(520px 340px at 100% 0%, #e9e5fb, transparent 70%), radial-gradient(420px 260px at 60% 110%, #dceffa, transparent 70%); }
.vertical-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.25; letter-spacing: -.04em; }
.vertical-hero .vertical-name { margin: 0 0 12px; color: var(--accent, #2b7f9e); font-weight: 800; letter-spacing: .04em; }
.vertical-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.vertical-hero .actions a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border-radius: 999px; border: 1.5px solid #cfe0e8; background: #fff; font-weight: 800; text-decoration: none; }
.vertical-hero .actions a:hover { border-color: #5aa9e6; background: #f1f8fd; }
.vh-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; } .vh-chips li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #e2e8e9; font-size: .82rem; font-weight: 700; } .vh-chips li::before { content: "✓"; margin-right: 6px; color: #2b9b78; }
.vh-art { position: relative; } .vh-art img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 24px 60px rgb(16 32 43 / 16%); }
.vh-badge { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / 92%); box-shadow: 0 10px 24px rgb(16 32 43 / 14%); font-weight: 800; font-size: .86rem; }
.ai-top { max-width: 100%; }
.section h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.03em; }
.job-card { border-radius: 22px; transition: transform .16s ease, box-shadow .16s ease; } .job-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgb(16 32 43 / 14%); }
.job-card-photo img { transition: transform .4s ease; } .job-card:hover .job-card-photo img { transform: scale(1.05); }
.pref-grid a { border-radius: 14px; } .card-grid { gap: 22px; }
@media (max-width: 820px) { .vertical-hero { grid-template-columns: minmax(0, 1fr); border-radius: 26px; } .vh-art { order: -1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
