.commandbase-lp {
  --ink: #202426;
  --muted: #566168;
  --navy: #04384c;
  --navy-deep: #022d3d;
  --green: #1f9c6c;
  --green-action: #137a52;
  --surface: #eef3f4;
  --surface-warm: #f7f7f3;
  --white: #ffffff;
  --line: rgb(4 56 76 / 18%);
  --shadow: 0 26px 70px rgb(4 56 76 / 14%);
  --container: 1240px;
}

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

.commandbase-lp { scroll-behavior: smooth; }

.commandbase-lp {
  margin: 0;
  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;
}

/* Keep this LP full-width even when the staging SWELL shell has a max-width. */
#content.l-content.l-container:has(.commandbase-lp) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.commandbase-lp img { display: block; max-width: 100%; }
.commandbase-lp a { color: inherit; }
.commandbase-lp h1, .commandbase-lp h2, .commandbase-lp h3, .commandbase-lp p, .commandbase-lp figure, .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.035em; text-wrap: pretty; }
.commandbase-lp h2 { margin-bottom: 26px; font-size: clamp(1.65rem, 4.2vw, 2.45rem); }
.commandbase-lp h3 { margin-bottom: 12px; font-size: 1.2rem; }
.commandbase-lp ul, .commandbase-lp ol { margin: 0; padding: 0; }

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

.commandbase-lp .section { padding: 72px 0; }

