:root {
  --ink: #172033;
  --muted: #647084;
  --line: #d9e1ea;
  --soft: #f4f8fb;
  --brand: #007ac7;
  --brand-dark: #07588f;
  --accent: #10a87b;
  --paper: #ffffff;
  --container: 1140px;
  --gutter: clamp(18px, 4vw, 32px);
  --block-gap: clamp(24px, 3vw, 32px);
  --shadow: 0 12px 34px rgba(23, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.75;
  padding-top: 82px;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: #10233a;
  box-shadow: 0 8px 28px rgba(16, 35, 58, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(100% - (var(--gutter) * 2), var(--container));
  min-height: 82px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 44px;
  width: auto;
}

.menu-toggle {
  display: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
}

.site-nav a,
.language-switch a {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  opacity: 0.9;
}

.site-nav a:hover,
.language-switch a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 18px;
}

.nav-parent::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.5em;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 10px 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 35, 58, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-dropdown a {
  color: var(--ink);
  padding: 8px 16px;
  white-space: nowrap;
  opacity: 1;
}

.nav-dropdown a:hover {
  color: var(--brand-dark);
  background: #f4f8fb;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-switch {
  display: flex;
  gap: 10px;
}

.hero,
.page-hero,
.section,
.cta {
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 850px);
  align-items: center;
  min-height: clamp(560px, calc(100vh - 82px), 760px);
  padding-block: clamp(76px, 10vw, 144px);
  overflow: hidden;
  background-color: #10233a;
  background-image:
    linear-gradient(90deg, rgba(16, 35, 58, 0.92) 0%, rgba(16, 35, 58, 0.78) 48%, rgba(16, 35, 58, 0.2) 100%),
    var(--hero-bg, linear-gradient(110deg, #10233a 0%, #0b5f86 62%, #0a8f89 100%));
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0 0 C360 64 1080 64 1440 0 L1440 120 L0 120 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero h1 {
  color: #fff;
}

.hero .eyebrow {
  color: #8ee6cf;
}

.hero .button.primary {
  border-color: #0b8ed8;
  background: #0b8ed8;
}

.hero .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.page-hero {
  padding-block: clamp(52px, 7vw, 82px);
  color: #fff;
  background: linear-gradient(125deg, #10233a 0%, #0b5f86 62%, #0a8f89 100%);
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding-block: clamp(46px, 6vw, 76px);
}

.section > *,
.page-hero > *,
.site-footer > * {
  width: min(100%, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.band {
  background: var(--soft);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2,
.cta h2,
.content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  line-height: 1.32;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.service-card .eyebrow,
.work-card .eyebrow {
  font-size: 0.88rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
}

.problem-grid,
.card-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.visual-grid,
.about-visual-grid,
.technical-area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
}

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

.technical-area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.support-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.section-image,
.wide-image,
.wide-icon-image,
.detail-image,
.cta-image,
.asset-preview {
  margin: 0;
}

.section-image img,
.wide-image img,
.detail-image img,
.asset-preview img {
  width: 100%;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.section-image img,
.wide-image img {
  aspect-ratio: 16 / 9;
}

.wide-image img {
  aspect-ratio: 16 / 6.3;
}

.section-image.compact img {
  margin-bottom: 22px;
  max-height: 260px;
}

.wide-image {
  margin-bottom: 24px;
}

.wide-icon-image {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.wide-icon-image img {
  width: min(100%, 560px);
  max-height: 160px;
  object-fit: contain;
}

.table-icon-image {
  padding-top: 18px;
  margin-bottom: 0;
}

.table-icon-image img {
  max-height: 72px;
}

.problem-card,
.service-card,
.feature-grid article,
.detail-block,
.note-box,
.legal-card,
.member-card,
.work-card {
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23, 32, 51, 0.07);
}

.problem-card {
  padding: 18px 20px;
  font-weight: 700;
}

.service-card,
.feature-grid article,
.detail-block,
.note-box,
.legal-card {
  padding: 24px;
}

.note-box > :first-child,
.legal-card > :first-child,
.feature-grid article > :first-child,
.service-card > :first-child,
.detail-block > :first-child {
  margin-top: 0;
}

.note-box > :last-child,
.legal-card > :last-child,
.feature-grid article > :last-child,
.service-card > :last-child,
.detail-block > :last-child {
  margin-bottom: 0;
}

.legal-card .wide-image {
  margin-bottom: clamp(24px, 3vw, 34px);
}

.legal-content {
  max-width: 900px;
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content > :last-child {
  margin-bottom: 0;
}

.service-card h3,
.feature-grid h3,
.detail-block h2,
.detail-block h3 {
  margin-top: 0;
}

.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-weight: 700;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  object-fit: contain;
}

.card-illustration {
  width: 100%;
  max-height: 150px;
  margin-bottom: 16px;
  object-fit: contain;
}

.detail-image {
  margin: 18px 0 22px;
}

.detail-image img {
  max-height: 280px;
  object-fit: contain;
}

.muted {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.price-list {
  display: grid;
  gap: 10px;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-list strong {
  white-space: nowrap;
  color: var(--brand-dark);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-grid.large {
  grid-template-columns: 1fr;
}

.work-card {
  overflow: hidden;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}

.work-card > div {
  padding: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #0b4d6d;
  background: #e8f5f8;
  font-size: 0.84rem;
  font-weight: 700;
}

.tags.subdued span,
.category-tags span {
  color: #49566a;
  background: #edf0f4;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  counter-reset: flow;
  list-style: none;
}

.flow-list li {
  position: relative;
  padding: 18px 18px 18px 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.flow-list li::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 0.82rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding-block: 52px;
  color: #fff;
  background: #10233a;
}

.cta > div {
  flex: 1 1 auto;
  min-width: 0;
}

.cta .button {
  flex: 0 0 auto;
  min-width: 144px;
  white-space: nowrap;
}

.cta-image {
  flex: 0 1 220px;
}

.cta-image img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.cta p {
  color: rgba(255, 255, 255, 0.86);
}

.content {
  max-width: 920px;
}

.section.content {
  width: min(calc(100% - (var(--gutter) * 2)), 920px);
  margin-inline: auto;
  padding-inline: 0;
}

.content p,
.content li {
  color: var(--muted);
}

.detail-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.price-chip {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0b4d6d;
  background: #e8f5f8;
  font-weight: 700;
}

.service-detail-list,
.member-list,
.image-asset-list {
  display: grid;
  gap: 24px;
}

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

.service-detail-card > ul {
  columns: 2;
  column-gap: clamp(28px, 5vw, 56px);
  max-width: 980px;
}

.service-detail-card > ul li {
  break-inside: avoid;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.section > .visual-grid + .table-wrap,
.section > .table-wrap + .note-box,
.section > .table-wrap + .feature-grid,
.section > .note-box + .table-wrap,
.section > .note-box + .feature-grid,
.section > .note-box + .card-grid,
.section > .note-box + .work-grid {
  margin-top: var(--block-gap);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th {
  width: 30%;
  background: #f8fbfd;
}

.right {
  text-align: right;
  font-weight: 700;
  color: var(--brand-dark);
}

dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 14px;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--muted);
}

.member-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px;
}

.member-card img {
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--soft);
  object-fit: cover;
}

.technical-area-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.technical-area-card .area-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.asset-preview img {
  max-height: 180px;
  object-fit: contain;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-form-shell .contact-spa-form,
.contact-spa-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.contact-spa-form .col-12,
.contact-spa-form .col-lg-6 {
  min-width: 0;
}

.contact-spa-form .col-12,
.contact-spa-form h3,
.contact-spa-form .alert,
.contact-spa-form .d-flex {
  grid-column: 1 / -1;
}

.contact-spa-form h3 {
  margin: 0 0 4px;
}

.contact-spa-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form-control {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form-control:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(0, 122, 199, 0.14);
}

.text-danger {
  color: #b42318;
}

.contact-field-error {
  min-height: 1.5rem;
  font-size: 0.875rem;
}

.alert {
  padding: 12px 14px;
  border-radius: 6px;
}

.alert-success {
  color: #07513e;
  background: #e8f7f2;
}

.alert-danger {
  color: #8a1f16;
  background: #fff0ed;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
}

.btn-outline-primary {
  color: var(--brand-dark);
  background: #fff;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.d-flex {
  display: flex;
  align-items: center;
}

.gap-3 {
  gap: 12px;
}

.contact-submit-button {
  gap: 0.5rem;
}

.contact-button-spinner {
  animation: contact-spin 0.8s linear infinite;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  display: inline-block;
  height: 1rem;
  width: 1rem;
}

.contact-turnstile-host {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
}

.site-footer {
  padding: clamp(44px, 6vw, 72px) max(var(--gutter), calc((100vw - var(--container)) / 2)) 34px;
  color: #fff;
  background: #222;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(220px, 0.85fr) minmax(180px, 0.7fr);
  gap: clamp(34px, 8vw, 108px);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 24px;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
}

.footer-logo img {
  width: min(100%, 340px);
  height: auto;
}

.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  max-width: 430px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.footer-link-list {
  display: grid;
  gap: 16px;
}

.footer-link-list a {
  position: relative;
  display: block;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.35;
}

.footer-link-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.footer-link-list a:hover {
  color: #fff;
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 10px 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.social-links a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
}

.social-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #0d1827;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.social-mark i {
  display: block;
  font-size: 0.85rem;
  line-height: 1;
}

.site-footer a {
  color: #fff;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-mobile-license {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  body {
    padding-top: 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 18px;
    padding-block: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 6px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
  }

  .menu-toggle-bars {
    display: grid;
    gap: 5px;
    width: 22px;
  }

  .menu-toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

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

  .site-header.is-menu-open .menu-toggle-bars span:nth-child(2) {
    opacity: 0;
  }

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

  .nav-panel {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-header.is-menu-open .nav-panel {
    display: grid;
    gap: 14px;
  }

  .site-nav {
    display: grid;
    width: 100%;
    gap: 6px;
  }

  .site-nav > a,
  .nav-parent {
    display: block;
    padding: 8px 0;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    min-width: 100%;
    margin: 0 0 6px 14px;
    padding: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-dropdown::before {
    content: none;
  }

  .nav-dropdown a {
    color: rgba(255, 255, 255, 0.86);
    padding: 5px 0 5px 14px;
  }

  .nav-dropdown a:hover {
    color: #fff;
    background: transparent;
  }

  .nav-group {
    display: grid;
    min-height: 0;
    padding-block: 0;
  }

  .language-switch {
    padding-top: 2px;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

  .footer-brand-block,
  .footer-copy {
    grid-column: 1 / -1;
  }

  .problem-grid,
  .card-grid,
  .feature-grid,
  .work-grid,
  .service-detail-list,
  .flow-list,
  .visual-grid,
  .about-visual-grid,
  .technical-area-grid,
  .support-image-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
    background-position: center right;
  }
}

@media (max-width: 640px) {
  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 520px;
    padding-block: 58px 78px;
    background-image:
      linear-gradient(90deg, rgba(16, 35, 58, 0.94) 0%, rgba(16, 35, 58, 0.84) 62%, rgba(16, 35, 58, 0.44) 100%),
      var(--hero-bg, linear-gradient(110deg, #10233a 0%, #0b5f86 62%, #0a8f89 100%));
  }

  .hero::after {
    height: 72px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 390 72' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23ffffff' d='M0 0 C98 38 292 38 390 0 L390 72 L0 72 Z'/%3E%3C/svg%3E");
  }

  .cta,
  .member-card,
  .detail-heading,
  .technical-area-card {
    display: block;
  }

  .cta {
    margin-inline: 18px;
  }

  .cta .button {
    display: flex;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

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

  .footer-services-links,
  .footer-quick-links {
    display: none;
  }

  .footer-mobile-license {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
  }

  .footer-mobile-license::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }

  .footer-logo img {
    width: min(100%, 260px);
  }

  .member-card img {
    width: 132px;
    margin-bottom: 18px;
  }

  .technical-area-card .area-icon {
    margin-bottom: 12px;
  }

  .price-list div {
    display: grid;
  }

  .contact-form-shell .contact-spa-form,
  .contact-spa-form {
    grid-template-columns: 1fr;
  }

  .service-detail-card > ul {
    columns: 1;
  }

  dl {
    grid-template-columns: 1fr;
  }
}
