:root {
  --ink: #17211f;
  --ink-soft: #475653;
  --paper: #ffffff;
  --paper-alt: #f4f8f7;
  --line: #dce7e4;
  --blue: #287fbf;
  --blue-deep: #125f98;
  --green: #4fc19d;
  --green-soft: #dff6ee;
  --accent: linear-gradient(135deg, var(--blue), var(--green));
  --shadow: 0 18px 50px rgba(20, 54, 48, 0.10);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --content: 1160px;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-deep);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #0b4a79;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #f2bf42;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 231, 228, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: 196px;
  align-items: center;
}

.brand img {
  width: 100%;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--blue-deep);
  background: var(--paper-alt);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  color: #fff;
  background: #24312f;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.18);
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.button-primary:hover {
  background: #0e527f;
}

.button-light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button-light:hover {
  color: var(--ink);
  background: var(--green-soft);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-ghost:hover {
  color: var(--blue-deep);
  background: var(--paper-alt);
}

.button-disabled,
.button-disabled:hover {
  color: var(--muted);
  background: #eef1f3;
  border-color: #dfe4e7;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0 88px;
  background:
    radial-gradient(circle at 82% 12%, rgba(79, 193, 157, 0.18), transparent 30%),
    radial-gradient(circle at 92% 72%, rgba(40, 127, 191, 0.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fbfa 100%);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(40, 127, 191, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(42px, 7vw, 88px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  content: "";
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.hero .lead {
  max-width: 740px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
}

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

.hero-note {
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.5;
}

.hero-note p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 66px 0 58px;
  background:
    radial-gradient(circle at 88% 10%, rgba(79, 193, 157, 0.14), transparent 30%),
    var(--paper-alt);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 5.2vw, 64px);
}

.page-lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
}

.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: #8a9996;
  content: "/";
}

.breadcrumb a {
  color: var(--ink-soft);
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-alt {
  background: var(--paper-alt);
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.section-dark .eyebrow,
.section-dark .section-intro,
.section-dark p {
  color: #d8e4e1;
}

.section-head {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 36px;
  margin-bottom: 44px;
}

.section h2,
.article h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.32;
}

.section h3,
.article h3 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.5vw, 27px);
  line-height: 1.45;
}

.section-intro {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.card-accent {
  position: relative;
  overflow: hidden;
}

.card-accent::before {
  display: block;
  width: 52px;
  height: 5px;
  margin-bottom: 24px;
  background: var(--accent);
  border-radius: 999px;
  content: "";
}

.card p:last-child {
  margin-bottom: 0;
}

.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-link:hover {
  color: inherit;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.number {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.stat {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
}

.stat strong {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat small {
  color: var(--ink-soft);
}

.feature-list {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}

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

.steps li {
  position: relative;
  padding: 74px 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.13em;
  content: "STEP " counter(step, decimal-leading-zero);
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
}

.people-card {
  overflow: hidden;
  padding: 0;
}

.people-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 24%;
}

.people-card-body {
  padding: 26px;
}

.people-card-body p {
  margin: 0 0 10px;
}

.role {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 80px);
}

.profile-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 24%;
}

.profile-facts {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.profile-facts dt,
.profile-facts dd {
  padding: 14px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--ink-soft);
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.case {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.case + .case {
  margin-top: 34px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 26px;
  list-style: none;
}

.case-meta li {
  padding: 5px 11px;
  color: var(--blue-deep);
  background: #e8f3fa;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.case-detail {
  display: grid;
  grid-template-columns: 170px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.case-detail dt,
.case-detail dd {
  padding: 19px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.case-detail dt {
  padding-right: 24px;
  color: var(--ink-soft);
  font-weight: 800;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.case-result {
  padding: 22px;
  background: var(--paper-alt);
  border-radius: var(--radius-sm);
}

.case-result strong {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
}

.notice {
  padding: 18px 20px;
  color: #31413e;
  background: #eef6f3;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
}

.article {
  padding: 64px 0 96px;
}

.article > * + h2 {
  margin-top: 64px;
}

.article > * + h3 {
  margin-top: 38px;
}

.article p,
.article li {
  color: #2e3b39;
}

.article table,
.narrow table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
}

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

.article th,
.narrow th {
  width: 30%;
  background: var(--paper-alt);
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 22px;
  right: 8px;
  width: 28px;
  height: 28px;
  color: var(--blue-deep);
  content: "+";
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.faq details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 840px;
  padding: 0 52px 24px 0;
  color: var(--ink-soft);
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 72px);
  color: #fff;
  background: linear-gradient(135deg, #145e93, #2084b0 52%, #43b68f);
  border-radius: var(--radius-lg);
}

.cta::after {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.cta h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: #e6f8f2;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-option {
  padding: clamp(26px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-option strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 30px);
}

.contact-phone {
  display: inline-block;
  margin: 8px 0 20px;
  color: var(--blue-deep);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-footer {
  padding: 64px 0 28px;
  color: #dbe7e4;
  background: #111b19;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 60px;
}

.footer-brand {
  width: 180px;
  margin-bottom: 22px;
}

.footer-brand img {
  width: 100%;
}

.footer-info {
  color: #b5c6c2;
  font-size: 14px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #9eb1ad;
  font-size: 13px;
}

.empty-state {
  padding: 40px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.not-found {
  display: grid;
  min-height: 66vh;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(70px, 14vw, 150px);
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1000px) {
  .site-header {
    background: #fff;
    backdrop-filter: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: fixed;
    z-index: 99;
    top: 79px;
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: -18px 20px 50px rgba(20, 54, 48, 0.14);
    transform: translateX(110%);
    transition: transform 180ms ease;
  }

  .menu-open .nav-wrap {
    transform: translateX(0);
  }

  .global-nav ul {
    align-items: stretch;
    flex-direction: column;
  }

  .global-nav a {
    padding: 13px;
    font-size: 16px;
  }

  .header-cta {
    width: 100%;
  }

  .hero-grid,
  .section-head,
  .profile-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    max-width: 620px;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
    line-height: 1.78;
  }

  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--content));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand {
    width: 158px;
  }

  .nav-wrap {
    top: 71px;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .contact-options,
  .case-results {
    grid-template-columns: 1fr;
  }

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

  .profile-facts,
  .case-detail {
    grid-template-columns: 1fr;
  }

  .profile-facts dt,
  .case-detail dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .profile-facts dd,
  .case-detail dd {
    padding-top: 5px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .article table,
  .article tbody,
  .article tr,
  .article th,
  .article td,
  .narrow table,
  .narrow tbody,
  .narrow tr,
  .narrow th,
  .narrow td {
    display: block;
    width: 100%;
  }

  .article th,
  .narrow th {
    padding-bottom: 5px;
    border-bottom: 0;
  }

  .article td,
  .narrow td {
    padding-top: 5px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