.commandbase-lp .eyebrow {
  margin-bottom: 12px;
  color: var(--green-action);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.commandbase-lp .section-heading { max-width: 780px; margin-bottom: 38px; }
.commandbase-lp .section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.commandbase-lp .section-heading--light h2, .commandbase-lp .section-heading--light .eyebrow { color: var(--white); }

.commandbase-lp .button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 22px;
  border: 2px solid currentColor;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.commandbase-lp .button::after { content: "→"; font-size: 1.15rem; }
.commandbase-lp .button--primary { color: var(--white); background: var(--green-action); border-color: var(--green-action); }
.commandbase-lp .button--light { color: var(--navy-deep); background: var(--white); border-color: var(--white); }
.commandbase-lp .button:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.commandbase-lp .button:focus-visible, .commandbase-lp summary:focus-visible { outline: 3px solid #ffca52; outline-offset: 4px; }

.commandbase-lp .cta-note { margin: 10px 0 0; color: var(--muted); font-size: 0.78rem; }
.commandbase-lp .cta-note--light { color: rgb(255 255 255 / 78%); text-align: center; }

/* 1. HERO */
.commandbase-lp .hero { position: relative; overflow: hidden; padding: 18px 0 226px; background: #f5f3ee; isolation: isolate; }
.commandbase-lp .hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 250px;
  background: linear-gradient(180deg, #f5f3ee 0%, rgb(245 243 238 / 18%) 26%, transparent 52%);
  content: "";
  pointer-events: none;
}
.commandbase-lp .hero__art { position: absolute; bottom: 0; left: -35%; z-index: 0; width: 135%; height: 250px; max-width: none; object-fit: cover; object-position: 72% 52%; }
.commandbase-lp .hero__frame { position: relative; z-index: 2; display: grid; }
.commandbase-lp .hero__brand {
  position: relative;
  z-index: 3;
  width: 280px;
  height: 62px;
  overflow: hidden;
  background-color: var(--surface);
  background-image: url("commandbase-logo-v1.png");
  background-repeat: no-repeat;
  background-position: 49% 50%;
  background-size: 142% auto;
  background-blend-mode: multiply;
}
.commandbase-lp .hero__logo { width: 142%; height: auto; max-width: none; opacity: 0; transform: translate(-14.5%, -42%); }
.commandbase-lp .hero__copy { position: relative; z-index: 2; margin-top: 28px; }
.commandbase-lp .hero h1 { max-width: 23ch; margin-bottom: 0; font-size: clamp(2rem, 6.3vw, 3.2rem); }
.commandbase-lp .hero__sub { max-width: 40em; margin: 18px 0 22px; color: var(--muted); line-height: 1.85; }
.commandbase-lp .hero__actions { display: flex; flex-direction: column; align-items: flex-start; }

/* 2. 共感 */
.commandbase-lp .empathy { background: var(--white); }
.commandbase-lp .empathy__grid { display: grid; gap: 26px; }
.commandbase-lp .empathy h2 { margin: 0; }
.commandbase-lp .empathy p { margin: 0; padding-left: 22px; border-left: 4px solid var(--green); color: var(--muted); }

/* 3. 診断範囲 */
.commandbase-lp .scope { background: var(--surface-warm); }
.commandbase-lp .scope-grid { display: grid; gap: 14px; }
.commandbase-lp .scope-card { position: relative; min-height: 210px; padding: 28px 24px; border: 1px solid var(--line); background: var(--white); }
.commandbase-lp .scope-card::after { position: absolute; right: 0; bottom: 0; width: 42px; height: 5px; background: var(--green); content: ""; }
.commandbase-lp .scope-card__num { display: block; margin-bottom: 26px; color: var(--green-action); font-size: 0.82rem; font-weight: 800; }
.commandbase-lp .scope-card p { margin-bottom: 0; color: var(--muted); }

/* 4. 判断 */
.commandbase-lp .decisions { color: var(--white); background: var(--navy-deep); }
.commandbase-lp .decision-grid { display: grid; gap: 12px; }
.commandbase-lp .decision-grid article { padding: 26px 22px; border-top: 4px solid var(--green); background: rgb(255 255 255 / 7%); }
.commandbase-lp .decision-grid span { display: block; margin-bottom: 24px; color: #72d5ae; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; }
.commandbase-lp .decision-grid h3 { color: var(--white); }
.commandbase-lp .decision-grid p { margin-bottom: 0; color: rgb(255 255 255 / 76%); }
.commandbase-lp .decisions__note { margin: 28px 0 0; color: rgb(255 255 255 / 80%); font-size: 0.9rem; }

/* 5. 成果物 */
.commandbase-lp .deliverables { background: var(--white); }
.commandbase-lp .deliverables__grid { display: grid; gap: 34px; }
.commandbase-lp .deliverables__copy > p:last-of-type { color: var(--muted); }
.commandbase-lp .deliverable-list { display: grid; gap: 0; margin-top: 28px; list-style: none; }
.commandbase-lp .deliverable-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.commandbase-lp .deliverable-list strong { color: var(--navy); }
.commandbase-lp .deliverable-list span { color: var(--muted); }
.commandbase-lp .deliverable-sample { position: relative; min-height: 390px; margin: 0; padding-top: 36px; }
.commandbase-lp .deliverable-sample figcaption { position: absolute; top: 0; right: 0; color: var(--muted); font-size: 0.75rem; }
.commandbase-lp .sample-sheet { position: absolute; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.commandbase-lp .sample-sheet--back { top: 70px; right: 0; width: 84%; height: 270px; padding: 30px; transform: rotate(3deg); }
.commandbase-lp .sample-sheet--back span { display: block; width: 75%; height: 10px; margin-bottom: 25px; background: var(--surface); border-left: 42px solid var(--navy); }
.commandbase-lp .sample-sheet--front { top: 46px; left: 0; width: 90%; min-height: 300px; padding: 24px; transform: rotate(-1deg); }
.commandbase-lp .sample-sheet--front > p { margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 800; }
.commandbase-lp .sample-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; margin-top: 20px; }
.commandbase-lp .sample-row b { padding: 5px; color: var(--white); background: var(--navy); font-size: 0.68rem; text-align: center; }
.commandbase-lp .sample-row:nth-child(3) b { background: var(--green-action); }
.commandbase-lp .sample-row span { height: 30px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); background: var(--surface); }
.commandbase-lp .deliverables__exclude { margin: 0; padding: 16px 18px; border-left: 4px solid var(--navy); color: var(--muted); background: var(--surface); font-size: 0.9rem; }

/* 6. 比較 */
.commandbase-lp .comparison { background: var(--surface-warm); }
.commandbase-lp .comparison-grid { display: grid; gap: 14px; }
.commandbase-lp .comparison-card { padding: 26px 22px; border: 1px solid var(--line); background: var(--white); }
.commandbase-lp .comparison-card--featured { color: var(--white); background: var(--navy); border-color: var(--navy); box-shadow: var(--shadow); }
.commandbase-lp .comparison-card__label { margin-bottom: 22px; color: var(--green-action); font-size: 0.72rem; font-weight: 800; }
.commandbase-lp .comparison-card--featured .comparison-card__label { color: #83dfba; }
.commandbase-lp .comparison-card > p:not(.comparison-card__label) { color: var(--muted); }
.commandbase-lp .comparison-card--featured > p:not(.comparison-card__label) { color: rgb(255 255 255 / 80%); }
.commandbase-lp .comparison-card dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.commandbase-lp .comparison-card--featured dl { border-color: rgb(255 255 255 / 24%); }
.commandbase-lp .comparison-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.commandbase-lp .comparison-card--featured dl div { border-color: rgb(255 255 255 / 24%); }
.commandbase-lp .comparison-card dt { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.commandbase-lp .comparison-card--featured dt { color: rgb(255 255 255 / 68%); }
.commandbase-lp .comparison-card dd { margin: 0; font-size: 0.88rem; font-weight: 700; }

/* 7. 信頼 */
.commandbase-lp .credibility { color: var(--white); background: var(--navy); }
.commandbase-lp .credibility__grid { display: grid; }
.commandbase-lp .credibility .eyebrow { color: #83dfba; }
.commandbase-lp .credibility h2 { margin-bottom: 24px; }
.commandbase-lp .credibility p:last-child { margin-bottom: 0; color: rgb(255 255 255 / 82%); }

/* 8. 工程 */
.commandbase-lp .process { background: var(--white); }
.commandbase-lp .process-list { display: grid; list-style: none; border-top: 1px solid var(--line); }
.commandbase-lp .process-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.commandbase-lp .process-list > li > span { color: var(--green-action); font-size: 0.9rem; font-weight: 800; }
.commandbase-lp .process-list h3 { margin-bottom: 4px; }
.commandbase-lp .process-list p { margin-bottom: 0; color: var(--muted); }

/* 9. 価格 */
.commandbase-lp .price { background: var(--surface); }
.commandbase-lp .price__panel { display: grid; gap: 30px; padding: 34px 26px; border-top: 7px solid var(--green); background: var(--white); box-shadow: var(--shadow); }
.commandbase-lp .price h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.commandbase-lp .price h2 strong { color: var(--navy); font-size: clamp(2.4rem, 8vw, 4.5rem); line-height: 1; }
.commandbase-lp .price h2 span { font-size: 1.25rem; }
.commandbase-lp .price h2 small { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.commandbase-lp .price__additional { margin-bottom: 0; color: var(--muted); }
.commandbase-lp .price__conditions { display: grid; }
.commandbase-lp .price__conditions p { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.commandbase-lp .price__conditions p:last-child { border-bottom: 1px solid var(--line); }
.commandbase-lp .price__conditions strong { display: block; margin-bottom: 4px; color: var(--navy); }
.commandbase-lp .price__action { display: flex; flex-direction: column; align-items: flex-start; }

/* 10. 適合 */
.commandbase-lp .fit { background: var(--white); }
.commandbase-lp .fit__grid { display: grid; gap: 16px; }
.commandbase-lp .fit-panel { padding: 28px 24px; border: 1px solid var(--line); }
.commandbase-lp .fit-panel--negative { background: var(--surface); }
.commandbase-lp .fit-panel h2 { font-size: clamp(1.55rem, 4vw, 2rem); }
.commandbase-lp .fit-panel ul { list-style: none; }
.commandbase-lp .fit-panel li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); }
.commandbase-lp .fit-panel li::before { position: absolute; top: 22px; left: 4px; width: 9px; height: 9px; border: 2px solid var(--green-action); border-radius: 50%; content: ""; }
.commandbase-lp .fit-panel--negative li::before { border-color: var(--navy); }

/* 11. FAQ */
.commandbase-lp .faq { background: var(--surface); }
.commandbase-lp .faq__grid { display: grid; gap: 18px; }
.commandbase-lp .faq-list { border-top: 1px solid var(--navy); }
.commandbase-lp .faq details { border-bottom: 1px solid var(--navy); }
.commandbase-lp .faq summary { position: relative; padding: 20px 42px 20px 0; 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: 17px; right: 6px; color: var(--green-action); content: "+"; font-size: 1.4rem; }
.commandbase-lp .faq details[open] summary::after { content: "−"; }
.commandbase-lp .faq details p { max-width: 54em; margin-bottom: 20px; color: var(--muted); }

/* 12. CTA */
.commandbase-lp .final-cta { color: var(--white); background: var(--ink); border-top: 7px solid var(--green); }
.commandbase-lp .final-cta__grid { display: grid; gap: 30px; }
.commandbase-lp .final-cta .eyebrow { color: #83dfba; }
.commandbase-lp .final-cta h2 { margin-bottom: 18px; }
.commandbase-lp .final-cta__grid > div:first-child > p:last-child { margin-bottom: 0; color: rgb(255 255 255 / 78%); }
.commandbase-lp .final-cta__grid > div:last-child { display: flex; flex-direction: column; align-items: stretch; }
.commandbase-lp .site-footer { padding: 22px 0; color: rgb(255 255 255 / 66%); background: var(--ink); border-top: 1px solid rgb(255 255 255 / 12%); }
.commandbase-lp .site-footer p { margin: 0; font-size: 0.78rem; }

@media (min-width: 720px) {
  .commandbase-lp .container { width: min(calc(100% - 64px), var(--container)); }
  .commandbase-lp .section { padding: 88px 0; }
  .commandbase-lp .hero { padding: 22px 0 270px; }
  .commandbase-lp .hero::after, .commandbase-lp .hero__art { height: 300px; }
  .commandbase-lp .hero__art { left: -20%; width: 120%; }
  .commandbase-lp .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .commandbase-lp .decision-grid, .commandbase-lp .comparison-grid { grid-template-columns: repeat(3, 1fr); }
  .commandbase-lp .deliverables__grid { grid-template-columns: 1fr 0.85fr; align-items: center; }
  .commandbase-lp .deliverables__exclude { grid-column: 1 / -1; }
  .commandbase-lp .process-list { grid-template-columns: repeat(2, 1fr); gap: 0 30px; border-top: 0; }
  .commandbase-lp .process-list li { border-top: 1px solid var(--line); }
  .commandbase-lp .price__panel { padding: 48px; }
  .commandbase-lp .fit__grid { grid-template-columns: 1fr 1fr; }
  .commandbase-lp .faq__grid { grid-template-columns: 0.42fr 1fr; gap: 48px; }
  .commandbase-lp .final-cta__grid { grid-template-columns: 1fr 0.62fr; align-items: center; }
}

@media (min-width: 960px) {
  .commandbase-lp .hero { min-height: 560px; padding: 26px 0 58px; }
  .commandbase-lp .hero::after { inset: 0; width: 72%; height: auto; background: linear-gradient(90deg, #f5f3ee 0%, #f5f3ee 55%, rgb(245 243 238 / 90%) 72%, transparent 100%); }
  .commandbase-lp .hero__art { inset: 0; width: 100%; height: 100%; object-position: 72% 52%; }
  .commandbase-lp .hero__frame { min-height: 476px; align-content: start; }
  .commandbase-lp .hero__copy { width: min(54%, 650px); align-self: center; margin-top: 44px; }
  .commandbase-lp .scope-grid { grid-template-columns: repeat(4, 1fr); }
  .commandbase-lp .scope-card { min-height: 250px; }
  .commandbase-lp .empathy__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .commandbase-lp .credibility__grid { grid-template-columns: 0.5fr 1.05fr 1fr; gap: 30px; align-items: start; }
  .commandbase-lp .credibility h2 { margin-bottom: 0; }
  .commandbase-lp .price__panel { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .commandbase-lp .price__action { grid-column: 1 / -1; align-items: center; }
}

@media (min-width: 1200px) {
  .commandbase-lp .section { padding: 104px 0; }
  .commandbase-lp .hero h1 { font-size: 3.4rem; }
  .commandbase-lp .process-list { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .commandbase-lp .process-list li { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; border-right: 1px solid var(--line); }
  .commandbase-lp .process-list li:last-child { border-right: 0; }
}

@media (max-width: 430px) {
  .commandbase-lp h2 { font-size: 1.55rem; }
  .commandbase-lp .hero__brand { width: 250px; height: 56px; }
  .commandbase-lp .hero h1 { font-size: 2rem; letter-spacing: -0.045em; }
  .commandbase-lp .button { width: 100%; gap: 12px; padding-inline: 15px; font-size: 0.9rem; }
  .commandbase-lp .deliverable-sample { min-height: 340px; }
  .commandbase-lp .sample-sheet--front { min-height: 270px; padding: 18px; }
  .commandbase-lp .sample-sheet--back { height: 240px; }
  .commandbase-lp .comparison-card dl div { grid-template-columns: 80px 1fr; }
  .commandbase-lp .price__panel { padding: 30px 20px; }
  .commandbase-lp .price h2 strong { font-size: 2.6rem; }
}

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