:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f0f0ef;
  --ink: #111111;
  --text: #242424;
  --muted: #565656;
  --line: #111111;
  --yellow: #ffda3e;
  --yellow-strong: #ffd018;
  --green: #347451;
  --green-soft: #e1eee6;
  --radius: 12px;
  --shell: min(100% - 64px, 1320px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Arial Black", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
  font-weight: 500;
}

p, li, input, select, textarea, small {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
}

.site-header {
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: none;
}

.site-header.scrolled { border-bottom-color: var(--ink); }
.header-inner { min-height: 92px; }
.brand { width: 176px; }
.desktop-nav { gap: 34px; }
.desktop-nav a { font-size: 13px; font-weight: 900; letter-spacing: .02em; }

.button {
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: none;
  background: var(--yellow);
  letter-spacing: .01em;
}

.button:hover { background: #fff; transform: translateX(3px); }
.button-secondary { background: #fff; }
.button-secondary:hover { background: var(--yellow); }

.design-ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: #fff;
  white-space: nowrap;
}

.design-ticker > div {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 38px;
  padding: 10px 0;
  animation: ticker-slide 34s linear infinite;
}

.design-ticker span, .design-ticker b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.design-ticker span::before { content: "●"; margin-right: 12px; color: var(--yellow-strong); }

@keyframes ticker-slide { to { transform: translateX(-32%); } }

.hero {
  padding: 74px 0 112px;
  border-bottom: 3px solid var(--ink);
  background: #fff;
}

.hero-grid {
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: 66px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(48px, 5.7vw, 82px);
  line-height: 1.24;
  letter-spacing: -.035em;
}

.hero h1 span { background: linear-gradient(transparent 68%, var(--yellow) 0); }
.hero-lead { font-size: 18px; line-height: 2; }
.hero-assurances { border-top: 2px solid var(--ink); padding-top: 16px; }

.editorial-photo {
  position: relative;
  margin: 0;
}

.editorial-photo > img {
  width: 100%;
  height: auto;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #f4f4f2;
  object-fit: cover;
}

.hero-product > img { aspect-ratio: 3 / 2; }
.hero-product figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}
.hero-product figcaption i { color: #b59200; font-style: normal; }

.photo-stamp {
  position: absolute;
  right: -22px;
  bottom: 36px;
  display: grid;
  width: 92px;
  height: 92px;
  place-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 25px;
  line-height: 1;
  text-align: center;
  transform: rotate(7deg);
}
.photo-stamp small { margin-top: 5px; font-size: 9px; letter-spacing: .08em; }

.section { position: relative; padding: 116px 0; border-bottom: 3px solid var(--ink); }
.section h2, .assessment h2 { font-size: clamp(38px, 4.5vw, 64px); letter-spacing: -.035em; line-height: 1.32; }

.fit { color: var(--ink); background: #fff; }
.fit h2, .fit h3 { color: var(--ink); }
.fit-layout { grid-template-columns: .82fr 1.18fr; gap: 96px; }
.fit-intro > p { color: var(--text); }
.fit-columns { gap: 24px; }
.fit-columns > div { padding: 28px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; }
.fit-columns > div:first-child { background: var(--yellow); }
.fit-columns li { border-top: 1px solid var(--ink); color: var(--ink); }
.fit-not { opacity: 1; }

.workflow { background: #f1f1f0; }
.section-heading { max-width: 1040px; }
.workflow-compare article { border: 2px solid var(--ink); border-radius: 12px; }
.workflow-before { background: #fff; }
.workflow-after { background: var(--yellow); }
.workflow-switch { border: 2px solid var(--ink); }

.customer-os-demo {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: center;
  gap: 72px;
  margin-top: 76px;
}
.customer-os-demo-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.35;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.customer-os-demo-copy p { margin: 24px 0 0; font-size: 17px; }
.customer-os-screen { overflow: hidden; border: 3px solid var(--ink); border-radius: 12px; background: #fff; }
.customer-os-screen-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border-bottom: 2px solid var(--ink); }
.customer-os-screen-head strong { color: var(--ink); font-size: 18px; }
.customer-os-screen-head span { padding: 5px 10px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 11px; font-weight: 800; }
.customer-os-table { overflow-x: auto; }
.customer-os-row { display: grid; grid-template-columns: 1.25fr 1fr .7fr .8fr 1.25fr; min-width: 680px; border-top: 1px solid #c8c8c4; }
.customer-os-row:first-child { border-top: 0; }
.customer-os-row > * { min-width: 0; padding: 14px 16px; color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif; font-size: 13px; }
.customer-os-row strong { color: var(--ink); }
.customer-os-row-head { background: #f1f1ef; }
.customer-os-row-head span { color: var(--muted); font-size: 11px; font-weight: 800; }
.customer-os-row i { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.status-new { color: #6a5100; background: #fff0aa; }
.status-active { color: #235541; background: var(--green-soft); }
.status-wait { color: #454b47; background: #e7e9e7; }

.savings { background: #fff; }
.savings-layout { align-items: center; }
.cost-reason { margin-top: 28px; padding: 20px 22px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); }
.cost-reason strong { display: block; color: var(--ink); font-size: 16px; }
.cost-reason p { margin: 8px 0 0; color: var(--ink); font-size: 14px; line-height: 1.8; }
.preset-row button { border: 2px solid var(--ink); }
.savings-result { border: 2px solid var(--ink); border-radius: 12px; }
.saving-period { border: 2px solid var(--ink); }

.responsibility { border-bottom: 3px solid var(--ink); background: var(--yellow); }
.map-center { border: 3px solid var(--ink); }
.responsibility-map ul { border-width: 2px 0 0 2px; }
.responsibility-map li { border-width: 0 2px 2px 0; }

.transfer { background: #fff; }
.transfer-layout {
  grid-template-columns: .75fr 1.25fr;
  gap: 78px 92px;
}
.transfer-copy { align-self: center; }
.transfer-visual { align-self: start; }
.transfer-visual img { aspect-ratio: 3 / 2; }
.transfer-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-size: 13px;
}
.transfer-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--ink); }
.transfer-steps li { grid-template-columns: 44px 1fr; padding: 24px 18px; border-right: 1px solid var(--ink); border-bottom: 0; }
.transfer-steps li:last-child { border-right: 0; }
.transfer-steps li > span { border: 2px solid var(--ink); }

.scope { background: #f1f1f0; }
.scope-summary ul, .faq-list { border-top: 3px solid var(--ink); }
.scope-details details { border: 2px solid var(--ink); border-radius: 12px; }

.human { border-bottom: 3px solid var(--ink); background: var(--ink); }
.human-mark { border: 3px solid #fff; }
.human-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; padding: 0; border-top: 2px solid #fff; list-style: none; }
.human-facts li { padding: 20px 18px 0 0; }
.human-facts strong, .human-facts span { display: block; }
.human-facts strong { color: var(--yellow); font-size: 17px; }
.human-facts span { margin-top: 4px; color: #fff; font-size: 13px; }
.human-link { display: inline-flex; gap: 10px; margin-top: 28px; color: #fff; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }

.faq { background: #fff; }
.faq-list details { border-bottom: 1px solid var(--ink); }

.assessment {
  padding: 120px 0;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
}
.assessment-copy h2 { color: var(--ink); }
.assessment-copy > p, .assessment-copy li { color: var(--ink); }
.assessment-copy li::before { color: var(--ink); }
.form-shell { border: 3px solid var(--ink); border-radius: 12px; }
.field-grid { align-items: start; }
.field-grid > label { align-self: start; width: 100%; }
.form-progress { background: #e1e1de; }
.form-progress span { background: var(--ink); }

.privacy-section { background: #fff; }
.site-footer { border-top: 3px solid var(--ink); }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 48px, 1320px); }
  .header-inner { min-height: 76px; }
  .hero-grid { grid-template-columns: 1fr; }
  .fit-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 900px; }
  .hero-product { max-width: 840px; }
  .customer-os-demo { grid-template-columns: 1fr; gap: 36px; }
  .mobile-nav { top: 76px; border-bottom: 3px solid var(--ink); background: #fff; }
  .transfer-layout { grid-template-columns: 1fr; }
  .transfer-steps { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .transfer-steps li:nth-child(2) { border-right: 0; }
  .transfer-steps li { border-bottom: 1px solid var(--ink); }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 32px, 1320px); }
  .site-header { border-bottom-width: 2px; }
  .header-inner { min-height: 68px; }
  .design-ticker { border-bottom-width: 2px; }
  .design-ticker > div { gap: 26px; padding: 8px 0; }
  .design-ticker span, .design-ticker b { font-size: 10px; }
  .hero { padding: 50px 0 72px; }
  .hero h1 { font-size: clamp(39px, 11vw, 52px); line-height: 1.3; }
  .hero-grid { gap: 42px; }
  .hero-product { margin: 0; }
  .hero-product figcaption { flex-wrap: wrap; border-radius: 12px; font-size: 9px; }
  .photo-stamp { right: -8px; bottom: 48px; width: 72px; height: 72px; font-size: 20px; }
  .section { padding: 80px 0; border-bottom-width: 2px; }
  .section h2, .assessment h2 { font-size: clamp(34px, 9vw, 44px); }
  .customer-os-demo { margin-top: 52px; }
  .customer-os-screen { margin-inline: -4px; }
  .customer-os-row { min-width: 620px; }
  .human-facts { grid-template-columns: 1fr; }
  .human-facts li { padding-top: 16px; }
  .fit-columns > div { padding: 22px 18px; }
  .transfer-steps { grid-template-columns: 1fr; }
  .transfer-steps li, .transfer-steps li:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .transfer-steps li:last-child { border-bottom: 0; }
  .assessment { padding: 82px 0 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .design-ticker > div { animation: none; }
}
