:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --line: #e2e8f0;
  --text: #1f2d3d;
  --sub: #5f6f81;
  --heading: #183b56;
  --accent: #2f80ed;
  --accent-soft: rgba(47,128,237,0.08);
  --max: 1120px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 14px 40px rgba(24,59,86,0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  letter-spacing: 0.02em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--heading);
  letter-spacing: 0.01em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  font-size: 14px;
  color: var(--sub);
}
.nav a.active,
.nav a:hover { color: var(--accent); }
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(47,128,237,0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.18;
  color: var(--heading);
}
.hero-subcopy {
  margin: 0 0 20px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
  font-weight: 500;
}
.lead,
.section-intro,
.page-intro {
  color: var(--sub);
  max-width: 70ch;
}
.hero-visual,
.visual-placeholder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.hero-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--accent-soft);
}
.hero-visual::before {
  width: 220px;
  height: 220px;
  top: -46px;
  right: -40px;
}
.hero-visual::after {
  width: 180px;
  height: 180px;
  bottom: -30px;
  left: -30px;
}
.visual-placeholder {
  width: min(100%, 360px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 2px dashed #c5d6ea;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--sub);
  background: linear-gradient(180deg, #f9fbfe 0%, #edf4fb 100%);
  position: relative;
  z-index: 1;
  font-weight: 700;
}
main section, main article.page-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.alt { background: var(--bg-soft); }
.section-head {
  margin-bottom: 34px;
}
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  color: var(--heading);
}
h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--heading);
}
p { margin: 0 0 16px; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(24,59,86,0.04);
}
.card.full { grid-column: 1 / -1; }
.number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}
.stack { display: grid; gap: 20px; }
.results-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}
.results-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.results-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.results-content {
  display: flex;
  align-items: center;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 22px;
}
.metric {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}
.metric strong {
  display: block;
  font-size: clamp(20px, 2.3vw, 30px);
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 8px;
}
.metric span { color: var(--sub); font-size: 14px; }
.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}
.flow .step {
  position: relative;
  padding: 22px 18px;
  min-height: 150px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.flow .step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  background: var(--bg-soft);
  padding: 0 4px;
}
.flow .step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--heading);
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  margin-top: 28px;
}
.reason {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.reason-badge {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}
.page-hero {
  padding: 78px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}
.note-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.list-clean {
  margin: 0;
  padding-left: 1.2em;
}
.list-clean li { margin-bottom: 10px; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 220px;
  background: #f8fbff;
  color: var(--heading);
}
.form-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form-grid {
  display: grid;
  gap: 18px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--heading);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.form-group textarea { min-height: 160px; resize: vertical; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
}
.footer {
  padding: 26px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 14px;
}
@media (max-width: 1024px) {
  .hero-grid,
  .grid-2,
  .reason-grid,
  .card-grid,
  .metrics,
  .results-showcase { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow .step:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%);
    background: var(--bg-soft);
  }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hero, .page-hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  main section, main article.page-section { padding: 68px 0; }
  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; padding-bottom: 6px; }
}

/* =========================================================
   追加スタイル：ロゴ画像 + 各ページ画像差し込み対応
   追記位置：styles.css の末尾
   備考：
   - 既存の .logo / .results-showcase などを上書きします
   - 信頼感重視のため、画像は控えめ・余白多め・影は弱め
========================================================= */

