:root {
  --color-navy: #16324f;
  --color-navy-dark: #0f253a;
  --color-green: #5fae9b;
  --color-green-soft: #eaf6f3;
  --color-blue-soft: #f3f7fb;
  --color-text: #1f2933;
  --color-muted: #64748b;
  --color-border: #dbe4ea;
  --color-white: #ffffff;
  --ink: var(--color-text);
  --muted: var(--color-muted);
  --paper: var(--color-blue-soft);
  --surface: var(--color-white);
  --surface-strong: var(--color-green-soft);
  --line: var(--color-border);
  --green: var(--color-green);
  --green-dark: var(--color-navy);
  --blue: #2c5f7c;
  --accent: var(--color-green);
  --shadow: 0 16px 36px rgba(15, 37, 58, 0.08);
  --shadow-soft: 0 10px 24px rgba(15, 37, 58, 0.06);
  --radius: 16px;
  --radius-lg: 20px;
  --max-width: 1120px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body.is-nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--green-dark);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 227, 223, 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(100% - 40px, var(--max-width));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--surface);
  background: var(--green-dark);
  border-radius: var(--radius);
  font-weight: 800;
}

.brand__text {
  display: grid;
  line-height: 1.25;
  font-weight: 700;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  background: var(--surface-strong);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle__line {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero--home {
  min-height: 66vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 249, 248, 0.98) 0%, rgba(247, 249, 248, 0.9) 48%, rgba(238, 246, 242, 0.72) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 94px 0 74px;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  font-size: 3.5rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 700px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.connection-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.connection-field::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  background-image:
    linear-gradient(rgba(46, 115, 95, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 115, 95, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
}

.connection-field__line {
  position: absolute;
  right: 7%;
  height: 2px;
  width: 38%;
  background: rgba(46, 115, 95, 0.34);
  transform-origin: right center;
}

.connection-field__line--one {
  top: 26%;
  transform: rotate(-13deg);
}

.connection-field__line--two {
  top: 51%;
  transform: rotate(9deg);
  background: rgba(49, 95, 121, 0.28);
}

.connection-field__line--three {
  top: 72%;
  transform: rotate(-20deg);
  background: rgba(44, 88, 112, 0.2);
}

.connection-field__node {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--surface);
  border: 3px solid var(--green);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(31, 43, 40, 0.14);
  animation: node-pulse 4s ease-in-out infinite;
}

.connection-field__node--one {
  right: 42%;
  top: 20%;
}

.connection-field__node--two {
  right: 15%;
  top: 34%;
  border-color: var(--blue);
  animation-delay: 450ms;
}

.connection-field__node--three {
  right: 33%;
  top: 63%;
  border-color: var(--accent);
  animation-delay: 900ms;
}

.connection-field__node--four {
  right: 9%;
  top: 78%;
  animation-delay: 1350ms;
}

@keyframes node-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.page-hero {
  background: var(--surface-strong);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -18px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(46, 115, 95, 0.22);
  border-radius: 24px;
  transform: rotate(10deg);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: 92px 0 70px;
}

.page-hero p:last-child {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow,
.section-label {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.keep {
  white-space: nowrap;
}

.catch-line {
  display: block;
}

.section {
  padding: 96px 0;
  background: var(--paper);
}

.section--intro,
.section--tint {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--intro {
  padding-top: 30px;
}

.section--compact {
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section h2,
.section-heading h2,
.split h2,
.company-summary h2,
.contact-main h2,
.note-panel h2,
.cta-strip h2 {
  margin-top: 8px;
  font-size: 2.15rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.split--reverse {
  grid-template-columns: 1fr 1fr;
}

.split__body {
  color: var(--muted);
  font-size: 1.04rem;
}

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

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

.feature-card,
.business-item,
.note-panel,
.contact-side,
.cta-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(31, 43, 40, 0.05);
}

.feature-card {
  min-height: 270px;
  padding: 26px;
}

.feature-card__number,
.business-item__index {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 28px;
  font-size: 1.22rem;
  line-height: 1.45;
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.35;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button--primary {
  color: var(--surface);
  background: var(--green-dark);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--green);
}

.button--secondary {
  color: var(--green-dark);
  background: var(--surface);
  border-color: var(--line);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--green);
}

.text-link {
  display: inline-flex;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.company-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.company-summary p {
  margin-top: 18px;
  color: var(--muted);
}

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

.profile-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--muted);
  font-weight: 800;
}

.profile-list dd {
  font-weight: 700;
}

.note-panel {
  max-width: 850px;
  padding: 34px;
}

.note-panel p:last-child {
  margin-top: 16px;
  color: var(--muted);
}

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

.business-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 28px;
}

.business-item h3 {
  font-size: 1.24rem;
  line-height: 1.45;
}

.business-item p {
  margin-top: 10px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.contact-main {
  padding: 38px 0;
}

.contact-main p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
}

.mail-link {
  display: inline-flex;
  margin-top: 30px;
  padding: 18px 22px;
  color: var(--surface);
  background: var(--blue);
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease;
}

.mail-link:hover,
.mail-link:focus-visible {
  transform: translateY(-2px);
  background: var(--green-dark);
  outline: none;
}

.contact-side {
  padding: 28px;
}

.contact-side h3 {
  margin: 0;
  font-size: 1.12rem;
}

.contact-side p {
  margin-top: 12px;
  color: var(--muted);
}

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.cta-strip p {
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 48px;
  align-items: start;
  padding: 42px 0;
}

.site-footer__name {
  color: var(--surface);
  font-weight: 800;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__nav a {
  color: var(--surface);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 5px;
}

.site-footer__copy {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.hero .reveal,
.page-hero .reveal,
.section--intro .reveal,
.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .container,
  .site-header__inner {
    width: min(100% - 32px, var(--max-width));
  }

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

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero--home {
    min-height: auto;
  }

  .hero__inner {
    padding: 86px 0 80px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.5rem;
  }

  .connection-field {
    opacity: 0.45;
  }

  .connection-field::before {
    width: 68%;
  }

  .section {
    padding: 76px 0;
  }

  .split,
  .split--reverse,
  .company-layout,
  .contact-layout,
  .cta-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .brand__text small {
    display: none;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .hero__inner {
    padding: 72px 0 66px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero__lead,
  .page-hero p:last-child {
    font-size: 1rem;
  }

  .section h2,
  .section-heading h2,
  .split h2,
  .company-summary h2,
  .contact-main h2,
  .note-panel h2,
  .cta-strip h2 {
    font-size: 1.72rem;
  }

  .profile-list div,
  .business-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-list div {
    padding: 18px 0;
  }

  .business-item,
  .note-panel,
  .contact-side,
  .cta-strip {
    padding: 22px;
  }

  .mail-link {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================================================================
   Extended components
   ================================================================== */

.site-nav a.site-nav__cta {
  margin-left: 6px;
  color: var(--surface);
  background: var(--green-dark);
}

.site-nav a.site-nav__cta:hover,
.site-nav a.site-nav__cta:focus-visible {
  color: var(--surface);
  background: var(--green);
}

.section-heading__lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-actions {
  margin-top: 30px;
}

.feature-card--link {
  display: flex;
  flex-direction: column;
  background: var(--surface-strong);
}

.feature-card--link h3 {
  margin-top: 0;
}

.feature-card--link .text-link {
  margin-top: auto;
  padding-top: 18px;
}

/* Flow strip (homepage digest) */
.flow-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-strip li {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.flow-strip__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--surface);
  background: var(--green-dark);
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Service list (business.html) */
.service-list {
  display: grid;
  gap: 20px;
}

.service {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(31, 43, 40, 0.05);
}

.service__head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.service__index {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--surface);
  background: var(--green-dark);
  border-radius: var(--radius);
  font-size: 1.3rem;
  font-weight: 800;
}

.service__head h3 {
  font-size: 1.3rem;
  line-height: 1.4;
}

.service__lead {
  margin-top: 8px;
  color: var(--muted);
}

.service__detail {
  margin-top: 4px;
}

.service__detail > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service__detail > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service__detail dt {
  color: var(--green-dark);
  font-weight: 800;
}

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

/* Flow list (flow.html) */
.flow-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(31, 43, 40, 0.05);
}

.flow-step__index {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 92px;
  color: var(--surface);
  background: var(--green-dark);
  border-radius: var(--radius);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.flow-step__index span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.flow-step__body h3 {
  font-size: 1.28rem;
  line-height: 1.4;
}

.flow-step__lead {
  margin-top: 8px;
  color: var(--muted);
}

.flow-step__meta {
  margin-top: 18px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.flow-step__meta > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 18px;
  background: var(--surface);
}

.flow-step__meta dt {
  color: var(--green-dark);
  font-weight: 800;
}

.flow-step__meta dd {
  color: var(--muted);
}

/* Disclaimer (cases.html) */
.disclaimer {
  margin-bottom: 26px;
  padding: 18px 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  font-size: 0.96rem;
}

/* Case cards (cases.html) */
.case-list {
  display: grid;
  gap: 20px;
}

.case-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(31, 43, 40, 0.05);
}

.case-card__head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.case-card__tag {
  display: inline-block;
  padding: 4px 12px;
  color: var(--surface);
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.case-card__head h3 {
  margin-top: 14px;
  font-size: 1.26rem;
  line-height: 1.45;
}

.case-card__client {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-card__detail > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.case-card__detail > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.case-card__detail dt {
  color: var(--green-dark);
  font-weight: 800;
}

.case-card__detail dd {
  color: var(--muted);
}

/* News list */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-item {
  border-bottom: 1px solid var(--line);
}

.news-list--compact .news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 18px 0;
}

.news-item__date {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.news-item__tag {
  padding: 3px 10px;
  color: var(--green-dark);
  background: var(--surface-strong);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.news-item__title {
  font-weight: 700;
}

.news-list--compact .news-item__title {
  flex: 1 1 auto;
}

.news-item--full {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px 0;
}

.news-item__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news-item__body .news-item__title {
  font-size: 1.18rem;
  line-height: 1.5;
}

.news-item__body p {
  margin-top: 10px;
  color: var(--muted);
}

/* Legal / privacy policy */
.legal {
  max-width: 860px;
}

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

.legal__list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: legal;
}

.legal__list > li {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal__list > li:last-child {
  border-bottom: 1px solid var(--line);
}

.legal__list h2 {
  position: relative;
  padding-left: 40px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.legal__list h2::before {
  counter-increment: legal;
  content: counter(legal);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--surface);
  background: var(--green-dark);
  border-radius: 6px;
  font-size: 0.9rem;
}

.legal__list p {
  margin-top: 12px;
  color: var(--muted);
}

.legal__list ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.legal__list ul li {
  margin-top: 6px;
}

.legal__date {
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Greeting signature */
.greeting__sign {
  margin-top: 22px;
  color: var(--ink);
  font-weight: 800;
}

/* Contact info side panel */
.contact-info {
  margin-top: 16px;
}

.contact-info > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contact-info > div:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-info dt {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-info dd {
  margin-top: 6px;
  color: var(--muted);
}

/* Form */
.form {
  margin-top: 28px;
}

.form__row {
  margin-bottom: 22px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.form__req,
.form__opt {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.form__req {
  color: var(--surface);
  background: var(--accent);
}

.form__opt {
  color: var(--muted);
  background: var(--surface-strong);
}

.form__input {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  line-height: 1.6;
}

.form__input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__input[aria-invalid="true"] {
  border-color: #c0392b;
  background: #fdf2f0;
}

.form__error {
  margin-top: 7px;
  color: #b23420;
  font-size: 0.9rem;
  font-weight: 700;
}

.form__summary {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #fdf2f0;
  border: 1px solid #e8b9b1;
  border-left: 4px solid #c0392b;
  border-radius: var(--radius);
}

.form__summary p {
  color: #b23420;
  font-weight: 800;
}

.form__summary ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: #b23420;
}

.form__summary li {
  margin-top: 4px;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.form__check input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--green-dark);
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  margin-top: 28px;
}

.form__actions .button {
  width: 100%;
}

@media (max-width: 900px) {
  .news-item--full {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-step {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .flow-step__index {
    flex-direction: row;
    gap: 10px;
    height: auto;
    padding: 12px 16px;
    font-size: 1.5rem;
  }

  .service {
    padding: 26px;
  }

  .case-card {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .service__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service__detail > div,
  .flow-step__meta > div,
  .case-card__detail > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service,
  .case-card,
  .flow-step {
    padding: 22px;
  }

  .legal__list h2 {
    font-size: 1.08rem;
  }
}

/* ==================================================================
   Corporate design refresh
   ================================================================== */

body {
  background: var(--color-blue-soft);
}

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

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 228, 234, 0.92);
  box-shadow: 0 8px 24px rgba(15, 37, 58, 0.05);
}

.site-header__inner {
  gap: 24px;
}

.brand__mark {
  background: var(--color-navy);
  border-radius: 14px;
  box-shadow: inset 0 -8px 18px rgba(255, 255, 255, 0.08);
}

.brand__text {
  color: var(--color-navy-dark);
}

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

.site-nav a {
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--color-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--color-navy);
  background: var(--color-green-soft);
  border-color: rgba(95, 174, 155, 0.28);
}

.site-nav a.site-nav__cta {
  color: var(--color-white);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.site-nav a.site-nav__cta:hover,
.site-nav a.site-nav__cta:focus-visible {
  color: var(--color-white);
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

.hero--home {
  min-height: auto;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--color-blue-soft) 100%);
}

.connection-field {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 56px;
  align-items: center;
  padding: 92px 0 86px;
}

.hero__inner > .eyebrow,
.hero__inner > h1,
.hero__inner > .hero__lead,
.hero__inner > .hero__actions {
  grid-column: 1;
}

.hero h1,
.page-hero h1 {
  color: var(--color-navy-dark);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.hero__lead {
  max-width: 660px;
  color: var(--color-text);
  line-height: 2;
}

.hero-process {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: relative;
  align-self: center;
  padding: 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-process::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(95, 174, 155, 0.26);
  border-radius: 16px;
  pointer-events: none;
}

.hero-process__list {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-process__list::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--color-border);
}

.hero-process__list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 16px 12px 54px;
  color: var(--color-navy-dark);
  background: var(--color-blue-soft);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.hero-process__list li::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border: 5px solid var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-white);
}

.hero-process__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -13px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  transform: rotate(45deg);
}

.section {
  background: var(--color-blue-soft);
}

.section--intro,
.section--tint {
  background: var(--color-white);
}

.section--intro {
  padding: 84px 0;
}

.section--intro .split {
  max-width: 840px;
  grid-template-columns: 1fr;
  gap: 24px;
}

.section--intro .split__body {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 2.05;
}

.section--intro .split__body p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
}

.section-heading__lead,
.split__body,
.page-hero p:last-child,
.business-item p,
.service__lead,
.service__detail dd,
.flow-step__lead,
.flow-step__meta dd,
.case-card__client,
.case-card__detail dd,
.news-item__body p,
.legal__intro,
.legal__list p,
.legal__list ul,
.contact-main p,
.contact-info dd,
.cta-strip p {
  color: var(--color-muted);
}

.section h2,
.section-heading h2,
.split h2,
.company-summary h2,
.contact-main h2,
.note-panel h2,
.cta-strip h2 {
  color: var(--color-navy-dark);
}

.eyebrow,
.section-label {
  color: var(--color-green);
}

.feature-grid {
  gap: 22px;
}

.feature-card,
.business-item,
.note-panel,
.contact-side,
.cta-strip,
.service,
.flow-step,
.case-card {
  border-color: var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--color-green);
}

.feature-card__number,
.business-item__index {
  color: var(--color-green);
}

.feature-card h3,
.business-item h3,
.service__head h3,
.flow-step__body h3,
.case-card__head h3 {
  color: var(--color-navy-dark);
}

.feature-card--link {
  background: var(--color-green-soft);
}

.note-panel {
  max-width: 940px;
  padding: 36px;
  background: var(--color-blue-soft);
  border-left: 5px solid var(--color-green);
}

.button {
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(15, 37, 58, 0.08);
}

.button--primary {
  background: var(--color-navy);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-navy-dark);
}

.button--secondary {
  color: var(--color-navy);
  background: var(--color-white);
  border-color: var(--color-border);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--color-green);
}

.text-link {
  color: var(--color-navy);
}

.flow-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.flow-strip::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 27px;
  height: 2px;
  background: var(--color-border);
}

.flow-strip li {
  position: relative;
  z-index: 1;
  flex: initial;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--color-navy-dark);
}

.flow-strip__num {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  background: var(--color-navy);
  border: 5px solid var(--color-white);
  box-shadow: 0 0 0 1px var(--color-border);
}

.feature-grid--trio .feature-card {
  min-height: 220px;
}

.section--compact {
  background: var(--color-blue-soft);
}

.section--compact .cta-strip {
  color: var(--color-white);
  background: var(--color-navy);
  border-color: var(--color-navy);
  box-shadow: 0 18px 38px rgba(15, 37, 58, 0.18);
}

.section--compact .section-label,
.section--compact .cta-strip h2,
.section--compact .cta-strip p {
  color: var(--color-white);
}

.section--compact .cta-strip p {
  opacity: 0.86;
}

.section--compact .button--primary {
  color: var(--color-navy);
  background: var(--color-white);
}

.section--compact .button--primary:hover,
.section--compact .button--primary:focus-visible {
  color: var(--color-white);
  background: var(--color-green);
}

.page-hero {
  background: var(--color-blue-soft);
}

.page-hero::after {
  border-color: rgba(95, 174, 155, 0.3);
  border-radius: 20px;
}

.profile-list div,
.service__detail > div,
.flow-step__meta > div,
.case-card__detail > div,
.contact-info > div {
  border-color: var(--color-border);
}

.service__index,
.flow-step__index {
  background: var(--color-navy);
  border-radius: 16px;
}

.service__detail dt,
.flow-step__meta dt,
.case-card__detail dt,
.contact-info dt,
.legal__list h2::before {
  color: var(--color-navy);
}

.legal__list h2::before {
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 12px;
}

.case-card__tag,
.form__req {
  background: var(--color-navy);
}

.form__input {
  border-radius: 14px;
}

.form__input:focus-visible {
  outline-color: var(--color-green);
  border-color: var(--color-green);
}

.site-footer {
  background: var(--color-navy-dark);
}

.site-footer__inner {
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
  gap: 28px 56px;
}

.site-footer__name {
  margin-bottom: 6px;
}

.site-footer__nav {
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.company-card {
  max-width: 940px;
  margin-top: 28px;
  padding: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.company-card__head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.company-card__head h2 {
  margin-top: 8px;
  color: var(--color-navy-dark);
  font-size: 2.15rem;
  line-height: 1.35;
}

.company-list {
  margin-top: 6px;
}

.company-list > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.company-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-list dt {
  color: var(--color-navy);
  font-weight: 800;
}

.company-list dd {
  min-width: 0;
  color: var(--color-text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .container,
  .site-header__inner {
    width: min(100% - 32px, var(--max-width));
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 76px 0 70px;
  }

  .hero-process,
  .hero__inner > .eyebrow,
  .hero__inner > h1,
  .hero__inner > .hero__lead,
  .hero__inner > .hero__actions {
    grid-column: 1;
  }

  .hero-process {
    grid-row: auto;
  }

  .flow-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
  }

  .flow-strip::before {
    left: 27px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 2px;
    height: auto;
  }

  .flow-strip li {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-align: left;
  }

  .flow-strip__num {
    margin-bottom: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container,
  .site-header__inner {
    width: min(100% - 28px, var(--max-width));
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-process {
    padding: 22px;
  }

  .hero-process__list li {
    min-height: 52px;
    padding-right: 12px;
  }

  .feature-card,
  .business-item,
  .note-panel,
  .contact-side,
  .cta-strip,
  .service,
  .flow-step,
  .case-card {
    border-radius: 16px;
  }

  .cta-strip {
    align-items: stretch;
  }

  .company-card {
    padding: 24px;
  }

  .company-card__head h2 {
    font-size: 1.72rem;
  }

.company-list > div {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px 0;
  }
}

/* Readability refinement for CTA blocks */
.cta-strip {
  grid-template-columns: minmax(19rem, 0.78fr) minmax(28rem, 1.4fr) max-content;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px);
}

.cta-strip > div {
  min-width: 0;
}

.cta-strip h2 {
  max-width: 13em;
  line-height: 1.42;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.cta-strip p {
  max-width: 58em;
  line-height: 1.9;
}

.cta-strip .button {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .cta-strip {
    grid-template-columns: minmax(18rem, 0.85fr) minmax(24rem, 1.15fr);
  }

  .cta-strip .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .cta-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cta-strip h2 {
    max-width: 100%;
  }

  .cta-strip .button {
    grid-column: auto;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .cta-strip .button {
    width: 100%;
    white-space: normal;
  }
}

/* CTA overlap fix: keep the heading in its own row for Japanese line breaking. */
.cta-strip {
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 22px clamp(28px, 5vw, 64px);
}

.cta-strip > div {
  grid-column: 1 / -1;
}

.cta-strip h2 {
  max-width: min(100%, 18em);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cta-strip > p {
  min-width: 0;
  max-width: 66em;
}

.cta-strip .button {
  align-self: center;
  justify-self: end;
}

@media (max-width: 820px) {
  .cta-strip {
    grid-template-columns: 1fr;
  }

  .cta-strip .button {
    justify-self: start;
  }
}

/* Final CTA safety layout: vertical flow prevents heading/body overlap at every width. */
.cta-strip {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.cta-strip > div,
.cta-strip > p,
.cta-strip .button {
  width: 100%;
  max-width: 100%;
}

.cta-strip h2 {
  max-width: 100%;
  line-height: 1.42;
  word-break: normal;
  overflow-wrap: anywhere;
}

.cta-strip > p {
  line-height: 1.9;
}

.cta-strip .button {
  width: fit-content;
  min-width: 202px;
}

@media (max-width: 560px) {
  .cta-strip .button {
    width: 100%;
  }
}

/* Founder background section */
.founding-story,
.founding-teaser {
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.founding-story h2,
.founding-teaser h2 {
  margin: 8px 0 0;
  color: var(--color-navy-dark);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.35;
}

.founding-story__body {
  margin-top: clamp(20px, 3vw, 30px);
  color: var(--color-text);
  font-size: clamp(1rem, 1.15vw, 1.06rem);
  line-height: 2.05;
  letter-spacing: 0;
}

.founding-story__body p {
  margin: 0;
}

.founding-story__body p + p {
  margin-top: 1.25em;
}

.founding-teaser {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.founding-teaser p {
  max-width: 720px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.9;
}

.founding-teaser .button {
  width: fit-content;
}

@media (max-width: 560px) {
  .founding-story,
  .founding-teaser {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .founding-story__body {
    line-height: 1.95;
  }

  .founding-teaser .button {
    width: 100%;
  }
}
