/* Top page (2026-11 renewal). Standalone: site.css is not loaded here. */
:root {
  --ai: #243A66;          /* brand indigo */
  --ai-deep: #1B2B4D;
  --futaai: #BE2E96;      /* brand accent */
  --ground: #F3F5FC;
  --rule: #cfd6e2;
  --mute: #6f7c97;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --f-latin: "Urbanist", sans-serif;
  --f-body: "Noto Sans JP", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--ai-deep);
  font-family: var(--f-body);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
/* reading text */
.cp-hero__lead, .cp-pr__body, .cp-pd__desc, .cp-pts, .cp-co__dl dd { letter-spacing: .09em; }

/* ---------- header ---------- */
.cp-hd {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background-color .4s ease, padding .4s var(--ease);
}
.cp-hd.is-solid { padding-top: 14px; padding-bottom: 14px; background-color: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cp-hd__mark { width: clamp(132px, 12vw, 168px); display: block; color: var(--ai); }
.cp-hd__nav { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 13px; letter-spacing: .08em; }
.cp-hd__nav a { position: relative; padding: 6px 0; }
.cp-hd__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--futaai); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.cp-hd__nav a:hover::after, .cp-hd__nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.cp-hd__nav a:focus-visible { outline: none; }

/* ---------- hero ---------- */
.cp-hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden;
  background-image: radial-gradient(circle, var(--rule) 1px, transparent 1.2px);
  background-size: 28px 28px;
  background-position: 14px 14px;
}
.cp-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.cp-hero__copy {
  position: absolute; left: var(--gutter); bottom: clamp(56px, 12vh, 120px);
  max-width: min(30em, 80vw); pointer-events: none;
}
.cp-label {
  font-family: var(--f-latin); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; color: var(--mute); text-transform: uppercase;
}
.cp-hero__title {
  margin: 18px 0 22px;
  font-family: var(--f-body); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1.28; letter-spacing: .06em;
  color: var(--ai); white-space: nowrap;
}
.cp-hero__lead { font-size: clamp(13px, 1.05vw, 15px); color: var(--ai-deep); }
.cp-clip { display: block; overflow: hidden; }
.cp-clip > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.cp-clip:nth-child(2) > span { animation-delay: .12s; }
.cp-fade { opacity: 0; animation: fade 1.2s ease .9s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

.cp-hero__cue {
  position: absolute; left: var(--gutter); bottom: 0; width: 1px; height: 40px;
  background: var(--rule); overflow: hidden;
}
.cp-hero__cue::after {
  content: ""; position: absolute; inset: 0; background: var(--ai);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- principles (pinned steps: words first, then the diagram) ---------- */
.cp-pr { position: relative; height: 540vh; background: #fff; }
.cp-pr__pin {
  position: sticky; top: 0; height: 100svh; min-height: 560px;
  display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(28px, 6vw, 96px);
  align-items: center; padding: 0 var(--gutter);
}
.cp-pr__texts { display: grid; }
.cp-pr__item { grid-area: 1 / 1; align-self: center; visibility: hidden; transition: visibility 0s .25s; }
.cp-pr__item > * { opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
.cp-pr__item.is-on { visibility: visible; transition-delay: 0s; }
.cp-pr__item.is-on > * { opacity: 1; transform: none; transition: opacity .7s ease .2s, transform .9s var(--ease) .2s; }
.cp-pr__item.is-on > :nth-child(2) { transition-delay: .28s; }
.cp-pr__item.is-on > :nth-child(3) { transition-delay: .38s; }
.cp-pr__viz { display: grid; place-items: center; min-width: 0; }
.cp-pr__frame { position: relative; width: 100%; max-width: 640px; aspect-ratio: 3 / 2; }
.cp-viz {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  opacity: 0; font-family: var(--f-body);
}
.cp-viz text { fill: var(--ai); }
.cp-pr__no {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 5vh, 44px);
  font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: .04em;
}
.cp-pr__no b { font-weight: 400; color: var(--ai); }
.cp-pr__title {
  margin: 20px 0 26px;
  font-family: var(--f-body); font-weight: 600;
  font-size: clamp(26px, 3vw, 44px); line-height: 1.5; letter-spacing: .06em; color: var(--ai);
}
.cp-pr__body { font-size: clamp(13px, 1.05vw, 15px); max-width: 27em; }

/* ---------- products ---------- */
.cp-pd { padding: clamp(80px, 14vh, 160px) var(--gutter); }
.cp-pd__head { margin-bottom: clamp(32px, 6vh, 56px); }
.cp-pd__h { margin-top: 14px; font-size: clamp(26px, 3vw, 44px); font-weight: 600; letter-spacing: .06em; color: var(--ai); line-height: 1.4; }
.cp-pd__item {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: center;
  padding: clamp(28px, 4.5vw, 64px); background: #fff;
}
.cp-pd__item + .cp-pd__item { margin-top: clamp(12px, 1.6vw, 20px); }
.cp-pd__name { margin: 10px 0 12px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: .06em; color: var(--ai); line-height: 1.5; }
.cp-pd__desc { font-size: clamp(13px, 1.05vw, 15px); max-width: 27em; }
.cp-pd__status {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 11px; letter-spacing: .1em; color: var(--mute);
}
.cp-pd__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--futaai); }
.cp-pd__status.is-wait::before { background: var(--rule); }
.cp-pd__link {
  position: relative; display: inline-flex; gap: 8px; margin-top: 22px; padding-bottom: 5px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; color: var(--ai);
  background: linear-gradient(var(--rule), var(--rule)) left bottom / 100% 1px no-repeat;
}
.cp-pd__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--futaai);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.cp-pd__link:hover::after, .cp-pd__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.cp-pd__link:focus-visible { outline: none; }
.cp-pd__link span { transition: transform .5s var(--ease); }
.cp-pd__link:hover span { transform: translate(3px, -3px); }
.cp-pts { list-style: none; padding: 0; counter-reset: pt; font-size: clamp(13px, 1.05vw, 15px); }
/* break Japanese at phrase boundaries where supported, so a line never ends mid-word */
.cp-pts li { position: relative; padding: 6px 0 6px 22px; word-break: auto-phrase; }
.cp-pts li::before {
  content: ""; position: absolute; left: 0; top: calc(6px + .95em - 3px);
  width: 6px; height: 6px; background: var(--ai);
}
.cp-pd__item--lead .cp-pts { margin-top: 22px; max-width: 27em; }

