:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #13223a;
  --muted: #5c6b7f;
  --line: #d8e1ec;
  --accent: #1f6ed4;
  --accent-dark: #1757a8;
  --label: #e9f1ff;
  --success: #eaf7f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 34, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "IBM Plex Sans JP", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.brand {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section {
  padding: 84px 0;
}

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

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 1.25rem + 2.1vw, 3rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

p {
  margin-top: 0;
  margin-bottom: 14px;
}

.section-text {
  color: var(--muted);
  max-width: 840px;
}

.label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--label);
  color: #204a85;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.lead {
  font-size: 1.08rem;
  color: #0e2d57;
}

.btn {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 18px;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-small {
  padding: 9px 14px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: -5% -15% auto auto;
  width: 58vw;
  height: 58vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(31, 110, 212, 0.22), transparent 38%),
    radial-gradient(circle at 60% 70%, rgba(50, 168, 132, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(31, 110, 212, 0.08), transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  position: relative;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  align-self: start;
}

.card-grid {
  display: grid;
  gap: 14px;
}

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

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

.card,
.fit-box,
.asset,
.phase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.card {
  box-shadow: 0 6px 20px rgba(19, 34, 58, 0.05);
}

.note {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--success);
  border: 1px solid #cde7d7;
  border-radius: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.comparison {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
}

.comparison .row {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.comparison .row:first-of-type {
  border-top: none;
}

.comparison span {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--label);
  color: #204a85;
}

.comparison p {
  margin: 0;
}

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

.ops-spec {
  margin-top: 14px;
  border: 1px dashed #b6c7dc;
  border-radius: var(--radius);
  padding: 16px 18px;
  background: #f9fbff;
}

.ops-spec h3 {
  margin-bottom: 8px;
}

.phase {
  position: relative;
  min-height: 200px;
}

.phase::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid #9ab0ca;
  border-right: 2px solid #9ab0ca;
  transform: rotate(45deg) translateY(-50%);
}

.phase:last-child::after {
  display: none;
}

.phase-no {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.fit-box.muted {
  background: #fbfcff;
}

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

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

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

.asset {
  background:
    linear-gradient(135deg, rgba(31, 110, 212, 0.08), transparent 35%),
    var(--surface);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 0 14px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 600;
}

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

details p {
  margin: 0 0 14px;
  color: var(--muted);
}

.cta {
  background: linear-gradient(180deg, #fff, #f5f9ff 35%, #ecf3ff 100%);
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 4px;
  border: 1px solid #c3d0e0;
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin-top: 2px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: none;
  font-size: 0.92rem;
}

.form-status.info {
  display: block;
  border-color: #b8cbdf;
  background: #f6f9fe;
  color: #1f3558;
}

.form-status.success {
  display: block;
  border-color: #b8ddc7;
  background: #edf8f2;
  color: #194f31;
}

.form-status.error {
  display: block;
  border-color: #e3b7b7;
  background: #fff2f2;
  color: #6b1d1d;
}

.form-status a {
  color: inherit;
  font-weight: 600;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  text-underline-offset: 3px;
}

.check-list,
.dot-list {
  margin: 0;
  padding-left: 1.2em;
}

.check-list li,
.dot-list li {
  margin-bottom: 6px;
}

.placeholder {
  color: #6d7c91;
  font-weight: 500;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  padding: 22px 0 26px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .cta-wrap,
  .card-grid.two,
  .card-grid.three,
  .phase-grid,
  .flow-list,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .phase {
    min-height: auto;
  }

  .phase::after {
    display: none;
  }

  .section {
    padding: 68px 0;
  }
}
