:root {
  --ink: #07142d;
  --body: #26344d;
  --muted: #67748a;
  --blue: #005ad8;
  --blue-deep: #003f95;
  --blue-dark: #063b83;
  --line: #c8d8f2;
  --soft: #f5f8fd;
  --soft-blue: #eef5ff;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(0, 47, 122, 0.16);
  --shadow-soft: 0 12px 32px rgba(12, 39, 79, 0.08);
  --radius: 8px;
  --container: 1180px;
  --header-height: 78px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(189, 209, 239, 0.45);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  color: var(--blue);
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.logo-main {
  display: block;
  font-size: 29px;
  line-height: 0.9;
}

.logo-sub {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 34px);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.global-nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.global-nav a:hover {
  color: var(--blue);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  box-shadow: 0 12px 26px rgba(0, 90, 216, 0.28);
}

.nav-contact span,
.button span,
.text-link span,
.card-link {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.button span,
.text-link span,
.card-link {
  position: relative;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.22s ease;
}

.button:hover span,
.text-link:hover span,
.card-link:hover {
  transform: translateX(2px);
}

.nav-contact span {
  color: var(--blue);
  background: var(--white);
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.96) 46%, rgba(238, 245, 255, 0.92) 100%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 70%, rgba(0, 90, 216, 0.1) 70.2% 70.55%, transparent 70.9%),
    linear-gradient(135deg, transparent 0 58%, rgba(0, 90, 216, 0.08) 58.1% 58.42%, transparent 58.72%),
    linear-gradient(135deg, transparent 0 78%, rgba(0, 90, 216, 0.05) 78.1% 78.45%, transparent 78.75%);
  opacity: 0.72;
  pointer-events: none;
}

.hero-bg-lines {
  position: absolute;
  top: 14px;
  right: -150px;
  width: 820px;
  height: 820px;
  border: 1px solid rgba(0, 90, 216, 0.34);
  border-radius: 50%;
  pointer-events: none;
  animation: lineFloat 12s ease-in-out infinite;
}

.hero-bg-lines::before,
.hero-bg-lines::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 90, 216, 0.28);
}

.hero-bg-lines::before {
  inset: 26px;
}

.hero-bg-lines::after {
  inset: 60px;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  min-height: calc(720px - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 10px;
  padding: 76px 0 64px;
}

.hero-copy {
  padding-top: 12px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.25vw, 62px);
  line-height: 1.42;
  font-weight: 900;
  letter-spacing: 0.015em;
}

.keep-line {
  white-space: nowrap;
}

.hero-lead {
  margin: 32px 0 50px;
  color: var(--body);
  font-size: 17px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 220px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: var(--shadow);
}

.button-primary span {
  color: var(--blue);
  background: var(--white);
}

.button-outline {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--blue);
}

.button-outline span {
  color: var(--white);
  background: var(--blue);
}

.button-white {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.88);
}

.button-white span {
  color: var(--blue);
  background: var(--white);
}

.button.compact {
  min-width: 196px;
  min-height: 48px;
}

.hero-visual {
  position: relative;
  min-height: 594px;
}

.hero-circle {
  position: absolute;
  top: -34px;
  right: -92px;
  z-index: 2;
  width: min(720px, 63vw);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 10px solid var(--white);
  box-shadow: 0 34px 86px rgba(0, 38, 93, 0.2);
}