/* ---------- company ---------- */
.cp-co { padding: clamp(80px, 14vh, 160px) var(--gutter); background: #fff; }
.cp-co__dl div {
  display: grid; grid-template-columns: 9em 1fr; gap: 32px;
  padding: 12px 0; font-size: clamp(13px, 1.05vw, 15px);
}
.cp-co__dl dt { color: var(--mute); font-size: 12px; letter-spacing: .1em; }

/* live fragment: receipts become journal rows */
.cp-fx {
  position: relative; height: 320px; overflow: hidden; background: var(--ground);
  display: grid; grid-template-columns: 150px 1fr;
}
.cp-fx__in { display: grid; place-items: center; }
.cp-rc {
  position: relative; width: 78px; height: 112px; padding: 14px 11px; background: #fff;
  display: grid; gap: 8px; align-content: start; opacity: 0;
}
.cp-rc i { display: block; height: 4px; background: var(--rule); }
.cp-rc i:nth-child(2) { width: 60%; } .cp-rc i:nth-child(4) { width: 80%; } .cp-rc i:nth-child(5) { width: 45%; } .cp-rc i:nth-child(7) { width: 70%; }
.cp-rc::after { content: ""; position: absolute; left: -8px; right: -8px; top: 0; height: 1px; background: var(--futaai); opacity: 0; }
.cp-rc.is-run { animation: rcIn 2.3s var(--ease) forwards; }
.cp-rc.is-run::after { animation: rcScan 1s ease .4s forwards; }
@keyframes rcIn {
  0% { opacity: 0; transform: translateY(18px); } 14%, 64% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(70px) scale(.55); }
}
@keyframes rcScan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.cp-fx__out { margin: 14px 14px 14px 0; padding: 0 22px; min-width: 0; background: #fff; }
.cp-fx__th, .cp-fx__tr {
  display: grid; grid-template-columns: 52px 1fr 76px 70px; gap: 12px; align-items: center;
  font-size: 12px; white-space: nowrap; overflow: hidden;
}
.cp-fx__th { height: 44px; font-size: 11px; color: var(--mute); border-bottom: 1px solid var(--ai); }
.cp-fx__tr { height: 48px; }
.cp-fx__tr.is-new { animation: trIn .8s var(--ease); }
.cp-fx__tr b, .cp-fx__th span:nth-child(3) { font-weight: 400; text-align: right; font-variant-numeric: tabular-nums; }
@keyframes trIn {
  from { height: 0; opacity: 0; background: rgba(190, 46, 150, .12); }
  to { height: 48px; opacity: 1; background: rgba(190, 46, 150, 0); }
}
.cp-tag { justify-self: end; padding: 1px 8px; font-size: 10px; color: var(--mute); border: 1px solid var(--rule); border-radius: 999px; }
.cp-tag.is-hold { color: var(--futaai); border-color: var(--futaai); }
.cp-fx__note { position: absolute; left: 14px; bottom: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--mute); }

