:root {
  --ink: #0a1744;
  --text: #24304f;
  --muted: #65708f;
  --line: #dbe7fb;
  --bg: #f7fbff;
  --panel: #ffffff;
  --cyan: #05c9e8;
  --blue: #1559e8;
  --violet: #8c4dff;
  --shadow: 0 24px 70px rgba(10, 23, 68, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

.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: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 251, 255, 0.88);
  border-bottom: 1px solid rgba(219, 231, 251, 0.72);
  backdrop-filter: blur(16px);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  min-height: calc(100vh - 86px);
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 18%, rgba(5, 201, 232, 0.18), transparent 30%),
    radial-gradient(circle at 88% 64%, rgba(140, 77, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f5fbff 48%, #edf6ff 100%);
}

.hero > * {
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.13;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: inline;
}

.lead span {
  display: inline;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: #35415f;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(21, 89, 232, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
}

.hero-panel {
  width: 100%;
  max-width: 100%;
  padding: clamp(22px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 231, 251, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-logo {
  width: min(100%, 520px);
  margin: 0 auto;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 24px;
}

.hero-tags span {
  padding: 6px 12px;
  color: var(--ink);
  background: #f3f8ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

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

.section-head p:not(.section-label),
.split p,
.intro-card p,
.contact p {
  color: var(--muted);
}

.intro {
  padding-top: 36px;
}

.intro-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(10, 23, 68, 0.08);
}

.intro-card img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}

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

.service-card {
  min-height: 275px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(10, 23, 68, 0.07);
}

.service-card.wide {
  grid-column: span 2;
}

.service-num {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  background: #ffffff;
}

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

.point {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.point strong {
  color: var(--ink);
  font-size: 18px;
}

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

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

.flow-list li {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.flow-list p {
  color: var(--muted);
}

.contact {
  background: linear-gradient(135deg, #0a1744 0%, #103f9f 54%, #05aeca 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  max-width: 1160px;
  margin: 0 auto;
}

.contact .section-label,
.contact h2,
.contact p {
  color: #ffffff;
}

.contact p {
  opacity: 0.86;
}

.contact-box {
  padding: 24px;
  color: var(--ink);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-box img {
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.contact-box p {
  margin-bottom: 4px;
  color: var(--muted);
  opacity: 1;
  font-size: 13px;
  font-weight: 800;
}

.contact-box strong {
  display: block;
  margin-bottom: 18px;
  line-height: 1.5;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  color: #ffffff;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 112px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand img {
    width: 86px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(10, 23, 68, 0.12);
  }

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

  .site-nav a {
    padding: 12px;
  }

  h1 {
    font-size: 32px;
    line-break: anywhere;
    word-break: break-all;
  }

  h1 span {
    display: block;
  }

  .lead {
    font-size: 15px;
    line-break: anywhere;
    word-break: break-all;
  }

  .lead span {
    display: block;
  }

  .hero {
    width: 100vw;
    padding-top: 44px;
    overflow: hidden;
  }

  .hero-copy,
  .hero-panel {
    max-width: calc(100vw - 48px);
  }

  .hero-panel {
    padding: 20px;
  }

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

  .hero-tags {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-tags span {
    font-size: 11px;
    padding: 5px 10px;
  }

  .intro-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .intro-card img {
    width: 136px;
  }

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

  .service-card,
  .service-card.wide {
    grid-column: auto;
    min-height: auto;
  }

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