/* ------------------------------
   1. ヘッダーロゴ（画像 + Mzak）
------------------------------ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
}

.logo img {
  width: auto;
  height: 42px;
  object-fit: contain;
  display: block;
}

.logo span {
  line-height: 1;
}


/* ------------------------------
   2. セクション横の共通画像カード
------------------------------ */
.section-image-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(24, 59, 86, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.section-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.section-image-card--small {
  max-width: 420px;
  margin-left: auto;
}

/* ------------------------------
   3. ヒーロー画像（トップ / 支援内容）
------------------------------ */
.hero-main-image {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(24, 59, 86, 0.08);
  position: relative;
  z-index: 1;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

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

/* ------------------------------
   4. トップページ固有
------------------------------ */
.overview-grid {
  align-items: center;
}

.reason-section-grid {
  align-items: center;
}

/* ------------------------------
   5. 支援内容ページ：カード内画像
------------------------------ */
.card-image {
  margin-bottom: 18px;
}

.card-image img {
  display: block;
  width: 100%;
  height: auto;
}

.circle-thumb {
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
}

.circle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(24, 59, 86, 0.06);
}

.risk-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-detail-grid {
  align-items: start;
}

.support-side-image {
  min-height: 100%;
}

.expansion-grid {
  align-items: center;
  margin-bottom: 28px;
}

/* ------------------------------
   6. 実績セクション（既存定義を上書き）
------------------------------ */
.results-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.results-image {
  padding: 14px;
}

.results-image img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.results-content {
  display: block;
}

/* ------------------------------
   7. 会社情報ページ固有
------------------------------ */
.company-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.company-hero-image {
  max-width: 460px;
  margin-left: auto;
}

.company-sub-image {
  margin-top: 28px;
  max-width: 360px;
}

/* ------------------------------
   8. お問い合わせページ：背景に薄く images を使う
------------------------------ */
.contact-hero {
  position: relative;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -40px;
  width: 260px;
  height: 260px;
  background-image: url("assets/idea.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: blur(1px);
  border-radius: 50%;
  pointer-events: none;
}

/* ------------------------------
   9. 画像まわりの軽いモーション
------------------------------ */
.section-image-card,
.hero-main-image,
.circle-thumb img {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.section-image-card:hover,
.circle-thumb img:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(24, 59, 86, 0.10);
}

/* ------------------------------
   10. スクロール時フェードイン
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 24px rgba(24, 59, 86, 0.06);
  border-bottom-color: rgba(226,232,240,1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section-image-card,
  .hero-main-image,
  .circle-thumb img,
  .site-header {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ------------------------------
   10. レスポンシブ対応
------------------------------ */
@media (max-width: 900px) {
  .overview-grid,
  .reason-section-grid,
  .service-hero-grid,
  .support-detail-grid,
  .expansion-grid,
  .company-hero-grid {
    grid-template-columns: 1fr;
  }

  .section-image-card,
  .section-image-card--small,
  .company-hero-image,
  .company-sub-image {
    max-width: 100%;
    margin-left: 0;
  }

  .hero-main-image {
    width: min(100%, 280px);
  }

  .logo img {
    height: 34px;
  }

  .logo {
    gap: 10px;
    font-size: 18px;
  }

  .circle-thumb {
    width: 96px;
    height: 96px;
  }
}


/* ================================
   Accessibility + mobile nav fixes
================================ */
.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  z-index: 999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

.nav a {
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 0.2s ease;
}
.nav a.active::after,
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24,59,86,0.05);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(47,128,237,0.22);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(47,128,237,0.28);
  outline-offset: 2px;
}

.form-help,
.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--sub);
}
.form-status.is-success { color: #17643c; }
.form-status.is-error { color: #a12622; }

@media (max-width: 768px) {
  .header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0 12px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav a.active,
  .nav a:hover,
  .nav a:focus-visible {
    background: var(--accent-soft);
  }

  .nav a::after {
    display: none;
  }

  .contact-hero::after {
    width: 180px;
    height: 180px;
    right: -24px;
  }
}


/* === 2026 lightweight growth redesign === */
:root {
  --bg-grad-start: #ffffff;
  --bg-grad-end: #eef6ff;
  --brand-blue-deep: #1d49a7;
  --brand-blue-mid: #2f80ed;
  --brand-blue-light: #9fd0ff;
  --brand-line: rgba(47, 128, 237, 0.10);
  --brand-line-strong: rgba(47, 128, 237, 0.18);
  --hero-glow: rgba(47, 128, 237, 0.18);
  --surface-soft: rgba(255, 255, 255, 0.82);
  --surface-line: rgba(226, 232, 240, 0.82);
  --shadow-soft: 0 18px 44px rgba(24, 59, 86, 0.07);
  --section-space-xl: 122px;
  --section-space-lg: 96px;
  --section-space-md: 76px;
  --hero-max: 1240px;
  --button-height: 54px;
}

body {
  background:
    radial-gradient(circle at top right, rgba(159, 208, 255, 0.10), transparent 22%),
    linear-gradient(180deg, var(--bg-grad-start) 0%, #fbfdff 100%);
}

.container {
  width: min(calc(100% - 40px), var(--max));
}

.hero .container,
.page-hero .container {
  width: min(calc(100% - 40px), var(--hero-max));
}

.site-header {
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.68);
}

.logo {
  font-weight: 800;
  color: var(--brand-blue-deep);
}

.nav {
  gap: 24px;
}

.nav a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--heading);
}

.nav a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue-mid));
  color: #fff;
  box-shadow: 0 10px 20px rgba(29, 73, 167, 0.18);
}

.nav a:last-child::after {
  display: none;
}

.nav a.active:not(:last-child)::after,
.nav a:hover:not(:last-child)::after,
.nav a:focus-visible:not(:last-child)::after {
  transform: scaleX(1);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-space-xl) 0 var(--section-space-lg);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 12% -10% -12% 44%;
  background:
    linear-gradient(135deg, rgba(47,128,237,0.13), rgba(255,255,255,0) 28%),
    linear-gradient(30deg, rgba(47,128,237,0.08), rgba(255,255,255,0) 52%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: min(46vw, 640px);
  height: min(46vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,208,255,0.20) 0%, rgba(159,208,255,0.00) 70%);
  pointer-events: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.home-hero {
  min-height: min(88vh, 820px);
}