/* looped fragments (JIN:R / JIN): abstract wireframes, CSS only, run while on screen */
.cp-fx--loop { grid-template-columns: minmax(0, 300px); justify-content: center; align-items: center; }
.cp-fx--jinr { grid-template-columns: auto minmax(0, 280px); column-gap: 26px; }
.cp-fx--loop:not(.is-live) *, .cp-fx--loop:not(.is-live) *::before, .cp-fx--loop:not(.is-live) *::after { animation-play-state: paused; }
.cp-fx__sheet { height: 252px; padding: 20px 22px; background: #fff; display: grid; gap: 11px; align-content: start; }
.cp-fx__sheet > * { display: block; animation: fxIn 12s var(--ease) infinite backwards; }
.cp-fx__sheet > :nth-child(2) { animation-delay: .3s; }
.cp-fx__sheet > :nth-child(3) { animation-delay: .6s; }
.cp-fx__sheet > :nth-child(4) { animation-delay: .9s; }
.cp-fx__sheet > :nth-child(5) { animation-delay: 1.2s; }
.cp-fx__sheet > :nth-child(6) { animation-delay: 1.5s; }
@keyframes fxIn {
  0% { opacity: 0; transform: translateY(10px); } 5%, 93% { opacity: 1; transform: none; }
  97%, 100% { opacity: 0; transform: none; }
}
.cp-fx__bar { width: 34%; height: 7px; background: var(--rule); }
.cp-fx__hd { width: 58%; height: 9px; background: var(--ai); }
.cp-fx__ln { display: block; height: 5px; background: var(--rule); }
.cp-fx__ln--s { width: 64%; }
.cp-fx__img, .cp-fx__card { position: relative; }
.cp-fx__img { height: 70px; }
.cp-fx__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cp-fx__card { display: block; height: 44px; }
.cp-fx__img::before, .cp-fx__card::before { content: ""; position: absolute; inset: 0; background: #bcd3f2; animation: fxTint 12s linear infinite; }
.cp-fx__card::before { opacity: .55; }
@keyframes fxTint {
  0%, 30% { background: #bcd3f2; } 33.3%, 63.3% { background: #f1c4d4; }
  66.6%, 97% { background: #bfdccb; } 100% { background: #bcd3f2; }
}
.cp-fx__chips { display: grid; gap: 16px; }
.cp-fx__chip { display: block; width: 12px; height: 12px; background: #bcd3f2; animation: fxChip 12s linear infinite; }
.cp-fx__chip:nth-child(2) { background: #f1c4d4; animation-delay: -8s; }
.cp-fx__chip:nth-child(3) { background: #bfdccb; animation-delay: -4s; }
@keyframes fxChip {
  0%, 30% { box-shadow: 0 0 0 3px var(--ground), 0 0 0 4px var(--ai); }
  33.3%, 100% { box-shadow: 0 0 0 3px var(--ground), 0 0 0 4px var(--ground); }
}
/* MISEYA: a snippet lands on an existing page, becomes products, checkout stays in the page */
.cp-fx--miseya .cp-fx__sheet { position: relative; overflow: hidden; }
.cp-fx__embed { position: relative; height: 104px; }
.cp-fx__code {
  position: absolute; inset: 0; display: grid; place-items: center; background: var(--ground);
  font-family: var(--f-mono); font-size: 11px; font-style: normal; color: var(--mute);
  animation: fxCode 12s ease infinite;
}
.cp-fx__shop { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; animation: fxShop 12s var(--ease) infinite; }
.cp-fx__item { display: grid; gap: 7px; align-content: start; }
.cp-fx__pic { display: block; height: 58px; background: var(--ground); }
.cp-fx__buy { display: block; width: 62%; height: 9px; background: var(--ai); }
.cp-fx__buy--hit { animation: fxBuy 12s linear infinite; }
.cp-fx__sheet > .cp-fx__cart {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%; padding: 22px 16px;
  display: grid; gap: 11px; align-content: start; background: var(--ai);
  animation: fxCart 12s var(--ease) infinite;
}
.cp-fx__cart .cp-fx__ln { background: rgba(255, 255, 255, .32); }
.cp-fx__pay { display: block; height: 16px; margin-top: 8px; background: var(--futaai); }
@keyframes fxCode { 0%, 7% { opacity: 0; } 10%, 23% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes fxShop { 0%, 25% { opacity: 0; transform: translateY(8px); } 31%, 100% { opacity: 1; transform: none; } }
@keyframes fxBuy { 0%, 50% { background: var(--ai); } 53%, 100% { background: var(--futaai); } }
@keyframes fxCart { 0%, 56% { transform: translateX(101%); } 63%, 89% { transform: none; } 94%, 100% { transform: translateX(101%); } }
.cp-fx__hd--mark { position: relative; margin-bottom: 6px; }
.cp-fx__hd--mark::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 5px; margin-top: 3px; background: #ffd24d;
  transform-origin: left; animation: fxMark 12s var(--ease) infinite;
}
@keyframes fxMark { 0%, 9% { transform: scaleX(0); } 17%, 100% { transform: scaleX(1); } }
.cp-fx__talk { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; margin-top: 4px; }
.cp-fx__face { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--rule); }
.cp-fx__bubble { position: relative; display: grid; gap: 7px; padding: 11px 12px; background: var(--ground); }
.cp-fx__bubble::before {
  content: ""; position: absolute; right: 100%; top: 50%; margin-top: -5px;
  border: 5px solid transparent; border-right-color: var(--ground);
}
.cp-fx__box { display: grid; gap: 7px; padding: 12px; background: #fff6d6; }
.cp-fx__boxttl { display: block; width: 36%; height: 6px; background: #f0b90f; }
.cp-fx__box .cp-fx__ln { background: rgba(36, 58, 102, .16); }

@media (max-width: 760px) {
  .cp-hd__nav { display: none; }
  /* narrow: words on top, diagram below — the reading order is the layout order */
  .cp-pr__pin {
    grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); row-gap: 16px;
    align-items: start; padding: 84px var(--gutter) 44px;
  }
  .cp-pr__item { align-self: start; }
  .cp-pr__title { margin: 12px 0 14px; }
  .cp-pr__viz { height: 100%; min-height: 0; place-items: start center; }
  .cp-pr__frame { max-width: 440px; height: 100%; aspect-ratio: auto; }
  .cp-pr__no { bottom: 14px; }
  .cp-pd__item { grid-template-columns: 1fr; padding: 28px 22px; }
  .cp-pd { padding-left: 12px; padding-right: 12px; }
  .cp-pd .cp-pd__head { padding: 0 calc(var(--gutter) - 12px); }
  .cp-co__dl div { grid-template-columns: 6em 1fr; gap: 16px; }
  .cp-fx { grid-template-columns: 70px 1fr; height: 300px; }
  .cp-rc { width: 46px; height: 66px; padding: 9px 7px; gap: 5px; }
  .cp-rc i { height: 3px; }
  .cp-fx__out { margin: 10px 10px 10px 0; padding: 0 12px; }
  .cp-fx__th, .cp-fx__tr { grid-template-columns: 38px 1fr 64px; gap: 8px; }
  .cp-fx__th span:nth-child(4), .cp-fx__tr .cp-tag { display: none; }
  .cp-fx__tr { height: 44px; }
  .cp-fx.cp-fx--loop { grid-template-columns: minmax(0, 260px); }
  .cp-fx.cp-fx--jinr { grid-template-columns: auto minmax(0, 220px); column-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-clip > span, .cp-fade { animation: none; transform: none; opacity: 1; }
  .cp-hero__cue::after { animation: none; }
  .cp-pr__item, .cp-pr__item > *, .cp-pr__item.is-on > * { transition: none; }
  html { scroll-behavior: auto; }
  .cp-fx__tr.is-new { animation: none; }
  .cp-fx--loop *, .cp-fx--loop *::before, .cp-fx--loop *::after { animation: none !important; }
}

/* ---------- shared footer (parts/site-footer.php, simple variant) ----------
   Generated from css/site.css by _dev/renewal-build.py — edit the rules there. */
/* site.css sets these on body; the top page does not load it. */
.cp-footer { line-height: normal; letter-spacing: .051em; }
.cp-brandmark { display: block; width: 100%; height: auto; overflow: visible; }
.cp-footer--simple { background: #1B2B4D; border-top: 1px solid #3B5185; color: #cfd6e2; padding: clamp(72px, min(9vw, 129.6px), 112px) 0 40px; }
.cp-footer__pad { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, min(4vw, 57.6px), 40px); }
.cp-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(40px, min(6vw, 86.4px), 72px); padding-bottom: clamp(40px, min(5vw, 72px), 56px); border-bottom: 1px solid #3B5185; }
.cp-footer__brand-row { display: flex; align-items: center; gap: 32px; margin-bottom: 28px; }
.cp-footer__logo { display: block; width: 70.1px; flex: none; }
.cp-footer__logo-mark { display: block; width: 70.1px; }
.cp-footer__tagline { font-family: 'Noto Sans JP', sans-serif; font-weight: 600; font-size: 12.5px; line-height: 2; letter-spacing: .09em; color: #fff; margin: 0; white-space: nowrap; transform: translateY(-3px); }
.cp-footer__desc { font-family: 'Noto Sans JP', sans-serif; font-weight: 400; font-size: 12.5px; line-height: 1.9; letter-spacing: .02em; color: #9aa0a6; margin: 0; max-width: 34em; text-wrap: balance; word-break: auto-phrase; }
.cp-footer__links { display: flex; gap: clamp(36px, min(6vw, 86.4px), 80px); flex-wrap: wrap; }
.cp-footer__group { display: flex; flex-direction: column; gap: 16px; }
.cp-footer__group-title { font: 700 11px/1 'Urbanist', sans-serif; letter-spacing: .2em; color: #6B7178; margin-bottom: 4px; }
.cp-footer__link { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: #cfd6e2; text-decoration: none; transition: color .25s cubic-bezier(.22,.61,.36,1); }
.cp-footer__link:hover { color: #BE2E96; }
.cp-footer__social { display: inline-flex; align-items: center; color: #cfd6e2; transition: color .2s; }
.cp-footer__social:hover { color: #BE2E96; }
.cp-footer__social-icon { display: block; }
.cp-footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; }
.cp-footer__copyright { font: 500 11px/1 'Urbanist', sans-serif; letter-spacing: .08em; color: #6B7178; }
.cp-footer__privacy { font-family: 'Noto Sans JP', sans-serif; font-size: 11.5px; color: #9aa0a6; text-decoration: none; transition: color .25s cubic-bezier(.22,.61,.36,1); }
.cp-footer__privacy:hover { color: #BE2E96; }
@media (max-width: 720px) {
  .cp-footer__logo, .cp-footer__logo-mark { width: 63.09px; }
  .cp-footer__legal { flex-direction: column-reverse; }
  .cp-footer__links { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 20px; }
}
/* Align with the top page gutter instead of the centered sub-page column. */
.cp-footer__pad { max-width: none; padding: 0 var(--gutter); }
