.commandbase-lp {
  --ink: #172a2f;
  --muted: #52646b;
  --navy: #07384a;
  --navy-deep: #052b3a;
  --green: #2b9a72;
  --green-action: #147b57;
  --green-soft: #e3f1eb;
  --surface: #eef4f3;
  --surface-warm: #fafaf7;
  --white: #ffffff;
  --line: #cdd9d9;
  --line-strong: #87a5a4;
  --focus: #f7c654;
  --container: 960px;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

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

.commandbase-lp main {
  margin: 0;
}

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

.commandbase-lp a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.commandbase-lp h1,
.commandbase-lp h2,
.commandbase-lp h3,
.commandbase-lp p,
.commandbase-lp ol,
.commandbase-lp ul,
.commandbase-lp dl,
.commandbase-lp dd {
  margin-top: 0;
}

.commandbase-lp h1,
.commandbase-lp h2,
.commandbase-lp h3 {
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.commandbase-lp h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.commandbase-lp ol,
.commandbase-lp ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.commandbase-lp .container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.commandbase-lp .section {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.commandbase-lp .section[data-section="audience"],
.commandbase-lp .section[data-section="flow"],
.commandbase-lp .section[data-section="faq"] {
  background: var(--surface-warm);
}

.commandbase-lp .section-lead {
  max-width: 48rem;
  margin-bottom: 30px;
  color: var(--muted);
}

.commandbase-lp a:focus-visible,
.commandbase-lp summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.commandbase-lp .button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: auto;
  padding: 15px 24px;
  border: 2px solid var(--green-action);
  border-radius: 5px;
  color: var(--white);
  background: var(--green-action);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.commandbase-lp .button::after {
  content: "→";
  font-size: 1.15rem;
  line-height: 1;
}

.commandbase-lp .button:hover {
  border-color: var(--navy-deep);
  background: var(--navy-deep);
  text-decoration: none;
}

/* HERO */
.commandbase-lp .hero {
  position: relative;
  display: flex;
  min-height: clamp(520px, 62svh, 640px);
  align-items: center;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.commandbase-lp .hero .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1180px);
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.commandbase-lp .hero .container::before {
  display: block;
  width: 56px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--green);
  content: "";
}

.commandbase-lp .brand-mark {
  display: block;
  width: fit-content;
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.commandbase-lp .brand-mark img {
  display: block;
  width: 146px;
  height: auto;
}

.commandbase-lp .hero-copy {
  width: min(55%, 620px);
}

.commandbase-lp .hero h1 {
  max-width: none;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2.65rem, 4.2vw, 4rem);
  line-height: 1.12;
}

.commandbase-lp .hero-catch {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 750;
  line-height: 1.5;
}

.commandbase-lp .hero .section-lead {
  max-width: 39rem;
  margin-bottom: 28px;
  color: #334e56;
  font-size: 1rem;
}

.commandbase-lp .hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 68%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f4f1ea;
}

.commandbase-lp .hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface) 0%, rgb(238 244 243 / 96%) 13%, rgb(238 244 243 / 74%) 29%, rgb(238 244 243 / 14%) 54%, transparent 72%);
  content: "";
  pointer-events: none;
}

.commandbase-lp .hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

/* こんな方に / 登録後 */
.commandbase-lp .plain-list {
  max-width: 56rem;
  margin: 28px 0 0;
  border-top: 2px solid var(--navy);
}

.commandbase-lp .plain-list li {
  position: relative;
  padding: 19px 0 19px 32px;
  border-bottom: 1px solid var(--line);
}

.commandbase-lp .plain-list li::before {
  position: absolute;
  top: 28px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  content: "";
}

/* 登録の流れ */
.commandbase-lp .flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 56rem;
  margin: 30px 0 0;
  border-top: 2px solid var(--navy);
  counter-reset: flow;
}

.commandbase-lp .flow-list li {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 48px 14px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.commandbase-lp .flow-list li + li {
  border-left: 1px solid var(--line);
}

.commandbase-lp .flow-list li::before {
  counter-increment: flow;
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  content: counter(flow);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

/* CTA */
.commandbase-lp .section-action {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.commandbase-lp .final-cta {
  border-bottom: 0;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.commandbase-lp .final-cta h2 {
  color: var(--white);
}

.commandbase-lp .final-cta .section-lead {
  margin-inline: auto;
  color: rgb(255 255 255 / 82%);
}

/* FAQ */
.commandbase-lp .faq-list {
  max-width: 56rem;
  margin-top: 30px;
  border-top: 2px solid var(--navy);
}

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

.commandbase-lp .faq summary {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 18px 48px 18px 0;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.commandbase-lp .faq summary::after {
  position: absolute;
  top: 14px;
  right: 8px;
  color: var(--green-action);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}

.commandbase-lp .faq details[open] summary::after {
  content: "\2212";
}

.commandbase-lp .faq details p {
  max-width: 58em;
  margin-bottom: 0;
  padding: 0 48px 22px 0;
  color: var(--muted);
}

/* footer */
.commandbase-lp .operator-anchor {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.85rem;
}

.commandbase-lp .operator-anchor p {
  margin-bottom: 0;
}

.commandbase-lp .operator-anchor a {
  font-weight: 700;
}

@media (max-width: 599px) {
  .commandbase-lp .button {
    width: min(100%, 22rem);
  }

  .commandbase-lp .flow-list {
    display: block;
  }

  .commandbase-lp .flow-list li {
    min-height: 0;
    padding-right: 0;
  }

  .commandbase-lp .flow-list li + li {
    border-left: 0;
  }
}

@media (max-width: 899px) {
  .commandbase-lp .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .commandbase-lp .hero .container {
    order: 1;
    padding-block: 40px 36px;
  }

  .commandbase-lp .hero-copy {
    width: min(100%, 660px);
  }

  .commandbase-lp .hero-visual {
    position: relative;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .commandbase-lp .hero-visual::after {
    display: none;
  }
}

@media (max-width: 599px) {
  .commandbase-lp .hero-visual {
    aspect-ratio: 3 / 2;
  }
}

@media (min-width: 720px) {
  .commandbase-lp .container {
    width: min(calc(100% - 4rem), var(--container));
  }

  .commandbase-lp .hero {
    padding-top: 0;
  }

  .commandbase-lp .hero .container {
    width: min(calc(100% - 4rem), 1180px);
  }
}

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

  .commandbase-lp .button {
    transition: none;
  }
}