.hero-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(0, 44, 112, 0.16));
  pointer-events: none;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -6px;
  z-index: 1;
  width: 390px;
  height: 390px;
  border: 11px solid var(--blue);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.hero-card {
  position: absolute;
  right: 78px;
  bottom: -2px;
  z-index: 3;
  width: 330px;
  aspect-ratio: 1.1;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(6, 34, 80, 0.28);
  transform: rotate(3deg);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dot-grid {
  width: 108px;
  height: 108px;
  background-image: radial-gradient(circle, rgba(0, 90, 216, 0.7) 1.5px, transparent 1.8px);
  background-size: 18px 18px;
}

.dot-grid-hero {
  position: absolute;
  top: 88px;
  left: 82px;
  z-index: 4;
  opacity: 0.55;
}

.about {
  padding: 118px 0 134px;
  overflow: hidden;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(460px, 1.16fr);
  align-items: center;
  gap: clamp(60px, 8vw, 126px);
}

.section-copy h2,
.section-heading h2,
.service-copy h2,
.recruit h2,
.contact-overlay h2 {
  margin: 0;
  font-size: clamp(29px, 3.1vw, 43px);
  line-height: 1.55;
  font-weight: 900;
}

.section-copy p:not(.section-kicker),
.section-heading p,
.service-copy p,
.recruit p {
  color: var(--body);
  font-weight: 700;
}

.section-copy p:not(.section-kicker) {
  margin: 28px 0 42px;
  max-width: 540px;
}

.about-visual {
  position: relative;
  min-height: 390px;
}

.ghost-title {
  position: absolute;
  top: -92px;
  left: -150px;
  z-index: 0;
  margin: 0;
  color: rgba(0, 70, 164, 0.06);
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: clamp(72px, 11vw, 128px);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
  white-space: nowrap;
}

.about-main-img {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: min(520px, 85%);
  height: 284px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.about-sub-img {
  position: absolute;
  left: 24px;
  bottom: 0;
  z-index: 2;
  width: 230px;
  height: 204px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 24, 62, 0.18);
}

.dot-grid-about {
  position: absolute;
  left: -22px;
  top: 102px;
  z-index: 0;
}

.strength {
  padding: 100px 0 104px;
  background:
    linear-gradient(180deg, rgba(245, 248, 253, 0.85), rgba(255, 255, 255, 1)),
    var(--soft);
}

.section-heading {
  max-width: 830px;
  margin: 0 auto 54px;
}

.center {
  text-align: center;
}

.section-heading p {
  margin: 22px auto 0;
  max-width: 740px;
  font-size: 14px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.strength-card {
  min-height: 232px;
  padding: 34px 24px 30px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(21, 58, 112, 0.04);
}

.icon-box {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  color: var(--blue);
}

.icon-box svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-card h3,
.service-card h3,
.news-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 900;
}

.strength-card p,
.service-card p {
  margin: 14px 0 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.action-row {
  margin-top: 34px;
}

.service {
  padding: 92px 0;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(4, 54, 121, 0.98), rgba(3, 40, 91, 0.98)),
    var(--blue-dark);
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 12px);
  opacity: 0.23;
  pointer-events: none;
}

.service-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(620px, 1.28fr);
  align-items: center;
  gap: clamp(44px, 6vw, 80px);
}

.section-kicker.invert {
  color: #8fbeff;
}

.service-copy h2 {
  margin-bottom: 42px;
  max-width: 440px;
  font-size: clamp(30px, 2.75vw, 38px);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(0, 18, 48, 0.2);
}

.service-card img {
  width: 100%;
  height: 164px;
  object-fit: cover;
}

.service-card div {
  padding: 26px 26px 46px;
}

.card-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.news {
  padding: 96px 0 92px;
  background: var(--white);
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.news h2 {
  margin: 0;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.text-link span {
  color: var(--white);
  background: var(--blue);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 110px 92px minmax(180px, 240px) 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px 10px;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 12px;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}

.news-item p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.recruit {
  min-height: 300px;
  padding: 78px 0;
  overflow: hidden;
  background: var(--soft-blue);
}

.recruit-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.recruit-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 35%, rgba(255,255,255,0.18) 66%, rgba(0, 59, 137, 0.78) 100%);
}

.recruit-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80px;
  z-index: 2;
  width: 260px;
  height: 100%;
  background: rgba(0, 81, 193, 0.64);
  transform: skewX(-22deg);
}

.recruit-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.recruit-inner {
  position: relative;
  z-index: 3;
}

.recruit h2 {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
}

.recruit p:not(.section-kicker) {
  margin: 22px 0 28px;
  color: var(--ink);
  font-size: 16px;
}

.contact-band {
  padding: 56px 0 64px;
  background: var(--white);
}

.contact-card {
  position: relative;
  min-height: 278px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.contact-card img {
  width: 100%;
  height: 100%;
  min-height: 278px;
  object-fit: cover;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 29, 70, 0.9) 0%, rgba(1, 38, 88, 0.72) 38%, rgba(0, 55, 130, 0.18) 75%);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(34px, 5vw, 70px);
  color: var(--white);
}

.contact-overlay h2 {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(27px, 3.3vw, 43px);
}

