:root {
  --navy: #062f63;
  --navy-deep: #031b3e;
  --blue: #0a5ea7;
  --blue-light: #5fa7dc;
  --ink: #18202b;
  --muted: #647084;
  --line: #d9e2ec;
  --paper: #f5f8fb;
  --white: #fff;
  --shadow: 0 24px 60px rgba(4, 37, 78, .12);
  --radius: 4px;
  --header-h: 82px;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--blue); }

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(6,47,99,.08);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(3, 27, 62, .10); }
.header-inner {
  width: min(1440px, 100%);
  height: 100%;
  margin: auto;
  padding-left: clamp(20px, 4vw, 58px);
  display: flex;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 290px;
}
.brand img { width: 51px; height: 51px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong {
  color: #111;
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: .15em;
  white-space: nowrap;
}
.brand-copy small {
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}
.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.1vw, 36px);
  margin-left: auto;
  padding: 0 30px;
}
.global-nav a {
  position: relative;
  padding: 29px 0 25px;
  color: #273242;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.global-nav a:hover::after, .global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-contact {
  height: 100%;
  min-width: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 25px;
  color: #fff;
  background: linear-gradient(135deg, #0c447e, #052552);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
}
.header-contact:hover { filter: brightness(1.08); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: clamp(660px, 74vw, 820px);
  margin-top: var(--header-h);
  overflow: clip;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 35%, rgba(255,255,255,.42) 62%, rgba(255,255,255,.04) 100%),
    url("../images/sky-texture.jpg") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 100px;
  background: linear-gradient(to top, rgba(2,28,61,.26), transparent);
  pointer-events: none;
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: min(66%, 1000px);
  overflow: hidden;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #f8fbfe 0%, rgba(248,251,254,.88) 8%, rgba(248,251,254,.12) 40%, transparent 62%),
    linear-gradient(to bottom, rgba(255,255,255,.04), rgba(2,36,76,.06));
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 52%;
  transform: scale(1.025);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .26;
  background-image:
    linear-gradient(rgba(7,56,105,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,56,105,.16) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, transparent 8%, #000 38%, #000 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1320px, calc(100% - 72px));
  min-height: clamp(660px, 74vw, 820px);
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 680px; padding: 60px 0 120px; }
.eyebrow, .section-heading > p, .company-content .section-heading > p,
.contact-copy > p:first-child, .recruit-card > p {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .08em;
  text-shadow: 0 2px 30px rgba(255,255,255,.55);
}
.hero-lead {
  margin: 26px 0 0;
  color: #3d4856;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 2;
  letter-spacing: .04em;
}
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 23px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0a4b8f, #062c5c);
  box-shadow: 0 16px 30px rgba(5, 50, 101, .22);
}
.button-primary:hover { box-shadow: 0 20px 36px rgba(5, 50, 101, .3); }
.button-ghost { color: var(--navy); border-color: rgba(6,47,99,.25); background: rgba(255,255,255,.72); }
.button-light { color: var(--navy); background: #fff; }
.hero-facts {
  display: flex;
  gap: 0;
  margin: 46px 0 0;
}
.hero-facts div {
  min-width: 135px;
  padding: 0 24px;
  border-left: 1px solid rgba(6,47,99,.2);
}
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.hero-facts dd { margin: 2px 0 0; color: var(--navy); font-size: 15px; font-weight: 800; letter-spacing: .06em; }
.hero-vertical {
  position: absolute;
  right: 22px;
  top: 44px;
  z-index: 3;
  color: rgba(255,255,255,.56);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  writing-mode: vertical-rl;
}
.scroll-guide {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .25em;
  transform: translateX(-50%);
}
.scroll-guide span { width: 44px; height: 1px; background: currentColor; }

.section { padding: clamp(80px, 8vw, 120px) 0; }
.section-inner { width: min(1320px, calc(100% - 72px)); margin: 0 auto; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-left: 21px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.35;
}
.section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .14em;
  width: 5px;
  height: .92em;
  background: linear-gradient(var(--blue-light), var(--navy));
}
.section-heading > span {
  display: block;
  margin: 13px 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.section-heading-light > p { color: #91c5ed; }
.section-heading-light h2 { color: #fff; }
.section-heading-light h2::before { background: #fff; }
.section-heading-left { margin-bottom: 24px; }

.services { background: linear-gradient(180deg, #fff, #f4f8fc); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4ebf2;
  box-shadow: 0 14px 38px rgba(3, 36, 76, .08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 52px rgba(3,36,76,.15); }
.service-image { position: relative; aspect-ratio: 1.66; overflow: hidden; background: #dce8f3; }
.service-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.service-card:hover .service-image img { transform: scale(1.045); }
.service-image span {
  position: absolute;
  left: 18px;
  bottom: -8px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0,0,0,.18);
}
.service-body { padding: 26px 24px 23px; }
.service-en { margin: 0 0 5px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.service-body h3 { margin: 0; color: #182434; font-size: 20px; letter-spacing: .04em; }
.service-body > p:not(.service-en) { min-height: 84px; margin: 14px 0 20px; color: #657184; font-size: 13px; line-height: 1.8; }
.service-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #e5ebf1;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.service-body a b { font-size: 18px; font-weight: 400; }

.strengths {
  position: relative;
  isolation: isolate;
  padding: 88px 0 92px;
  overflow: hidden;
  color: #fff;
  background: #073a72;
}
.strengths-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 20%, rgba(76,160,220,.34), transparent 32%),
    radial-gradient(circle at 82% 120%, rgba(12,103,177,.45), transparent 45%),
    linear-gradient(120deg, #0b4a87, #052752 67%, #031a3b);
}
.strengths::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(66deg) scale(1.8) translateY(20%);
}
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strength-item {
  min-height: 250px;
  padding: 26px 34px 20px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.27);
}
.strength-item:first-child { border-left: 0; }
.strength-icon { width: 66px; height: 66px; margin: 0 auto 18px; }
.strength-icon svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.strength-item h3 { margin: 0; font-size: 18px; letter-spacing: .06em; }
.strength-item p { margin: 13px 0 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.9; }

.workflow { background: #fff; }
.workflow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid #dce5ef;
}
.workflow-list li {
  position: relative;
  min-height: 275px;
  padding: 30px 25px 28px;
  text-align: center;
  border-left: 1px solid #dce5ef;
}
.workflow-list li:first-child { border-left: 0; }
.workflow-list li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 3;
  width: 18px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #95a9bf;
  background: #fff;
  font-size: 35px;
  line-height: 1;
  transform: translateY(-50%);
}
.workflow-number { position: absolute; left: 16px; top: 12px; color: #99a8b8; font: 700 12px Georgia, serif; }
.workflow-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 5px auto 17px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 33px;
}
.workflow-list h3 { margin: 0; color: var(--navy); font-size: 15px; }
.workflow-list p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.capability-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  background: linear-gradient(90deg, #f2f6fa, #e8f1f8);
  border: 1px solid #dce6ef;
}
.capability-band div { padding: 18px 22px; border-left: 1px solid #d1dde8; }
.capability-band div:first-child { border-left: 0; }
.capability-band span { display: block; color: #8493a4; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.capability-band strong { display: block; margin-top: 3px; color: var(--navy); font-size: 14px; }

.company { background: var(--paper); }
.company-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(46px, 6vw, 90px); align-items: center; }
.company-visual { position: relative; box-shadow: var(--shadow); }
.company-visual img { width: 100%; min-height: 390px; object-fit: cover; }
.company-stamp {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 144px;
  height: 144px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border: 8px solid rgba(255,255,255,.75);
  outline: 1px solid rgba(6,47,99,.18);
}
.company-stamp strong { font: 700 40px Georgia, serif; line-height: 1; }
.company-stamp span { margin-top: 8px; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.company-message { margin: 0 0 26px; color: #586578; font-size: 14px; line-height: 2; }
.company-table { margin: 0; border-top: 1px solid #d6e0ea; }
.company-table div { display: grid; grid-template-columns: 105px 1fr; border-bottom: 1px solid #d6e0ea; }
.company-table dt, .company-table dd { margin: 0; padding: 12px 0; font-size: 12px; }
.company-table dt { color: var(--navy); font-weight: 800; }
.company-table dd { color: #556174; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 12px;
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 1px solid rgba(10,94,167,.35);
  transition: color .2s ease, border-color .2s ease;
}
.map-link:hover, .map-link:focus-visible {
  color: var(--navy);
  border-color: var(--navy);
}
.map-link span { font-size: 11px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 26px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.text-link span { font-size: 21px; }

.info-area { padding: 0 0 96px; background: var(--paper); }
.info-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.news-card, .recruit-card { min-height: 320px; padding: 34px; background: #fff; box-shadow: 0 13px 34px rgba(4,35,73,.08); }
.info-title { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.info-title span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.info-title h2 { margin: 2px 0 0; color: var(--navy); font-size: 24px; }
.info-title a { color: var(--muted); font-size: 11px; font-weight: 700; }
.news-list article { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #e2e8ef; }
.news-list time { color: var(--blue); font: 700 12px Georgia, serif; }
.news-list p { margin: 0; color: #4e596a; font-size: 13px; }
.sample-note { display: block; margin-top: 13px; color: #98a3af; font-size: 10px; }
.recruit-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(5,61,117,.97), rgba(3,27,62,.94)),
    url("../images/sky-texture.jpg") center / cover no-repeat;
}
.recruit-card::after {
  content: "RECRUIT";
  position: absolute;
  right: -19px;
  bottom: -25px;
  color: rgba(255,255,255,.08);
  font-size: 70px;
  font-weight: 900;
  writing-mode: vertical-rl;
}
.recruit-card > p { color: #9ed0f3; }
.recruit-card h2 { margin: 0; font-family: var(--font-serif); font-size: 30px; line-height: 1.55; letter-spacing: .07em; }
.recruit-card > span { display: block; margin: 16px 0 28px; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.9; }
.recruit-card .button { position: relative; z-index: 1; }

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #073a72 0%, #073a72 52%, #0a5a9c 100%);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px);
  background-size: 76px 76px;
}
.contact-media {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 22%;
  min-width: 250px;
  overflow: hidden;
}
.contact-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #073a72, transparent 38%, transparent 70%, #0a5a9c);
}
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: saturate(.9) contrast(1.04); }
.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(50px, 8vw, 120px);
  padding-top: 86px;
  padding-bottom: 86px;
  align-items: center;
}
.contact-copy { max-width: 475px; }
.contact-copy > p:first-child { color: #9ed0f3; }
.contact-copy h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(29px, 3.4vw, 47px); line-height: 1.55; letter-spacing: .06em; }
.contact-copy > p:not(:first-child) { color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.9; }
.contact-phone {
  display: block;
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,.32);
}
.contact-phone span, .contact-phone small { display: block; color: rgba(255,255,255,.72); font-size: 11px; }
.contact-phone strong { display: block; margin: 2px 0; font: 700 clamp(31px, 3.2vw, 45px) Georgia, serif; letter-spacing: .03em; }
.contact-form {
  margin-left: auto;
  padding: 32px;
  width: min(100%, 660px);
  color: var(--ink);
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 65px rgba(0,17,43,.26);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: block; margin-bottom: 14px; color: #273447; font-size: 12px; font-weight: 800; }
.contact-form label span { margin-left: 7px; padding: 2px 6px; color: #fff; background: #b44c4c; font-size: 8px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #ccd7e1;
  border-radius: 0;
  color: var(--ink);
  background: #fbfcfe;
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10,94,167,.12);
}
.contact-form textarea { resize: vertical; }
.form-submit { width: 100%; border: 0; }
.contact-form > small { display: block; margin-top: 11px; color: #8a95a3; font-size: 9px; line-height: 1.6; }
.form-status { min-height: 1.5em; margin: 10px 0 0; color: #8a4e1d; font-size: 11px; font-weight: 700; }

.site-footer { color: #fff; background: #031b3e; }
.footer-inner {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 35px;
  align-items: center;
  padding: 34px 0;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { object-fit: contain; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand strong { font-family: var(--font-serif); font-size: 18px; letter-spacing: .12em; }
.footer-brand small { color: #9fb3ca; font-size: 8px; letter-spacing: .13em; }
.footer-inner address { color: #aebdd0; font-style: normal; font-size: 10px; line-height: 1.8; }
.footer-inner nav { display: flex; justify-content: flex-end; gap: 21px; }
.footer-inner nav a { color: #bcc8d8; font-size: 10px; }
.footer-inner nav a:hover { color: #fff; }
.footer-bottom {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 17px 0 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom small { margin-right: auto; color: #7f94ad; font-size: 9px; letter-spacing: .1em; }
.footer-bottom a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  :root { --header-h: 74px; }
  .brand { min-width: 250px; }
  .brand img { width: 45px; height: 45px; object-fit: contain; }
  .brand-copy strong { font-size: 18px; }
  .global-nav { gap: 17px; padding: 0 20px; }
  .global-nav a { font-size: 11px; }
  .header-contact { min-width: 154px; padding: 0 18px; font-size: 12px; }
  .hero { min-height: 690px; }
  .hero-inner { min-height: 690px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-body > p:not(.service-en) { min-height: auto; }
  .contact-media { left: 46%; width: 27%; }
}

@media (max-width: 960px) {
  .header-inner { padding: 0 20px; }
  .global-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 16px 20px 24px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 35px rgba(0,25,60,.14);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .global-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .global-nav a { padding: 14px 10px; border-bottom: 1px solid #e5ebf1; }
  .global-nav a::after { display: none; }
  .menu-button {
    display: flex;
    width: 46px;
    height: 54px;
    margin-left: auto;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .menu-button span { width: 24px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
  .menu-button b { margin-top: 2px; color: var(--navy); font-size: 8px; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-contact { min-width: 132px; height: 100%; }
  .hero-media { width: 72%; opacity: .88; }
  .hero-media::before { background: linear-gradient(90deg, #f8fbfe 0%, rgba(248,251,254,.94) 24%, rgba(248,251,254,.34) 62%, rgba(248,251,254,.1)); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.27); }
  .strength-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.27); }
  .workflow-list { grid-template-columns: repeat(2, 1fr); }
  .workflow-list li { border-top: 1px solid #dce5ef; }
  .workflow-list li:nth-child(-n+2) { border-top: 0; }
  .workflow-list li:nth-child(odd) { border-left: 0; }
  .workflow-list li::after { display: none !important; }
  .workflow-list li:last-child { grid-column: 1 / -1; }
  .capability-band { grid-template-columns: repeat(2, 1fr); }
  .capability-band div:nth-child(odd) { border-left: 0; }
  .capability-band div:nth-child(n+3) { border-top: 1px solid #d1dde8; }
  .company-layout { grid-template-columns: 1fr; }
  .company-visual { max-width: 720px; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-media { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .contact-copy { max-width: 700px; }
  .contact-form { width: 100%; margin: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner nav { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .header-inner { padding: 0 13px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 39px; height: 39px; object-fit: contain; }
  .brand-copy strong { font-size: 15px; letter-spacing: .08em; }
  .brand-copy small { font-size: 7px; }
  .header-contact { min-width: 53px; width: 53px; padding: 0; font-size: 0; }
  .header-contact span { font-size: 18px; }
  .menu-button { width: 45px; }
  .hero { min-height: 720px; background: #edf5fb; }
  .hero-media { inset: 0; width: 100%; opacity: 1; }
  .hero-media::before {
    background:
      linear-gradient(to bottom, rgba(247,251,254,.82) 0%, rgba(247,251,254,.65) 35%, rgba(247,251,254,.28) 64%, rgba(2,31,68,.35) 100%),
      linear-gradient(90deg, rgba(247,251,254,.95), rgba(247,251,254,.3) 80%);
  }
  .hero-media img { object-position: 53% 50%; }
  .hero-inner, .section-inner, .footer-inner, .footer-bottom { width: calc(100% - 32px); }
  .hero-inner { min-height: 720px; align-items: flex-start; }
  .hero-copy { padding: 86px 0 100px; }
  .hero h1 { font-size: clamp(43px, 12vw, 58px); line-height: 1.4; }
  .hero-lead { font-size: 14px; line-height: 1.9; text-shadow: 0 1px 10px #fff; }
  .pc-only { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 310px; }
  .hero-facts { gap: 0; margin-top: 35px; }
  .hero-facts div { min-width: 0; flex: 1; padding: 0 10px; }
  .hero-facts dd { font-size: 11px; }
  .hero-vertical { right: 6px; top: 128px; font-size: 33px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 29px; padding-left: 17px; }
  .section-heading > span { margin-left: 18px; font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-body { padding: 22px 20px; }
  .strengths { padding: 70px 0; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.27); }
  .strength-item:first-child { border-top: 0; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li, .workflow-list li:nth-child(-n+2) { border-left: 0; border-top: 1px solid #dce5ef; }
  .workflow-list li:first-child { border-top: 0; }
  .workflow-list li:last-child { grid-column: auto; }
  .capability-band { grid-template-columns: 1fr; }
  .capability-band div { border-left: 0 !important; border-top: 1px solid #d1dde8; }
  .capability-band div:first-child { border-top: 0; }
  .company-layout { gap: 48px; }
  .company-visual img { min-height: 260px; }
  .company-stamp { right: -5px; bottom: -30px; width: 112px; height: 112px; }
  .company-stamp strong { font-size: 31px; }
  .company-table div { grid-template-columns: 82px 1fr; }
  .map-link { display: flex; width: fit-content; margin: 5px 0 0; }
  .info-area { padding-bottom: 70px; }
  .news-card, .recruit-card { padding: 25px 20px; }
  .news-list article { grid-template-columns: 1fr; gap: 4px; }
  .contact-layout { padding-top: 70px; padding-bottom: 70px; }
  .contact-form { padding: 23px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 21px; }
  .footer-inner nav { grid-column: auto; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ===== Contact confirmation / WordPress integration additions ===== */
.news-list p a { transition: color .2s ease; }
.news-list p a:hover, .news-list p a:focus-visible { color: var(--blue); }
.news-empty { opacity: .75; }
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-error-summary {
  margin: 0 0 22px;
  padding: 15px 17px;
  border: 1px solid #d9a5a5;
  color: #8a2929;
  background: #fff5f5;
  font-size: 12px;
}
.form-error-summary strong { display: block; margin-bottom: 5px; }
.form-error-summary ul { margin: 0; padding-left: 20px; }
.field-error { display: block; margin-top: 5px; color: #a12f2f !important; font-size: 10px !important; }
.form-note { display: block; margin-top: 11px; color: #7c8998 !important; font-size: 10px !important; line-height: 1.7; }

.subpage-main {
  min-height: calc(100vh - var(--header-h));
  margin-top: var(--header-h);
  padding: clamp(65px, 8vw, 105px) 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(84, 159, 216, .14), transparent 31%),
    linear-gradient(180deg, #f7fafc, #eef4f8);
}
.subpage-container { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.subpage-heading { margin-bottom: 27px; text-align: center; }
.subpage-heading > p { margin: 0 0 8px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.subpage-heading h1 { margin: 0; color: var(--navy); font-family: var(--font-serif); font-size: clamp(28px, 4vw, 43px); letter-spacing: .07em; }
.subpage-heading span { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.confirm-card, .thanks-card {
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid #dce5ee;
  box-shadow: var(--shadow);
}
.confirm-table { margin: 0; border-top: 1px solid #d9e3ed; }
.confirm-table div { display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px solid #d9e3ed; }
.confirm-table dt, .confirm-table dd { margin: 0; padding: 17px 16px; }
.confirm-table dt { color: var(--navy); background: #f3f7fa; font-size: 12px; font-weight: 800; }
.confirm-table dd { color: #455164; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.confirm-actions { display: flex; justify-content: center; gap: 13px; margin-top: 30px; }
.button-secondary { color: var(--navy); background: #fff; border-color: #b9c8d7; }
.error-card { border-top: 5px solid #a63f3f; }
.thanks-card { text-align: center; }
.thanks-mark { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: #fff; background: var(--navy); font-size: 34px; }
.thanks-card h2 { margin: 0; color: var(--navy); font-family: var(--font-serif); font-size: 28px; }
.thanks-card p { margin: 18px auto 0; max-width: 620px; color: var(--muted); font-size: 13px; line-height: 2; }
.thanks-card .button { margin-top: 28px; }

@media (max-width: 680px) {
  .confirm-table div { grid-template-columns: 1fr; }
  .confirm-table dt { padding-bottom: 7px; }
  .confirm-table dd { padding-top: 8px; }
  .confirm-actions { flex-direction: column-reverse; }
  .confirm-actions .button { width: 100%; }
}