.home-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.home-hero .eyebrow,
.page-hero .section-kicker {
  background: rgba(255,255,255,0.74);
  border-color: rgba(47,128,237,0.12);
  color: var(--brand-blue-mid);
  letter-spacing: 0.14em;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #173c67;
}

.page-hero h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.12;
}

.hero-subcopy {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.58;
  font-weight: 500;
  color: #203246;
}

.lead,
.section-intro,
.page-intro {
  color: #637383;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--button-height);
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue-mid));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(29, 73, 167, 0.20);
}

.brand-hero-visual,
.home-hero .hero-visual {
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 560px;
  padding: 0;
  overflow: visible;
  justify-self: end;
}

.home-hero .hero-visual::before,
.home-hero .hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 0;
  background: none;
}

.home-hero .hero-visual::before {
  width: min(52vw, 720px);
  height: min(38vw, 520px);
  right: -5%;
  bottom: -10%;
  background:
    linear-gradient(135deg, rgba(47,128,237,0.10), rgba(255,255,255,0) 54%),
    linear-gradient(35deg, rgba(47,128,237,0.14), rgba(255,255,255,0) 62%);
  clip-path: polygon(22% 0%, 100% 0%, 74% 100%, 0% 100%);
}

.home-hero .hero-visual::after {
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  right: 2%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,208,255,0.16) 0%, rgba(159,208,255,0) 72%);
}

.hero-brand-image,
.home-hero .hero-main-image {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  max-width: 620px;
  aspect-ratio: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.32;
  filter: saturate(1.05) contrast(1.05);
}

.page-hero .page-hero-side,
.page-hero .section-image-card.page-hero-side {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.92));
  border: 1px solid rgba(226,232,240,0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.service-hero::before {
  inset: 10% -8% -12% 50%;
  background:
    linear-gradient(132deg, rgba(47,128,237,0.12), rgba(255,255,255,0) 32%),
    linear-gradient(20deg, rgba(47,128,237,0.08), rgba(255,255,255,0) 56%);
}

.recruit-hero::before {
  inset: 16% -12% -6% 58%;
  background:
    linear-gradient(145deg, rgba(47,128,237,0.08), rgba(255,255,255,0) 34%),
    linear-gradient(30deg, rgba(47,128,237,0.04), rgba(255,255,255,0) 62%);
}

.company-hero::before {
  inset: 18% -14% -10% 60%;
  background:
    linear-gradient(140deg, rgba(47,128,237,0.06), rgba(255,255,255,0) 38%);
}

.contact-hero::before {
  inset: 16% -10% -8% 54%;
  background:
    linear-gradient(135deg, rgba(47,128,237,0.08), rgba(255,255,255,0) 34%),
    linear-gradient(30deg, rgba(47,128,237,0.05), rgba(255,255,255,0) 60%);
}

main section,
main article.page-section {
  padding: var(--section-space-lg) 0;
}

.alt {
  background:
    linear-gradient(180deg, #f7fbff 0%, #f4f9ff 100%);
}

.section-head {
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.24;
  color: #173c67;
}

h3 {
  color: #1b436f;
}

.card,
.note-box,
.form-box,
.info-table {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(226,232,240,0.82);
  box-shadow: 0 14px 28px rgba(24,59,86,0.04);
}

.card {
  border-radius: 22px;
}

.reason,
.flow .step,
.metric {
  box-shadow: 0 12px 24px rgba(24,59,86,0.04);
}

.section-image-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.94));
  border-color: rgba(226,232,240,0.68);
  box-shadow: var(--shadow-soft);
}

.form-group input,
.form-group textarea,
.form-group select {
  border-color: #d7e2ef;
  background: rgba(255,255,255,0.98);
}

.results-showcase {
  margin-top: 30px;
}

.footer {
  background: linear-gradient(180deg, rgba(255,255,255,0.00), rgba(244,249,255,0.66));
}

@media (max-width: 1024px) {
  .hero,
  .page-hero {
    padding: 98px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .brand-hero-visual,
  .home-hero .hero-visual {
    min-height: 360px;
    width: 100%;
    justify-self: center;
  }

  .hero-brand-image,
  .home-hero .hero-main-image {
    width: min(100%, 460px);
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .container,
  .hero .container,
  .page-hero .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav a:last-child {
    min-height: 42px;
  }

  .hero,
  .page-hero {
    padding: 86px 0 62px;
  }

  .hero::before,
  .page-hero::before {
    inset: 30% -20% -18% 48%;
  }

  .hero::after,
  .page-hero::after {
    width: 68vw;
    height: 68vw;
    right: -16%;
    bottom: -14%;
  }

  .home-hero .hero-visual::before {
    width: 86vw;
    height: 60vw;
    right: -12%;
  }

  .hero-brand-image,
  .home-hero .hero-main-image {
    width: min(100%, 340px);
    opacity: 0.24;
  }

  h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .page-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
  }

  main section,
  main article.page-section {
    padding: var(--section-space-md) 0;
  }
}
