: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);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-synthesis: none;
}

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

.hero h1,
.section h2,
.assessment h2,
.privacy-section h2 { font-weight: 700; }

.button,
.desktop-nav a,
.text-link,
.hero-product figcaption,
.step-indicator strong { font-weight: 700; }

.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; 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-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker-slide 26s linear infinite;
}

.design-ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 38px;
  padding: 10px 38px 10px 0;
}

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

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

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

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

.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(480px, .88fr);
  gap: 56px;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(48px, 4.45vw, 64px);
  line-height: 1.2;
  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; }
.hero-copy { position: relative; }
.hero-discount-stamp { top: -42px; right: 4px; bottom: auto; }

.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: 1fr; gap: 54px; }
.fit-intro { max-width: 940px; margin-inline: auto; text-align: center; }
.fit-intro > p { max-width: 720px; margin: 24px auto 0; color: var(--text); }
.fit-criteria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.fit-criteria article { min-width: 0; text-align: center; }
.fit-criterion-visual { display: block; width: 100%; aspect-ratio: 1.12; background-image: url("assets/fit-criteria-illustrations.png"); background-repeat: no-repeat; background-size: 400% auto; background-position-y: center; }
.fit-criterion-website { background-position-x: 0; }
.fit-criterion-maintenance { background-position-x: 33.333%; }
.fit-criterion-inquiries { background-size: 420% auto; background-position-x: 66.4%; }
.fit-criterion-transfer { background-size: 410% auto; background-position-x: 100%; }
.fit-criteria h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.65; }
.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 { display: block; }
.savings-copy { max-width: 1040px; margin-inline: auto; text-align: center; }
.savings-copy > p { max-width: 760px; margin: 24px auto 0; }
.cost-reason { margin-top: 28px; padding: 20px 22px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); }
.savings-copy .cost-reason { max-width: 900px; margin-inline: auto; text-align: left; }
.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; }
.savings-copy .preset-row { justify-content: center; margin-top: 42px; }
.savings-copy .calculator-input { max-width: 380px; margin: 20px auto 0; text-align: left; }
.savings-copy .calculator-input > span { max-width: none; }
.preset-row button { border: 2px solid var(--ink); }
.savings-result { max-width: 920px; margin: 30px auto 0; border: 2px solid var(--ink); border-radius: 12px; text-align: left; }
.saving-period { border: 2px solid var(--ink); }

.responsibility { border-bottom: 3px solid var(--ink); background: var(--yellow); }
.responsibility-diagram { display: grid; gap: 50px; }
.responsibility-heading { display: block; max-width: 940px; margin-inline: auto; text-align: center; }
.responsibility-heading p { max-width: 800px; margin: 22px auto 0; color: var(--ink); font-size: 18px; line-height: 1.8; }
.ops-infographic { margin: -6px 0 0; }
.ops-art { position: relative; }
.ops-infographic picture, .ops-infographic img { display: block; width: 100%; }
.ops-infographic img { height: auto; }
.ops-image-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.ops-image-labels li { position: absolute; z-index: 1; transform: translate(-50%, -50%); padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.ops-image-labels .label-hub { background: var(--yellow); font-size: 13px; }
.label-public { top: 3%; left: 12%; }
.label-cms { top: 35%; left: 15%; }
.label-form { top: 68%; left: 14%; }
.label-hub { top: 7%; left: 52%; }
.label-monitor { top: 3%; left: 89%; }
.label-update { top: 28%; left: 89%; }
.label-support { top: 53%; left: 89%; }
.label-customer { top: 78%; left: 89%; }
.ops-note { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); color: var(--ink); font-size: 14px; line-height: 1.8; }

.transfer { background: #fff; }
.transfer-layout { display: block; }
.transfer-heading { max-width: 900px; margin-inline: auto; text-align: center; }
.transfer-heading p { max-width: 720px; margin: 22px auto 0; font-size: 17px; }
.transfer-flow { overflow: hidden; margin: 46px 0 0; }
.transfer-flow picture { display: block; }
.transfer-flow img { width: 100%; height: auto; }
.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;
}
.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; }
  .fit-criteria { grid-template-columns: repeat(2, minmax(0, 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; }
  .responsibility-heading p { margin-top: 20px; }
}

@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-group { gap: 26px; padding: 8px 26px 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; }
  .hero-discount-stamp { top: -32px; right: 0; bottom: auto; }
  .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; }
  .responsibility-diagram { gap: 34px; }
  .ops-infographic { margin-top: -4px; }
  .ops-image-labels li { padding: 4px 7px; border-width: 1.5px; font-size: 9px; }
  .ops-image-labels .label-hub { font-size: 10px; }
  .label-public { top: 1%; left: 15%; }
  .label-cms { top: 1%; left: 50%; }
  .label-form { top: 1%; left: 84%; }
  .label-hub { top: 34%; left: 50%; }
  .label-monitor { top: 76%; left: 11%; }
  .label-update { top: 76%; left: 37%; }
  .label-support { top: 76%; left: 63%; }
  .label-customer { top: 76%; left: 89%; }
  .human-facts { grid-template-columns: 1fr; }
  .human-facts li { padding-top: 16px; }
  .fit-columns > div { padding: 22px 18px; }
  .fit-criteria { gap: 28px 14px; }
  .fit-criteria h3 { font-size: 14px; line-height: 1.6; }
  .savings-copy .preset-row { margin-top: 34px; }
  .savings-copy .calculator-input { max-width: 100%; }
  .transfer-flow { width: min(100%, 430px); margin: 34px auto 0; }
  .transfer-flow img { width: 180%; max-width: none; margin-left: -40%; }
  .assessment { padding: 82px 0 110px; }
}

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