:root {
  --ink: var(--wp--preset--color--ink, #1f3a3b); --muted: var(--wp--preset--color--muted, #4b6667); --green: var(--wp--preset--color--green, #0f7f74); --mint: var(--wp--preset--color--mint, #e6f5f0);
  --cream: var(--wp--preset--color--cream, #fff7ea); --coral: var(--wp--preset--color--coral, #ffe7e1); --coral-ink: var(--wp--preset--color--coral-ink, #c2413a); --line: var(--wp--preset--color--line, #d8e9e5);
  --body: clamp(1rem, .93rem + .25vw, 1.125rem); --body-large: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --h2: clamp(1.875rem, 1.5rem + 1.4vw, 2.75rem); --section: clamp(4rem, 8.4vw, 7.5rem);
  --radius: 12px; --page-gutter: clamp(20px, 5.55vw, 80px);
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-display: 'Poppins', 'Arial', sans-serif;
  --site-header-height: 128px; --site-header-top: 0px; --header-visible-height: var(--site-header-height);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height) + 24px); }
.header-is-hidden { --header-visible-height: 0px; }
.admin-bar { --site-header-top: 32px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font-body); font-size: var(--body); line-height: 1.9; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--green); }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: 700; line-height: 1.45; text-wrap: pretty; }
h1 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.5rem); }
.heading-phrase { display: inline-block; }
h2 { font-size: var(--h2); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); }
p + p { margin-top: 1em; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.container--form { max-width: 960px; }
.eyebrow { font: 700 14px/1.5 var(--font-display); letter-spacing: .14em; color: var(--green); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 10px 24px; background: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: var(--site-header-top); z-index: 20; min-height: 128px; padding: 24px clamp(20px, 4.16vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e6e8e8; background: #fff; box-shadow: 0 5px 18px rgb(5 46 46 / 5%); transition: transform .25s ease; }
.site-header.is-hidden { transform: translateY(calc(-100% - var(--site-header-top) - 20px)); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 68px; height: 72px; object-fit: contain; }
.brand strong { display: block; font: 700 19px/1.3 var(--font-display); }
.brand small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.5; }
.primary-navigation, .primary-navigation ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { text-decoration: none; font-size: 16px; font-weight: 700; white-space: nowrap; }
.primary-navigation a[aria-current='page'] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.button-icon { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.menu-toggle { display: none; background: none; border: 0; min-height: 48px; color: var(--ink); padding: 10px; white-space: nowrap; flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding: var(--section) 0 40px; }
.footer-main { display: flex; justify-content: space-between; gap: 60px; }
.footer-main > div { min-width: 0; }
.footer-main img { object-fit: contain; }
.footer-brand { font: 700 24px/1.4 var(--font-display); margin: 22px 0 18px; }
.footer-main address { font-style: normal; color: var(--muted); font-size: 16px; }
.footer-navigation { display: grid; grid-template-columns: repeat(2, auto); gap: 18px 60px; align-content: start; padding-top: 18px; }
.footer-navigation a { text-decoration: none; font-size: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 80px; font-size: 14px; }
.footer-bottom small { font: 10px/1.6 var(--font-display); color: var(--muted); }
.footer-bottom a { text-decoration: none; }
.form-page { padding-block: 64px var(--section); }
.page-intro { display: grid; gap: 24px; }
.page-intro p + p { margin-top: 0; }
.display-heading { font: 700 clamp(3.5rem, 8vw, 6.5rem)/1.15 var(--font-display); letter-spacing: -.045em; }
.contact-note { font-size: 16px; font-weight: 700; padding-top: 8px; }
.contact-note a { text-decoration: none; }
.contact-note--primary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: clamp(20px, 2vw, 26px); }
.contact-note--primary a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.contact-note-number { font-size: clamp(22px, 2.5vw, 32px); white-space: nowrap; }
.contact-note-department { font-size: 16px; }
.form-steps { display: grid; grid-template-columns: 1fr 1fr; padding: 0; margin: 56px 0 44px; list-style: none; gap: 24px; }
.form-steps li { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); border-bottom: 2px solid var(--line); padding-bottom: 18px; font-size: 15px; font-weight: 700; }
.form-steps li[aria-current] { color: var(--green); border-color: var(--green); }
.form-steps span { font-family: var(--font-display); }
.crea-form { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: 0 4px 16px rgb(0 0 0 / 3%); }
.crea-form fieldset { min-width: 0; border: 0; margin: 0 0 42px; padding: 0; }
.crea-form legend { padding: 0 0 0 16px; margin-bottom: 28px; font-size: 24px; font-weight: 700; border-left: 4px solid var(--coral-ink); line-height: 1.5; }
.crea-form .form-field > legend { border: 0; padding: 0; font-size: var(--body); margin-bottom: 14px; }
.crea-form legend .field-required { margin-left: 10px; }
.form-field { margin-top: 26px; }
.form-field:first-of-type { margin-top: 0; }
.crea-form fieldset.form-field { margin-bottom: 0; }
.crea-form .form-field + .form-field { margin-top: 26px; }
.form-field > label, .form-field > p > label, .field-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.field-required,.field-optional { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 4px; background: var(--coral); }
.field-optional { background: var(--mint); }
.crea-form input:not([type='radio'],[type='checkbox'],[type='submit'],[type='hidden']), .crea-form select, .crea-form textarea { width: 100%; min-height: 60px; padding: 14px 20px; border: 1px solid #8aa8a1; border-radius: var(--radius); color: var(--ink); background: #fff; }
.crea-form input::placeholder,.crea-form textarea::placeholder { color: #687b7b; opacity: 1; }
.crea-form textarea { resize: vertical; min-height: 180px; }
.crea-form input[type='radio'],.crea-form input[type='checkbox'] { accent-color: var(--green); width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
.crea-form input[type='file'] { font-size: 16px; }
.crea-form .wpcf7-radio { display: grid; gap: 12px; }
.crea-form .wpcf7-list-item { margin: 0; }
.crea-form .wpcf7-radio label { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 28px; min-height: 50px; cursor: pointer; }
.crea-form .wpcf7-radio label:has(input:checked) { background: var(--mint); border-color: var(--green); }
.crea-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.crea-form .wpcf7-acceptance input { margin-top: 7px; }
.field-help { font-size: 14px; color: var(--muted); margin-top: 8px; }
.form-actions { margin-top: 36px; text-align: center; }
.wpcf7-spinner { display: block; margin: 12px auto 0; }
.crea-form .wpcf7-not-valid-tip { color: #a62d29; margin-top: 8px; font-size: 15px; }
.crea-form .wpcf7-not-valid { border-color: #a62d29 !important; }
.crea-form .wpcf7-response-output { margin: 24px 0 0; padding: 16px; border-radius: 8px; }
.thanks-page { padding: 72px 0 var(--section); text-align: center; }
.thanks-page p { text-wrap: balance; }
.thanks-display { font: 700 clamp(1.5rem, 4vw, 3.5rem)/1.3 var(--font-display); letter-spacing: -.04em; }
.thanks-page h1 { margin: 28px 0 22px; }
.thanks-message { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 24px; }
.thanks-message h2 { font-size: clamp(22px, 2.2vw, 30px); }
.thanks-message p + p { margin: 0; }
.thanks-phone { font-weight: 700; font-size: 24px; text-decoration: none; }
.article-content { max-width: 960px; padding-block: var(--section); min-height: 50vh; }
.article-content h1 { margin: 18px 0 48px; }
.article-content h2 { margin: 56px 0 24px; }
.article-content h3 { margin: 36px 0 16px; }
.article-content p,.article-content ul,.article-content ol { margin-bottom: 1.5em; }
.article-content table { border-collapse: collapse; width: 100%; }
.article-content td,.article-content th { padding: 16px; border: 1px solid var(--line); }
.news-row { border-bottom: 1px solid var(--line); padding: 32px 0; }
.news-row h2 { font-size: 24px; margin: 12px 0 0; }
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  :root { --site-header-height: 88px; }
  .site-header { min-height: 88px; padding-block: 12px; }
  .brand img { width: 50px; height: 54px; }
  .brand strong { font-size: 17px; }
  .has-js .menu-toggle { display: flex; align-items: center; gap: 10px; font-size: 12px; }
  .menu-toggle span { font-size: 24px; }
  .has-js .primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--site-header-height) - var(--site-header-top)); overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgb(0 0 0 / 6%); }
  html:not(.has-js) .site-header { flex-wrap: wrap; }
  html:not(.has-js) .primary-navigation { flex-wrap: wrap; }
  .has-js .primary-navigation.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .primary-navigation a { display: block; padding: 16px; }
  .primary-navigation ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-navigation .button { display: flex; margin-top: 16px; }
}
@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar { --site-header-top: 46px; }
}
@media (max-width: 600px) {
  :root { --page-gutter: 20px; }
  .admin-bar { --site-header-top: 0px; }
  .site-header { gap: 8px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 9px; }
  .brand img { width: 43px; height: 50px; }
  .form-page { padding-top: 48px; }
  .page-intro { gap: 20px; }
  .form-steps { gap: 16px; margin: 40px 0 32px; }
  .form-steps li { gap: 10px; font-size: 14px; }
  .crea-form { padding: 24px 20px; }
  .crea-form legend { font-size: 20px; padding-left: 12px; text-wrap: balance; }
  .crea-form input:not([type='radio'],[type='checkbox'],[type='submit'],[type='hidden']),.crea-form select,.crea-form textarea { padding: 12px; min-height: 54px; }
  .crea-form .wpcf7-radio label { padding: 12px; border-radius: 12px; }
  .footer-main { flex-direction: column; gap: 36px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-bottom { flex-wrap: wrap; padding-top: 48px; }
  .footer-bottom small { width: 100%; order: 3; }
  .thanks-page { padding-top: 56px; }
  .thanks-phone { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}

.footer-navigation > div { display: flex; flex-direction: column; gap: 16px; }
.footer-navigation .eyebrow { margin-bottom: 6px; font-size: 12px; }
.footer-main address a { text-decoration: none; }
.footer-main address a:hover { text-decoration: underline; }
.footer-logo { width: 68px; }
.site-footer--service { background: #267765; color: white; border: 0; padding-top: 60px; padding-bottom: 0; }
.site-footer--service .footer-logo { width: 180px; max-width: 100%; align-self: start; padding: 20px; background: #fff; border-radius: 12px; }
.site-footer--service .footer-logo img { display: block; width: 100%; height: auto; }
.site-footer--service .footer-main address { color: white; font-size: 18px; font-weight: 700; margin-top: 25px; }
.site-footer--service .footer-navigation { padding-top: 110px; }
.site-footer--service .footer-navigation .eyebrow,.site-footer--service .back-to-top { color: #fff; }
.site-footer--service .footer-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 24px 32px; background: #205448; max-width: none; width: 100%; margin-top: 40px; margin-bottom: 0; padding: 32px max(24px,calc((100% - 1200px)/2)); border-top: 1px solid rgb(255 255 255 / 18%); }
.site-footer--service > .footer-bottom.container { width: 100%; max-width: none; }
.site-footer--service .footer-brand--large { grid-column: 1; grid-row: 1; }
.site-footer--service .footer-privacy { grid-column: 2; grid-row: 1; }
.site-footer--service .back-to-top { grid-column: 3; grid-row: 1; }
.site-footer--service .footer-bottom small { grid-column: 1/-1; grid-row: 2; color: white; }
.site-footer--service .footer-bottom > a { white-space: nowrap; }
.footer-brand--large { min-width: 0; font-size: clamp(24px,4.45vw,64px); margin: 0; white-space: nowrap; }
.recruit-compact { padding: 60px 0; text-align: center; background: #f5f6f7; }
.recruit-compact h2 { margin: 24px 0; font-size: clamp(24px,2.92vw,42px); font-weight: 900; }
@media(max-width: 780px) {
 .site-footer--service { padding-top: 64px; }
 .site-footer--service .footer-logo { width: 132px; padding: 14px; border-radius: 10px; }
 .site-footer--service .footer-main address { font-size: 15px; }
 .site-footer--service .footer-navigation { padding-top: 0; }
 .site-footer--service .footer-bottom { grid-template-columns: minmax(0,1fr) auto; gap: 20px 24px; }
 .site-footer--service .footer-brand--large { grid-column: 1/-1; grid-row: 1; }
 .site-footer--service .footer-privacy { grid-column: 1; grid-row: 2; }
 .site-footer--service .back-to-top { grid-column: 2; grid-row: 2; }
 .site-footer--service .footer-bottom small { grid-column: 1/-1; grid-row: 3; }
 .footer-navigation { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
 .footer-navigation a { font-size: 14px; }
 .recruit-compact { padding: 48px 0; }
}

@media(max-width: 360px) {
 .site-footer--service .footer-bottom { grid-template-columns: 1fr; }
 .site-footer--service .footer-privacy { grid-column: 1; grid-row: 2; }
 .site-footer--service .back-to-top { grid-column: 1; grid-row: 3; }
 .site-footer--service .footer-bottom small { grid-column: 1; grid-row: 4; }
}

@media (max-width: 350px) {
  .brand strong { font-size: 13px; }
  .has-js .menu-toggle { gap: 4px; padding-inline: 4px; }
}