.site-footer {
  padding: 20px 0 38px;
  background: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(640px, 1.42fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  margin: 0;
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.certifications span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 34px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  gap: 22px;
}

.footer-nav h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.footer-nav a {
  display: block;
  margin-top: 8px;
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom div {
  display: inline-flex;
  gap: 16px;
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0, 90, 216, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.hero h1 {
  animation: heroTextIn 0.78s cubic-bezier(0.2, 0.72, 0.18, 1) 0.08s backwards;
}

.hero-lead {
  animation: heroTextIn 0.78s cubic-bezier(0.2, 0.72, 0.18, 1) 0.22s backwards;
}

.hero .button {
  animation: heroTextIn 0.78s cubic-bezier(0.2, 0.72, 0.18, 1) 0.34s backwards;
}

.hero-circle {
  animation: heroVisualIn 0.95s cubic-bezier(0.2, 0.72, 0.18, 1) 0.12s both;
}

.hero-visual::before {
  animation: ringIn 0.9s cubic-bezier(0.2, 0.72, 0.18, 1) 0.42s both;
}

.hero-card {
  animation:
    heroCardIn 0.86s cubic-bezier(0.2, 0.72, 0.18, 1) 0.3s both,
    cardFloat 6.8s ease-in-out 1.3s infinite;
}

.dot-grid-hero {
  animation:
    dotIn 0.68s ease 0.48s both,
    dotDrift 7s ease-in-out 1.2s infinite;
}

.js-enabled .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.74s cubic-bezier(0.2, 0.72, 0.18, 1),
    transform 0.74s cubic-bezier(0.2, 0.72, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translate(24px, 20px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(3deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes ringIn {
  from {
    opacity: 0;
    transform: rotate(-42deg) scale(0.84);
  }
  to {
    opacity: 1;
    transform: rotate(-28deg) scale(1);
  }
}

@keyframes lineFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes dotIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.55;
  }
}

@keyframes dotDrift {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 10px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .js-enabled .reveal-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .global-nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr);
  }

  .hero-circle {
    right: -100px;
    width: 610px;
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-inner {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .header-inner,
  .hero-inner {
    width: min(100% - 32px, var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(10, 30, 68, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .global-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(200, 216, 242, 0.7);
    font-size: 14px;
  }

  .nav-contact {
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 62px 0 84px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-lead {
    margin-bottom: 34px;
  }

  .hero-visual {
    min-height: 480px;
    order: 2;
  }

  .hero-circle {
    right: 50%;
    width: min(610px, 100%);
    transform: translateX(50%);
  }

  .hero-visual::before {
    left: 8%;
    bottom: 34px;
    width: 250px;
    height: 250px;
  }

  .hero-card {
    right: 7%;
    bottom: 0;
    width: min(280px, 52vw);
  }

  .dot-grid-hero {
    top: 28px;
    left: 6%;
  }

  .about {
    padding: 88px 0 100px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-visual {
    min-height: 420px;
  }

  .about-main-img {
    width: 82%;
  }

  .about-sub-img {
    left: 0;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card img {
    height: 220px;
  }

  .news-item {
    grid-template-columns: 100px 90px 1fr;
    gap: 16px;
  }

  .news-item p {
    grid-column: 3;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .logo-main {
    font-size: 24px;
  }

  .logo-sub {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero-lead br {
    display: none;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-circle {
    top: 8px;
    width: min(430px, 98vw);
    border-width: 8px;
  }

  .hero-visual::before {
    left: -18px;
    bottom: 36px;
    width: 190px;
    height: 190px;
    border-width: 8px;
  }

  .hero-card {
    width: min(230px, 62vw);
    right: 0;
    border-width: 6px;
  }

  .dot-grid-hero {
    display: none;
  }

  .section-copy h2,
  .section-heading h2,
  .service-copy h2,
  .recruit h2,
  .contact-overlay h2 {
    font-size: 27px;
  }

  .about,
  .strength,
  .service,
  .news {
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .about-visual {
    min-height: 350px;
  }

  .ghost-title {
    top: -38px;
    left: -18px;
    font-size: 56px;
  }

  .about-main-img {
    width: 100%;
    height: 230px;
  }

  .about-sub-img {
    width: 178px;
    height: 158px;
  }

  .dot-grid-about {
    right: 8px;
    left: auto;
    top: auto;
    bottom: 44px;
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 190px;
  }

  .news-head {
    display: block;
  }

  .text-link {
    margin-top: 22px;
  }

  .news-item {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 22px 0;
  }

  .news-tag {
    justify-self: end;
  }

  .news-item h3,
  .news-item p {
    grid-column: 1 / -1;
  }

  .recruit {
    padding: 72px 0;
  }

  .recruit-bg::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 54%, rgba(255,255,255,0.3) 100%);
  }

  .recruit-bg::after {
    width: 150px;
    right: -90px;
  }

  .contact-band {
    padding-top: 34px;
  }

  .contact-card,
  .contact-card img {
    min-height: 360px;
  }

  .contact-card::after {
    background: linear-gradient(90deg, rgba(1, 29, 70, 0.88), rgba(1, 42, 94, 0.7));
  }

  .contact-overlay {
    padding: 28px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom div {
    margin-top: 16px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 29px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card {
    width: 198px;
  }

  .about-visual {
    min-height: 320px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
}
