:root {
  color-scheme: light;
  --ink: #172233;
  --muted: #5b6677;
  --blue: #243f70;
  --blue-deep: #13284b;
  --line: #06c755;
  --line-dark: #049944;
  --paper: #fbfaf7;
  --soft-blue: #edf3f8;
  --soft-green: #e8f5ec;
  --soft-amber: #fff1d5;
  --coral: #db684f;
  --border: #d9e0e8;
  --shadow: 0 18px 45px rgba(23, 34, 51, 0.12);
  --radius: 8px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--blue-deep);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(217, 224, 232, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 40px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-logo {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.brand-copy {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-cta,
.button,
.floating-cta {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 44px;
  padding: 10px 18px;
  color: white;
  background: var(--line);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.22);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.floating-cta:hover,
.floating-cta:focus-visible {
  background: var(--line-dark);
  transform: translateY(-1px);
}

.hero {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 46px;
  align-items: center;
  padding: 72px 0 58px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 52px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.button.primary {
  color: white;
  background: var(--line);
  box-shadow: 0 14px 30px rgba(6, 199, 85, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--line-dark);
  transform: translateY(-1px);
}

.button.secondary,
.button.ghost {
  color: var(--blue-deep);
  background: white;
  border: 1px solid var(--border);
}

.button.secondary:hover,
.button.secondary:focus-visible,
.button.ghost:hover,
.button.ghost:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(19, 40, 75, 0.08);
  transform: translateY(-1px);
}

.button.large {
  min-width: 212px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--blue-deep);
  background: var(--soft-blue);
  border: 1px solid rgba(36, 63, 112, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  min-height: 340px;
  display: grid;
  align-items: center;
  padding: 32px;
  background: var(--blue-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(36, 63, 112, 0.14);
}

.service-note {
  width: 100%;
  padding: 28px;
  color: white;
  background: var(--blue);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-note span,
.service-note strong {
  display: block;
}

.note-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
}

.service-note span:not(.note-title) {
  margin-top: 4px;
  color: #dce8f5;
  font-size: 13px;
}

.service-note strong {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.55;
}

.section,
.flow-section,
.contact-section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

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

.section-head h2,
.split-section h2,
.contact-copy h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 36px;
  line-height: 1.32;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.split-section p,
.contact-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.service-card {
  min-height: 430px;
  padding: 26px;
  background: white;
  border: 1px solid var(--border);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(23, 34, 51, 0.06);
}

.service-card.accent-green {
  border-top-color: #49a76f;
  background: linear-gradient(180deg, var(--soft-green), white 46%);
}

.service-card.accent-amber {
  border-top-color: #d99d2b;
  background: linear-gradient(180deg, var(--soft-amber), white 46%);
}

.service-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3,
.reason-list h3,
.flow-list h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 21px;
  line-height: 1.42;
  letter-spacing: 0;
}

.service-card p,
.flow-list p,
.reason-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.reason-list span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  background: var(--soft-blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.reason-list h3,
.reason-list p {
  grid-column: 2;
}

.flow-section {
  background: white;
  width: 100%;
  max-width: none;
  padding: 86px max(20px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.flow-list li {
  min-height: 250px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 52px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 30px;
  color: var(--blue-deep);
  background: var(--soft-blue);
  border: 1px solid rgba(36, 63, 112, 0.12);
  border-radius: var(--radius);
  font-style: normal;
}

.contact-label {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 24px;
  line-height: 1.35;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.line-note {
  min-height: 28px;
  font-size: 13px;
}

.line-note.is-ready {
  color: var(--line-dark);
  font-weight: 800;
}

.footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 96px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-width: 202px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  color: white;
  background: var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(6, 199, 85, 0.34);
  font-size: 15px;
  font-weight: 900;
}

:focus-visible {
  outline: 3px solid rgba(219, 104, 79, 0.55);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .nav {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 0 38px;
  }

  h1 {
    font-size: 40px;
  }

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

  .service-note {
    min-height: 180px;
    display: grid;
    align-content: center;
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .flow-list li {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 28px, var(--max));
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

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

  .brand-copy {
    display: none;
  }

  .nav-cta {
    min-width: 144px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero,
  .section,
  .contact-section,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding: 30px 0 28px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.28;
  }

  .lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .contact-actions {
    margin-top: 20px;
  }

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

  .hero-points {
    margin-top: 18px;
  }

  .hero-points li {
    font-size: 12px;
  }

  .hero-visual {
    min-height: 0;
    padding: 16px;
  }

  .service-note {
    min-height: 158px;
    padding: 18px;
  }

  .note-title {
    font-size: 28px;
  }

  .service-note strong {
    font-size: 18px;
  }

  .section,
  .flow-section,
  .contact-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-head h2,
  .split-section h2,
  .contact-copy h2 {
    font-size: 28px;
  }

  .service-card,
  .flow-list li,
  .contact-card {
    padding: 22px;
  }

  .reason-list article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .reason-list span {
    width: 40px;
    height: 40px;
  }

  .footer {
    display: grid;
    padding-bottom: 92px;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
    left: auto;
    min-width: 190px;
    max-width: calc(100% - 28px);
    min-height: 52px;
  }
}
