:root { --navy: #0b2f68; --text: #222; --muted: #666; --line: #ccc; }
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; color: var(--text); background: #fff; font-family: "Yu Gothic", YuGothic, Meiryo, "Hiragino Kaku Gothic ProN", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.7; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #4b88d1; outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { border-bottom: 6px solid var(--navy); background: #fff; }
.site-header__inner { width: min(1000px, calc(100% - 48px)); min-height: 138px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 220px; }
.global-nav, .footer-nav { display: flex; align-items: center; }
.global-nav a, .footer-nav a { position: relative; padding: 8px 18px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.global-nav a + a::before, .footer-nav a + a::before { content: ""; position: absolute; left: 0; top: 25%; width: 1px; height: 50%; background: var(--line); }
.global-nav .is-current { color: var(--navy); }
.hero-image { width: 100%; margin: 0; }
.hero-image img { width: 100%; height: auto; }
.content-container { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.page-section { padding-block: 60px 64px; }
.page-title { margin: 0 0 42px; color: var(--text); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: .03em; }
.page-title span { margin-left: 18px; color: var(--navy); font-size: 12px; font-weight: 500; letter-spacing: .04em; vertical-align: baseline; }
.job-list { max-width: 800px; margin: 0; padding-left: 1.25em; font-size: 16px; line-height: 1.6; }
.job-list li { margin-bottom: 15px; padding-left: .1em; }
.job-list strong { font-weight: 600; }
.company-layout { padding-top: 46px; padding-bottom: 58px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-areas: "info map" "contact map"; column-gap: 32px; row-gap: 46px; align-items: start; }
.company-layout__info { grid-area: info; }
.company-layout__contact { grid-area: contact; }
.company-layout__map { grid-area: map; }
.company-layout .page-title { margin-bottom: 25px; }
.company-info { margin: 0; }
.company-info div { display: grid; grid-template-columns: 100px minmax(0, 1fr); min-height: 40px; padding: 8px 0; border-bottom: 1px solid #e5e5e5; font-size: 15px; line-height: 1.5; }
.company-info dt { font-weight: 700; }
.company-info dd { margin: 0; }
.company-info a { color: var(--text); text-decoration-color: #999; text-underline-offset: 2px; }
.company-info a:hover { color: var(--navy); }
.enquiry { margin-top: 0; }
.enquiry .page-title { margin-bottom: 25px; }
.wpcf7 form p { margin: 0 0 9px; padding: 0; line-height: 1.4; }
.wpcf7 label { display: block; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.wpcf7 form p > br, .wpcf7 label br { display: none; }
.wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select { display: block; width: 100%; max-width: 100%; margin: 0; padding: 5px 8px; border: 1px solid #aaa; border-radius: 0; box-shadow: none; background: #fff; color: var(--text); font: inherit; font-size: 14px; line-height: 1.4; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 select { height: 34px; }
.wpcf7 textarea { height: 120px; min-height: 120px; resize: vertical; }
.wpcf7 input[type="submit"] { width: 220px; height: 34px; min-width: 0; margin-top: 7px; padding: 4px 16px; border: 1px solid #777; border-radius: 0; box-shadow: none; background: #fff; color: #222; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background-color .15s ease; }
.wpcf7 input[type="submit"]:hover { background: #eef2f7; }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 3px; color: #b00020; font-size: .85rem; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 8px; vertical-align: middle; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 8px 10px; }
.company-layout__map iframe { display: block; width: 100%; height: 540px; min-height: 540px; border: 1px solid #888 !important; }
.site-footer { background: #fff; text-align: center; }
.footer-nav { min-height: 66px; justify-content: center; }
.footer-nav a { font-size: 13px; }
.copyright { min-height: 46px; padding: 14px 20px; background: var(--navy); color: #fff; font-size: 10px; line-height: 1.7; letter-spacing: .02em; }
.entry-content > * { max-width: 100%; }

@media (max-width: 767px) {
  .site-header { border-bottom-width: 4px; }
  .site-header__inner { width: 100%; min-height: 0; padding: 18px 16px 12px; flex-direction: column; gap: 10px; }
  .site-logo img { width: 200px; }
  .global-nav { width: 100%; justify-content: center; }
  .global-nav a { flex: 1 1 0; padding: 8px 5px; font-size: 13px; text-align: center; }
  .content-container { width: calc(100% - 32px); }
  .page-section { padding-block: 44px 52px; }
  .page-title { margin-bottom: 30px; font-size: 24px; }
  .job-list { padding-left: 1.25em; font-size: 1rem; }
  .job-list li { margin-bottom: 14px; }
  .company-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "map" "contact"; gap: 0; padding-top: 42px; padding-bottom: 52px; }
  .company-layout__info, .company-layout__contact, .company-layout__map { width: 100%; }
  .company-layout__info { margin-bottom: 28px; }
  .company-layout__map { margin-bottom: 36px; }
  .company-info div { grid-template-columns: 5.5em minmax(0, 1fr); gap: 6px; }
  .enquiry { margin-top: 0; }
  .company-layout__map iframe { height: 330px; min-height: 330px; }
  .footer-nav { min-height: 64px; }
  .footer-nav a { padding: 8px 9px; font-size: 12px; }
  .copyright { min-height: 46px; padding: 14px 12px; font-size: 10px; line-height: 1.7; }
}

@media (min-width: 768px) {
  .global-nav { transform: translateY(30px); }
}
