:root {
    --navy: #1f3552;
    --teal: #007c9d;
    --teal-dark: #00647f;
    --mint: #a8d8d3;
    --line: #e0e9ed;
    --gray: #e8eef1;
    --white: #fff;
    --ink: #344a59;
    --muted: #526775;
    --wash: #f4f9fa;
    --soft-mint: #eaf6f4;
    --error: #9b2923;
    --radius: 8px;
    --radius-lg: 14px;
    --gap: clamp(16px, 3vw, 36px);
    --space: clamp(52px, 7vw, 100px);
    --wrap: 1184px;
    --body-size: 1rem;
    --small-size: .875rem;
    --h1-size: clamp(2rem, 4.2vw, 3.65rem);
    --h2-size: clamp(1.5rem, 2.6vw, 2.1rem);
    --sans: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--white); }
body { margin: 0; color: var(--ink); font: var(--body-size)/1.75 var(--sans); overflow-wrap: anywhere; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.4; font-weight: 750; }
h1 { font-size: var(--h1-size); letter-spacing: -.038em; }
h2 { font-size: var(--h2-size); letter-spacing: -.025em; }
h3 { font-size: 1.16rem; }
img { display: block; max-width: 100%; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 4px; }
.button:focus-visible { outline-offset: 3px; }
.wrap { width: min(calc(100% - 2 * var(--gap)), var(--wrap)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.19em; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-180%); padding: 8px 14px; background: var(--white); color: var(--teal-dark); border-radius: var(--radius); }
.skip-link:focus { transform: none; }
.header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { color: var(--navy); font-weight: 850; font-size: clamp(1.36rem, 2.5vw, 1.82rem); letter-spacing: -.052em; line-height: 1.15; width: fit-content; display: inline-flex; }
.desktop-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); }
.desktop-nav a, .footer nav a { font-size: var(--small-size); font-weight: 700; color: var(--navy); }
.desktop-nav a:hover, .desktop-nav [aria-current], .footer nav a:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border: 1px solid transparent; border-radius: var(--radius); background: var(--teal); color: var(--white); font-weight: 750; font-size: var(--small-size); text-align: center; }
.button:hover { background: var(--navy); }
.button[disabled] { cursor: wait; opacity: .72; }
.button-outline { color: var(--teal-dark); background: var(--white); border-color: var(--teal-dark); }
.button-outline:hover { color: var(--teal-dark); background: var(--soft-mint); }
.header-cta { min-height: 42px; white-space: nowrap; padding-inline: 16px; }
.mobile-menu { display: none; }
.preview { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px var(--gap); background: var(--soft-mint); color: var(--teal-dark); font-weight: 750; font-size: .8125rem; }
.preview span { font-weight: 550; }
.hero { background: linear-gradient(118deg, #f2f8fa, #eaf5f3); }
.hero-grid { display: grid; grid-template-columns: .94fr 1.08fr; align-items: center; gap: clamp(22px, 4vw, 62px); padding-block: 38px 75px; }
.hero-copy { padding-block: 16px 22px; }
.hero-label { color: var(--teal-dark); font-size: var(--small-size); font-weight: 750; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.hero-label::before { content: ""; width: 25px; height: 2px; background: var(--teal); flex: none; }
.hero h1 { margin-block: 18px 20px; font-size: clamp(2.25rem, 4.25vw, 3.65rem); line-height: 1.33; }
.hero h1 span { display: block; }
.hero-intro { max-width: 24em; color: var(--navy); font-size: clamp(1rem, 1.45vw, 1.13rem); font-weight: 550; line-height: 1.9; }
.hero-intro span { display: block; }
.hero-media { background: var(--mint); overflow: hidden; border-radius: var(--radius-lg); }
.hero-image { aspect-ratio: 1.49; object-position: 52% 46%; }
.search-box { margin-top: -44px; position: relative; padding: 22px 25px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 8px 22px #1f35520c; }
.search-box h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.search-box h2 .icon { color: var(--teal-dark); }
.search-fields { display: grid; align-items: end; gap: 13px; }
.search-compact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) max-content; }
.search-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span:first-child { font-size: var(--small-size); font-weight: 750; color: var(--navy); }
input:not([type=checkbox]), select, textarea { background: var(--white); color: var(--navy); width: 100%; min-height: 48px; border: 1px solid #8396a2; border-radius: var(--radius); padding: 9px 12px; }
input::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; }
.select-wrap, .input-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; padding-inline-end: 34px; }
.select-wrap .icon, .input-wrap .icon { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--teal-dark); }
.select-wrap .icon:last-child { right: 10px; width: 16px; }
.select-wrap .icon:first-child, .input-wrap .icon { left: 12px; }
.select-wrap:has(.icon:first-child) select, .input-wrap input { padding-inline-start: 37px; }
.search-actions { display: flex; align-items: center; gap: 15px; }
.search-full .search-actions { grid-column: 1 / -1; padding-top: 5px; }
.reset, .subtle-link { color: var(--teal-dark); text-decoration: underline; text-underline-offset: .18em; }
.section { padding-block: var(--space); }
.section-heading { margin-bottom: 24px; }
.section-heading p { color: var(--muted); margin-top: 7px; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.category { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 98px; padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.category:hover { border-color: var(--teal); background: var(--wash); }
.category strong, .category small { display: block; }
.category strong { font-size: 1.06rem; color: var(--navy); }
.category small { color: var(--muted); font-size: var(--small-size); line-height: 1.55; margin-top: 3px; }
.category > .icon { color: var(--teal-dark); width: 15px; }
.category-icon { display: inline-grid; place-items: center; color: var(--teal-dark); background: var(--soft-mint); border-radius: var(--radius); width: 46px; height: 46px; flex: none; }
.category-icon .icon { width: 24px; height: 24px; }
.job-band { background: var(--wash); }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.job-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.job-card:focus-within { overflow: visible; }
.card-photo { display: block; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card-photo img { aspect-ratio: 1.95; }
.card-body { padding: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; border-radius: 4px; background: var(--gray); padding: 3px 8px; color: var(--navy); font-size: .8125rem; font-weight: 650; }
.tag-teal { background: var(--soft-mint); color: var(--teal-dark); }
.card-body h3, .card-title { margin-block: 9px 3px; font-size: 1.15rem; }
.card-body h3 a, .card-title a { display: flex; justify-content: space-between; gap: 5px; align-items: center; }
.card-body h3 a:hover, .card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-body h3 .icon, .card-title .icon { color: var(--teal-dark); width: 15px; }
.facility-name, .location { color: var(--muted); font-size: var(--small-size); }
.location { display: flex; align-items: start; gap: 4px; }
.location .icon { margin-top: .24em; color: var(--teal-dark); }
.salary { color: var(--teal-dark); font-size: 1.15rem; font-weight: 800; margin-block: 7px; }
.conditions { margin-top: 6px; }
.sample-note { margin-top: 11px; font-size: .8125rem; color: var(--muted); }
.text-link { color: var(--teal-dark); font-weight: 750; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.text-link .icon { width: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.band-link { margin-top: 15px; }
.feature-grid { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(24px, 5vw, 82px); align-items: center; }
.feature-photo img { aspect-ratio: 1.25; border-radius: var(--radius-lg); }
.feature-row { display: flex; gap: 14px; margin-bottom: 20px; }
.feature-row p { color: var(--muted); margin-top: 4px; }
.employer { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); padding: clamp(24px, 4vw, 46px); background: var(--soft-mint); border-radius: var(--radius-lg); }
.employer h2 { margin-block: 5px; }
.employer p:first-child { color: var(--teal-dark); font-size: var(--small-size); font-weight: 750; }
.employer .button { flex-shrink: 0; }
.faq { display: grid; grid-template-columns: 1fr 2.15fr; gap: var(--gap); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; padding: 17px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--navy); font-weight: 750; }
summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--teal-dark); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 24px 17px 0; color: var(--muted); }
.footer { background: var(--wash); border-top: 1px solid var(--line); padding-block: 34px 20px; }
.footer-main { display: grid; grid-template-columns: 1fr 1.8fr; gap: var(--gap); }
.footer-main p { font-size: var(--small-size); margin-top: 9px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: start; }
.copyright { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px; color: var(--muted); font-size: .8125rem; }
.breadcrumbs { padding-block: 16px 12px; color: var(--muted); font-size: var(--small-size); }
.breadcrumbs ol { padding: 0; list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.breadcrumbs li { display: flex; gap: 5px; align-items: center; }
.breadcrumbs .icon { width: 12px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .18em; }
.page-intro { padding-block: clamp(22px, 5vw, 46px) 28px; }
.page-intro h1 { font-size: clamp(1.87rem, 4vw, 3rem); line-height: 1.36; }
.page-intro > p { margin-top: 10px; }
.detail-intro > .tags { margin-bottom: 11px; }
.content { padding-bottom: var(--space); }
.filter-box { padding: clamp(16px, 3vw, 28px); background: var(--wash); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.results-heading { margin-block: 26px 14px; display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.results-heading p { color: var(--muted); font-weight: 650; }
.results-heading strong { color: var(--navy); font-size: 1.45rem; }
.category-lead { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.empty { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.empty > h2 { font-size: 1.3rem; }
.empty > p { margin-block: 6px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr); gap: var(--gap); align-items: start; }
.detail-body section, .prose section { margin-bottom: 30px; }
.detail-body section:last-child, .prose section:last-child { margin-bottom: 0; }
.detail-body h2, .prose h2, .form-shell h2 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); margin-bottom: 10px; }
.detail-body section > .button { margin-top: 12px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.gallery img { border-radius: var(--radius); aspect-ratio: 1.52; }
.specs { border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr); border-bottom: 1px solid var(--line); }
.specs dt, .specs dd { padding: 10px 12px; }
.specs dt { background: var(--wash); color: var(--navy); font-weight: 700; }
.preserve { white-space: pre-line; }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: var(--wash); display: grid; gap: 7px; position: sticky; top: 16px; }
.summary-card h2 { font-size: 1.22rem; }
.summary-card .text-link { font-size: var(--small-size); }
.prose, .form-shell { max-width: 760px; }
.prose .button { margin-top: 20px; }
.form-shell { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 31px); }
.notice, .form-error { border-left: 3px solid var(--teal); background: var(--wash); padding: 11px 14px; margin-bottom: 16px; }
.form-error { border-color: var(--error); background: #fff4f3; color: var(--error); margin-top: 14px; margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; list-style: none; margin-bottom: 18px; }
.steps li { font-size: var(--small-size); padding: 6px 4px; text-align: center; color: var(--muted); border-bottom: 2px solid var(--line); }
.steps [aria-current] { color: var(--teal-dark); border-color: var(--teal-dark); font-weight: 800; }
.form-shell form { display: grid; justify-items: stretch; align-items: start; gap: 14px; }
.form-shell form .button { justify-self: start; }
.trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.required { background: var(--soft-mint); color: var(--teal-dark); padding: 2px 5px; font-size: .8125rem; border-radius: 4px; }
.consent { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 36px; cursor: pointer; }
.consent input { width: 18px; height: 18px; accent-color: var(--teal-dark); flex: none; }
.form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
[data-review] .notice, [data-done] .button { margin-top: 14px; }
[data-status] { margin-top: 12px; font-weight: 750; color: var(--teal-dark); }
.not-found { min-height: 52vh; }
.not-found > p:first-child { color: var(--teal-dark); font-weight: 800; }
@media (max-width: 900px) {
    .desktop-nav, .header-cta { display: none; }
    .header-inner { min-height: 64px; }
    .mobile-menu { display: block; }
    .mobile-menu summary { display: flex; align-items: center; gap: 4px; list-style: none; min-height: 44px; padding: 6px 8px; color: var(--navy); font-weight: 750; font-size: var(--small-size); }
    .mobile-menu nav { position: absolute; right: var(--gap); top: calc(100% - 3px); width: min(320px, calc(100% - 2 * var(--gap))); display: grid; background: var(--white); padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px #1f35521a; }
    .mobile-menu nav a { display: flex; align-items: center; border-bottom: 1px solid var(--line); min-height: 44px; font-weight: 700; }
    .mobile-menu nav a:last-child { border-bottom: 0; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .hero-grid { grid-template-columns: 1fr; gap: 16px; padding-block: 23px 16px; }
    .hero-copy { padding: 0; }
    .hero h1 { margin-block: 9px 11px; font-size: clamp(1.9rem, 7.7vw, 2.95rem); }
    .hero-intro { max-width: 27em; font-size: .96rem; line-height: 1.75; }
    .hero-image { aspect-ratio: 1.83; object-position: center 44%; }
    .search-box { margin-top: 15px; padding: 15px; box-shadow: none; }
    .search-box h2 { margin-bottom: 10px; }
    .search-compact, .search-full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .search-compact .field-keyword, .search-compact .search-actions { grid-column: 1 / -1; }
    .search-compact .button { width: 100%; }
    .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .feature-grid, .footer-main, .detail-grid, .faq { grid-template-columns: 1fr; }
    .feature-photo img { aspect-ratio: 1.75; }
    .employer { align-items: start; flex-direction: column; }
    .faq { gap: 0; }
    .summary-card { grid-row: 1; position: static; }
    .detail-body section { margin-bottom: 25px; }
}
@media (max-width: 470px) {
    .heading-row { align-items: start; flex-direction: column; gap: 4px; }
    .category { grid-template-columns: auto 1fr; gap: 8px; min-height: 108px; padding: 11px 9px; align-items: start; }
    .category-icon { width: 35px; height: 35px; }
    .category-icon .icon { width: 20px; height: 20px; }
    .category > .icon { display: none; }
    .category strong { font-size: .96rem; }
    .category small { font-size: .8125rem; }
    .job-grid { grid-template-columns: 1fr; }
    .specs > div { grid-template-columns: 1fr; }
    .specs dt { padding-block: 6px; }
}

.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.25rem 0 1.75rem}
.pricing-plan{min-width:0;border:1px solid #c6dce1;border-radius:.75rem;padding:1rem 1.25rem}
.pricing-plan h3{margin:0 0 .55rem;font-size:1.125rem}
.pricing-plan p{margin:.45rem 0}
.pricing-plan .pricing-price{font-weight:700}
@media(max-width:640px){.pricing-grid{grid-template-columns:1fr}}
